]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
python.el: New non-global state dependent indentation engine.
[gnu-emacs] / lisp / ChangeLog
1 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 python.el: New non-global state dependent indentation engine.
4 (Bug#18319, Bug#19595)
5
6 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
7 PPSS as argument.
8 (python-syntax-closing-paren-p): New function.
9 (python-indent-current-level)
10 (python-indent-levels): Mark obsolete.
11 (python-indent-context): Return more context cases.
12 (python-indent--calculate-indentation)
13 (python-indent--calculate-levels): New functions.
14 (python-indent-calculate-levels): Use them.
15 (python-indent-calculate-indentation, python-indent-line):
16 (python-indent-line-function): Rewritten to use new API.
17 (python-indent-dedent-line): Simplify logic.
18 (python-indent-dedent-line-backspace): Use `unless`.
19 (python-indent-toggle-levels): Delete function.
20
21 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
22
23 * calc/calc-units.el (math-units-in-expr-p)
24 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
25 (math-extract-units): Handle the `neg' operator. (Bug#19582)
26 [Backport]
27
28 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
29
30 * subr.el (posnp): Correct docstring of `posnp'.
31 (posn-col-row): Make it work with all mouse position objects.
32 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
33 timers if an error occurs during continuous drawing. (Bug#6130)
34
35 2015-01-20 Eli Zaretskii <eliz@gnu.org>
36
37 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
38
39 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
40
41 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
42 regardless of pcomplete-cycle-completions's value. (Bug#18950)
43
44 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
45
46 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
47 Adapt docstring.
48 (file-notify--descriptor): New defun.
49 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
50 Adapt docstring. Handle multiple values for
51 `file-notify-descriptors' entries. (Bug#18880)
52
53 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
54 `file-notify-descriptors', the implementation has been changed.
55
56 2015-01-13 Juri Linkov <juri@linkov.net>
57
58 * comint.el (comint-history-isearch-search)
59 (comint-history-isearch-wrap): Use field-beginning instead of
60 comint-line-beginning-position.
61 (comint-send-input): Go to the end of the field instead of the end
62 of the line to accept whole multi-line input.
63 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
64 (comint-history-isearch-message): Use field-beginning
65 instead of comint-line-beginning-position - that's more fixes for
66 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
67 (comint-history-isearch-message): Fix args of isearch-message-prefix.
68
69 [Backport]
70
71 2015-01-09 Eli Zaretskii <eliz@gnu.org>
72
73 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
74 On MS-Windows, bind coding-system-for-read to the console output
75 codepage. (Bug#19458)
76
77 2015-01-08 Eli Zaretskii <eliz@gnu.org>
78
79 * simple.el (line-move-visual): When converting X pixel coordinate
80 to temporary-goal-column, adjust the value for right-to-left
81 screen lines. This fixes vertical-motion, next/prev-line, etc.
82
83 2015-01-06 Glenn Morris <rgm@gnu.org>
84
85 * progmodes/sh-script.el (sh-mode): Doc fix.
86 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
87
88 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
89
90 * emacs-lisp/package.el (package-menu-mode): Use an extra column
91 for the "Version" column, to accomodate date-and-time-based versions.
92
93 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
94
95 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
96 * files.el (shell-quote-wildcard-pattern): Also quote "`".
97
98 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
99
100 Unbreak `mouse-action' property in text buttons.
101 * button.el (push-button): Fix regression from 2012-12-06.
102
103 2015-01-01 Eli Zaretskii <eliz@gnu.org>
104
105 * tool-bar.el (tool-bar-local-item)
106 (tool-bar-local-item-from-menu): Call force-mode-line-update to
107 make sure the tool-bar changes show on display.
108
109 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
110
111 Sync with Tramp 2.2.11.
112
113 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
114 Make an alias for `default-toplevel-value' if it doesn't exist.
115
116 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
117 Use `tramp-compat-delete-directory'.
118
119 * net/trampver.el: Update release number.
120
121 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
122
123 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
124 for remote files. (Bug#19449)
125
126 2014-12-28 Eli Zaretskii <eliz@gnu.org>
127
128 * international/mule.el (define-coding-system): Fix typos in the
129 doc string.
130
131 2014-12-28 Kenichi Handa <handa@gnu.org>
132
133 * international/mule.el (define-coding-system): Improve the doc
134 string.
135
136 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
137
138 * progmodes/python.el (python-shell-buffer-substring): Handle
139 cornercase when region sent starts at point-min.
140
141 2014-12-27 Eli Zaretskii <eliz@gnu.org>
142
143 * language/misc-lang.el (composition-function-table): Add Syriac
144 characters and also ZWJ/ZWNJ. See
145 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
146 for the details.
147
148 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
149
150 python.el: Fix message when sending region.
151
152 * progmodes/python.el (python-shell-send-region): Rename argument
153 send-main from nomain. Fix message.
154 (python-shell-send-buffer): Rename argument send-main from arg.
155
156 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
157
158 python.el: Cleanup temp files even with eval errors.
159
160 * progmodes/python.el (python-shell-send-file): Make file-name
161 mandatory. Fix temp file removal in the majority of cases.
162
163 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
164
165 python.el: Handle file encoding for shell.
166
167 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
168 (python-shell--save-temp-file): Write file with proper encoding.
169 (python-shell-buffer-substring): Add coding cookie for detected
170 encoding to generated content. Fix blank lines when removing
171 if-name-main block.
172 (python-shell-send-file): Handle file encoding.
173 (python-info-encoding-from-cookie)
174 (python-info-encoding): New functions.
175
176 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
177
178 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
179 Use `tramp-rsh-end-of-line', it ought to be more robust.
180
181 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
184 (bug#19397).
185
186 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
189
190 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
191 as end-of-line delimeter for passwords, when running on MS Windows.
192
193 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
196 of indent-line-function (bug#19433).
197
198 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
199
200 Fix line numbers on Python shell.
201 * progmodes/python.el (python-shell--save-temp-file): Do not
202 append coding cookie.
203 (python-shell-send-string): Generalize for
204 python-shell-send-region.
205 (python--use-fake-loc): Delete var.
206 (python-shell-buffer-substring): Cleanup fake-loc logic.
207 (python-shell-send-region): Remove fake-loc logic, simplify.
208
209 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
210
211 * progmodes/python.el (python-indent-post-self-insert-function):
212 Make colon to re-indent only for dedenters, handling
213 multiline-statements gracefully.
214
215 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
216
217 * net/tramp.el (tramp-handle-insert-file-contents):
218 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
219
220 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
221
222 * net/tramp-sh.el (tramp-send-command-and-read): New optional
223 arg MARKER.
224 (tramp-get-remote-path): Use it.
225
226 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * subr.el (redisplay-dont-pause): Mark as obsolete.
229
230 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
231
232 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
233 (tramp-accept-process-output): Use nil as argument for
234 `accept-process-output', when there is a gateway prepended.
235
236 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
237 wrong debug buffer.
238 (tramp-gw-open-connection): Set process coding system 'binary.
239 (tramp-gw-open-network-stream): Handle HTTP error 403.
240
241 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
242 wrong debug buffer.
243 (tramp-maybe-open-connection): Set connection property "gateway".
244
245 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * subr.el (sit-for): Tweak docstring (bug#19381).
248
249 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
250
251 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
252 stage to after `diff-index' (bug#19386).
253
254 2014-12-14 João Távora <joaotavora@gmail.com>
255
256 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
257 `electric-pair-mode' (bug#19356).
258
259 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
260
261 * simple.el (password-word-equivalents): Add "passcode", used for
262 numeric secrets like PINs or RSA tokens.
263
264 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
267 order to determine `tramp-own-remote-path'.
268
269 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
270
271 * progmodes/python.el (python-shell-parse-command):
272 Quote `python-shell-interpreter`. (Bug#19289)
273
274 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
277 of the whole pipe when indenting an opening keyword after a |.
278 Generalize this treatment to opening keywords like "while" (bug#18031).
279
280 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * simple.el (newline): Place the hook buffer-locally,
283 to make sure it's first.
284
285 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
286 Fix handling of symbols with different syntax at beginning/end or with
287 symbol rather than word syntax.
288
289 2014-11-30 Eli Zaretskii <eliz@gnu.org>
290
291 * simple.el (line-move): If noninteractive, call line-move-1, not
292 forward-line, since the former is compatible with line-move-visual
293 both in terms of the column to which it moves and the return
294 value. (Bug#19211)
295
296 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
297 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * outline.el (outline-move-subtree-down): Make sure we can move
300 forward to find the end of the subtree and the insertion point
301 (bug#19102).
302
303 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
304
305 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
306 for comment lines non-greedy and stopping at newlines to fix stack
307 overflows with large files. [Backport]
308
309 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
310
311 * progmodes/python.el (python-shell-completion-setup-code):
312 Use __builtin__ module (or builtins in Python 3) and catch all errors
313 when importing readline and rlcompleter.
314
315 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
316
317 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
318 (todo-revert-buffer): New function.
319 (todo-modes-set-1): Use it as the buffer-local value of
320 revert-buffer-function.
321
322 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
323
324 * calendar/todo-mode.el (todo-mode): If called interactively, just
325 display a message saying to call todo-show to enter Todo mode
326 (Bug#19112).
327
328 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
329
330 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
331 (Bug#18579)
332
333 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
334 files. (Bug#18579)
335
336 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
337
338 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
339 remote `buffer-file-name'.
340
341 2014-11-23 Leo Liu <sdl.web@gmail.com>
342
343 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
344
345 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
346
347 Set PYTHONUNBUFFERED on shell startup.
348
349 * progmodes/python.el (python-shell-unbuffered): New var.
350 (python-shell-calculate-process-environment): Use it.
351
352 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
353
354 * net/tramp.el (tramp-action-password): Clean password on subsequent
355 attempts even if there was no wrong password indication. (Bug#19047)
356
357 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
358 fallback.
359 (tramp-open-connection-setup-interactive-shell): No need to check
360 for nil as `tramp-get-remote-locale' return value.
361
362 2014-11-21 Eli Zaretskii <eliz@gnu.org>
363
364 * vc/vc-git.el (vc-git-command, vc-git--call):
365 Bind coding-system-for-read and coding-system-for-write to
366 vc-git-commits-coding-system.
367 (vc-git-previous-revision): Use "~1" instead of "^", since the
368 latter is a special character for MS-Windows system shells.
369
370 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
371
372 Improve XEmacs compatibility.
373
374 * net/tramp.el (tramp-autoload-file-name-handler):
375 Wrap `temporary-file-directory' by `symbol-value', it doesn't
376 exist in XEmacs.
377 (tramp-read-passwd): Don't use `with-timeout-suspend' and
378 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
379 (tramp-time-less-p, tramp-time-subtract): Remove functions.
380 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
381 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
382 * net/tramp-cache.el (tramp-get-file-property):
383 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
384 Use `time-less-p' and `time-subtract, respectively.
385
386 * net/tramp-adb.el (top): Do not require time-date.el.
387
388 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
389
390 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
391 Check, whether `utf-8' is a valid coding system.
392
393 2014-11-19 Eli Zaretskii <eliz@gnu.org>
394
395 * vc/vc.el (vc-retrieve-tag): Doc fix.
396
397 2014-11-17 Eli Zaretskii <eliz@gnu.org>
398
399 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
400 Don't assume --long is the default for "bzr log", always specify
401 it explicitly, in case the user defined an alias for 'log' that
402 uses some other format.
403
404 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
405
406 * progmodes/python.el (python-eldoc--get-doc-at-point):
407 Strip shell output before returning. (bug#18794)
408
409 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
410
411 Fix indentation before `!=' and after `+='. Originally reported
412 in https://github.com/mooz/js2-mode/issues/174.
413 * progmodes/js.el (js--indent-operator-re): Make assignments and
414 (in)equality operator a separate case.
415 (js--continued-expression-p): Escape the second `+' in the regexp.
416
417 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
420
421 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
422
423 * version.el (emacs-repository-get-version): Use git rev-parse
424 instead of git log.
425
426 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
427
428 * progmodes/python.el (python-indent-calculate-levels):
429 Fix indentation behavior multiline dedenter statement. (Bug#18432)
430
431 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
432
433 * progmodes/python.el (python-indent-region):
434 Use python-indent-line and skip special cases. (Bug#18843)
435
436 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
437
438 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
439
440 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
441
442 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
443 envelope-from when reporting through sendmail (bug#19054).
444
445 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
446
447 * progmodes/python.el (python-ffap-module-path):
448 Use `derived-mode-p' instead of equality test on `major-mode'.
449
450 2014-11-13 Ulrich Müller <ulm@gentoo.org>
451
452 * version.el (emacs-repository-get-version): Call `git log'
453 command with proper format argument (bug#19049).
454
455 2014-11-10 Glenn Morris <rgm@gnu.org>
456
457 * startup.el (command-line): Handle nil elements in load-path.
458
459 2014-11-08 Glenn Morris <rgm@gnu.org>
460
461 * emacs-lisp/bytecomp.el (byte-compile-report-error):
462 Allow the argument to be a string. Due to the vague doc,
463 it was already being used this way.
464
465 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
466
467 * net/tramp.el (tramp-check-cached-permissions): Include hop in
468 the constructed Tramp file name. (Bug#18943)
469
470 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
473 (bug#18952).
474 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
475 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
476
477 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
478
479 * files.el (file-name-non-special): Wrap the call of
480 `insert-file-contents' by `unwind-protect', in order to set the
481 buffer's file name anyway. (Bug#18891)
482
483 2014-11-07 Daiki Ueno <ueno@gnu.org>
484
485 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
486 (bug#18979). Reported by Hideki Saito.
487
488 2014-10-18 Alan Mackenzie <acm@muc.de>
489
490 Check that a "macro" found near point-min isn't a ## operator.
491 Fixes bug #18749. Backported from trunk, 2014-11-05.
492 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
493 (c-beginning-of-macro): Use the above new function.
494
495 2014-11-05 Alan Mackenzie <acm@muc.de>
496
497 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
498 * progmodes/cc-fonts.el (c-font-lock-declarations):
499 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
500 the buffer is sometimes narrowed to less than "limit" (e.g., in
501 the presence of macros).
502
503 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
504
505 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
506 only when message appeared in minibuffer. (Bug#18891)
507
508 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
509 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
510 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
511 case of errors.
512
513 2014-11-04 Eli Zaretskii <eliz@gnu.org>
514
515 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
516 returned by load-average.
517
518 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
521 a local copy; setting `inhibit-file-name-handlers' proper might be
522 more performant. (Bug#18751)
523
524 2014-11-04 Glenn Morris <rgm@gnu.org>
525
526 * mail/emacsbug.el (report-emacs-bug): No longer include
527 recent-keys in the report. (Bug#18900)
528
529 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
530
531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
532 local copy of FILENAME, when it is remote. (Bug#18751)
533
534 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
535
536 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
537 an error when the command fails; the return code must indicate.
538 (tramp-adb-send-command-and-check): Fix docstring.
539
540 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
541
542 * net/tramp-cache.el (tramp-get-file-property)
543 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
544 and `tramp-cache-set-count-*' are bound. Otherwise, there might
545 be compiler warnings.
546
547 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
548 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
549
550 2014-11-01 Eli Zaretskii <eliz@gnu.org>
551
552 * progmodes/compile.el (compilation-mode): Turn off deferred
553 fontifications locally. (Bug#18856)
554
555 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
556
557 * net/tramp-sh.el (tramp-send-command): Fix the case where the
558 remote-echo connection property is non-nil (bug#18858).
559
560 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
561
562 Backport Tramp changes from trunk.
563
564 * net/tramp.el (tramp-methods): Tweak docstring.
565 (tramp-file-name-handler): Apply `cons' where appropriate.
566 (tramp-handle-file-accessible-directory-p): Check for
567 `file-readable-p' instead of `file-executable-p'.
568 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
569 (tramp-handle-unhandled-file-name-directory): Return "/".
570 (tramp-check-cached-permissions):
571 Use `tramp-compat-file-attributes'.
572 (tramp-call-process): Add new argument VEC. Adapt callees in all
573 tramp*.el files.
574
575 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
576 (tramp-adb-handle-write-region): Improve messages.
577 (tramp-adb-maybe-open-connection): Don't set
578 `tramp-current-*' variables.
579
580 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
581 Suppress debug messages.
582
583 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
584 (tramp-ftp-file-name-handler):
585
586 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
587 (tramp-gvfs-methods-mounttracker)
588 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
589 during initialization. (Bug#18774)
590 (tramp-gvfs-handle-delete-file): Flush file properties, not
591 directory properties.
592 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
593 reading "unix::mode".
594 (tramp-gvfs-handle-file-name-all-completions):
595 Use "-h" option for "gvfs-ls".
596 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
597 `user' and `localname' could be nil.
598 (tramp-gvfs-send-command): Simplify traces.
599
600 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
601 (vc-git-program, vc-hg-program): Declare.
602 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
603 (tramp-methods) <nc>: Add new method.
604 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
605 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
606 `tramp-login-args'.
607 (tramp-default-user-alist): Add "nc".
608 (top): Remove completion function for "sftp". Add completion
609 functions for "nc" and "psftp".
610 (tramp-sh-handle-set-visited-file-modtime):
611 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
612 (tramp-do-copy-or-rename-file-out-of-band):
613 Use cached "remote-copy-args" value, if available. (Bug#18199)
614 Tweak docstring. Implement support for "nc" method.
615 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
616 (tramp-remote-coding-commands, tramp-call-local-coding-command):
617 Tweak docstring.
618 (tramp-sh-handle-start-file-process): Expand `default-directory'.
619 (tramp-sh-handle-write-region): Tweak error message.
620 (tramp-sh-handle-vc-registered): Remove backends when the remote
621 binary does not exist.
622 (tramp-open-connection-setup-interactive-shell):
623 Prefer utf-8 coding. (Bug#17859)
624 (tramp-find-inline-encoding): Do not raise an error.
625 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
626 the "nc" case. Quote result also locally.
627 (tramp-get-remote-id): Check also for "gid".
628 (tramp-get-remote-python):
629
630 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
631 (tramp-smb-handle-set-file-acl): Use `start-process'.
632 (tramp-smb-handle-insert-directory): Use progress reporter.
633 (tramp-smb-handle-rename-file): Flush also file properties of
634 FILENAME.
635
636 * net/trampver.el: Update release number.
637
638 2014-11-01 Reuben Thomas <rrt@sc3d.org>
639
640 * net/tramp.el (tramp-handle-file-symlink-p):
641 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
642 about VMS, which we no longer support.
643
644 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
647 the global vc-handled-backends (bug#18535).
648
649 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
650 Michael Albinus <michael.albinus@gmx.de>
651
652 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
653 Reduce the amount of set environment variable commands.
654
655 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
656
657 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
658 current-time.
659
660 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
661
662 * net/tramp-sh.el (tramp-get-remote-python): Also search for
663 executables named "python2" or "python3".
664 (tramp-get-remote-uid-with-python): Use parentheses around
665 arguments to `print' to make it compatible with Python 3.
666 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
667
668 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * simple.el (newline): Add assertions to try and help catch bug#18913.
671
672 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
673 (bug#18886).
674 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
675
676 2014-10-31 Eli Zaretskii <eliz@gnu.org>
677
678 * Makefile.in (repo-update): Fix a typo and slightly reword
679 commentary.
680
681 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
682
683 * Makefile.in: Change some production names so they're neutral
684 about the repository type.
685
686 2014-10-30 Kim F. Storm <storm@cua.dk>
687
688 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
689 * delsel.el (delete-selection-save-to-register)
690 (delsel--replace-text-or-position): New vars.
691 (delete-active-region): Use them.
692 (delete-selection-repeat-replace-region): New command, moved from
693 cua-base.el.
694 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
695 (cua-repeat-replace-region): Move command to delsel.el.
696 (cua--init-keymaps): Update binding accordingly.
697 (cua-mode): Set delete-selection-save-to-register.
698
699 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
702 (c-lang-defconst):
703 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
704
705 2014-10-29 Eli Zaretskii <eliz@gnu.org>
706
707 * progmodes/compile.el (compilation-start):
708 If compilation-scroll-output is non-nil, don't force window-start of
709 the compilation buffer to be at beginning of buffer. (Bug#18874)
710
711 2014-10-23 Tassilo Horn <tsdh@gnu.org>
712
713 * doc-view.el (doc-view-open-text): View the document's plain text
714 in the current buffer instead of a new one.
715 (doc-view-toggle-display): Handle the case where the current
716 buffer contains the plain text contents of the document.
717 (doc-view-initiate-display): Don't switch to fallback mode if the
718 user wants to view the doc's plain text. [Backport]
719
720 2014-10-23 Eli Zaretskii <eliz@gnu.org>
721
722 * startup.el (fancy-about-text): Read the entire tutorial, not
723 just its first 256 bytes. (Bug#18760)
724
725 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
728 * emacs-lisp/cl-extra.el: Add missing provide.
729
730 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
733 all args are copyable (bug#18767).
734 (=, <, >, <=, >=): Re-enable the optimization.
735
736 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
737
738 * vc/vc-hg.el (vc-hg-log-graph): New var.
739 (vc-hg-print-log): Use it.
740 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
741 graph output (bug#17515).
742
743 2014-10-20 Juri Linkov <juri@jurta.org>
744
745 * vc/diff-mode.el (diff-refine-changed): Rename from
746 `diff-refine-change' for consistency with `diff-changed'.
747 (diff-refine-change): Add obsolete face alias. (Bug#10181)
748
749 * vc/smerge-mode.el (smerge-refined-changed): Rename from
750 `smerge-refined-change'.
751 (smerge-refined-change): Add obsolete face alias.
752
753 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * subr.el (call-process-shell-command, process-file-shell-command):
756 Make the `args' obsolete (bug#18409).
757 (start-process-shell-command, start-file-process-shell-command):
758 Use `declare'.
759
760 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
761
762 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
763
764 2014-10-20 Glenn Morris <rgm@gnu.org>
765
766 * dired.el (dired-read-regexp): Make obsolete.
767 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
768 (dired-flag-files-regexp):
769 * dired-aux.el (dired-mark-read-regexp):
770 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
771
772 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * progmodes/python.el (inferior-python-mode): Use add-hook.
775
776 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
777
778 2014-10-20 Glenn Morris <rgm@gnu.org>
779
780 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
781 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
782 * emulation/ws-mode.el: Move to obsolete/. [Backport]
783
784 2014-10-20 Glenn Morris <rgm@gnu.org>
785
786 * cus-start.el (history-length): Bump :version. [Backport]
787
788 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * obsolete/cc-compat.el: Make obsolete (bug#18561).
791
792 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
793
794 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
795 case (bug#18767).
796
797 2014-10-20 Glenn Morris <rgm@gnu.org>
798
799 * Version 24.4 released.
800
801 2014-10-15 Alan Mackenzie <acm@muc.de>
802
803 * cus-edit.el (custom-command-apply): Specify the return value in
804 the doc string.
805 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
806 custom-command-apply has returned non-nil.
807
808 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
809
810 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
811 Backported (bug#18688).
812
813 2014-10-14 Eli Zaretskii <eliz@gnu.org>
814
815 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
816 Force bidi-paragraph-direction to 'left-to-right'. This fixes
817 buffer-menu display when the first buffer happens to start with
818 R2L letter.
819
820 2014-10-13 Glenn Morris <rgm@gnu.org>
821
822 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
823 (authors-obsolete-files-regexps): Additions.
824 (authors-no-scan-regexps): New constant.
825 (authors-no-scan-file-p): New function.
826 (authors): Respect authors-no-scan-file-p.
827
828 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
829
830 Fix import completion. (Bug#18582)
831 * progmodes/python.el (python-shell-completion-get-completions):
832 Fix import case regexp.
833
834 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
837 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
838 * progmodes/prolog.el (prolog-electric--underscore): Same.
839
840 2014-10-09 Glenn Morris <rgm@gnu.org>
841
842 * frame.el (display-monitor-attributes-list): Doc tweaks.
843
844 2014-10-08 Eli Zaretskii <eliz@gnu.org>
845
846 * faces.el (display-grayscale-p): Mention in the doc string that
847 the argument can be either a display name or a frame.
848
849 * frame.el (display-pixel-height, display-pixel-width)
850 (display-mm-height, display-mm-width, display-backing-store)
851 (display-save-under, display-planes, display-color-cells)
852 (display-visual-class, display-monitor-attributes-list)
853 (display-screens): Mention in the doc string that the argument can
854 be either a display name or a frame. Improve the docs of the
855 monitor attributes. (Bug#18636)
856
857 2014-10-06 Martin Rudalics <rudalics@gmx.at>
858
859 * term.el (term-window-width): Subtract 1 from the width when
860 any fringe has zero width, not just the right fringe. (Bug#18601)
861
862 2014-10-05 Leo Liu <sdl.web@gmail.com>
863
864 * imenu.el (imenu-default-goto-function): Fix typo.
865
866 2014-10-04 Glenn Morris <rgm@gnu.org>
867
868 * frame.el (frame-monitor-attributes)
869 (display-monitor-attributes-list): Doc fixes.
870
871 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
872
873 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
874 (vc-svn-ignore): Use it. (Bug#18619)
875
876 2014-10-03 Martin Rudalics <rudalics@gmx.at>
877
878 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
879 In doc-string mention need to set `frame-resize-pixelwise'.
880
881 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
884 similarly to Rogers's 2010-06-16 change for the remote case
885 (bug#18605).
886
887 2014-10-01 Glenn Morris <rgm@gnu.org>
888
889 * emacs-lisp/package.el (package-import-keyring):
890 Create gnupg directory private. (Bug#17625#155)
891
892 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * progmodes/python.el (python-shell-completion-get-completions):
895 Use python-shell--prompt-calculated-input-regexp from the
896 process buffer (bug#18582).
897 Don't assume that `line' comes from the process buffer.
898
899 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
900
901 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
902 (bug#18462).
903
904 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/package.el (package-check-signature): Default to nil if
907 GPG is not available.
908 (package-refresh-contents): Don't mess with the keyring if we won't
909 check the signatures anyway.
910
911 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
912
913 * window.el (fit-window-to-buffer): When counting buffer width,
914 count the whole visible buffer. Correctly convert the body-height
915 to pixel size for window-text-pixel-size (Bug#18498).
916
917 2014-09-14 Glenn Morris <rgm@gnu.org>
918
919 * image.el (image-multi-frame-p): Fix thinko - do not force
920 a delay if none was specified. (Bug#18334)
921
922 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
923
924 * window.el (fit-window-to-buffer): Doc fix.
925
926 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
927
928 * desktop.el (desktop-create-buffer): Check that buffers are still live
929 before burying them (bug#18373).
930
931 2014-09-09 Glenn Morris <rgm@gnu.org>
932
933 * calendar/diary-lib.el (diary-list-entries):
934 Restore 24.3 display behavior. (Bug#18381)
935
936 2014-09-09 Eli Zaretskii <eliz@gnu.org>
937
938 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
939 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
940 discrepancy between window-pixel-edges and mouse events, and
941 avoids moving mode line up when the mouse click is on the modeline
942 and no drag is attempted.
943
944 2014-09-08 Glenn Morris <rgm@gnu.org>
945
946 * calendar/calendar.el (calendar-basic-setup):
947 Avoid clobbering calendar with diary. (Bug#18381)
948
949 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
952
953 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
954
955 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
956 as well (bug#18400).
957
958 2014-09-04 Eli Zaretskii <eliz@gnu.org>
959
960 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
961
962 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * emacs-lisp/package.el (package-generate-description-file):
965 Properly quote the arguments (bug#18332). Change second arg.
966 (package--alist-to-plist-args): Rename from package--alist-to-plist and
967 quote the elements.
968 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
969 the *-pkg.el file. Adjust to new calling convention of
970 package-generate-description-file.
971
972 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
973 (gud-gdb-completions): Remove obsolete workaround.
974
975 2014-09-02 Eli Zaretskii <eliz@gnu.org>
976
977 * subr.el (posn-col-row): Revert the change from commit
978 2010-11-13T21:07:58Z!eliz@gnu.org, which
979 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
980 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
981 introduced an off-by-one error in the reported row when there is a
982 header line. (Bug#18384)
983
984 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
985
986 * progmodes/python.el (python-indent-post-self-insert-function):
987 Avoid electric colon at beginning-of-defun. (Bug#18228)
988
989 2014-09-01 Glenn Morris <rgm@gnu.org>
990
991 * tutorial.el (tutorial--display-changes):
992 Fix 2014-07-29 change. (Bug#18382)
993
994 2014-08-29 Ken Brown <kbrown@cornell.edu>
995
996 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
997 the Cygwin-w32 build. (Bug#18347)
998
999 2014-08-28 Glenn Morris <rgm@gnu.org>
1000
1001 * tar-mode.el (tar--extract, tar-extract):
1002 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1003
1004 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1005
1006 * emacs-lisp/authors.el (authors-aliases): Addition.
1007
1008 * net/tramp-adb.el: Spell author name correctly.
1009
1010 2014-08-27 João Távora <joaotavora@gmail.com>
1011
1012 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1013 use url-expand-file-name. (Bug#18310)
1014
1015 2014-08-25 Glenn Morris <rgm@gnu.org>
1016
1017 * emulation/cua-rect.el (cua--highlight-rectangle):
1018 Avoid error at point-min. (Bug#18309)
1019
1020 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1023 executable-find (bug#18244).
1024
1025 * simple.el (self-insert-uses-region-functions): Defvar.
1026
1027 2014-08-13 Leo Liu <sdl.web@gmail.com>
1028
1029 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1030 elements from imenu.
1031
1032 2014-08-11 Glenn Morris <rgm@gnu.org>
1033
1034 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1035
1036 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1037 chose coding system for writing before backing up, since it causes
1038 a more serious problem than the one it solves. (Closes Bug#18141,
1039 reopens Bug#13522.)
1040
1041 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1042
1043 * window.el (window-total-size): Make doc-string more
1044 self-contained.
1045
1046 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1047
1048 * window.el (display-buffer-below-selected): Restore original
1049 behavior if buffer is already displayed in the window below the
1050 selected one (Bug#18181).
1051
1052 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1055 event (bug#18212).
1056
1057 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1058
1059 * info.el (info): Doc fix.
1060
1061 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1064 (bug#18212).
1065
1066 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1067
1068 * simple.el (default-line-height): A floating-point value of
1069 line-spacing means a fraction of the default frame font's height,
1070 not of the font currently used by the 'default' face.
1071 Truncate the pixel value, like the display engine does.
1072 (window-screen-lines): Use window-inside-pixel-edges for
1073 determining the window height in pixels. (Bug#18195)
1074
1075 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1076
1077 * tutorial.el (tutorial--display-changes): Accept punctuation
1078 characters before the key binding. (Bug#18146)
1079
1080 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1081
1082 * doc-view.el (doc-view-open-text): Don't require that the
1083 document is saved in a file (e.g., email attachment).
1084
1085 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1086
1087 * window.el (window--pixel-to-total): Use FRAME's root window, not
1088 that of the selected frame. (Bug#18112, Bug#16674)
1089
1090 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1091
1092 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1093 (Bug#18117)
1094
1095 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1096
1097 * progmodes/python.el (inferior-python-mode): Doc fix.
1098
1099 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1100
1101 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1102 not a character, ignore it instead of raising an error.
1103
1104 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1105
1106 * calendar/todo-mode.el: Fix handling of marked items and make
1107 minor code improvements.
1108 (todo-edit-item): If there are marked items, ensure user can only
1109 invoke editing commands that work with marked items.
1110 (todo-edit-item--text): When there are marked items, make it a
1111 noop if invoked with point not on an item; otherwise, ensure it
1112 applies only to item at point.
1113 (todo-item-undone): If there are marked not-done items, return
1114 point to its original position before signaling user error.
1115 (todo--user-error-if-marked-done-item): New function.
1116 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1117 (todo-item-done): Use it.
1118
1119 2014-07-25 Glenn Morris <rgm@gnu.org>
1120
1121 * files.el (toggle-read-only): Re-add basic doc-string.
1122 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1123
1124 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1125 Replace missing `switch-to-prolog' with `run-prolog'.
1126 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1127
1128 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1129
1130 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1131 of file-wide setting when changing category-wide setting.
1132
1133 2014-07-21 Glenn Morris <rgm@gnu.org>
1134
1135 * progmodes/hideif.el (hide-ifdef-mode-submap):
1136 Also substitute read-only-mode.
1137 * bindings.el (mode-line-toggle-read-only):
1138 * bs.el (bs-toggle-readonly):
1139 * buff-menu.el (Buffer-menu-toggle-read-only):
1140 * dired.el (dired-toggle-read-only):
1141 * files.el (view-read-only, find-file-read-only)
1142 (find-file-read-only-other-window)
1143 (find-file-read-only-other-frame):
1144 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1145 Doc fixes re toggle-read-only.
1146
1147 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1148
1149 * progmodes/python.el: Add comment about pipe buffering and
1150 solutions for missing/delayed output in inferior Python shells.
1151 (Bug#17304)
1152
1153 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1154
1155 * progmodes/python.el (python-mode): Don't set
1156 mode-require-final-newline. (Bug#17990)
1157
1158 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1159
1160 Make python.el work with IPython automatically. (Bug#15510)
1161 * progmodes/python.el:
1162 (python-shell-completion-setup-code): New value supporting iPython.
1163 (python-shell-completion-string-code): New value supporting iPython.
1164 (python-shell-completion-get-completions): Use them.
1165 (python-shell-completion-module-string-code): Make obsolete.
1166 (python-shell-prompt-input-regexps)
1167 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1168 (python-shell-output-filter): Fix comment typo.
1169
1170 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1171
1172 Fix Python shell prompts detection for remote hosts.
1173 * progmodes/python.el (python-shell-prompt-detect):
1174 Replace call-process with process-file and make it more robust.
1175
1176 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1177
1178 Autodetect Python shell prompts. (Bug#17370)
1179 * progmodes/python.el:
1180 (python-shell-interpreter-interactive-arg)
1181 (python-shell-prompt-detect-enabled)
1182 (python-shell-prompt-detect-failure-warning)
1183 (python-shell-prompt-input-regexps)
1184 (python-shell-prompt-output-regexps): New vars.
1185 (python-shell-prompt-calculated-input-regexp)
1186 (python-shell-prompt-calculated-output-regexp): New vars.
1187 (python-shell-get-process-name)
1188 (python-shell-internal-get-process-name)
1189 (python-shell-output-filter)
1190 (python-shell-completion-get-completions): Use them.
1191 (python-shell-prompt-detect)
1192 (python-shell-prompt-validate-regexps): New functions.
1193 (python-shell-prompt-set-calculated-regexps): New function.
1194 (inferior-python-mode): Use it. Also honor overridden
1195 python-shell-interpreter and python-shell-interpreter-args.
1196 (python-shell-make-comint): Honor overridden
1197 python-shell-interpreter and python-shell-interpreter-args.
1198 (python-shell-get-or-create-process): Make it testable by allowing
1199 to call run-python non-interactively.
1200 (python-util-valid-regexp-p): New function.
1201 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1202 (python-shell-prompt-output-regexp)
1203 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1204
1205 2014-07-16 Glenn Morris <rgm@gnu.org>
1206
1207 * desktop.el (after-init-hook): Disable startup frame restoration
1208 in non-graphical situations. (Bug#17693)
1209
1210 2014-07-14 Glenn Morris <rgm@gnu.org>
1211
1212 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1213 if it was "empty", or used for a different set of files. (Bug#17884)
1214
1215 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1216
1217 * bindings.el (mode-line-remote): If default-directory is not a
1218 string, don't call file-remote-p on it; instead state in the
1219 help-echo that it is nil. (Bug#17986)
1220
1221 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1222
1223 Fix bug: C-x v v discarded existing log message (Bug#17884).
1224 * vc/vc-dispatcher.el (vc-log-edit):
1225 Don't clobber an already-existing log message.
1226
1227 2014-07-10 Glenn Morris <rgm@gnu.org>
1228
1229 * vc/log-edit.el (log-edit-changelog-entries):
1230 Check for a visited-but-never-saved ChangeLog.
1231
1232 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1235 a non-existing file (bug#17970).
1236
1237 * faces.el (face-name): Undo last change.
1238 (x-resolve-font-name): Don't call face-name (bug#17956).
1239
1240 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1241
1242 Fix dedenters and electric colon handling. (Bug#15163)
1243
1244 * progmodes/python.el
1245 (python-rx-constituents): Add dedenter and block-ender.
1246 (python-indent-dedenters, python-indent-block-enders): Delete.
1247 (python-indent-context): Return new case for dedenter-statement.
1248 (python-indent-calculate-indentation): Handle new case.
1249 (python-indent-calculate-levels): Fix levels calculation for
1250 dedenter statements.
1251 (python-indent-post-self-insert-function): Fix colon handling.
1252 (python-info-dedenter-opening-block-message): New function.
1253 (python-indent-line): Use it.
1254 (python-info-closing-block)
1255 (python-info-closing-block-message): Remove.
1256 (python-info-dedenter-opening-block-position)
1257 (python-info-dedenter-opening-block-positions)
1258 (python-info-dedenter-statement-p): New functions.
1259
1260 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1263 the middle of a line (bug#17896).
1264
1265 2014-07-08 Juri Linkov <juri@jurta.org>
1266
1267 * startup.el (command-line): Append displaying the warning about
1268 the errors in the init file to the end of `after-init-hook'.
1269 (Bug#17927)
1270
1271 2014-07-08 Juri Linkov <juri@jurta.org>
1272
1273 * faces.el (face-name): Return input arg `face' as is
1274 when it's not a symbol.
1275 (x-resolve-font-name): Don't check if the face is a symbol.
1276 (Bug#17956)
1277
1278 2014-07-08 Juri Linkov <juri@jurta.org>
1279
1280 * facemenu.el (list-colors-print): In help-echo format use %.2f
1281 instead of %d because now HSV values are floating-point components
1282 between 0.0 and 1.0.
1283
1284 2014-07-06 Glenn Morris <rgm@gnu.org>
1285
1286 * emulation/cua-rect.el (cua--activate-rectangle):
1287 Avoid setting cua--rectangle to nil. (Bug#17877)
1288
1289 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1290
1291 * calendar/todo-mode.el: Fix wrong-type-argument error when
1292 marking multiple consecutive items.
1293 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1294 end of the todo and done items sections. Note in doc string that
1295 items marked by passing a numeric prefix argument can include the
1296 last todo and first done items.
1297 (todo-mark-category): Don't try to mark the empty line between the
1298 todo and done items sections.
1299
1300 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1303 proper Lisp quoting (bug#17934).
1304
1305 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1306 require-final-newline since prog-mode already took care of it (bug#17947).
1307
1308 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1309
1310 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1311 refer to the Todo mode Info manual. Update the comment on
1312 requiring cl-lib.
1313 (todo-find-filtered-items-file): Add todo-prefix overlays.
1314 (todo-filter-items): Reorder a let-bound variable to avoid a
1315 wrong-type-argument error on canceling the file choice dialog.
1316
1317 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * progmodes/octave.el (inferior-octave-mode):
1320 Set comint-input-ring-size to a number (bug#17912).
1321
1322 2014-07-03 Juri Linkov <juri@jurta.org>
1323
1324 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1325 and `isearch-mode' associated with nil. (Bug#17849)
1326
1327 2014-07-02 Juri Linkov <juri@jurta.org>
1328
1329 * desktop.el (desktop-save): Rename arg `auto-save' to
1330 `only-if-changed'. Doc fix. (Bug#17873)
1331
1332 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1335 Use insert-for-yank (bug#17271).
1336
1337 2014-07-02 Leo Liu <sdl.web@gmail.com>
1338
1339 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1340 Support lexical-binding.
1341
1342 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * vc/log-edit.el (log-edit-goto-eoh): New function.
1345 (log-edit--match-first-line): Use it (bug#17861).
1346
1347 2014-07-01 Glenn Morris <rgm@gnu.org>
1348
1349 * vc/log-edit.el (log-edit-hook): Add missing :version.
1350
1351 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1352
1353 * progmodes/python.el (python-indent-post-self-insert-function):
1354 Enhancements to electric indentation behavior inside
1355 parens. (Bug#17658)
1356
1357 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1360 buffer-invisibility-spec (bug#17867).
1361
1362 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1363
1364 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1365 pass "-a".
1366
1367 2014-06-29 Glenn Morris <rgm@gnu.org>
1368
1369 * cus-edit.el (help):
1370 * finder.el (finder-known-keywords):
1371 * help.el (help-for-help-internal):
1372 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1373 (ediff-redraw-registry-buffer):
1374 * vc/ediff-ptch.el (ediff-patch-file-internal):
1375 Doc fixes re "online" help. (Bug#17803)
1376
1377 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1378 (idlwave-mode): Doc URL update.
1379
1380 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1381
1382 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1383 account for file-wide setting of todo-top-priorities-overrides.
1384 Make code a bit cleaner.
1385
1386 2014-06-27 Leo Liu <sdl.web@gmail.com>
1387
1388 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1389
1390 2014-06-27 Glenn Morris <rgm@gnu.org>
1391
1392 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1393
1394 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1395
1396 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1397 category-wide setting of todo-top-priorities-overrides, check for
1398 a file-wide setting and fontify accordingly.
1399
1400 2014-06-26 Glenn Morris <rgm@gnu.org>
1401
1402 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1403
1404 2014-06-26 Daiki Ueno <ueno@gnu.org>
1405
1406 * emacs-lisp/package.el (package--check-signature):
1407 If package-check-signature is allow-unsigned, don't signal error when
1408 we can't verify signature because of missing public key
1409 (backport for bug#17625).
1410
1411 2014-06-26 Glenn Morris <rgm@gnu.org>
1412
1413 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1414 Remove outdated declaration.
1415
1416 * emacs-lisp/authors.el (authors-valid-file-names)
1417 (authors-renamed-files-alist): Additions.
1418
1419 2014-06-25 Leo Liu <sdl.web@gmail.com>
1420
1421 * textmodes/picture.el (picture-set-tab-stops):
1422 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1423 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1424
1425 * progmodes/asm-mode.el (asm-calculate-indentation):
1426 Use indent-next-tab-stop.
1427
1428 * indent.el (indent-accumulate-tab-stops): New function.
1429
1430 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1433 (package-desc-status): Obey it.
1434
1435 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1436
1437 * calendar/todo-mode.el: Fix two bugs.
1438 (todo-insert-item--basic): If user cancels item insertion to
1439 another category before setting priority, show original category
1440 whether it is in the same or a different file.
1441 (todo-set-item-priority): After selecting category, instead of
1442 moving point to top, which extends an active region, restore it.
1443
1444 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * help-fns.el (describe-function-1): Check file-name is a string before
1447 calling help-fns--autoloaded-p (bug#17564).
1448
1449 2014-06-24 Juri Linkov <juri@jurta.org>
1450
1451 * desktop.el (desktop-auto-save-enable)
1452 (desktop-auto-save-disable): New functions.
1453 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1454 (desktop-read): Disable the autosave before loading the desktop,
1455 and enable afterwards. (Bug#17351)
1456
1457 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 Fix some indentation problem with \; and pipes (bug#17842).
1460 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1461 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1462 New functions.
1463 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1464 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1465 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1466
1467 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1468
1469 * international/fontset.el (script-representative-chars):
1470 Add representative characters for scripts added in Unicode 7.0.
1471 (otf-script-alist): Synchronize with the latest registry of OTF
1472 script tags.
1473
1474 * international/characters.el (char-script-table): Update for
1475 scripts added and codepoint ranges changed in Unicode 7.0.
1476
1477 2014-06-23 Leo Liu <sdl.web@gmail.com>
1478
1479 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1480 tab-stop-list to nil. (Bug#16381)
1481
1482 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1483 (indent-rigidly-left-to-tab-stop)
1484 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1485 (move-to-tab-stop): Change callers.
1486
1487 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1488
1489 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1490 wrt behavior of \n as the first/last element of a skeleton.
1491
1492 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1493
1494 * net/tramp-adb.el (tramp-adb-handle-process-file):
1495 * net/tramp-sh.el (tramp-sh-handle-process-file):
1496 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1497 the output buffer when DISPLAY is non-nil. (Bug#17815)
1498
1499 2014-06-21 Glenn Morris <rgm@gnu.org>
1500
1501 * play/landmark.el (landmark-move-down, landmark-move-up):
1502 Fix 2007-10-20 change - preserve horizontal position.
1503
1504 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1505
1506 Fix completion retrieval parsing (bug#17209).
1507 * progmodes/python.el (python-mode):
1508 (python-util-strip-string): New function.
1509 (python-shell-completion-get-completions): Use it.
1510
1511 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1512
1513 * skeleton.el (skeleton-insert): Fix last change.
1514
1515 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1516
1517 Enhancements for outline integration (bug#17796).
1518 * progmodes/python.el (python-mode): Properly set
1519 outline-heading-end-regexp so that comments after colons for
1520 defuns are supported.
1521
1522 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1523
1524 * skeleton.el (skeleton-insert): Doc fix.
1525
1526 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1529 (smie-config-guess): Use smie-config-local so the rules are obeyed
1530 (bug#17818).
1531
1532 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1533 since it's already done inside the loop (bug#17819).
1534
1535 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1536
1537 * mouse.el (mouse-drag-line): Re-remove code initially removed
1538 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1539 (Bug#17819).
1540
1541 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1544 align with the surrounding parent (bug#17721).
1545
1546 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1547
1548 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1549 locally to nil.
1550 (texinfo-insert-block, texinfo-insert-@end)
1551 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1552 local setting of skeleton-end-newline by adding an explicit \n to
1553 the skeletons where appropriate. (Bug#17801)
1554
1555 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1558 (smie-indent--hanging-p): Use it.
1559 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1560
1561 2014-06-20 Leo Liu <sdl.web@gmail.com>
1562
1563 * simple.el (read-quoted-char): Don't let help chars pop up help
1564 buffer. (Bug#16617)
1565
1566 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1569 for | (bug#17621).
1570
1571 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1574 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1575 burping.
1576
1577 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1578
1579 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1580 and later. (Bug#17790)
1581
1582 2014-06-18 Juri Linkov <juri@jurta.org>
1583
1584 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1585 to `soft'. (Bug#17554)
1586
1587 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1590 (bug#17737).
1591
1592 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1593
1594 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1595 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1596
1597 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1600 `unread-command-events'.
1601
1602 2014-06-14 Glenn Morris <rgm@gnu.org>
1603
1604 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1605 Replace delete-duplicates and mapcan by cl- versions throughout.
1606 And cl-macroexpand-all by macroexpand-all.
1607 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1608
1609 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1610
1611 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1612
1613 2014-06-14 Juri Linkov <juri@jurta.org>
1614
1615 * bindings.el: Put `ascii-character' property on keypad keys
1616 mapped to characters. (Bug#17759)
1617
1618 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1621 bumping forward into a closing paren (bug#17761).
1622
1623 * term/xterm.el (xterm--version-handler): Work around for OSX
1624 Terminal.app (bug#17607).
1625
1626 2014-06-08 Glenn Morris <rgm@gnu.org>
1627
1628 * startup.el (initial-buffer-choice): Doc fix.
1629 Reset :version (adding an option does not merit a :version bump).
1630
1631 * bookmark.el (bookmark-load):
1632 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1633
1634 2014-06-06 Juri Linkov <juri@jurta.org>
1635
1636 * desktop.el: Activate auto-saving on window configuration changes.
1637 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1638 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1639 (desktop-auto-save-set-timer): Change REPEAT arg of
1640 `run-with-idle-timer' from t to nil.
1641 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1642
1643 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1644
1645 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1646 vc-hg-command (bug#17570).
1647
1648 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1651 (bug#17702).
1652
1653 2014-06-06 Glenn Morris <rgm@gnu.org>
1654
1655 * startup.el (window-setup-hook): Doc fix.
1656
1657 2014-06-05 Glenn Morris <rgm@gnu.org>
1658
1659 * emacs-lisp/package.el (package-check-signature)
1660 (package-unsigned-archives): Doc fixes.
1661
1662 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1663
1664 * window.el (display-buffer-use-some-window): Don't make window
1665 used smaller than it was before (Bug#17671).
1666
1667 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1668
1669 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1670 'redisplay' instead of '(sit-for 0)'.
1671
1672 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1673
1674 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1675 regexp. (Bug#17653)
1676
1677 2014-06-03 Glenn Morris <rgm@gnu.org>
1678
1679 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1680
1681 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1682
1683 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1684
1685 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1686
1687 * simple.el (keyboard-quit): Force update of mode lines, to remove
1688 the "Def" indicator, if we were defining a macro. (Bug#17615)
1689
1690 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * minibuffer.el (minibuffer-force-complete-and-exit):
1693 Obey minibuffer-default (bug#17545).
1694
1695 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1696 (bug#17619).
1697
1698 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * subr.el (set-transient-map): Don't wait for some "nested"
1701 transient-map to finish if we're only supposed to be active for
1702 the next command (bug#17642).
1703
1704 2014-05-31 Leo Liu <sdl.web@gmail.com>
1705
1706 * emacs-lisp/gv.el (window-buffer, window-display-table)
1707 (window-dedicated-p, window-hscroll, window-point, window-start):
1708 Fix gv-expander. (Bug#17630)
1709
1710 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1713 clicks (bug#17633).
1714
1715 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1716 for the single comma, since ", " is *very* common in normal French text
1717 (bug#17643).
1718
1719 2014-05-30 Glenn Morris <rgm@gnu.org>
1720
1721 * emacs-lisp/package.el (package-check-signature)
1722 (package-unsigned-archives): Fix :version.
1723
1724 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * subr.el (sit-for): Don't run input-methods (bug#15614).
1727
1728 2014-05-28 Glenn Morris <rgm@gnu.org>
1729
1730 * cus-start.el: Fix some :version numbers.
1731
1732 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * simple.el (deactivate-mark): Set mark-active to nil even if
1735 deactivation is done via setting transient-mark-mode to nil,
1736 since one is buffer-local and the other is global.
1737
1738 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1739 there can't be more than 2 arguments (bug#17584).
1740
1741 2014-05-27 Glenn Morris <rgm@gnu.org>
1742
1743 * simple.el (filter-buffer-substring-functions)
1744 (filter-buffer-substring-function, buffer-substring-filters)
1745 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1746
1747 * minibuffer.el (completion-in-region-functions, completion-in-region)
1748 (completion--in-region): Doc fixes.
1749
1750 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1751 (expand-abbrev, abbrev--default-expand): Doc fixes.
1752
1753 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1754
1755 Include sources used to create macuvs.h.
1756 * international/README: Refer to the Unicode Terms of Use rather
1757 than copying it bodily here, as that simplifies maintenance.
1758
1759 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1760
1761 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1762
1763 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (window--dump-frame): Remove interactive
1766 specification.
1767
1768 2014-05-23 Glenn Morris <rgm@gnu.org>
1769
1770 * hippie-exp.el (he-line-search-regexp):
1771 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1772
1773 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1774
1775 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1776 to avoid errors when trying to create or visit a file foo.todo
1777 located outside to todo-directory, and to allow having such files
1778 without them being tied to Todo mode (bug#17482).
1779 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1780 (todo-archive-done-item, todo-find-filtered-items-file)
1781 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1782 (todo-category-completions, todo-read-category): When visiting a
1783 Todo file, make sure we're in the right mode and the buffer local
1784 variables are set.
1785 (todo-make-categories-list, todo-reset-nondiary-marker)
1786 (todo-reset-done-string, todo-reset-comment-string):
1787 After processing all Todo files, kill the buffers of those files that
1788 weren't being visited before the processing.
1789 (todo-display-as-todo-file, todo-add-to-buffer-list)
1790 (todo-visit-files-commands): Comment out.
1791 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1792 (auto-mode-alist): Remove add-to-list calls making Todo file
1793 extensions unrestrictedly tied to Todo modes.
1794
1795 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1798 (advice-function-member-p): Tell it to check both names and functions
1799 (bug#17531).
1800 (advice--add-function): Adjust call accordingly.
1801
1802 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1803
1804 * calendar/todo-mode.el: Miscellaneous bug fixes.
1805 (todo-delete-file): When deleting an archive but not its todo
1806 file, make sure to update the todo file's category sexp.
1807 (todo-move-category): Keep the moved category's name unless the
1808 file moved to already has a category with that name. If the
1809 numerically last category of the source file was moved, make the
1810 first category current to avoid selecting a nonexisting category.
1811 (todo-merge-category): Fix implementation to make merging to a
1812 category in another file work as documented. Eliminate now
1813 insufficient and unnecessary renaming of archive category, correct
1814 document string accordingly, and clarify it. If the numerically
1815 last category of the source file was merged, make the first
1816 category current to avoid selecting a nonexisting category.
1817 (todo-archive-done-item): When there are marked items and point
1818 happens to be on an unmarked item, ignore the latter. Don't leave
1819 point below last item after archiving marked items.
1820 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1821 from an archive with only one category deletes the archive only
1822 when the category is empty after unarchiving. Make sure the todo
1823 file's category sexp is updated.
1824 (todo-read-file-name): Allow an existing file name even when it is
1825 not required (todo-move-category needs this to work as documented).
1826 (todo-add-file): Call todo-validate-name to reject the name of an
1827 existing todo file (needed due to fix in todo-read-file-name).
1828 (todo-reset-nondiary-marker): Also reset in filtered items files.
1829 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1830 regexp filtered items files.
1831 (todo-reset-highlight-item): Also reset in filtered items files.
1832 Fix incorrect variable reference in document string.
1833
1834 2014-05-22 Glenn Morris <rgm@gnu.org>
1835
1836 * window.el (window--dump-frame): Avoid error in --without-x builds.
1837
1838 2014-05-21 Glenn Morris <rgm@gnu.org>
1839
1840 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1841
1842 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1843
1844 * frame.el (set-frame-font): Doc fix.
1845
1846 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1847
1848 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1849
1850 * emacs-lisp/package.el (package--download-one-archive):
1851 Use `write-region' instead of `save-buffer' to avoid running various
1852 hooks. (Bug#17155)
1853 (describe-package-1): Same. Insert newline at the end of the
1854 buffer if appropriate.
1855
1856 2014-05-20 Juri Linkov <juri@jurta.org>
1857
1858 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1859 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1860 Add more modifiers: meta, control, shift, hyper, super, alt.
1861 (Bug#17439)
1862
1863 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1864 to allow changing its value with `set-variable'.
1865
1866 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1869 #; comments.
1870 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1871 New functions.
1872 (scheme-mode-variables): Set syntax-propertize-function instead of
1873 font-lock-syntactic-face-function.
1874 (scheme-font-lock-syntactic-face-function): Delete.
1875
1876 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1877
1878 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1881 (bug#17392).
1882
1883 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1886 for a temporary file name.
1887
1888 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1889
1890 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1891
1892 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1893
1894 * net/dbus.el (dbus-init-bus, dbus-call-method)
1895 (dbus-call-method-asynchronously, dbus-send-signal)
1896 (dbus-method-return-internal, dbus-method-error-internal):
1897 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1898
1899 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1900
1901 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1902 methods which do not have a doc string. (Bug#17490)
1903
1904 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1905 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1908 suffix (bug#15419).
1909
1910 2014-05-14 Glenn Morris <rgm@gnu.org>
1911
1912 * vc/emerge.el (emerge-temp-file-prefix):
1913 Make pointless option obsolete.
1914 (emerge-temp-file-mode): Make non-functional option obsolete.
1915
1916 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1917
1918 * net/browse-url.el (browse-url):
1919 Use `unhandled-file-name-directory' when setting `default-directory',
1920 in order to circumvent stalled remote connections. (Bug#17425)
1921
1922 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1925 into autoloading just because of a silly indirection.
1926
1927 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1928
1929 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1930
1931 2014-05-11 Glenn Morris <rgm@gnu.org>
1932
1933 * emacs-lisp/find-gc.el: Move to ../admin.
1934
1935 2014-05-10 Glenn Morris <rgm@gnu.org>
1936
1937 * printing.el (pr-version):
1938 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1939
1940 * net/browse-url.el (browse-url-mosaic):
1941 Create /tmp/Mosaic.PID as a private file.
1942
1943 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1946 (advice--member-p): If name is given, only compare the name.
1947 (advice--remove-function): Don't stop at the first match.
1948 (advice--normalize-place): New function.
1949 (add-function, remove-function): Use it.
1950 (advice--add-function): Pass the name, if any, to
1951 advice--remove-function.
1952
1953 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1954
1955 * electric.el (electric-indent-post-self-insert-function): Don't use
1956 `pos' after modifying the buffer (bug#17449).
1957
1958 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * subr.el (function-put): Add function.
1961
1962 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1963
1964 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1965 Correct argument list to conform to todo-insert-item--basic.
1966
1967 2014-05-09 Glenn Morris <rgm@gnu.org>
1968
1969 * files.el (cd-absolute): Test if directory is accessible
1970 rather than executable. (Bug#17330)
1971
1972 * progmodes/compile.el (recompile):
1973 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1974
1975 2014-05-08 Juri Linkov <juri@jurta.org>
1976
1977 * dired.el (dired-check-switches, dired-switches-recursive-p):
1978 New functions. (Bug#17218)
1979 (dired-switches-escape-p, dired-move-to-end-of-filename):
1980 Use `dired-check-switches'.
1981 (dired-insert-old-subdirs, dired-build-subdir-alist)
1982 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1983
1984 2014-05-08 Glenn Morris <rgm@gnu.org>
1985
1986 * net/browse-url.el (browse-url-mosaic):
1987 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1988 This is CVE-2014-3423.
1989
1990 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1993 (xterm-mouse--read-event-sequence-1000): Return nil if something
1994 looks fishy.
1995 (xterm-mouse-event): Propagate it.
1996 (xterm-mouse-translate-1): Handle it.
1997
1998 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1999
2000 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2001 four slots of the parameter list are filled, make sure to pass it
2002 to the argument list of todo-insert-item--basic.
2003
2004 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2007 Add optional `seen' argument to detect and break infinite loops.
2008
2009 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2010
2011 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2012 (trace-unsafe, trace-use-tree): Make parentheses style be
2013 according to Emacs style.
2014
2015 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2016
2017 * net/tramp-sh.el (tramp-remote-process-environment):
2018 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2019 Add :version entry.
2020 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2021 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2022 extra "PSx=..." commands.
2023 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2024 (Bug#17295)
2025
2026 (tramp-uudecode): Replace the hard-coded temporary file name by a
2027 format specifier.
2028 (tramp-remote-coding-commands): Enhance docstring.
2029 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2030 name. (Bug#17415)
2031 This is CVE-2014-3424.
2032
2033 2014-05-06 Glenn Morris <rgm@gnu.org>
2034
2035 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2036 (find-gc-source-files): Update some names.
2037 (trace-call-tree): Simplify and update.
2038 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2039 This is CVE-2014-3422.
2040
2041 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * minibuffer.el (completion--try-word-completion): Revert fix for
2044 Bug#15980 (bug#17375).
2045
2046 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2047 Always store button numbers in the same way in xterm-mouse-last;
2048 Don't burp is xterm-mouse-last is not set as expected.
2049 Never return negative indices.
2050
2051 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2054 Backtrack one char if the global/char-literal var matcher hits
2055 inside a string. The next char could be the beginning of an
2056 expression expansion.
2057
2058 2014-05-05 Glenn Morris <rgm@gnu.org>
2059
2060 * help-fns.el (describe-function-1): Test for an autoload before a
2061 macro, since `macrop' works on autoloads. (Bug#17410)
2062
2063 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2066
2067 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2068 Make sure the new point we return is within the new string (bug#17239).
2069
2070 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2071
2072 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2073
2074 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2077 Use nil rather than `default' for the "default" appearance (bug#17388).
2078 * vc/ediff-util.el (ediff-inferior-compare-regions)
2079 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2080 a misleading `default' value when it's really a boolean.
2081 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2082 overlay is not visible.
2083
2084 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2085
2086 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2087 (todo-menu): Uncomment and update.
2088
2089 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2090
2091 * calendar/todo-mode.el: Reimplement item editing to have the same
2092 basic user interface as item insertion, and make small UI and
2093 larger internal improvements to the latter.
2094 (todo-insert-item): Add reference to the Todo mode user manual to
2095 the documentation string.
2096 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2097 adjust all callers. Change signature to combine diary and
2098 nonmarking arguments. Incorporate functionality of deleted item
2099 copying command and add error checking. Remove detailed
2100 descriptions of the arguments from the documentation string, since
2101 this is treated in the Todo mode user manual.
2102 (todo-copy-item, todo-edit-multiline-item)
2103 (todo-edit-done-item-comment, todo-edit-item-header)
2104 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2105 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2106 (todo-edit-item-date-year, todo-edit-item-date-month)
2107 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2108 Remove.
2109 (todo-edit-item): Reimplement as wrapper command for
2110 todo-edit-item--next-key and make it distinguish done and not done
2111 todo items.
2112 (todo-edit-item--text): New function, replacing old command
2113 todo-edit-item and incorporating deleted commands
2114 todo-edit-multiline-item and todo-edit-done-item-comment.
2115 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2116 Use only numeric value of prefix argument. Remove detailed
2117 descriptions of the arguments from the documentation string, since
2118 this is treated in the Todo mode user manual.
2119 (todo-edit-item--diary-inclusion): New function, replacing old
2120 command todo-edit-item-diary-inclusion and incorporating and fixing
2121 functionality of deleted command todo-edit-item-diary-nonmarking,
2122 making sure to remove todo-nondiary-marker when adding
2123 diary-nonmarking-symbol.
2124 (todo-edit-category-diary-inclusion): Make sure to delete
2125 diary-nonmarking-symbol when adding todo-nondiary-marker.
2126 (todo-edit-category-diary-nonmarking): Fix indentation.
2127 (todo-insert-item--parameters): Group diary and nonmarking
2128 parameters together.
2129 (todo-insert-item--apply-args): Adjust to signature of
2130 todo-insert-item--basic and incorporate copy parameter.
2131 Make small code improvements.
2132 (todo-insert-item--next-param): Improve prompt and adjust it to
2133 new parameter grouping. Remove obsolete code.
2134 (todo-edit-item--param-key-alist)
2135 (todo-edit-item--date-param-key-alist)
2136 (todo-edit-done-item--param-key-alist): New defconsts.
2137 (todo-edit-item--prompt): New variable.
2138 (todo-edit-item--next-key): New function.
2139 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2140 Remove bindings of deleted commands.
2141
2142 2014-05-02 Leo Liu <sdl.web@gmail.com>
2143
2144 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2145
2146 2014-05-01 Glenn Morris <rgm@gnu.org>
2147
2148 * allout-widgets.el (allout-widgets-tally)
2149 (allout-decorate-item-guides):
2150 * menu-bar.el (menu-bar-positive-p):
2151 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2152 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2153 * progmodes/js.el (js--inside-param-list-p)
2154 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2155 * progmodes/prolog.el (region-exists-p):
2156 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2157 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2158 Doc fixes (replace `iff').
2159
2160 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2163
2164 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2165
2166 * dired.el (dired-initial-position-hook, dired-initial-position):
2167 Doc string fixes.
2168
2169 2014-04-29 Glenn Morris <rgm@gnu.org>
2170
2171 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2172
2173 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2174
2175 * faces.el (face-spec-recalc): Apply X resources only after the
2176 defface spec has been applied. Thus, X resources are no longer
2177 overridden by the defface spec which also fixes issues on win32 where
2178 the toolbar coloring was wrong because it is set through X resources
2179 and was (wrongfully) overridden. (Bug#16694)
2180
2181 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * textmodes/rst.el (electric-pair-pairs): Declare.
2184 (rst-mode): Set it (bug#17131).
2185
2186 2014-04-27 Juri Linkov <juri@jurta.org>
2187
2188 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2189 and `print-level' to nil. (Bug#17351)
2190
2191 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2192
2193 * battery.el (battery-update): Handle the case where battery
2194 status is "N/A" (bug#17319).
2195
2196 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2197
2198 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2199 Use equal-including-properties to compare help-echo strings (bug#17331).
2200
2201 2014-04-24 Leo Liu <sdl.web@gmail.com>
2202
2203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2204 Fix syntax for @. (Bug#17325)
2205
2206 2014-04-24 Daniel Colascione <dancol@dancol.org>
2207
2208 * emacs-lisp/cl.el (gv): Require gv early to break eager
2209 macro-expansion cycles.
2210
2211 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * simple.el (region-active-p): Check there's a mark (bug#17324).
2214
2215 * simple.el (completion-list-mode-map): Use choose-completion for the
2216 mouse binding as well (bug#17302).
2217 (completion-list-mode, completion-setup-function): Adjust docstring and
2218 echo area message accordingly.
2219 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2220 calling convention of choose-completion.
2221 * comint.el (comint-dynamic-list-completions):
2222 * term.el (term-dynamic-list-completions): Accept choose-completion.
2223
2224 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2225 &, |, +, - and * can't be a division (bug#17317).
2226
2227 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2230 features on gnome-terminal (bug#16988).
2231
2232 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2233
2234 * dired.el (dired-insert-set-properties): Do not consider
2235 subdirectory headings and empty lines to be information that
2236 `dired-hide-details-mode' should hide. (Bug#17228)
2237
2238 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2239
2240 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2241 Remove test messages.
2242 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2243 and `target' twice.
2244
2245 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2248 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2249
2250 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2251
2252 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2253
2254 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2255 Set "IFS=" when using read builtin, in order to preserve spaces in
2256 the file name. Add test messages for hunting a bug on hydra.
2257 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2258
2259 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2262 Don't prettify a word within a symbol.
2263
2264 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2267 possible.
2268
2269 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2272 assignments such as "case=hello" (bug#17297).
2273
2274 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2275
2276 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2277 Do not autoload.
2278 (tramp-file-name-handler, tramp-completion-file-name-handler):
2279 Revert patch from 2014-04-10, it isn't necessary anymore.
2280 (tramp-autoload-file-name-handler)
2281 (tramp-register-autoload-file-name-handlers): New defuns.
2282 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2283 (tramp-register-file-name-handlers): Remove also
2284 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2285 Do not autoload its invocation, but eval it after loading of 'tramp.
2286
2287 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2288
2289 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2290
2291 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2294 was done (bug#17264).
2295 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2296 comment to EOB.
2297
2298 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2299 here-documents (bug#17262).
2300
2301 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2302
2303 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2304 Provide doc strings, as required by snarf-documentation.
2305
2306 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2309 arg of overlays-at. Use `invisible-p'.
2310
2311 * obsolete/lucid.el (extent-at):
2312 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2313 overlays-at.
2314 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2315
2316 2014-04-14 João Távora <joaotavora@gmail.com>
2317
2318 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2319 links. (Bug#17217).
2320
2321 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2322
2323 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2324 Use mapc to loop over a vector. (Bug#17257).
2325
2326 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2329 patch, there are new problems with file names containing spaces.
2330 Get rid of backticks. (Bug#17238)
2331
2332 2014-04-13 João Távora <joaotavora@gmail.com>
2333
2334 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2335 possible bug.
2336
2337 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2338
2339 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2340 (blink-cursor-mode): Mention customization variables and the
2341 effect of 'blink-cursor-blinks'.
2342
2343 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2344
2345 * simple.el (undo): Prevent insertion of identity mapping into
2346 undo-equiv-table so as undo-only does not inf loop in the presence
2347 of consecutive nils in undo list.
2348
2349 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2350
2351 * faces.el (make-face): Deprecate optional argument as it is no
2352 longer needed/used since the conditional X resources handling
2353 has been pushed down to make-face-x-resource-internal itself.
2354 (make-empty-face): Don't pass optional argument to make-face.
2355
2356 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2357
2358 * international/characters.el <standard-case-table>: Add entries
2359 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2360 Set category of Coptic characters be 'g' (Greek).
2361
2362 2014-04-12 Leo Liu <sdl.web@gmail.com>
2363
2364 * progmodes/octave.el (completion-table-with-cache): Define if not
2365 available.
2366 (octave-goto-function-definition)
2367 (octave-sync-function-file-names)
2368 (octave-find-definition-default-filename): Backquote upattern for
2369 compatibility.
2370
2371 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2374 name twice due to backticks. (Bug#17238)
2375
2376 2014-04-11 Glenn Morris <rgm@gnu.org>
2377
2378 * term/w32-win.el (x-win-suspend-error):
2379 * term/x-win.el (x-win-suspend-error): Sync docs.
2380
2381 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 Ediff's overlay priorities cause more trouble than they solve.
2384 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2385 (ediff-highest-priority): Remove function (bug#17234).
2386 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2387 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2388 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2389 overlay priorities.
2390
2391 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2392
2393 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2394 entry; use symbol boundaries to avoid mis-matches.
2395
2396 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * net/tramp.el (tramp-file-name-handler)
2399 (tramp-completion-file-name-handler): Avoid recursive loading.
2400
2401 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2402 Quote result also locally.
2403
2404 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2405
2406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2407 Module methods. (Bug#17216)
2408
2409 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2412 (describe-bindings-internal): Mark obsolete.
2413
2414 2014-04-07 João Távora <joaotavora@gmail.com>
2415
2416 * elec-pair.el:
2417 (electric-pair--syntax-ppss): When inside comments parse from
2418 comment beginning.
2419 (electric-pair--balance-info): Fix typo in comment.
2420 (electric-pair--in-unterminated-string-p): Delete.
2421 (electric-pair--unbalanced-strings-p): New function.
2422 (electric-pair-string-bound-function): New var.
2423 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2424 according to `electric-pair--in-unterminated-string-p'
2425
2426 2014-04-07 João Távora <joaotavora@gmail.com>
2427
2428 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2429 Inhibit quote pairing if point-max is inside an unterminated string.
2430 (electric-pair--looking-at-unterminated-string-p): Delete.
2431 (electric-pair--in-unterminated-string-p): New function.
2432
2433 2014-04-07 Glenn Morris <rgm@gnu.org>
2434
2435 * shell.el (shell-directory-tracker):
2436 Go back to just ignoring failures. (Bug#17159)
2437
2438 2014-04-06 João Távora <joaotavora@gmail.com>
2439
2440 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2441 backspace. (bug#16981)
2442 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2443 (electric-pair-backward-delete-char-untabify): Delete.
2444 (electric-pair-mode-map): Bind backspace to a menu item filtering
2445 a new `electric-pair-delete-pair' command.
2446 (electric-pair-delete-pair): New command.
2447
2448 2014-04-06 João Távora <joaotavora@gmail.com>
2449
2450 * progmodes/python.el (python-electric-pair-string-delimiter):
2451 Fix triple-quoting electricity. (Bug#17192)
2452
2453 2014-04-06 João Távora <joaotavora@gmail.com>
2454
2455 * elec-pair.el (electric-pair-post-self-insert-function):
2456 Don't skip whitespace when `electric-pair-text-pairs' and
2457 `electric-pair-pairs' were used. syntax to
2458 electric-pair--skip-whitespace. (Bug#17183)
2459
2460 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2461
2462 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2463 "<F>". (Bug#17199)
2464
2465 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2468 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2469
2470 2014-04-05 Glenn Morris <rgm@gnu.org>
2471
2472 * help.el (view-lossage): Doc tweak.
2473
2474 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2475
2476 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2477 only when inhibit-x-resources is nil, and do that earlier in the
2478 function. Doc fix. (Bug#16694)
2479 (face-spec-choose): Accept additional optional argument, whose
2480 value is returned if no matching attributes are found.
2481 (face-spec-recalc): Use the new optional argument when calling
2482 face-spec-choose. (Bug#16378)
2483 (make-face-x-resource-internal): Do nothing when
2484 inhibit-x-resources is non-nil. Don't touch the default face if
2485 reversed video is given--as was done in previous versions of Emacs.
2486 (face-set-after-frame-default): Don't call
2487 make-face-x-resource-internal here. (Bug#16434)
2488
2489 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2490
2491 * doc-view.el (doc-view-bookmark-jump):
2492 Use `bookmark-after-jump-hook' to jump to the right page after the
2493 buffer is shown in a window. (bug#16090)
2494
2495 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2496
2497 * international/characters.el (mirroring): Fix last change:
2498 instead of loading uni-mirrored.el explicitly, do that implicitly
2499 by creating the 'mirroring' uniprop table. This avoids announcing
2500 the loading of uni-mirrored.el.
2501
2502 2014-04-04 Glenn Morris <rgm@gnu.org>
2503
2504 * files.el (buffer-stale--default-function)
2505 (buffer-stale-function, revert-buffer--default):
2506 * autorevert.el (auto-revert-buffers): Doc tweaks.
2507
2508 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2509
2510 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2511
2512 2014-04-03 Glenn Morris <rgm@gnu.org>
2513
2514 * files.el (make-backup-file-name-function)
2515 (make-backup-file-name, make-backup-file-name--default-function)
2516 (make-backup-file-name-1, find-backup-file-name)
2517 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2518 (buffer-stale--default-function, buffer-stale-function)
2519 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2520 (revert-buffer, revert-buffer--default)
2521 (revert-buffer-insert-file-contents--default-function):
2522 Doc fixes related to defaults no longer being nil.
2523 (make-backup-file-name-function): Bump :version.
2524 Restore nil as a valid but deprecated custom type.
2525
2526 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2529 used as a variable (bug#17174).
2530
2531 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * progmodes/perl-mode.el (perl-indent-new-calculate):
2534 Handle forward-sexp failure (bug#16985).
2535 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2536 modifiers introducing expressions (bug#17116).
2537
2538 2014-04-02 Glenn Morris <rgm@gnu.org>
2539
2540 * menu-bar.el (menu-bar-file-menu):
2541 * vc/ediff.el (ediff-current-file):
2542 Update for revert-buffer-function no longer being nil by default.
2543
2544 * simple.el (command-execute): Respect nil disabled-command-function.
2545
2546 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2547
2548 * simple.el (command-execute): Do not execute the command when it
2549 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2550
2551 2014-03-29 Juri Linkov <juri@jurta.org>
2552
2553 * dired-aux.el (dired-compress-file): Don't use string-match-p
2554 because its match data is used afterwards.
2555
2556 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2559 0 like nil.
2560
2561 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2562
2563 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2564 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2565
2566 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2567 Don't propertize `?' or `!' as symbol constituent when after
2568 colon. (Bug#17097)
2569
2570 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2571
2572 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2573 which is no longer needed and causes trouble in GTK builds (bug#17046).
2574
2575 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2576 Use url-insert-file-contents; package-handle-response no longer exists.
2577
2578 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2579
2580 * emacs-lisp/package.el: Fix bug#16733 (again).
2581 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2582 (url-http-target-url): Remove unused declarations.
2583 (package-handle-response): Remove.
2584 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2585 (package--download-one-archive): Use current-buffer instead of
2586 dynamic binding of `buffer'.
2587 (describe-package-1): Do not decode readme-string.
2588
2589 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2590
2591 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2592
2593 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2596
2597 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2598 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2599 `remote-file-name-inhibit-cache' to nil in the second pass.
2600 (tramp-find-executable): Do not call "which" on SunOS.
2601 (tramp-send-command-and-check): Fix docstring.
2602 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2603 check whether source directory has set the sticky bit.
2604
2605 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2606
2607 * simple.el (primitive-undo): Only process marker adjustments
2608 validated against their corresponding (TEXT . POS). Issue warning
2609 for lone marker adjustments in undo history. (Bug#16818)
2610 (undo-make-selective-list): Add marker adjustments to selective
2611 undo list based on whether their corresponding (TEXT . POS) is in
2612 the region. Remove variable adjusted-markers, which was unused
2613 and only non nil during undo-make-selective-list.
2614 (undo-elt-in-region): Return nil when passed a marker adjustment
2615 and explain in function doc.
2616
2617 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2618
2619 * emacs-lisp/package.el (package--add-to-archive-contents):
2620 Include already installed and built-in packages in
2621 `package-archive-contents'.
2622 (package-install): Don't include already installed packages in the
2623 options during interactive invocation. (Bug#16762)
2624
2625 2014-03-24 Daniel Colascione <dancol@dancol.org>
2626
2627 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2628 instead of cl-loop search function.
2629
2630 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2631
2632 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2633
2634 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2635
2636 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2637
2638 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2639
2640 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2641 Match special global variables without curlies, too.
2642 (ruby-font-lock-keywords): Simplify the matcher for special global
2643 variables. Don't require a non-word character after the variable.
2644 (Bug#17057)
2645
2646 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * simple.el (redisplay-highlight-region-function): Increase priority of
2649 overlay to make sure boundaries are visible (bug#15899).
2650
2651 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2652
2653 * frameset.el (frameset-restore): Compare display strings with equal.
2654
2655 * frame.el (make-frame): Don't quote display name in error message,
2656 it is already a string.
2657
2658 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2659
2660 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2661 the password.
2662
2663 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2664
2665 * emacs-lisp/package.el (package-show-package-list): If the buffer
2666 is already displayed in another window, switch to that window.
2667
2668 2014-03-21 Daniel Colascione <dancol@dancol.org>
2669
2670 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2671 information in bug reports.
2672
2673 2014-03-23 Daniel Colascione <dancol@dancol.org>
2674
2675 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2676 list to look for keyword arguments instead of `memq', fixing
2677 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2678 Please make bootstrap.
2679
2680 2014-03-23 Richard Stallman <rms@gnu.org>
2681
2682 * battery.el (battery-linux-sysfs): Search for each field
2683 from the beginning of the buffer.
2684
2685 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2686
2687 * emacs-lisp/package.el (package-desc): Use the contents of the
2688 quoted form, not its cdr. (Bug#16873)
2689
2690 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2693 benefit of doc.c; change parameter profile to match the X function.
2694
2695 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2696
2697 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2698 and `tramp-copy-env'.
2699
2700 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2701 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2702
2703 2014-03-21 Glenn Morris <rgm@gnu.org>
2704
2705 * electric.el (electric-indent-post-self-insert-function): Add doc.
2706
2707 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * emacs-lisp/package.el (package-compute-transaction):
2710 Use `version-list-<=' to compare the requirement version against
2711 the version of package already to be installed. Update the error
2712 message. (Bug#16826)
2713
2714 * progmodes/ruby-mode.el (ruby-smie-rules):
2715 Add indentation rule for ` @ '. (Bug#17050)
2716
2717 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * align.el (align-regexp): Remove superfluous backslash.
2720
2721 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2722 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2723 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2724 Fix docstring typos.
2725 (ffap-next): Use C-u in docstring.
2726 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2727 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2728 Remove superfluous backslashes.
2729 (ffap-string-at-point): Reflow docstring.
2730
2731 * server.el (server-host): Reflow docstring.
2732 (server-unload-function): Fix docstring typo.
2733 (server-eval-at): Remove superfluous backslash.
2734
2735 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2736 (skeleton-insert): Doc fix.
2737 (skeleton-insert): Reflow docstring.
2738
2739 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2740 (tty-color-approximate, tty-color-by-index, tty-color-values)
2741 (tty-color-desc): Remove superfluous backslashes.
2742
2743 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * electric.el (electric-newline-and-maybe-indent): New command.
2746 Bind it globally to C-j.
2747 (electric-indent-mode): Don't mess with the global map any more.
2748 Don't drop the post-self-insert-hook is some buffer is still using it
2749 (bug#16770).
2750
2751 * bindings.el (global-map): Remove C-j binding.
2752
2753 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2754 the docstring of functions advised before dumping (bug#16993).
2755
2756 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2757
2758 * ps-print.el (ps-generate-postscript-with-faces):
2759 Explicitly deactivate the mark (bug#16866).
2760 * simple.el (deactivate-mark): Update region highlight.
2761
2762 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2763
2764 * emacs-lisp/package.el (describe-package-1):
2765 Decode commentary (bug#16733).
2766
2767 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2770 modification of the value argument of :set (bug#16755).
2771
2772 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * simple.el (newline-and-indent): Do autofill (bug#17031).
2775
2776 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2777
2778 * newcomment.el (comment-normalize-vars): Only add escaping check
2779 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2780 (comment-beginning): Use `narrow-to-region' instead of moving back
2781 one character.
2782 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2783 (comment-start-skip): Update the docstring.
2784
2785 2014-03-18 Richard Stallman <rms@gnu.org>
2786
2787 * dired.el (dired-display-file): Force use of other window.
2788
2789 2014-03-18 Daniel Colascione <dancol@dancol.org>
2790
2791 * startup.el (tty-handle-args): Remove debug message from 2007.
2792
2793 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2796 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2797 (advice--make-1, advice-add, advice-remove):
2798 Remove braindead :advice-pending hack.
2799
2800 2014-03-17 Glenn Morris <rgm@gnu.org>
2801
2802 * calendar/calendar.el (calendar-generate-month): Apply weekend
2803 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2804
2805 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2808 (tramp-call-process): Trace also DESTINATION.
2809
2810 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2811 Quote file names when they are local. Remove superfluous trace.
2812
2813 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2814
2815 * newcomment.el (comment-beginning): If `comment-start-skip'
2816 doesn't match, move back one char and try again. (Bug#16971)
2817
2818 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2819 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2820 Set `comment-start-skip' to a simpler value that doesn't try to
2821 check if the semicolon is escaped (this is handled by
2822 `syntax-ppss' now). (Bug#16971)
2823
2824 * progmodes/scheme.el (scheme-mode-variables): Same.
2825
2826 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2827
2828 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2829 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2830 current (Bug#16816, Bug#17007).
2831 (with-current-buffer-window): New macro doing the same as
2832 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2833 * help.el (help-print-return-message): Warn in doc-string to not
2834 use this in `with-help-window'.
2835 (describe-bindings-internal): Call `describe-buffer-bindings'
2836 from within help buffer. See Juanma's scenario in (Bug#16816).
2837 (with-help-window): Update doc-string.
2838 * dired.el (dired-mark-pop-up):
2839 * files.el (save-buffers-kill-emacs):
2840 * register.el (register-preview): Use `with-current-buffer-window'
2841 instead of `with-temp-buffer-window'.
2842
2843 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2844
2845 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2846 Implement inserting into current buffer, documented in their docstrings.
2847 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2848 (rst-section-tree-point, rst-forward-section, rst-indent)
2849 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2850 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2851 (rst-font-lock-handle-adornment-pre-match-form)
2852 (rst-repeat-last-character): Reflow docstrings.
2853 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2854 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2855 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2856 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2857 Fix docstring typos.
2858 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2859 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2860 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2861
2862 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2863
2864 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2865 for compatibility with other ports.
2866 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2867 from the -xrm command line argument, but in the Nextstep port its value
2868 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2869
2870 * progmodes/python.el (defconst, python-syntax-count-quotes)
2871 (python-indent-region, python-indent-shift-right)
2872 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2873 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2874 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2875 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2876 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2877 (python-shell-buffer-substring, python-shell-send-buffer)
2878 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2879 (python-completion-complete-at-point, python-fill-docstring-style)
2880 (python-eldoc-function, python-imenu-format-item-label)
2881 (python-imenu-format-parent-item-label)
2882 (python-imenu-format-parent-item-jump-label)
2883 (python-imenu--build-tree, python-imenu-create-index)
2884 (python-imenu-create-flat-index): Fix docstring typos.
2885 (python-indent-context, python-shell-prompt-regexp, run-python):
2886 Remove superfluous backslashes.
2887 (python-indent-line, python-nav-beginning-of-defun)
2888 (python-shell-get-buffer, python-shell-get-process)
2889 (python-info-current-defun, python-info-current-line-comment-p)
2890 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2891 (python-indent-post-self-insert-function, python-shell-send-file)
2892 (python-shell-completion-get-completions)
2893 (python-shell-completion-complete-or-indent)
2894 (python-eldoc--get-doc-at-point): Reflow docstrings.
2895
2896 2014-03-14 Glenn Morris <rgm@gnu.org>
2897
2898 * emacs-lisp/package.el (package-menu-mode-map):
2899 Replace use of obsolete function alias. Tweak menu item text.
2900
2901 * info.el (Info-finder-find-node):
2902 Ignore the `emacs' metapackage. (Bug#10813)
2903
2904 * finder.el (finder-list-matches): Include unversioned packages
2905 in the result of a keyword search.
2906
2907 * finder.el (finder--builtins-descriptions): New constant.
2908 (finder-compile-keywords): Use finder--builtins-descriptions.
2909
2910 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2911
2912 * simple.el (blink-matching-paren): Describe the new value,
2913 `jump', enabling the old behavior.
2914 (blink-matching-open): Use that value. (Bug#17008)
2915
2916 2014-03-14 Glenn Morris <rgm@gnu.org>
2917
2918 * finder.el (finder-no-scan-regexp): Add leim-list.
2919 (finder-compile-keywords):
2920 Don't skip files with same basename. (Bug#14010)
2921 * Makefile.in (setwins_finder): New, excluding leim.
2922 (finder-data): Use setwins_finder.
2923
2924 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2925 (help-function-arglist, help-make-usage): Move from here...
2926 * help.el (help-split-fundoc, help-add-fundoc-usage)
2927 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2928 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2929
2930 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2931
2932 * net/socks.el (socks, socks-override-functions)
2933 (socks-find-services-entry):
2934 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2935 (hif-find-ifdef-block):
2936 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2937
2938 * net/tls.el (tls-program): Reflow docstring.
2939
2940 * progmodes/pascal.el (pascal-mode-abbrev-table)
2941 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2942 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2943 (pascal-outline-mode): Fix docstring typos.
2944 (pascal-mode): Let define-derived-mode document mode hook.
2945 (pascal-uncomment-area): Reflow.
2946 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2947
2948 * progmodes/opascal.el (opascal-compound-block-indent)
2949 (opascal-case-label-indent): Fix docstring typos.
2950 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2951
2952 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2953
2954 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2955 Fontify multiple adjacent negation chars. (Bug#17004)
2956
2957 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2958
2959 * emacs-lisp/package.el (package--prepare-dependencies):
2960 Accept requirements without explicit version (bug#14941).
2961
2962 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * register.el (register-separator, copy-to-register): Doc fixes.
2965 (register-preview-default): Remove unnecessary call to concat.
2966
2967 * frameset.el (frameset-restore): When checking for a visible frame,
2968 use the action map instead of calling visible-frame-list.
2969
2970 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2971
2972 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2973
2974 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2975
2976 * window.el (fit-frame-to-buffer): Get maximum width from
2977 display's width instead of height.
2978
2979 2014-03-12 Glenn Morris <rgm@gnu.org>
2980
2981 * desktop.el (desktop-restore-frames)
2982 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2983 (desktop-restore-reuses-frames): Doc tweaks.
2984
2985 * electric.el (electric-indent-mode): Doc fix.
2986
2987 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2988
2989 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2990 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2991 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2992 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2993 (cvs-dired-use-hook): Fix docstring typos.
2994 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2995 Doc fixes.
2996
2997 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2998 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2999 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3000 (cvs-execute-single-dir): Fix docstring typos.
3001
3002 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3003 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3004
3005 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3006
3007 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3008 Fix docstring typos.
3009
3010 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3011
3012 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3013 called from jump-to-register after unloading the frameset package.
3014
3015 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3018 (bug#16975). Deactivate the mark before setting it to nil.
3019 (activate-mark): Do nothing if region is already active.
3020
3021 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * frameset.el (frameset--target-display): Remove definition; declare.
3024 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3025
3026 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3029 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3030 when the advice is pending.
3031 (advice-remove): Remove this marker when not needed any more.
3032
3033 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3034
3035 * frameset.el: Separate options for reusing frames and cleaning up.
3036 (frameset--reuse-list): Remove definition; declare.
3037 (frameset--action-map): Declare.
3038 (frameset--find-frame-if): Doc fix.
3039 (frameset--restore-frame): Cache frame action.
3040 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3041 how to clean up the frame list after restoring. Remove cleaning
3042 options from REUSE-FRAMES. Change all keyword values to symbols.
3043 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3044
3045 * desktop.el (desktop-restore-forces-onscreen)
3046 (desktop-restore-reuses-frames): Use non-keyword values.
3047 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3048
3049 2014-03-10 Glenn Morris <rgm@gnu.org>
3050
3051 * files.el (find-file): Doc fix: update info node name.
3052
3053 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3054 Doc fix: remove references to deleted info nodes.
3055
3056 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3057
3058 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3059 Do not add `nil' to the environment, when there's no remote `locale'.
3060 (tramp-find-inline-encoding): Check, that the remote host has
3061 installed perl, before sending scripts.
3062
3063 2014-03-10 Leo Liu <sdl.web@gmail.com>
3064
3065 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3066 Clear eldoc-last-message. (Bug#16920)
3067
3068 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3071 (bug#14430).
3072
3073 2014-03-09 Juri Linkov <juri@jurta.org>
3074
3075 * ansi-color.el (ansi-color-names-vector): Copy default colors
3076 from `xterm-standard-colors' that look well on the default white
3077 background (and also on the black background) to avoid illegible
3078 color combinations like yellow-on-white and white-on-white.
3079 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3080
3081 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3082
3083 * frameset.el (frameset-restore): When no frame is visible, do not
3084 generate a list of frames, just make visible the selected one.
3085
3086 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3087
3088 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3089 it only contains the repository root. (Bug#16897)
3090
3091 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3094 only when `remote-file-name-inhibit-cache' is nil.
3095 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3096
3097 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3098
3099 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3100 Fix doc-strings.
3101 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3102 fit-frame-to-buffer variable. Fix doc-string.
3103 (fit-window-to-buffer): Set ONLY argument in call of
3104 fit-frame-to-buffer. Fix doc-string.
3105
3106 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3109 (tramp-action-password): Clear password cache if needed.
3110 (tramp-read-passwd): Do not clear password cache.
3111
3112 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3113 cache unless it is the first password request.
3114
3115 2014-03-06 Glenn Morris <rgm@gnu.org>
3116
3117 * simple.el (newline): Doc tweak.
3118
3119 * emacs-lisp/shadow.el (load-path-shadows-find):
3120 Ignore dir-locals. (Bug#12357)
3121
3122 2014-03-05 Glenn Morris <rgm@gnu.org>
3123
3124 * files.el (interpreter-mode-alist):
3125 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3126
3127 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * frameset.el (frameset--initial-params): Filter out null entries.
3130
3131 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3132
3133 * window.el (window-min-height, window-min-width):
3134 Rewrite doc-strings.
3135 (window-body-size): Add PIXELWISE argument to make it consistent
3136 with its callees.
3137
3138 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3139
3140 * finder.el (finder-mode-map, finder-mode-syntax-table):
3141 Revert part of 2014-02-28 change.
3142
3143 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3144
3145 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3146 (eww-setup-buffer): Clear next/prev/etc more reliably.
3147 (eww-textarea-map): [tab] doesn't work on tty.
3148 Reported by Mario Lang.
3149
3150 * net/shr.el (shr-map): Ditto.
3151
3152 2014-03-04 Glenn Morris <rgm@gnu.org>
3153
3154 * minibuffer.el (completion-hilit-commonality):
3155 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3156
3157 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * hilit-chg.el (hilit-chg-unload-function): New function.
3160 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3161 (hilit-chg-map-changes): Prefer cardinal number to digit.
3162 (hilit-chg-display-changes): Reflow docstring.
3163 (highlight-changes-rotate-faces): Remove superfluous backslash.
3164
3165 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3168 `tramp-send-command-and-check'.
3169
3170 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3171
3172 * hexl.el (hexl-address-region, hexl-ascii-region)
3173 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3174 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3175 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3176 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3177 (hexl-mode): Doc fix.
3178 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3179 (hexl-mode-ruler): Fix typos in docstrings.
3180
3181 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3182 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3183 Remove superfluous backslashes.
3184 (strokes-last-stroke, strokes-global-map, strokes-mode):
3185 Reflow docstrings.
3186 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3187 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3188 (strokes-distance-squared, strokes-global-set-stroke)
3189 (strokes-global-set-stroke-string): Doc fixes.
3190 (strokes-help): Fix typos; reflow docstring.
3191
3192 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3193
3194 * window.el (window-in-direction): Fix doc-string.
3195
3196 2014-03-04 Glenn Morris <rgm@gnu.org>
3197
3198 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3199 Explicit error if no grammar.
3200 (smie-config-save): Doc fix. Fix quote typo.
3201
3202 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3205 electric-indent-mode-hook if we obey electric-indent-mode.
3206 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3207 decide whether we obey electric-indent-mode.
3208 (c-change-set-fl-decl-start, c-extend-after-change-region):
3209 Silence warnings.
3210 (c-electric-indent-mode-hook): Assume we do want to obey
3211 electric-indent-mode.
3212
3213 * electric.el (electric-indent-mode-has-been-called): Remove.
3214 (electric-indent-mode): Fix accordingly.
3215
3216 * files.el (hack-local-variables): Mention file name in warning.
3217
3218 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3219
3220 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3221
3222 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3223 * simple.el (delete-forward-char): Mark as interactive-only.
3224
3225 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * icomplete.el (icomplete-completions):
3228 Follow-up to 2014-03-01 change.
3229
3230 * icomplete.el: Miscellaneous doc fixes.
3231 Use Icomplete everywhere instead of icomplete for consistency.
3232 (icomplete-max-delay-chars): Fix typo.
3233 (icomplete-mode): Use \[].
3234 (icomplete-tidy, icomplete-exhibit): Reflow.
3235 (icomplete-minibuffer-setup-hook, icomplete-completions):
3236 Remove superfluous backlashes.
3237
3238 * ido.el: Miscellaneous doc fixes.
3239 Use Ido everywhere instead of ido or `ido' for consistency.
3240 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3241 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3242 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3243 (ido-separator): Extract obsolescence info from docstring and declare
3244 with make-obsolete-variable.
3245 (ido-minibuffer-setup-hook): Simplify example.
3246 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3247 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3248 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3249 (ido-everywhere): Reflow docstring.
3250 (ido-toggle-vc): Doc fix.
3251 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3252 of long list of keybindings.
3253
3254 2014-03-03 Glenn Morris <rgm@gnu.org>
3255
3256 * frame.el (display-pixel-height, display-pixel-width)
3257 (display-mm-dimensions-alist, display-mm-height)
3258 (display-mm-width): Doc tweaks.
3259
3260 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3261
3262 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3263 case of undo in region.
3264
3265 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3266
3267 * window.el (fit-window-to-buffer): Fix argument in window-size
3268 call when window is horizontally combined.
3269
3270 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3271
3272 * icomplete.el (icomplete-completions): Use string-width.
3273 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3274
3275 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3276
3277 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3278 Highlight regexp options. (Bug#16914)
3279
3280 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3281
3282 * window.el (window--max-delta-1): Round down when calculating
3283 how many lines/columns we can get from a window.
3284
3285 2014-03-01 Glenn Morris <rgm@gnu.org>
3286
3287 * isearch.el (search-invisible): Doc fix.
3288
3289 * minibuffer.el (completion-hilit-commonality):
3290 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3291 * comint.el (comint-dynamic-list-completions): Doc fix.
3292 * comint.el (comint-dynamic-list-completions):
3293 * filecache.el (file-cache-minibuffer-complete):
3294 * tempo.el (tempo-display-completions):
3295 * eshell/em-hist.el (eshell-list-history):
3296 Replace use of obsolete argument of display-completion-list.
3297
3298 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3299
3300 * icomplete.el (icomplete-completions):
3301 Revert back to using "..." when ?… cannot be displayed.
3302
3303 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3304
3305 * finder.el (finder-unload-function): New function.
3306
3307 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3308
3309 * dframe.el (dframe-detach):
3310 * find-dired.el (find-dired, find-name-dired):
3311 * finder.el (finder-mode-map, finder-mode-syntax-table)
3312 (finder-headmark, finder-select, finder-mouse-select):
3313 Fix docstring typos.
3314
3315 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3316
3317 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3318 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3319 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3320 Fix doc-string based on a suggestion by Nicolas Richard
3321 <theonewiththeevillook@yahoo.fr>.
3322 * help.el (with-help-window): Fix doc-string.
3323
3324 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3325
3326 * net/shr.el (shr-image-animate): New option.
3327 (shr-put-image): Respect shr-image-animate.
3328
3329 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp-adb.el (tramp-adb-parse-device-names):
3332 Use `accept-process-output'.
3333 (tramp-adb-handle-file-truename): Cache the localname only.
3334 (tramp-adb-handle-make-directory)
3335 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3336 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3337 modes cannot be changed.
3338
3339 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3340 file properties of symlinks.
3341
3342 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3343
3344 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3345 required/optional fields to match development biblatex. (Bug#16781)
3346
3347 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3348
3349 * saveplace.el (toggle-save-place):
3350 Fix argument handling. (Bug#16673)
3351
3352 2014-02-28 Glenn Morris <rgm@gnu.org>
3353
3354 * minibuffer.el (completions-first-difference)
3355 (completions-common-part, completion-hilit-commonality): Doc fixes.
3356
3357 2014-02-28 Karl Berry <karl@gnu.org>
3358
3359 * info.el (Info-mode-map): Add H for describe-mode,
3360 to synchronize with standalone Info.
3361
3362 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3363
3364 * progmodes/sql.el (sql-interactive-mode):
3365 Avoid setting global comint-input-ring-separator. (Bug#16814)
3366
3367 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/dbus.el (dbus--init-bus): Declare function.
3370 (dbus-path-local, dbus-interface-local): New defconst.
3371 (dbus-init-bus): Use them.
3372 (dbus-return-values-table): Extend doc.
3373 (dbus-handle-bus-disconnect): Extend error message.
3374
3375 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * subr.el (y-or-n-p): Fix double space issue in message.
3378
3379 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * net/tramp.el (tramp-call-process): Improve trace message.
3382 (tramp-handle-insert-file-contents): Trace error case.
3383
3384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3385 <insert-directory>: Use `tramp-handle-insert-directory'.
3386 (tramp-adb-handle-insert-directory): Remove function.
3387 (tramp-adb-send-command-and-check): New defun, replacing
3388 `tramp-adb-command-exit-status'. Change all callees.
3389 (tramp-adb-handle-file-attributes)
3390 (tramp-adb-handle-directory-files-and-attributes): Use it.
3391 (tramp-adb-ls-output-name-less-p):
3392 Use `directory-listing-before-filename-regexp'.
3393 (tramp-adb-handle-delete-directory): Flush also file properties of
3394 the truename of directory.
3395 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3396 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3397 (tramp-adb-handle-write-region): Implement APPEND.
3398 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3399 properties correctly.
3400 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3401 variables. Check for connected devices only when needed.
3402
3403 2014-02-27 Glenn Morris <rgm@gnu.org>
3404
3405 * minibuffer.el (completion-table-dynamic)
3406 (completion-table-with-cache): Doc fixes.
3407
3408 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3409 (completing-read-multiple): Doc fixes.
3410
3411 2014-02-27 Daniel Colascione <dancol@dancol.org>
3412
3413 * minibuffer.el (completion--nth-completion): Fix indentation.
3414
3415 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3416 explicit tramp path is empty.
3417
3418 2014-02-27 Glenn Morris <rgm@gnu.org>
3419
3420 * emacs-lisp/crm.el (completing-read-multiple):
3421 Empower help-enable-auto-load.
3422
3423 2014-02-26 Glenn Morris <rgm@gnu.org>
3424
3425 * startup.el (command-line): Don't init the tty in daemon mode.
3426
3427 Avoid calling tty-setup-hook twice, eg if a term file
3428 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3429 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3430 (tty-create-frame-with-faces): Use it.
3431 * startup.el (command-line): Pass run-hook argument
3432 to tty-run-terminal-initialization.
3433
3434 * dired.el (dired-restore-desktop-buffer): Demote errors;
3435 eg in case a glob match fails. (Bug#16884)
3436
3437 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3440 error from `read-from-string'. (Bug#16850)
3441
3442 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3443 result of `completing-read' in the interactive form. (Bug#16854)
3444
3445 2014-02-25 Glenn Morris <rgm@gnu.org>
3446
3447 * image.el (image-animate, image-animate-timeout):
3448 Stop animating images in dead buffers. (Bug#16878)
3449
3450 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3451
3452 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3453 Doc fixes.
3454 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3455 * term/sun.el (sun-raw-prefix-hooks):
3456 Use tty-setup-hook instead of term-setup-hook.
3457 (terminal-init-sun): Construct message from bytecomp plist.
3458 * term/wyse50.el (enable-arrow-keys): Doc fix.
3459
3460 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3463 Fix docstring typos.
3464
3465 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3468
3469 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3470
3471 * minibuffer.el (completion--try-word-completion):
3472 Fix error when completing M-x commands (bug#16808).
3473
3474 2014-02-24 Leo Liu <sdl.web@gmail.com>
3475
3476 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3477
3478 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3479
3480 * apropos.el (apropos-print): Avoid formatting error when
3481 apropos-do-all and apropos-compact-layout are both t.
3482
3483 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * apropos.el (apropos-property, apropos-all-words-regexp)
3486 (apropos-true-hit, apropos-variable, apropos-print):
3487 Fix docstring typos, and remove obsolete comment.
3488
3489 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3492 Preserve trailing "/". (Bug#16851)
3493
3494 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3495
3496 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3497 after `=>' (bug#16811).
3498 (ruby-smie-rules): Handle the inconsistent second element of the
3499 list returned by `smie-indent--parent'.
3500 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3501 method call.
3502
3503 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * elec-pair.el (electric-pair-text-syntax-table)
3506 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3507 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3508 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3509 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3510
3511 2014-02-22 Glenn Morris <rgm@gnu.org>
3512
3513 * imenu.el (imenu--generic-function): Doc fix.
3514
3515 * register.el (frame-configuration-to-register): Make obsolete.
3516
3517 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * desktop.el (desktop-save-buffer-p): Do not fail when
3520 desktop-files-not-to-save is nil. Return t for true result
3521 as the doc says.
3522
3523 2014-02-22 Daniel Colascione <dancol@dancol.org>
3524
3525 * net/secrets.el (secrets-create-item, secrets-search-items):
3526 Check that attribute values are strings, avoiding the construction
3527 of invalid dbus messages.
3528
3529 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3532 defun-declarations-alist.
3533
3534 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3537 (bug#16829).
3538
3539 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3542 (whitespace-newline, whitespace-trailing, whitespace-line)
3543 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3544 (whitespace-space-after-tab): Fix typo in docstrings.
3545
3546 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3547
3548 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3549
3550 * electric.el (electric-indent-functions-without-reindent):
3551 Add `yaml-indent-line'.
3552
3553 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3556 It has done nothing for years; should be removed after the release.
3557
3558 * simple.el (choose-completion): Fix docstring typo.
3559 (read-quoted-char-radix): Remove unneeded * in docstring.
3560 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3561 Don't escape parentheses unnecessarily in docstrings.
3562
3563 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3564
3565 Fix handling of window-min-height/-width (Bug#16738).
3566 * window.el (window--dump-window, window--dump-frame):
3567 New functions.
3568 (window--min-size-1): Account for window dividers.
3569 When window-resize-pixelwise is nil, delay rounding till after the
3570 sum of the window components has been calculated.
3571 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3572 nil make sure at least one text line and two text columns remain
3573 fully visible.
3574 (window-resize): Signal an error when window-resize-apply fails.
3575 (window--resize-child-windows): Fix calculation of by how many
3576 pixels a window can still be shrunk via window-new-normal.
3577 (adjust-window-trailing-edge): Call window--resizable with
3578 correct TRAIL argument.
3579
3580 (with-temp-buffer-window): Don't evaluate BODY within
3581 with-current-buffer (Bug#16816).
3582
3583 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3584
3585 * net/tramp.el (tramp-check-cached-permissions):
3586 Call `file-attributes' with `suffix' being a symbol but a string.
3587
3588 2014-02-21 Daniel Colascione <dancol@dancol.org>
3589
3590 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3591 (dbus-init-bus): New function: call into dbus-init-bus-1
3592 and installs a handler for the disconnect signal.
3593 (dbus-call-method): Rewrite to look for result in cons.
3594 (dbus-call-method-handler): Store result in cons.
3595 (dbus-check-event): Recognize events with nil sender as valid.
3596 (dbus-handle-bus-disconnect): New function. React to bus
3597 disconnection signal by synthesizing dbus error for each
3598 pending synchronous or asynchronous call.
3599 (dbus-notice-synchronous-call-errors): New function.
3600 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3601 is true, not all the time.
3602
3603 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3604
3605 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3606 Remove obsolescence declarations, these variables do not exist anymore.
3607
3608 * savehist.el (savehist-save-minibuffer-history)
3609 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3610 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3611 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3612 mostly, refer to "Savehist mode" when talking about the mode,
3613 and not the function.
3614
3615 * saveplace.el (save-place): Remove redundant info in docstring.
3616 (save-place-forget-unreadable-files, toggle-save-place)
3617 (save-place-forget-unreadable-files, save-place-dired-hook):
3618 Fix typos and remove unneeded backslashes.
3619
3620 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3621
3622 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3623 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3624
3625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3626 <insert-directory>: Use `tramp-handle-insert-directory'.
3627 (tramp-gvfs-handle-insert-directory): Remove function.
3628
3629 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3630 Call `tramp-handle-insert-directory'.
3631
3632 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3635 before the start of buffer/region (bug#16799).
3636
3637 2014-02-20 Glenn Morris <rgm@gnu.org>
3638
3639 * isearch.el (search-invisible): Doc fix.
3640
3641 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3642
3643 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3644 (bug#16657).
3645
3646 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3647
3648 * frameset.el (frameset-restore): Delay removing an old frame's
3649 duplicate id until the new frame has been correctly created.
3650
3651 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3652
3653 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3654 (tramp-check-cached-permissions): Call `file-attributes' if the
3655 cache is empty.
3656
3657 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3658 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3659
3660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3661 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3662 (tramp-gvfs-maybe-open-connection): Set always connection
3663 properties, even if target is mounted already.
3664
3665 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3666 Set tramp-autoload cookie.
3667 (tramp-get-remote-touch): New defun.
3668 (tramp-sh-handle-set-file-times): Use it.
3669 (tramp-sh-handle-directory-files-and-attributes):
3670 Use `tramp-handle-directory-files-and-attributes' if neither stat
3671 nor perl are available on the remote host.
3672
3673 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3674 "/". Write long listing only when "l" belongs to the switches.
3675
3676 * net/trampver.el: Update release number.
3677
3678 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3681
3682 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3683
3684 * window.el (window-state-put): Allow WINDOW to refer to an
3685 internal window (Bug#16793).
3686
3687 2014-02-19 Glenn Morris <rgm@gnu.org>
3688
3689 * textmodes/remember.el: Move provide statement to end.
3690 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3691 (remember-notes): Doc fixes.
3692
3693 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * delsel.el (delete-char): Restore incorrectly erased property
3696 (bug#16795).
3697
3698 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3699
3700 * frameset.el (frameset--restore-frame): When a frame is being reused
3701 and its root window is not alive, delete all the frame's windows before
3702 restoring the window state. This works around the issue in bug#16793.
3703
3704 2014-02-18 Glenn Morris <rgm@gnu.org>
3705
3706 * textmodes/remember.el (remember-data-directory)
3707 (remember-directory-file-name-format, remember-store-in-files)
3708 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3709 (remember-notes-save-and-bury-buffer)
3710 (remember-notes--kill-buffer-query): Doc fixes.
3711
3712 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3713
3714 2014-02-17 Alan Mackenzie <acm@muc.de>
3715
3716 Connect electric-indent-mode up with CC Mode. Bug #15478.
3717 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3718 to electric-indent-{,local-}-mode.
3719 (c-basic-common-init): Set electric-indent-inhibit.
3720 Initialise c-electric-flag from electric-indent-mode.
3721 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3722 New hook functions which propagate electric-indent-mode to CC mode.
3723
3724 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3725 hit, toggle electric-indent-local-mode.
3726
3727 * electric.el (electric-indent-mode-has-been-called):
3728 New variable.
3729
3730 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * frameset.el (frameset-cfg-id): New function.
3733 (frameset--reuse-frame, frameset-restore): Use it.
3734 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3735
3736 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * ido.el (ido-file-internal): Remove unused var `d'.
3739 Use \` for to match BoS. Fit within 80n columns.
3740
3741 2014-02-17 Daniel Colascione <dancol@dancol.org>
3742
3743 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3744 dbus-call-method check for completion using a busy-wait loop with
3745 gradual backoff.
3746
3747 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3748
3749 Sync with Tramp 2.2.9.
3750
3751 * net/trampver.el: Update release number.
3752
3753 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3754
3755 * ido.el (ido-file-internal): Don't add the name of an existing
3756 directory twice. (Bug#16747)
3757
3758 2014-02-16 Glenn Morris <rgm@gnu.org>
3759
3760 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3761 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3762
3763 2014-02-15 Michael R. Mauger <michael@mauger.com>
3764
3765 * progmodes/sql.el: Version 3.4
3766 (sql-oracle-options): New default value ("-L").
3767 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3768 (sql-placeholders-filter): Correct placeholder pattern.
3769 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3770 (sql-login-delay): New variable.
3771 (sql-product-interactive): Use it.
3772
3773 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3774
3775 * frameset.el (frameset--jump-to-register): Check that buffer is live
3776 (bug#16749).
3777
3778 2014-02-15 Glenn Morris <rgm@gnu.org>
3779
3780 * info.el (info-initialize): Revert 2014-01-10 change.
3781
3782 2014-02-14 Glenn Morris <rgm@gnu.org>
3783
3784 * replace.el (map-query-replace-regexp)
3785 (read-regexp-defaults-function, read-regexp): Doc fixes.
3786
3787 * dired.el (dired-read-regexp):
3788 * faces.el (list-faces-display):
3789 * misearch.el (multi-isearch-read-matching-buffers)
3790 (multi-isearch-read-matching-files):
3791 * play/cookie1.el (cookie-apropos):
3792 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3793
3794 * textmodes/remember.el (remember): Use frameset-to-register
3795 rather than frame-configuration-to-register.
3796
3797 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3798
3799 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3800 incorrect keybinding.
3801
3802 2014-02-13 Daniel Colascione <dancol@dancol.org>
3803
3804 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3805 when adding overlays so that line numbers from compiler match line
3806 numbers we use.
3807
3808 2014-02-13 Glenn Morris <rgm@gnu.org>
3809
3810 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3811
3812 * jit-lock.el (jit-lock-mode): Doc fix.
3813
3814 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3815
3816 * apropos.el (apropos-read-pattern): When the user passes an empty
3817 string, give a more helpful error message than "Wrong type
3818 argument: stringp, nil".
3819
3820 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3823
3824 2014-02-13 Glenn Morris <rgm@gnu.org>
3825
3826 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3827
3828 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3831 shift-select commands.
3832
3833 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3834
3835 * progmodes/js.el (js-indent-line): Don't widen.
3836 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3837
3838 2014-02-12 Glenn Morris <rgm@gnu.org>
3839
3840 * icomplete.el (icomplete): Add info-link to defgroup.
3841 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3842 (icomplete-minibuffer-map, icomplete-mode)
3843 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3844
3845 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3846 (package-menu-filter): Rename from package-menu-filter-interactive.
3847 Doc fix.
3848
3849 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3850
3851 * frameset.el (frameset--jump-to-register): Select the required
3852 window and buffer before restoring position (bug#16696).
3853
3854 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3855
3856 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3857
3858 2014-02-10 Glenn Morris <rgm@gnu.org>
3859
3860 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3861
3862 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3863
3864 * w32-common-fns.el (x-get-selection): Doc fix.
3865 * select.el (x-get-selection): Doc fix. (Bug#15109)
3866
3867 * face-remap.el (face-remap-add-relative)
3868 (face-remap-remove-relative, face-remap-reset-base)
3869 (face-remap-set-base): Call force-mode-line-update to redisplay
3870 the current buffer due to potential change in faces. (Bug#16709)
3871
3872 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3873
3874 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3875 script more robustly.
3876
3877 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3878
3879 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3880
3881 * simple.el (choose-completion): Doc fix (bug#14160).
3882
3883 * subr.el (event-start): Say what a nil EVENT value means.
3884
3885 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3886 (bug#14197).
3887
3888 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3889
3890 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3891
3892 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3893
3894 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3895 predicate function (bug#15455).
3896
3897 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3898
3899 * ielm.el (inferior-emacs-lisp-mode): Instead of
3900 `comment-use-global-state', set `comment-use-syntax'.
3901
3902 2014-02-10 Glenn Morris <rgm@gnu.org>
3903
3904 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3905
3906 2014-02-09 Alan Mackenzie <acm@muc.de>
3907
3908 Fix c-invalidate-state-cache on narrowed buffers.
3909 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3910 Widen when setting and clearing the CPP delimiter properties.
3911
3912 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3913
3914 * help.el (describe-bindings): Doc fix (bug#9888).
3915
3916 * files.el (save-buffer): Use ARG as the parameter name for
3917 consistency (bug#10346).
3918 (save-buffer): Clarify the 0 argument (bug#10346).
3919
3920 * cus-edit.el (customize-apropos): Fix error string.
3921 (custom-buffer-create): Doc fix (bug#11122).
3922 (custom-sort-items): Doc fix (bug#11121).
3923
3924 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3925
3926 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3927 (icomplete-simple-completing-p): Mention the previous variable.
3928
3929 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3930 meaning of the parameter (bug#12282).
3931
3932 * files.el (find-file-noselect): Clarify prompt when changing
3933 readedness (bug#13261).
3934 (locate-file): Suffixes aren't returned, so don't say that they
3935 are (bug#12674).
3936 (backup-inhibited): Doc clarification (bug#12525).
3937
3938 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3939 before we actually start to delete things (bug#16331).
3940
3941 * subr.el (event-start): Doc fix (bug#14228).
3942 (event-end): Ditto.
3943
3944 2014-02-09 Glenn Morris <rgm@gnu.org>
3945
3946 * emacs-lisp/warnings.el (lwarn):
3947 Empower help-enable-auto-load. (Bug#15940)
3948
3949 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3950
3951 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3952 (Bug#16690)
3953
3954 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3957 Insert output at end of buffer. (Bug#16120)
3958
3959 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3960
3961 * simple.el (choose-completion-string-functions): Document new
3962 calling convention (bug#14153).
3963 (execute-extended-command): Clarify doc string (bug#13373).
3964
3965 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3966
3967 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3968 (find-grep-dired): Doc fix (bug#14288).
3969
3970 2014-02-08 Juri Linkov <juri@jurta.org>
3971
3972 * isearch.el (isearch-quote-char): Check character validity
3973 like in `quoted-insert' (bug#16677).
3974
3975 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3976
3977 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3978
3979 * isearch.el (isearch-hide-immediately): Doc clarification
3980 (bug#14723).
3981
3982 * simple.el (line-move): Document utility function used many
3983 places in the Emacs sources (bug#14843).
3984
3985 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3986 (dired-prev-marked-file): Doc fix (bug#14855).
3987 (dired-up-directory): Doc fix (bug#14848).
3988
3989 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3990
3991 * files.el (file-relative-name): Doc fix (bug#15159).
3992
3993 * fringe.el (fringe-styles): Doc fix (bug#15239).
3994
3995 * isearch.el (isearch-filter-predicate): Documentation typo fix
3996 (bug#15474).
3997
3998 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3999
4000 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4001
4002 * replace.el (replace-match-maybe-edit): Doc clarification
4003 (bug#15632).
4004
4005 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4006
4007 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4008
4009 2014-02-08 Glenn Morris <rgm@gnu.org>
4010
4011 * help-fns.el (describe-variable):
4012 Check {file,dir}-local-variables-alist, and buffer-file-name,
4013 in the correct buffer.
4014
4015 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4016
4017 * help-fns.el (describe-variable): Fix the case where
4018 a value is directory-local with no dir-locals file. (Bug#16635)
4019
4020 2014-02-08 Glenn Morris <rgm@gnu.org>
4021
4022 * abbrev.el (edit-abbrevs-mode):
4023 Derive from fundamental-mode. (Bug#16682)
4024
4025 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4026
4027 * simple.el (quoted-insert): Check character validity (bug#16677).
4028
4029 2014-02-07 Juri Linkov <juri@jurta.org>
4030
4031 * desktop.el (desktop-read): Claim the lock when the owner is not
4032 the current process. (Bug#16157)
4033
4034 2014-02-07 Juri Linkov <juri@jurta.org>
4035
4036 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4037 to "\\` ". (Bug#16651)
4038
4039 2014-02-07 Juri Linkov <juri@jurta.org>
4040
4041 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4042 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4043 (desktop-auto-save-cancel-timer): New function with some code from
4044 `desktop-auto-save-set-timer'.
4045 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4046 Instead of setting `desktop-save-mode' to nil, call
4047 `desktop-save-mode' with arg 0. (Bug#16630)
4048
4049 2014-02-07 Glenn Morris <rgm@gnu.org>
4050
4051 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4052 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4053 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4054
4055 * obsolete/iswitchb.el: Move to obsolete/.
4056 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4057 since obsolete/ is not scanned for autoloads.
4058 * emacs-lisp/authors.el (authors-valid-file-names):
4059 Add iswitchb.el.
4060
4061 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4062 Disable now non-functional find-file-hook.
4063
4064 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4065
4066 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4067 instead of ";" in order to avoid additional prompts. Let heredoc
4068 scripts read from tty. (Bug#16582)
4069 (tramp-send-command): No special handling of heredocs, it isn't
4070 necessary anymore.
4071
4072 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4075 with a space (bug#16664). Limit the symbols considered to the ones
4076 that are bound or fbound (bug#16646).
4077
4078 2014-02-06 Glenn Morris <rgm@gnu.org>
4079
4080 * epa.el (epa-mail-aliases): Doc fix.
4081
4082 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4083
4084 * emacs-lisp/lisp.el (lisp-completion-at-point):
4085 Use `completion-table-merge' instead of `completion-table-in-turn'
4086 (bug#16604).
4087
4088 * minibuffer.el (completion-table-merge): New function.
4089
4090 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4093 (tramp-sh-handle-set-file-acl)
4094 (tramp-sh-handle-start-file-process)
4095 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4096 (tramp-find-executable, tramp-send-command): Use it.
4097
4098 2014-02-05 Glenn Morris <rgm@gnu.org>
4099
4100 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4101
4102 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4103
4104 * progmodes/python.el (python-shell-send-string)
4105 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4106
4107 2014-02-04 Anders Lindgren <andlind@gmail.com>
4108
4109 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4110 the names (bug#16620).
4111
4112 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4113
4114 * faces.el (window-divider): New default value. Rewrite doc-string.
4115 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4116
4117 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4118
4119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4120 `protected' and `public' can also be called without arguments.
4121
4122 2014-02-03 Glenn Morris <rgm@gnu.org>
4123
4124 * register.el (window-configuration-to-register)
4125 (frame-configuration-to-register): Unadvertise unused argument.
4126 * frameset.el (frameset-to-register): Remove unused argument.
4127
4128 * frameset.el (frameset-to-register):
4129 * kmacro.el (kmacro-to-register):
4130 * register.el (increment-register):
4131 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4132 (calc-append-to-register, calc-prepend-to-register):
4133 * play/gametree.el (gametree-layout-to-register)
4134 (gametree-apply-register-layout):
4135 * textmodes/picture.el (picture-clear-rectangle-to-register)
4136 (picture-yank-rectangle-from-register):
4137 * vc/emerge.el (emerge-combine-versions-register):
4138 Use register-read-with-preview to read registers.
4139
4140 2014-02-03 João Távora <joaotavora@gmail.com>
4141
4142 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4143 when at beginning of (possibly narrowed) buffer.
4144
4145 2014-02-02 Daniel Colascione <dancol@dancol.org>
4146
4147 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4148 Also try to display local help from just before point.
4149
4150 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4151
4152 c-parse-state. Don't "append-lower-brace-pair" in certain
4153 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4154 recognised as a comment.
4155
4156 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4157 as well as normal comment starter.
4158 (c-parse-state-get-strategy): Extra return possibility
4159 'back-and-forward.
4160 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4161 return value list to indicate replacement of a brace-pair cons
4162 with its car.
4163 (c-parse-state-1): With 'back-and-forward, only call
4164 c-append-lower-brace-pair-to state-cache when cons-separated.
4165
4166 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4167
4168 * term/ns-win.el (ns-suspend-error): New function.
4169 (ns-initialize-window-system): Add ns-suspend-error to
4170 suspend-hook (Bug#16612).
4171
4172 2014-02-02 Daniel Colascione <dancol@dancol.org>
4173
4174 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4175 Make loading cc-mode silent.
4176
4177 2014-02-02 Daniel Colascione <dancol@dancol.org>
4178
4179 * comint.el (comint-prompt-read-only): Change doc to suggest
4180 remap keybinding.
4181
4182 2014-02-02 Glenn Morris <rgm@gnu.org>
4183
4184 * register.el (register-read-with-preview, point-to-register)
4185 (window-configuration-to-register, frame-configuration-to-register)
4186 (jump-to-register, number-to-register, view-register, insert-register)
4187 (copy-to-register, append-to-register, prepend-to-register)
4188 (copy-rectangle-to-register): Doc fixes.
4189
4190 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4193 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4194 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4195 * help-fns.el (describe-function-1): Use it.
4196
4197 2014-02-02 Glenn Morris <rgm@gnu.org>
4198
4199 * register.el (register-preview-default): New function,
4200 split from register-preview.
4201 (register-preview-function): Rename from register-preview-functions,
4202 make it not a hook.
4203 (register-preview): Use register-preview-function.
4204 (register-read-with-preview): Error on non-character event. (Bug#16595)
4205
4206 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4207
4208 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4209 `:' before binary operators (bug#16609). Don't check for `:'
4210 before `[' and `(', or their syntax status. A percent literal
4211 can't end with either.
4212 (ruby-font-lock-keywords): For built-ins that require arguments,
4213 check that they're followed by something that looks like argument
4214 (bug#16610).
4215
4216 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4217
4218 * subr.el (butlast): Document what an omitted N means (bug#13437).
4219 (nbutlast): Ditto.
4220
4221 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4222
4223 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4224 depth shallower (bug#16587).
4225 (shr-tag-svg): Respect `shr-inhibit-images'.
4226 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4227
4228 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4229
4230 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4231 (ruby-smie-grammar): Make "." right-associative. Make its priority
4232 lower than the ternary and all binary operators.
4233 (ruby-smie-rules): Indent "(" relative to the first non-"."
4234 parent, or the first "." parent at indentation.
4235 Use `ruby-align-chained-calls' for indentation of "." tokens.
4236 (Bug#16593)
4237
4238 2014-01-31 Juri Linkov <juri@jurta.org>
4239
4240 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4241 from `make-hash-table'.
4242
4243 * textmodes/ispell.el (ispell-init-process): Change message format
4244 to be consistent with other messages.
4245
4246 2014-01-31 Glenn Morris <rgm@gnu.org>
4247
4248 * delsel.el (delete-selection-mode): Doc fix.
4249
4250 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4251 (trace-function-background): Doc fixes.
4252
4253 * ido.el (ido-use-virtual-buffers): Doc fix.
4254 Reset :version, since the default value has not changed.
4255
4256 * register.el (register-preview-delay, register-read-with-preview):
4257 Doc fixes.
4258
4259 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4260 do not mess with mail-buffer position (fixes 2009-11-03 change).
4261 * progmodes/cc-mode.el (c-submit-bug-report):
4262 Check auto-fill-mode is bound. (Bug#16592)
4263
4264 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4265
4266 * startup.el (fancy-splash-image-file): New function,
4267 split from fancy-splash-head.
4268 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4269 so that we are both using the same image. (Bug#16574)
4270
4271 2014-01-30 Glenn Morris <rgm@gnu.org>
4272
4273 * simple.el (eval-expression): Doc fix.
4274
4275 * hexl.el (hexl-mode-hook):
4276 * ielm.el (ielm-mode-hook):
4277 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4278 (lisp-interaction-mode-hook):
4279 * progmodes/cfengine.el (cfengine3-documentation-function):
4280 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4281
4282 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4285 is a symbol (bug#16584).
4286
4287 2014-01-30 Glenn Morris <rgm@gnu.org>
4288
4289 * help.el (help-for-help-internal): Add "P" to text.
4290
4291 2014-01-29 Glenn Morris <rgm@gnu.org>
4292
4293 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4294
4295 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4296
4297 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4298 height constraints.
4299
4300 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4301
4302 * progmodes/hideif.el: Extend to full CPP expression syntax.
4303 (hif-token-alist): Add missing tokens.
4304 (hif-token-regexp): Add support for float/octal/hex immediates.
4305 (hif-string-literal-regexp): New const.
4306 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4307 (hif-exprlist): New function.
4308 (hif-parse-if-exp): Use it.
4309 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4310 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4311 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4312 (hif-logxor, hif-comma): New functions.
4313
4314 2014-01-28 Glenn Morris <rgm@gnu.org>
4315
4316 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4317
4318 * indent.el (tab-stop-list): Doc fix. Add :version.
4319
4320 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4321 (cvs-append-to-ignore): Add compatibility alias.
4322
4323 2014-01-27 Glenn Morris <rgm@gnu.org>
4324
4325 * dired.el (dired-hide-details-mode): Don't autoload it,
4326 since it cannot be used outside Dired buffers anyway.
4327
4328 * emulation/cua-base.el (cua-mode): Doc fix.
4329
4330 * dired.el (dired-hide-details-hide-symlink-targets)
4331 (dired-hide-details-hide-information-lines)
4332 (dired-hide-details-mode): Doc fixes.
4333
4334 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4335 * strokes.el (strokes-file): Doc fix. Bump :version.
4336 (strokes-help): Doc fix.
4337 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4338 * emulation/viper.el (viper): Doc fix for custom group.
4339 (top-level): Remove oh-so-no-longer-relevant text about vip.
4340 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4341
4342 * ido.el (ido-save-directory-list-file):
4343 * saveplace.el (save-place-file):
4344 * calendar/timeclock.el (timeclock-file):
4345 * net/quickurl.el (quickurl-url-file):
4346 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4347 * progmodes/idlwave.el (idlwave-config-directory):
4348 * textmodes/remember.el (remember-data-file):
4349 Bump :version.
4350
4351 2014-01-26 Glenn Morris <rgm@gnu.org>
4352
4353 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4354 Doc fix. Make obsolete.
4355 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4356
4357 * sort.el (delete-duplicate-lines): Doc fix.
4358
4359 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4360
4361 * progmodes/ada-mode.el (ada):
4362 * woman.el (woman): Link to info manual and Commentary section.
4363
4364 * progmodes/flymake.el (flymake):
4365 * nxml/nxml-mode.el (nxml):
4366 * net/eww.el (eww):
4367 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4368 * htmlfontify.el (htmlfontify):
4369 * ses.el (ses):
4370 * epa.el (epa):
4371 * ido.el (ido): Link to info manual.
4372
4373 2014-01-25 Leo Liu <sdl.web@gmail.com>
4374
4375 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4376
4377 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4378
4379 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4380 (bug#16537).
4381
4382 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4383
4384 * net/eww.el (eww-download-callback):
4385 Fix reference to eww-download-directory.
4386
4387 * emacs-lisp/bytecomp.el (byte-compile-file):
4388 Remove unused local variable `file-name'.
4389
4390 2014-01-24 Glenn Morris <rgm@gnu.org>
4391
4392 * woman.el (woman-default-faces, woman-monochrome-faces):
4393 Fix obsolescence specification.
4394
4395 * subr.el (with-demoted-errors): Doc fix.
4396
4397 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4400 (cl--macroexp-fboundp): New function.
4401 (cl--make-type-test): Use it.
4402
4403 2014-01-23 Glenn Morris <rgm@gnu.org>
4404
4405 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4406 * simple.el (eval-expression): Doc fixes.
4407
4408 2014-01-22 Glenn Morris <rgm@gnu.org>
4409
4410 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4411
4412 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/package.el: Write files silently.
4415 (package-autoload-ensure-default-file, package--write-file-no-coding)
4416 (package-generate-description-file, package--download-one-archive)
4417 (package-install-from-archive): Tell `write-region' to stay quiet.
4418 (package-menu-mode, package-menu--print-info): Omit the Archive column
4419 if there's only one archive.
4420 (package-all-keywords, package--has-keyword-p): Remove dead code.
4421
4422 2014-01-22 Glenn Morris <rgm@gnu.org>
4423
4424 * version.el (emacs-bzr-version-bzr): Fix typo.
4425
4426 * version.el (emacs-repository-get-version):
4427 Check either .bzr or .git, but not both.
4428 Make the git case actually use the DIR argument, and return nil
4429 rather than the empty string.
4430 Avoid error if .git exists but the git executable is not found.
4431
4432 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4433
4434 Fixes in window size functions around Bug#16430 and Bug#16470.
4435 * window.el (window-total-size, window-size): New argument ROUND.
4436 (window--min-delta-1, window-min-delta, window--max-delta-1):
4437 Be more conservative when calculating the numbers of lines or
4438 columns a window can shrink (Bug#16430).
4439 (fit-window-to-buffer): Simplify code.
4440 * term.el (term-window-width): Call window-body-width again.
4441
4442 2014-01-22 Glenn Morris <rgm@gnu.org>
4443
4444 * image.el (image-format-suffixes): Doc fix.
4445
4446 * international/quail.el (quail-define-package): Doc fix.
4447
4448 * emacs-lisp/authors.el (authors-valid-file-names)
4449 (authors-renamed-files-alist): Additions.
4450
4451 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4452 reverts 2014-01-09 change. (Bug#16422)
4453
4454 * calc/calc-embed.el (thing-at-point-looking-at):
4455 * emacs-lisp/map-ynp.el (x-popup-dialog):
4456 * obsolete/lmenu.el (x-popup-dialog):
4457 * emacs-lisp/package.el (url-recreate-url):
4458 * mail/mailclient.el (clipboard-kill-ring-save):
4459 * subr.el (x-popup-dialog): Update declaration.
4460 * mail/rmail.el (rmail-mime-message-p):
4461 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4462
4463 2014-01-21 Daniel Colascione <dancol@dancol.org>
4464
4465 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4466 Correctly detect when we're inside an arithmetic expansion form
4467 containing nested parenthesis.
4468 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4469 to detect cases where we shouldn't expand "<<" to a heredoc
4470 skeleton.
4471
4472 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4475 (eldoc--message-command-p): New function.
4476 (eldoc-display-message-p): Use it.
4477 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4478 message is not automatically erased for us.
4479 (eldoc-print-current-symbol-info): Erase previous message, if any.
4480
4481 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4482
4483 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4484 specify it's an interactive function.
4485
4486 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4487 Fix regex used for scanning for citation keys which failed for
4488 citations with optional arguments.
4489
4490 2014-01-21 Leo Liu <sdl.web@gmail.com>
4491
4492 * simple.el (read--expression): Don't enable eldoc-mode.
4493
4494 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * simple.el (move-beginning-of-line): Make sure we don't move forward
4497 (bug#16497).
4498
4499 2014-01-20 Juri Linkov <juri@jurta.org>
4500
4501 * saveplace.el (toggle-save-place, save-place-to-alist)
4502 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4503 'dired-mode) before checking for dired-directory. (Bug#16477)
4504
4505 2014-01-20 Juri Linkov <juri@jurta.org>
4506
4507 * indent.el (indent-line-to): Use backward-to-indentation
4508 instead of back-to-indentation. (Bug#16461)
4509
4510 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4511
4512 Revert some of the CANNOT_DUMP fix (Bug#16494).
4513 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4514 but fixing this can wait until after the next release.
4515 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4516
4517 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4518
4519 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4520 Use `password-word-equivalents'.
4521 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4522 to t. (Bug#5664, Bug#13124)
4523
4524 2014-01-19 Alan Mackenzie <acm@muc.de>
4525
4526 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4527 points.
4528 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4529 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4530 * progmodes/cc-mode.el (c-before-change, c-after-change)
4531 (c-font-lock-fontify-region): Bind it here.
4532
4533 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4534
4535 * term.el (term-window-width): Call window-text-width instead of
4536 window-width (Bug#16470).
4537
4538 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4539
4540 * simple.el (password-word-equivalents): Remove duplicates.
4541 Sort, to make this easier next time.
4542 Downcase. Omit ": " after "jelszó".
4543
4544 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4545
4546 * term/common-win.el (saved-region-selection): Defvar it.
4547 (x-select-text): Set saved-region-selection (Bug#16382).
4548
4549 2014-01-18 Glenn Morris <rgm@gnu.org>
4550
4551 * emacs-lisp/authors.el (authors-aliases)
4552 (authors-renamed-files-alist): Add some entries.
4553
4554 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4555
4556 * net/tramp.el (tramp-password-prompt-regexp):
4557 Use `password-word-equivalents' if available.
4558 (tramp-action-password, tramp-process-one-action)
4559 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4560
4561 2014-01-17 Chong Yidong <cyd@gnu.org>
4562
4563 * simple.el (password-word-equivalents): New defcustom.
4564 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4565 to 24.4.
4566 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4567 to t. (Bug#13124)
4568
4569 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4570
4571 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4572 (ruby-align-to-stmt-keywords): Change the default value.
4573 Use `ruby-alignable-keywords' to generate the possible customization
4574 choices.
4575 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4576 keywords, check against the value of `ruby-alignable-keywords'
4577 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4578
4579 2014-01-17 Glenn Morris <rgm@gnu.org>
4580
4581 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4582
4583 Make M-x authors return zero *Authors Errors* from current logs.
4584 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4585 (authors-ignored-files): Add some entries, remove others.
4586 (authors-ambiguous-files, authors-valid-file-names):
4587 Add some entries.
4588 (authors-renamed-files-alist): Add, remove, and adjust entries.
4589 (authors-renamed-files-regexps): Add some entries.
4590 Remove some very broad ones. Make some entries `lax'.
4591 (authors-lax-changelogs): New constant.
4592 (authors-disambiguate-file-name): Treat top-level specially.
4593 (authors-lax-changelog-p): New function.
4594 (authors-canonical-file-name): Check file as written against
4595 authors-valid-file-names. Do not special-case etc/.
4596 Handle `lax' logs and authors-renamed-files-regexps elements.
4597
4598 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4599
4600 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4601 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4602 callers.
4603
4604 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4607 Assume we're already in the proper buffer.
4608 Inspired by Anders Lindgren <andlind@gmail.com>.
4609 (follow-post-command-hook): Call it from the right buffer.
4610 (follow-comint-scroll-to-bottom): Adjust call.
4611 (follow-all-followers): Use get-buffer-window-list.
4612
4613 2014-01-15 Daniel Colascione <dancol@dancol.org>
4614
4615 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4616 `buffer-file-name' in interactive-form so that we don't leave
4617 pathless file names in `file-name-history'.
4618
4619 2014-01-15 Juri Linkov <juri@jurta.org>
4620
4621 * indent.el (indent-rigidly): Set deactivate-mark to nil
4622 in transient indentation mode. (Bug#16438)
4623
4624 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4625
4626 * emacs-lisp/package.el (package-desc-keywords): New function
4627 (Bug#16222).
4628 (describe-package-1, package-all-keywords)
4629 (package--has-keyword-p): Use it.
4630
4631 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4632
4633 * simple.el (define-alternatives): When creating the
4634 COMMAND-alternatives variable, assign COMMAND as its definition
4635 name so that `describe-variable' can relocate it.
4636
4637 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4638
4639 * font-lock.el (font-lock-keywords): Fix typo in docstring
4640 (bug#16307).
4641
4642 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4643
4644 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4645 line instead of wrongly reset `add-coment' (bug#13577).
4646
4647 2014-01-14 Daiki Ueno <ueno@gnu.org>
4648
4649 * epa-file.el (epa-file-write-region): Encode the region according
4650 to `buffer-file-format'. Problem reported at:
4651 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4652
4653 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4656 so it applies in the right buffer (bug#16410).
4657
4658 2014-01-13 Daniel Colascione <dancol@dancol.org>
4659
4660 * textmodes/rst.el (rst-define-key): Provide deprecated
4661 keybindings through named functions instead of anonymous ones so
4662 that "??" doesn't appear in describe-mode output.
4663
4664 2014-01-13 Bastien Guerry <bzg@gnu.org>
4665
4666 * simple.el (define-alternatives): Call the selected command
4667 interactively. When setting `COMMAND--implementation' for the
4668 first time, tell the user how to chose another implementation.
4669 Enhance the docstring.
4670
4671 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4674 (log-edit--match-first-line): New function.
4675 (log-edit-font-lock-keywords): Use it.
4676 (log-edit-mode): Make jit-lock-defer-multiline work.
4677
4678 2014-01-13 Bastien Guerry <bzg@gnu.org>
4679
4680 * rect.el (rectangle-mark-mode): When the region is not active,
4681 display a message saying that the mark as been set and that
4682 rectangle mode is in use.
4683 (rectangle--highlight-for-redisplay): Only put an overlay with a
4684 visible vertical bar when (display-graphic-p) is non-nil.
4685 This partially fixes Bug#16403.
4686
4687 2014-01-13 Juri Linkov <juri@jurta.org>
4688
4689 * info.el (Info-find-file): Go to DIR before displaying the error
4690 about a nonexistent file if no previous Info file is visited.
4691 Use `user-error' instead of `error' for "Info file %s does not exist".
4692 (Info-find-node-2): In case of a nonexistent node in unwind forms
4693 go to the Top node if there is no previous node to revert to.
4694 (Bug#16405)
4695
4696 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4697
4698 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4699 * window.el (fit-frame-to-buffer): Fix doc-string.
4700 Respect window-min-height/-width. Fit pixelwise when
4701 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4702 when avoiding that frame goes partially off-screen.
4703 (fit-window-to-buffer): Respect window-min-height/-width
4704 (Bug#14096).
4705
4706 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4709 after an empty line.
4710
4711 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * net/shr.el (shr-render-region): Autoload.
4714
4715 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4716
4717 * net/eww.el (eww-download-directory): Rename from
4718 `eww-download-path' (Bug#16419).
4719
4720 2014-01-12 Leo Liu <sdl.web@gmail.com>
4721
4722 * dired-x.el (dired-mode-map): Fix last change.
4723
4724 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4725
4726 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4727
4728 Spelling fixes.
4729 * emacs-lisp/generic.el (generic--normalize-comments):
4730 Rename from generic--normalise-comments. All uses changed.
4731 * play/bubbles.el (bubbles--neighborhood-score)
4732 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4733 (bubbles--neighborhood-available)
4734 (bubbles--update-neighborhood-score):
4735 Rename from names with 'neighbourhood'. All uses changed.
4736
4737 2014-01-12 Leo Liu <sdl.web@gmail.com>
4738
4739 Re-implement the feature of showing eldoc info after editing.
4740 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4741 (eldoc-edit-message-commands): New function.
4742 (eldoc-print-after-edit): New variable.
4743 (eldoc-pre-command-refresh-echo-area): Emit message only by
4744 eldoc-message-commands.
4745 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4746 if eldoc-print-after-edit is set. (Bug#16346)
4747 * simple.el (read--expression): Enable eldoc-mode.
4748 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4749
4750 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4751 Eric S. Raymond <esr@thyrsus.com>
4752
4753 * version.el (emacs-repository-get-version): Enhance so the
4754 function works correctly in either a Bazaar or Git repo.
4755
4756 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4757
4758 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4759 Goes with removal of the joke manpages from /etc.
4760
4761 2014-01-10 Kenichi Handa <handa@gnu.org>
4762
4763 * mail/rmail.el (rmail-get-coding-system):
4764 Check rmail-get-coding-function before "funcall"ing it.
4765
4766 2014-01-10 Glenn Morris <rgm@gnu.org>
4767
4768 * emacs-lisp/authors.el (authors-fixed-entries):
4769 Update for files that no longer exist.
4770
4771 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4772
4773 * version.el (emacs-bzr-get-version): Restore compatibilty with
4774 24.3 (Tested).
4775
4776 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4777
4778 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4779 and Podfile.
4780
4781 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4782
4783 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4784
4785 2014-01-10 Chong Yidong <cyd@gnu.org>
4786
4787 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4788
4789 2014-01-10 Anders Lindgren <andlind@gmail.com>
4790
4791 * follow.el (follow-cache-command-list): Include right-char and
4792 left-char.
4793
4794 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4795
4796 Spelling fixes.
4797 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4798 * woman.el (woman-mark-horizontal-position):
4799 Rename from woman-mark-horizonal-position. Use changed.
4800
4801 2014-01-10 Glenn Morris <rgm@gnu.org>
4802
4803 * info.el (info-initialize): If running uninstalled, ensure our
4804 own info files are always found first, even if INFOPATH is set.
4805
4806 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4807
4808 2014-01-09 David Engster <deng@randomsample.de>
4809
4810 * emacs-lisp/eieio-custom.el:
4811 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4812 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4813 * emacs-lisp/eieio.el: Regenerate autoloads.
4814
4815 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4816
4817 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4818 following renames. (Bug#8756)
4819
4820 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4823 (bug#16382).
4824 (activate-mark): Add `no-tmm' argument.
4825 (set-mark, push-mark-command): Use it instead of running
4826 activate-mark-hook by hand.
4827
4828 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4829
4830 In preparation for the move to git, sanitize out some
4831 Bazaar-specific names.
4832
4833 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4834
4835 * version.el (emacs-bzr-version): Name changed to
4836 emacs-repository-version. Obsolete-variable alias made.
4837 * loadup.el: Follow through on this name change.
4838 * mail/emacsbug.el (report-emacs-bug): Factor out any
4839 assumption about the version control system in use.
4840
4841 2014-01-08 David Engster <deng@randomsample.de>
4842
4843 * help-fns.el (help-fns-describe-function-functions):
4844 New variable to call functions for augmenting help buffers.
4845 (describe-function-1): Remove explicit calls to
4846 `help-fns--compiler-macro', `help-fns--parent-mode' and
4847 `help-fns--obsolete'. Put them in above new variable instead, and
4848 call them through `run-hook-with-args'.
4849 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4850 `eieio-describe-class'. Not meant for interactive use anymore,
4851 but to augment existing help buffers. Remove optional second
4852 argument. Create proper button for file location.
4853 Rewrite function to use `insert' instead of `princ' and `prin1' where
4854 possible.
4855 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4856 (eieio-method-def, eieio-class-def): Move further up.
4857 (describe-method, describe-generic, eieio-describe-method):
4858 Remove aliases.
4859 (eieio-help-constructor, eieio-help-generic): Rename from
4860 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4861 Rewrite to use `insert' in the current buffer and use proper help
4862 buttons.
4863 (eieio-help-find-method-definition)
4864 (eieio-help-find-class-definition): Also accept symbols as
4865 arguments.
4866 (eieio-help-mode-augmentation-maybee): Remove.
4867 (eieio-describe-class-sb): Use `describe-function'.
4868 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4869 Add `eieio-help-generic' and `eieio-help-constructor'.
4870
4871 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4872
4873 Spelling fixes.
4874 * language/china-util.el (hz-ascii-designation):
4875 Rename from hz-ascii-designnation.
4876 (hz-ascii-designation): Rename from hz-ascii-designnation.
4877 All uses changed.
4878
4879 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4882 package-alist.
4883
4884 2014-01-08 Bastien Guerry <bzg@gnu.org>
4885
4886 * emacs-lisp/package.el (package-delete):
4887 Correctly delete the package from package-alist.
4888
4889 2014-01-08 Daiki Ueno <ueno@gnu.org>
4890
4891 * emacs-lisp/package.el (url-recreate-url): Declare.
4892 (url-http-target-url): Declare.
4893 (package-handle-response): Include requested URL in the error message.
4894 (package--check-signature): Don't re-signal errors from
4895 package--with-work-buffer. Suggested by Stefan Monnier.
4896
4897 2014-01-07 Bastien Guerry <bzg@gnu.org>
4898
4899 * minibuffer.el (completion--try-word-completion): When both a
4900 hyphen and a space are possible candidates for the character
4901 following a word, display both candidates. (Bug#15980)
4902
4903 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4904
4905 * window.el (balance-windows-2): While rounding don't give a
4906 window more than the remainder. Bug#16351, bug#16383.
4907
4908 2014-01-07 Glenn Morris <rgm@gnu.org>
4909
4910 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4911 (menu-bar-help-menu): Use view-external-packages instead.
4912
4913 2014-01-07 Bastien Guerry <bzg@gnu.org>
4914
4915 * emacs-lisp/package.el (package-delete): Also delete the package
4916 name from `package-alist', not its description only.
4917
4918 2014-01-07 Glenn Morris <rgm@gnu.org>
4919
4920 * help.el (view-external-packages):
4921 * menu-bar.el (menu-bar-help-extra-packages):
4922 Visit efaq.info rather than etc/MORE.STUFF.
4923
4924 2014-01-07 Juri Linkov <juri@jurta.org>
4925
4926 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4927 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4928
4929 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4930 that shadows RET. (Bug#16342)
4931
4932 2014-01-07 Chong Yidong <cyd@gnu.org>
4933
4934 * isearch.el (isearch-yank-char, isearch-yank-word)
4935 (isearch-yank-line): Doc fix.
4936
4937 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4940 * emacs-lisp/elint.el (elint-find-builtins):
4941 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4942 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4943 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4944 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4945 * apropos.el (apropos-safe-documentation):
4946 * subr.el (symbol-file): Remove redundant fboundp.
4947 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4948
4949 2014-01-06 Bastien Guerry <bzg@gnu.org>
4950
4951 * hl-line.el (global-hl-line-overlay): Make a local variable.
4952 (global-hl-line-overlays): New variable to store all overlays.
4953 (global-hl-line-mode): Don't delete overlays from the current
4954 buffer when `global-hl-line-sticky-flag' is non-nil.
4955 (global-hl-line-highlight): Add new overlays to
4956 `global-hl-line-overlays'.
4957 (global-hl-line-unhighlight-all): New function to delete all
4958 overlays when turning off `global-hl-line-mode'.
4959 This fixes Bug#16183.
4960
4961 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * subr.el (set-transient-map): Fix nested case and docstring.
4964
4965 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4966
4967 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4968 `Texinfo' entry.
4969
4970 2014-01-06 Daniel Colascione <dancol@dancol.org>
4971
4972 Fix defun navigation in vc log view.
4973
4974 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4975 like `beginning-of-defun'.
4976 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4977 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4978 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4979 (log-view-extract-comment): Call `log-view-current-entry' directly
4980 instead of relying on broken `log-view-beginning-of-defun' behavior.
4981
4982 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4983
4984 Spelling fixes.
4985 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4986 * emacs-lisp/debug.el (cancel-debug-on-entry):
4987 * epg.el (epg-error-to-string):
4988 * files.el (recover-file):
4989 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4990 * mail/emacsbug.el (report-emacs-bug-hook):
4991 * mail/sendmail.el (mail-recover):
4992 * ses.el (ses-yank-resize):
4993 * term/ns-win.el (ns-print-buffer):
4994 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4995 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4996 All uses changed.
4997 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4998
4999 2014-01-06 Leo Liu <sdl.web@gmail.com>
5000
5001 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5002 to avoid shadowing global key. (Bug#16354)
5003
5004 2014-01-06 Daniel Colascione <dancol@dancol.org>
5005
5006 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5007 rst-mode.
5008
5009 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5010
5011 * window.el (balance-windows): Add mising t to fix Bug#16351.
5012
5013 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5014
5015 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5016 (bug#16285).
5017 (shr-insert): If we have a word that's longer than `shr-width',
5018 break after it anyway. Otherwise we'll do no breaking once we get
5019 such a long word.
5020
5021 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5022
5023 * net/eww.el (eww): Support single/double quote for search.
5024 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5025 (eww-history-quit): Delete and use quit-window.
5026 (eww-history-kill): Delete, because it doesn't work well and
5027 not necessary.
5028 (eww-history-mode-map): Delete some keys and add easy-menu.
5029
5030 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5031
5032 Fix misspelling of 'chinese' in rx (Bug#16237).
5033 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5034 chinese-two-byte.
5035
5036 Change subword regexps back to vars (Bug#16296).
5037 * progmodes/subword.el (subword-forward-regexp)
5038 (subword-backward-regexp): Change these back to variables.
5039
5040 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5043 syntax-begin-function (bug#16247).
5044
5045 2014-01-03 Chong Yidong <cyd@gnu.org>
5046
5047 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5048 (advice--docstring): Delete variable.
5049 (advice--make-1): Leave the docstring empty.
5050 (advice-add): Use function-documentation for advised docstring.
5051
5052 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5053 Ignore function-documentation property when getting documentation.
5054 (ad-activate-advised-definition): Use function-documentation
5055 generate the docstring.
5056 (ad-make-advised-definition): Don't call
5057 ad-make-advised-definition-docstring.
5058 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5059 Delete functions.
5060
5061 * progmodes/sql.el (sql-help): Use function-documentation instead
5062 of dynamic-docstring-function property. No need to autoload now.
5063 (sql--help-docstring): New variable.
5064 (sql--make-help-docstring): Use it.
5065
5066 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * ielm.el (ielm-tab): Retarget.
5069 (ielm-map): Use ielm-tab for tab.
5070 (ielm-complete-filename): Use comint-filename-completion.
5071 (ielm-complete-symbol): Remove.
5072 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5073 remove ielm-tab from completion-at-point-functions (bug#16224).
5074
5075 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5076 Beware signals raised by predicates (bug#16201).
5077
5078 2014-01-02 Richard Stallman <rms@gnu.org>
5079
5080 * dired-aux.el (dired-do-print): Handle printer-name.
5081
5082 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5083 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5084 (rmail-epa-decrypt): Turn off mime processing.
5085
5086 * mail/rmail.el (rmail-make-in-reply-to-field):
5087 Add parens in message-id.
5088
5089 * mail/rmail.el (rmail-get-coding-function): Variable.
5090 (rmail-get-coding-system): Use it.
5091
5092 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5093
5094 * international/mule-conf.el: Unify the charset indian-is13194.
5095 (indian-is13194): Specify unify-map.
5096
5097 2013-12-31 Leo Liu <sdl.web@gmail.com>
5098
5099 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5100
5101 2013-12-30 Daniel Colascione <dancol@dancol.org>
5102
5103 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5104 of printing a useless when we resume from sleep.
5105
5106 * progmodes/sh-script.el
5107 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5108 in indentation code. (Bug#16233)
5109
5110 2013-12-28 João Távora <joaotavora@gmail.com>
5111
5112 * elec-pair.el (electric-pair-post-self-insert-function):
5113 Don't open extra newlines at beginning of buffer. (Bug#16272)
5114
5115 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5116
5117 * frame.el (window-system-for-display): Don't allow to create a
5118 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5119
5120 2013-12-28 Glenn Morris <rgm@gnu.org>
5121
5122 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5123 Update callers.
5124
5125 * apropos.el (apropos-match-face):
5126 * calculator.el (calculator-displayer):
5127 * dabbrev.el (dabbrev-search-these-buffers-only):
5128 * face-remap.el (buffer-face-mode-face):
5129 * simple.el (yank-handled-properties):
5130 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5131 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5132 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5133 (hashcash-double-spend-database):
5134 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5135 (ruby-deep-indent-paren-style):
5136 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5137 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5138 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5139 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5140 Specify custom types.
5141
5142 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5143 * bookmark.el (bookmark-bmenu-use-header-line):
5144 * doc-view.el (doc-view-scale-internally):
5145 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5146 * register.el (register-preview-delay):
5147 * net/shr.el (shr-bullet):
5148 * progmodes/cfengine.el (cfengine-cf-promises)
5149 (cfengine-parameters-indent):
5150 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5151 * textmodes/reftex-vars.el (reftex-label-regexps):
5152 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5153
5154 * net/tls.el (tls-certtool-program): Fix default value.
5155
5156 * desktop.el (desktop-restore-in-current-display):
5157 * newcomment.el (comment-empty-lines):
5158 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5159 (idlwave-pad-keyword):
5160 * progmodes/tcl.el (tcl-tab-always-indent):
5161 * textmodes/reftex-vars.el (reftex-index-default-tag):
5162 * elec-pair.el (electric-pair-skip-whitespace):
5163 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5164
5165 * emacs-lisp/authors.el (authors-ignored-files)
5166 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5167
5168 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5169
5170 * shell.el (shell-dynamic-complete-command): Doc fix.
5171 (shell--command-completion-data): Shell completion now matches
5172 executable filenames from the current buffer's directory, on
5173 systems in which this behavior is the default (windows-nt, ms-dos).
5174
5175 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5176
5177 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5178
5179 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5182 (bug#16251).
5183
5184 * electric.el: Move all electric-pair-* to elec-pair.el.
5185 * elec-pair.el: New file, split from electric.el.
5186
5187 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5188
5189 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5190 indentation level is larger than the width, because that will
5191 infloop.
5192 (shr-insert): Fill repeatedly long texts, so that Japanese is
5193 formatted correctly (bug#16263).
5194 (shr-find-fill-point): Off by one error in comparison with the
5195 indentation.
5196
5197 2013-12-26 João Távora <joaotavora@gmail.com>
5198
5199 * electric.el (electric-pair-mode): More flexible engine for skip-
5200 and inhibit predicates, new options for pairing-related functionality.
5201 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5202 if that keeps or improves their balance in buffers.
5203 (electric-pair-delete-adjacent-pairs): Delete the pair when
5204 backspacing over adjacent matched delimiters.
5205 (electric-pair-open-extra-newline): Open extra newline when
5206 inserting newlines between adjacent matched delimiters.
5207 (electric--sort-post-self-insertion-hook):
5208 Sort post-self-insert-hook according to priority values when
5209 minor-modes are activated.
5210 * simple.el (newline-and-indent): Call newline with interactive
5211 set to t.
5212 (blink-paren-post-self-insert-function): Set priority to 100.
5213 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5214 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5215 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5216 electric-pair-open-newline-between-pairs to nil.
5217
5218 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5219
5220 * progmodes/python.el: Use lexical-binding.
5221 (python-nav-beginning-of-defun): Stop searching ASAP.
5222
5223 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5224
5225 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5226 Fix interactive spec. Doc fix. (Bug#15754)
5227
5228 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5229
5230 * emacs-lisp/byte-run.el (eval-when-compile):
5231 * progmodes/cc-defs.el (cc-eval-when-compile):
5232 Fix edebug spec (bug#16184).
5233
5234 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5235
5236 * net/shr.el (shr-visit-file): Remove debugging function.
5237 (shr-insert): Don't infloop if we can't find a good place to break
5238 the line (bug#16256).
5239
5240 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5241
5242 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5243 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5244 python-nav-lisp-forward-sexp-safe.
5245 (python-nav--forward-sexp): New argument SAFE allows switching
5246 forward sexp movement behavior for parens.
5247 (python-nav-forward-sexp): Throw errors on unterminated parens
5248 (Bug#16191).
5249 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5250 (python-nav-backward-sexp-safe): New functions.
5251 (python-shell-buffer-substring):
5252 Use `python-nav-forward-sexp-safe'.
5253
5254 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5255
5256 * net/shr.el (shr-find-fill-point): Don't break lines before a
5257 quotation mark.
5258 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5259 (shr-find-fill-point): Remove the special checks for the quotation
5260 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5261
5262 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5263
5264 * net/eww.el (eww-form-textarea): Use a different face for
5265 textareas than text input since they have different keymaps
5266 (bug#16142).
5267
5268 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5269
5270 * progmodes/python.el (python-nav-beginning-of-statement):
5271 Speed up (Bug#15295).
5272
5273 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5274
5275 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5276 the window configuration.
5277
5278 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5279
5280 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5281 we run on MS-Windows or MS-DOS.
5282
5283 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5284
5285 * window.el (balance-windows-area): Call window-size instead of
5286 window-height and window-width. Bug#16241.
5287
5288 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5289
5290 * net/eww.el (eww-bookmark-quit): Remove.
5291 (eww-bookmark-browse): Restore the window configuration when you
5292 choose a bookmark (bug#16144).
5293
5294 2013-12-24 Daniel Colascione <dancol@dancol.org>
5295
5296 * icomplete.el: Remove redundant :group arguments to `defcustom'
5297 throughout.
5298 (icomplete-show-matches-on-no-input): New customizable variable.
5299 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5300 we have something to show.
5301 (icomplete-exhibit): Compute completions even if we have no user input.
5302
5303 2013-12-23 Daniel Colascione <dancol@dancol.org>
5304
5305 * icomplete.el: Move `provide' to end of file.
5306
5307 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5308
5309 * net/gnutls.el (gnutls-verify-error): Add version tag.
5310
5311 2013-12-23 Chong Yidong <cyd@gnu.org>
5312
5313 * subr.el (set-transient-map): Rename from
5314 set-temporary-overlay-map. Doc fix.
5315
5316 * face-remap.el (text-scale-adjust):
5317 * indent.el (indent-rigidly):
5318 * kmacro.el (kmacro-call-macro):
5319 * minibuffer.el (minibuffer-force-complete):
5320 * repeat.el (repeat):
5321 * simple.el (universal-argument--mode):
5322 * calendar/todo-mode.el (todo-insert-item--next-param):
5323 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5324
5325 * indent.el (indent-rigidly): Use substitute-command-keys.
5326
5327 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5328
5329 * net/eww.el (eww-tag-select): Add text-property to jump to next
5330 select field.
5331 (eww): Add non-supported ftp error.
5332
5333 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5334
5335 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5336 comments. Handle electric indent after typing `?' and `!'.
5337
5338 2013-12-22 Chong Yidong <cyd@gnu.org>
5339
5340 * faces.el (face-spec-recalc): If the theme specs are not
5341 applicable to a frame, fall back on the defface spec.
5342 This prevents themes from obliterating faces on low-color terminals.
5343
5344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5345
5346 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5347 after `{'. We need it after block openers, and it doesn't seem
5348 to hurt after hash openers.
5349
5350 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5351
5352 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5353 extracted from `ruby-smie-rules'.
5354 (ruby--electric-indent-chars): New variable.
5355 (ruby--electric-indent-p): New function.
5356 (ruby-mode): Use `electric-indent-functions' instead of
5357 `electric-indent-chars'.
5358
5359 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5360
5361 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5362 docstring.
5363 (ruby-smie-rules): Indent plus one level after `=>'.
5364
5365 2013-12-21 Richard Stallman <rms@gnu.org>
5366
5367 * simple.el (newline): Doc fix.
5368
5369 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5370
5371 * net/eww.el (eww-list-histories, eww-list-histories)
5372 (eww-history-browse, eww-history-quit, eww-history-kill)
5373 (eww-history-mode-map, eww-history-mode): New command and
5374 functions to list browser histories.
5375 (eww-form-text): Support text form with disabled
5376 and readonly attributes.
5377 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5378
5379 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5380
5381 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5382 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5383 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5384 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5385 Use `user-error'.
5386 (eww-bookmark-mode-map): Add menu.
5387 (eww-render, eww-mode): Use `setq-local'.
5388 (eww-tool-bar-map): New variable.
5389 (eww-mode): Set `tool-bar-map'.
5390 (eww-view-source): Check for `html-mode' with `fboundp'.
5391
5392 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5393
5394 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5395 elements with text inside. Also remove debugging.
5396
5397 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5398
5399 * cus-start.el (all): Add ns-use-srgb-colorspace.
5400
5401 2013-12-21 Chong Yidong <cyd@gnu.org>
5402
5403 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5404 undefined. Thus, theme settings for undefined faces do not take
5405 effect until the faces are defined with defface, the same as with
5406 theme variables.
5407
5408 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5409 (face-spec-reset-face): Don't assign extra properties in temacs.
5410 (face-spec-recalc): Apply X resources too.
5411
5412 2013-12-21 Chong Yidong <cyd@gnu.org>
5413
5414 * faces.el (face-spec-set):
5415 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5416 * custom.el (defface): Doc fixes (Bug#16203).
5417
5418 * indent.el (indent-rigidly-map): Add docstring, and move commands
5419 into named functions.
5420 (indent-rigidly-left, indent-rigidly-right)
5421 (indent-rigidly-left-to-tab-stop)
5422 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5423 indentation direction based on bidi direction, and accumulate
5424 sequential commands in a single undo boundary.
5425 (indent-rigidly--pop-undo): New utility function.
5426
5427 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5428
5429 * faces.el (read-face-name): Require crm.el when using crm-separator.
5430
5431 2013-12-20 Daniel Colascione <dancol@dancol.org>
5432
5433 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5434 so that we don't reflow comments into the shebang line.
5435
5436 2013-12-20 Juri Linkov <juri@jurta.org>
5437
5438 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5439 a position when `dired-directory' is non-nil. Check integer
5440 positions with `integerp'.
5441 (toggle-save-place, save-places-to-alist): Add check for
5442 `dired-directory'.
5443 (save-place-find-file-hook): Check integer positions with
5444 `integerp'.
5445 (save-place-dired-hook): Use `dired-goto-file' when
5446 `dired-filename' is found in the assoc list. Check integer
5447 positions with `integerp'.
5448 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5449
5450 * dired.el (dired-initial-position-hook): Rename back from
5451 `dired-initial-point-hook'.
5452 (dired-initial-position): Rename `dired-initial-point-hook' to
5453 `dired-initial-position-hook'.
5454 (dired-file-name-at-point): Doc fix. (Bug#15329)
5455
5456 2013-12-20 Juri Linkov <juri@jurta.org>
5457
5458 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5459 (read-regexp-suggestions): New function.
5460 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5461 Use `read-regexp-suggestions'. Add non-empty default to history
5462 for empty input.
5463 (occur-read-regexp-defaults-function): Remove function.
5464 (occur-read-primary-args): Use `regexp-history-last' instead of
5465 `occur-read-regexp-defaults-function'.
5466
5467 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5468 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5469 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5470 `hi-lock-read-regexp-defaults-function'. Doc fix.
5471 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5472 with `find-tag-default-as-symbol-regexp'. Doc fix.
5473 (hi-lock-read-regexp-defaults): Remove function.
5474 (hi-lock-regexp-okay): Add check for null.
5475
5476 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5477 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5478
5479 * subr.el (find-tag-default-as-symbol-regexp): New function.
5480 (find-tag-default-as-regexp): Move symbol regexp formatting to
5481 `find-tag-default-as-symbol-regexp'.
5482
5483 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5484
5485 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5486 (Bug#14179)
5487
5488 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5489
5490 * calendar/todo-mode.el: New implementation of item insertion
5491 commands and key bindings.
5492 (todo-key-prompt): New face.
5493 (todo-insert-item): New command.
5494 (todo-insert-item--parameters): New defconst, replacing defvar
5495 todo-insertion-commands-args-genlist.
5496 (todo-insert-item--param-key-alist): New defconst, replacing
5497 defvar todo-insertion-commands-arg-key-list.
5498 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5499 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5500 (todo-insert-item--next-param): New functions.
5501 (todo-insert-item--args, todo-insert-item--argleft)
5502 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5503 New variables.
5504 (todo-key-bindings-t): Change binding of "i" from
5505 todo-insertion-map to todo-insert-item.
5506 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5507 (todo-insertion-command-name, todo-insertion-commands-names)
5508 (todo-define-insertion-command, todo-insertion-commands)
5509 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5510
5511 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5512
5513 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5514 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5515 eval-when-compile.
5516 (todo-move-category): Allow choosing a non-existing todo file to
5517 move the category to, and create that file.
5518 (todo-default-priority): New user option.
5519 (todo-set-item-priority): Use it.
5520 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5521 (desktop-restore-file-buffer): Declare.
5522 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5523 (todo-modes-set-2): Locally set desktop-save-buffer to
5524 todo-desktop-save-buffer.
5525 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5526 (auto-mode-alist): Add autoload cookie.
5527
5528 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5529
5530 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5531 helpers.el was a poor choice of name.
5532 (string-remove-prefix): New function.
5533 (string-remove-suffix): New function.
5534
5535 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5536
5537 Fix assignment for new window total sizes.
5538 * window.el (window--pixel-to-size): Remove function.
5539 (window--pixel-to-total-1, window--pixel-to-total):
5540 Fix calculation of new total sizes.
5541
5542 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5543
5544 * comint.el (comint-output-filter): Fix rear-nonsticky property
5545 placement (Bug#16010).
5546
5547 2013-12-20 Chong Yidong <cyd@gnu.org>
5548
5549 * faces.el (read-color): Minor fix for completion function.
5550
5551 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5552
5553 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5554 New option. (Bug#16182)
5555 (ruby-smie--indent-to-stmt-p): Use it.
5556 (ruby-smie-rules): Revert the logic in the handling of `when'.
5557 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5558 (ruby-deep-arglist, ruby-deep-indent-paren)
5559 (ruby-deep-indent-paren-style): Update docstrings to note that the
5560 vars don't have any effect with SMIE.
5561
5562 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5563
5564 * calc/calc.el (calc-enter, calc-pop): Use the variable
5565 `calc-context-sensitive-enter'.
5566
5567 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5568
5569 * net/shr.el (shr-insert): Protect against infloops in degenerate
5570 tables.
5571
5572 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5573
5574 * progmodes/octave.el (octave): Add link to manual and octave
5575 homepage.
5576 (octave-mode-menu): Link to octave-mode manual.
5577
5578 2013-12-20 Leo Liu <sdl.web@gmail.com>
5579
5580 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5581 insertion using skeleton-end-newline. (Bug#16138)
5582
5583 2013-12-20 Juri Linkov <juri@jurta.org>
5584
5585 * replace.el (occur-engine): Use `add-face-text-property'
5586 to add the face property to matches and titles. (Bug#14645)
5587
5588 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5589 the palette of other hi-lock colors.
5590 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5591
5592 2013-12-19 Juri Linkov <juri@jurta.org>
5593
5594 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5595 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5596 (minibuffer-history-symbol): Move variable declaration closer to
5597 its usage.
5598
5599 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5600 (Bug#14785)
5601
5602 2013-12-19 Juri Linkov <juri@jurta.org>
5603
5604 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5605 New function.
5606 (log-edit-hook): Add it to :options. (Bug#16170)
5607
5608 2013-12-19 Juri Linkov <juri@jurta.org>
5609
5610 * simple.el (eval-expression-print-format): Don't check for
5611 command names and the last command. Always display additional
5612 formats of the integer result in the echo area, and insert them
5613 to the current buffer only with a zero prefix arg.
5614 Display character when char-displayable-p is non-nil.
5615 (eval-expression): With a zero prefix arg, set `print-length' and
5616 `print-level' to nil, and insert the integer values from
5617 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5618
5619 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5620 `eval-last-sexp-arg-internal'. Doc fix.
5621 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5622 `eval-last-sexp-print-value'. Doc fix.
5623 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5624 Set `print-length' and `print-level' to nil when arg is zero.
5625 (eval-last-sexp): Doc fix.
5626 (eval-defun-2): Print the integer values from
5627 `eval-expression-print-format' at the end.
5628
5629 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5630 values from `eval-expression-print-format' at the end.
5631
5632 * ielm.el (ielm-eval-input): Print the integer
5633 values from `eval-expression-print-format' at the end.
5634
5635 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5636
5637 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5638 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5639
5640 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5643 (hl-line-highlight, global-hl-line-highlight): Use it.
5644 (hl-line-overlay): Use defvar-local.
5645
5646 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5647
5648 * term/ns-win.el: Require dnd.
5649 (global-map): Remove drag items.
5650 (ns-insert-text, ns-set-foreground-at-mouse)
5651 (ns-set-background-at-mouse):
5652 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5653 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5654 New functions.
5655
5656 2013-12-19 Glenn Morris <rgm@gnu.org>
5657
5658 * emacs-lisp/ert.el (ert-select-tests):
5659 Fix string/symbol mixup. (Bug#16121)
5660
5661 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5662
5663 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5664 keywords to their parent.
5665
5666 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5667
5668 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5669 first arg to be a string (fixed dead code), or an operator symbol.
5670 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5671 operator symbols.
5672 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5673 did nothing. Don't respond to `(:after ".")', it will be called
5674 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5675 change anything. Only return indentation for binary operators
5676 when they are hanging. De-dent opening paren when its parent is
5677 `.', otherwise it looks bad when the dot is not at bol or eol
5678 (bug#16182).
5679
5680 2013-12-19 Juri Linkov <juri@jurta.org>
5681
5682 * replace.el (query-replace-read-args): Split a non-negative arg
5683 and a negative arg into separate elements.
5684 (query-replace, query-replace-regexp, replace-string)
5685 (replace-regexp): Add arg `backward'. Doc fix.
5686 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5687 move point to the beginning of the match.
5688 (replace-search, replace-highlight): Use new arg `backward'
5689 to set the value of `isearch-forward'.
5690 (perform-replace): Add arg `backward' and use it to perform
5691 replacement backward. (Bug#14979)
5692
5693 * isearch.el (isearch-query-replace): Use a negative prefix arg
5694 to call `perform-replace' with a non-nil arg `backward'.
5695
5696 2013-12-18 Juri Linkov <juri@jurta.org>
5697
5698 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5699 to the default list. Move `log-edit-show-files' to the end.
5700 Add more available functions to options.
5701 (log-edit): Move default specific settings to
5702 `log-edit-insert-message-template'. Don't move point.
5703 (log-edit-insert-message-template): New function.
5704 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5705 (Bug#16170)
5706
5707 2013-12-18 Juri Linkov <juri@jurta.org>
5708
5709 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5710 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5711
5712 2013-12-18 Leo Liu <sdl.web@gmail.com>
5713
5714 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5715 (Bug#16186)
5716
5717 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5718
5719 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5720 formats for displaying file sizes when the -s switch is given.
5721 Instead, compute a separate format for displaying the size in
5722 blocks, which is displayed in addition to the "regular" size.
5723 When -h is given in addition to -s, produce size in blocks in
5724 human-readable form as well. (Bug#16179)
5725
5726 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5727
5728 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5729 Reference tables with ~\ref{...} instead of only \ref{...}.
5730
5731 2013-12-18 Chong Yidong <cyd@gnu.org>
5732
5733 * cus-edit.el (custom-magic-alist): Fix "themed" description
5734 (Bug#14348).
5735
5736 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5737 is non-nil, do not create a new entry in the symbol's theme-value
5738 or theme-face property; update theme-settings only (Bug#14664).
5739 (custom-available-themes): Doc fix.
5740
5741 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5742 (Bug#15674).
5743
5744 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5745
5746 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5747
5748 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5749 (Bug#13914).
5750
5751 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5752
5753 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5754
5755 2013-12-18 Glenn Morris <rgm@gnu.org>
5756
5757 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5758 * cus-start.el (load-prefer-newer): New option.
5759
5760 2013-12-18 Le Wang <l26wang@gmail.com>
5761
5762 * comint.el (comint-previous-matching-input-from-input):
5763 Retain point (Bug#13404).
5764
5765 2013-12-18 Chong Yidong <cyd@gnu.org>
5766
5767 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5768
5769 2013-12-18 Glenn Morris <rgm@gnu.org>
5770
5771 * mail/emacsbug.el (report-emacs-bug):
5772 Only mention enable-multibyte-characters if non-standard.
5773
5774 2013-12-17 Juri Linkov <juri@jurta.org>
5775
5776 * arc-mode.el (archive-extract-by-file): Check if directory exists
5777 before deletion to not show irrelevant errors if it doesn't exist.
5778
5779 2013-12-17 Juri Linkov <juri@jurta.org>
5780
5781 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5782 (Bug#14751)
5783
5784 * net/eww.el (browse-web): Add alias to `eww'.
5785 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5786 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5787
5788 * net/browse-url.el (browse-url-browser-function): Move `eww'
5789 closer to similar functions.
5790
5791 * startup.el (fancy-startup-screen, fancy-about-screen):
5792 Set browse-url-browser-function to eww-browse-url locally.
5793 (Bug#14751)
5794
5795 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * window.el (window--pixel-to-total): Remove unused `mini' var.
5798 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5799 (split-window): Remove unused `new' var.
5800 (window--display-buffer): Remove unused `frame' and `delta' vars.
5801 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5802 and display-width'.
5803
5804 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5805
5806 * dired.el (dired-mark-pop-up):
5807 * register.el (register-preview): Don't bind
5808 split-height-threshold here since it's now done in
5809 display-buffer-below-selected.
5810
5811 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5812
5813 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5814 xterm-rgb-convert-to-16bit.
5815 (rxvt-register-default-colors): Standardize with
5816 xterm-register-default-colors (Bug#14078).
5817
5818 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5819
5820 * simple.el (kill-region): Pass mark first, then point, so that
5821 kill-append works right (Bug#12819).
5822 (copy-region-as-kill, kill-ring-save): Likewise.
5823
5824 2013-12-17 Leo Liu <sdl.web@gmail.com>
5825
5826 * net/rcirc.el (rcirc-add-face):
5827 * eshell/em-prompt.el (eshell-emit-prompt):
5828 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5829 (Bug#16167)
5830
5831 2013-12-17 Chong Yidong <cyd@gnu.org>
5832
5833 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5834 Suggested by Xue Fuqiao.
5835
5836 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5837
5838 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5839
5840 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * net/shr.el (shr-insert-document): Remove unused var
5843 `shr-preliminary-table-render'.
5844 (shr-rescale-image): Remove unused arg `force'.
5845 (shr-put-image): Update calls accordingly.
5846 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5847
5848 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5851 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5852 :close-all, to see which indentation method to use (Bug#16116).
5853 (smie-rules-function): Document the method :close-all.
5854
5855 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856
5857 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5858
5859 * net/eww.el (eww-display-html): If we can't find the anchor we're
5860 looking for, then go to point-min.
5861
5862 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5863
5864 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5865 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5866 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5867 Expand dir too, in case it's relative.
5868
5869 2013-12-16 Juri Linkov <juri@jurta.org>
5870
5871 * desktop.el (desktop-auto-save-timeout): Change default to
5872 `auto-save-timeout'. Doc fix.
5873 (desktop-save): Skip the timestamp in desktop-saved-frameset
5874 when checking for auto-save changes.
5875 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5876 `desktop-auto-save' is called repeatedly by the idle timer.
5877 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5878 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5879 (Bug#15331)
5880
5881 2013-12-16 Juri Linkov <juri@jurta.org>
5882
5883 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5884 (Bug#16035)
5885 (isearch-pre-command-hook): Check `this-command' for symbolp.
5886
5887 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5890
5891 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5892
5893 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5894 (cfengine3--current-function): Bring in the current-function
5895 functionality from `cfengine3--current-word'.
5896 (cfengine3-completion-function): Bring in the
5897 bounds-of-current-word functionality from
5898 `cfengine3--current-word'.
5899
5900 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5901
5902 * window.el (display-buffer-below-selected):
5903 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5904
5905 2013-12-16 Leo Liu <sdl.web@gmail.com>
5906
5907 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5908 Remove NOMSG arg and all uses changed.
5909
5910 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5913 (cua--deactivate-rectangle): Don't deactivate the mark.
5914 (cua-set-rectangle-mark): Don't set mark-active since
5915 cua--activate-rectangle already does it for us.
5916 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5917 non-rectangular region.
5918
5919 * emulation/cua-base.el (cua-repeat-replace-region):
5920 Use with-current-buffer.
5921
5922 * net/gnutls.el: Use cl-lib.
5923 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5924
5925 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5926
5927 * emacs-lisp/package.el (package-built-in-p): Support both
5928 built-in and the package.el converted package descriptions.
5929 (package-show-package-list): Allow keywords.
5930 (package-keyword-button-action): Use it instead of
5931 `finder-list-matches'.
5932 (package-menu-filter-interactive): Interactive filtering (by
5933 keyword) function.
5934 (package-menu--generate): Support keywords and change keymappings
5935 and headers when they are given.
5936 (package--has-keyword-p): Helper function.
5937 (package-menu--refresh): Use it.
5938 (package--mapc): Helper function.
5939 (package-all-keywords): Use it.
5940 (package-menu-mode-map): Set up menu items and keybindings to
5941 provide a filtering UI.
5942
5943 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5944
5945 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5946 the behavior when a certificate fails validation. Defaults to
5947 old behavior: never abort, just warn.
5948 (gnutls-negotiate): Use it.
5949
5950 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5951
5952 * window.el (display-buffer-below-selected): Never split window
5953 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5954
5955 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5956
5957 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5958 (package-buffer-info): Use it (bug#15108).
5959
5960 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * icomplete.el (icomplete-completions): Make sure the prefix is already
5963 displayed elsewhere before hiding it (bug#16219).
5964
5965 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5966
5967 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5968 open-paren tokens when preceded by a open-paren, too.
5969 (ruby-smie-rules): Handle virtual indentation after open-paren
5970 tokens specially. If there is code between it and eol, return the
5971 column where is starts (Bug#16118).
5972
5973 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5974
5975 * progmodes/cfengine.el: Fix `add-hook' doc.
5976 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5977 (cfengine3--current-word): Fix parameters.
5978 (cfengine3-make-syntax-cache): Simplify further.
5979 (cfengine3-completion-function, cfengine3--current-function):
5980 Use `assq' for symbols.
5981 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5982
5983 2013-12-13 Glenn Morris <rgm@gnu.org>
5984
5985 * loadup.el (load-path): Warn if site-load or site-init changes it.
5986 No more need to reset it when bootstrapping.
5987
5988 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5989
5990 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5991 locations for cf-promises.
5992 (cfengine-mode-syntax-functions-regex): New caching variable.
5993 (cfengine3-fallback-syntax): Fallback syntax for cases where
5994 cf-promises doesn't run.
5995 (cfengine3--current-word): Reimplement using
5996 `cfengine-mode-syntax-functions-regex'.
5997 (cfengine3-completion-function, cfengine3--current-function):
5998 Use `cfengine3-make-syntax-cache' directly.
5999 (cfengine3-clear-syntax-cache): New function.
6000 (cfengine3-make-syntax-cache): Simplify and create
6001 `cfengine-mode-syntax-functions-regex' on demand.
6002 (cfengine3-format-function-docstring): Don't call
6003 `cfengine3-make-syntax-cache' explicitly.
6004
6005 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6006
6007 Fix windmove-find-other-window broken after pixelwise resizing
6008 (Bug#16017).
6009 * windmove.el (windmove-other-window-loc): Revert change from
6010 2013-12-04.
6011 (windmove-find-other-window): Call window-in-direction.
6012 * window.el (window-in-direction): New arguments SIGN, WRAP and
6013 MINI to emulate original windmove-find-other-window behavior.
6014
6015 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6016
6017 * simple.el (blink-matching--overlay): New variable.
6018 (blink-matching-open): Instead of moving point, highlight the
6019 matching paren with an overlay
6020 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6021
6022 * faces.el (paren-showing-faces, show-paren-match)
6023 (show-paren-mismatch): Move from paren.el.
6024
6025 2013-12-13 Leo Liu <sdl.web@gmail.com>
6026
6027 * indent.el (indent-region): Disable progress reporter in
6028 minibuffer. (Bug#16108)
6029
6030 * bindings.el (visual-order-cursor-movement): Fix version.
6031
6032 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6033
6034 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6035 Also match after beginning of line.
6036 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6037 files. Thanks to Russell Sim. (Bug#15378)
6038
6039 2013-12-13 Juri Linkov <juri@jurta.org>
6040
6041 * simple.el <Keypad support>: Remove key bindings duplicated
6042 with bindings.el. (Bug#14397)
6043
6044 2013-12-13 Juri Linkov <juri@jurta.org>
6045
6046 * comint.el (comint-mode-map): Replace `delete-char' with
6047 `delete-forward-char'. (Bug#16109)
6048
6049 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6050
6051 * progmodes/python.el (python-indent-calculate-indentation):
6052 Fix de-denters cornercase. (Bug#15731)
6053
6054 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6057 (advice--make): Pay attention to `depth'.
6058 (advice--make-1): Don't autoload commands eagerly.
6059 * emacs-lisp/elp.el (elp-instrument-function):
6060 * emacs-lisp/trace.el (trace-function-internal):
6061 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6062
6063 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6064
6065 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6066
6067 * term/w32-win.el (w32-handle-dropped-file):
6068 * startup.el (normal-top-level):
6069 * net/browse-url.el (browse-url-file-url):
6070 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6071 decode file names using 'utf-8' rather than
6072 file-name-coding-system.
6073
6074 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6075
6076 * progmodes/python.el (python-indent-context)
6077 (python-indent-calculate-indentation): Fix auto-identation
6078 behavior for comment blocks. (Bug#15916)
6079
6080 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6081
6082 * progmodes/python.el (python-indent-calculate-indentation):
6083 When determining indentation, don't treat "return", "pass", etc., as
6084 operators when they are just string constituents. (Bug#15812)
6085
6086 2013-12-12 Juri Linkov <juri@jurta.org>
6087
6088 * uniquify.el (uniquify-buffer-name-style): Change default to
6089 `post-forward-angle-brackets'.
6090
6091 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6092 `uniquify'. Change default to `post-forward-angle-brackets'.
6093
6094 2013-12-11 Glenn Morris <rgm@gnu.org>
6095
6096 * emacs-lisp/package.el (finder-list-matches):
6097 Autoload rather than falsely declaring.
6098
6099 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6100
6101 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6102 (eww-mode-map): Use them.
6103
6104 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6105
6106 * window.el (display-buffer-in-side-window): Fix doc-string
6107 (Bug#16115).
6108
6109 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * vc/vc-git.el: Silence byte-compiler warnings.
6112 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6113 (log-edit-set-header): Declare.
6114
6115 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6116
6117 * Makefile.in (custom-deps, finder-data): Run output file names
6118 through unmsys--file-name. (Bug#16099)
6119
6120 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6123 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6124
6125 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6126 instead of deleting the selection "by hand" (bug#16098).
6127 Rely on insert-for-yank to yank rectangles.
6128 (cua-highlight-region-shift-only): Mark obsolete.
6129 (cua-mode): Don't enable/disable transient-mark-mode,
6130 shift-select-mode (cua-mode works both with and without them), and
6131 pc-selection-mode (obsolete).
6132 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6133 (cua--deactivate-rectangle): Deactivate it.
6134
6135 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6136 (delete-selection-helper): Make sure yank starts at the top of the
6137 deleted region.
6138 (minibuffer-keyboard-quit): Use region-active-p.
6139
6140 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6141
6142 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6143 to `delete' (bug#16109).
6144
6145 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6146
6147 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6148 info manual and show keybindings and set `:group' keyword.
6149
6150 2013-12-11 Juri Linkov <juri@jurta.org>
6151
6152 * delsel.el (delete-active-region): Let-bind `this-command'
6153 to prevent `kill-region' from changing its original value.
6154 (delete-selection-helper): Handle `overwrite-mode' for the type
6155 `kill' exactly the same way as for the type `t'.
6156 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6157 Support more commands. (Bug#13312)
6158
6159 2013-12-11 Juri Linkov <juri@jurta.org>
6160
6161 * bindings.el: Map kp keys to non-kp keys systematically
6162 with basic modifiers control, meta and shift. (Bug#14397)
6163
6164 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6165
6166 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6167 "Close browser" menu items. Fix wrong function of "List
6168 bookmarks".
6169
6170 2013-12-11 Juri Linkov <juri@jurta.org>
6171
6172 * misearch.el (multi-isearch-buffers): Set the value of
6173 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6174 arg of isearch-forward to t.
6175 (multi-isearch-buffers-regexp): Set the value of
6176 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6177 arg of isearch-forward-regexp to t.
6178 (multi-isearch-files): Set the value of
6179 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6180 arg of isearch-forward to t.
6181 (multi-isearch-files-regexp): Set the value of
6182 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6183 arg of isearch-forward-regexp to t. (Bug#16035)
6184
6185 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6186 arg of isearch-forward to t.
6187 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6188 arg of isearch-forward-regexp to t.
6189 (dired-isearch-filter-filenames): Remove unnecessary check for
6190 `dired-isearch-filenames'.
6191
6192 * comint.el (comint-history-isearch-backward):
6193 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6194 (comint-history-isearch-backward-regexp):
6195 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6196
6197 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6198
6199 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6200 unmsys--file-name. (Bug#16099)
6201
6202 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6203
6204 * emacs-lisp/package.el (package-keyword-button-action):
6205 Remove finder.el require dependency.
6206
6207 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6208
6209 * emacs-lisp/package.el: Require finder.el.
6210 (describe-package-1): Add keyword buttons.
6211 (package-make-button): New convenience function.
6212 (package-keyword-button-action): Keyword button action using
6213 `finder-list-matches'.
6214
6215 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6216
6217 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6218 last commit.
6219
6220 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6221
6222 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6223 symlinked files.
6224
6225 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6226
6227 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6228 after the end of a percent literal.
6229
6230 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6231
6232 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6233 Handle caret-delimited strings (Bug#16079).
6234
6235 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6236
6237 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6238 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6239 `ruby-parse-partial' (Bug#16078).
6240
6241 2013-12-09 Leo Liu <sdl.web@gmail.com>
6242
6243 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6244
6245 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6246
6247 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6248 (js-switch-indent-offset): New option.
6249 (js--proper-indentation): Use it. And handle the case when
6250 "default" is actually a key in an object literal.
6251 (js--same-line): New function.
6252 (js--multi-line-declaration-indentation): Use it.
6253 (js--indent-in-array-comp, js--array-comp-indentation):
6254 New functions.
6255 (js--proper-indentation): Use them, to handle array comprehension
6256 continuations.
6257
6258 2013-12-08 Leo Liu <sdl.web@gmail.com>
6259
6260 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6261 (flymake-make-overlay): Remove arg MOUSE-FACE.
6262 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6263
6264 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6267 New function.
6268 (redisplay-highlight-region-function): Use it.
6269
6270 * emulation/cua-base.el (cua--explicit-region-start)
6271 (cua--last-region-shifted): Remove.
6272 (cua--deactivate): Use deactivate-mark.
6273 (cua--pre-command-handler-1): Don't handle shift-selection.
6274 (cua--post-command-handler-1): Don't change transient-mark-mode.
6275 (cua--select-keymaps): Use region-active-p rather than
6276 cua--explicit-region-start or cua--last-region-shifted.
6277 (cua-mode): Enable shift-select-mode.
6278
6279 2013-12-08 Leo Liu <sdl.web@gmail.com>
6280
6281 * progmodes/flymake.el (flymake-popup-current-error-menu):
6282 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6283 (flymake-posn-at-point-as-event, flymake-popup-menu)
6284 (flymake-make-emacs-menu): Remove. (Bug#16077)
6285
6286 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * rect.el (rectangle-mark-mode): Activate mark even if
6289 transient-mark-mode is off (bug#16066).
6290 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6291 is > mark and at bolp.
6292
6293 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6294 (region-extract-function): Use it.
6295 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6296 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6297 Delete functions.
6298 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6299 kill-ring-save, kill-region, delete-char, delete-forward-char.
6300 Ignore self-insert-iso.
6301
6302 * emulation/cua-gmrk.el (cua--init-global-mark):
6303 Ignore `self-insert-iso'.
6304
6305 * emulation/cua-base.el (cua--prefix-copy-handler)
6306 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6307 checking cua--rectangle.
6308 (cua-delete-region): Use region-extract-function.
6309 (cua-replace-region): Delete function.
6310 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6311 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6312 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6313 (cua--init-keymaps): Don't remap delete-selection commands.
6314 (cua-mode): Use delete-selection-mode instead of rolling our own
6315 (bug#16085).
6316
6317 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6318 Obey region-extract-function.
6319
6320 Make registers and delete-selection-mode work on rectangles.
6321 * register.el (describe-register-1): Don't modify the register's value.
6322 (copy-to-register): Obey region-extract-function.
6323 * delsel.el (delete-active-region): Obey region-extract-function.
6324
6325 2013-12-08 Leo Liu <sdl.web@gmail.com>
6326
6327 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6328 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6329 (flymake-compilation-prevents-syntax-check)
6330 (flymake-start-syntax-check-on-newline)
6331 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6332 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6333 (flymake-xml-program, flymake-master-file-dirs)
6334 (flymake-master-file-count-limit)
6335 (flymake-allowed-file-name-masks): Relocate.
6336 (flymake-makehash, flymake-float-time)
6337 (flymake-replace-regexp-in-string, flymake-split-string)
6338 (flymake-get-temp-dir): Remove.
6339 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6340 (flymake-current-row, flymake-selected-frame)
6341 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6342 related functions. (Bug#16077)
6343
6344 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6345
6346 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6347
6348 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6349
6350 * help-fns.el (describe-function-1): Use new advice-* functions
6351 rather than old ad-* functions. Fix function type description and
6352 source links for advised functions and subrs.
6353
6354 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6355
6356 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6357
6358 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * progmodes/compile.el (compilation-start):
6361 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6362
6363 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6364 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6365
6366 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6367
6368 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6369 Touch up the last change.
6370
6371 2013-12-06 Leo Liu <sdl.web@gmail.com>
6372
6373 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6374 (inferior-octave-startup): Always use "octave> " for prompt.
6375 (octave-goto-function-definition)
6376 (octave-sync-function-file-names)
6377 (octave-find-definition-default-filename): Remove redundant backquotes.
6378
6379 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6380
6381 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6382 syntax for `?'.
6383 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6384 where appropriate already.
6385 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6386 end of method names (Bug#15874).
6387
6388 2013-12-06 Juri Linkov <juri@jurta.org>
6389
6390 * isearch.el (isearch--saved-overriding-local-map):
6391 New internal variable.
6392 (isearch-mode): Set it to the initial value of
6393 `overriding-terminal-local-map'.
6394 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6395 with `isearch--saved-overriding-local-map'. (Bug#16035)
6396
6397 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6398
6399 * progmodes/octave.el (inferior-octave-completion-table):
6400 Turn back into function, use `completion-table-with-cache'
6401 (Bug#11906). Update all references.
6402
6403 * minibuffer.el (completion-table-with-cache): New function.
6404
6405 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6406
6407 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6408
6409 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6410
6411 * net/eww.el (eww-current-source): New variable to store page
6412 source.
6413 (eww-display-html, eww-mode, eww-save-history)
6414 (eww-restore-history): Use it.
6415 (eww-view-source): New command to view page source.
6416 Opportunistically uses `html-mode' to highlight the buffer.
6417 (eww-mode-map): Install it.
6418
6419 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * net/dbus.el (dbus-unregister-service)
6422 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6423 Fix docstring.
6424 (dbus-unregister-service): Skip :serial entries in
6425 `dbus-registered-objects-table'.
6426 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6427
6428 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6429
6430 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6431 around keywords with extra `split-string' argument.
6432
6433 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6434
6435 * windmove.el (windmove-other-window-loc): Handle navigation
6436 between windows (excluding the minibuffer window - Bug#16017).
6437
6438 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6439
6440 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6441 in D-Bus type syntax.
6442 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6443 preserve unibyte strings. (Bug#16048)
6444
6445 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6448 Call force-mode-line-update is the proper buffer (bug#16042).
6449
6450 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6451
6452 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6453 `log-edit-remember-comment', make argument optional. Adjust all
6454 callers.
6455 (log-edit-mode): Add `log-edit-remember-comment' to
6456 `kill-buffer-hook' locally.
6457 (log-edit-kill-buffer): Don't remember comment explicitly since
6458 the buffer is killed anyway.
6459
6460 2013-12-04 Juri Linkov <juri@jurta.org>
6461
6462 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6463 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6464
6465 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6466
6467 * notifications.el (notifications-close-notification): Call the
6468 D-Bus method with ID being a `:uint32'. (Bug#16030)
6469
6470 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6471
6472 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6473
6474 2013-12-03 Juri Linkov <juri@jurta.org>
6475
6476 * progmodes/compile.el (compilation-start): Rename window alist
6477 entry `no-display-ok' to `allow-no-window'.
6478
6479 * simple.el (shell-command): Add window alist entry
6480 `allow-no-window' to `display-buffer'.
6481 (async-shell-command): Doc fix.
6482
6483 * window.el (display-buffer-no-window): New action function.
6484 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6485
6486 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6487
6488 * vc/log-edit.el (log-edit-set-header): Extract from
6489 `log-edit-toggle-header'.
6490 (log-edit-extract-headers): Separate the summary, when extracted
6491 from header, from the rest of the message with an empty line.
6492
6493 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6494 line, if present, to the Summary header.
6495
6496 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6499 in current-buffer (bug#16029).
6500
6501 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6502
6503 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6504 (debugger-mode-map): Bind it.
6505 (debugger--backtrace-base): New function.
6506 (debugger-eval-expression): Use it.
6507 (debugger-frame-number): Skip local vars when present.
6508 (debugger--locals-visible-p, debugger--insert-locals)
6509 (debugger--show-locals, debugger--hide-locals): New functions.
6510
6511 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6512
6513 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6514 "LC_ALL".
6515 (tramp-get-remote-locale): New defun.
6516 (tramp-open-connection-setup-interactive-shell): Use it.
6517
6518 2013-12-02 Leo Liu <sdl.web@gmail.com>
6519
6520 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6521
6522 * progmodes/sh-script.el (sh-shell-process):
6523 * progmodes/octave.el (inferior-octave-process-live-p):
6524 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6525 (gdb-inferior-io-sentinel):
6526 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6527
6528 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6529
6530 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6531 `save-selected-window' to `log-edit-hide-buf'. This makes
6532 `log-edit-show-files' idempotent.
6533 (log-edit-show-files): Mark the new window as dedicated.
6534
6535 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6536
6537 * vc/log-edit.el (log-edit-mode-map): Add binding for
6538 `log-edit-kill-biffer'.
6539 (log-edit-hide-buf): Add a FIXME comment.
6540 (log-edit-add-new-comment): New function, extracted from
6541 `log-edit-done'.
6542 (log-edit-done, log-edit-add-to-changelog): Use it.
6543 (log-edit-kill-buffer): New command.
6544
6545 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6546
6547 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6548 instead of killing the buffer.
6549
6550 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6553
6554 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6555
6556 * net/eww.el (eww-form-checkbox-selected-symbol)
6557 (eww-form-checkbox-symbol): New customizable variable.
6558 (eww-form-checkbox, eww-toggle-checkbox):
6559 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6560
6561 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6562 (shr--get-media-pref, shr--extract-best-source): New function.
6563 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6564 no :src tag was specified.
6565
6566 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6567 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6568 Use \\` to match beginning of string instead of ^.
6569 (eww-browse-with-external-browser): Provide optional URL parameter.
6570 (eww-render): Set `eww-current-title' back to "".
6571
6572 * net/shr.el (shr-tag-video): Display content for video if no
6573 poster is available.
6574 (shr-tag-audio): Add support for <audio> tag.
6575
6576 * net/eww.el (eww-text-input-types): New const.
6577 (eww-process-text-input): Treat input types in
6578 `eww-text-input-types' as text.
6579
6580 * net/shr.el (shr-tag-table): Fix comment typo.
6581
6582 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6583
6584 * net/eww.el (eww-follow-link): New command to avoid reloading
6585 pages when we follow #target links (bug#15243).
6586 (eww-quit): Special mode buffers shouldn't query before exiting.
6587
6588 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6589
6590 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6591 forms.
6592
6593 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6594
6595 * net/eww.el (eww-restore-history): Update the window title after
6596 moving in the history.
6597 (eww-current-dom): New variable used to save the current DOM.
6598
6599 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6600
6601 * vc/log-edit.el (log-edit-mode-map): Add binding for
6602 `log-edit-beginning-of-line'.
6603 (log-edit-setup-add-author): New user option.
6604 (log-edit-beginning-of-line): New command.
6605 (log-edit): Move major mode call above the contents setup so that
6606 the local variable values are already applied.
6607 (log-edit): Only insert "Author: " when
6608 `log-edit-setup-add-author' is non-nil.
6609 (log-edit): When SETUP is non-nil, position point after ": "
6610 instead of point-min.
6611
6612 2013-12-01 Glenn Morris <rgm@gnu.org>
6613
6614 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6615
6616 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6617
6618 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6619 redisplay to make sure the initial frame gets a chance to become
6620 visible. (Bug#16014)
6621
6622 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6623
6624 Support resizing frames and windows pixelwise.
6625 * cus-start.el (frame-resize-pixelwise)
6626 (window-resize-pixelwise): New entries.
6627 * emacs-lisp/debug.el (debug): Use window-total-height instead
6628 of window-total-size.
6629 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6630 * help.el (describe-bindings-internal): Use help-buffer as
6631 argument for with-help-window.
6632 (temp-buffer-max-width): New option.
6633 (resize-temp-buffer-window, help-window-setup)
6634 (with-help-window): Rewrite.
6635 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6636 dragging dividers.
6637 * window.el (frame-char-size, window-min-pixel-height)
6638 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6639 (window-min-pixel-width, window-safe-min-pixel-size)
6640 (window-combination-p, window-safe-min-size)
6641 (window-resizable-p, window--size-to-pixel)
6642 (window--pixel-to-size, window--resize-apply-p): New functions.
6643 (window-safe-min-height): Fix doc-string.
6644 (window-size, window-min-size, window--min-size-1)
6645 (window-sizable, window-sizable-p, window--min-delta-1)
6646 (window-min-delta, window--max-delta-1, window-max-delta)
6647 (window--resizable, window--resizable-p, window-resizable)
6648 (window-full-height-p, window-full-width-p, window-at-side-p)
6649 (window--in-direction-2, window-in-direction)
6650 (window--resize-reset-1, window--resize-mini-window)
6651 (window-resize, window-resize-no-error)
6652 (window--resize-child-windows-normal)
6653 (window--resize-child-windows, window--resize-siblings)
6654 (window--resize-this-window, window--resize-root-window)
6655 (window--resize-root-window-vertically)
6656 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6657 (maximize-window, minimize-window, delete-window)
6658 (quit-restore-window, window-split-min-size, split-window)
6659 (balance-windows-2, balance-windows)
6660 (balance-windows-area-adjust, balance-windows-area)
6661 (window--state-get-1, window-state-get, window--state-put-1)
6662 (window--state-put-2, window-state-put)
6663 (display-buffer-record-window, window--display-buffer):
6664 Make functions handle pixelwise sizing of windows.
6665 (display-buffer--action-function-custom-type)
6666 (display-buffer-fallback-action):
6667 Add display-buffer-in-previous-window.
6668 (display-buffer-use-some-window): Resize window to height it had
6669 before.
6670 (fit-window-to-buffer-horizontally): New option.
6671 (fit-frame-to-buffer): Describe new values.
6672 (fit-frame-to-buffer-bottom-margin): Replace with
6673 fit-frame-to-buffer-margins.
6674 (window--sanitize-margin): New function.
6675 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6676 using window-text-pixel-size.
6677
6678 2013-11-30 Glenn Morris <rgm@gnu.org>
6679
6680 * emacs-lisp/bytecomp.el (byte-compile-form):
6681 Make the `interactive-only' warning like the `obsolete' one.
6682 * comint.el (comint-run):
6683 * files.el (insert-file-literally, insert-file):
6684 * replace.el (replace-string, replace-regexp):
6685 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6686 (goto-line, insert-buffer, next-line, previous-line):
6687 Tweak `interactive-only' spec.
6688
6689 Stop keeping (most) generated cedet grammar files in the repository.
6690 * Makefile.in (semantic): New.
6691 (compile-main): Depend on semantic.
6692
6693 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6696 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6697
6698 * uniquify.el (uniquify-buffer-name-style): Change default.
6699
6700 * loadup.el: Preload "uniquify".
6701
6702 * time.el (display-time-update): Update all mode lines (bug#15999).
6703
6704 * electric.el (electric-indent-mode): Enable by default.
6705 * loadup.el: Preload "electric".
6706
6707 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6708
6709 * emacs-lisp/helpers.el (string-empty-p): New function.
6710 (string-blank-p): New function.
6711
6712 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6713
6714 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6715 (Bug#14029).
6716
6717 2013-11-29 Andreas Politz <politza@fh-trier.de>
6718 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6719 allow non-lambda lists as functions.
6720 (imenu--in-alist): Don't recurse into non-subalists.
6721 (imenu): Don't pass function itself as an argument (Bug#14029).
6722
6723 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * progmodes/python.el (python-mode-map): Remove binding for ":".
6726 (python-indent-electric-colon): Remove command.
6727 (python-indent-post-self-insert-function): Integrate the previous code
6728 of python-indent-electric-colon. Make it conditional on
6729 electric-indent-mode.
6730 (python-mode): Add ?: to electric-indent-chars.
6731 Move python-indent-post-self-insert-function to the end of
6732 post-self-insert-hook.
6733
6734 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * doc-view.el (doc-view-goto-page): Update mode-line.
6737
6738 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6739
6740 2013-11-27 Glenn Morris <rgm@gnu.org>
6741
6742 * international/charprop.el, international/uni-bidi.el:
6743 * international/uni-category.el, international/uni-combining.el:
6744 * international/uni-comment.el, international/uni-decimal.el:
6745 * international/uni-decomposition.el, international/uni-digit.el:
6746 * international/uni-lowercase.el, international/uni-mirrored.el:
6747 * international/uni-name.el, international/uni-numeric.el:
6748 * international/uni-old-name.el, international/uni-titlecase.el:
6749 * international/uni-uppercase.el:
6750 Remove generated files from VCS repository.
6751
6752 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6753
6754 * filenotify.el (file-notify-add-watch): Don't special-case
6755 w32notify when computing the directory to watch.
6756
6757 2013-11-27 Glenn Morris <rgm@gnu.org>
6758
6759 Make bootstrap without generated uni-*.el files possible again.
6760 * loadup.el: Update command-line-args checking for unidata-gen.
6761 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6762 * composite.el, international/characters.el:
6763 Handle unicode tables being undefined.
6764
6765 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6766 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6767 (compile-main): Depend on leim rule.
6768 (leim): New rule.
6769 * loadup.el: Move leim-list.el to leim/ subdirectory.
6770 * startup.el (normal-top-level): No more leim directory.
6771 * international/ja-dic-cnv.el (skkdic-convert):
6772 Disable version-control and autoloads in output files.
6773 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6774 Disable version-control and autoloads in output files.
6775 * leim/quail: Move here from ../leim.
6776 * leim/quail/hangul.el (hangul-input-method-activate):
6777 Add autoload cookie.
6778 (generated-autoload-load-name): Set file-local value.
6779 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6780 (generated-autoload-load-name): Set file-local value.
6781
6782 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6783
6784 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6785 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6786 (eww-quit): Ask confirmation before quitting eww.
6787
6788 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6789
6790 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6791 reading output from Diff on MS-Windows and MS-DOS.
6792
6793 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6794
6795 * emacs-lisp/helpers.el (string-reverse): New function.
6796
6797 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6800 names on MS Windows, like "/[::1]:".
6801
6802 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6803 SWITCHES.
6804
6805 2013-11-26 Glenn Morris <rgm@gnu.org>
6806
6807 * progmodes/python.el (python-indent-guess-indent-offset):
6808 Avoid corner-case error. (Bug#15975)
6809
6810 Preload leim-list.el. (Bug#4789)
6811 * loadup.el: Load leim-list.el when found.
6812 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6813
6814 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6815
6816 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6817
6818 * emacs-lisp/helpers.el (string-join): New function.
6819
6820 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6821
6822 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6823 Mark as obsolete and replace it with a symbol property.
6824 (byte-compile-form): Use new 'interactive-only property.
6825 * comint.el, files.el, replace.el, simple.el:
6826 Apply new 'interactive-only properly.
6827
6828 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6829
6830 * window.el (display-buffer-at-bottom): Make sure that
6831 split-window-sensibly creates the new window on bottom
6832 (Bug#15961).
6833
6834 2013-11-23 David Kastrup <dak@gnu.org>
6835
6836 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6837 on the conflict markers when available.
6838 (smerge--get-marker): New function.
6839 (smerge-end-re, smerge-base-re): Add subgroup.
6840
6841 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * frame.el (handle-focus-in, handle-focus-out): Add missing
6844 interactive spec.
6845
6846 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6847
6848 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6849 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6850
6851 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6854 (gomoku--last-pos): New var.
6855 (gomoku--intangible-chars): New const.
6856 (gomoku--intangible): New function.
6857 (gomoku-mode): Use it. Derive from special-mode.
6858 (gomoku-move-up): Adjust line count.
6859 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6860 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6861 Simplify accordingly.
6862
6863 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6864 Remove blink-cursor code.
6865 (blink-cursor-timer-function, blink-cursor-suspend):
6866 Don't special-case GUIs.
6867 (blink-cursor-mode): Use focus-in/out-hook.
6868
6869 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6870
6871 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6872 work when annotation is invisible (Bug#13886).
6873
6874 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6875
6876 * json.el (json-alist-p): Only return non-nil if the alist has
6877 simple keys (Bug#13518).
6878
6879 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6880
6881 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6882 when control-statement is the first statement in a buffer (Bug#15956).
6883
6884 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6885
6886 * imenu.el (imenu-generic-skip-comments-and-strings):
6887 New option (Bug#15560).
6888 (imenu--generic-function): Use it.
6889
6890 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6891
6892 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6893 (Bug#13898)
6894
6895 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6896
6897 * emacs-lisp/helpers.el: Add some string helpers.
6898 (string-trim-left): Removes leading whitespace.
6899 (string-trim-right): Removes trailing whitespace.
6900 (string-trim): Removes leading and trailing whitespace.
6901
6902 * subr.el (string-suffix-p): New function.
6903
6904 2013-11-23 Glenn Morris <rgm@gnu.org>
6905
6906 * progmodes/python.el (python-shell-send-file):
6907 Add option to delete file when done. (Bug#15647)
6908 (python-shell-send-string, python-shell-send-region): Use it.
6909
6910 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6911
6912 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6913 to set buffer-read-only to t, never to nil. (Bug#15938)
6914
6915 * textmodes/tex-mode.el (latex-noindent-environments):
6916 Add safe-local-variable property. (Bug#15936)
6917
6918 2013-11-23 Glenn Morris <rgm@gnu.org>
6919
6920 * textmodes/enriched.el (enriched-mode): Doc fix.
6921 * emacs-lisp/authors.el (authors-renamed-files-alist):
6922 Add enriched.doc -> enriched.txt.
6923
6924 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6925
6926 2013-11-22 Leo Liu <sdl.web@gmail.com>
6927
6928 * progmodes/octave.el (inferior-octave-startup): Spit out error
6929 message.
6930
6931 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6932
6933 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6934 Improve docstring.
6935 Add :version.
6936 (ruby-encoding-magic-comment-style): Add :version.
6937
6938 2013-11-22 Leo Liu <sdl.web@gmail.com>
6939
6940 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6941 (Bug#15076)
6942 (octave-help-mode): Adapt to change to help-mode-finish to use
6943 derived-mode-p on 2013-09-17.
6944 (inferior-octave-prompt): Also match octave-gui.
6945 (octave-kill-process): Don't ask twice. (Bug#10564)
6946
6947 2013-11-22 Leo Liu <sdl.web@gmail.com>
6948
6949 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6950 (inferior-octave-startup, inferior-octave-check-process)
6951 (inferior-octave-track-window-width-change)
6952 (octave-completion-at-point, octave-eldoc-function): Use it.
6953 (octave-kill-process): Provide confirmation. (Bug#10564)
6954
6955 2013-11-21 Leo Liu <sdl.web@gmail.com>
6956
6957 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6958 Fix obsolete variable comment-use-global-state.
6959
6960 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6961
6962 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6963 Add `octave-source-file'.
6964 (octave-source-file): New function. (Bug#15935)
6965
6966 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6967
6968 * net/eww.el (eww-local-regex): New variable.
6969 (eww): Use it to detect localhost and similar.
6970
6971 2013-11-21 Leo Liu <sdl.web@gmail.com>
6972
6973 Add completion for command `ag'.
6974 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6975 (pcomplete/ag): New function.
6976 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6977
6978 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6981 (bug#14646).
6982 (make-obsolete): Remove interactive spec.
6983
6984 2013-11-21 Glenn Morris <rgm@gnu.org>
6985
6986 * startup.el (command-line-1): Use path-separator with -L.
6987
6988 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6989
6990 * emacs-lisp/package.el (describe-package-1): Add package archive
6991 to shown fields.
6992
6993 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6994
6995 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6996 Change default to "# encoding: %s" to differentiate it from the
6997 default Ruby encoding comment template.
6998
6999 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7000
7001 * ses.el (ses-mode): Doc fix. (Bug#14748)
7002
7003 2013-11-20 Leo Liu <sdl.web@gmail.com>
7004
7005 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7006
7007 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7008
7009 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7010 when rebase or bisect are in progress.
7011
7012 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7013
7014 * filenotify.el (file-notify-add-watch): Doc fix.
7015
7016 2013-11-19 Leo Liu <sdl.web@gmail.com>
7017
7018 * obsolete/rcompile.el: Mark obsolete.
7019
7020 * progmodes/compile.el (compilation-start)
7021 (compilation-goto-locus, compilation-find-file):
7022 Pass no-display-ok and handle nil value from display-buffer.
7023 (Bug#13594)
7024
7025 * window.el (display-buffer-alist, display-buffer): Document the
7026 new parameter no-display-ok. Return either a window or nil
7027 but never a non-window value.
7028
7029 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * electric.el (electric-indent-mode-map): Remove.
7032 (electric-indent-mode): Change the global-map instead (bug#15915).
7033
7034 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7035 Use add-function.
7036
7037 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * emacs-lisp/nadvice.el (remove-function): Align with
7040 add-function's behavior.
7041
7042 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7043 (gdb--string-regexp): New constant.
7044 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7045 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7046 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7047 submatch 1.
7048 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7049 Adjust use accordingly.
7050 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7051
7052 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7053
7054 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7055 interpolation curlies (Bug#15914).
7056
7057 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7058
7059 * calc/calc.el (calc-context-sensitive-enter): New variable.
7060 (calc-enter): Use `calc-context-sensitive-enter'.
7061
7062 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7063
7064 * progmodes/cfengine.el: Version bump.
7065 (cfengine-cf-promises): New defcustom to locate cf-promises.
7066 (cfengine3-vartypes): Add new "data" type.
7067 (cfengine3--current-word): New function to get current name-like
7068 word or its bounds.
7069 (cfengine3--current-function): New function to look up a CFEngine
7070 function's definition.
7071 (cfengine3-format-function-docstring): New function.
7072 (cfengine3-make-syntax-cache): New function.
7073 (cfengine3-documentation-function): New function: ElDoc glue.
7074 (cfengine3-completion-function): New function: completion glue.
7075 (cfengine3-mode): Set `compile-command',
7076 `eldoc-documentation-function', and add to
7077 `completion-at-point-functions'.
7078
7079 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7080
7081 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7082 `tramp-current-connection'.
7083
7084 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7085
7086 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7087 nil/self/true/false with "end of symbol".
7088
7089 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7090
7091 * subr.el (version-regexp-alist): Fix a typo.
7092
7093 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7094
7095 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7096 "en_US.utf8" and "LC_CTYPE" to "".
7097 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7098 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7099
7100 2013-11-15 Leo Liu <sdl.web@gmail.com>
7101
7102 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7103
7104 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * progmodes/gud.el (ctl-x-map):
7107 Remove C-x SPC binding. (Bug#12342)
7108 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7109
7110 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7111
7112 * subr.el (version-regexp-alist):
7113 Recognize hg, svn and darcs versions as snapshot versions.
7114
7115 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7116 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7117 (ruby--encoding-comment-required-p): Extract from
7118 `ruby-mode-set-encoding'.
7119 (ruby-mode-set-encoding): Add the ability to always insert an
7120 utf-8 encoding comment. Fix and simplify coding comment update
7121 logic.
7122
7123 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7124
7125 * net/tramp-gvfs.el (top): Run init code only when
7126 `tramp-gvfs-enabled' is not nil.
7127 (tramp-gvfs-enabled): Check also :system bus.
7128
7129 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 Sync with upstream verilog-mode revision 78e66ba.
7132 * progmodes/verilog-mode.el (verilog-end-of-defun)
7133 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7134 (verilog-get-end-of-defun): Remove unused argument.
7135 (verilog-comment-depth): Remove unused local `e'.
7136 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7137 Don't pass arg to verilog-get-end-of-defun.
7138
7139 2013-11-14 Glenn Morris <rgm@gnu.org>
7140
7141 * obsolete/assoc.el (aget): Prefix dynamic variable.
7142
7143 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7144
7145 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * widget.el, hfy-cmap.el: Remove bogus package version number.
7148
7149 2013-11-13 Glenn Morris <rgm@gnu.org>
7150
7151 * replace.el (replace-eval-replacement):
7152 Try to give more helpful error message. (Bug#15836)
7153
7154 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7155 (archive-7z-update): Avoid custom type mismatches.
7156
7157 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7158
7159 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7162 address can be empty.
7163
7164 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7165 Accept nil SWITCHES.
7166 (tramp-gvfs-handle-write-region): Implement APPEND.
7167
7168 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7169
7170 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7171 binary "|" operator and closing block args delimiter.
7172 Remove FIXME comment referring to Ruby 1.8-only syntax.
7173 (ruby-smie--implicit-semi-p): Not after "|" operator.
7174 (ruby-smie--closing-pipe-p): New function.
7175 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7176 (ruby-smie-rules): Indent after "|".
7177
7178 2013-11-12 Glenn Morris <rgm@gnu.org>
7179
7180 * ps-print.el (ps-face-attribute-list):
7181 Handle anonymous faces. (Bug#15827)
7182
7183 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7184
7185 * window.el (display-buffer-other-frame): Fix doc-string.
7186 (Bug#15868)
7187
7188 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7191
7192 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7195 (tramp-sh-handle-file-local-copy): Don't write a message when
7196 saving temporary files.
7197
7198 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7199 both directories are remote.
7200 (tramp-smb-handle-directory-files): Do not return double entries.
7201 Do not expand full file names.
7202 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7203 (tramp-smb-handle-write-region): Implement APPEND.
7204 (tramp-smb-get-stat-capability): Fix a stupid bug.
7205
7206 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7209
7210 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7211
7212 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7213 throwing error over malformed let/let* (bug#15814).
7214
7215 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * iswitchb.el (iswitchb-mode): Mark obsolete.
7218
7219 2013-11-11 Glenn Morris <rgm@gnu.org>
7220
7221 * international/uni-bidi.el, international/uni-category.el:
7222 * international/uni-name.el, international/uni-numeric.el:
7223 Regenerate for Unicode 6.3.0.
7224
7225 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7226
7227 * net/tramp.el (tramp-methods):
7228 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7229 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7230
7231 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7232
7233 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7234 Force highlighting text after Summary keyword in doc face for rpm.
7235
7236 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7237
7238 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7239 available and the word has no wildcards, append one to the grep pattern.
7240 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7241 (ispell-complete-word): Call `ispell-lookup-words' with the value
7242 independent of `ispell-look-p'.
7243
7244 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7245
7246 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7247 Not after "||".
7248 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7249 their parent.
7250
7251 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7254 (ruby-font-lock-keywords): Use backquote.
7255
7256 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7257
7258 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7259 (ruby-smie--backward-token): Only consider full-string matches.
7260
7261 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7262
7263 * faces.el (describe-face): Add distant-foreground.
7264
7265 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7266
7267 * progmodes/ruby-mode.el: Improve encoding comment handling.
7268 (ruby-encoding-magic-comment-style): New option.
7269 (ruby-custom-encoding-magic-comment-template): New option.
7270 (ruby--insert-coding-comment, ruby--detect-encoding):
7271 New functions extracted from `ruby-mode-set-encoding'.
7272 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7273 to control the style of the auto-inserted encoding comment.
7274
7275 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7276
7277 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7278 Use `smie-backward-sexp' with token argument.
7279
7280 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7283 Remove instrumentation code.
7284
7285 2013-11-08 Glenn Morris <rgm@gnu.org>
7286
7287 * progmodes/autoconf.el (autoconf-mode):
7288 Tweak comment-start-skip. (Bug#15822)
7289
7290 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7293 at bobp (bug#15826).
7294 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7295
7296 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7297
7298 * man.el (Man-start-calling): New macro, extracted from
7299 Man-getpage-in-background.
7300 (Man-getpage-in-background): Use it.
7301 (Man-update-manpage): New command.
7302 (Man-mode-map): Bind it.
7303
7304 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7305
7306 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7307 of "and", "or", "&&" and "||".
7308 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7309 argument. Prohibit opening curly brace because it could only be a
7310 block opener in that position.
7311 (ruby-smie--forward-token, ruby-smie--backward-token):
7312 Separate "|" from "&" or "*" going after it. That can happen in block
7313 arguments.
7314 (ruby-smie--indent-to-stmt): New function, seeks the end of
7315 previous statement or beginning of buffer.
7316 (ruby-smie-rules): Use it.
7317 (ruby-smie-rules): Check if there's a ":" before a curly block
7318 opener candidate; if there is, it's a hash.
7319
7320 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7323 (cl--block-wrapper): Fix last accidental change.
7324
7325 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7326
7327 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7328 Instrument, in order to hunt failure on hydra.
7329
7330 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7331
7332 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7333 malformed bindings form (bug#15814).
7334
7335 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7336
7337 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7338 "." compared to " @ ". This incidentally fixes some indentation
7339 examples with "do".
7340 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7341 (ruby-smie-grammar): New tokens: "and" and "or".
7342 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7343 Exclude "and" and "or". Remove "do" in order to work around token
7344 priorities.
7345 (ruby-smie-rules): Add all infix tokens. Handle the case of
7346 beginning-of-buffer.
7347
7348 2013-11-06 Glenn Morris <rgm@gnu.org>
7349
7350 * Makefile.in (setwins_almost, setwins_for_subdirs):
7351 Avoid accidental matches.
7352
7353 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * menu-bar.el (popup-menu): Use key-binding.
7356
7357 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7358
7359 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7360 menus, support also the menus produced by minor modes.
7361 (Bug#15817)
7362
7363 2013-11-06 Leo Liu <sdl.web@gmail.com>
7364
7365 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7366 DISTANCE to bound the search. All uses changed. (Bug#15808)
7367
7368 2013-11-06 Glenn Morris <rgm@gnu.org>
7369
7370 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7371 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7372 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7373
7374 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * electric.el (electric-indent-just-newline): New command.
7377 (electric-indent-mode-map): New keymap.
7378 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7379 Re-add :group which weren't redundant.
7380
7381 * electric.el (electric-indent-local-mode): New minor mode.
7382 (electric-indent-functions-without-reindent): New var.
7383 (electric-indent-post-self-insert-function): Use it.
7384 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7385
7386 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7387
7388 * international/quail.el (quail-help): Be more explicit about the
7389 meaning of the labels shown on the keys. (Bug#15800)
7390
7391 * startup.el (normal-top-level): Load the subdirs.el files before
7392 setting the locale environment. (Bug#15805)
7393
7394 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7397 via arguments so as to get the right ones (bug#15418).
7398
7399 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7400
7401 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7402
7403 Fix problems found while writing a test suite.
7404
7405 * net/tramp-compat.el (tramp-compat-load): New defun.
7406 * net/tramp.el (tramp-handle-load): Use it.
7407
7408 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7409 "(numberp ok-if-already-exists)" correctly.
7410
7411 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7412
7413 * international/characters.el (glyphless-char-display-control):
7414 Add usage note.
7415
7416 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7417
7418 * progmodes/python.el (python-mode):
7419 * progmodes/scheme.el (scheme-mode):
7420 * progmodes/prolog.el (prolog-mode):
7421 * progmodes/ruby-mode.el (ruby-mode):
7422 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7423 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7424
7425 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * rect.el (rectangle--highlight-for-redisplay):
7428 * emacs-lisp/smie.el (smie--next-indent-change):
7429 Use buffer-chars-modified-tick.
7430
7431 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7432
7433 * electric.el (electric-indent-post-self-insert-function):
7434 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7435
7436 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7437
7438 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7439
7440 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7441
7442 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7443 (bug#15786).
7444
7445 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7448
7449 * progmodes/python.el: Fix up last change.
7450 (python-shell--save-temp-file): New function.
7451 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7452 `string' comes from the current buffer.
7453 (python-shell-send-string-no-output): Remove `msg' arg.
7454 (python--use-fake-loc): New var.
7455 (python-shell-buffer-substring): Obey it. Try to compensate for the
7456 extra coding line added by python-shell--save-temp-file.
7457 (python-shell-send-region): Use python-shell--save-temp-file and
7458 python-shell-send-file directly. Add `nomain' argument.
7459 (python-shell-send-buffer): Use python-shell-send-region.
7460 (python-electric-pair-string-delimiter): New function.
7461 (python-mode): Use it.
7462
7463 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7464
7465 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7466 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7467 environment and decoding all of the default-directory's to here
7468 from command-line.
7469 (command-line): Decode also argv[0].
7470
7471 * loadup.el: Error out if default-directory is a multibyte string
7472 when we are dumping.
7473
7474 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7475
7476 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7477
7478 * emacs-lisp/package.el (package-menu-mode)
7479 (package-menu--print-info, package-menu--archive-predicate):
7480 Add Archive column to package list.
7481
7482 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7483
7484 Fix problems found while writing a test suite.
7485
7486 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7487 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7488 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7489 to nil when running original file name handler. Otherwise,
7490 there are problems with constructs like "$$FOO".
7491
7492 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7493 for `localname'.
7494
7495 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7496
7497 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7498
7499 * subr.el (version<, version<=, version=):
7500 Update docstrings with information for snapshot versions.
7501
7502 * helpers.el: New library for misc helper functions.
7503 (hash-table-keys): New function returning a list of hash keys.
7504 (hash-table-values): New function returning a list of hash values.
7505
7506 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7507
7508 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7509 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7510
7511 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7512
7513 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7514 checking whether point is after a 1-letter word.
7515
7516 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7517
7518 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7519 Don't infloop when expanding region over `multiline' syntax-type that
7520 begins a line (bug#15778).
7521
7522 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7525 Make it into a proper minor mode.
7526 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7527 (rectangle-mark-mode-map): New keymap.
7528 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7529
7530 2013-11-04 Glenn Morris <rgm@gnu.org>
7531
7532 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7533
7534 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7537 (ruby-smie-rules): Use smie-rule-parent instead.
7538
7539 * emacs-lisp/smie.el (smie-rule-parent): Always call
7540 smie-indent-virtual rather than only for hanging tokens.
7541 (smie--next-indent-change): New helper command.
7542
7543 2013-11-03 Glenn Morris <rgm@gnu.org>
7544
7545 * Makefile.in (abs_srcdir): Remove.
7546 (emacs): Unset EMACSLOADPATH.
7547
7548 2013-11-02 Glenn Morris <rgm@gnu.org>
7549
7550 * Makefile.in (EMACS): Use a relative filename.
7551 (abs_top_builddir): Remove.
7552 (custom-deps, finder-data, autoloads): Use --chdir.
7553
7554 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7555
7556 Use relative filenames in TAGS files.
7557 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7558 (lisptagsfiles4, TAGS): Use relative file names.
7559 (TAGS-LISP): Remove.
7560 (maintainer-clean): No more TAGS-LISP file.
7561
7562 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7563 (lisptagsfiles4): Use absolute filenames again.
7564 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7565 Remove all *loaddefs files, not just the first. Remove esh-groups.
7566 (maintainer-clean): Delete TAGS, TAGS-LISP.
7567
7568 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7569
7570 * emacs-lisp/package.el (package-version-join):
7571 Recognize snapshot versions.
7572
7573 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7574
7575 * subr.el (version-regexp-alist): Add support for snapshot versions.
7576
7577 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7578
7579 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7580 New function, replacement for `smie-rule-parent' for when we want to
7581 skip over our direct parent if it's an assignment token..
7582 (ruby-smie-rules): Use it.
7583
7584 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7585
7586 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7587 unconditionally. Remove now unnecessary forward declarations.
7588 Remove XEmacs-specific setup.
7589 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7590 (ruby-font-lock-syntactic-keywords)
7591 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7592 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7593 (ruby-here-doc-end-syntax): Remove.
7594 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7595 defined as function.
7596
7597 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7598
7599 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7600
7601 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7602
7603 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7604 table and abbrev table, `define-derived-mode' does that for us
7605 anyway.
7606
7607 2013-11-01 Glenn Morris <rgm@gnu.org>
7608
7609 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7610 files is atomic for some time, so no parallel compilation issues).
7611
7612 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7613
7614 * faces.el (face-x-resources): Add :distant-foreground.
7615 (region): Use :distant-foreground for gtk and ns.
7616
7617 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7618
7619 Allow multiple bibliographies when BibLaTeX is used rather than
7620 BibTeX.
7621 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7622 (reftex-locate-bibliography-files): Us it.
7623
7624 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7625
7626 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7627 allow comments in pbm files.
7628
7629 * term/w32-win.el (dynamic-library-alist): Support newer versions
7630 of libjpeg starting with v7: look only for the DLL from the
7631 version against which Emacs was built.
7632 Support versions of libpng beyond 1.4.x.
7633 Support libtiff v4.x.
7634
7635 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7636
7637 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7638 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7639 Add property :safe.
7640 (ruby-deep-arglist): Add property :type.
7641
7642 2013-10-31 Glenn Morris <rgm@gnu.org>
7643
7644 * Makefile.in (custom-deps, finder-data): No need to setq the target
7645 variables, we are in the right directory and the defaults work fine.
7646
7647 2013-10-30 Glenn Morris <rgm@gnu.org>
7648
7649 * Makefile.in (autoloads): Do not use abs_lisp.
7650
7651 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7652 `newline' does not respect `standard-output', so use `princ'.
7653
7654 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7655
7656 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7657 * buff-menu.el (Buffer-menu--unmark): New function.
7658 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7659
7660 2013-10-30 Glenn Morris <rgm@gnu.org>
7661
7662 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7663
7664 * emacs-lisp/package.el (lm-homepage): Declare.
7665
7666 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7667 Fix doc typos.
7668
7669 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7670
7671 * Makefile.in (finder-data, autoloads, update-subdirs)
7672 (compile-main, compile-clean, compile-always, bootstrap-clean):
7673 Check return value of cd.
7674 (compile-calc): Remove.
7675
7676 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7679
7680 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7681 (byte-compile-and-folded): New function.
7682 (=, <, >, <=, >=): Use it.
7683
7684 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7685 (path-separator, null-device, buffer-file-coding-system)
7686 (lpr-headers-switches): Check system-type before modifying them.
7687 (find-buffer-file-type-coding-system): Mark obsolete.
7688 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7689 find-file-not-found-set-buffer-file-coding-system.
7690 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7691 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7692 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7693 (w32-direct-print-region-helper, w32-direct-print-region-function)
7694 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7695 * startup.el (normal-top-level-add-subdirs-to-load-path):
7696 * ps-print.el (ps-print-region-function):
7697 * lpr.el (print-region-function): Use new name.
7698
7699 * subr.el (custom-declare-variable-early): Remove function.
7700 (custom-declare-variable-list): Remove var.
7701 (error, user-error): Remove `while' loop.
7702 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7703 (user-emacs-directory-warning, locate-user-emacs-file):
7704 Move to files.el.
7705 * simple.el (read-quoted-char-radix, read-quoted-char):
7706 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7707 Move from subr.el.
7708 * custom.el (custom-declare-variable-list): Don't process
7709 custom-declare-variable-list.
7710
7711 * progmodes/python.el (python-shell-get-buffer): New function.
7712 (python-shell-get-process): Use it.
7713 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7714 Python which encoding was used. Don't split-string since we only care
7715 about the first line. Return the temp-file, if applicable.
7716 (python-shell-send-region): Tell compile.el how to turn locations in
7717 the temp-file into locations in the source buffer.
7718
7719 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * subr.el (undefined): Add missing behavior from the C code for
7722 unbound keys.
7723
7724 * rect.el: Use lexical-binding. Add new rectangular region support.
7725 (rectangle-mark): New command.
7726 (rectangle--region): New var.
7727 (deactivate-mark-hook): Reset rectangle--region.
7728 (rectangle--extract-region, rectangle--insert-for-yank)
7729 (rectangle--highlight-for-redisplay)
7730 (rectangle--unhighlight-for-redisplay): New functions.
7731 (region-extract-function, redisplay-unhighlight-region-function)
7732 (redisplay-highlight-region-function): Use them to handle
7733 rectangular region.
7734 * simple.el (region-extract-function): New var.
7735 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7736 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7737 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7738 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7739 (redisplay-unhighlight-region-function)
7740 (redisplay-highlight-region-function): New vars.
7741 (redisplay--update-region-highlight): New function.
7742 (pre-redisplay-function): Use it.
7743 (exchange-point-and-mark): Don't deactivate the mark before
7744 reactivate-it anyway.
7745 * comint.el (comint-kill-region): Remove yank-handler argument.
7746 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7747 (delete-char): Remove property, since it's now part of their
7748 default behavior.
7749 (self-insert-iso): Remove property since this command doesn't exist.
7750
7751 * emacs-lisp/package.el (package--download-one-archive)
7752 (describe-package-1): Don't query the user about final newline.
7753
7754 2013-10-29 Daniel Colascione <dancol@dancol.org>
7755
7756 * net/tramp.el (tramp-methods): Document new functionality.
7757 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7758 tramp-hostname-checker if method provides one instead of scanning
7759 argument list for "%h" to decide hostname acceptability.
7760
7761 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7762
7763 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7764 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7765 Handle COPY-CONTENTS. (Bug#15737)
7766
7767 2013-10-28 Daiki Ueno <ueno@gnu.org>
7768
7769 * epa-file.el
7770 (epa-file-cache-passphrase-for-symmetric-encryption):
7771 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7772
7773 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7774
7775 * image.el (defimage, image-load-path): Doc fixes.
7776
7777 2013-10-27 Alan Mackenzie <acm@muc.de>
7778
7779 Indent statements in macros following "##" correctly.
7780 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7781 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7782
7783 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7784
7785 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7786
7787 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7788
7789 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7790 after `=' is probably a new expression.
7791
7792 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7793
7794 * man.el (man-imenu-title): New option.
7795 (Man-mode-map): Add menu. (Bug#15722)
7796 (Man-mode): Add imenu to menu.
7797
7798 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7799
7800 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7801 specific in what the first arg can be: a non-keyword word,
7802 string/regexp/percent literal opener, opening paren, or unary
7803 operator followed directly by word.
7804
7805 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7808 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7809 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7810 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7811 Remove vars, they do not apply any more.
7812 (prolog-mode-abbrev-table): Remove redundant declaration.
7813 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7814 (prolog-use-smie): Remove.
7815 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7816 supported by prolog-electric-if-then-else-flag.
7817 (prolog-mode-variables, prolog-menu): Use setq-local.
7818 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7819 Remove binding to `Backspace' since this key doesn't exist anyway.
7820 Remove bindings for electric self-inserting keys.
7821 (prog-mode): Assume it's defined.
7822 (prolog-post-self-insert): New function.
7823 (prolog-mode): Use it.
7824 (prolog-indent-line, prolog-indent-level)
7825 (prolog-find-indent-of-matching-paren)
7826 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7827 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7828 (prolog-goto-next-paren, prolog-in-string-or-comment)
7829 (prolog-tokenize, prolog-inside-mline-comment)
7830 (prolog-find-start-of-mline-comment): Remove functions.
7831 (prolog-find-unmatched-paren, prolog-clause-end)
7832 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7833 (prolog-electric--if-then-else): Rename from
7834 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7835 (prolog-tokenize-searchkey): Remove const.
7836 (prolog-clause-info): Use forward-sexp.
7837 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7838 (prolog-electric-if-then-else): Remove commands.
7839 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7840 for use in post-self-insert-hook.
7841 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7842 for use in post-self-insert-hook.
7843 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7844 for use in post-self-insert-hook.
7845 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7846 adapt it for use in post-self-insert-hook.
7847
7848 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7849
7850 * emacs-lisp/ert.el (ert-run-tests-interactively):
7851 Use `completing-read'. (Bug#9756)
7852
7853 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7854
7855 * simple.el (line-move): Call line-move-1 instead of
7856 line-move-visual when the current window hscroll is zero, but
7857 temporary-goal-column indicates we will need to hscroll as result
7858 of the movement. (Bug#15712)
7859
7860 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7861
7862 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7863 capitalization. Use :visible instead of :active.
7864 Fix `ruby-indent-exp' reference. Add menu items for the generic
7865 commands that are used with SMIE.
7866 (ruby-do-end-to-brace): Insert space after `{'.
7867
7868 2013-10-25 John Anthony <john@jo.hnanthony.com>
7869
7870 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7871
7872 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7873
7874 2013-10-25 Glenn Morris <rgm@gnu.org>
7875
7876 * vc/vc.el (vc-print-log): Don't use a working revision unless
7877 one was explicitly specified. (Bug#15322)
7878
7879 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * subr.el (add-to-list): Preserve return value in compiler-macro
7882 (bug#15692).
7883
7884 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7885
7886 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7887 result. Ask user to retry using '-all' flag. (Bug#15701)
7888
7889 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/smie.el: New smie-config system.
7892 (smie-config): New defcustom.
7893 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7894 (smie-config-guess, smie-config-save): New commands.
7895 (smie-config--mode-local, smie-config--buffer-local)
7896 (smie-config--trace, smie-config--modefuns): New vars.
7897 (smie-config--advice, smie-config--mode-hook)
7898 (smie-config--setter, smie-config-local, smie-config--get-trace)
7899 (smie-config--guess-value, smie-config--guess): New functions.
7900 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7901 text properties. Treat "string fence" syntax like string syntax.
7902
7903 * progmodes/sh-script.el (sh-use-smie): Change default.
7904 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7905 (sh-var-value): Simplify by CSE.
7906 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7907 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7908 is used.
7909 (sh-guess-basic-offset): Use cl-incf.
7910 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7911
7912 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7913
7914 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7915 (bug#15699).
7916
7917 2013-10-24 Glenn Morris <rgm@gnu.org>
7918
7919 * Makefile.in (abs_top_srcdir): Remove.
7920 (update-subdirs): Use relative path to update-subdirs.
7921
7922 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7923
7924 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7925 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7926 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7927 Call unmsys--file-name before expand-file-name, not after it.
7928
7929 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7930
7931 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7932 (ert-test-skipped): New error.
7933 (ert-skip, ert-stats-skipped): New defuns.
7934 (ert--skip-unless): New macro.
7935 (ert-test-skipped): New struct.
7936 (ert--run-test-debugger, ert-test-result-type-p)
7937 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7938 (ert--stats-set-test-and-result, ert-char-for-test-result)
7939 (ert-string-for-test-result, ert-run-tests-batch)
7940 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7941 Handle skipped tests. (Bug#9803)
7942
7943 2013-10-24 Glenn Morris <rgm@gnu.org>
7944
7945 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7946
7947 * Makefile.in (abs_top_srcdir): New, set by configure.
7948 (update-subdirs): Correct build-aux location.
7949
7950 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7951
7952 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7953 value, whether we could auto-deduce `backend', or not.
7954
7955 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7956 with parameters" example. Simplify the "is it block or is it
7957 hash" check, but also make it more thorough.
7958
7959 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7960
7961 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7962
7963 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7966 { if it is hanging.
7967
7968 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7969 :before ";".
7970
7971 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7972
7973 * progmodes/compile.el (compilation-directory-matcher)
7974 (compilation-page-delimiter):
7975 Support GNU Make-4.0 directory quoting. (Bug#15678)
7976
7977 2013-10-23 Leo Liu <sdl.web@gmail.com>
7978
7979 * ido.el (ido-tidy): Handle read-only text.
7980
7981 2013-10-23 Glenn Morris <rgm@gnu.org>
7982
7983 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7984 (emacs, compile, compile-always):
7985 Quote entities that might contain whitespace.
7986 (custom-deps, finder-data, autoloads): Use abs_lisp.
7987 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7988 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7989 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7990
7991 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7992
7993 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7994 Use `following-char'.
7995
7996 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7999 * progmodes/ruby-mode.el (ruby-smie-rules):
8000 Remove corresponding workaround. Fix indentation rule of ";" so it
8001 also applies when ";" is the parent.
8002
8003 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8004
8005 * frame.el (display-screens, display-pixel-height)
8006 (display-pixel-width, display-mm-width, display-backing-store)
8007 (display-save-under, display-planes, display-color-cells)
8008 (display-visual-class, display-monitor-attributes-list):
8009 Mention the optional ‘display’ argument in doc strings.
8010
8011 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8012
8013 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8014 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8015
8016 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8017
8018 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8019 TODO. Add "." after " @ ".
8020 (ruby-smie--at-dot-call): New function. Checks if point at method
8021 call with explicit target.
8022 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8023 to the method name tokens when it precedes them.
8024 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8025 (ruby-smie-rules): Add rule for indentation before and after "."
8026 token.
8027
8028 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * textmodes/remember.el (remember-diary-extract-entries):
8031 Avoid add-to-list.
8032
8033 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8034 an instruction.
8035
8036 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8037
8038 * progmodes/ruby-mode.el (ruby-smie-grammar):
8039 Add (almost) all infix operators.
8040 (ruby-smie--implicit-semi-p): Add new operator chars.
8041
8042 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8043 `smie-down-list'.
8044 (ruby-smie--args-separator-p): Check that there's no newline
8045 between method call and its arguments.
8046
8047 2013-10-20 Alan Mackenzie <acm@muc.de>
8048
8049 Allow comma separated lists after Java "implements".
8050
8051 * progmodes/cc-engine.el (c-backward-over-enum-header):
8052 Parse commas.
8053 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8054 from a "disallowed" list in enum fontification.
8055
8056 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8057
8058 * startup.el (default-frame-background-mode): Remove unused defvar.
8059
8060 * progmodes/verilog-mode.el (verilog-mode): Don't set
8061 comment-indent-function globally.
8062
8063 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8064
8065 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8066 Move Info menu item creation to ns-win.el.
8067
8068 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8069 in menu bar.
8070
8071 * menu-bar.el: Move GNUstep specific menus...
8072
8073 * term/ns-win.el (ns-initialize-window-system): ... to here.
8074
8075 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * simple.el (newline): Only run post-self-insert-hook when
8078 called interactively.
8079
8080 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8081
8082 * icomplete.el (icomplete-with-completion-tables): Add :version.
8083
8084 2013-10-19 Alan Mackenzie <acm@muc.de>
8085
8086 Fix fontification bugs with constructors and const.
8087
8088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8089 CASE 2) Remove the check for the absence of a suffix construct
8090 after a function declaration with only types (no identifiers) in
8091 the parentheses. Also, accept a function declaration with just a
8092 type inside the parentheses, if this type can be positively
8093 recognised as such, or if a prefix keyword like "explicit" nails
8094 down the construct as a declaration.
8095
8096 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8097
8098 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8099 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8100 the problem whereby selecting a menu item that leads to a
8101 minibuffer prompt moves the cursor out of the minibuffer window,
8102 making it hard to type at the prompt. Suggested by Stefan Monnier
8103 <monnier@iro.umontreal.ca>.
8104
8105 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8106
8107 * menu-bar.el: Don't make Services menu.
8108
8109 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8110
8111 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8112 (ffap-alist): Use ffap-c++-mode for c++-mode.
8113 (ffap-c++-path): New variable.
8114 (ffap-c++-mode): New function.
8115
8116 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8117
8118 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8119
8120 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8121
8122 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8123 introduced on 2013-09-08, which results in an infinite loop
8124 requesting a password.
8125
8126 2013-10-18 Glenn Morris <rgm@gnu.org>
8127
8128 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8129
8130 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8131
8132 Sync with upstream verilog-mode revision 1a6ecec7.
8133 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8134 (verilog-mode-release-date): Remove.
8135 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8136 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8137 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8138 (verilog-auto-tieoff-ignore-regexp)
8139 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8140 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8141 (verilog-signals-with, verilog-dir-cache-preserving)
8142 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8143 Doc fixes.
8144 (verilog-case-fold): New option, to control case folding in
8145 regexp searches, bug597.
8146 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8147 (verilog-string-match-fold, verilog-in-paren-count)
8148 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8149 (verilog-at-close-struct-p): New functions.
8150 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8151 (verilog-forward-sexp, verilog-set-auto-endcomments)
8152 (verilog-leap-to-case-head): Handle "unique0" case.
8153 (verilog-in-constraint-re): New constant.
8154 (verilog-keywords, verilog-type-font-keywords):
8155 Add some SystemVerilog 1800-2012 keywords.
8156 (verilog-label-be): Remove unimplemented argument, bug669.
8157 (verilog-batch-execute-func): When batch expanding clear
8158 create-lockfiles to prevent spurious user locks when a file ends
8159 up not changing.
8160 (verilog-calculate-indent, verilog-calc-1)
8161 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8162 (verilog-do-indent): Fix indentation of nested constraints
8163 and structures.
8164 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8165 (verilog-auto-inst-param): Use verilog-string-match-fold.
8166 (verilog-read-inst-module-matcher):
8167 Fix AUTOINST on gate primitives with #1.
8168 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8169 Reads all user-defined typed variables.
8170 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8171 (verilog-signals-matching-regexp)
8172 (verilog-signals-not-matching-regexp, verilog-auto):
8173 Respect verilog-case-fold.
8174 (verilog-diff-report): Fix line count.
8175 (verilog-auto-assign-modport): Remove unused local `modi'.
8176 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8177 better handle multidimensional arrays.
8178 Fix packed array ports misadding bit index in AUTOINST, bug637.
8179 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8180 to not double-declare existing outputs and inputs, respectively.
8181 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8182 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8183 (verilog-sk-uvm-component): New skeleton.
8184 (verilog-submit-bug-report): Add verilog-case-fold,
8185 remove verilog-mode-release-date.
8186
8187 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8188
8189 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8190 as before.
8191
8192 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8193
8194 * textmodes/remember.el (remember): Set buffer-offer-save in
8195 remember buffers (bug#13566).
8196
8197 2013-10-18 Daniel Colascione <dancol@dancol.org>
8198
8199 When evaluating forms in ielm, direct standard output to ielm
8200 buffer. Add new ielm-return-for-effect command. Remove trailing
8201 whitespace throughout.
8202
8203 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8204 (ielm-return-for-effect): New command.
8205 (ielm-send-input): Accept optional `for-effect' parameter.
8206 (ielm-eval-input): Accept optional `for-effect' parameter.
8207 Bind `standard-output' to stream we create using
8208 `ielm-standard-output-impl'. Suppress printing result when
8209 `for-effect'.
8210 (ielm-standard-output-impl): New function.
8211 (inferior-emacs-lisp-mode): Explain new features in documentation.
8212
8213 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8214
8215 Code cleanup.
8216
8217 * net/tramp.el (tramp-debug-message): Do not check for connection
8218 buffer.
8219 (tramp-message): Use "vector" connection property.
8220
8221 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8222 (tramp-equal-remote, tramp-eshell-directory-change)
8223 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8224 (tramp-adb-handle-rename-file)
8225 * net/tramp-cmds.el (tramp-list-remote-buffers)
8226 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8227 * net/tramp-compat.el (tramp-compat-process-running-p)
8228 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8229 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8230 (tramp-gvfs-handle-rename-file)
8231 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8232 (tramp-set-file-uid-gid)
8233 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8234 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8235 of `file-remote-p'.
8236
8237 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8238 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8239 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8240 (tramp-gw-open-network-stream): Suppress unrelated traces.
8241
8242 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8243 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8244 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8245 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8246 connection property.
8247
8248 * net/tramp-cache.el (top): Suppress traces when reading
8249 persistency file.
8250
8251 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8252 Refactor common code. Improve debug message.
8253 (tramp-maybe-open-connection)
8254 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8255 connection buffer too early.
8256
8257 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8258 from `tramp-smb-actions-with-acl'.
8259 (tramp-smb-actions-set-acl): New defconst.
8260 (tramp-smb-handle-copy-directory)
8261 (tramp-smb-action-get-acl): New defun, renamed from
8262 `tramp-smb-action-with-acl'.
8263 (tramp-smb-action-set-acl): New defun.
8264 (tramp-smb-handle-set-file-acl): Rewrite.
8265
8266 2013-10-17 Glenn Morris <rgm@gnu.org>
8267
8268 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8269
8270 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * skeleton.el (skeleton-newline): Remove.
8273 (skeleton-internal-1): Use (insert "\n") instead.
8274
8275 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8276 let-bindings.
8277
8278 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8279 forward-sexp-function while we redo its job (bug#15613).
8280
8281 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8282
8283 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8284 represented by lists.
8285
8286 2013-10-16 Glenn Morris <rgm@gnu.org>
8287
8288 * tmm.el (tmm--history): New dynamic variable.
8289 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8290
8291 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8292
8293 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8294 (tramp-smb-errors): Add error messages.
8295 (tramp-smb-actions-with-acl): New defconst.
8296 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8297 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8298 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8299 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8300 (tramp-smb-get-stat-capability): Fix tests.
8301
8302 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8303
8304 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8305 (bug#15580).
8306
8307 2013-10-16 Glenn Morris <rgm@gnu.org>
8308
8309 * ansi-color.el (ansi-color-drop-regexp):
8310 Add 1J, 1K, 2K. (Bug#15617)
8311
8312 * files.el (hack-local-variables--warned-lexical): New.
8313 (hack-local-variables):
8314 Warn about misplaced lexical-binding. (Bug#15616)
8315
8316 * net/eww.el (eww-render): Always set eww-current-url,
8317 and update header line. (Bug#15622)
8318 (eww-display-html): ... Rather than just doing it here.
8319
8320 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8321
8322 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8323 menu navigations commands.
8324
8325 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8326
8327 * progmodes/subword.el (subword-capitalize): Be careful when
8328 the search for [[:alpha:]] fails (bug#15580).
8329
8330 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8331
8332 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8333 to commands that scroll the menu.
8334
8335 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8336
8337 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8338 Handle methods ending with `?' and `!'.
8339
8340 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8341
8342 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8343 `japanese-cp932' to `cp932' to fix the problem where saving a
8344 source file written in Shift_JIS twice would end up having
8345 `coding: japanese-cp932' which Ruby could not recognize.
8346 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8347 in `ruby-encoding-map'.
8348 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8349 doesn't need to be explicitly declared in magic comment.
8350 (ruby-encoding-map): Add type declaration for better customize UI.
8351
8352 2013-10-13 Glenn Morris <rgm@gnu.org>
8353
8354 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8355 Occur buffers are read-only. http://bugs.debian.org/720775
8356
8357 * emacs-lisp/authors.el (authors-fixed-entries):
8358 Comment out old alpha stuff.
8359
8360 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8361
8362 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8363 to `after-save-hook' instead of `before-save-hook'.
8364 (ruby-mode-set-encoding): Use the value of coding system used to
8365 write the file. Call `basic-save-buffer-1' after modifying the
8366 buffer.
8367
8368 2013-10-13 Alan Mackenzie <acm@muc.de>
8369
8370 Fix indentation/fontification of Java enum with
8371 "implements"/generic.
8372
8373 * progmodes/cc-engine.el (c-backward-over-enum-header):
8374 Extracted from the three other places and enhanced to handle generics.
8375 (c-inside-bracelist-p): Uses new function above.
8376 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8377 function above.
8378 (c-font-lock-enum-tail): Uses new function above.
8379
8380 2013-10-13 Kenichi Handa <handa@gnu.org>
8381
8382 * international/mule-cmds.el (select-safe-coding-system): Remove a
8383 superfluous condition in chekcing whether a coding system is safe
8384 or not.
8385
8386 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8387
8388 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8389
8390 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8391
8392 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8393
8394 2013-10-13 Glenn Morris <rgm@gnu.org>
8395
8396 * menu-bar.el (menu-bar-update-buffers):
8397 Unify Buffers menu prompt string. (Bug#15576)
8398
8399 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8400
8401 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8402 Add some entries.
8403 (authors-fixed-entries): Use accented form of name.
8404
8405 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8408 method calls (bug#15594).
8409 (ruby-smie--args-separator-p): New function.
8410 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8411 recognize paren-free method calls.
8412
8413 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8414 internals of universal-argument.
8415
8416 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8417
8418 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8419 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8420 dropped menu on second mouse click on the menu bar.
8421
8422 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8425 (explicit-shell-file-name): Declare.
8426 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8427 (sh-completion-at-point-function): New function.
8428 (sh-mode): Use it.
8429 (sh-smie--keyword-p): Remove unused argument.
8430 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8431 vars.
8432 (sh-set-shell): Always setup SMIE, even if we use the
8433 old indentation code.
8434
8435 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8436
8437 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8438 cases of ? and =.
8439 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8440 predicate would return nil are almost non-existent.
8441 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8442
8443 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8444 cache also after commands that modify the buffer but don't move
8445 point.
8446
8447 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 * env.el (substitute-env-in-file-name): New function.
8450 (substitute-env-vars): Extend the meaning of the optional arg.
8451
8452 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8453
8454 * term/w32-win.el (dynamic-library-alist): Define separate lists
8455 of GIF DLLs for versions before and after 5.0.0 of giflib.
8456 (Bug#15531)
8457
8458 2013-10-10 João Távora <joaotavora@gmail.com>
8459
8460 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8461 not locked, use last revision and current source as
8462 defaults. (Bug#15569)
8463
8464 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8465
8466 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8467 menu-bar is hidden.
8468
8469 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8470
8471 * window.el (pop-to-buffer-same-window): Fix doc-string.
8472 (Bug#15492)
8473
8474 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8477
8478 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8479
8480 * calendar/icalendar.el (icalendar-import-file):
8481 Fix interactive spec. (Bug#15482)
8482
8483 2013-10-10 Glenn Morris <rgm@gnu.org>
8484
8485 * desktop.el (desktop-save): Default to saving in .emacs.d,
8486 since PWD is no longer in desktop-path by default. (Bug#15319)
8487
8488 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8489 now that text mode has a menu with the same entry.
8490 (menu-bar-text-mode-auto-fill): Remove now unused func.
8491 * textmodes/text-mode.el (text-mode-map):
8492 Use auto-fill help text from menu-bar.el.
8493
8494 2013-10-10 John Anthony <john@jo.hnanthony.com>
8495
8496 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8497
8498 2013-10-09 Juri Linkov <juri@jurta.org>
8499
8500 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8501 instead of this-command-keys. Add universal-argument-more and
8502 universal-argument-minus to the list of prefix commands. (Bug#15568)
8503
8504 2013-10-09 Glenn Morris <rgm@gnu.org>
8505
8506 * vc/vc-svn.el (vc-svn-create-repo):
8507 Expand paths in file://... url. (Bug#15446)
8508
8509 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8510 Add some entries.
8511 (authors): Remove unused local variables.
8512
8513 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * profiler.el: Create a more coherent calltree from partial backtraces.
8516 (profiler-format): Hide the tail with `invisible' so that C-s can still
8517 find the hidden elements.
8518 (profiler-calltree-depth): Don't recurse so enthusiastically.
8519 (profiler-function-equal): New hash-table-test.
8520 (profiler-calltree-build-unified): New function.
8521 (profiler-calltree-build): Use it.
8522 (profiler-report-make-name-part): Indent the calltree less.
8523 (profiler-report-mode): Add visibility specs for profiler-format.
8524 (profiler-report-expand-entry, profiler-report-toggle-entry):
8525 Expand the whole subtree when provided with a prefix arg.
8526
8527 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8528
8529 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8530 iuwu-mod token.
8531 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8532 hanging iuwu-mod token.
8533 (ruby-smie--forward-token): Do not include a dot after a token in
8534 that token.
8535 (ruby-smie--backward-token): Likewise.
8536
8537 2013-10-08 Juri Linkov <juri@jurta.org>
8538
8539 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8540 to isearch-other-control-char.
8541 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8542 and isearch-post-command-hook to post-command-hook.
8543 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8544 and isearch-post-command-hook from post-command-hook.
8545 (isearch-unread-key-sequence)
8546 (isearch-reread-key-sequence-naturally)
8547 (isearch-lookup-scroll-key, isearch-other-control-char)
8548 (isearch-other-meta-char): Remove functions.
8549 (isearch-pre-command-hook, isearch-post-command-hook):
8550 New functions based on isearch-other-meta-char rewritten
8551 relying on the new behavior of overriding-terminal-local-map
8552 that does not replace the local keymaps any more. (Bug#15200)
8553
8554 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8555
8556 Support menus on text-mode terminals.
8557 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8558 functionality.
8559
8560 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8561
8562 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8563 Move here from mouse.el.
8564 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8565 and arrow keys.
8566 (tty-menu-navigation-map): New map for TTY menu navigation.
8567
8568 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8569
8570 * frame.el (display-mouse-p): Report text-mode mouse as available
8571 on w32.
8572 (display-popup-menus-p): Report availability if mouse is
8573 available; don't condition on window-system.
8574
8575 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8576 (tty-menu-selected-face): New faces.
8577
8578 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8581 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8582 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8583 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8584 New constants.
8585 (lisp-mode-variables): New `elisp' argument.
8586 (emacs-lisp-mode): Use it.
8587 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8588 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8589
8590 * indent.el: Use lexical-binding.
8591 (indent-region): Add progress reporter.
8592 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8593 last step.
8594 (indent--next-tab-stop): New function to implement this behavior.
8595 (tab-to-tab-stop, move-to-tab-stop): Use it.
8596
8597 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8598
8599 * indent.el (indent-rigidly--current-indentation): New function.
8600 (indent-rigidly-map): New var.
8601 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8602
8603 2013-10-08 Bastien Guerry <bzg@gnu.org>
8604
8605 * register.el (insert-register): Fix 2013-10-07 change.
8606
8607 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * progmodes/perl-mode.el: Use lexical-binding.
8610 Remove redundant :group args.
8611 (perl-nochange): Change default to be closer to other major modes's
8612 standard behavior.
8613 (perl-indent-line): Don't consider text on current line as a
8614 valid beginning of function from which to indent.
8615
8616 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8617 with more than one argument (bug#15538).
8618
8619 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8620
8621 * vc/pcvs.el: Use lexical-binding.
8622 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8623 environment of `eval'.
8624 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8625 than a list of expressions. Adjust callers.
8626 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8627
8628 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8629
8630 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8631 case of the dot in a chained method call being on the following line.
8632
8633 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * electric.el (electric-indent-inhibit): New var.
8636 (electric-indent-post-self-insert-function): Use it.
8637 * progmodes/python.el (python-mode): Set it.
8638
8639 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8640 open braces.
8641
8642 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8643
8644 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8645 (css-mode): Use electric-indent-chars.
8646
8647 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8648 (font-lock-beg, font-lock-end): Move before first use.
8649 (nxml-mode): Use syntax-propertize-function.
8650 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8651 (nxml-extend-after-change-region): Remove.
8652 * nxml/xmltok.el: Use lexical-binding.
8653 (xmltok-save): Use `declare'.
8654 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8655 * nxml/nxml-util.el: Use lexical-binding.
8656 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8657 Use `declare'.
8658 * nxml/nxml-ns.el: Use lexical-binding.
8659 (nxml-ns-save): Use `declare'.
8660 (nxml-ns-prefixes-for): Avoid add-to-list.
8661 * nxml/rng-match.el: Use lexical-binding.
8662 (rng--ipattern): Use cl-defstruct.
8663 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8664 (rng-cons-group-after, rng-subst-group-after)
8665 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8666 Use closures instead of `(lambda...).
8667
8668 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8669
8670 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8671 of BEG and END.
8672
8673 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8674 Use `tramp-handle-insert-file-contents'.
8675 (tramp-gvfs-handle-insert-file-contents): Remove function.
8676
8677 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8678 Use `save-restriction' in order to keep markers.
8679
8680 * net/trampver.el: Update release number.
8681
8682 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * progmodes/compile.el (compilation-parse-errors):
8685 Use compilation--put-prop.
8686 (compilation--ensure-parse): Check compilation-multiline.
8687
8688 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8689
8690 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8691 lexical-binding.
8692
8693 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8694
8695 * progmodes/ruby-mode.el: Fix recently added tests.
8696 (ruby-smie-grammar): Add - and +.
8697 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8698 (ruby-smie--backward-id): New functions.
8699 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8700 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8701 any more.
8702
8703 2013-10-07 Leo Liu <sdl.web@gmail.com>
8704
8705 * register.el (register-preview-delay)
8706 (register-preview-functions): New variables.
8707 (register-read-with-preview, register-preview)
8708 (register-describe-oneline): New functions.
8709 (point-to-register, window-configuration-to-register)
8710 (frame-configuration-to-register, jump-to-register)
8711 (number-to-register, view-register, insert-register)
8712 (copy-to-register, append-to-register, prepend-to-register)
8713 (copy-rectangle-to-register): Use register-read-with-preview to
8714 read register. (Bug#15525)
8715
8716 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8717
8718 * net/network-stream.el (network-stream-open-starttls): Don't add
8719 --insecure if it's already present, because that gnutls-cli
8720 rejects getting that parameter twice.
8721
8722 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8723
8724 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8725 keyword, too.
8726
8727 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8728
8729 * newcomment.el (comment-use-global-state): Change default value
8730 to t, mark obsolete (Bug#15251).
8731 (comment-beginning): In addition to `comment-to-syntax', check the
8732 value of `comment-use-global-state'.
8733
8734 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8737 (ruby-comment-column): Follow the global default, by default.
8738 (ruby-smie-grammar): Add assignment syntax.
8739 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8740 open-paren, a comma, or a \.
8741 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8742 and line continuations.
8743 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8744 followed by implicit semi-colons. Add rule for string concatenation
8745 and for indentation at BOB.
8746 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8747
8748 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8749 calling next-sexp, since next-token may have skipped chars which
8750 next-sexp doesn't know should be skipped!
8751
8752 2013-10-05 Leo Liu <sdl.web@gmail.com>
8753
8754 * progmodes/octave.el (octave-send-region):
8755 Call compilation-forget-errors.
8756
8757 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8758
8759 * vc/vc-svn.el (vc-svn-find-admin-dir):
8760 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8761 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8762 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8763 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8764
8765 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8768
8769 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * subr.el (read-passwd): Hide chars even when called within a context
8772 where after-change-functions is disabled (bug#15501).
8773 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8774 until we removed ourself from overriding-terminal-local-map.
8775
8776 2013-10-04 Leo Liu <sdl.web@gmail.com>
8777
8778 * progmodes/octave.el (inferior-octave-mode):
8779 Call compilation-forget-errors.
8780
8781 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8782
8783 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8784
8785 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8786
8787 * net/secrets.el (secrets-create-collection): Add optional
8788 argument ALIAS. Use proper Label keyword. Append ALIAS as
8789 dbus-call-method argument. (Bug#15516)
8790
8791 2013-10-04 Leo Liu <sdl.web@gmail.com>
8792
8793 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8794 (inferior-octave-compilation-font-lock-keywords): New variables.
8795 (compilation-error-regexp-alist)
8796 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8797 (inferior-octave-mode): Use compilation-shell-minor-mode.
8798
8799 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8800
8801 * minibuffer.el (completion--replace): Be careful that `end' might be
8802 a marker.
8803
8804 2013-10-03 Daiki Ueno <ueno@gnu.org>
8805
8806 Add support for package signature checking.
8807 * emacs-lisp/package.el (url-http-file-exists-p)
8808 (epg-make-context, epg-context-set-home-directory)
8809 (epg-verify-string, epg-context-result-for)
8810 (epg-signature-status, epg-signature-to-string)
8811 (epg-check-configuration, epg-configuration)
8812 (epg-import-keys-from-file): Declare.
8813 (package-check-signature): New user option.
8814 (package-unsigned-archives): New user option.
8815 (package-desc): Add `signed' field.
8816 (package-load-descriptor): Set `signed' field if .signed file exists.
8817 (package--archive-file-exists-p): New function.
8818 (package--check-signature): New function.
8819 (package-install-from-archive): Check package signature.
8820 (package--download-one-archive): Check archive signature.
8821 (package-delete): Remove .signed file.
8822 (package-import-keyring): New command.
8823 (package-refresh-contents): Import default keyring.
8824 (package-desc-status): Add "unsigned" status.
8825 (describe-package-1, package-menu--print-info)
8826 (package-menu-mark-delete, package-menu--find-upgrades)
8827 (package-menu--status-predicate): Support "unsigned" status.
8828
8829 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8832 the new compilation scheme using the new byte-codes.
8833
8834 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8835 (byte-pophandler): New byte codes.
8836 (byte-goto-ops): Adjust accordingly.
8837 (byte-compile--use-old-handlers): New var.
8838 (byte-compile-catch): Use new byte codes depending on
8839 byte-compile--use-old-handlers.
8840 (byte-compile-condition-case--old): Rename from
8841 byte-compile-condition-case.
8842 (byte-compile-condition-case--new): New function.
8843 (byte-compile-condition-case): New function that dispatches depending
8844 on byte-compile--use-old-handlers.
8845 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8846 when we can.
8847
8848 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8849 Optimize under `condition-case' and `catch' if
8850 byte-compile--use-old-handlers is nil.
8851 (disassemble-offset): Handle new bytecodes.
8852
8853 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * subr.el (error): Use `declare'.
8856 (decode-char, encode-char): Use advertised-calling-convention instead
8857 of the docstring to discourage use of the `restriction' arg.
8858
8859 2013-10-03 Daiki Ueno <ueno@gnu.org>
8860
8861 * epg.el (epg-verify-file): Add a comment saying that it does not
8862 notify verification error as a return value nor a signal.
8863 (epg-verify-string): Ditto.
8864
8865 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8866
8867 * progmodes/compile.el (compilation-start): Try globbing the arg to
8868 `cd' (bug#15417).
8869
8870 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8871
8872 Sync with Tramp 2.2.8.
8873
8874 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8875 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8876 * net/trampver.el: Update release number.
8877
8878 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8879
8880 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8881 and default-process-coding-system for darwin only.
8882
8883 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8886
8887 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8888
8889 * vc/vc-git.el (vc-git-grep): Disable pager.
8890
8891 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8892
8893 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8894 Use :url instead of :homepage, as per
8895 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8896
8897 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8898 non-nil, use `syntax-ppss' (Bug#15251).
8899
8900 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8901
8902 * progmodes/octave.el (inferior-octave-startup-file):
8903 Prefer ~/.emacs.d/init_octave.m.
8904
8905 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8906
8907 * emacs-lisp/package.el (package-desc-from-define):
8908 Accept additional arguments as plist, convert them to an alist and store
8909 them in the `extras' slot.
8910 (package-generate-description-file): Convert extras alist back to
8911 plist and append to the `define-package' form arguments.
8912 (package--alist-to-plist): New function.
8913 (package--ac-desc): Add `extras' slot.
8914 (package--add-to-archive-contents): Check if the archive-contents
8915 vector is long enough, and if it is, pass its `extras' slot value
8916 to `package-desc-create'.
8917 (package-buffer-info): Call `lm-homepage', pass the returned value
8918 to `package-desc-from-define'.
8919 (describe-package-1): Render the homepage button (Bug#13291).
8920
8921 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8922 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8923
8924 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8925
8926 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8927 and default-process-coding-system to utf-8-unix (Bug#15402).
8928
8929 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8930
8931 * subr.el (looking-back): Do not recommend using looking-back.
8932
8933 2013-09-28 Alan Mackenzie <acm@muc.de>
8934
8935 Fix indentation/fontification of Java enum with "implements".
8936
8937 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8938 regexp which matches "implements", etc., in Java.
8939 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8940 specifier clauses coming after "enum".
8941 * progmodes/cc-fonts.el (c-font-lock-declarations)
8942 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8943 after "enum".
8944
8945 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8946
8947 * faces.el (region): Change ns_selection_color to
8948 ns_selection_fg_color, add ns_selection_bg_color.
8949
8950 2013-09-28 Leo Liu <sdl.web@gmail.com>
8951
8952 * progmodes/octave.el (inferior-octave-completion-table)
8953 (inferior-octave-completion-at-point): Minor tweaks.
8954
8955 * textmodes/ispell.el (ispell-lookup-words): Rename from
8956 lookup-words. (Bug#15460)
8957 (lookup-words): Obsolete.
8958 (ispell-complete-word, ispell-command-loop): All uses changed.
8959
8960 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8961
8962 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8963 (octave-mode-menu): Add octave-send-buffer.
8964 (octave-send-buffer): New function.
8965
8966 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8967
8968 * progmodes/octave.el (octave-mode-map): Add key binding for
8969 octave-lookfor.
8970 (octave-mode-menu): Add octave-lookfor.
8971 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8972 octave-lookfor.
8973 (octave-lookfor): New function.
8974
8975 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8978 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8979 its convention.
8980 (cl--loop-set-iterator-function): New function.
8981 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8982 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8983 Bind `it' with `let' instead of substituting it with `cl-subst'.
8984 (cl--unused-var-p): New function.
8985 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8986 Eliminate some unused variable warnings (bug#15326).
8987
8988 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8989
8990 * doc-view.el (doc-view-scale-reset): Rename from
8991 `doc-view-reset-zoom-level'.
8992 (doc-view-scale-adjust): New command.
8993 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8994 `doc-view-scale-adjust'.
8995
8996 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8997
8998 * doc-view.el (doc-view-reset-zoom-level): New command.
8999 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9000 zoom commands (bug#15466).
9001
9002 2013-09-26 Kenichi Handa <handa@gnu.org>
9003
9004 * international/quail.el (quail-help): Make it not a command.
9005
9006 2013-09-26 Leo Liu <sdl.web@gmail.com>
9007
9008 * minibuffer.el (completion-all-sorted-completions): Make args
9009 optional as they are.
9010
9011 2013-09-25 Daniel Colascione <dancol@dancol.org>
9012
9013 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9014 specs are and that they're not evaluated.
9015
9016 2013-09-24 Sam Steingold <sds@gnu.org>
9017
9018 * midnight.el (clean-buffer-list-kill-regexps)
9019 (clean-buffer-list-kill-buffer-names): Update for the new Man
9020 buffer naming which includes the object name.
9021
9022 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9025 (eshell-parse-command, eshell-parse-pipeline): Use it since
9026 eshell-separate-commands requires a dynamic scoped var.
9027 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9028
9029 2013-09-23 Leo Liu <sdl.web@gmail.com>
9030
9031 * autoinsert.el (auto-insert-alist): Make the value of
9032 lexical-binding match its file setting.
9033
9034 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9035
9036 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9037
9038 * autoarg.el (autoarg-kp-digit-argument):
9039 * electric.el (Electric-command-loop):
9040 * kmacro.el (kmacro-step-edit-insert):
9041 Do not set universal-argument-num-events.
9042
9043 2013-09-22 Leo Liu <sdl.web@gmail.com>
9044
9045 * files.el (interpreter-mode-alist): Add octave.
9046
9047 2013-09-21 Alan Mackenzie <acm@muc.de>
9048
9049 C++: fontify identifier in declaration following "public:" correctly.
9050 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9051 to match "public", etc.
9052 (c-decl-prefix-re): Add ":" into the C++ value.
9053 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9054 bit. Add a check for a ":" preceded by "public", etc.
9055
9056 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9057
9058 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9059 recognized by GDB 7.5 and later.
9060
9061 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9062
9063 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9064
9065 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * subr.el (internal--call-interactively): New const.
9068 (called-interactively-p): Use it (bug#3984).
9069
9070 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9071
9072 * vc/pcvs.el (cvs-mode-ignore):
9073 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9074 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9075
9076 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9079 (eshell-ls-orig-insert-directory): Remove.
9080 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9081 (eshell-ls-use-in-dired): Use advice-add/remove.
9082 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9083 Add `orig-fun' arg for use in :around advice.
9084 Make it check (redundantly) eshell-ls-use-in-dired.
9085
9086 2013-09-19 Glenn Morris <rgm@gnu.org>
9087
9088 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9089
9090 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9091
9092 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9093
9094 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9097 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9098 (tramp-get-remote-python): New defuns.
9099 (tramp-get-remote-uid-with-perl)
9100 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9101 contributed by yary <not.com@gmail.com> (tiny change).
9102 (tramp-get-remote-uid-with-python)
9103 (tramp-get-remote-gid-with-python): New defuns. Python code
9104 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9105 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9106
9107 2013-09-19 Glenn Morris <rgm@gnu.org>
9108
9109 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9110
9111 * eshell/em-unix.el (eshell-remove-entries):
9112 Rename argument to avoid name-clash with global `top-level'.
9113
9114 * eshell/esh-proc.el (eshell-kill-process-function):
9115 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9116 (eshell-reset-after-proc): Remove unused arg `proc'.
9117
9118 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9119 (directory-files-and-attributes): Mark unused arg.
9120
9121 * eshell/em-unix.el (eshell-remove-entries):
9122 Remove unused arg `path'. Update callers.
9123
9124 * eshell/em-hist.el (eshell-hist-parse-arguments):
9125 Remove unused arg `silent'. Update callers.
9126
9127 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9128 Fix (f)boundp mix-up.
9129
9130 * eshell/em-smart.el (eshell-smart-scroll-window)
9131 (eshell-disable-after-change):
9132 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9133
9134 2013-09-18 Alan Mackenzie <acm@muc.de>
9135
9136 Fix fontification of type when followed by "const".
9137 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9138 "known" types from fontification.
9139
9140 2013-09-18 Glenn Morris <rgm@gnu.org>
9141
9142 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9143 (chart-face-list): Drop Emacsen without display-color-p.
9144
9145 * net/eww.el (libxml-parse-html-region): Declare.
9146 (eww-display-html): Explicit error if no libxml2 support.
9147
9148 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9149
9150 * image.el (image-type-from-buffer, image-multi-frame-p):
9151 Remove --without-x warning/error.
9152
9153 * mouse.el (mouse-yank-primary):
9154 * term.el (term-mouse-paste):
9155 Reorder to silence --without-x compilation.
9156
9157 * mpc.el (doc-view-mode): Silence --without-x compilation.
9158
9159 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9160 Silence --without-x compilation.
9161
9162 * progmodes/gud.el (gud-find-file, gud-mode):
9163 Silence --without-x compilation.
9164 (tooltip-mode): Declare.
9165
9166 * wdired.el (dired-backup-overwrite): Remove declaration.
9167 (wdired-mode-map): Add doc string.
9168
9169 * custom.el (x-get-resource): Declare.
9170
9171 * eshell/em-glob.el (ange-cache):
9172 * eshell/em-unix.el (ange-cache): Declare.
9173
9174 * faces.el (x-display-list, x-open-connection, x-get-resource):
9175 Declare.
9176
9177 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9178 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9179 Declare.
9180
9181 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9182
9183 * net/gnutls.el (gnutls-log-level): Declare.
9184
9185 * net/shr.el (image-size, image-animate): Declare.
9186
9187 * simple.el (font-info): Declare.
9188
9189 * subr.el (x-popup-dialog): Declare.
9190
9191 * term/common-win.el (x-select-enable-primary)
9192 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9193 Declare.
9194
9195 * term/ns-win.el (x-handle-args): Declare.
9196
9197 * term/x-win.el (x-select-enable-clipboard): Declare.
9198
9199 * term/w32-win.el (create-default-fontset): Declare.
9200
9201 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9202 Declare.
9203
9204 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9205 (fit-frame-to-buffer): Explicit error if --without-x.
9206 (mouse-autoselect-window-select): Silence compiler.
9207
9208 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9209
9210 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9211 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9212 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9213 * eshell/esh-util.el (eshell-sublist):
9214 Remove unused local variables.
9215
9216 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9217
9218 * textmodes/two-column.el: Make 2C-split work for --without-x.
9219 (scroll-bar-columns): Autoload.
9220 (top-level): Require fringe when compiling.
9221
9222 2013-09-18 Leo Liu <sdl.web@gmail.com>
9223
9224 * subr.el (add-hook): Robustify to handle closure as well.
9225
9226 2013-09-17 Glenn Morris <rgm@gnu.org>
9227
9228 * simple.el (messages-buffer-mode-map): Unbind "g".
9229
9230 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * help-mode.el (help-mode-finish): Use derived-mode-p.
9233 Remove obsolete highlighting.
9234
9235 * play/life.el (life-mode): Use define-derived-mode. Derive from
9236 special-mode.
9237 (life): Let-bind inhibit-read-only.
9238 (life-setup): Avoid `setq'. Use `life-mode'.
9239
9240 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9241 which should not be needed any more.
9242 (package-menu-refresh, package-menu-describe-package): Use user-error.
9243
9244 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9245 (eshell-post-rewrite-command-hook): Make obsolete.
9246 (eshell-parse-command): Simplify.
9247 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9248 (eshell--cmd): Declare.
9249 (eshell-parse-pipeline): Remove unused var `final-p'.
9250 Pass a dynvar to eshell-post-rewrite-command-hook.
9251 Implement the new eshell-post-rewrite-command-function.
9252 (eshell-invoke-directly): Remove unused arg `input'.
9253 * eshell/esh-io.el (eshell-io-initialize):
9254 Use eshell-post-rewrite-command-function (bug#15399).
9255 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9256 adjust to new calling convention.
9257 (eshell-create-handles): Rename args to avoid clashing with dynvar
9258 `standard-output'.
9259
9260 2013-09-17 Glenn Morris <rgm@gnu.org>
9261
9262 * simple.el (messages-buffer-mode): New major mode.
9263 (messages-buffer): New function.
9264 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9265 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9266 (ert-run-test): Use `messages-buffer' function.
9267 (ert--force-message-log-buffer-truncation): Ignore read-only.
9268 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9269 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9270
9271 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9274
9275 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9276
9277 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * icomplete.el (icomplete-in-buffer): New var.
9280 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9281 vars and replace them with functions.
9282 (icomplete-minibuffer-setup): Adjust accordingly.
9283 (icomplete--completion-table, icomplete--completion-predicate)
9284 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9285 New functions.
9286 (icomplete-forward-completions, icomplete-backward-completions)
9287 (icomplete-simple-completing-p, icomplete-exhibit)
9288 (icomplete-completions): Use them.
9289 (icomplete--in-region-buffer): New var.
9290 (icomplete--in-region-setup): New function.
9291 (icomplete-mode): Use it.
9292
9293 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9294 (bug#15379).
9295 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9296 return args and options.
9297 (eshell-eval-using-options): Use the new return value of
9298 eshell--do-opts to set the options's vars in their scope.
9299 (eshell--set-option): Rename from eshell-set-option.
9300 Add arg `opt-vals'.
9301 (eshell--process-option): Rename from eshell-process-option.
9302 Add arg `opt-vals'.
9303 (eshell--process-args): Use an `opt-vals' alist to store the options's
9304 values during their processing and return them additionally to the
9305 remaining args.
9306
9307 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9308
9309 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9310 continuation character an operator, as far as indentation is
9311 concerned (Bug#15369).
9312
9313 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9314
9315 * window.el (window--state-put-2): Don't process buffer state
9316 when buffer doesn't exist any more (Bug#15382).
9317
9318 2013-09-15 Glenn Morris <rgm@gnu.org>
9319
9320 * eshell/em-unix.el (eshell/rm):
9321 Make -f ignore missing files. (Bug#15373)
9322
9323 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9324 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9325 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9326
9327 2013-09-14 Glenn Morris <rgm@gnu.org>
9328
9329 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9330
9331 2013-09-13 Glenn Morris <rgm@gnu.org>
9332
9333 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9334 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9335
9336 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9337
9338 * frame.el (x-focus-frame): Mark as declared in frame.c.
9339
9340 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * ls-lisp.el: Use advice-add.
9343 (original-insert-directory): Remove.
9344 (ls-lisp--insert-directory): Rename from insert-directory; add
9345 `orig-fun' argument.
9346 (insert-directory): Advise.
9347
9348 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9349
9350 * term.el (term-emulate-terminal): Decode the command string
9351 before passing it to term-command-hook. (Bug#15337)
9352
9353 2013-09-13 Glenn Morris <rgm@gnu.org>
9354
9355 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9356
9357 * eshell/esh-ext.el (eshell-search-path): Declare.
9358
9359 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9360 Otherwise an error occurs if eshell-dirs module not loaded.
9361
9362 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9363
9364 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9365
9366 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9367 `tramp-check-proper-host'. Check for a valid method name.
9368
9369 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9370 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9371 * net/tramp-sh.el (tramp-maybe-open-connection):
9372 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9373
9374 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9375 also for hash values.
9376
9377 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * term/ns-win.el (parameters): Don't declare as dynamic.
9380 (before-make-frame-hook): Don't add ineffective function.
9381
9382 * eshell/*.el: Use lexical-binding (bug#15231).
9383
9384 2013-09-12 Kenichi Handa <handa@gnu.org>
9385
9386 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9387
9388 2013-09-12 Glenn Morris <rgm@gnu.org>
9389
9390 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9391 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9392
9393 * subr.el (do-after-load-evaluation): Also give compiler warnings
9394 when obsolete files are used (except by obsolete files).
9395
9396 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9397 in the status output, assume `filename' is the first. (Bug#15322)
9398
9399 * vc/vc.el (vc-deduce-fileset): Doc fix.
9400
9401 * calc/calc-help.el (Info-goto-node):
9402 * progmodes/cperl-mode.el (Info-find-node):
9403 * vc/ediff.el (Info-goto-node): Update declarations.
9404
9405 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9406
9407 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9408 (vc-bzr-pull): Require vc-dispatcher.
9409 * vc/vc-git.el (vc-compilation-mode): Declare.
9410 (vc-git-pull): Require vc-dispatcher.
9411
9412 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9413
9414 * progmodes/octave.el (help-button-action): Declare.
9415
9416 * shell.el (shell-directory-tracker): Output error as a message
9417 rather than just returning it as a string.
9418 (shell-process-pushd): Remove useless use of message.
9419
9420 * dframe.el (dframe-timer-fn):
9421 * files.el (dir-locals-read-from-file):
9422 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9423 (mpc-format):
9424 * reveal.el (reveal-post-command):
9425 * saveplace.el (load-save-place-alist-from-file):
9426 * shell.el (shell-resync-dirs):
9427 * w32-common-fns.el (x-get-selection-value):
9428 * emacs-lisp/copyright.el (copyright-find-copyright):
9429 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9430 * emulation/tpu-edt.el (tpu-copy-keyfile):
9431 * play/bubbles.el (bubbles--mark-neighbourhood):
9432 * progmodes/executable.el
9433 (executable-make-buffer-file-executable-if-script-p):
9434 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9435
9436 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 Cleanup Eshell to rely less on dynamic scoping.
9439 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9440 last-value, and ext-command here. Bind `args' closer to `body'.
9441 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9442 (eshell--args): Declare new dynamic var.
9443 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9444 last-value, and ext-command. Pass `args' to `body'.
9445 (eshell-process-args): Bind eshell--args.
9446 (eshell-set-option): Use eshell--args.
9447 * eshell/eshell.el (eshell): Use derived-mode-p.
9448 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9449 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9450 (eshell-glob-function): Declare.
9451 * eshell/esh-util.el: Require cl-lib.
9452 (eshell-read-hosts-file): Avoid add-to-list.
9453 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9454 `err'.
9455 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9456 Declare.
9457 (eshell/diff): Remove unused var `err'.
9458 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9459 `killflag'.
9460 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9461 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9462 first use.
9463 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9464 Move declaration before first use.
9465 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9466 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9467 rely on cl-return.
9468
9469 2013-09-12 Glenn Morris <rgm@gnu.org>
9470
9471 * term/ns-win.el (global-map): Remove binding for ispell-next,
9472 deleted 1999-05-29. (Bug#15357)
9473
9474 2013-09-11 Glenn Morris <rgm@gnu.org>
9475
9476 * echistory.el (electric-command-history): Remove call to deleted func.
9477
9478 * play/landmark.el (landmark-mode): Fix typos.
9479
9480 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9481 Check cvs-sort-ignore-file is bound.
9482
9483 * savehist.el: No need for cl when compiling on Emacs.
9484
9485 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9488 (bug#15338).
9489 (eshell-self-insert-command, eshell-send-invisible):
9490 Remove unused argument.
9491 (eshell-handle-control-codes): Remove unused var `orig'.
9492 Avoid delete-backward-char.
9493
9494 * files.el (set-auto-mode): Simplify a bit further.
9495
9496 2013-09-11 Glenn Morris <rgm@gnu.org>
9497
9498 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9499 (set-auto-mode): Don't regexp-quote elements.
9500 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9501 * progmodes/cc-mode.el (interpreter-mode-alist):
9502 * progmodes/ruby-mode.el (interpreter-mode-alist):
9503 Revert previous change.
9504
9505 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * play/snake.el (snake-mode):
9508 * play/mpuz.el (mpuz-mode):
9509 * play/landmark.el (lm-mode):
9510 * play/blackbox.el (blackbox-mode):
9511 * play/5x5.el (5x5-mode):
9512 * obsolete/options.el (Edit-options-mode):
9513 * net/quickurl.el (quickurl-list-mode):
9514 * net/newst-treeview.el (newsticker-treeview-mode):
9515 * mail/rmailsum.el (rmail-summary-mode):
9516 * mail/mspools.el (mspools-mode):
9517 * locate.el (locate-mode):
9518 * ibuffer.el (ibuffer-mode):
9519 * emulation/ws-mode.el (wordstar-mode):
9520 * emacs-lisp/debug.el (debugger-mode):
9521 * array.el (array-mode):
9522 * net/eudc.el (eudc-mode): Use define-derived-mode.
9523 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9524 Move initialization into declaration.
9525 (mairix-searches-mode): Use define-derived-mode.
9526 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9527 (eudc-edit-hotlist): Use dolist.
9528 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9529 (Man-mode): Use define-derived-mode.
9530 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9531 (Info-edit-mode): Use define-derived-mode.
9532 (Info-cease-edit): Use Info-mode.
9533 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9534 into declaration.
9535 (eshell-mode): Use define-derived-mode.
9536 * chistory.el (command-history-mode-map): Rename from
9537 command-history-map.
9538 (command-history-mode): Use define-derived-mode.
9539 (Command-history-setup): Remove function.
9540 * calc/calc.el (calc-trail-mode-map): New var.
9541 (calc-trail-mode): Use define-derived-mode.
9542 (calc-trail-buffer): Set calc-main-buffer manually.
9543 * bookmark.el (bookmark-insert-annotation): New function.
9544 (bookmark-edit-annotation): Use it.
9545 (bookmark-edit-annotation-mode): Make it a proper major mode.
9546 (bookmark-send-edited-annotation): Use derived-mode-p.
9547 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9548 closer to its ideal place. Use \' to match EOS.
9549
9550 * profiler.el (profiler-calltree-find): Use function-equal.
9551
9552 2013-09-10 Glenn Morris <rgm@gnu.org>
9553
9554 * files.el (interpreter-mode-alist): Convert to regexps.
9555 (set-auto-mode): Adapt for this. (Bug#15306)
9556 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9557 Comment out unused variable.
9558 * progmodes/cc-mode.el (interpreter-mode-alist):
9559 * progmodes/python.el (interpreter-mode-alist):
9560 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9561 * progmodes/sh-script.el (sh-set-shell):
9562 No longer use interpreter-mode-alist to get list of shells.
9563
9564 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9565
9566 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * simple.el: Use set-temporary-overlay-map for universal-argument.
9569 (universal-argument-map): Don't use default-bindings (bug#15317).
9570 Bind switch-frame explicitly. Replace universal-argument-minus with
9571 a conditional binding.
9572 (universal-argument-num-events, saved-overriding-map): Remove.
9573 (restore-overriding-map): Remove.
9574 (universal-argument--mode): Rename from save&set-overriding-map,
9575 and rewrite.
9576 (universal-argument, universal-argument-more, negative-argument)
9577 (digit-argument): Adjust accordingly.
9578 (universal-argument-minus): Remove.
9579 (universal-argument-other-key): Remove.
9580
9581 * subr.el (with-demoted-errors): Add `format' argument.
9582
9583 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9584
9585 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9586 `tramp-cleanup-connection'.
9587
9588 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9589 parameters KEEP-DEBUG and KEEP-PASSWORD.
9590
9591 * net/tramp.el (tramp-file-name-handler):
9592 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9593 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9594 (tramp-maybe-open-connection):
9595 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9596 Use `tramp-cleanup-connection'.
9597
9598 * net/tramp-sh.el (tramp-maybe-open-connection):
9599 Catch 'uname-changed inside the progress reporter.
9600
9601 2013-09-10 Glenn Morris <rgm@gnu.org>
9602
9603 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9604
9605 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9606 returns "alternate access method" in mode (eg "-rw-r--r--.").
9607
9608 2013-09-08 Glenn Morris <rgm@gnu.org>
9609
9610 * saveplace.el (load-save-place-alist-from-file):
9611 Demote errors. (Bug#15305)
9612
9613 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9614
9615 Improve compatibility with older Emacsen, and XEmacs.
9616
9617 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9618 only if it is bound. It isn't for XEmacs.
9619 (with-tramp-progress-reporter): Do not let-bind `result'.
9620 This yields to scoping errors in XEmacs.
9621 (tramp-handle-make-auto-save-file-name): New function, moved from
9622 tramp-sh.el.
9623
9624 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9625 for `make-auto-save-file-name'.
9626 (tramp-adb--gnu-switches-to-ash):
9627 Use `tramp-compat-replace-regexp-in-string'.
9628
9629 * net/tramp-cache.el (tramp-cache-print): Call
9630 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9631
9632 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9633 bound. It isn't for XEmacs.
9634
9635 * net/tramp-compat.el (tramp-compat-copy-file):
9636 Catch `wrong-number-of-arguments' error.
9637 (tramp-compat-replace-regexp-in-string): New defun.
9638
9639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9640 for `make-auto-save-file-name'.
9641 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9642 `copy-file'.
9643 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9644 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9645 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9646
9647 * net/tramp-gw.el (tramp-gw-open-network-stream):
9648 Use `tramp-compat-replace-regexp-in-string'.
9649
9650 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9651 Call `tramp-handle-make-auto-save-file-name'.
9652 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9653 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9654 (tramp-sh-file-inotifywait-process-filter):
9655 Use `tramp-compat-replace-regexp-in-string'.
9656 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9657
9658 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9659 for `make-auto-save-file-name'.
9660 (tramp-smb-handle-copy-directory):
9661 Call `tramp-compat-replace-regexp-in-string'.
9662 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9663 (tramp-smb-handle-copy-file): Improve error message.
9664 (tramp-smb-handle-rename-file): Rename directly only in case
9665 `newname' does not exist yet. This is a restriction of smbclient.
9666 (tramp-smb-maybe-open-connection): Rerun the function only when
9667 `auth-sources' is non-nil.
9668
9669 2013-09-08 Kenichi Handa <handa@gnu.org>
9670
9671 * international/characters.el: Set category "^" (Combining) for
9672 more characters.
9673
9674 2013-09-07 Alan Mackenzie <acm@muc.de>
9675
9676 Correctly fontify Java class constructors.
9677 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9678 in Java Mode.
9679 (c-recognize-typeless-decls): Set the Java value to t.
9680 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9681 While handling a "(", add a check for, effectively, Java, and handle a
9682 "typeless" declaration there.
9683
9684 2013-09-07 Roland Winkler <winkler@gnu.org>
9685
9686 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9687 field subtitle for entry type book.
9688
9689 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * minibuffer.el: Make minibuffer-complete call completion-in-region
9692 rather than other way around.
9693 (completion--some, completion-pcm--find-all-completions):
9694 Don't delay signals when debugging.
9695 (minibuffer-completion-contents): Beware fields within the
9696 minibuffer contents.
9697 (completion-all-sorted-completions): Use defvar-local.
9698 (completion--do-completion, completion--cache-all-sorted-completions)
9699 (completion-all-sorted-completions, minibuffer-force-complete):
9700 Add args `beg' and `end'.
9701 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9702 (minibuffer-complete): Use completion-in-region.
9703 (completion-complete-and-exit): New fun, extracted from
9704 minibuffer-complete-and-exit.
9705 (minibuffer-complete-and-exit): Use it.
9706 (completion--complete-and-exit): Rename from
9707 minibuffer--complete-and-exit.
9708 (completion-in-region--single-word): New function, extracted from
9709 minibuffer-complete-word.
9710 (minibuffer-complete-word): Use it.
9711 (display-completion-list): Make `common-substring' argument obsolete.
9712 (completion--in-region): Call completion--in-region-1 instead of
9713 minibuffer-complete.
9714 (completion-help-at-point): Pass boundaries to
9715 minibuffer-completion-help as args rather than via an overlay.
9716 (completion-pcm--string->pattern): Use `any-delim'.
9717 (completion-pcm--optimize-pattern): New function.
9718 (completion-pcm--pattern->regex): Handle `any-delim'.
9719 * icomplete.el (icomplete-forward-completions)
9720 (icomplete-backward-completions, icomplete-completions):
9721 Adjust calls to completion-all-sorted-completions and
9722 completion--cache-all-sorted-completions.
9723 (icomplete-with-completion-tables): Default to t.
9724 * emacs-lisp/crm.el (crm--current-element): Rename from
9725 crm--select-current-element. Don't put an overlay but return the
9726 boundaries instead.
9727 (crm--completion-command): Take two new args to bind to the boundaries.
9728 (crm-completion-help): Adjust accordingly.
9729 (crm-complete): Use completion-in-region.
9730 (crm-complete-word): Use completion-in-region--single-word.
9731 (crm-complete-and-exit): Use completion-complete-and-exit.
9732
9733 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9736 than dynamically.
9737
9738 2013-09-06 Juri Linkov <juri@jurta.org>
9739
9740 * info.el (Info-display-images-node): When image file doesn't exist
9741 display text version of the image if it's provided in the Info file.
9742 Otherwise, display the location of missing image from SRC attribute.
9743 Add help-echo text property from ALT attribute. (Bug#15279)
9744
9745 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9748 (edit-abbrevs-mode): Use define-derived-mode.
9749
9750 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9751 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9752 that it's defined.
9753 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9754 Use define-derived-mode.
9755
9756 * epg.el (epg-start-encrypt): Minor CSE simplification.
9757
9758 2013-09-06 William Xu <william.xwl@gmail.com>
9759
9760 * arc-mode.el: Add support for 7za (bug#15264).
9761 (archive-7z-program): New var.
9762 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9763 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9764 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9765
9766 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9767
9768 Remove URL syntax.
9769
9770 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9771 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9772 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9773 (tramp-postfix-host-format, tramp-file-name-regexp)
9774 (tramp-completion-file-name-regexp)
9775 (tramp-completion-dissect-file-name)
9776 (tramp-handle-substitute-in-file-name): Remove 'url case.
9777 (tramp-file-name-regexp-url)
9778 (tramp-completion-file-name-regexp-url): Remove constants.
9779
9780 2013-09-06 Glenn Morris <rgm@gnu.org>
9781
9782 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9783
9784 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9785
9786 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9787 keywords" below "here-doc beginnings" (Bug#15270).
9788
9789 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * subr.el (pop): Use `car-safe'.
9792 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9793 to detect unused `pop' return value.
9794
9795 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9796 var `block-regexp'.
9797 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9798 (python-fill-string): Remove unused var `marker'.
9799 (python-skeleton-add-menu-items): Remove unused var `items'.
9800
9801 * international/mule-cmds.el: Require CL.
9802 (find-coding-systems-for-charsets): Avoid add-to-list.
9803 (sanitize-coding-system-list): New function, extracted from
9804 select-safe-coding-system-interactively.
9805 (select-safe-coding-system-interactively): Use it.
9806 (read-input-method-name): Accept symbols for `default'.
9807
9808 * emacs-lisp/advice.el (defadvice): Add indent rule.
9809
9810 2013-09-05 Daniel Hackney <dan@haxney.org>
9811
9812 * dired-x.el:
9813 * net/ange-ftp.el:
9814 * net/browse-url.el:
9815 * net/dbus.el:
9816 * net/eudc.el:
9817 * net/eudcb-ldap.el:
9818 * net/eww.el:
9819 * net/imap.el:
9820 * printing.el:
9821 * vc/ediff-diff.el:
9822 * vc/ediff-init.el:
9823 * vc/ediff-merg.el:
9824 * vc/ediff-mult.el:
9825 * vc/ediff-util.el:
9826 * vc/ediff-wind.el:
9827 * vc/ediff.el:
9828 * vc/emerge.el:
9829 * vc/pcvs.el:
9830 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9831 byte compiler. Remove some unused let-bound variables.
9832
9833 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9836 a "ref-cell", since it gets better optimized (bug#14883).
9837
9838 2013-09-05 Glenn Morris <rgm@gnu.org>
9839
9840 * progmodes/cc-awk.el (c-forward-sws): Declare.
9841
9842 2013-09-04 Glenn Morris <rgm@gnu.org>
9843
9844 * generic-x.el [rul-generic-mode]: Require cc-mode.
9845 (c++-mode-syntax-table): Declare.
9846 (rul-generic-mode-syntax-table): Init in the defvar.
9847
9848 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9849
9850 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9851 (vc-do-command, vc-set-async-update):
9852 * vc/vc-mtn.el (vc-mtn-dir-status):
9853 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9854 (vc-hg-pull, vc-hg-merge-branch):
9855 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9856 (vc-git-merge-branch):
9857 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9858 (vc-cvs-dir-status-files):
9859 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9860 (vc-bzr-dir-status-files):
9861 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9862 * vc/vc-annotate.el: Use lexical-binding.
9863 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9864 (vc-sentinel-movepoint): Declare.
9865 (vc-annotate): Don't use `goto-line'.
9866 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9867 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9868 (vc-sentinel-movepoint): Declare.
9869 * vc/vc-svn.el: Use lexical-binding.
9870 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9871 * vc/vc-sccs.el:
9872 * vc/vc-rcs.el: Use lexical-binding.
9873
9874 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9875 `deleted'. Don't drop errors silently.
9876
9877 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9878
9879 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9880
9881 * vc/vc.el (vc-ignore): Rewrite.
9882 (vc-default-ignore): New function.
9883 (vc-default-ignore-completion-table): Use find-ignore-file.
9884
9885 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9886 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9887 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9888 Remove. Most code moved to vc.el.
9889
9890 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9893 * net/tramp-smb.el (tramp-smb-get-file-entries):
9894 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9895 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9896
9897 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9898 Update call to it.
9899 (eww-change-select): Remove unused var `properties'.
9900 (eww-make-unique-file-name): Remove unused var `base'.
9901
9902 * finder.el (finder-compile-keywords): Don't mess with windows.
9903
9904 * calculator.el (calculator-funcall): Fix typo in last change.
9905
9906 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9907
9908 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9909 <pkg>-autoloads.el file stop us.
9910
9911 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9912 warnings, and factor out common code.
9913
9914 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9915
9916 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9917 two-character operators and whether the character preceding them
9918 changes their meaning (Bug#15208).
9919
9920 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9921
9922 Format code sent to Python shell for robustness.
9923 * progmodes/python.el (python-shell-buffer-substring):
9924 New function.
9925 (python-shell-send-region, python-shell-send-buffer): Use it.
9926
9927 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9928
9929 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9930 * net/tramp.el (tramp-user-error): ... here.
9931 (tramp-find-method, tramp-check-proper-host)
9932 (tramp-dissect-file-name, tramp-debug-message)
9933 (tramp-handle-shell-command):
9934 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9936
9937 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9938
9939 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9940
9941 * avoid.el (mouse-avoidance-point-position)
9942 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9943 returns nil.
9944
9945 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9946
9947 * progmodes/python.el (python-shell-completion-get-completions):
9948 Drop use of deleted `comint-last-prompt-overlay'.
9949 (python-nav-if-name-main): New command.
9950
9951 2013-09-01 Glenn Morris <rgm@gnu.org>
9952
9953 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9954 Avoid leading space in $wins. Otherwise the sed command used by
9955 eg compile-main ends up containing "/*.el". (Bug#15170)
9956
9957 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9958
9959 2013-08-30 Glenn Morris <rgm@gnu.org>
9960
9961 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9962 Fix is-this-a-directory logic. (Bug#15220)
9963
9964 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * textmodes/css-mode.el: Use SMIE.
9967 (css-smie-grammar): New var.
9968 (css-smie--forward-token, css-smie--backward-token)
9969 (css-smie-rules): New functions.
9970 (css-mode): Use them.
9971 (css-navigation-syntax-table): Remove var.
9972 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9973 (css-indent-calculate, css-indent-line): Remove functions.
9974
9975 Misc changes to reduce use of `(lambda...); and other cleanups.
9976 * cus-edit.el: Use lexical-binding.
9977 (customize-push-and-save, customize-apropos)
9978 (custom-buffer-create-internal): Use closures.
9979 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9980 * progmodes/ada-xref.el: Use setq.
9981 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9982 * dframe.el: Use lexical-binding.
9983 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9984 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9985 * descr-text.el: Use lexical-binding.
9986 (describe-text-widget, describe-text-sexp, describe-property-list):
9987 Use closures.
9988 * comint.el (comint-history-isearch-push-state): Use a closure.
9989 * calculator.el: Use lexical-binding.
9990 (calculator-number-to-string): Make it work with lexical-binding.
9991 (calculator-funcall): Same and use cl-letf.
9992
9993 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9994 (lisp--company-doc-string, lisp--company-location): New functions.
9995 (lisp-completion-at-point): Use them to improve Company support.
9996
9997 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9998 params of lambda expressions.
9999 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10000 (ruby-smie--opening-pipe-p): New function.
10001 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10002 symbols and matched |...| for formal params.
10003 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10004 from being treated as hanging. Handle "rescue".
10005
10006 2013-08-29 Glenn Morris <rgm@gnu.org>
10007
10008 * progmodes/cc-engine.el (c-pull-open-brace):
10009 Move definition before use.
10010
10011 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10014 are immutable. Don't use `unsafe' any more.
10015 (cl--defsubst-expand): Don't substitute at the same time as keeping
10016 a residual unused let-binding. Don't use `unsafe' any more.
10017
10018 2013-08-29 Glenn Morris <rgm@gnu.org>
10019
10020 * calendar/cal-china.el (calendar-chinese-year-cache):
10021 Recenter on 2015.
10022
10023 * nxml/nxml-util.el (nxml-debug-clear-inside):
10024 Use cl-loop rather than loop.
10025
10026 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10027
10028 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10029
10030 2013-08-28 Glenn Morris <rgm@gnu.org>
10031
10032 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10033
10034 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10035
10036 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10037
10038 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * simple.el (repeat-complex-command--called-interactively-skip):
10041 New function.
10042 (repeat-complex-command): Use it (bug#14136).
10043
10044 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10045 (c-define-abbrev-table): Add `doc' argument.
10046 (c-mode-abbrev-table, c++-mode-abbrev-table)
10047 (objc-mode-abbrev-table, java-mode-abbrev-table)
10048 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10049 (awk-mode-abbrev-table): Use it.
10050 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10051 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10052 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10053 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10054 Move initialization into the declaration; and remove any
10055 autoload cookie.
10056
10057 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10058 and dynamic let binding.
10059
10060 * vc/smerge-mode.el: Remove redundant :group args.
10061
10062 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10063 to load-path.
10064
10065 2013-08-28 Juri Linkov <juri@jurta.org>
10066
10067 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10068 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10069 (isearch-other-meta-char): Handle an undefined shifted printing
10070 character by downshifting it. (Bug#15200)
10071
10072 2013-08-28 Juri Linkov <juri@jurta.org>
10073
10074 * isearch.el (isearch-search): Change regexp error message for
10075 non-regexp searches. (Bug#15166)
10076
10077 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10078
10079 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10080 for portability to hosts where /bin/sh has problems.
10081
10082 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10085
10086 2013-08-27 Juri Linkov <juri@jurta.org>
10087
10088 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10089 in the keyboard macro. (Bug#15126)
10090
10091 2013-08-27 Juri Linkov <juri@jurta.org>
10092
10093 * isearch.el (isearch-quote-char): Comment out converting unibyte
10094 to multibyte, thus syncing with its `quoted-insert' counterpart.
10095 (Bug#15166)
10096
10097 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10098
10099 * window.el (display-buffer-use-some-window): Add missing
10100 argument in call of get-largest-window (Bug#15185).
10101 Reported by Stephen Leake.
10102
10103 2013-08-27 Glenn Morris <rgm@gnu.org>
10104
10105 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10106
10107 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10110 from a matcher-function unless there's no more matches (bug#15161).
10111
10112 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10113
10114 * minibuffer.el: Revert change from 2013-08-20.
10115
10116 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10117 with text property `tramp-default', if appropriate.
10118 (tramp-check-proper-host): New defun.
10119 (tramp-dissect-file-name): Do not check hostname. Revert change
10120 of 2013-03-18.
10121 (tramp-backtrace): Make VEC-OR-PROC optional.
10122
10123 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10124 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10125 * net/tramp-sh.el (tramp-maybe-open-connection):
10126 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10127 Apply `tramp-check-proper-host'.
10128
10129 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10130
10131 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10132 lambda expression in order to have `describe-variable' display it.
10133
10134 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10135
10136 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10137 BUF can be optional. (Bug#15186)
10138
10139 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10140
10141 * progmodes/flymake.el (flymake-get-real-file-name-function):
10142 Fix broken customization. (Bug#15184)
10143
10144 2013-08-25 Alan Mackenzie <acm@muc.de>
10145
10146 Improve indentation of bracelists defined by macros (without "=").
10147
10148 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10149 expansion begins with "{", regard it as bracelist when it doesn't
10150 contain a ";".
10151
10152 Parse C++ inher-intro when there's a template split over 2 lines.
10153
10154 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10155 rigorously the search for "class" etc. followed by ":".
10156
10157 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10158 random languages a regexp which never matches rather than nil.
10159
10160 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10161
10162 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10163 (c-awk-regexp-one-line-possibly-open-char-list-re)
10164 (c-awk-one-line-possibly-open-regexp-re)
10165 (c-awk-one-line-non-syn-ws*-re): Remove.
10166 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10167 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10168 (c-awk-space*-unclosed-regexp-/-re): New constants.
10169 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10170 aren't regexp delimiters.
10171
10172 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10173 handling for a rare situation in AWK Mode involving unterminated
10174 strings/regexps.
10175
10176 2013-08-23 Glenn Morris <rgm@gnu.org>
10177
10178 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10179
10180 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10181
10182 * files.el (create-file-buffer): If the result would begin with
10183 spaces, prepend a "|" instead of removing them. (Bug#15162)
10184
10185 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10188 text-properties (bug#15155).
10189
10190 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10191 exist any more.
10192 (calc-keypad-redraw): Remove unused var `pad'.
10193 (calc-keypad-press): Remove unused var `menu'.
10194
10195 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10196
10197 * window.el (display-buffer-pop-up-frame):
10198 Call pop-up-frame-function with BUFFER current so `make-frame' will
10199 use it as the new frame's buffer (Bug#15133).
10200
10201 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * calendar/timeclock.el: Minor cleanups.
10204 (timeclock-ask-before-exiting, timeclock-use-display-time):
10205 Use `symbol'.
10206 (timeclock-modeline-display): Define as alias before the
10207 actual definition.
10208 (timeclock-mode-line-display): Use define-minor-mode.
10209 (timeclock-day-list-template): Make it a function, add an argument.
10210 (timeclock-day-list-required, timeclock-day-list-length)
10211 (timeclock-day-list-debt, timeclock-day-list-span)
10212 (timeclock-day-list-break): Adjust calls accordingly.
10213
10214 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10217 Use read--expression so that completion works again.
10218
10219 2013-08-21 Sam Steingold <sds@gnu.org>
10220
10221 Add rudimentary inferior shell interaction
10222 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10223 (sh-set-shell): Reset it.
10224 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10225 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10226
10227 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * align.el: Use lexical-binding.
10230 (align-region): Simplify accordingly.
10231
10232 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10233
10234 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10235
10236 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10237 `non-essential' up.
10238
10239 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * net/tramp.el:
10242 * net/tramp-adb.el:
10243 * net/tramp-cmds.el:
10244 * net/tramp-ftp.el:
10245 * net/tramp-gvfs.el:
10246 * net/tramp-gw.el:
10247 * net/tramp-sh.el: Don't wrap external variable declarations by
10248 `eval-when-compile'.
10249
10250 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10251
10252 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10253 now that Emacs supports ImageMagick animations.
10254
10255 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10256
10257 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10258 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10259
10260 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (mouse-autoselect-window-select): Do autoselect when
10263 mouse pointer is on margin.
10264
10265 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10266
10267 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10268
10269 2013-08-16 Glenn Morris <rgm@gnu.org>
10270
10271 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10272 Handle "Remote Directory" response of some clients. (Bug#15058)
10273
10274 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10275 Tweak warning. (Bug#14926)
10276
10277 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10278 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10279
10280 * image-mode.el (image-mode-map): Add menu items to reverse,
10281 increase, decrease, reset animation speed.
10282 (image--set-speed, image-increase-speed, image-decrease-speed)
10283 (image-reverse-speed, image-reset-speed): New functions.
10284 (image-mode-map): Add bindings for speed commands.
10285
10286 * image.el (image-animate-get-speed, image-animate-set-speed):
10287 New functions.
10288 (image-animate-timeout): Respect image :speed property.
10289
10290 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10293 previous line (bug#15101).
10294 (debugger-eval-expression, debugger-record-expression):
10295 Use read--expression (bug#15102).
10296
10297 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10298
10299 Remove byte compiler warnings, visible when compiling with
10300 `byte-compile-force-lexical-warnings' set to t.
10301
10302 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10303 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10304 (tramp-handle-unhandled-file-name-directory)
10305 (tramp-handle-file-notify-add-watch, tramp-action-login)
10306 (tramp-action-succeed, tramp-action-permission-denied)
10307 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10308 arguments with "_".
10309
10310 * net/tramp-adb.el (tramp-adb-parse-device-names)
10311 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10312 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10313 (tramp-adb-handle-file-truename): Remove unused arguments.
10314
10315 * net/tramp-cache.el (tramp-flush-directory-property)
10316 (tramp-flush-connection-property, tramp-list-connections)
10317 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10318
10319 * net/tramp-compat.el (tramp-compat-make-temp-file):
10320 Rename FILENAME to F.
10321
10322 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10323 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10324 (tramp-zeroconf-parse-workstation-device-names)
10325 (tramp-zeroconf-parse-webdav-device-names)
10326 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10327
10328 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10329 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10330
10331 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10332 arguments.
10333 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10334 (tramp-sh-handle-insert-file-contents-literally)
10335 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10336 with "_".
10337 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10338 Remove unused variables.
10339
10340 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10341 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10342 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10343
10344 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10345 Make them a defconst.
10346 (tramp-uuencode-region): Remove unused variable.
10347
10348 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10349
10350 * frameset.el (frameset--prop-setter): New function.
10351 (frameset-prop): Add gv-setter declaration.
10352 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10353 parameter was already set in FILTERED. Doc fix.
10354 (frameset--record-minibuffer-relationships): Allow saving a
10355 minibufferless frame without its corresponding minibuffer frame.
10356 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10357 frame, if the frame id matches.
10358 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10359 frames before orphaned ones.
10360 (frameset-restore): Warn about orphaned windows, instead of error out.
10361
10362 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10363
10364 * window.el (window-make-atom): Don't overwrite parameter
10365 already present.
10366 (display-buffer-in-atom-window): Handle special case where we
10367 split an already atomic window.
10368 (window--major-non-side-window, display-buffer-in-side-window)
10369 (window--side-check): Ignore minibuffer window when walking
10370 window tree.
10371 (window-deletable-p): Return 'frame only if no other frame uses
10372 our minibuffer window.
10373 (record-window-buffer): Run buffer-list-update-hook.
10374 (split-window): Make sure window--check-frame won't destroy an
10375 existing atomic window in case the new window gets nested
10376 inside.
10377 (display-buffer-at-bottom): Ignore minibuffer window when
10378 walking window tree. Don't split a side window.
10379 (pop-to-buffer): Don't set-buffer here, the select-window call
10380 should do that.
10381 (mouse-autoselect-window-select): Autoselect only if we are in the
10382 text portion of the window.
10383
10384 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10385
10386 * net/shr.el (shr-parse-image-data): New function to grab both the
10387 data itself and the Content-Type.
10388 (shr-put-image): Use it.
10389
10390 * net/eww.el (eww-display-image): Ditto.
10391
10392 * image.el (image-content-type-suffixes): New variable.
10393
10394 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10395
10396 * progmodes/python.el (python-imenu--build-tree)
10397 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10398
10399 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10400
10401 * simple.el (backward-word): Mention the optional argument.
10402
10403 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * frameset.el (frameset--make): Rename constructor from make-frameset.
10406 (frameset-p, frameset-valid-p): Don't autoload.
10407 (frameset-valid-p): Use normal accessors.
10408
10409 2013-08-13 Glenn Morris <rgm@gnu.org>
10410
10411 * progmodes/compile.el (compile-command): Tweak example in doc.
10412 * obsolete/scribe.el (scribe-mode):
10413 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10414
10415 * mail/feedmail.el (feedmail-confirm-outgoing)
10416 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10417
10418 * cus-start.el (truncate-partial-width-windows): Fix type.
10419
10420 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10421
10422 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10423
10424 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/timer.el (timer--time-setter): New function.
10427 (timer--time): Use it as gv-setter.
10428
10429 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10430 setter is not a symbol.
10431
10432 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10433
10434 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10435 if sending fails. This makes debugging easier.
10436
10437 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10438
10439 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10440 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10441 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10442
10443 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10444
10445 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10446
10447 2013-08-12 Glenn Morris <rgm@gnu.org>
10448
10449 * format.el (format-annotate-function):
10450 Handle read-only text properties in the source. (Bug#14887)
10451
10452 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10453
10454 * net/eww.el (eww-display-html): Ignore coding system errors.
10455 One web site uses "utf-8lias" as the coding system.
10456
10457 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10458
10459 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10460
10461 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10464 (tutorial--detailed-help): Remove unused local variables.
10465 (tutorial--save-tutorial-to): Use ignore-errors.
10466 (help-with-tutorial): Use looking-at-p.
10467
10468 * view.el (view-buffer-other-window, view-buffer-other-frame):
10469 Mark unused arguments.
10470
10471 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10472 (woman-select-symbol-fonts, woman, woman-find-file)
10473 (woman-insert-file-contents, woman-non-underline-faces):
10474 Use string-match-p.
10475 (woman1-unquote): Move declaration.
10476
10477 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10478 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10479 argument. Remove unused local variable.
10480 (xml-parse-elem-type): Use string-match-p.
10481 (xml-substitute-numeric-entities): Use ignore-errors.
10482
10483 * calculator.el (calculator): Mark unused argument.
10484 (calculator-paste, calculator-quit, calculator-integer-p):
10485 Use ignore-errors.
10486 (calculator-string-to-number, calculator-decimal, calculator-exp)
10487 (calculator-op-or-exp): Use string-match-p.
10488
10489 * dired.el (dired-buffer-more-recently-used-p): Declare.
10490 (dired-insert-set-properties, dired-insert-old-subdirs):
10491 Use ignore-errors.
10492
10493 * dired-aux.el (dired-compress): Use ignore-errors.
10494 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10495 (dired-do-async-shell-command, dired-do-shell-command)
10496 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10497 (dired-insert-subdir-validate): Use string-match-p.
10498 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10499 (dired-add-entry): Use string-match-p, looking-at-p.
10500 (dired-insert-subdir-newpos): Remove unused local variable.
10501
10502 * filenotify.el (file-notify-callback): Remove unused local variable.
10503
10504 * filesets.el (filesets-error): Mark unused argument.
10505 (filesets-which-command-p, filesets-filter-dir-names)
10506 (filesets-directory-files, filesets-get-external-viewer)
10507 (filesets-ingroup-get-data): Use string-match-p.
10508
10509 * find-file.el (ff-other-file-name, ff-other-file-name)
10510 (ff-find-the-other-file, ff-cc-hh-converter):
10511 Remove unused local variables.
10512 (ff-get-file-name): Use string-match-p.
10513 (ff-all-dirs-under): Use ignore-errors.
10514
10515 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10516 (follow-select-if-visible): Remove unused local variable.
10517
10518 * forms.el (read-file-filter): Move declaration.
10519 (forms--make-format, forms--make-parser, forms-insert-record):
10520 Quote function with #'.
10521 (forms--update): Use string-match-p. Quote function with #'.
10522
10523 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10524 (help-make-xrefs): Use looking-at-p.
10525 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10526
10527 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10528 (ibuffer-confirm-operation-on): Use string-match-p.
10529
10530 * msb.el (msb-item-handler, msb-dired-item-handler):
10531 Mark unused arguments.
10532
10533 * ses.el (ses-decode-cell-symbol)
10534 (ses-kill-override): Remove unused local variable.
10535 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10536 (ses-load): Use ignore-errors, looking-at-p.
10537 (ses-jump-safe): Use ignore-errors.
10538 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10539
10540 * tabify.el (untabify, tabify): Mark unused arguments.
10541
10542 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10543 Mark unused argument.
10544 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10545 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10546
10547 * emacs-lisp/timer.el (timer--time): Define setter with
10548 gv-define-setter to avoid deprecation warning.
10549
10550 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10551 (*record-cmpl-statistics-p*): Remove (was commented out).
10552 (cmpl-statistics-block): Remove (body was commented out).
10553 All callers changed.
10554 (add-completions-from-buffer, load-completions-from-file):
10555 Remove unused variables.
10556
10557 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * filecache.el (file-cache-delete-file-list):
10560 Print message only when told so.
10561 (file-cache-files-matching): Use #' in mapconcat argument.
10562
10563 * ffap.el (ffap-url-at-point): Fix reference to variable
10564 thing-at-point-default-mail-uri-scheme.
10565
10566 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * subr.el (define-error): New function.
10569 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10570 error-file-not-found and define with define-error.
10571 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10572 and define with define-error.
10573 * userlock.el (file-locked, file-supersession):
10574 * simple.el (mark-inactive):
10575 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10576 * progmodes/ada-mode.el (ada-mode-errors):
10577 * play/life.el (life-extinct):
10578 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10579 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10580 * nxml/rng-util.el (rng-error):
10581 * nxml/rng-uri.el (rng-uri-error):
10582 * nxml/rng-match.el (rng-compile-error):
10583 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10584 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10585 * nxml/nxml-rap.el (nxml-scan-error):
10586 * nxml/nxml-outln.el (nxml-outline-error):
10587 * net/soap-client.el (soap-error):
10588 * net/gnutls.el (gnutls-error):
10589 * net/ange-ftp.el (ftp-error):
10590 * mpc.el (mpc-proc-error):
10591 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10592 (json-number-format, json-string-escape, json-string-format)
10593 (json-key-format, json-object-format):
10594 * jka-compr.el (compression-error):
10595 * international/quail.el (quail-error):
10596 * international/kkc.el (kkc-error):
10597 * emacs-lisp/ert.el (ert-test-failed):
10598 * calc/calc.el (calc-error, inexact-result, math-overflow)
10599 (math-underflow):
10600 * bookmark.el (bookmark-error-no-filename):
10601 * epg.el (epg-error): Define with define-error.
10602
10603 * time.el (display-time-event-handler)
10604 (display-time-next-load-average): Don't call sit-for since it seems
10605 unnecessary (bug#15045).
10606
10607 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10608 Use #' instead of ' to quote functions.
10609 (checkdoc-output-mode): Use setq-local.
10610 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10611 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10612 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10613 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10614 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10615 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10616 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10617 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10618
10619 * ido.el (ido-completion-help): Fix up compiler warning.
10620
10621 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * frameset.el (frameset-p): Add autoload cookie.
10624 (frameset--jump-to-register): New function, based on code moved from
10625 register.el.
10626 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10627
10628 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10629 (frameset-restore, frameset-save, frameset-session-filter-alist):
10630 Remove declarations.
10631 (register-alist): Doc fix.
10632 (frameset-to-register): Move to frameset.el.
10633 (jump-to-register, describe-register-1): Remove frameset-specific code.
10634
10635 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10636
10637 * allout-widgets.el (allout-widgets-pre-command-business)
10638 (allout-widgets-post-command-business)
10639 (allout-widgets-after-change-handler)
10640 (allout-decorate-item-and-context, allout-set-boundary-marker)
10641 (allout-body-modification-handler)
10642 (allout-graphics-modification-handler): Mark ignored arguments.
10643 (allout-widgets-post-command-business)
10644 (allout-widgets-exposure-change-processor)
10645 (allout-widgets-exposure-undo-processor)
10646 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10647 (allout-parse-item-at-point, allout-decorate-item-guides)
10648 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10649 * allout.el (epa-passphrase-callback-function): Declare.
10650 (allout-overlay-insert-in-front-handler)
10651 (allout-overlay-interior-modification-handler)
10652 (allout-isearch-end-handler, allout-chart-siblings)
10653 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10654 (allout-yank-processing, allout-process-exposed)
10655 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10656 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10657 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10658 (lisp-indent-defform): Mark ignored arguments.
10659 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10660 (calculate-lisp-indent): Remove unused variables.
10661 * international/characters.el (indian-2-column, arabic-2-column)
10662 (tibetan): Mark ignored arguments.
10663 (use-cjk-char-width-table): Mark ignored arguments.
10664 Remove unused variables.
10665 * international/fontset.el (build-default-fontset-data)
10666 (x-compose-font-name, create-fontset-from-fontset-spec):
10667 Mark ignored arguments.
10668 (fontset-plain-name): Remove unused variables.
10669 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10670 (keyboard-coding-system): Mark ignored arguments.
10671 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10672 * help.el (resize-temp-buffer-window):
10673 * window.el (display-buffer-in-major-side-window)
10674 (display-buffer-in-side-window, display-buffer-in-previous-window):
10675 Remove unused variables.
10676 * isearch.el (isearch-forward-symbol):
10677 * version.el (emacs-bzr-version-bzr):
10678 * international/mule-cmds.el (current-language-environment):
10679 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10680 (x-handle-display):
10681 * term/pc-win.el (x-list-fonts, x-display-planes)
10682 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10683 (x-server-version, x-display-screens, x-display-mm-height)
10684 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10685 (x-selection-owner-p, x-own-selection-internal)
10686 (x-disown-selection-internal, x-get-selection-internal)
10687 (msdos-initialize-window-system):
10688 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10689 * term/x-win.el (x-handle-no-bitmap-icon):
10690 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10691 (vc-default-find-file-hook, vc-default-extra-menu):
10692 Mark ignored arguments.
10693
10694 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10697 break-condition in the context of the debugged code (bug#12685).
10698
10699 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10700
10701 * comint.el:
10702 Do not use an overlay to highlight the last prompt. (Bug#14744)
10703 (comint-mode): Make comint-last-prompt buffer local.
10704 (comint-last-prompt): New variable.
10705 (comint-last-prompt-overlay): Remove. Superseded by
10706 comint-last-prompt.
10707 (comint-snapshot-last-prompt, comint-output-filter):
10708 Use comint-last-prompt.
10709
10710 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10713 (frameset-save): Check validity of the resulting frameset.
10714
10715 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10716
10717 * ido.el (ido-record-command): Add doc string.
10718
10719 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * frameset.el (frameset): Do not disable creation of the default
10722 frameset-p predicate. Doc fix.
10723 (frameset-valid-p): New function, copied from the old predicate-p.
10724 Add additional checks.
10725 (frameset-restore): Check with frameset-valid-p.
10726 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10727 (frameset-name, frameset-description, frameset-properties)
10728 (frameset-states): Add docstring.
10729 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10730 (frameset-filter-alist): Doc fixes.
10731
10732 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10735
10736 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10737
10738 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10739 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10740 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10741 (byte-compile-normal-call): Remove obsolescence check.
10742
10743 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10744
10745 * frameset.el (frameset-restore): Doc fix.
10746
10747 * register.el (frameset-frame-id, frameset-frame-with-id)
10748 (frameset-p, frameset-restore, frameset-save): Declare.
10749 (register-alist): Document framesets.
10750 (frameset-session-filter-alist): Declare.
10751 (frameset-to-register): New function.
10752 (jump-to-register): Implement jumping to framesets. Doc fix.
10753 (describe-register-1): Describe framesets.
10754
10755 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10756
10757 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10758
10759 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10760 Use lexical-binding.
10761
10762 * frameset.el (frameset): Use type vector, not list (incompatible
10763 change). Do not declare a new constructor, use the default one.
10764 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10765 `name' and `description', respectively, and add read-only slot
10766 `timestamp'. Doc fixes.
10767 (frameset-copy, frameset-persistent-filter-alist)
10768 (frameset-filter-alist, frameset-switch-to-gui-p)
10769 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10770 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10771 (frameset-filter-iconified, frameset-keep-original-display-p):
10772 Doc fixes.
10773 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10774 Rename from frameset-filter-(save|restore)-param. All callers changed.
10775 Doc fix.
10776 (frameset-p): Adapt to change to vector and be more thorough.
10777 Change arg name to OBJECT. Doc fix.
10778 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10779 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10780 All callers changed.
10781 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10782 All callers changed.
10783 (frameset--record-minibuffer-relationships): Rename from
10784 frameset--process-minibuffer-frames. All callers changed.
10785 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10786 Use new default constructor (again). Doc fix.
10787 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10788 All callers changed.
10789 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10790 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10791 Doc fix.
10792 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10793 PARAMETERS and WINDOW-STATE, respectively.
10794 (frameset-restore): Add new keyword argument PREDICATE.
10795 Reset frameset--target-display to nil. Doc fix.
10796
10797 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10800 (bat-mode): Use it.
10801 (bat-mode-syntax-table): Mark \n as end-of-comment.
10802 (bat-font-lock-keywords): Remove comment rule.
10803
10804 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10805 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10806
10807 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10808 (byte-compile-callargs-warn): Use `push'.
10809 (byte-compile-arglist-warn): Ignore higher-order "calls".
10810 (byte-compile-file-form-autoload): Use `pcase'.
10811 (byte-compile-function-form): If quoting a symbol, check that it exists.
10812
10813 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10814
10815 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10816 and add a few popular commands found in batch files.
10817 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10818 (dos-mode): Doc fixes.
10819
10820 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10823 (dos-mode): Use setq-local. Add space after "rem".
10824 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10825 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10826
10827 2013-08-07 Arni Magnusson <arnima@hafro.is>
10828
10829 * progmodes/dos.el: New file.
10830 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10831 dos-mode.
10832
10833 2013-08-06 Glenn Morris <rgm@gnu.org>
10834
10835 * calendar/calendar.el: Add new faces, and day-header-array.
10836 (calendar-weekday-header, calendar-weekend-header)
10837 (calendar-month-header): New faces.
10838 (calendar-day-header-construct): New function.
10839 (calendar-day-header-width): Also :set calendar-day-header-array.
10840 (calendar-american-month-header, calendar-european-month-header)
10841 (calendar-iso-month-header): Use calendar- faces.
10842 (calendar-generate-month):
10843 Use calendar-day-header-array for day headers; apply faces to them.
10844 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10845 (calendar-abbrev-construct): Add optional maxlen argument.
10846 (calendar-day-name-array): Doc fix.
10847 (calendar-day-name-array, calendar-abbrev-length)
10848 (calendar-day-abbrev-array):
10849 Also :set calendar-day-header-array, and maybe redraw.
10850 (calendar-day-header-array): New option. (Bug#15007)
10851 (calendar-font-lock-keywords): Set to nil and make obsolete.
10852 (calendar-day-name): Add option to use header array.
10853
10854 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10855
10856 * net/shr.el (shr-render-td): Remove debugging.
10857 (shr-render-td): Make width computation consistent by defaulting
10858 all zero-width columns to 10 characters. This may not be optimal,
10859 but it's at least consistent.
10860 (shr-make-table-1): Redo last change to fix the real problem in
10861 colspan handling.
10862
10863 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10864
10865 * files.el (cache-long-line-scans):
10866 Make obsolete alias to `cache-long-scans'.
10867
10868 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * frameset.el (frameset, frameset-filter-alist)
10871 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10872 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10873 (frameset-compute-pos): Rename from frameset--compute-pos,
10874 and add docstring.
10875 (frameset-move-onscreen): Use frameset-compute-pos.
10876 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10877
10878 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10879 Fix typos in docstrings.
10880
10881 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10882
10883 * frame.el (get-other-frame): Tiny cleanup.
10884
10885 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10886
10887 * vc/vc.el (vc-default-ignore-completion-table):
10888 Silence byte-compiler warning.
10889
10890 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10891 slot, which can indeed be nil.
10892 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10893 Move entry for `left' from persistent to live filter alist.
10894 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10895 Doc fixes.
10896 (frameset-filter-params): When restoring a frame, copy items added to
10897 `filtered', to avoid unwittingly modifying the original parameters.
10898 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10899 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10900
10901 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10902 to use looking-at-p instead of looking-at. (Bug#15028)
10903
10904 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 Revert introduction of isearch-filter-predicates (bug#14714).
10907 Rely on add-function instead.
10908 * isearch.el (isearch-filter-predicates): Rename it back to
10909 isearch-filter-predicate.
10910 (isearch-message-prefix): Use advice-function-mapc and advice
10911 properties to get the isearch-message-prefix.
10912 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10913 instead of run-hook-with-args-until-failure.
10914 (isearch-filter-visible): Not obsolete any more.
10915 * loadup.el: Preload nadvice.
10916 * replace.el (perform-replace): Revert to funcall
10917 instead of run-hook-with-args-until-failure.
10918 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10919 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10920 dired-isearch-filenames-toggle; make it into a proper minor mode.
10921 Use add/remove-function.
10922 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10923 Call the minor-mode rather than add/remove-hook.
10924 (dired-isearch-filter-filenames):
10925 Remove isearch-message-prefix property.
10926 * info.el (Info--search-loop): New function, extracted from Info-search.
10927 Funcall isearch-filter-predicate instead of
10928 run-hook-with-args-until-failure isearch-filter-predicates.
10929 (Info-search): Use it.
10930 (Info-mode): Use isearch-filter-predicate instead of
10931 isearch-filter-predicates.
10932
10933 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10934
10935 Do not call to `selected-window' where it is assumed by default.
10936 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10937 `window-hscroll', `window-width', `window-height', `window-buffer',
10938 `window-frame', `window-start', `window-point', `next-window'
10939 and `window-display-table'.
10940 * abbrev.el (abbrev--default-expand):
10941 * bs.el (bs--show-with-configuration):
10942 * buff-menu.el (Buffer-menu-mouse-select):
10943 * calc/calc.el (calc):
10944 * calendar/calendar.el (calendar-generate-window):
10945 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10946 (diary-make-entry):
10947 * comint.el (send-invisible, comint-dynamic-complete-filename)
10948 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10949 * completion.el (complete):
10950 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10951 * disp-table.el (describe-current-display-table):
10952 * doc-view.el (doc-view-insert-image):
10953 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10954 * ehelp.el (with-electric-help):
10955 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10956 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10957 * emacs-lisp/helper.el (Helper-help-scroller):
10958 * emulation/cua-base.el (cua--post-command-handler-1):
10959 * eshell/esh-mode.el (eshell-output-filter):
10960 * ffap.el (ffap-gnus-wrapper):
10961 * help-macro.el (make-help-screen):
10962 * hilit-chg.el (highlight-compare-buffers):
10963 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10964 * hl-line.el (global-hl-line-highlight):
10965 * icomplete.el (icomplete-simple-completing-p):
10966 * isearch.el (isearch-done):
10967 * jit-lock.el (jit-lock-stealth-fontify):
10968 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10969 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10970 * mpc.el (mpc-tagbrowser, mpc):
10971 * net/rcirc.el (rcirc-any-buffer):
10972 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10973 * play/landmark.el (landmark-max-width, landmark-max-height):
10974 * play/zone.el (zone):
10975 * progmodes/compile.el (compilation-goto-locus):
10976 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10977 * progmodes/etags.el (find-tag-other-window):
10978 * progmodes/fortran.el (fortran-column-ruler):
10979 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10980 * progmodes/verilog-mode.el (verilog-point-text):
10981 * reposition.el (reposition-window):
10982 * rot13.el (toggle-rot13-mode):
10983 * server.el (server-switch-buffer):
10984 * shell.el (shell-dynamic-complete-command)
10985 (shell-dynamic-complete-environment-variable):
10986 * simple.el (insert-buffer, set-selective-display)
10987 (delete-completion-window):
10988 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10989 (speedbar-recenter):
10990 * startup.el (fancy-splash-head):
10991 * textmodes/ispell.el (ispell-command-loop):
10992 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10993 * tutorial.el (help-with-tutorial):
10994 * vc/add-log.el (add-change-log-entry):
10995 * vc/compare-w.el (compare-windows):
10996 * vc/ediff-help.el (ediff-indent-help-message):
10997 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10998 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10999 (ediff-setup-control-frame):
11000 * vc/emerge.el (emerge-position-region):
11001 * vc/pcvs-util.el (cvs-bury-buffer):
11002 * window.el (walk-windows, mouse-autoselect-window-select):
11003 * winner.el (winner-set-conf, winner-undo): Related users changed.
11004
11005 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * frameset.el (frameset--set-id): Doc fix.
11008 (frameset-frame-id, frameset-frame-id-equal-p)
11009 (frameset-locate-frame-id): New functions.
11010 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11011 (frameset-restore): Use them.
11012
11013 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11014
11015 Do not call to `selected-frame' where it is assumed by default.
11016 Affected functions are `raise-frame', `redraw-frame',
11017 `frame-first-window', `frame-terminal' and `delete-frame'.
11018 * calendar/appt.el (appt-disp-window):
11019 * epg.el (epg-wait-for-completion):
11020 * follow.el (follow-delete-other-windows-and-split)
11021 (follow-avoid-tail-recenter):
11022 * international/mule.el (set-terminal-coding-system):
11023 * mail/rmail.el (rmail-mail-return):
11024 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11025 * progmodes/f90.el (f90-add-imenu-menu):
11026 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11027 * server.el (server-switch-buffer):
11028 * simple.el (delete-completion-window):
11029 * talk.el (talk):
11030 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11031 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11032 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11033 * vc/ediff.el (ediff-documentation): Related users changed.
11034 * frame.el (selected-terminal): Remove the leftover.
11035
11036 2013-08-05 Glenn Morris <rgm@gnu.org>
11037
11038 * calendar/calendar.el (calendar-generate-month):
11039 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11040 (calendar-generate-month, calendar-font-lock-keywords):
11041 Fix for calendar-day-header-width > length of any day name.
11042
11043 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11044
11045 * desktop.el (desktop-clear): Use new name of sort predicate.
11046
11047 * frameset.el (frameset): Add docstring. Move :version property to its
11048 own `version' slot.
11049 (frameset-copy): Rename from copy-frameset.
11050 (frameset-p): Check more thoroughly.
11051 (frameset-prop): Do not check for :version, which is no longer a prop.
11052 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11053 Use new :never value instead of t.
11054 (frameset-filter-alist): Expand and clarify docstring.
11055 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11056 (frameset-filter-minibuffer, frameset-filter-save-param)
11057 (frameset-filter-restore-param, frameset-filter-iconified):
11058 Add pointer to docstring of frameset-filter-alist.
11059 (frameset-filter-params): Rename filter values to be more meaningful:
11060 :never instead of t, and reverse the meanings of :save and :restore.
11061 (frameset--process-minibuffer-frames): Clarify error message.
11062 (frameset-save): Avoid unnecessary and confusing call to framep.
11063 Use new BOA constructor for framesets.
11064 (frameset--reuse-list): Doc fix.
11065 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11066 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11067 (frameset-minibufferless-first-p): Doc fix.
11068 Rename from frameset-sort-frames-for-deletion.
11069 (frameset-restore): Doc fixes. Use new function names.
11070 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11071
11072 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11073
11074 * desktop.el (desktop-restore-forces-onscreen)
11075 (desktop-restore-reuses-frames): Document :keyword constant values.
11076 (desktop-filter-parameters-alist): Remove, now identical to
11077 frameset-filter-alist.
11078 (desktop--filter-tty*): Remove, moved to frameset.el.
11079 (desktop-save-frameset, desktop-restore-frameset):
11080 Do not pass :filters argument.
11081
11082 * frameset.el (frameset-live-filter-alist)
11083 (frameset-persistent-filter-alist): New variables.
11084 (frameset-filter-alist): Use them. Add autoload cookie.
11085 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11086 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11087 `frameset--id' (it's supposed to be internal to frameset.el).
11088 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11089 (frameset--initial-params): New function.
11090 (frameset--get-frame): Use it. Doc fix.
11091 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11092 Accept :all, not 'all.
11093 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11094 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11095 with fbound symbols. Fix frame id matching, and remove matching ids if
11096 the frame being restored is deleted. Obey :delete.
11097
11098 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11099
11100 * subr.el (macrop): New function.
11101 (text-clone--maintaining): New var.
11102 (text-clone--maintain): Rename from text-clone-maintain. Use it
11103 instead of inhibit-modification-hooks.
11104
11105 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11106 a proxy, so as handle autoloads and redefinitions of the target.
11107 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11108
11109 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11110 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11111 (pcase--mutually-exclusive-p): New function.
11112 (pcase--split-consp): Use it.
11113 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11114 mutually exclusive with the current predicate.
11115
11116 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11117 (edebug-macrop): Remove. Use `macrop' instead.
11118 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11119 (ad-macro-p):
11120 * eshell/esh-cmd.el (eshell-macrop):
11121 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11122
11123 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11126 (advice-mapc): New function, using it.
11127 (advice-function-member-p): New function.
11128 (advice--normalize): Store the cdr in advice--saved-rewrite since
11129 that's the part that will be changed.
11130 (advice--symbol-function): New function.
11131 (advice-remove): Handle removal before the function is defined.
11132 Adjust to new advice--saved-rewrite.
11133 (advice-member-p): Use advice-function-member-p and
11134 advice--symbol-function.
11135
11136 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11137
11138 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11139 (frameset-filter-minibuffer): Doc fix.
11140 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11141 (frameset--set-id, frameset--process-minibuffer-frames)
11142 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11143 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11144
11145 * desktop.el (desktop-clear): Only delete frames when called
11146 interactively and desktop-restore-frames is non-nil. Doc fix.
11147 (desktop-read): Set desktop-saved-frameset to nil.
11148
11149 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11150
11151 * vc/vc.el (vc-ignore): Rewrite.
11152 (vc-default-ignore-completion-table, vc--read-lines)
11153 (vc--add-line, vc--remove-regexp): New functions.
11154
11155 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11156 (vc-svn-ignore-completion-table): New function.
11157
11158 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11159 (vc-hg-ignore-completion-table)
11160 (vc-hg-find-ignore-file): New functions.
11161
11162 * vc/vc-git.el (vc-git-ignore): Rewrite.
11163 (vc-git-ignore-completion-table)
11164 (vc-git-find-ignore-file): New functions.
11165
11166 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11167
11168 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11169 (vc-bzr-ignore-completion-table)
11170 (vc-bzr-find-ignore-file): New functions.
11171
11172 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * frameset.el (frameset-prop): New function and setter.
11175 (frameset-save): Do not modify frame list passed by the caller.
11176
11177 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11180
11181 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11184 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11185
11186 * custom.el (custom-initialize-default, custom-initialize-set)
11187 (custom-initialize-reset, custom-initialize-changed): Affect the
11188 toplevel-default-value (bug#6275, bug#14586).
11189 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11190 for bug#6275.
11191
11192 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11195 Add cl-def* expressions.
11196
11197 * frameset.el (frameset-filter-params): Fix order of arguments.
11198
11199 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11200
11201 Move code related to saving frames to frameset.el.
11202 * desktop.el: Require frameset.
11203 (desktop-restore-frames): Doc fix.
11204 (desktop-restore-reuses-frames): Rename from
11205 desktop-restoring-reuses-frames.
11206 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11207 (desktop-clear): Clear frames too.
11208 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11209 (desktop--filter-tty*, desktop-save, desktop-read):
11210 Use frameset functions.
11211 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11212 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11213 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11214 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11215 (desktop--process-minibuffer-frames, desktop-save-frames)
11216 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11217 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11218 (desktop--sort-states, desktop-restoring-frames-p)
11219 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11220 (desktop-restoring-frameset-p, desktop-restore-frameset)
11221 (desktop--check-dont-save, desktop-save-frameset): New functions.
11222 (desktop--app-id): New constant.
11223 (desktop-first-buffer, desktop-buffer-ok-count)
11224 (desktop-buffer-fail-count): Move before first use.
11225 * frameset.el: New file.
11226
11227 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * files.el: Use lexical-binding.
11230 (dir-locals-read-from-file): Remove unused `err' variable.
11231 (hack-dir-local-variables--warned-coding): New var.
11232 (hack-dir-local-variables): Use it to avoid repeated warnings.
11233 (make-backup-file-name--default-function): New function.
11234 (make-backup-file-name-function): Use it as default.
11235 (buffer-stale--default-function): New function.
11236 (buffer-stale-function): Use it as default.
11237 (revert-buffer-insert-file-contents--default-function): New function.
11238 (revert-buffer-insert-file-contents-function): Use it as default.
11239 (insert-directory): Avoid add-to-list.
11240
11241 * autorevert.el (auto-revert-handler): Simplify.
11242 Use buffer-stale--default-function.
11243
11244 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11245
11246 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11247
11248 * whitespace.el (whitespace-ensure-local-variables): New function.
11249 (whitespace-cleanup-region): Call it.
11250 (whitespace-turn-on): Call it.
11251
11252 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11253
11254 Complete file name handlers.
11255
11256 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11257 (tramp-handle-verify-visited-file-modtime)
11258 (tramp-handle-file-notify-rm-watch): New functions.
11259 (tramp-call-process): Do not bind `default-directory'.
11260
11261 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11262 Order alphabetically.
11263 <access-file, add-name-to-file, dired-call-process>:
11264 <dired-compress-file, file-acl, file-notify-rm-watch>:
11265 <file-ownership-preserved-p, file-selinux-context>:
11266 <make-directory-internal, make-symbolic-link, set-file-acl>:
11267 <set-file-selinux-context, set-visited-file-modtime>:
11268 <verify-visited-file-modtime>: Add handler.
11269 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11270
11271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11272 <file-notify-add-watch, file-notify-rm-watch>:
11273 <set-file-times, set-visited-file-modtime>:
11274 <verify-visited-file-modtime>: Add handler.
11275 (with-tramp-gvfs-error-message)
11276 (tramp-gvfs-handle-set-visited-file-modtime)
11277 (tramp-gvfs-fuse-file-name): Remove.
11278 (tramp-gvfs-handle-file-notify-add-watch)
11279 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11280 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11281
11282 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11283 Order alphabetically.
11284 <file-notify-rm-watch>: Use default Tramp handler.
11285 <executable-find>: Remove private handler.
11286 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11287 `default-directory'.
11288 (tramp-sh-handle-executable-find)
11289 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11290 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11291 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11292 Do not use `format' in `tramp-message'.
11293
11294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11295 <file-notify-rm-watch, set-visited-file-modtime>:
11296 <verify-visited-file-modtime>: Add handler.
11297 (tramp-smb-call-winexe): Do not bind `default-directory'.
11298
11299 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11300
11301 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11302
11303 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11304
11305 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11306 use it.
11307 (log-view-diff-changeset): Same.
11308 (log-view-diff-common): Call backend command `previous-revision'
11309 to find out the previous revision, in both cases. Swap the
11310 variables `to' and `fr', so that `fr' usually refers to the
11311 earlier revision (Bug#14989).
11312
11313 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11314
11315 * ibuf-ext.el (ibuffer-filter-by-filename):
11316 Make it work with dired buffers too.
11317
11318 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11319
11320 * emacs-lisp/re-builder.el (reb-color-display-p):
11321 * files.el (save-buffers-kill-terminal):
11322 * net/browse-url.el (browse-url):
11323 * server.el (server-save-buffers-kill-terminal):
11324 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11325 Prefer nil to selected-frame for the first arg of frame-parameter.
11326
11327 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11328
11329 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11330
11331 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11332
11333 * minibuffer.el (completion--twq-all): Try and preserve each
11334 completion's case choice (bug#14907).
11335
11336 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11337
11338 * net/network-stream.el (open-network-stream): Mention the new
11339 :nogreeting parameter.
11340 (network-stream-open-starttls): Use the :nogreeting parameter
11341 (bug#14938).
11342
11343 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11344
11345 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11346 more natural than popping.
11347
11348 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11349 (shr-urlify): Highlight under mouse.
11350
11351 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11352
11353 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11354
11355 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11356
11357 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11358 buffer for output.
11359
11360 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11361 point-min==1. Fix search string. Fix parentheses missing.
11362
11363 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11364 assume point-min==1. Fix search string. Fix parentheses missing.
11365
11366 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11367
11368 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11369 buffer for output.
11370
11371 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11372
11373 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11374 initial frame is minibuffer-less. (Bug#14841)
11375
11376 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11377
11378 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11379 option.
11380
11381 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11382 (tramp-maybe-open-connection): Use it.
11383
11384 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11385
11386 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11387 minimal set of parameters passed when creating a frame, because
11388 the minibuffer status of a frame cannot be changed later.
11389
11390 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11391
11392 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11393 replace-regexp-in-string and inadvertent omissions in previous change.
11394 (todo-filter-items): Ensure only file names are comma-separated in
11395 name of filtered items buffer.
11396
11397 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11398
11399 * desktop.el: Optionally force offscreen frames back onscreen.
11400 (desktop-restoring-reuses-frames): New option.
11401 (desktop--compute-pos, desktop--move-onscreen): New functions.
11402 (desktop--make-frame): Use desktop--move-onscreen.
11403
11404 2013-07-27 Alan Mackenzie <acm@muc.de>
11405
11406 Fontify a Java generic method as a function.
11407 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11408 value to t.
11409
11410 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11411
11412 * calendar/todo-mode.el: Add command to rename todo files.
11413 (todo-rename-file): New command.
11414 (todo-key-bindings-t): Add key binding for it. Change the
11415 bindings of todo-filter-regexp-items(-multifile) to use `x'
11416 instead of `r', since the latter is better suited to the new
11417 renaming command.
11418
11419 2013-07-27 Alan Mackenzie <acm@muc.de>
11420
11421 Make Java try-with-resources statement parse properly.
11422 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11423 (c-block-stmt-1-2-key): New language constants/variables.
11424 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11425 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11426 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11427 with c-block-stmt-1-2-key.
11428
11429 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11430
11431 * desktop.el (desktop--make-frame): Apply most frame parameters after
11432 creating the frame to force (partially or totally) offscreen frames to
11433 be restored as such.
11434
11435 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11436
11437 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11438 (Bug#14948)
11439
11440 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11443 `base' arg of backtrace-frame.
11444
11445 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11446
11447 * simple.el (list-processes): Doc fix.
11448
11449 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * desktop.el (desktop--select-frame):
11452 Try harder to reuse existing frames.
11453
11454 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11457 (edebug-eval): Use backtrace-eval.
11458 (edebug--display, edebug--recursive-edit): Don't let-bind the
11459 edebug-outer-* vars that keep track of variables we locally let-bind.
11460 (edebug-outside-excursion): Don't restore outside values of locally
11461 let-bound vars.
11462 (edebug--display): Use user-error.
11463 (cl-lexical-debug, cl-debug-env): Remove.
11464
11465 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11468 are restored to be sure that they are visible before deleting any
11469 remaining ones.
11470
11471 2013-07-26 Matthias Meulien <orontee@gmail.com>
11472
11473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11474 vc-print-root-log. (Bug#14948)
11475
11476 2013-07-26 Richard Stallman <rms@gnu.org>
11477
11478 Add aliases for encrypting mail.
11479 * epa.el (epa-mail-aliases): New option.
11480 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11481 Bind inhibit-read-only so read-only text doesn't ruin everything.
11482 (epa-mail-default-recipients): New subroutine broken out.
11483 Handle epa-mail-aliases.
11484
11485 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 Add support for lexical variables to the debugger's `e' command.
11488 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11489 vars, except for debugger-outer-match-data.
11490 (debugger-frame-number): Move check for "on a function call" from
11491 callers into it. Add `skip-base' argument.
11492 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11493 (debugger-env-macro): Only reset the state stored in non-variables,
11494 i.e. current-buffer and match-data.
11495 (debugger-eval-expression): Rewrite using backtrace-eval.
11496 * subr.el (internal--called-interactively-p--get-frame): Remove.
11497 (called-interactively-p):
11498 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11499 `base' arg of backtrace-frame instead.
11500
11501 2013-07-26 Glenn Morris <rgm@gnu.org>
11502
11503 * align.el (align-regexp): Doc fix. (Bug#14857)
11504 (align-region): Explicit error if subexpression missing/does not match.
11505
11506 * simple.el (global-visual-line-mode):
11507 Do not duplicate the mode lighter. (Bug#14858)
11508
11509 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11510
11511 * window.el (display-buffer): In display-buffer bind
11512 split-window-keep-point to t, bug#14829.
11513
11514 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11517 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11518 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11519 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11520 Change accordingly.
11521 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11522 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11523
11524 2013-07-25 Glenn Morris <rgm@gnu.org>
11525
11526 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11527
11528 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11531 parameter to modify-frame-parameters if the value has not changed;
11532 this is a workaround for bug#14949.
11533 (desktop--make-frame): On cl-delete-if call, check parameter name,
11534 not full parameter.
11535
11536 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11537
11538 * vc/vc.el (vc-ignore): New function.
11539
11540 * vc/vc-svn.el (vc-svn-ignore): New function.
11541
11542 * vc/vc-hg.el (vc-hg-ignore): New function.
11543
11544 * vc/vc-git.el (vc-git-ignore): New function.
11545
11546 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11547 (vc-dir-ignore): New function.
11548
11549 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11550 (cvs-append-to-ignore): Move here from pcvs.el.
11551
11552 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11553
11554 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11555
11556 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11557
11558 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11559 (desktop-restore-frames): Warn when deleting an existing frame failed.
11560
11561 2013-07-24 Glenn Morris <rgm@gnu.org>
11562
11563 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11564
11565 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11566
11567 * filenotify.el (file-notify-supported-p):
11568 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11569 Remove functions.
11570
11571 * autorevert.el (auto-revert-use-notify)
11572 (auto-revert-notify-add-watch):
11573 * net/tramp.el (tramp-file-name-for-operation):
11574 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11576 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11577 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11578 Remove `file-notify-supported-p' entry.
11579
11580 2013-07-24 Glenn Morris <rgm@gnu.org>
11581
11582 * printing.el: Replace all uses of deleted ps-windows-system,
11583 ps-lp-system, ps-flatten-list with lpr- versions.
11584
11585 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11588 checked with memq (bug#14935).
11589
11590 * files.el (revert-buffer-function): Use a non-nil default.
11591 (revert-buffer-preserve-modes): Declare var to
11592 provide access to the `preserve-modes' argument.
11593 (revert-buffer): Let-bind it.
11594 (revert-buffer--default): New function, extracted from revert-buffer.
11595
11596 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * lpr.el: Signal print errors more prominently.
11599 (print-region-function): Don't default to nil.
11600 (lpr-print-region): New function, extracted from print-region-1.
11601 Check lpr's return value and signal an error in case of problem.
11602 (print-region-1): Use it.
11603 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11604 versions instead.
11605 (ps-printer-name): Default to nil.
11606 (ps-printer-name-option): Default to lpr-printer-switch.
11607 (ps-print-region-function): Don't default to nil.
11608 (ps-postscript-code-directory): Simplify default.
11609 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11610 (ps-string-list, ps-eval-switch, ps-flatten-list)
11611 (ps-flatten-list-1): Remove.
11612 (ps-multibyte-buffer): Avoid setq.
11613 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11614 (print-region-function, ps-print-region-function): Don't set them here.
11615
11616 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11617
11618 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11619 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11620 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11621 (ido-decorations): Doc fix.
11622
11623 * ansi-color.el: Fix old URL.
11624
11625 2013-07-23 Michael R. Mauger <michael@mauger.com>
11626
11627 * progmodes/sql.el: Version 3.3
11628 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11629 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11630 (sql-interactive-remove-continuation-prompt): Rewrite, use
11631 functions above. Fix continuation prompt and complete output line
11632 handling.
11633 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11634 redirected output buffer.
11635 (sql-mode): Restore deleted code (Bug#13591).
11636
11637 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11640
11641 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11642
11643 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11644
11645 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11648
11649 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11650
11651 * desktop.el (desktop-clear): Simplify; remove useless checks
11652 against invalid buffer names.
11653 (desktop-list*): Use cl-list*.
11654 (desktop-buffer-info, desktop-create-buffer): Simplify.
11655
11656 2013-07-23 Leo Liu <sdl.web@gmail.com>
11657
11658 * bookmark.el (bookmark-make-record): Restore NAME as a default
11659 value. (Bug#14933)
11660
11661 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11664 extracted from autoload--insert-text.
11665 (autoload--insert-text): Remove.
11666 (autoload--print-cookie-text): New function, extracted from
11667 autoload--insert-cookie-text.
11668 (autoload--insert-cookie-text): Remove.
11669 (autoload-generate-file-autoloads): Adjust calls accordingly.
11670
11671 * winner.el (winner-hook-installed-p): Remove.
11672 (winner-mode): Simplify accordingly.
11673
11674 * subr.el (add-to-list): Fix compiler-macro when `append' is
11675 not constant. Don't use `cl-member' for the base case.
11676
11677 * progmodes/subword.el: Fix boundary case (bug#13758).
11678 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11679 own group.
11680 (subword-backward-regexp): Make it a constant.
11681 (subword-forward-internal): Don't treat a trailing capital as the
11682 beginning of a word.
11683
11684 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11685
11686 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11687 global value of tabulated-list-revert-hook (bug#14930).
11688
11689 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11690
11691 * desktop.el: Require 'cl-lib.
11692 (desktop-before-saving-frames-functions): New hook.
11693 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11694 for frames being saved. Rename from desktop--save-minibuffer-frames.
11695 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11696 Do not save frames with non-nil `desktop-dont-save' parameter.
11697 Filter out deleted frames.
11698 (desktop--find-frame): Use cl-find-if.
11699 (desktop--select-frame): Use cl-(first|second|third) to access values
11700 of desktop-mini.
11701 (desktop--make-frame): Use cl-delete-if.
11702 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11703 (desktop-restore-frames): Use cl-(first|second|third) to access values
11704 of desktop-mini. Look for visible frame at the end, not while
11705 restoring frames.
11706
11707 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11708 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11709 Use string-match-p, looking-at-p (bug#14927).
11710
11711 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11712
11713 * desktop.el (desktop-saved-frame-states):
11714 Rename from desktop--saved-states; all users changed.
11715 (desktop-save-frames): Rename from desktop--save-frames.
11716 Do not save state to desktop file.
11717 (desktop-save): Save desktop-saved-frame-states to desktop file
11718 and reset to nil.
11719 (desktop-restoring-frames-p): New function.
11720 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11721 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11722 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11723
11724 * desktop.el: Correctly restore iconified frames.
11725 (desktop--filter-iconified-position): New function.
11726 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11727
11728 2013-07-20 Glenn Morris <rgm@gnu.org>
11729
11730 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11731 Let `message' do the formatting.
11732 (def-gdb-preempt-display-buffer): Add explicit format.
11733
11734 * image-dired.el (image-dired-track-original-file):
11735 Use with-current-buffer.
11736 (image-dired-track-thumbnail): Use with-current-buffer.
11737 Avoid changing point of wrong window.
11738
11739 * image-dired.el (image-dired-track-original-file):
11740 Avoid changing point of wrong window. (Bug#14909)
11741
11742 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11743
11744 * progmodes/gdb-mi.el (gdb-done-or-error):
11745 Guard against "%" in gdb output. (Bug#14127)
11746
11747 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11748
11749 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11750 (Bug#14826)
11751
11752 * international/mule.el (coding-system-iso-2022-flags): Fix last
11753 change.
11754
11755 2013-07-20 Kenichi Handa <handa@gnu.org>
11756
11757 * international/mule.el (coding-system-iso-2022-flags):
11758 Add `8-bit-level-4'. (Bug#8522)
11759
11760 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11761
11762 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11763 (bug#14815).
11764
11765 * net/eww.el (eww-process-text-input): Allow inputting when the
11766 point is at the start of the line, as the properties aren't
11767 front-sticky.
11768
11769 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11770 degenerate widths.
11771
11772 2013-07-19 Richard Stallman <rms@gnu.org>
11773
11774 * epa.el (epa-popup-info-window): Doc fix.
11775
11776 * subr.el (split-string): New arg TRIM.
11777
11778 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11779
11780 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11781 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11782
11783 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11784
11785 * filenotify.el (file-notify--library): Rename from
11786 `file-notify-support'. Do not autoload. Adapt all uses.
11787 (file-notify-supported-p): New defun.
11788
11789 * autorevert.el (auto-revert-use-notify):
11790 Use `file-notify-supported-p' instead of `file-notify-support'.
11791 Adapt docstring.
11792 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11793
11794 * net/tramp.el (tramp-file-name-for-operation):
11795 Add `file-notify-supported-p'.
11796
11797 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11798 New defun.
11799 (tramp-sh-file-name-handler-alist): Add it as handler for
11800 `file-notify-supported-p '.
11801
11802 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11803 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11804 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11805 Add `ignore' as handler for `file-notify-*' functions.
11806
11807 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11808
11809 * simple.el (line-move-partial, line-move): Don't start vscroll or
11810 scroll-up if the current line is not taller than the window.
11811 (Bug#14881)
11812
11813 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11814
11815 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11816 highlight question marks in the method names as strings.
11817 (ruby-block-beg-keywords): Inline.
11818 (ruby-font-lock-keyword-beg-re): Extract from
11819 `ruby-font-lock-keywords'.
11820
11821 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11822
11823 * frame.el (blink-cursor-blinks): New defcustom.
11824 (blink-cursor-blinks-done): New defvar.
11825 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11826 (blink-cursor-timer-function): Check if number of blinks has been
11827 done on X and NS.
11828 (blink-cursor-suspend, blink-cursor-check): New defuns.
11829
11830 2013-07-15 Glenn Morris <rgm@gnu.org>
11831
11832 * edmacro.el (edmacro-format-keys): Fix previous change.
11833
11834 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11835
11836 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11837 The hack didn't work outside English locales anyway.
11838
11839 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11840
11841 * simple.el (define-alternatives): Rename from alternatives-define,
11842 per RMS' suggestion.
11843
11844 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * desktop.el (desktop-restore-frames): Change default to t.
11847 (desktop-restore-in-current-display): Now offer more options.
11848 (desktop-restoring-reuses-frames): New customization option.
11849 (desktop--saved-states): Doc fix.
11850 (desktop-filter-parameters-alist): New variable, renamed and expanded
11851 from desktop--excluded-frame-parameters.
11852 (desktop--target-display): New variable.
11853 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11854 (desktop--filter-tty*, desktop--filter-*-color)
11855 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11856 (desktop--filter-save-desktop-parm)
11857 (desktop-restore-in-original-display-p): New functions.
11858 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11859 (desktop--save-minibuffer-frames): New function, inspired by a similar
11860 function from Martin Rudalics.
11861 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11862 (desktop--restore-in-this-display-p): Remove.
11863 (desktop--find-frame): Rename from desktop--find-frame-in-display
11864 and add predicate argument.
11865 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11866 (desktop--reuse-list): New variable.
11867 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11868 New functions.
11869 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11870
11871 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11872
11873 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11874
11875 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11876
11877 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11878 Highlight conversion methods on Kernel.
11879
11880 2013-07-13 Alan Mackenzie <acm@muc.de>
11881
11882 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11883 and comment it out. This out-commenting enables certain C++
11884 declarations to be parsed correctly.
11885
11886 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11887
11888 * international/mule.el (define-coding-system): Doc fix.
11889
11890 * simple.el (default-font-height): Don't call font-info if the
11891 frame's default font didn't change since the frame was created.
11892 (Bug#14838)
11893
11894 2013-07-13 Leo Liu <sdl.web@gmail.com>
11895
11896 * ido.el (ido-read-file-name): Guard against non-symbol value.
11897
11898 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11899
11900 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11901 in nested defuns.
11902
11903 2013-07-13 Leo Liu <sdl.web@gmail.com>
11904
11905 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11906 ido-set-matches call. (Bug#6852)
11907
11908 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11909
11910 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11911 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11912 Ruby 2.0.
11913 (ruby-font-lock-keywords): Distinguish calls to functions with
11914 module-like names from module references. Highlight character
11915 literals.
11916
11917 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11918
11919 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11920 (gdb-send): Handle continued commands. (Bug#14847)
11921
11922 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11923
11924 * desktop.el (desktop--v2s): Remove unused local variable.
11925 (desktop-save-buffer): Make defvar-local; adjust docstring.
11926 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11927 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11928
11929 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11930
11931 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11932
11933 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11934
11935 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11936 (Bug#14842)
11937
11938 2013-07-12 Glenn Morris <rgm@gnu.org>
11939
11940 * doc-view.el: Require cl-lib at runtime too.
11941 (doc-view-remove-if): Remove.
11942 (doc-view-search-next-match, doc-view-search-previous-match):
11943 Use cl-remove-if.
11944
11945 * edmacro.el: Require cl-lib at runtime too.
11946 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11947 (edmacro-mismatch, edmacro-subseq): Remove.
11948
11949 * shadowfile.el: Require cl-lib.
11950 (shadow-remove-if): Remove.
11951 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11952 Use cl-remove-if.
11953
11954 * wid-edit.el: Require cl-lib.
11955 (widget-choose): Use cl-remove-if.
11956 (widget-remove-if): Remove.
11957
11958 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11959 (ebrowse-delete-if-not): Remove.
11960 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11961 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11962 Use cl-delete-if-not.
11963
11964 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11965
11966 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11967 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11968
11969 2013-07-12 Leo Liu <sdl.web@gmail.com>
11970
11971 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11972
11973 2013-07-11 Glenn Morris <rgm@gnu.org>
11974
11975 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11976 (edebug-gensym-index, edebug-gensym):
11977 Remove reimplementation of cl-gensym.
11978 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11979
11980 * thumbs.el: Require cl-lib at run-time too.
11981 (thumbs-gensym-counter, thumbs-gensym):
11982 Remove reimplementation of cl-gensym.
11983 (thumbs-temp-file): Use cl-gensym.
11984
11985 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11986 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11987 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11988 (ert--union, ert--gensym-counter, ert--gensym-counter)
11989 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11990 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11991 (ert-make-test-unbound, ert--expand-should-1)
11992 (ert--expand-should, ert--should-error-handle-error)
11993 (should-error, ert--explain-equal-rec)
11994 (ert--plist-difference-explanation, ert-select-tests)
11995 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11996 Use cl-lib functions rather than reimplementations.
11997
11998 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11999
12000 * net/tramp.el (tramp-methods): Extend docstring.
12001 (tramp-connection-timeout): New defcustom.
12002 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12003 (with-tramp-progress-reporter): Simplify.
12004 (tramp-process-actions): Improve messages.
12005
12006 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12007 * net/tramp-sh.el (tramp-maybe-open-connection):
12008 Use `tramp-connection-timeout'.
12009 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12010 (Bug#14808)
12011
12012 2013-07-11 Leo Liu <sdl.web@gmail.com>
12013
12014 * ido.el (ido-read-file-name): Conform to the requirements of
12015 read-file-name. (Bug#11861)
12016 (ido-read-directory-name): Conform to the requirements of
12017 read-directory-name.
12018
12019 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12020
12021 * subr.el (delay-warning): New function.
12022
12023 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12024
12025 * simple.el (default-line-height): New function.
12026 (line-move-partial, line-move): Use it instead of computing the
12027 line height inline.
12028 (line-move-partial): Always compute ROWH. If the last line is
12029 partially-visible, but its text is completely visible, allow
12030 cursor to enter such a partially-visible line.
12031
12032 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12033
12034 Improve error messages. (Bug#14808)
12035
12036 * net/tramp.el (tramp-current-connection): New defvar, moved from
12037 tramp-sh.el.
12038 (tramp-message-show-progress-reporter-message): Remove, not
12039 needed anymore.
12040 (tramp-error-with-buffer): Show message in minibuffer.
12041 Discard input before waiting. Reset connection timestamp.
12042 (with-tramp-progress-reporter): Improve messages.
12043 (tramp-process-actions): Use progress reporter. Delete process in
12044 case of error. Improve messages.
12045
12046 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12047 Call `tramp-error-with-buffer' with vector and buffer.
12048 (tramp-current-connection): Remove.
12049 (tramp-maybe-open-connection): The car of
12050 `tramp-current-connection' are the first 3 slots of the vector.
12051
12052 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12053
12054 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12055 inside continued strings.
12056
12057 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12058
12059 Timestamp fixes for undo (Bug#14824).
12060 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12061
12062 2013-07-10 Leo Liu <sdl.web@gmail.com>
12063
12064 * files.el (require-final-newline): Allow safe local value.
12065 (Bug#14834)
12066
12067 2013-07-09 Leo Liu <sdl.web@gmail.com>
12068
12069 * ido.el (ido-read-directory-name): Handle fallback.
12070 (ido-read-file-name): Update DIR to ido-current-directory.
12071 (Bug#1516)
12072 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12073
12074 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12075
12076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12077 "autoload". Remove "warn lower camel case" section, previously
12078 commented out. Highlight negation char. Do not highlight the
12079 target in singleton method definitions.
12080
12081 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * faces.el (tty-setup-hook): Declare the hook.
12084
12085 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12086 and detect when a guard/pred depends on local vars (bug#14773).
12087 (pcase--u1): Adjust caller.
12088
12089 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12090
12091 * simple.el (line-move-partial, line-move): Account for
12092 line-spacing.
12093 (line-move-partial): Avoid setting vscroll when the last
12094 partially-visible line in window is of default height.
12095
12096 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12097
12098 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12099 been used a while.
12100
12101 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * subr.el (read-quoted-char): Remove unused local variable `char'.
12104
12105 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12106
12107 * vc/ediff.el (ediff-version): Version update.
12108 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12109 (ediff-merge-with-ancestor-command, ediff-directories-command)
12110 (ediff-directories3-command, ediff-merge-directories-command)
12111 (ediff-merge-directories-with-ancestor-command): New functions.
12112 All are command-line interfaces to ediff: to facilitate calling
12113 Emacs with the appropriate ediff functions invoked.
12114
12115 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12116 New function.
12117 (viper-save-kill-buffer): Check if buffer is modified.
12118
12119 * emulation/viper.el (viper-version): Version update.
12120 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12121
12122 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12125 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12126 (viper-intercept-ESC-key): Simplify.
12127 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12128 don't use kbd.
12129 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12130 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12131 (viper-setup-ESC-to-escape): New functions.
12132 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12133 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12134
12135 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12136
12137 * simple.el (default-font-height, window-screen-lines):
12138 New functions.
12139 (line-move, line-move-partial): Use them instead of
12140 frame-char-height and window-text-height. This makes scrolling
12141 text smoother when the buffer's default face uses a font that is
12142 different from the frame's default font.
12143
12144 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12145
12146 * files.el (write-file): Do not display confirm dialog for NS,
12147 it does its own dialog, which can't be canceled (Bug#14578).
12148
12149 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12150
12151 * simple.el (line-move-partial): Adjust the row returned by
12152 posn-at-point for the current window-vscroll. (Bug#14567)
12153
12154 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12155
12156 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12157 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12158 spaces.
12159
12160 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12161
12162 * window.el (window-state-put-stale-windows): New variable.
12163 (window--state-put-2): Save list of windows without matching buffer.
12164 (window-state-put): Remove "bufferless" windows if possible.
12165
12166 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12167
12168 * simple.el (alternatives-define): Remove leftover :group keyword.
12169 Tweak docstring.
12170
12171 2013-07-06 Leo Liu <sdl.web@gmail.com>
12172
12173 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12174 (ido-enable-virtual-buffers): New variable.
12175 (ido-buffer-internal, ido-toggle-virtual-buffers)
12176 (ido-make-buffer-list): Use it.
12177 (ido-exhibit): Support turning on and off virtual buffers
12178 automatically.
12179
12180 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12181
12182 * simple.el (alternatives-define): New macro.
12183
12184 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * subr.el (read-quoted-char): Use read-key.
12187 (sit-for): Let read-event decode tty input (bug#14782).
12188
12189 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12190
12191 * calendar/todo-mode.el: Add handling of file deletion, both by
12192 mode command and externally. Fix various related bugs.
12193 Clarify Commentary and improve some documentation strings and code.
12194 (todo-delete-file): New command.
12195 (todo-check-file): New function.
12196 (todo-show): Handle external deletion of the file we're trying to
12197 show (bug#14688). Replace called-interactively-p by an optional
12198 prefix argument to avoid problematic interaction with catch form
12199 when byte compiled (bug#14702).
12200 (todo-quit): Handle external deletion of the archive's todo file.
12201 Make sure the buffer that was visiting the archive file is still
12202 live before trying to bury it.
12203 (todo-category-completions): Handle external deletion of any
12204 category completion files.
12205 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12206 of todo files, in case of external deletion.
12207 (todo-add-file): Replace unnecessary setq by let-binding.
12208 (todo-find-archive): Check whether there are any archives.
12209 Replace unnecessary setq by let-binding.
12210 (todo-archive-done-item): Use find-file-noselect to get the
12211 archive buffer whether or not the archive already exists.
12212 Remove superfluous code. Use file size instead of buffer-file-name to
12213 check if the archive is new; if it is, update list of archives.
12214 (todo-default-todo-file): Allow nil to be a valid value for when
12215 there are no todo files.
12216 (todo-reevaluate-default-file-defcustom): Use corrected definition
12217 of todo-default-todo-file.
12218 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12219 (todo-delete-category, todo-show-categories-table)
12220 (todo-category-number): Clarify comment.
12221 (todo-filter-items): Clarify documentation string.
12222 (todo-show-current-file, todo-display-as-todo-file)
12223 (todo-reset-and-enable-done-separator): Tweak documentation string.
12224 (todo-done-separator): Make separator length window-width, since
12225 bug#2749 is now fixed.
12226
12227 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12228
12229 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12230 Support both "gvfs-monitor-dir" and "inotifywait".
12231 (tramp-sh-file-inotifywait-process-filter): Rename from
12232 `tramp-sh-file-notify-process-filter'.
12233 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12234 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12235
12236 2013-07-05 Leo Liu <sdl.web@gmail.com>
12237
12238 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12239
12240 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12241
12242 * frame.el (display-pixel-height, display-pixel-width)
12243 (display-mm-height, display-mm-width): Mention behavior on
12244 multi-monitor setups in docstrings.
12245 (w32-display-monitor-attributes-list): Declare function.
12246 (display-monitor-attributes-list): Use it.
12247
12248 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12249
12250 * filenotify.el: New package.
12251
12252 * autorevert.el (top): Require filenotify.el.
12253 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12254 instead.
12255 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12256 (auto-revert-notify-handler): Use `file-notify-*' functions.
12257
12258 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12259
12260 * net/tramp.el (tramp-file-name-for-operation):
12261 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12262
12263 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12264 for `file-notify-add-watch' and `file-notify-rm-watch'.
12265 (tramp-process-sentinel): Improve trace.
12266 (tramp-sh-handle-file-notify-add-watch)
12267 (tramp-sh-file-notify-process-filter)
12268 (tramp-sh-handle-file-notify-rm-watch)
12269 (tramp-get-remote-inotifywait): New defuns.
12270
12271 2013-07-03 Juri Linkov <juri@jurta.org>
12272
12273 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12274 call of `occur-read-primary-args' to interactive spec.
12275
12276 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12277 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12278
12279 2013-07-03 Matthias Meulien <orontee@gmail.com>
12280
12281 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12282 `Buffer-menu-multi-occur'. Add it to the menu.
12283 (Buffer-menu-mode): Document it in docstring.
12284 (Buffer-menu-multi-occur): New command. (Bug#14673)
12285
12286 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12287
12288 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12289 keywords and built-ins.
12290
12291 2013-07-03 Glenn Morris <rgm@gnu.org>
12292
12293 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12294
12295 Make info-xref checks case-sensitive by default
12296 * info.el (Info-find-node, Info-find-in-tag-table)
12297 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12298 Add option for exact case matching of nodes.
12299 * info-xref.el (info-xref): New custom group.
12300 (info-xref-case-fold): New option.
12301 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12302
12303 2013-07-03 Leo Liu <sdl.web@gmail.com>
12304
12305 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12306
12307 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12308
12309 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12310 middle of block statement initially, lower the depth. Remove
12311 FIXME comment, not longer valid. Remove middle of block statement
12312 detection, no need to do that anymore since we've been using
12313 `ruby-parse-region' here.
12314
12315 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12316
12317 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12318
12319 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12320
12321 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12322
12323 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12324
12325 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12326 (desktop-restore-in-current-display): New customization option.
12327 (desktop--excluded-frame-parameters): Add `font'.
12328 (desktop--save-frames): Rename from desktop--save-windows.
12329 (desktop--restore-in-this-display-p): New function.
12330 (desktop--make-full-frame): Remove unwanted width/height from
12331 full(width|height) frames.
12332 (desktop--restore-frames): Rename from desktop--restore-windows.
12333 Obey desktop-restore-current-display. Do not delete old frames or
12334 select a new frame unless we were able to restore at least one frame.
12335
12336 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12337
12338 * files.el (find-file-noselect): Simplify conditional expression.
12339
12340 * textmodes/remember.el (remember-append-to-file):
12341 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12342
12343 Add `remember-notes' function to store random notes across Emacs
12344 restarts.
12345 * textmodes/remember.el (remember-data-file): Add :set callback to
12346 affect notes buffer (if any).
12347 (remember-notes): New command.
12348 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12349 New defcustoms for the `remember-notes' function.
12350 (remember-notes-save-and-bury-buffer): New command.
12351 (remember-notes-mode-map): New variable.
12352 (remember-mode): New minor mode.
12353 (remember-notes--kill-buffer-query): New function.
12354 * startup.el (initial-buffer-choice): Add notes to custom type.
12355
12356 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12357
12358 * bindings.el (right-char, left-char): Don't call sit-for, this is
12359 no longer needed. Use arithmetic comparison only for numerical
12360 arguments.
12361
12362 * international/mule-cmds.el (select-safe-coding-system):
12363 Handle the case of FROM being a string correctly. (Bug#14755)
12364
12365 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12366
12367 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12368 progression on degenerate tables.
12369 (shr-rescale-image): ImageMagick animated images currently don't work.
12370
12371 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12372
12373 Some fixes and improvements for desktop frame restoration.
12374 It is still experimental and disabled by default.
12375 * desktop.el (desktop--save-windows): Put the selected frame at
12376 the head of the list.
12377 (desktop--make-full-frame): New function.
12378 (desktop--restore-windows): Try to re-select the frame that was
12379 selected upon saving. Do not abort if some frames fail to restore,
12380 just show an error message and continue. Set up maximized frames
12381 so they have default non-maximized dimensions.
12382
12383 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12384
12385 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12386 Don't start heredoc inside a string or comment.
12387
12388 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12389
12390 * bindings.el (visual-order-cursor-movement): New defcustom.
12391 (right-char, left-char): Provide visual-order cursor motion by
12392 calling move-point-visually. Update the doc strings.
12393
12394 2013-06-28 Kenichi Handa <handa@gnu.org>
12395
12396 * international/mule.el (define-coding-system): New coding system
12397 properties :inhibit-null-byte-detection,
12398 :inhibit-iso-escape-detection, and :prefer-utf-8.
12399 (set-buffer-file-coding-system): If :charset-list property of
12400 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12401 appropriate for setting.
12402
12403 * international/mule-cmds.el (select-safe-coding-system):
12404 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12405 multibyte characters, return utf-8 (or one of its siblings).
12406
12407 * international/mule-conf.el (prefer-utf-8): New coding system.
12408 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12409 files.
12410
12411 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12412
12413 * net/shr.el (shr-render-region): New function.
12414
12415 * net/eww.el: Autoload `eww-browse-url'.
12416
12417 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12418
12419 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12420 Adapt to `package-desc-version' being a list.
12421 Use `package--ac-desc-version' to retrieve version from a package
12422 archive element.
12423
12424 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12425
12426 New experimental feature to save&restore window and frame setup.
12427 * desktop.el (desktop-save-windows): New defcustom.
12428 (desktop--saved-states): New var.
12429 (desktop--excluded-frame-parameters): New defconst.
12430 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12431 (desktop--restore-windows, desktop--save-windows): New functions.
12432 (desktop-save): Call `desktop--save-windows'.
12433 (desktop-read): Call `desktop--restore-windows'.
12434
12435 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12436
12437 * net/shr.el (add-face-text-property): Remove compat definition.
12438
12439 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12440
12441 * info.el (Info-try-follow-nearest-node): Move search for footnote
12442 above search for node name to prevent missing a footnote (bug#14717).
12443
12444 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12445
12446 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12447
12448 2013-06-27 Leo Liu <sdl.web@gmail.com>
12449
12450 * net/eww.el (eww-read-bookmarks): Check file size.
12451
12452 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12453
12454 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12455 advice--pending if newdef is nil or an autoload (bug#13820).
12456 (advice-mapc): New function.
12457
12458 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12459
12460 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12461 probably.
12462 (eww-mode-map): Add a menu bar.
12463 (eww-add-bookmark): New command.
12464 (eww-bookmark-mode): New mode and commands.
12465 (eww-add-bookmark): Remove newlines from the title.
12466 (eww-bookmark-browse): Don't bug out if it's the only window.
12467
12468 2013-06-26 Glenn Morris <rgm@gnu.org>
12469
12470 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12471 (hfy-size): Handle ttys. (Bug#14668)
12472
12473 * info-xref.el: Update for Texinfo 5 change in *note format.
12474 (info-xref-node-re, info-xref-note-re): New constants.
12475 (info-xref-check-buffer): Use info-xref-note-re.
12476
12477 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12480
12481 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12482 nil terminate the loop (bug#14718).
12483
12484 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12485
12486 * net/eww.el: Rework history traversal. When going forward/back,
12487 put these actions into the history, too, so that they can be
12488 replayed.
12489 (eww-render): Move the history reset to the correct buffer.
12490
12491 2013-06-25 Juri Linkov <juri@jurta.org>
12492
12493 * files-x.el (modify-dir-local-variable): Change the header comment
12494 in the file with directory local variables. (Bug#14692)
12495
12496 * files-x.el (read-file-local-variable-value): Add `default'.
12497 (Bug#14710)
12498
12499 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12500
12501 * net/eww.el (eww-make-unique-file-name): Create a unique file
12502 name before saving to entering `y' accidentally asynchronously.
12503
12504 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12505
12506 * net/eww.el (eww-download): New command and keystroke.
12507
12508 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509
12510 * net/eww.el (eww-copy-page-url): Change name of command.
12511
12512 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12513 be more consistent with Info and dired.
12514
12515 * net/eww.el (eww-mode-map): Ditto.
12516
12517 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12520 packages from archives.
12521 (package-archive-contents): Change format; include obsolete packages.
12522 (package-desc): Use `dir' to mark builtin packages.
12523 (package--from-builtin): Set the `dir' field to `builtin'.
12524 (generated-autoload-file, version-control): Declare.
12525 (package-compute-transaction): Change first arg and return value to be
12526 lists of package-descs. Adjust to new package-archive-contents format.
12527 (package--add-to-archive-contents): Adjust to new
12528 package-archive-contents format.
12529 (package-download-transaction): Arg is now a list of package-descs.
12530 (package-install): If `pkg' is a package name, pass it as
12531 a requirement, so it is subject to the usual (e.g. disabled) checks.
12532 (describe-package): Accept package-desc as well.
12533 (describe-package-1): Describe a specific package-desc. Add links to
12534 other package-descs for the same package name.
12535 (package-menu-describe-package): Pass the actual package-desc.
12536 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12537 works correctly.
12538 (package-desc-status): New function.
12539 (package-menu--refresh): New function, extracted
12540 from package-menu--generate.
12541 (package-menu--generate): Use it.
12542 (package-delete): Update package-alist.
12543 (package-menu-execute): Don't call package-initialize.
12544
12545 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12546 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12547 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12548 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12549 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12550 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12551
12552 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12553
12554 * window.el (window--state-get-1): Workaround for bug#14527.
12555 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12556
12557 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12558
12559 * net/eww.el (eww-back-url): Implement the history by stashing all
12560 the data into a list.
12561 (eww-forward-url): Allow going forward in the history, too.
12562
12563 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12566 for values and use read--expression for expressions (bug#14710).
12567 (read-file-local-variable): Avoid setq.
12568 (read-file-local-variable-mode): Use minor-mode-list.
12569
12570 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12571
12572 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12573 for DOI URLs.
12574
12575 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12576
12577 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12578 Update imenu-support when dialect changes.
12579
12580 2013-06-25 Leo Liu <sdl.web@gmail.com>
12581
12582 * ido.el (ido-read-internal): Allow forward slash on windows.
12583
12584 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12585
12586 * net/eww.el (eww): Start of strings is \\`, not ^.
12587
12588 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12589
12590 * net/shr.el (shr-browse-url): Fix interactive spec.
12591
12592 * net/eww.el (eww): Add a trailing slash to domain names.
12593
12594 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12595
12596 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12597
12598 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12599
12600 * net/shr.el (shr-browse-url): Use an external browser if given a
12601 prefix.
12602
12603 * net/eww.el (eww-external-browser): Move to shr.
12604
12605 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12606
12607 * net/eww.el (eww): Work more correctly for file: URLs.
12608 (eww-detect-charset): Allow quoted charsets.
12609 (eww-yank-page-url): New command and keystroke.
12610
12611 2013-06-24 Daiki Ueno <ueno@gnu.org>
12612
12613 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12614 file name of gpg executable.
12615 (epg-context-program): New function.
12616 (epg-context-home-directory): New function.
12617 (epg-context-set-program): New function.
12618 (epg-context-set-home-directory): New function.
12619 (epg--start): Use `epg-context-program' instead of
12620 'epg-gpg-program'.
12621 (epg--list-keys-1): Likewise.
12622
12623 2013-06-24 Leo Liu <sdl.web@gmail.com>
12624
12625 * ido.el (ido-read-internal): Fix bug#14620.
12626
12627 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12628
12629 * faces.el (face-documentation): Simplify.
12630 (read-face-attribute, tty-find-type, x-resolve-font-name):
12631 Use `string-match-p'.
12632 (list-faces-display): Use `string-match-p'. Simplify.
12633 (face-spec-recalc): Check face to avoid face alias loops.
12634 (read-color): Use `string-match-p' and non-capturing parenthesis.
12635
12636 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12637
12638 * net/shr.el (shr-rescale-image): Use the new
12639 :max-width/:max-height functionality.
12640
12641 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12642
12643 * net/eww.el (eww-search-prefix): New variable.
12644 (eww): Use it.
12645 (eww-external-browser): New variable.
12646 (eww-mode-map): New keystroke.
12647 (eww-browse-with-external-browser): New command.
12648
12649 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12650
12651 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12654 Don't skip aligning the next header field when padding is 0;
12655 otherwise, field width is not respected unless the title is as
12656 wide as the field.
12657
12658 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * emacs-lisp/package.el (package-el-version): Remove.
12661 (package-process-define-package): Fix inf-loop.
12662 (package-install): Allow symbols as arguments again.
12663
12664 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12665
12666 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12667 add some more keyword-like methods.
12668 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12669
12670 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12671
12672 * bs.el (bs-buffer-show-mark): Make defvar-local.
12673 (bs-mode): Use setq-local.
12674
12675 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12676 (emacs-lock--try-unlocking): Make defvar-local.
12677
12678 2013-06-22 Glenn Morris <rgm@gnu.org>
12679
12680 * play/cookie1.el (cookie-apropos): Minor simplification.
12681
12682 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12683
12684 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12685
12686 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12687 `regexp-opt', it breaks the build during dumping.
12688
12689 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12690
12691 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12692 Highlight keyword-like methods on Kernel and Module with
12693 font-lock-builtin-face.
12694 (auto-mode-alist): Consolidate different entries into one regexp
12695 and add more *file-s.
12696
12697 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12698
12699 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12700
12701 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12702 (diary-entry): Use it in the action of this button type instead of
12703 diary-goto-entry.
12704
12705 * calendar/todo-mode.el: New version.
12706 (todo-add-category): Append new category to end of file and give
12707 it the highest number, instead of putting it at the beginning and
12708 giving it 0. Incorporate noninteractive functionality.
12709 (todo-forward-category): Adapt to 1-based category numbering.
12710 Allow skipping over archived categories.
12711 (todo-backward-category): Derive from todo-forward-category.
12712 (todo-backward-item, todo-forward-item): Make noninteractive and
12713 delegate interactive part to new commands. Make sensitive to done items.
12714 (todo-categories): Make value an alist of category names and
12715 vectors of item counts.
12716 (todo-category-beg): Make a defconst.
12717 (todo-category-number): Use 1 instead of 0 as initial value.
12718 (todo-category-select): Make sensitive to overlays, optional item
12719 highlighting and done items.
12720 (todo-delete-item): Make sensitive to overlays and marked and done items.
12721 (todo-edit-item): Make sensitive to overlays and editing of
12722 date/time header optional. Add format checks.
12723 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12724 no-op if point is not on an item. Advertise using todo-edit-quit.
12725 (todo-edit-mode): Make sensitive to new format, font-locking, and
12726 multiple todo files.
12727 (todo-insert-item, todo-insert-item-here): Derive from
12728 todo-basic-insert-item and extend functionality.
12729 (todo-item-end, todo-item-start): Make sensitive to done items.
12730 (todo-item-string): Don't return text properties. Restore point.
12731 (todo-jump-to-category): Make sensitive to multiple todo files and
12732 todo archives. Use extended category completion.
12733 (todo-lower-item, todo-raise-item): Rename to *-priority and
12734 derive from todo-set-item-priority.
12735 (todo-mode): Derive from special-mode. Make sensitive to new
12736 format, font-locking and multiple todo files. Make read-only.
12737 (todo-mode-map): Don't suppress digit keys, so they can supply
12738 prefix arguments. Add many new key bindings.
12739 (todo-prefix): Insert as an overlay instead of file text.
12740 Change semantics from diary date expression to purely visual mark.
12741 (todo-print): Rename to todo-print-buffer. Make buffer display
12742 features printable. Remove option to restrict number of items
12743 printed. Add option to print to file.
12744 (todo-print-function): Rename to todo-print-buffer-function.
12745 (todo-quit): Extend to handle exiting new todo modes.
12746 (todo-remove-item): Make sensitive to overlays.
12747 (todo-save): Extend to buffers of filtered items.
12748 (todo-show): Make sensitive to done items, multiple todo files and
12749 new todo modes. Offer to convert legacy todo file before creating
12750 first new todo file.
12751 (todo-show-priorities): Rename to todo-top-priorities.
12752 Change semantics of value 0.
12753 (todo-top-priorities): Rename to todo-filter-top-priorities,
12754 derive from todo-filter-items and extend functionality.
12755 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12756 and extend functionality to other types of filtered items.
12757 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12758 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12759 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12760 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12761 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12762 (todo-edit-mode-hook, todo-entry-prefix-function)
12763 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12764 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12765 (todo-initials, todo-insert-threshold, todo-item-string-start)
12766 (todo-line-string, todo-menu, todo-mode-hook)
12767 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12768 (todo-print-priorities, todo-remove-separator)
12769 (todo-save-top-priorities-too, todo-string-count-lines)
12770 (todo-string-multiline-p, todo-time-string-format)
12771 (todo-tmp-buffer-name): Remove.
12772 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12773 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12774 (todo-edit-category-diary-inclusion)
12775 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12776 (todo-edit-file, todo-edit-item-date-day)
12777 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12778 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12779 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12780 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12781 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12782 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12783 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12784 (todo-filter-top-priorities-multifile, todo-find-archive)
12785 (todo-find-filtered-items-file, todo-go-to-source-item)
12786 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12787 (todo-jump-to-archive-category, todo-lower-category)
12788 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12789 (todo-move-category, todo-move-item, todo-next-button)
12790 (todo-next-item, todo-padded-string, todo-powerset)
12791 (todo-previous-button, todo-previous-item)
12792 (todo-print-buffer-to-file, todo-raise-category)
12793 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12794 (todo-set-category-number, todo-set-item-priority)
12795 (todo-set-top-priorities-in-category)
12796 (todo-set-top-priorities-in-file, todo-show-categories-table)
12797 (todo-sort-categories-alphabetically-or-numerically)
12798 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12799 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12800 (todo-toggle-item-header, todo-toggle-item-highlighting)
12801 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12802 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12803 (todo-unarchive-items, todo-unmark-category): New commands.
12804 (todo-absolute-file-name, todo-add-to-buffer-list)
12805 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12806 (todo-basic-insert-item, todo-category-completions)
12807 (todo-category-number, todo-category-string-matcher-1)
12808 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12809 (todo-check-format, todo-clear-matches)
12810 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12811 (todo-current-category, todo-date-string-matcher)
12812 (todo-define-insertion-command, todo-diary-expired-matcher)
12813 (todo-diary-goto-entry, todo-diary-item-p)
12814 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12815 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12816 (todo-done-item-section-p, todo-done-separator)
12817 (todo-done-string-matcher, todo-files, todo-filter-items)
12818 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12819 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12820 (todo-insert-category-line, todo-insert-item-from-calendar)
12821 (todo-insert-sort-button, todo-insert-with-overlays)
12822 (todo-insertion-command-name, todo-insertion-key-bindings)
12823 (todo-label-to-key, todo-longest-category-name-length)
12824 (todo-make-categories-list, todo-mode-external-set)
12825 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12826 (todo-modes-set-3, todo-multiple-filter-files)
12827 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12828 (todo-read-category, todo-read-date, todo-read-dayname)
12829 (todo-read-file-name, todo-read-time)
12830 (todo-reevaluate-category-completions-files-defcustom)
12831 (todo-reevaluate-default-file-defcustom)
12832 (todo-reevaluate-filelist-defcustoms)
12833 (todo-reevaluate-filter-files-defcustom)
12834 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12835 (todo-reset-done-separator, todo-reset-done-separator-string)
12836 (todo-reset-done-string, todo-reset-global-current-todo-file)
12837 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12838 (todo-reset-prefix, todo-set-categories)
12839 (todo-set-date-from-calendar, todo-set-show-current-file)
12840 (todo-set-top-priorities, todo-short-file-name)
12841 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12842 (todo-total-item-counts, todo-update-buffer-list)
12843 (todo-update-categories-display, todo-update-categories-sexp)
12844 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12845 New functions.
12846 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12847 New major modes.
12848 (todo-categories, todo-display, todo-edit, todo-faces)
12849 (todo-filtered): New defgroups.
12850 (todo-archived-only, todo-button, todo-category-string, todo-date)
12851 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12852 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12853 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12854 (todo-add-item-if-new-category, todo-always-add-time-string)
12855 (todo-categories-align, todo-categories-archived-label)
12856 (todo-categories-category-label, todo-categories-diary-label)
12857 (todo-categories-done-label, todo-categories-number-separator)
12858 (todo-categories-todo-label, todo-categories-totals-label)
12859 (todo-category-completions-files, todo-completion-ignore-case)
12860 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12861 (todo-done-separator-string, todo-done-string)
12862 (todo-files-function, todo-filter-done-items, todo-filter-files)
12863 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12864 (todo-initial-category, todo-initial-file, todo-item-mark)
12865 (todo-legacy-date-time-regexp, todo-mode-line-function)
12866 (todo-nondiary-marker, todo-number-prefix)
12867 (todo-print-buffer-function, todo-show-current-file)
12868 (todo-show-done-only, todo-show-first, todo-show-with-done)
12869 (todo-skip-archived-categories, todo-top-priorities-overrides)
12870 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12871 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12872 New defcustoms.
12873 (todo-category-done, todo-date-pattern, todo-date-string-start)
12874 (todo-diary-items-buffer, todo-done-string-start)
12875 (todo-filtered-items-buffer, todo-item-start)
12876 (todo-month-abbrev-array, todo-month-name-array)
12877 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12878 (todo-top-priorities-buffer): New defconsts.
12879 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12880 (todo-categories-with-marks, todo-category-string-face)
12881 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12882 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12883 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12884 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12885 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12886 (todo-font-lock-keywords, todo-global-current-todo-file)
12887 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12888 (todo-insertion-commands-args)
12889 (todo-insertion-commands-args-genlist)
12890 (todo-insertion-commands-names, todo-insertion-map)
12891 (todo-key-bindings-t, todo-key-bindings-t+a)
12892 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12893 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12894 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12895 (todo-visited): New variables.
12896
12897 2013-06-21 Glenn Morris <rgm@gnu.org>
12898
12899 * play/cookie1.el (cookie-apropos): Add optional display argument.
12900 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12901 (psychoanalyze-pinhead): Use cookie-doctor.
12902
12903 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12904
12905 * emacs-lisp/package.el (tar-get-file-descriptor)
12906 (tar--extract): Declare.
12907
12908 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12909
12910 Extend flymake's warning predicate to be a function (bug#14217).
12911 * progmodes/flymake.el (flymake-warning-predicate): New.
12912 (flymake-parse-line): Use it.
12913 (flymake-warning-re): Make obsolete alias to
12914 `flymake-warning-predicate'.
12915
12916 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12919 (package-obsolete-list): Remove.
12920 (package-activate): Remove min-version argument. Add `force' argument.
12921 Adjust to new package-alist format.
12922 (package-mark-obsolete): Remove.
12923 (package-unpack): Force reload of the package's autoloads.
12924 (package-installed-p): Check builtins if the installed package is not
12925 recent enough.
12926 (package-initialize): Don't reset package-obsolete-list.
12927 Don't specify which package version to activate.
12928 (package-process-define-package, describe-package-1)
12929 (package-menu--generate): Adjust to new package-alist format.
12930
12931 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12932
12933 * allout-widgets.el (allout-widgets-mode-off)
12934 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12935 (allout-widgets-post-command-business)
12936 (allout-widgets-after-copy-or-kill-function)
12937 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12938 (allout-decorate-item-and-context)
12939 (allout-graphics-modification-handler): Fix typos in docstrings.
12940 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12941
12942 * cmuscheme.el (scheme-start-file): Doc fix.
12943 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12944 (scheme-input-filter): Use `string-match-p'.
12945
12946 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12947
12948 * dired-x.el: Use Dired consistently in docstrings.
12949
12950 * dired.el: Use Dired consistently in docstrings.
12951 (dired-readin, dired-mode): Use `setq-local'.
12952 (dired-switches-alist): Make defvar-local.
12953 (dired-buffers-for-dir): Use `zerop'.
12954 (dired-safe-switches-p, dired-switches-escape-p)
12955 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12956 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12957 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12958 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12959 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12960 (dired-toggle-marks, dired-mark-files-containing-regexp)
12961 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12962 (dired-flag-auto-save-files, dired-flag-backup-files):
12963 Use `looking-at-p'.
12964 (dired-mark-files-regexp, dired-build-subdir-alist):
12965 Use `string-match-p', `looking-at-p'.
12966
12967 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12968 (direct-print-region-helper): Use `string-match-p'.
12969
12970 2013-06-21 Leo Liu <sdl.web@gmail.com>
12971
12972 * comint.el (comint-redirect-results-list-from-process):
12973 Fix infinite loop.
12974
12975 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12976
12977 * net/eww.el (eww-update-header-line-format): Quote % characters.
12978
12979 2013-06-21 Glenn Morris <rgm@gnu.org>
12980
12981 * play/cookie1.el (cookie): New custom group.
12982 (cookie-file): New option.
12983 (cookie-check-file): New function.
12984 (cookie): Make it interactive. Make start and end messages optional.
12985 Interactively, display the result. Default to cookie-file.
12986 (cookie-insert): Default to cookie-file.
12987 (cookie-snarf): Make start and end messages optional.
12988 Default to cookie-file. Use with-temp-buffer.
12989 (cookie-read): Rename from read-cookie.
12990 Make start and end messages optional. Default to cookie-file.
12991 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12992 Do not autoload it.
12993 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12994 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12995
12996 2013-06-21 Leo Liu <sdl.web@gmail.com>
12997
12998 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12999
13000 2013-06-21 Glenn Morris <rgm@gnu.org>
13001
13002 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13003
13004 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13005 Daniel Hackney <dan@haxney.org>
13006
13007 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13008 Consolidate the single-file vs tarball code.
13009 (package-desc-suffix): New function.
13010 (package-desc-full-name): Don't bother inlining it.
13011 (package-load-descriptor): Return the new package-desc.
13012 (package-mark-obsolete): Remove unused arg `package'.
13013 (package-unpack): Make it work for single files as well.
13014 Make it update package-alist.
13015 (package--make-autoloads-and-stuff): Rename from
13016 package--make-autoloads-and-compile. Don't compile any more.
13017 (package--compile): New function.
13018 (package-generate-description-file): New function, extracted from
13019 package-unpack-single.
13020 (package-unpack-single): Remove.
13021 (package--with-work-buffer): Add indentation and debugging info.
13022 (package-download-single): Remove.
13023 (package-install-from-archive): Rename from package-download-tar, make
13024 it take a pkg-desc, and make it work for single files as well.
13025 (package-download-transaction): Simplify.
13026 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13027 external tar program.
13028 (package-install-from-buffer): Remove `pkg-desc' argument.
13029 Use package-tar-file-info for tar-mode buffers.
13030 (package-install-file): Simplify accordingly.
13031 (package-archive-base): Change to take a pkg-desc.
13032 * tar-mode.el (tar--check-descriptor): New function, extracted from
13033 tar-get-descriptor.
13034 (tar-get-descriptor): Use it.
13035 (tar-get-file-descriptor): New function.
13036 (tar--extract): New function, extracted from tar-extract.
13037 (tar--extract): Use it.
13038 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13039 case the summary uses non-ascii. Adjust to new calling convention of
13040 package-tar-file-info.
13041
13042 2013-06-21 Leo Liu <sdl.web@gmail.com>
13043
13044 * comint.el (comint-redirect-results-list-from-process):
13045 Fix random delay. (Bug#14681)
13046
13047 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13048
13049 * profiler.el (profiler-format-number): Use log, not log10.
13050
13051 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13052
13053 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13054
13055 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13058 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13059 yet available.
13060 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13061 (AUTOGENEL): ... here.
13062 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13063 (cl--defsubst-expand): Use it.
13064
13065 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13066
13067 * subr.el (log10): Move here from C code, and declare as obsolete.
13068 All uses of (log10 X) replaced with (log X 10).
13069
13070 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13071
13072 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13073 Declare with `defvar-local'.
13074 (tabulated-list-use-header-line, tabulated-list-entries)
13075 (tabulated-list-padding, tabulated-list-printer)
13076 (tabulated-list-sort-key): Declare with `defvar-local'.
13077 (tabulated-list-init-header, tabulated-list-print-fake-header):
13078 Use `setq-local'.
13079
13080 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13081
13082 * arc-mode.el (archive-mode): Add `archive-write-file' to
13083 `write-contents-functions' also for remote files. (Bug#14652)
13084
13085 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13086
13087 * cus-edit.el (custom-commands): Fix typos.
13088 (custom-display): Fix tooltip text.
13089 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13090 Fix typos in docstrings.
13091 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13092 (custom-unlispify-menu-entry, custom-magic-value-create)
13093 (custom-add-see-also, custom-group-value-create): Use ?\s.
13094 (custom-guess-type, customize-apropos, editable-field)
13095 (custom-face-value-create): Use `string-match-p'.
13096 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13097
13098 * custom.el (custom-load-symbol): Use `string-match-p'.
13099
13100 * ansi-color.el: Convert to lexical binding.
13101 (ansi-colors): Fix URL.
13102 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13103 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13104 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13105
13106 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13107
13108 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13109
13110 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13111
13112 2013-06-19 Tom Tromey <tromey@redhat.com>
13113
13114 * net/eww.el (eww-top-url): Remove.
13115 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13116 (eww-render): Set new variables. Don't set eww-top-url.
13117 (eww-handle-link): Handle "prev", "home", and "contents".
13118 Downcase the rel text.
13119 (eww-top-url): Choose best top URL.
13120
13121 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13122
13123 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13124 relying in widget.el. Using widget.el leads to too many
13125 user interface inconsistencies.
13126 (eww-self-insert): Implement entering commands in text fields.
13127 (eww-process-text-input): New function to make text input field editing
13128 work.
13129 (eww-submit): Rewrite to use the new-style form methods.
13130 (eww-select-display): Display the correct selected item.
13131 (eww-change-select): Implement changing the select value.
13132 (eww-toggle-checkbox): Implement radio/checkboxes.
13133 (eww-update-field): Fix compilation error.
13134 (eww-tag-textarea): Implement <textarea>.
13135
13136 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13137 we don't shadow mode-specific bindings.
13138
13139 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13140 nothing to push.
13141
13142 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13143
13144 2013-06-19 Glenn Morris <rgm@gnu.org>
13145
13146 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13147
13148 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13149
13150 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13151 not needed.
13152
13153 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13154
13155 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13156
13157 * net/browse-url.el (browse-url-browser-function):
13158 `eww-browse-url' has the right calling signature, `eww' does not.
13159
13160 2013-06-19 Glenn Morris <rgm@gnu.org>
13161
13162 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13163 Only eval autoloaded macros.
13164 (byte-compile-autoload): Only give the macro warning for macros.
13165
13166 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13167 (ps-underlined-faces): Declare.
13168
13169 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13170 (speedbar-add-supported-extension): Declare.
13171
13172 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13173 Don't include a date stamp in the header of the generated file;
13174 it leads to needless differences between output files.
13175
13176 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13177
13178 * net/secrets.el (secrets-struct-secret-content-type):
13179 Replace check of introspection data by a test call of "CreateItem".
13180 Some servers do not offer introspection.
13181
13182 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * electric.el (electric-pair-mode): Improve interaction with
13185 electric-layout-mode.
13186 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13187 (electric-pair-syntax): Use text-mode-syntax-table in comments
13188 and strings.
13189 (electric-pair--insert): New function.
13190 (electric-pair-post-self-insert-function): Use it and
13191 electric--after-char-pos.
13192
13193 2013-06-19 Leo Liu <sdl.web@gmail.com>
13194
13195 * progmodes/octave.el (octave-help): Fix regexp.
13196
13197 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13198
13199 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13200 (shr-table-horizontal-line): Allow nil as a value, and change the
13201 default.
13202 (shr-insert-table-ruler): Respect the nil value.
13203
13204 2013-06-18 Tom Tromey <tromey@barimba>
13205
13206 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13207 New defvars.
13208 (eww-open-file): New defun.
13209 (eww-render): Initialize new variables.
13210 (eww-display-html): Handle "link" and "a".
13211 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13212 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13213 (eww-back-url): Rename from eww-previous-url.
13214 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13215 New defuns.
13216
13217 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13218
13219 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13220 Distinguish ternary operator tokens from slash symbol and slash
13221 char literal.
13222
13223 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13224
13225 Convert symbol prettification into minor mode and global minor mode.
13226
13227 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13228 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13229 (prettify-symbols--keywords): Rename from
13230 `prog-prettify-symbols-alist' and make a local defvar.
13231 (prettify-symbols--compose-symbol): Rename from
13232 `prog--prettify-font-lock-compose-symbol'.
13233 (prettify-symbols--make-keywords): Rename from
13234 `prog-prettify-font-lock-symbols-keywords' and simplify.
13235 (prog-prettify-install): Remove.
13236 (prettify-symbols-mode): New minor mode, based on
13237 `prog-prettify-install'.
13238 (turn-on-prettify-symbols-mode): New function.
13239 (global-prettify-symbols-mode): New globalized minor mode.
13240
13241 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13242 * progmodes/cfengine.el (cfengine3-mode):
13243 * progmodes/perl-mode.el (perl-mode): Don't call
13244 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13245
13246 2013-06-18 Juri Linkov <juri@jurta.org>
13247
13248 * files-x.el (modify-file-local-variable-message): New function.
13249 (modify-file-local-variable)
13250 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13251 and call `modify-file-local-variable-message' when it's non-nil.
13252 (add-file-local-variable, delete-file-local-variable)
13253 (add-file-local-variable-prop-line)
13254 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13255 and use it. (Bug#9820)
13256
13257 2013-06-18 Juri Linkov <juri@jurta.org>
13258
13259 * emulation/vi.el (vi-shell-op):
13260 * emulation/vip.el (vip-execute-com, ex-command):
13261 * emulation/viper-cmd.el (viper-exec-bang):
13262 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13263 the call of `shell-command-on-region'. (Bug#14637)
13264
13265 * simple.el (shell-command-on-region): Doc fix.
13266
13267 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13270 (bug#14633).
13271
13272 2013-06-18 Glenn Morris <rgm@gnu.org>
13273
13274 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13275
13276 * newcomment.el (comment-search-forward, comment-search-backward):
13277 Doc fix. (Bug#14376)
13278
13279 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13280
13281 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13282 (buffer-face-mode-invoke): Doc fix.
13283
13284 2013-06-18 Matthias Meulien <orontee@gmail.com>
13285
13286 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13287 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13288
13289 2013-06-18 Glenn Morris <rgm@gnu.org>
13290
13291 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13292 Replace obsolete function generic-make-keywords with its expansion.
13293
13294 * progmodes/python.el (ffap-alist): Declare.
13295
13296 * textmodes/reftex.el (bibtex-mode-map): Declare.
13297
13298 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13301 (package-unpack, package-unpack-single): Return the pkg-dir.
13302 (package-download-transaction): Use it to update package-alist.
13303
13304 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13305
13306 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13307 possible choice.
13308
13309 2013-06-17 Juri Linkov <juri@jurta.org>
13310
13311 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13312
13313 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13314
13315 * emacs-lisp/package.el (package-load-descriptor):
13316 Remove `with-syntax-table' call, `read' doesn't need it.
13317 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13318
13319 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13320
13321 * startup.el (command-line): Expand package name returned by
13322 `package--description-file' (bug#14639).
13323
13324 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13325
13326 * emacs-lisp/package.el (package-load-descriptor): Do not call
13327 `emacs-lisp-mode', just use its syntax table.
13328
13329 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13330
13331 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13332 `font-lock-extra-managed-props' if any prettifying keyword is added.
13333 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13334 (prog-mode): Use `setq-local'.
13335
13336 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * international/characters.el (standard-case-table): Set syntax of ?»
13339 and ?« to punctuation.
13340
13341 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13342
13343 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13344 Save relevant match data before calling `syntax-ppss' (bug#14595).
13345
13346 2013-06-15 Juri Linkov <juri@jurta.org>
13347
13348 * files-x.el (modify-file-local-variable-prop-line): Add local
13349 variables to the end of the existing comment on the first line.
13350 Use `file-auto-mode-skip' to skip interpreter magic line,
13351 and also skip XML declaration.
13352
13353 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * startup.el (package--builtin-versions): New var.
13356 (package-subdirectory-regexp): Remove.
13357 (package--description-file): Hard code its value instead.
13358
13359 * emacs-lisp/package.el: Don't activate packages older than builtin.
13360 (package-obsolete-list): Rename from package-obsolete-alist, and make
13361 it into a simple list of package-desc.
13362 (package-strip-version): Remove.
13363 (package-built-in-p): Use package--builtin-versions.
13364 (package-mark-obsolete): Simplify.
13365 (package-process-define-package): Mark it obsolete if older than the
13366 builtin version.
13367 (package-handle-response): Use line-end-position.
13368 (package-read-archive-contents, package--download-one-archive):
13369 Simplify.
13370 (package--add-to-archive-contents): Skip if older than the builtin or
13371 installed version.
13372 (package-menu-describe-package): Fix last change.
13373 (package-list-unversioned): New var.
13374 (package-menu--generate): Use it.
13375
13376 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13377 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13378 (autoload-builtin-package-versions): New variable.
13379 (autoload-generate-file-autoloads): Use them.
13380 Remove the list of autoloaded functions/macros from the
13381 (autoload...) comments.
13382
13383 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13384
13385 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13386
13387 * simple.el (line-move-partial): Don't jump to the next screen
13388 line as soon as it becomes visible. Instead, continue enlarging
13389 the vscroll until the portion of a tall screen line that's left on
13390 display is about the height of the frame's default font.
13391 (Bug#14567)
13392
13393 2013-06-15 Glenn Morris <rgm@gnu.org>
13394
13395 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13396 compilation-error-regexp-alist void, or local while let-bound.
13397
13398 * progmodes/make-mode.el (makefile-mode-syntax-table):
13399 Treat "=" as punctuation. (Bug#14614)
13400
13401 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13402
13403 * help-fns.el (describe-variable):
13404 Add extra line for permanent-local variables.
13405
13406 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13407
13408 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13409 Add export, import, library. (Bug#9164)
13410 (library): Set indent function.
13411
13412 2013-06-14 Glenn Morris <rgm@gnu.org>
13413
13414 * term/xterm.el (xterm--query):
13415 Stop after first matching handler. (Bug#14615)
13416
13417 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13418
13419 Add support for dired in saveplace.
13420 * dired.el (dired-initial-position-hook): New variable.
13421 (dired-initial-position): Call hook to place cursor position.
13422 * saveplace.el (save-place-to-alist): Add dired position.
13423 (save-place-dired-hook): New function.
13424
13425 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13428 through a symbol rather than letrec.
13429
13430 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13431 (package-desc): Add `dir' field.
13432 (package-desc-full-name): New function.
13433 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13434 (package-maybe-load-descriptor): Remove.
13435 (package-load-all-descriptors): Just call package-load-descriptor.
13436 (package--disabled-p): New function.
13437 (package-desc-vers, package-desc-doc): Remove aliases.
13438 (package--dir): Remove function.
13439 (package-activate): Check if a package is disabled.
13440 (package-process-define-package): New function, extracted from
13441 define-package.
13442 (define-package): Turn into a place holder.
13443 (package-unpack-single, package-tar-file-info):
13444 Use package--description-file.
13445 (package-compute-transaction): Use package--disabled-p.
13446 (package-download-transaction): Don't call
13447 package-maybe-load-descriptor since they're all loaded anyway.
13448 (package-install): Change argument to be a pkg-desc.
13449 (package-delete): Use a single pkg-desc argument.
13450 (describe-package-1): Use package-desc-dir instead of package--dir.
13451 Use package-desc property instead of package-symbol.
13452 (package-install-button-action): Adjust accordingly.
13453 (package--push): Rewrite.
13454 (package-menu--print-info): Adjust accordingly. Change the ID format
13455 to be a pkg-desc.
13456 (package-menu-describe-package, package-menu-get-status)
13457 (package-menu--find-upgrades, package-menu-mark-upgrades)
13458 (package-menu-execute, package-menu--name-predicate):
13459 Adjust accordingly.
13460 * startup.el (package--description-file): New function.
13461 (command-line): Use it.
13462 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13463 Use package-desc-version.
13464
13465 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13466 (byte-compile-preprocess): Use it.
13467 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13468 can't quite recognize.
13469 (byte-compile-add-to-list): Remove.
13470 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13471 (cconv-closure-convert): Add assertion.
13472
13473 * emacs-lisp/map-ynp.el: Use lexical-binding.
13474 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13475 Factor out some repeated code.
13476
13477 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * subr.el (with-eval-after-load): New macro.
13480 (eval-after-load): Allow form to be a function.
13481 take advantage of lexical-binding.
13482 (do-after-load-evaluation): Use dolist and adjust to new format.
13483 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13484
13485 2013-06-13 Juri Linkov <juri@jurta.org>
13486
13487 * replace.el (perform-replace): Display "symbol " and other search
13488 modes from `isearch-message-prefix' in the *Help* buffer.
13489
13490 * isearch.el (isearch-query-replace): Add " symbol" and other
13491 possible search modes from `isearch-message-prefix' to the prompt.
13492 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13493 when reading a regexp to collect.
13494
13495 2013-06-13 Juri Linkov <juri@jurta.org>
13496
13497 * isearch.el (word-search-regexp): Match whitespace if the search
13498 string begins or ends in whitespace. The LAX arg is applied to
13499 both ends of the search string. Use `regexp-quote' and explicit
13500 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13501 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13502 boundaries are replaced with symbol boundaries, and characters
13503 between symbols match non-word non-symbol syntax. (Bug#14602)
13504
13505 2013-06-13 Juri Linkov <juri@jurta.org>
13506
13507 * isearch.el (isearch-del-char): Don't exceed the length of
13508 `isearch-string' by the prefix arg. (Bug#14563)
13509
13510 2013-06-13 Juri Linkov <juri@jurta.org>
13511
13512 * isearch.el (isearch-yank-word, isearch-yank-line)
13513 (isearch-char-by-name, isearch-quote-char)
13514 (isearch-printing-char, isearch-process-search-char):
13515 Add optional count prefix arg. (Bug#14563)
13516
13517 * international/isearch-x.el
13518 (isearch-process-search-multibyte-characters):
13519 Add optional count prefix arg.
13520
13521 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13522
13523 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13524 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13525 lexical-binding.
13526
13527 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13528
13529 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13530
13531 2013-06-13 Glenn Morris <rgm@gnu.org>
13532
13533 * startup.el (tty-handle-args):
13534 Don't just discard "--" and anything after. (Bug#14608)
13535
13536 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13537
13538 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13539
13540 Implement changes in Secret Service API. Make it backward compatible.
13541 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13542 (secrets-create-item): Use it. Prefix properties with interface.
13543
13544 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13545
13546 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13547 (term-emulate-terminal): Respect term-suppress-hard-newline.
13548
13549 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13550
13551 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13552 Only remove a `thumb-file' overlay. (Bug#14548)
13553
13554 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13555
13556 * mail/reporter.el (reporter-submit-bug-report):
13557 Handle missing package-name. (Bug#14600)
13558
13559 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13560
13561 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13562 (reftex-citation-prompt, reftex-default-bibliography)
13563 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13564 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13565 (reftex-bib-sort-author, reftex-bib-sort-year)
13566 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13567 (reftex-extract-bib-entries-from-thebibliography)
13568 (reftex-get-bibkey-default, reftex-get-bib-names)
13569 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13570 (reftex-format-bib-entry, reftex-parse-bibitem)
13571 (reftex-format-bibitem, reftex-do-citation)
13572 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13573 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13574 (reftex-insert-bib-matches, reftex-format-citation)
13575 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13576 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13577 existing comments into docstrings.
13578
13579 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13580
13581 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13582
13583 2013-06-12 Andreas Schwab <schwab@suse.de>
13584
13585 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13586 for auto-save files.
13587
13588 2013-06-12 Glenn Morris <rgm@gnu.org>
13589
13590 * ido.el (ido-delete-ignored-files): Remove.
13591 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13592 Go back to calling ido-ignore-item-p directly.
13593
13594 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13595
13596 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13597
13598 * ido.el (ido-delete-ignored-files): New function,
13599 split from ido-make-file-list-1.
13600 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13601 (ido-make-file-list-1): Use ido-delete-ignored-files.
13602
13603 2013-06-12 Leo Liu <sdl.web@gmail.com>
13604
13605 * progmodes/octave.el (inferior-octave-startup)
13606 (inferior-octave-completion-table)
13607 (inferior-octave-track-window-width-change)
13608 (octave-eldoc-function-signatures, octave-help)
13609 (octave-find-definition): Use single quoted strings.
13610 (inferior-octave-startup-args): Change default value.
13611 (inferior-octave-startup): Do not hard code "-i" and
13612 "--no-line-editing".
13613 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13614 (inferior-octave-directory-tracker): Use it.
13615 (octave-goto-function-definition): Robustify.
13616 (octave-help): Support highlighting operators in 'See also'.
13617 (octave-find-definition): Find subfunctions only in Octave mode.
13618
13619 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * help-fns.el (help-fns--compiler-macro): If the handler function is
13622 named, then put a link to it.
13623 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13624 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13625 (cl-typep): Use it.
13626 (cl-eval-when): Simplify debug spec.
13627 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13628 compiler-macro function instead of setting `compiler-macro-file'.
13629
13630 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13631
13632 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13633 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13634
13635 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13636 Daniel Hackney <dan@haxney.org>
13637
13638 First part of Daniel Hackney's patch to package.el.
13639 * emacs-lisp/package.el: Use defstruct.
13640 (package-desc): New, main struct.
13641 (package--bi-desc, package--ac-desc): New structs, used to describe the
13642 format in external files.
13643 (package-desc-vers): Replace with package-desc-version accessor.
13644 (package-desc-doc): Replace with package-desc-summary accessor.
13645 (package-activate-1): Remove `package' arg since the pkg-vec now
13646 includes the name.
13647 (define-package): Use package-desc-from-define.
13648 (package-unpack-single): Change file-name arg to be a symbol.
13649 (package--add-to-archive-contents): Use package-desc-create and new
13650 accessor functions to package--ac-desc.
13651 (package-buffer-info, package-tar-file-info): Return a package-desc.
13652 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13653 arg to be a package-desc.
13654 (package-install-file): Adjust accordingly. Use \' to match EOS.
13655 (package--from-builtin): New function.
13656 (describe-package-1, package-menu--generate): Use it.
13657 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13658 (package-generate-autoloads): Idem and return the name of the file.
13659 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13660 Change pkg-info arg to be a package-desc.
13661 Use package-make-ac-desc.
13662 (package-upload-file): Use \' to match EOS.
13663 * finder.el (finder-compile-keywords): Use package-make-builtin.
13664
13665 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * vc/vc.el (vc-deduce-fileset): Change error message.
13668 (vc-read-backend): New function.
13669 (vc-next-action): Use it.
13670
13671 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13672
13673 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13674 (prolog-font-lock-keywords): Use regexp-opt instead.
13675 Don't manually highlight strings.
13676 (prolog-mode-variables): Simplify comment-start-skip.
13677 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13678
13679 * emacs-lisp/generic.el (generic--normalise-comments)
13680 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13681 (generic-mode-set-comments): Use them.
13682 (generic-bracket-support): Use setq-local.
13683 (generic-make-keywords-list): Declare obsolete.
13684
13685 2013-06-11 Glenn Morris <rgm@gnu.org>
13686
13687 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13688 Prettify after setting font-lock-defaults. (Bug#14574)
13689
13690 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13691
13692 * replace.el (query-replace, occur-read-regexp-defaults-function)
13693 (replace-search):
13694 * subr.el (declare-function, number-sequence, local-set-key)
13695 (substitute-key-definition, locate-user-emacs-file)
13696 (with-silent-modifications, split-string, eval-after-load):
13697 Fix typos, remove unneeded backslashes and reflow some docstrings.
13698
13699 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13702 default for Elisp files.
13703
13704 2013-06-11 Glenn Morris <rgm@gnu.org>
13705
13706 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13707 although define-derived-mode was doing this anyway. (Bug#14583)
13708
13709 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13710
13711 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13712 Fix make-variable-buffer-local call to refer to the correct variable.
13713
13714 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13715
13716 * eshell/em-term.el (eshell-visual-commands)
13717 (eshell-visual-subcommands, eshell-visual-options):
13718 Add summary line to docstrings. Add cross-references.
13719
13720 2013-06-10 Glenn Morris <rgm@gnu.org>
13721
13722 * epa.el (epa-read-file-name): New function. (Bug#14510)
13723 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13724
13725 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13726
13727 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13728 output redirection to be ignored with visual commands.
13729
13730 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13731
13732 * eshell/em-term.el (eshell-visual-command-p): New function.
13733 (eshell-term-initialize): Move long lambda to separate function
13734 eshell-visual-command-p.
13735 * eshell/em-dirs.el (eshell-dirs-initialize):
13736 * eshell/em-script.el (eshell-script-initialize):
13737 Add missing #' to lambda.
13738
13739 2013-06-08 Leo Liu <sdl.web@gmail.com>
13740
13741 * progmodes/octave.el (octave-add-log-current-defun): New function.
13742 (octave-mode): Set add-log-current-defun-function.
13743 (octave-goto-function-definition): Do not move point if not found.
13744 (octave-find-definition): Enhance to try subfunctions first.
13745
13746 2013-06-08 Glenn Morris <rgm@gnu.org>
13747
13748 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13749 (byte-compile-backward-char, byte-compile-backward-word):
13750 Improve previous change, to handle non-explicit nil.
13751
13752 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13755 (smie--opener/closer-at-point): New function.
13756 (smie--matching-block-data): Use it. Don't match from right after an
13757 opener or right before a closer. Obey smie-blink-matching-inners.
13758 Don't signal a mismatch for repeated inners like "switch..case..case".
13759
13760 2013-06-07 Leo Liu <sdl.web@gmail.com>
13761
13762 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13763 to t. (Bug#14303)
13764 (octave-function-header-regexp): Fix. (Bug#14570)
13765 (octave-help-mode-finish-hook, octave-help-mode-finish):
13766 Remove. Just use temp-buffer-show-hook.
13767
13768 * newcomment.el (comment-search-backward): Revert last change.
13769 (Bug#14434)
13770
13771 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13772
13773 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13774
13775 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13776 through xargs, to avoid failure due to MS-Windows limitations on
13777 command-line length.
13778
13779 2013-06-06 Glenn Morris <rgm@gnu.org>
13780
13781 * font-lock.el (lisp-font-lock-keywords-2):
13782 Treat user-error like error.
13783
13784 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13785 (byte-compile-backward-char, byte-compile-backward-word):
13786 Handle explicit nil arguments. (Bug#14565)
13787
13788 2013-06-05 Alan Mackenzie <acm@muc.de>
13789
13790 * isearch.el (isearch-allow-prefix): New user option.
13791 (isearch-other-meta-char): Don't exit isearch when a prefix
13792 argument is typed whilst `isearch-allow-prefix' is non-nil.
13793 (Bug#9706)
13794
13795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * autorevert.el (auto-revert-notify-handler): Use memq.
13798 Hide assertion failure.
13799
13800 * skeleton.el: Use cl-lib.
13801 (skeleton-further-elements): Use defvar-local.
13802 (skeleton-insert): Use cl-progv.
13803
13804 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13805
13806 * progmodes/prog-mode.el (prog-prettify-symbols)
13807 (prog-prettify-install): Update docstrings.
13808
13809 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * simple.el: Move all the prog-mode code to prog-mode.el.
13812 * progmodes/prog-mode.el: New file.
13813 * loadup.el: Add prog-mode.el.
13814
13815 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13816
13817 * simple.el (prog-prettify-symbols): Add version.
13818 (prog-prettify-install): Add convenience function to prettify symbols.
13819
13820 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13821 (perl--augmented-font-lock-keywords-1)
13822 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13823 variables and use it.
13824
13825 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13826 (cfengine3-mode): Remove unneeded variable and use it.
13827
13828 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13829 (lisp--augmented-font-lock-keywords-1)
13830 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13831 Remove unneeded variables and use it.
13832
13833 2013-06-05 João Távora <joaotavora@gmail.com>
13834
13835 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13836 to point when opening the connection. (Bug#14380)
13837
13838 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * subr.el (load-history-regexp, load-history-filename-element)
13841 (eval-after-load, after-load-functions, do-after-load-evaluation)
13842 (eval-next-after-load, display-delayed-warnings)
13843 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13844 definition of save-match-data.
13845 (overriding-local-map): Remove accidental obsolescence declaration.
13846
13847 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13848
13849 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13850
13851 Generalize symbol prettify support to prog-mode and implement it
13852 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13853 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13854 (prog--prettify-font-lock-compose-symbol)
13855 (prog-prettify-font-lock-symbols-keywords): New variables and
13856 functions to support symbol prettification.
13857 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13858 (lisp--augmented-font-lock-keywords-1)
13859 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13860 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13861 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13862 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13863 Implement prettify of -> => :: strings.
13864 * progmodes/perl-mode.el (perl-prettify-symbols)
13865 (perl--font-lock-compose-symbol)
13866 (perl--font-lock-symbols-keywords): Move to prog-mode.
13867 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13868 (perl-font-lock-keywords-1)
13869 (perl-font-lock-keywords-2): Remove explicit prettify support.
13870 (perl--augmented-font-lock-keywords)
13871 (perl--augmented-font-lock-keywords-1)
13872 (perl--augmented-font-lock-keywords-2, perl-mode):
13873 Implement prettify support.
13874
13875 2013-06-05 Leo Liu <sdl.web@gmail.com>
13876
13877 Re-implement SMIE matching block highlight using
13878 show-paren-data-function. (Bug#14395)
13879 * emacs-lisp/smie.el (smie-matching-block-highlight)
13880 (smie--highlight-matching-block-overlay)
13881 (smie--highlight-matching-block-lastpos)
13882 (smie-highlight-matching-block)
13883 (smie-highlight-matching-block-mode): Remove.
13884 (smie--matching-block-data-cache): New variable.
13885 (smie--matching-block-data): New function.
13886 (smie-setup): Use smie--matching-block-data for
13887 show-paren-data-function.
13888
13889 * progmodes/octave.el (octave-mode-menu): Fix.
13890 (octave-find-definition): Skip garbage lines.
13891
13892 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 Fix compilation error with simultaneous dynamic+lexical scoping.
13895 Add warning when a defvar appears after the first let-binding.
13896 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13897 (byte-compile-close-variables): Initialize it.
13898 (byte-compile--declare-var): New function.
13899 (byte-compile-file-form-defvar)
13900 (byte-compile-file-form-define-abbrev-table)
13901 (byte-compile-file-form-custom-declare-variable): Use it.
13902 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13903 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13904 (byte-compile-bind): Handle dynamic bindings that shadow
13905 lexical bindings.
13906 (byte-compile-unbind): Make arg non-optional.
13907 (byte-compile-let): Simplify.
13908 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13909 (cconv--analyse-function, cconv-analyse-form): Populate it.
13910 Protect byte-compile-bound-variables to limit the scope of defvars.
13911 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13912 Remove unneeded rule for `declare'.
13913
13914 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13915 so as to avoid depending on cl-adjoin at run-time.
13916 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13917
13918 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13919 (macroexp--warn-and-return): Use it.
13920
13921 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13922
13923 * subr.el: Convert to lexical binding.
13924 (overriding-local-map): Make obsolete.
13925 (add-to-list): Doc fix. Add compiler macro.
13926 (read-key): Swap values of local maps.
13927
13928 2013-06-05 Leo Liu <sdl.web@gmail.com>
13929
13930 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13931
13932 2013-06-04 Leo Liu <sdl.web@gmail.com>
13933
13934 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13935 (compilation-auto-jump): Suppress the "Mark set" message to give
13936 way to exit message.
13937
13938 2013-06-04 Alan Mackenzie <acm@muc.de>
13939
13940 Remove faulty optimisation from indentation calculation.
13941 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13942 search limit based on 2000 characters back from indent-point.
13943
13944 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13945
13946 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13947
13948 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * emacs-lisp/lisp.el: Use lexical-binding.
13951 (lisp--local-variables-1, lisp--local-variables): New functions.
13952 (lisp--local-variables-completion-table): New var.
13953 (lisp-completion-at-point): Use it complete let-bound vars.
13954
13955 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13956 eagerly (bug#14422).
13957
13958 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13959
13960 * autorevert.el (auto-revert-notify-enabled)
13961 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13962 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13963 (auto-revert-notify-handler): Handle also gfilenotify.
13964
13965 * subr.el (file-notify-handle-event): New defun. Replacing ...
13966 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13967 Remove.
13968
13969 2013-06-03 Juri Linkov <juri@jurta.org>
13970
13971 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13972 `M-s h .'. (Bug#14427)
13973
13974 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13975 command `hi-lock-face-symbol-at-point'.
13976 (hi-lock-face-symbol-at-point): New command.
13977 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13978 (hi-lock-menu): Add `highlight-symbol-at-point'.
13979 (hi-lock-mode): Doc fix.
13980
13981 * isearch.el (isearch-forward-symbol-at-point): New command.
13982 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13983 (isearch-highlight-regexp): Add a regexp which matches
13984 words/symbols for word/symbol mode.
13985
13986 * subr.el (find-tag-default-bounds): New function with the body
13987 mostly moved from `find-tag-default'.
13988 (find-tag-default): Move most code to `find-tag-default-bounds',
13989 call it and apply `buffer-substring-no-properties' afterwards.
13990
13991 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13992
13993 * eshell/em-term.el (eshell-term-initialize):
13994 Use `cl-intersection' rather than `intersection'.
13995
13996 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13997
13998 * vc/log-view.el: Doc fix.
13999 (log-view-mode-map): Copy keymap from `special-mode-map'.
14000
14001 2013-06-02 Eric Ludlam <zappo@gnu.org>
14002
14003 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14004 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14005 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14006 (eieio-unbound, eieio-default-superclass)
14007 (eieio--define-field-accessors, method-static, method-before)
14008 (method-primary, method-after, method-num-lists)
14009 (method-generic-before, method-generic-primary)
14010 (method-generic-after, method-num-slots)
14011 (eieio-specialized-key-to-generic-key)
14012 (eieio--check-type, class-v, class-p)
14013 (eieio-class-name, define-obsolete-function-alias)
14014 (eieio-class-parents-fast, eieio-class-children-fast)
14015 (same-class-fast-p, class-constructor, generic-p)
14016 (generic-primary-only-p, generic-primary-only-one-p)
14017 (class-option-assoc, class-option, eieio-object-p)
14018 (class-abstract-p, class-method-invocation-order)
14019 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14020 (eieio-class-un-autoload, eieio-defclass)
14021 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14022 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14023 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14024 (eieio-defgeneric-reset-generic-form)
14025 (eieio-defgeneric-form-primary-only)
14026 (eieio-defgeneric-reset-generic-form-primary-only)
14027 (eieio-defgeneric-form-primary-only-one)
14028 (eieio-defgeneric-reset-generic-form-primary-only-one)
14029 (eieio-unbind-method-implementations)
14030 (eieio--defmethod, eieio--typep)
14031 (eieio-perform-slot-validation, eieio-validate-slot-value)
14032 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14033 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14034 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14035 (eieio-slot-name-index, eieio-class-slot-name-index)
14036 (eieio-set-defaults, eieio-initarg-to-attribute)
14037 (eieio-attribute-to-initarg, eieio-c3-candidate)
14038 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14039 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14040 (eieio-class-precedence-list, eieio-generic-call-methodname)
14041 (eieio-generic-call-arglst, eieio-generic-call-key)
14042 (eieio-generic-call-next-method-list)
14043 (eieio-pre-method-execution-functions, eieio-generic-call)
14044 (eieio-generic-call-primary-only, eieiomt-method-list)
14045 (eieiomt-optimizing-obarray, eieiomt-install)
14046 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14047 (eieio-generic-form, eieio-defmethod, make-obsolete)
14048 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14049 (defclass): Remove `eval-and-compile' from macro.
14050 (call-next-method, shared-initialize): Instead of using
14051 `scoped-class' variable, use new eieio--scoped-class, and
14052 eieio--with-scoped-class.
14053 (initialize-instance): Rename local variable 'scoped-class' to
14054 'this-class' to remove ambiguitity from old global.
14055
14056 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14057 eieio.el.
14058 (eieio--scoped-class-stack): New variable.
14059 (eieio--scoped-class): New fcn.
14060 (eieio--with-scoped-class): New scoping macro.
14061 (eieio-defclass): Use pushnew instead of add-to-list.
14062 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14063 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14064 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14065 `scoped-class' variable, use new eieio--scoped-class, and
14066 eieio--with-scoped-class.
14067
14068 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14069
14070 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14071
14072 * eshell/esh-ext.el (eshell-external-command): Pass args to
14073 `eshell-find-interpreter'.
14074 (eshell-find-interpreter): Add new second parameter ARGS.
14075
14076 * eshell/em-script.el (eshell-script-initialize): Add second arg
14077 to the function added as MATCH to `eshell-interpreter-alist'.
14078
14079 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14080 the function added as MATCH to `eshell-interpreter-alist'.
14081
14082 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14083 (eshell-visual-options): New defcustom.
14084 (eshell-escape-control-x): Adapt docstring.
14085 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14086 `eshell-visual-options' in addition to `eshell-visual-commands'.
14087 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14088
14089 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14090
14091 * progmodes/python.el (python-indent-block-enders): Add break,
14092 continue and raise keywords.
14093
14094 2013-06-01 Glenn Morris <rgm@gnu.org>
14095
14096 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14097
14098 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14099 * progmodes/cc-cmds.el (delete-forward-p):
14100 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14101 * progmodes/cc-engine.el (buffer-syntactic-context):
14102 * progmodes/cc-fonts.el (face-property-instance):
14103 * progmodes/cc-mode.el (set-keymap-parents):
14104 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14105 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14106 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14107 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14108 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14109
14110 * progmodes/cc-vars.el (other): Emacs has this widget since
14111 at least 21.1, so don't (re)define it.
14112
14113 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14114 Replace the obsolete alias pcomplete-arg-quote-list.
14115
14116 2013-06-01 Leo Liu <sdl.web@gmail.com>
14117
14118 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14119 punctuation syntax.
14120 (inferior-octave-minimal-columns)
14121 (inferior-octave-last-column-width): New variables.
14122 (inferior-octave-track-window-width-change): New function.
14123 (inferior-octave-mode): Adjust column width so that Octave output,
14124 for example from 'ls', can fit into the window nicely.
14125
14126 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14127
14128 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14129 Highlight expansions inside regexp literals.
14130
14131 2013-05-31 Glenn Morris <rgm@gnu.org>
14132
14133 * obsolete/sym-comp.el (symbol-complete):
14134 Replace obsolete completion-annotate-function.
14135
14136 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14137
14138 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14139
14140 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14141 New function, checks if point is inside a literal that allows
14142 expression expansion.
14143 (ruby-syntax-propertize-expansion): Use it.
14144 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14145 around the body.
14146
14147 2013-05-30 Juri Linkov <juri@jurta.org>
14148
14149 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14150 to "\M-si".
14151 (isearch-invisible): New variable.
14152 (isearch-forward): Doc fix.
14153 (isearch-mode): Set `isearch-invisible'
14154 to the value of `search-invisible'.
14155 (isearch-toggle-case-fold): Doc fix.
14156 (isearch-toggle-invisible): New command.
14157 (isearch-query-replace): Let-bind `search-invisible'
14158 to the value of `isearch-invisible'.
14159 (isearch-search): Use `isearch-invisible' instead of
14160 `search-invisible'. Let-bind `search-invisible'
14161 to the value of `isearch-invisible'. (Bug#11378)
14162
14163 2013-05-30 Juri Linkov <juri@jurta.org>
14164
14165 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14166 call when `query-flag' is nil and `search-invisible' is non-nil.
14167 (Bug#11746)
14168
14169 2013-05-30 Glenn Morris <rgm@gnu.org>
14170
14171 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14172
14173 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14174 (cc-require): Suppress spurious "noruntime" warnings.
14175 (cc-require-when-compile): Use fboundp, for sake of compiler.
14176
14177 * progmodes/cc-mode.el: Move load of cc-vars before that of
14178 cc-langs (which in turn loads cc-vars), to quieten compiler.
14179
14180 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * paren.el: Simplify the code.
14183 (show-paren-mode): Always start the timer.
14184 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14185 (show-paren--overlay, show-paren--overlay-1): Rename from
14186 show-paren-overlay and show-paren-overlay-1, and initialize to an
14187 overlay rather than to nil.
14188 (show-paren-function): Misc cleanup and simplifications.
14189
14190 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * paren.el (show-paren-data-function): New hook.
14193 (show-paren--default): New function, extracted from show-paren-function.
14194 (show-paren-function): Use show-paren-data-function.
14195
14196 2013-05-30 Glenn Morris <rgm@gnu.org>
14197
14198 * ielm.el (ielm-map, ielm-complete-symbol):
14199 Use completion-at-point rather than obsolete functions.
14200 (inferior-emacs-lisp-mode): Doc fix.
14201 Set completion-at-point-functions, rather than
14202 comint-dynamic-complete-functions.
14203
14204 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14205 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14206 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14207
14208 * image.el (image-animated-p): Tweak definition.
14209
14210 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14211 (rlogin-process-connection-type): Tweak default. Add set-after.
14212 (rlogin-host): Doc fix.
14213 (rlogin): Tweak prompt.
14214 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14215
14216 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14217 * progmodes/tcl.el (inferior-tcl-mode-map):
14218 Use completion-at-point rather than obsolete alias.
14219
14220 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14221
14222 * minibuffer.el (read-file-name-completion-ignore-case):
14223 Move before completion--in-region, for eager macro expansion.
14224
14225 2013-05-29 Juri Linkov <juri@jurta.org>
14226
14227 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14228 for total count of matching lines. Add `global-matches' for total
14229 count of matches. Rename `matches' to `lines' for count of
14230 matching lines. Add `matches' for count of matches.
14231 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14232 to `prev-line' for line number of prev match endpt.
14233 Increment `matches' for every match. Print the number of
14234 matching lines in the header.
14235 (occur-context-lines): Rename `lines' to `curr-line'.
14236 Rename `prev-lines' to `prev-line'. (Bug#14017)
14237
14238 2013-05-29 Juri Linkov <juri@jurta.org>
14239
14240 * replace.el (perform-replace): Add `skip-read-only-count',
14241 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14242 Increment them for corresponding conditions and report the number
14243 of skipped occurrences in the final message. (Bug#11746)
14244 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14245 (replace-string, replace-regexp): Doc fix.
14246
14247 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14250
14251 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14252 prog-mode-map (bug#14504).
14253
14254 2013-05-29 Leo Liu <sdl.web@gmail.com>
14255
14256 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14257 (octave-help): Small simplification.
14258
14259 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14260 off the highlight first.
14261
14262 2013-05-29 Glenn Morris <rgm@gnu.org>
14263
14264 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14265 Handle idlwave-last-system-routine-info-cons-cell being nil.
14266
14267 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14268 (idlwave-write-paths): Simplify via with-temp-buffer.
14269
14270 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14271 * emulation/cua-rect.el: Also load cua-base at run time.
14272
14273 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14274 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14275 (cperl-imenu-on-info): Require imenu.
14276
14277 2013-05-28 Alan Mackenzie <acm@muc.de>
14278
14279 Handle "capitalised keywords" correctly.
14280 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14281
14282 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14283
14284 * eshell/em-unix.el: Add -r option to cp.
14285
14286 2013-05-28 Glenn Morris <rgm@gnu.org>
14287
14288 * vc/vc-arch.el (vc-exec-after): Declare.
14289 (vc-switches): Autoload.
14290 * vc/vc-bzr.el: No need to require vc when compiling.
14291 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14292 (vc-resynch-buffer, vc-dir-refresh): Declare.
14293 (vc-setup-buffer, vc-switches): Autoload.
14294 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14295 (vc-resynch-buffer): Declare.
14296 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14297 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14298 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14299 (grep-read-regexp, grep-read-files, grep-expand-template)
14300 (vc-dir-refresh): Declare.
14301 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14302 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14303 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14304 * vc/vc-mtn.el (vc-exec-after): Declare.
14305 (vc-switches): Autoload.
14306 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14307 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14308 (vc-file-tree-walk): Declare.
14309 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14310 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14311 (vc-tag-precondition, vc-rename-master): Autoload.
14312 * vc/vc-svn.el (vc-exec-after): Declare.
14313 (vc-switches, vc-setup-buffer): Autoload.
14314 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14315 Autoload.
14316 (vc-resynch-buffer): Declare.
14317
14318 * obsolete/fast-lock.el (byte-compile-warnings):
14319 Don't warn about obsolete features in this obsolete file.
14320
14321 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14322 Move definition before use.
14323
14324 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14325 (dun-unix-verbs): Remove dun-zippy.
14326 (dun-zippy): Remove function.
14327
14328 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14329
14330 2013-05-27 Juri Linkov <juri@jurta.org>
14331
14332 * replace.el (replace-search): New function with code moved out
14333 from `perform-replace'.
14334 (replace-highlight, replace-dehighlight): Move function definitions
14335 up closer to `replace-search'. (Bug#11746)
14336
14337 2013-05-27 Juri Linkov <juri@jurta.org>
14338
14339 * replace.el (perform-replace): Ignore invisible matches.
14340 In addition to checking `query-replace-skip-read-only', also
14341 filter out matches by calling `run-hook-with-args-until-failure'
14342 on `isearch-filter-predicates', and also check `search-invisible'
14343 for t or call `isearch-range-invisible'.
14344 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14345
14346 2013-05-27 Juri Linkov <juri@jurta.org>
14347
14348 * isearch.el (isearch-filter-predicates): Rename from
14349 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14350 (isearch-message-prefix): Display text from the property
14351 `isearch-message-prefix' of the currently active filters.
14352 (isearch-search): Don't compare `isearch-filter-predicate' with
14353 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14354 on `isearch-filter-predicates'. Also check `search-invisible' for t
14355 or call `isearch-range-invisible'.
14356 (isearch-filter-visible): Make obsolete.
14357 (isearch-lazy-highlight-search):
14358 Call `run-hook-with-args-until-failure' on
14359 `isearch-filter-predicates' and use `isearch-range-invisible'.
14360
14361 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14362 `isearch-filter-predicates' instead of `funcall'ing
14363 `isearch-filter-predicate'.
14364 (Info-mode): Set `Info-isearch-filter' to
14365 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14366
14367 * dired-aux.el (dired-isearch-filter-predicate-orig):
14368 Remove variable.
14369 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14370 (dired-isearch-filenames-end): Add and remove
14371 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14372 instead of changing the value of `isearch-filter-predicate'.
14373 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14374 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14375 Put property `isearch-message-prefix' to "filename " on
14376 `dired-isearch-filter-filenames'.
14377
14378 * wdired.el (wdired-change-to-wdired-mode):
14379 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14380 locally instead of changing `isearch-filter-predicate'.
14381 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14382
14383 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14384
14385 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14386 return the commit hash (Bug#14459). Also set the
14387 `vc-git-detached' property.
14388 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14389 (vc-git-mode-line-string): Use the same help-echo format whether
14390 in detached mode or not, because we know the actual revision now.
14391 When in detached mode, shorten the revision to 7 chars.
14392
14393 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * emacs-lisp/easy-mmode.el (define-minor-mode):
14396 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14397 mode hook and provide a docstring.
14398
14399 2013-05-27 Alan Mackenzie <acm@muc.de>
14400
14401 Remove spurious syntax-table text properties inserted by C-y.
14402 * progmodes/cc-mode.el (c-after-change): Also clear hard
14403 syntax-table property with value nil.
14404
14405 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14406
14407 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14408 when reading the events; the buffer layout shall not be changed.
14409
14410 2013-05-27 Leo Liu <sdl.web@gmail.com>
14411
14412 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14413 New variable.
14414 (inferior-octave-directory-tracker): Automatically re-sync
14415 default-directory.
14416 (octave-help): Improve handling of 'See also'.
14417
14418 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * doc-view.el: Minor naming convention tweaks.
14421 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14422
14423 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14424 even if there's no `display' property yet (bug#14435).
14425
14426 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14427
14428 * subr.el (unmsys--file-name): Rename from reveal-filename.
14429
14430 * Makefile.in (custom-deps, finder-data, autoloads)
14431 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14432 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14433 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14434
14435 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14438 error-completion on the first 2 args of condition-case (bug#14446).
14439 Don't burp at EOB.
14440
14441 2013-05-25 Leo Liu <sdl.web@gmail.com>
14442
14443 * comint.el (comint-previous-matching-input): Do not flood the
14444 *Messages* buffer with trivial messages.
14445
14446 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * progmodes/flymake.el (flymake-nop): Don't return a string.
14449 (flymake-set-at): Fix typo.
14450
14451 * simple.el (read--expression): New function, extracted from
14452 eval-expression. Set completion-at-point-functions (bug#14465).
14453 (eval-expression, eval-minibuffer): Use it.
14454
14455 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14456
14457 * progmodes/flymake.el (flymake-save-buffer-in-file)
14458 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14459 (flymake-selected-frame, flymake-log, flymake-ins-after)
14460 (flymake-set-at, flymake-get-buildfile-from-cache)
14461 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14462 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14463 Refine the doc string.
14464 (flymake-get-file-name-mode-and-masks): Reformat.
14465 (flymake-get-real-file-name-function): Fix a minor bug.
14466
14467 2013-05-24 Juri Linkov <juri@jurta.org>
14468
14469 * progmodes/grep.el (grep-mode-font-lock-keywords):
14470 Support =linenumber= format used by git-grep for lines with
14471 function names. (Bug#13549)
14472
14473 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14476 0 after a semi-colon; it works better for smie-auto-fill.
14477 (octave--indent-new-comment-line): New function.
14478 (octave-indent-new-comment-line): Use it (indirectly).
14479 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14480 modify comment-line-break-function.
14481
14482 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14483 (smie-setup): Use add-function to set it.
14484
14485 2013-05-24 Sam Steingold <sds@gnu.org>
14486
14487 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14488 argument (before the `interactive' argument).
14489
14490 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14491
14492 * image-mode.el (image-mode-winprops): Add winprops to
14493 image-mode-winprops-alist before running
14494 image-mode-new-window-functions.
14495 * doc-view.el (doc-view-new-window-function): Don't delay
14496 doc-view-goto-page via timers (bug#14435).
14497
14498 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14499
14500 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14501 (doc-view-desktop-save-buffer): New function.
14502 (doc-view-restore-desktop-buffer): New function.
14503 (desktop-buffer-mode-handlers):
14504 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14505 handler.
14506 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14507 `desktop-save-buffer' function.
14508
14509 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14510
14511 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14512 (tramp-gvfs-file-name-handler): Raise a user error when
14513 `tramp-gvfs-enabled' is nil.
14514 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14515 Do not raise a user error when loading package. (Bug#14447)
14516
14517 * net/xesam.el: Move to obsolete/.
14518
14519 2013-05-24 Glenn Morris <rgm@gnu.org>
14520
14521 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14522
14523 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14524
14525 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14526 (Info-find-node, Man-getpage-in-background): Declare.
14527
14528 * mail/unrmail.el (unrmail):
14529 Replace obsolete detect-coding-with-priority.
14530
14531 * net/socks.el (socks-split-string): Use this rather than split-string.
14532 (socks-nslookup-host): Update for above change.
14533 (dynamic-choice, s5-dynamic-choice-match)
14534 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14535 Comment out unused code.
14536
14537 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14538 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14539 (gud-tooltip-echo-area): Make obsolete.
14540 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14541
14542 * progmodes/js.el (js--optimize-arglist): Declare.
14543
14544 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14545
14546 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14547 (ediff-window-C): Declare.
14548
14549 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14550 Tweak requires to silence compiler.
14551
14552 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14553 (he-search-string, he-tried-table, he-expand-list)
14554 (he-init-string, he-string-member, he-substitute-string)
14555 (he-reset-string): Declare.
14556
14557 * obsolete/options.el (list-options): Use custom-variable-p,
14558 rather than obsolete alias.
14559
14560 2013-05-23 Sam Steingold <sds@gnu.org>
14561
14562 * simple.el (shell-command-on-region): Pass the `replace' argument
14563 down to `call-process-region' to comply with the doc as reported on
14564 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14565
14566 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * emacs-lisp/smie.el (smie-indent-forward-token)
14569 (smie-indent-backward-token): Handle string tokens (bug#14381).
14570
14571 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14572
14573 * ielm.el (ielm-menu): New menu.
14574 (inferior-emacs-lisp-mode): Set comment-start.
14575
14576 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14577
14578 * textmodes/reftex.el (reftex-ref-style-toggle):
14579 Fix deactivate action.
14580
14581 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14582 Add cleveref macros.
14583
14584 * textmodes/reftex-parse.el
14585 (reftex-locate-bibliography-files): Accept options for
14586 bibliography commands.
14587 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14588 Add addbibresource. Basic Biblatex support.
14589
14590 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14591
14592 * net/tramp-gvfs.el (top):
14593 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14594 when loading package. (Bug#14447)
14595
14596 2013-05-23 Glenn Morris <rgm@gnu.org>
14597
14598 * progmodes/js.el: No need to load comint when compiling.
14599 (ring-insert, comint-send-string, comint-send-input)
14600 (comint-last-input-end, ido-chop): Declare.
14601
14602 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14603 * vc/ediff-mult.el: Adjust requires.
14604 (ediff-directories-internal, ediff-directory-revisions-internal)
14605 (ediff-patch-file-internal): Declare.
14606 * vc/ediff-ptch.el: Adjust requires.
14607 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14608 (ediff-find-file): Autoload.
14609 * vc/ediff-util.el: No need to load ediff when compiling.
14610 (ediff-regions-internal): Declare.
14611 * vc/ediff-wind.el: Adjust requires.
14612 (ediff-compute-toolbar-width): Define when compiling.
14613 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14614 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14615 (dired-get-filename, dired-get-marked-files)
14616 (ediff-last-dir-patch, ediff-patch-default-directory)
14617 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14618 (ediff-patch-buffer-internal): Declare.
14619
14620 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14621 (ispell-process, ispell-buffer-local-words, lm-summary)
14622 (lm-section-start, lm-section-end): Declare.
14623 (checkdoc-ispell-init): Simplify.
14624
14625 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14626 (he-string-member, he-reset-string, he-substitute-string): Declare.
14627
14628 * eshell/em-ls.el: Adjust requires.
14629 (eshell-glob-regexp): Declare.
14630 * eshell/em-tramp.el: Adjust requires.
14631 (eshell-parse-command): Autoload.
14632 * eshell/em-xtra.el: Adjust requires.
14633 (eshell-parse-command): Autoload.
14634 * eshell/esh-ext.el: Adjust requires.
14635 (eshell-parse-command, eshell-close-handles): Autoload.
14636 * eshell/esh-io.el: Adjust requires.
14637 (eshell-output-filter): Autoload.
14638 * eshell/esh-util.el: No need to load tramp when compiling.
14639 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14640 Declare.
14641 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14642 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14643 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14644 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14645 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14646 * eshell/esh-opt.el, eshell/esh-proc.el:
14647 * eshell/esh-var.el: Adjust requires.
14648 * eshell/eshell.el: Do not require esh-util twice.
14649 (eshell-add-input-to-history): Declare.
14650 (eshell-command): Check history module is active before using it.
14651
14652 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14653
14654 2013-05-22 Leo Liu <sdl.web@gmail.com>
14655
14656 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14657
14658 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14659
14660 * autorevert.el (auto-revert-notify-add-watch)
14661 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14662 it indicates changes in file modification time.
14663
14664 2013-05-22 Glenn Morris <rgm@gnu.org>
14665
14666 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14667 Always delete the autoloaded function from the noruntime and
14668 unresolved functions lists.
14669
14670 * allout.el: No need to load epa, epg, overlay when compiling.
14671 (epg-context-set-passphrase-callback, epg-list-keys)
14672 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14673 (epg-key-user-id-list): Declare.
14674
14675 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14676 (viper-set-parsing-style-toggling-macro)
14677 (viper-set-emacs-state-searchstyle-macros):
14678 Use called-interactively-p on Emacs.
14679 (viper-looking-back): Make it an obsolete alias. Update callers.
14680 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14681 Use looking-back rather than viper-looking-back.
14682 (viper-tmp-insert-at-eob, viper-enlarge-region)
14683 (viper-read-string-with-history, viper-register-to-point)
14684 (viper-append-to-register, viper-change-state-to-vi)
14685 (viper-backward-char-carefully, viper-forward-char-carefully)
14686 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14687 (viper-change-state-to-emacs): Declare.
14688 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14689 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14690 * emulation/viper-mous.el: Do not load viper-cmd.
14691 (viper-backward-char-carefully, viper-forward-char-carefully)
14692 (viper-forward-word, viper-adjust-window): Declare.
14693
14694 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14695
14696 * progmodes/idlw-help.el (idlwave-help-fontify):
14697 Use called-interactively-p.
14698
14699 * term/w32console.el (w32-get-console-codepage)
14700 (w32-get-console-output-codepage): Declare.
14701
14702 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14703 Remove unnecessary declarations.
14704 (dframe-message): Doc fix.
14705
14706 * info.el (dframe-select-attached-frame, dframe-current-frame):
14707 Declare.
14708
14709 * speedbar.el (speedbar-message): Make it an obsolete alias.
14710 Update all callers.
14711 (speedbar-with-attached-buffer)
14712 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14713 (speedbar-with-writable): Use backquote.
14714 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14715 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14716 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14717 rather than speedbar- aliases.
14718 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14719 (speedbar-make-specialized-keymap, speedbar-insert-button)
14720 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14721 (speedbar-do-function-pointer): Declare.
14722 (rmail-speedbar-button, rmail-speedbar-find-file)
14723 (rmail-speedbar-move-message):
14724 Use dframe-with-attached-buffer rather than speedbar- alias.
14725 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14726 (dframe-message, speedbar-make-specialized-keymap)
14727 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14728 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14729 (speedbar-insert-button, dframe-select-attached-frame)
14730 (dframe-maybee-jump-to-attached-frame)
14731 (speedbar-change-initial-expansion-list)
14732 (speedbar-previously-used-expansion-list-name): Declare.
14733 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14734 Use dframe-message, dframe-with-attached-buffer rather than
14735 speedbar- aliases.
14736 (gud-sentinel): Silence compiler.
14737 * progmodes/vhdl-mode.el (speedbar-refresh)
14738 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14739 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14740 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14741 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14742 (speedbar-file-lists, speedbar-make-tag-line)
14743 (speedbar-line-directory, speedbar-goto-this-file)
14744 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14745 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14746 (speedbar-make-button, speedbar-reset-scanners)
14747 (speedbar-files-item-info, speedbar-line-text)
14748 (speedbar-find-file-in-frame, speedbar-set-timer)
14749 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14750 (speedbar-with-writable): Do not (re)define it.
14751 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14752 rather than speedbar- alias.
14753
14754 2013-05-21 Leo Liu <sdl.web@gmail.com>
14755
14756 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14757 menu items.
14758 (octave-mode): Tweak fill-nobreak-predicate.
14759 (inferior-octave-startup): Check process to avoid infinite loop.
14760 (inferior-octave): Pop to buffer first to show abornmal process
14761 exit information.
14762
14763 2013-05-21 Glenn Morris <rgm@gnu.org>
14764
14765 * printing.el (pr-menu-bar): Define when compiling.
14766
14767 2013-05-21 Leo Liu <sdl.web@gmail.com>
14768
14769 * progmodes/octave.el (octave-auto-fill): Remove.
14770 (octave-indent-new-comment-line): Improve.
14771 (octave-mode): Use auto fill mode through
14772 comment-line-break-function and fill-nobreak-predicate.
14773 (octave-goto-function-definition): Support DEFUN_DLD.
14774 (octave-beginning-of-defun): Small tweak.
14775 (octave-help): Show parent directory.
14776
14777 2013-05-21 Glenn Morris <rgm@gnu.org>
14778
14779 * files.el (dired-unmark):
14780 * progmodes/gud.el (gdb-input): Update declarations.
14781
14782 * calculator.el (electric, ehelp): No need to load when compiling.
14783 (Electric-command-loop, electric-describe-mode): Declare.
14784
14785 * doc-view.el (doc-view-current-converter-processes): Move before use.
14786
14787 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14788 Move MODE-set-explicitly definition before use.
14789
14790 * international/mule-diag.el (mule-diag):
14791 Don't use obsolete window-system-version.
14792
14793 * mail/feedmail.el (smtpmail): No need to load when compiling.
14794 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14795
14796 * mail/mail-utils.el (rfc822): No need to load when compiling.
14797 (rfc822-addresses): Autoload it.
14798 (mail-strip-quoted-names): Trivial simplification.
14799
14800 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14801 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14802
14803 * net/snmp-mode.el (tempo): Don't duplicate requires.
14804
14805 * progmodes/prolog.el (info): No need to load when compiling.
14806 (comint): Require before shell requires it.
14807 (Info-goto-node): Autoload it.
14808 (Info-follow-nearest-node): Declare.
14809 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14810
14811 * textmodes/artist.el (picture-mode-exit): Declare.
14812
14813 * textmodes/reftex-parse.el (reftex-parse-from-file):
14814 Trivial rewrite so the compiler can parse it better.
14815
14816 2013-05-20 Leo Liu <sdl.web@gmail.com>
14817
14818 * progmodes/octave.el (octave-help-mode-map)
14819 (octave-help-mode-finish-hook): New variables.
14820 (octave-help-mode, octave-help-mode-finish): New functions.
14821 (octave-help): Use octave-help-mode.
14822
14823 2013-05-20 Glenn Morris <rgm@gnu.org>
14824
14825 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14826
14827 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14828
14829 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14830 start at point, so that expansion starting right after opening
14831 slash in a regexp is recognized.
14832 (ruby-syntax-before-regexp-re): New defvar, extracted from
14833 ruby-syntax-propertize-function. Since the value of this regexp
14834 is looked up at runtime now, we should be able to turn
14835 `ruby-syntax-methods-before-regexp' into a defcustom later.
14836 (ruby-syntax-propertize-function): Split regexp matching into two
14837 parts, for opening and closing slashes. That allows us to skip
14838 over string interpolations and support multiline regexps.
14839 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14840 for them, which calls `ruby-syntax-propertize-expansion'.
14841 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14842 call to `ruby-syntax-propertize-function'.
14843 (ruby-syntax-propertize-expansion): Extracted from
14844 `ruby-syntax-propertize-expansions'. Handles one expansion.
14845 (ruby-syntax-propertize-percent-literal): Leave point right after
14846 the percent symbol, so that the expression expansion rule can
14847 propertize the contents.
14848 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14849 heredoc openers.
14850 (ruby-syntax-propertize-expansions): Remove.
14851
14852 2013-05-18 Juri Linkov <juri@jurta.org>
14853
14854 * man.el (Man-default-man-entry): Remove `-' from the end
14855 of the default value. (Bug#14400)
14856
14857 2013-05-18 Glenn Morris <rgm@gnu.org>
14858
14859 * comint.el (comint-password-prompt-regexp):
14860 Allow "password for XXX" where XXX contains colons (eg https://...).
14861
14862 2013-05-18 Leo Liu <sdl.web@gmail.com>
14863
14864 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14865 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14866 (octave-source-directories): Don't check process.
14867 (octave-source-directories, octave-find-definition): Doc fix.
14868
14869 2013-05-18 Glenn Morris <rgm@gnu.org>
14870
14871 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14872 Remove backspace/delete bindings. (Bug#14392)
14873
14874 * cus-dep.el (custom-make-dependencies): Sort the output.
14875 (custom-versions-load-alist): Convert comment to doc.
14876
14877 2013-05-17 Leo Liu <sdl.web@gmail.com>
14878
14879 * newcomment.el (comment-search-backward): Stricter in finding
14880 comment start. (Bug#14303)
14881
14882 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14883 (octave-comment-start-skip): Properly anchored.
14884
14885 2013-05-17 Leo Liu <sdl.web@gmail.com>
14886
14887 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14888 Clean up when turned off. (Bug#14395)
14889 (smie--highlight-matching-block-overlay): No longer buffer-local.
14890 (smie-highlight-matching-block): Adjust.
14891
14892 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14893
14894 Doc string fix for "nanoseconds" (Bug#14406).
14895 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14896 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14897
14898 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14899
14900 * calc/calc-units.el (math-extract-units): Preserve powers
14901 of units.
14902
14903 2013-05-17 Leo Liu <sdl.web@gmail.com>
14904
14905 * subr.el (delete-consecutive-dups): New function.
14906 * ido.el (ido-set-matches-1): Use it.
14907 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14908 * ido.el (ido-remove-consecutive-dups): Remove.
14909
14910 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14911
14912 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14913 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14914 regexp-opt's `words'.
14915
14916 2013-05-16 Leo Liu <sdl.web@gmail.com>
14917
14918 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14919 (smie--highlight-matching-block-overlay)
14920 (smie--highlight-matching-block-lastpos)
14921 (smie--highlight-matching-block-timer): New variables.
14922 (smie-highlight-matching-block): New function.
14923 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14924 (smie-setup): Conditionally enable smie-blink-matching-open.
14925
14926 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14927
14928 Sync with upstream verilog-mode r840.
14929 * progmodes/verilog-mode.el (verilog-mode-version)
14930 (verilog-mode-release-date): Update.
14931 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14932 (verilog-sig-tieoff): Fix string error on
14933 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14934 (verilog-read-decls): Fix parameters confusing
14935 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14936
14937 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14938
14939 * subr.el (reveal-filename): New function.
14940
14941 * loadup.el: Compute Emacs executable versions on MS-Windows,
14942 where executables have the .exe extension. Add a hard link
14943 emacs-XX.YY.ZZ.exe on MS-Windows.
14944
14945 * Makefile.in (XARGS_LIMIT): New variable.
14946 (custom-deps, finder-data, autoloads)
14947 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14948 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14949 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14950 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14951
14952 2013-05-16 Leo Liu <sdl.web@gmail.com>
14953
14954 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14955 (octave-mode-menu, octave-mode-map): Remove its uses.
14956
14957 2013-05-16 Reto Zimmermann <reto@gnu.org>
14958
14959 Sync with upstream vhdl mode v3.34.2.
14960 * progmodes/vhdl-mode.el: Use `push' throughout.
14961 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14962 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14963 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14964 (vhdl-actual-generic-name): New option to derive actual generic name.
14965 (vhdl-port-paste-signals): Replace formal by actual generics.
14966 (vhdl-beautify): New name for old group vhdl-align. Update users.
14967 (vhdl-beautify-options): New option.
14968 (vhdl-last-input-event): New compat alias. Use throughout.
14969 (vhdl-goto-line): Replace user level function `goto-line'.
14970 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14971 vhdl-fix-statement-buffer.
14972 (vhdl-create-mode-menu): Add some entries.
14973 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14974 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14975 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14976 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14977 to force statements on one line.
14978 (vhdl-remove-trailing-spaces-region):
14979 New, split from vhdl-remove-trailing-spaces.
14980 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14981 Respect vhdl-beautify-options.
14982 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14983 (vhdl-update-sensitivity-list): Not add with index if exists without.
14984 Not include array index with signal. Ignore keywords in comments.
14985 (vhdl-get-visible-signals): Regexp tweaks.
14986 (vhdl-template-component-inst): Handle empty library.
14987 (vhdl-template-type): Add template for 'enum' type.
14988 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14989 Use vhdl-replace-string.
14990 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14991 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14992 (vhdl-speedbar-initialize): Update for above name change.
14993 (vhdl-compose-wire-components): Fix in handling of constants.
14994 (vhdl-error-regexp-emacs-alist): New variable.
14995 (vhdl-error-regexp-add-emacs): New function;
14996 adds support for new compile.el (Emacs 22+)
14997 (vhdl-generate-makefile-1): Change target order for single lib. units.
14998 Allow use of absolute file names.
14999
15000 2013-05-16 Leo Liu <sdl.web@gmail.com>
15001
15002 * simple.el (prog-indent-sexp): Indent enclosing defun.
15003
15004 2013-05-15 Glenn Morris <rgm@gnu.org>
15005
15006 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15007 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15008 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15009 (whitespace-highlight): Move to whitespace group.
15010
15011 * comint.el (comint-source):
15012 * pcmpl-linux.el (pcmpl-linux):
15013 * shell.el (shell-faces):
15014 * eshell/esh-opt.el (eshell-opt):
15015 * international/ccl.el (ccl): Remove empty custom groups.
15016
15017 * completion.el (dynamic-completion-mode):
15018 * jit-lock.el (jit-lock-debug-mode):
15019 * minibuffer.el (completion-in-region-mode):
15020 * type-break.el (type-break-mode-line-message-mode)
15021 (type-break-query-mode):
15022 * emulation/tpu-edt.el (tpu-edt-mode):
15023 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15024 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15025 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15026
15027 * term/xterm.el (xterm): Change parent group to terminals.
15028
15029 * master.el (master): Remove empty custom group.
15030 (master-mode): Remove unused :group argument.
15031 * textmodes/refill.el (refill): Remove empty custom group.
15032 (refill-mode): Remove unused :group argument.
15033
15034 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15035
15036 * cus-dep.el: Provide a feature.
15037 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15038 Don't mistakenly ignore files whose basenames match a basename
15039 from preloaded-file-list (eg cedet/ede/simple.el).
15040 Add a fallback method for getting :group.
15041
15042 2013-05-15 Juri Linkov <juri@jurta.org>
15043
15044 * isearch.el (isearch-char-by-name): Rename from
15045 `isearch-insert-char-by-name'. Doc fix.
15046 (isearch-forward): Mention `isearch-char-by-name' in
15047 the docstring. (Bug#13348)
15048
15049 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15050 `exit-minibuffer' instead of
15051 `isearch-nonincremental-exit-minibuffer'.
15052 (isearch-edit-string): Remove mention of
15053 `isearch-nonincremental-exit-minibuffer' from docstring.
15054 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15055 (isearch-forward-exit-minibuffer)
15056 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15057
15058 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * loadup.el: Just use unversioned DOC.
15061
15062 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15063 literals as extending to EOB.
15064 (nxml-last-fontify-end): Remove unused variable.
15065 (nxml-after-change1): Use with-silent-modifications.
15066 (nxml-extend-after-change-region): Simplify.
15067 (nxml-extend-after-change-region1): Remove function.
15068 (nxml-after-change1): Don't adjust for dependent regions.
15069 (nxml-fontify-matcher): Simplify.
15070 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15071 (xmltok-add-dependent): Remove function.
15072 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15073 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15074 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15075 unclosed <[[, <?, comment, and other literals as extending to EOB.
15076 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15077 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15078 Remove functions.
15079 (rng-do-some-validation-1): Don't mark dependent regions.
15080 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15081 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15082 (nxml-clear-dependent-regions): Remove functions.
15083 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15084 (nxml-ensure-scan-up-to-date):
15085 Don't clear&mark dependent regions.
15086
15087 2013-05-15 Leo Liu <sdl.web@gmail.com>
15088
15089 * progmodes/octave.el (octave-goto-function-definition):
15090 Improve and fix callers.
15091
15092 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15095 the setter (bug#14387).
15096
15097 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15098 surrounding group (bug#14402).
15099
15100 2013-05-14 Juri Linkov <juri@jurta.org>
15101
15102 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15103 (Bug#14390)
15104
15105 2013-05-14 Glenn Morris <rgm@gnu.org>
15106
15107 * progmodes/f90.el (f90-imenu-generic-expression):
15108 Fix typo in 2013-05-08 change. (Bug#14402)
15109
15110 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15111
15112 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15113 Remove signals for which replies are never received.
15114
15115 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15116
15117 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15118 (gdb-handler-alist, gdb-handler-number): Remove variables.
15119 (gdb-handler-list): New variable.
15120 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15121 (gdb-pending-handler-p, gdb-handle-reply)
15122 (gdb-remove-all-pending-triggers): New functions.
15123 (gdb-discard-unordered-replies): New defcustom.
15124 (gdb-handler): New defstruct.
15125 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15126 instead of gdb-pending-triggers. Update docstring.
15127 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15128 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15129 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15130 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15131 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15132 (gdb-frame-handler): Pending triggers are now automatically managed.
15133 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15134 Remove argument.
15135 (gdb-input): Automatically handles pending triggers. Update docstring.
15136 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15137 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15138 Update comments.
15139 (gdb-done-or-error): Now use gdb-handle-reply.
15140
15141 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15142
15143 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15144 gdb-debug-log.
15145
15146 2013-05-14 Glenn Morris <rgm@gnu.org>
15147
15148 * subr.el (user-emacs-directory-warning): New option.
15149 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15150
15151 2013-05-14 Leo Liu <sdl.web@gmail.com>
15152
15153 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15154 during redisplay.
15155 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15156 (octave-font-lock-texinfo-comment): Fix invalid search bound
15157 error: wrong side of point.
15158
15159 2013-05-14 Glenn Morris <rgm@gnu.org>
15160
15161 * progmodes/flymake.el (flymake-xml-program): New option.
15162 (flymake-xml-init): Use it.
15163
15164 * term/xterm.el: Provide a feature.
15165
15166 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15167
15168 2013-05-13 Glenn Morris <rgm@gnu.org>
15169
15170 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15171 Add compat aliases as a hack workaround. (Bug#14384)
15172
15173 2013-05-13 Leo Liu <sdl.web@gmail.com>
15174
15175 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15176 ###, and %!.
15177 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15178 C-M-q.
15179 (octave-comment-start-skip): Include %!.
15180 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15181
15182 2013-05-12 Leo Liu <sdl.web@gmail.com>
15183
15184 * progmodes/octave.el (inferior-octave-startup): Store the value
15185 of __octave_srcdir__ for octave-source-directories.
15186 (inferior-octave-check-process): New function refactored out of
15187 inferior-octave-send-list-and-digest.
15188 (octave-source-directories)
15189 (octave-find-definition-filename-function): New variables.
15190 (octave-source-directories)
15191 (octave-find-definition-default-filename): New functions.
15192 (octave-find-definition): Improve to find functions implemented in C++.
15193
15194 2013-05-12 Glenn Morris <rgm@gnu.org>
15195
15196 * calendar/diary-lib.el (diary-outlook-format-1):
15197 Don't include dayname in the output. (Bug#14349)
15198
15199 2013-05-11 Glenn Morris <rgm@gnu.org>
15200
15201 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15202
15203 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15204 Treat cc-provide like provide.
15205
15206 2013-05-11 Kevin Ryde <user42@zip.com.au>
15207
15208 * cus-dep.el (custom-make-dependencies):
15209 Use generated-autoload-load-name for the sake of files such
15210 such cedet/semantic/bovine/c.el, where the base file name
15211 is not in load-path. (Bug#5277)
15212
15213 2013-05-11 Glenn Morris <rgm@gnu.org>
15214
15215 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15216 Provide features.
15217
15218 2013-05-11 Leo Liu <sdl.web@gmail.com>
15219
15220 * progmodes/octave.el (octave-indent-comment): Improve.
15221 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15222 (octave-eldoc-function-signatures, octave-eldoc-function):
15223 New functions.
15224 (octave-mode, inferior-octave-mode): Add eldoc support.
15225
15226 2013-05-11 Richard Stallman <rms@gnu.org>
15227
15228 * epa.el (epa-decrypt-file): Take output file name as argument
15229 and read it using `interactive'.
15230
15231 2013-05-11 Leo Liu <sdl.web@gmail.com>
15232
15233 * progmodes/octave.el (octave-beginning-of-line)
15234 (octave-end-of-line): Check before using up-list because it jumps
15235 out of more syntactic contructs since moving to smie.
15236 (octave-indent-comment): New function.
15237 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15238 (octave-begin-keywords, octave-end-keywords)
15239 (octave-reserved-words, octave-smie-bnf-table)
15240 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15241
15242 2013-05-11 Glenn Morris <rgm@gnu.org>
15243
15244 * faces.el (internal-face-x-get-resource):
15245 * frame.el (ns-display-monitor-attributes-list):
15246 * calc/calc-aent.el (math-to-radians-2):
15247 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15248 Fix declarations.
15249
15250 * calc/calc-menu.el: Make it loadable in isolation.
15251
15252 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15253 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15254 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15255 (eudc-bbdb-query-internal): Require 'bbdb.
15256
15257 * lpr.el (lpr-headers-switches):
15258 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15259
15260 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15261
15262 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15263
15264 * term.el (term-set-escape-char): Make it idempotent.
15265
15266 2013-05-10 Leo Liu <sdl.web@gmail.com>
15267
15268 * progmodes/octave.el (inferior-octave-completion-table):
15269 No longer a function and all uses changed. Use cache to speed up
15270 completion due to bug#11906.
15271 (octave-beginning-of-defun): Re-write to be more general.
15272
15273 2013-05-10 Glenn Morris <rgm@gnu.org>
15274
15275 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15276
15277 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * comint.el (comint-redirect-send-command-to-process): Use :around
15280 rather than :override for comint-redirect-filter.
15281 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15282 Call it instead of comint-redirect-original-filter-function (which
15283 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15284
15285 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15286
15287 * frame.el (display-monitor-attributes-list): Add NS case.
15288 (ns-display-monitor-attributes-list): Declare.
15289
15290 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15291
15292 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15293
15294 2013-05-09 Glenn Morris <rgm@gnu.org>
15295
15296 * international/fontset.el (vertical-centering-font-regexp):
15297 Set standard-value.
15298
15299 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15300
15301 * bookmark.el (bookmark-search-delay):
15302 * cus-start.el (vertical-centering-font-regexp):
15303 * ps-mule.el (ps-mule-font-info-database-default):
15304 * ps-print.el (ps-default-fg, ps-default-bg):
15305 * type-break.el (type-break-good-break-interval):
15306 * whitespace.el (whitespace-indentation-regexp)
15307 (whitespace-space-after-tab-regexp):
15308 * emacs-lisp/testcover.el (testcover-1value-functions)
15309 (testcover-noreturn-functions, testcover-progn-functions)
15310 (testcover-prog1-functions):
15311 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15312 * eshell/em-glob.el (eshell-glob-translate-alist):
15313 * play/tetris.el (tetris-tty-colors):
15314 * progmodes/cpp.el (cpp-face-default-list):
15315 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15316 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15317 (idlwave-help-browser-generic-args):
15318 * progmodes/make-mode.el (makefile-special-targets-list):
15319 * progmodes/python.el (python-shell-virtualenv-path):
15320 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15321 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15322 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15323 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15324 * textmodes/reftex-vars.el (reftex-format-label-function):
15325 * textmodes/remember.el (remember-diary-file): Fix custom types.
15326
15327 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15328 Add :version.
15329
15330 2013-05-09 Leo Liu <sdl.web@gmail.com>
15331
15332 * progmodes/octave.el (inferior-octave-completion-at-point):
15333 Restore file completion. (Bug#14300)
15334 (inferior-octave-startup): Fix incorrect highlighting for the
15335 first prompt.
15336
15337 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * progmodes/ruby-mode.el: First cut at SMIE support.
15340 (ruby-use-smie): New var.
15341 (ruby-smie-grammar): New constant.
15342 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15343 (ruby-smie--forward-token, ruby-smie--backward-token)
15344 (ruby-smie-rules): New functions.
15345 (ruby-mode-variables): Setup SMIE if applicable.
15346
15347 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15348
15349 * simple.el (line-move-visual): Signal beginning/end of buffer
15350 only if vertical-motion moved less than it was requested. Avoids
15351 silly incorrect error messages when there are display strings with
15352 multiple newlines at EOL.
15353
15354 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15355
15356 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15357 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15358 (prolog-char-quote-workaround):
15359 * progmodes/cperl-mode.el (cperl-under-as-char):
15360 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15361 Mark as obsolete.
15362 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15363 their declaration.
15364 (vhdl-mode-syntax-table-init): Remove.
15365
15366 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15367 last change.
15368
15369 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15370 syntax for "_".
15371 (ld-script-font-lock-keywords):
15372 Change regexps to use things like \_< and \_>.
15373
15374 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15375 Change all regexps to use things like \_< and \_>.
15376
15377 * progmodes/autoconf.el (autoconf-definition-regexp)
15378 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15379 Handle a _ with symbol syntax.
15380 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15381
15382 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15383 Consolidate declaration.
15384 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15385 the declaration.
15386 (ada-create-syntax-table): Remove.
15387 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15388 already has the right syntax nowadays.
15389 (ada-goto-next-word): Don't change the syntax of "_".
15390
15391 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15392 with-wrapper-hook.
15393
15394 2013-05-08 Sam Steingold <sds@gnu.org>
15395
15396 * thingatpt.el (thing-at-point): Accept optional second argument
15397 NO-PROPERTIES to strip the text properties from the return value.
15398 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15399 to `thing-at-point' instead of stripping the properties ourselves.
15400 Also, when `thing-at-point' fails to find a url, prepend "http://"
15401 to the filename at point on the assumption that the user is
15402 pointing at something like gnu.org/gnu.
15403
15404 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15405
15406 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15407 * faces.el (crm-separator):
15408 Silence byte-compiler.
15409
15410 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15411 (tool-bar-map): Remove unneeded defvars.
15412
15413 2013-05-08 Leo Liu <sdl.web@gmail.com>
15414
15415 Re-work a fix for bug#10994 based on Le Wang's patch.
15416 * ido.el (ido-remove-consecutive-dups): New helper.
15417 (ido-completing-read): Use it.
15418 (ido-chop): Revert fix for bug#10994.
15419
15420 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15421
15422 * cus-edit.el (custom-save-variables):
15423 Pretty-print long values. (Bug#14187)
15424
15425 2013-05-08 Glenn Morris <rgm@gnu.org>
15426
15427 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15428 (m4-mode-syntax-table): Init in the defvar.
15429 (m4-mode-abbrev-table): Let define-derived-mode define it.
15430
15431 2013-05-08 Tom Tromey <tromey@redhat.com>
15432
15433 * progmodes/m4-mode.el (m4-mode-syntax-table):
15434 Do not treat "_" as word constituent. (Bug#14167)
15435
15436 2013-05-07 Glenn Morris <rgm@gnu.org>
15437
15438 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15439 Remove explicit eshell-isearch-cancel-map.
15440
15441 * progmodes/f90.el (f90-smart-end-names): New option.
15442 (f90-smart-end): Doc fix.
15443 (f90-end-block-optional-name): New constant.
15444 (f90-block-match): Respect f90-smart-end-names.
15445
15446 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15449 about implicit semi-colons (bug#14218).
15450
15451 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15452
15453 * frame.el (display-monitor-attributes-list)
15454 (frame-monitor-attributes): New functions.
15455
15456 2013-05-06 Leo Liu <sdl.web@gmail.com>
15457
15458 * progmodes/octave.el (octave-syntax-propertize-function): Change
15459 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15460 (octave-font-lock-keywords): Use octave-operator-regexp.
15461 (octave-completion-at-point): Rename from
15462 octave-completion-at-point-function.
15463 (inferior-octave-directory-tracker): Robustify.
15464 (octave-text-functions): Remove and fix its uses. No such things
15465 any more.
15466
15467 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15468
15469 * emacs-lisp/trace.el (trace--display-buffer): New function.
15470 (trace-make-advice): Use it.
15471
15472 2013-05-06 Juri Linkov <juri@jurta.org>
15473
15474 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15475 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15476 Doc fix.
15477 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15478 in the help string. (Bug#12985)
15479
15480 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15481
15482 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15483
15484 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * progmodes/perl-mode.el: Add support for here documents.
15487 (perl-syntax-propertize-function): Match here-doc markers.
15488 (perl-syntax-propertize-special-constructs): Find their end.
15489 (perl-imenu-generic-expression): Use [:alnum:].
15490
15491 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15492 (advice--add-function): Refresh the advice if already present
15493 (bug#14317).
15494
15495 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15496
15497 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15498
15499 2013-05-06 Glenn Morris <rgm@gnu.org>
15500
15501 * w32-fns.el (w32-charset-info-alist): Declare.
15502
15503 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15504 of its defcustom properties.
15505 (eshell-cmpl-initialize): No need to load pcomplete.
15506
15507 * generic-x.el: No need to require comint when compiling.
15508
15509 * net/eudc-export.el: Make it loadable without bbdb.
15510 (top-level): Use require rather than load-library.
15511 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15512 (eudc-batch-export-records-to-bbdb)
15513 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15514 Require bbdb.
15515
15516 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15517
15518 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15519 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15520 some tweaks, instead.
15521
15522 2013-05-05 Leo Liu <sdl.web@gmail.com>
15523
15524 * progmodes/octave.el (octave-font-lock-keywords)
15525 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15526 (inferior-octave-send-list-and-digest): Improve error message.
15527 (octave-mode, inferior-octave-mode): Use setq-local.
15528 (octave-help): Set info-lookup-mode.
15529
15530 2013-05-05 Richard Stallman <rms@gnu.org>
15531
15532 * vc/compare-w.el (compare-windows-whitespace):
15533 Treat no-break space as whitespace.
15534
15535 * mail/rmailsum.el (rmail-summary-rmail-update):
15536 Detect empty summary and don't change selected message.
15537 (rmail-summary-goto-msg): Likewise.
15538
15539 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15540 Doc fixes, rename args.
15541
15542 2013-05-05 Alan Mackenzie <acm@muc.de>
15543
15544 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15545
15546 2013-05-05 Juri Linkov <juri@jurta.org>
15547
15548 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15549 to not add the length of the summary segment to the return value.
15550 (Bug#14125)
15551
15552 2013-05-05 Leo Liu <sdl.web@gmail.com>
15553
15554 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15555 (inferior-octave-output-filter): Remove.
15556 (octave-send-region, inferior-octave-startup): Fix callers.
15557 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15558 (octave-binary-file-extensions): New user variable.
15559 (octave-find-definition): Confirm if opening binary files.
15560 (octave-help-file): Use octave-find-definition to get the binary
15561 confirmation.
15562 (octave-help): Adjust for octave-help-file change.
15563
15564 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15567 Merge the two entries that handle function definitions.
15568 (pascal--syntax-propertize): New const.
15569 (pascal-mode): Use it. Use setq-local.
15570
15571 2013-05-04 Glenn Morris <rgm@gnu.org>
15572
15573 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15574 (diary-from-outlook): Respect diary-from-outlook-function.
15575
15576 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15577
15578 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15579 Move the declaration from C.
15580 (read-minibuffer, eval-minibuffer): Move from C.
15581 (completion-setup-function): Avoid minibuffer-completion-contents.
15582
15583 2013-05-03 Leo Liu <sdl.web@gmail.com>
15584
15585 * progmodes/octave.el (octave-font-lock-keywords): Do not
15586 dehighlight 'end' in comments or strings.
15587 (octave-completing-read, octave-goto-function-definition):
15588 New helpers.
15589 (octave-help-buffer): New user variable.
15590 (octave-help-file, octave-help-function): New button types.
15591 (octave-help): New command and bind it to C-h ;.
15592 (octave-find-definition): New command and bind it to M-.
15593 (user-error): Alias to error if not defined.
15594
15595 2013-05-02 Leo Liu <sdl.web@gmail.com>
15596
15597 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15598 for \. (bug#14332)
15599 (octave-font-lock-keywords): Include [ and {.
15600
15601 2013-05-02 Leo Liu <sdl.web@gmail.com>
15602
15603 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15604 (inferior-octave): Remove calling comint-mode and return the buffer.
15605 (inferior-octave-startup): Cosmetic changes.
15606
15607 2013-05-02 Leo Liu <sdl.web@gmail.com>
15608
15609 * progmodes/octave.el (octave-syntax-propertize-function):
15610 Include the case when ' is at line beginning. (Bug#14336)
15611
15612 2013-05-02 Glenn Morris <rgm@gnu.org>
15613
15614 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15615 * desktop.el (vc-dir-mode): Just autoload it here.
15616
15617 2013-05-02 Alan Mackenzie <acm@muc.de>
15618
15619 Eliminate variable c-standard-font-lock-fontify-region-function.
15620 * progmodes/cc-mode.el
15621 (c-standard-font-lock-fontify-region-function): Remove.
15622 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15623
15624 2013-05-01 Leo Liu <sdl.web@gmail.com>
15625
15626 * progmodes/octave.el: Compatible with older emacs-24 releases.
15627 (inferior-octave-has-built-in-variables): Remove. Built-in
15628 variables were removed from Octave in 2007.
15629 (inferior-octave-startup): Fix uses.
15630 (comint-line-beginning-position): Remove compatibility code for
15631 emacs 21.
15632
15633 2013-05-01 Juri Linkov <juri@jurta.org>
15634
15635 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15636
15637 2013-05-01 Juri Linkov <juri@jurta.org>
15638
15639 * comint.el (comint-previous-matching-input): Don't print message
15640 "History item: %d" when `isearch-mode' is active.
15641 (comint-history-isearch-message): Print message "History item: %d"
15642 when `comint-input-ring-index' is not empty and this function is
15643 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15644
15645 2013-05-01 Leo Liu <sdl.web@gmail.com>
15646
15647 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15648 definitions. Use completion-at-point to insert keywords.
15649 (octave-abbrev-start): Remove.
15650 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15651
15652 2013-04-30 Leo Liu <sdl.web@gmail.com>
15653
15654 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15655 change.
15656
15657 2013-04-30 Alan Mackenzie <acm@muc.de>
15658
15659 Handle arbitrarily long C++ member initialisation lists.
15660 * progmodes/cc-engine.el (c-back-over-member-initializers):
15661 new function.
15662 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15663 (most) member init lists.
15664
15665 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15666
15667 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15668 variable.
15669
15670 2013-04-30 Leo Liu <sdl.web@gmail.com>
15671
15672 * progmodes/octave.el (octave-variables): Remove. No builtin
15673 variables any more. All converted to functions.
15674 (octave-font-lock-keywords, octave-completion-at-point-function):
15675 Fix uses.
15676 (octave-font-lock-texinfo-comment): New user variable.
15677 (octave-texinfo-font-lock-keywords): New variable for texinfo
15678 comment block.
15679 (octave-function-comment-block): New face.
15680 (octave-font-lock-texinfo-comment): New function.
15681 (octave-mode): Font lock texinfo comment block.
15682
15683 2013-04-29 Leo Liu <sdl.web@gmail.com>
15684
15685 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15686 indexing expression.
15687 (octave-continuation-string): Do not use \.
15688 (inferior-octave-complete-impossible): Remove.
15689 (inferior-octave-completion-table)
15690 (inferior-octave-completion-at-point): Remove its uses.
15691 (inferior-octave-startup): completion_matches was introduced to
15692 Octave in 1996 so safe to assume it.
15693 (octave-function-file-comment): Improve to follow how Octave does it.
15694 (octave-update-function-file-comment): Tweak.
15695
15696 2013-04-29 Leo Liu <sdl.web@gmail.com>
15697
15698 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15699 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15700 (octave-function-file-comment): Fix typo.
15701 (octave-sync-function-file-names): Use read-char-choice.
15702
15703 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15704
15705 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15706 to t for the less important warnings.
15707
15708 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15709
15710 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15711
15712 2013-04-27 Glenn Morris <rgm@gnu.org>
15713
15714 * vc/log-view.el (log-view-current-entry):
15715 Treat "---" separator lines as part of the following rev. (Bug#14169)
15716
15717 2013-04-27 Juri Linkov <juri@jurta.org>
15718
15719 * subr.el (read-number): Doc fix about using it by interactive
15720 code letter `n'. (Bug#14254)
15721
15722 2013-04-27 Juri Linkov <juri@jurta.org>
15723
15724 * desktop.el (desktop-auto-save-timeout): New option.
15725 (desktop-file-checksum): New variable.
15726 (desktop-save): Add optional arg `auto-save' and don't auto-save
15727 if nothing changed.
15728 (desktop-auto-save-timer): New variable.
15729 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15730 (after-init-hook): Call `desktop-auto-save-set-timer'.
15731 Suggested by Reuben Thomas <rrt@sc3d.org> in
15732 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15733
15734 2013-04-27 Leo Liu <sdl.web@gmail.com>
15735
15736 * progmodes/octave.el (octave-function-file-p)
15737 (octave-skip-comment-forward, octave-function-file-comment)
15738 (octave-update-function-file-comment): New functions.
15739 (octave-mode-map): Bind C-c ; to
15740 octave-update-function-file-comment.
15741 (octave-mode-menu): Add octave-update-function-file-comment.
15742 (octave-mode, inferior-octave-mode): Fix doc-string.
15743 (octave-insert-defun): Conform to Octave's coding convention.
15744 (Bug#14285)
15745
15746 * files.el (basic-save-buffer): Don't let errors in
15747 before-save-hook prevent saving buffer.
15748
15749 2013-04-20 Roland Winkler <winkler@gnu.org>
15750
15751 * faces.el (read-face-name): Use completing-read if arg multiple
15752 is nil.
15753
15754 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15755
15756 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15757 displayed, move point to after the totals line.
15758 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15759 for the details.
15760
15761 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15764 Add current dir to the load-path.
15765 (package-generate-autoloads): Don't rely on
15766 autoload-ensure-default-file.
15767
15768 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15769
15770 * textmodes/remember.el (remember-store-in-files): Document that
15771 the file name format is passed to `format-time-string'.
15772
15773 2013-04-26 Leo Liu <sdl.web@gmail.com>
15774
15775 * progmodes/octave.el (octave-sync-function-file-names): New function.
15776 (octave-mode): Use it in before-save-hook.
15777
15778 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15781 (bug#14274).
15782
15783 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15784 \n and comment, even if it's not an implicit ; (bug#14218).
15785
15786 2013-04-26 Glenn Morris <rgm@gnu.org>
15787
15788 * subr.el (read-number): Once more use `read' rather than
15789 `string-to-number', to trap non-numeric input. (Bug#14254)
15790
15791 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15792
15793 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15794 Use `syntax-multiline' text property consistently instead of
15795 `font-lock-multiline'. (Bug#14237)
15796
15797 2013-04-26 Glenn Morris <rgm@gnu.org>
15798
15799 * emacs-lisp/shadow.el (list-load-path-shadows):
15800 No longer necessary to check for duplicate simple.el, since
15801 2012-07-07 change to init_lread to not include installation lisp
15802 directories in load-path when running uninstalled. (Bug#14270)
15803
15804 2013-04-26 Leo Liu <sdl.web@gmail.com>
15805
15806 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15807 (octave-mode, inferior-octave-mode): Use setq-local.
15808 (octave-not-in-string-or-comment-p): Rename to
15809 octave-in-string-or-comment-p.
15810 (octave-in-comment-p, octave-in-string-p)
15811 (octave-in-string-or-comment-p): Replace defsubst with defun.
15812
15813 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15814
15815 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15816
15817 2013-04-25 Bastien Guerry <bzg@gnu.org>
15818
15819 * textmodes/remember.el (remember-data-directory)
15820 (remember-directory-file-name-format): Fix custom types.
15821
15822 2013-04-25 Leo Liu <sdl.web@gmail.com>
15823
15824 * progmodes/octave.el (octave-completion-at-point-function):
15825 Make use of inferior octave process.
15826 (octave-initialize-completions): Remove.
15827 (inferior-octave-completion-table): New function.
15828 (inferior-octave-completion-at-point): Use it.
15829 (octave-completion-alist): Remove.
15830
15831 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15832
15833 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15834 (opascal-mode-syntax-table): New var.
15835 (opascal-literal-kind, opascal-is-literal-end)
15836 (opascal-literal-token-at): Rewrite.
15837 (opascal--literal-start-re, opascal-font-lock-keywords)
15838 (opascal--syntax-propertize): New constants.
15839 (opascal-font-lock-defaults): Adjust.
15840 (opascal-mode): Use them. Set comment-<foo> variables as well.
15841 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15842 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15843 (delphi-other-face, opascal-other-face): Remove face variables.
15844 (opascal-save-state): Remove macro.
15845 (opascal-fontifying-progress-step): Remove constant.
15846 (opascal--ignore-changes): Remove var.
15847 (opascal-set-token-property, opascal-parse-next-literal)
15848 (opascal-is-stable-literal, opascal-complete-literal)
15849 (opascal-is-literal-start, opascal-face-of)
15850 (opascal-parse-region, opascal-parse-region-until-stable)
15851 (opascal-fontify-region, opascal-after-change)
15852 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15853 (opascal-debug-parse-region, opascal-debug-parse-window)
15854 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15855 (opascal-debug-fontify-buffer): Remove.
15856 (opascal-debug-mode-map): Adjust accordingly.
15857
15858 2013-04-25 Leo Liu <sdl.web@gmail.com>
15859
15860 Merge octave-mod.el and octave-inf.el into octave.el with some
15861 cleanups.
15862 * progmodes/octave.el: New file renamed from octave-mod.el.
15863 * progmodes/octave-inf.el: Merged into octave.el.
15864 * progmodes/octave-mod.el: Renamed to octave.el.
15865
15866 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15867
15868 * textmodes/reftex-vars.el
15869 (reftex-label-ignored-macros-and-environments): New defcustom.
15870
15871 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15872
15873 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15876 (smie-indent-keyword): Improve the check to ensure that the next
15877 comment is really on the same line.
15878 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15879
15880 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15881 semi-colons if the line is not otherwise empty (bug#14218).
15882
15883 2013-04-25 Glenn Morris <rgm@gnu.org>
15884
15885 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15886
15887 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * progmodes/opascal.el (opascal-set-token-property): Rename from
15890 opascal-set-text-properties and only set `token' (bug#14134).
15891 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15892 (opascal-literal-text-properties): Remove.
15893 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15894 Adjust callers.
15895
15896 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15897
15898 * textmodes/remember.el (remember-handler-functions): Add an
15899 option for a new handler `remember-store-in-files'.
15900 (remember-data-directory, remember-directory-file-name-format):
15901 New options.
15902 (remember-store-in-files): New function to store remember notes
15903 as separate files within a directory.
15904
15905 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15906
15907 * progmodes/compile.el (compilation-next-error-function):
15908 Pass "formats" to compilation-find-file (bug#11777).
15909
15910 2013-04-24 Glenn Morris <rgm@gnu.org>
15911
15912 * vc/vc-bzr.el (vc-bzr-print-log):
15913 * vc/vc-hg.el (vc-hg-print-log):
15914 * vc/vc-svn.el (vc-svn-print-log):
15915 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15916
15917 * vc/vc-bzr.el (vc-bzr-print-log):
15918 * vc/vc-cvs.el (vc-cvs-print-log):
15919 * vc/vc-git.el (vc-git-print-log):
15920 * vc/vc-hg.el (vc-hg-print-log):
15921 * vc/vc-mtn.el (vc-mtn-print-log):
15922 * vc/vc-rcs.el (vc-rcs-print-log):
15923 * vc/vc-sccs.el (vc-sccs-print-log):
15924 * vc/vc-svn.el (vc-svn-print-log):
15925 * vc/vc.el (vc-print-log-internal): Doc fixes.
15926
15927 2013-04-23 Glenn Morris <rgm@gnu.org>
15928
15929 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15930 Remove venerable code attempting to avoid substitute-command-keys.
15931
15932 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15933
15934 * textmodes/reftex-vars.el (reftex-label-regexps):
15935 Call `reftex-compile-variables' after changes to this variable.
15936
15937 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15938
15939 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15940 Use lexical-binding.
15941 (jit-lock-force-redisplay): Use markers, check buffer's continued
15942 existence and beware narrowed buffers.
15943 (jit-lock-fontify-now): Adjust call accordingly.
15944
15945 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15948 to avoid misleading the user.
15949
15950 2013-04-22 Leo Liu <sdl.web@gmail.com>
15951
15952 * info-look.el: Prefer latex2e.info. (Bug#14240)
15953
15954 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15955
15956 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15957
15958 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15959 * net/tramp.el (tramp-call-process): ... here.
15960 (tramp-set-completion-function, tramp-parse-putty):
15961 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15962 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15963 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15964 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15965 (tramp-call-local-coding-command): Use `tramp-call-process'
15966 instead of `tramp-compat-call-process'.
15967
15968 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15969 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15970 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15971 (tramp-find-inline-compress): Improve traces.
15972 (tramp-maybe-send-script): Check for Perl binary.
15973 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15974
15975 2013-04-22 Daiki Ueno <ueno@gnu.org>
15976
15977 * epg.el (epg-context-pinentry-mode): New function.
15978 (epg-context-set-pinentry-mode): New function.
15979 (epg--start): Pass --pinentry-mode option to gpg command.
15980
15981 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15982
15983 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15984 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15985 `completion-at-point'. (Bug#13774)
15986
15987 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15988 default key binding for `describe-distribution' has been moved to
15989 `C-h C-o'. (Bug#13970)
15990
15991 2013-04-21 Glenn Morris <rgm@gnu.org>
15992
15993 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15994 Add doc strings.
15995 (vc-print-log): Clarify interactive prompt.
15996
15997 2013-04-20 Glenn Morris <rgm@gnu.org>
15998
15999 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16000 No longer include timestamp etc information.
16001
16002 2013-04-20 Roland Winkler <winkler@gnu.org>
16003
16004 * faces.el (read-face-name): Bug fix, return just one face if arg
16005 multiple is nil. (Bug#14209)
16006
16007 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16010 (remove-function): Autoload.
16011
16012 * comint.el (comint-redirect-original-filter-function): Remove.
16013 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16014 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16015 (vc-cvs-annotate-command):
16016 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16017 * progmodes/prolog.el (prolog-consult-compile):
16018 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16019 Use add/remove-function instead.
16020 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16021 (gud-tooltip-process-output, gud-tooltip-tips):
16022 Use add/remove-function instead.
16023 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16024 (scheme-interaction-mode, exit-scheme-interaction-mode):
16025 Use add/remove-function instead.
16026
16027 * vc/vc-dispatcher.el: Use lexical-binding.
16028 (vc--process-sentinel): Rename from vc-process-sentinel.
16029 Change last arg to be the code to run. Don't use vc-previous-sentinel
16030 and vc-sentinel-commands any more.
16031 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16032 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16033
16034 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16035
16036 * progmodes/sh-script.el (sh-imenu-generic-expression):
16037 Handle function names with a single character. (Bug#14111)
16038
16039 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16040
16041 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16042 for subroutines defined in an eval (bug#14182).
16043
16044 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16045
16046 * bookmark.el (bookmark-completing-read): Improve handling of empty
16047 string (bug#14176).
16048
16049 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16052
16053 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16054
16055 New faster Imenu implementation (bug#14058).
16056 * progmodes/python.el:
16057 (python-imenu-prev-index-position):
16058 (python-imenu-format-item-label-function)
16059 (python-imenu-format-parent-item-label-function)
16060 (python-imenu-format-parent-item-jump-label-function):
16061 New vars.
16062 (python-imenu-format-item-label)
16063 (python-imenu-format-parent-item-label)
16064 (python-imenu-format-parent-item-jump-label)
16065 (python-imenu--put-parent, python-imenu--build-tree)
16066 (python-imenu-create-index, python-imenu-create-flat-index)
16067 (python-util-popn): New functions.
16068 (python-mode): Set imenu-create-index-function to
16069 python-imenu-create-index.
16070
16071 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * winner.el (winner-active-region): Use region-active-p, activate-mark
16074 and deactivate-mark (bug#14225).
16075
16076 * simple.el (deactivate-mark): Don't inline it.
16077
16078 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16079
16080 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16081
16082 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16083
16084 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16085 file extensions from the archive-mode entry in order to prefer
16086 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16087
16088 2013-04-18 Leo Liu <sdl.web@gmail.com>
16089
16090 * bindings.el (help-event-list): Add ?\?.
16091
16092 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * subr.el (with-wrapper-hook): Declare obsolete.
16095 * simple.el (filter-buffer-substring-function): New hook.
16096 (filter-buffer-substring): Use it.
16097 (filter-buffer-substring-functions): Mark obsolete.
16098 * minibuffer.el (completion-in-region-function): New hook.
16099 (completion-in-region): Use it.
16100 (completion-in-region-functions): Mark obsolete.
16101 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16102 * abbrev.el (abbrev-expand-function): New hook.
16103 (expand-abbrev): Use it.
16104 (abbrev-expand-functions): Mark obsolete.
16105 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16106 and :filter-return.
16107
16108 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16109
16110 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16111 and do not care about match data.
16112
16113 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16116 completion tables when completing error conditions and
16117 `declare' arguments.
16118 (lisp-complete-symbol, field-complete): Mark as obsolete.
16119 (check-parens): Unmatched parens are user errors.
16120 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16121
16122 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16123
16124 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16125 command changed buffer (ie. `flyspell-pre-buffer' is not current
16126 buffer), which prevents making decisions based on invalid value of
16127 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16128 cause an error when `flyspell-pre-point' was nil after switching
16129 buffers.
16130 (flyspell-post-command-hook): No longer needs to change buffers when
16131 checking pre-word. While at it remove unnecessary progn.
16132
16133 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16134
16135 * textmodes/ispell.el (ispell-add-per-file-word-list):
16136 Fix `flyspell-correct-word-before-point' error when accepting
16137 words and `coment-padding' is an integer by using
16138 `comment-normalize-vars' (Bug #14214).
16139
16140 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16141
16142 New defun movement commands.
16143 * progmodes/python.el (python-nav--syntactically)
16144 (python-nav--forward-defun, python-nav-backward-defun)
16145 (python-nav-forward-defun): New functions.
16146
16147 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16148
16149 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16150 (python-syntax-context): Use named compiler-macro for backwards
16151 compatibility with Emacs 24.x.
16152
16153 2013-04-17 Leo Liu <sdl.web@gmail.com>
16154
16155 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16156 octave-hide-process-buffer.
16157
16158 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16161 (bug#14216).
16162
16163 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16164
16165 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16166 Fix adjustment of offset when receiving incomplete responses from GDB
16167 (bug#14129).
16168
16169 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16172 python-mode-abbrev-table.
16173 (python-skeleton-define): Adjust accordingly.
16174 (python-mode-abbrev-table): New table that inherits from it so that
16175 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16176
16177 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16178 (abbrev-symbol): Use it.
16179 (abbrev--before-point): Use it since we already handle inheritance.
16180
16181 2013-04-16 Leo Liu <sdl.web@gmail.com>
16182
16183 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16184 binding to info-lookup-symbol.
16185
16186 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16187
16188 * minibuffer.el (completion--twq-all):
16189 * term/ns-win.el (ns-initialize-window-system):
16190 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16191
16192 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16193
16194 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16195 global bindings.
16196
16197 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16198
16199 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16200
16201 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16202 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16203 to nil.
16204 (ruby-end-of-defun): Remove the unused arg, change the docstring
16205 to reflect that this function is only used as the value of
16206 `end-of-defun-function'.
16207 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16208 to reflect an earlier change that beginning/end-of-defun functions
16209 jump between methods in a class definition, as well as top-level
16210 functions.
16211
16212 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * minibuffer.el (minibuffer-complete): Don't just scroll
16215 a *Completions* that's been iconified.
16216 (minibuffer-force-complete): Make sure repetitions do cycle when going
16217 through completion-in-region -> minibuffer-complete.
16218
16219 2013-04-15 Alan Mackenzie <acm@muc.de>
16220
16221 Correct the placement of c-cpp-delimiters when there're #s not at
16222 col 0.
16223
16224 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16225 place a submatch around the #.
16226 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16227 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16228 on the #, not BOL.
16229
16230 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16231
16232 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16233 (advice--member-p): New arg `name'.
16234 (advice--add-function, advice-member-p): Use it (bug#14202).
16235
16236 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16237
16238 Reformulate java imenu-generic-expression.
16239 The old expression contained ill formed regexps.
16240
16241 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16242 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16243 (cc-imenu-java-method-arg-regexp): New defconsts.
16244 (cc-imenu-java-build-type-args-regex): New defun.
16245 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16246 handling of spaces in the regexp.
16247
16248 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16249
16250 * textmodes/ispell.el (ispell-command-loop): Remove
16251 flyspell highlight of a word when ispell accepts it (bug #14178).
16252
16253 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16254
16255 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16256 uses code from the previous `ange-ftp-run-real-handler'.
16257 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16258 only in case that function exist. This is needed for proper
16259 unloading of Tramp.
16260
16261 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16262
16263 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16264
16265 * textmodes/reftex.el (reftex-compile-variables): Use it.
16266
16267 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16268
16269 * files.el (normal-mode): Only use default major-mode if no other mode
16270 was specified.
16271
16272 * emacs-lisp/trace.el (trace-values): New function.
16273
16274 * files.el: Allow : in local variables (bug#14089).
16275 (hack-local-variable-regexp): New var.
16276 (hack-local-variables-prop-line, hack-local-variables): Use it.
16277
16278 2013-04-13 Roland Winkler <winkler@gnu.org>
16279
16280 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16281 data before it gets modified by bibtex-beginning-of-entry.
16282
16283 2013-04-13 Roland Winkler <winkler@gnu.org>
16284
16285 * textmodes/bibtex.el (bibtex-url): Doc fix.
16286
16287 2013-04-13 Roland Winkler <winkler@gnu.org>
16288
16289 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16290 does not visit a BibTeX file, exclude it from the list of buffers
16291 returned by bibtex-initialize.
16292
16293 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16294
16295 * window.el (split-window): Remove interactive form, since as a
16296 command this function is a special case of split-window-below.
16297 Correct doc string.
16298
16299 2013-04-12 Roland Winkler <winkler@gnu.org>
16300
16301 * faces.el (read-face-name): Do not override value of arg default.
16302 Allow single faces and strings as default values. Remove those
16303 elements from return value that are not faces.
16304 (describe-face): Simplify.
16305 (face-at-point): New optional args thing and multiple so that this
16306 function can provide the same functionality previously provided by
16307 read-face-name.
16308 (make-face-bold, make-face-unbold, make-face-italic)
16309 (make-face-unitalic, make-face-bold-italic, invert-face)
16310 (modify-face, read-face-and-attribute): Use face-at-point.
16311
16312 * cus-edit.el (customize-face, customize-face-other-window)
16313 * cus-theme.el (custom-theme-add-face)
16314 * face-remap.el (buffer-face-set)
16315 * facemenu.el (facemenu-set-face): Use face-at-point.
16316
16317 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16318
16319 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16320
16321 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16322
16323 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16324 off leading { and trailing } from field values.
16325
16326 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * emacs-lisp/timer.el (timer--check): New function.
16329 (timer--time, timer-set-function, timer-event-handler): Use it.
16330 (timer-set-idle-time): Simplify.
16331 (timer--activate): CSE.
16332 (timer-event-handler): Give more info in error message.
16333 (internal-timer-start-idle): New function, moved from C.
16334
16335 * mpc.el (mpc-proc): Add `restart' argument.
16336 (mpc-proc-cmd): Use it.
16337 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16338 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16339 less often.
16340
16341 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16342
16343 * progmodes/sh-script.el: Implement `sh-mode' own
16344 `add-log-current-defun-function' (bug#14112).
16345 (sh-current-defun-name): New function.
16346 (sh-mode): Use the function.
16347
16348 2013-04-09 Bastien Guerry <bzg@gnu.org>
16349
16350 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16351
16352 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16355
16356 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16357 timer (bug#14156).
16358
16359 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16360
16361 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16362 declaration.
16363
16364 2013-04-07 Leo Liu <sdl.web@gmail.com>
16365
16366 * pcmpl-x.el: New file.
16367
16368 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16369
16370 Do not set x-display-name until X connection is established.
16371 This is needed to prevent from weird situation described at
16372 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16373 * frame.el (make-frame): Set x-display-name after call to
16374 window system initialization function, not before.
16375 * term/x-win.el (x-initialize-window-system): Add optional
16376 display argument and use it.
16377 * term/w32-win.el (w32-initialize-window-system):
16378 * term/ns-win.el (ns-initialize-window-system):
16379 * term/pc-win.el (msdos-initialize-window-system):
16380 Add compatible optional display argument.
16381
16382 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16383
16384 * files.el (normal-backup-enable-predicate): On MS-Windows and
16385 MS-DOS compare truenames of temporary-file-directory and of the
16386 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16387 don't fail comparison by compare-strings. Also, compare file
16388 names case-insensitively on MS-Windows and MS-DOS.
16389
16390 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16391
16392 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16393 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16394
16395 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16396
16397 * whitespace.el (whitespace-color-on, whitespace-color-off):
16398 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16399
16400 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16401
16402 * ispell.el (ispell-set-spellchecker-params):
16403 Really set `ispell-args' for all equivs.
16404
16405 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16406
16407 * ido.el (ido-completions): Use extra elements of ido-decorations
16408 (bug#14143).
16409 (ido-decorations): Update docstring.
16410
16411 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16412
16413 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16414 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16415 nil during initialization, in order not to miss changes since the
16416 file was opened. (Bug#14140)
16417
16418 2013-04-05 Leo Liu <sdl.web@gmail.com>
16419
16420 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16421
16422 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16423
16424 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16425
16426 2013-04-04 Glenn Morris <rgm@gnu.org>
16427
16428 * electric.el (electric-pair-inhibit-predicate): Add :version.
16429
16430 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16431
16432 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16433 when a package is required several times (bug#14082).
16434
16435 2013-04-04 Roland Winkler <winkler@gnu.org>
16436
16437 * faces.el (read-face-name): Behave as promised by the docstring.
16438 Assume that arg default is a list of faces.
16439 (describe-face): Call read-face-name with list of default faces.
16440
16441 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16442
16443 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16444 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16445 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16446 the header.
16447 (bookmark-exit-hook-internal): Save even if list is empty.
16448
16449 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16450
16451 * emacs-lisp/package.el (package-pinned-packages): New var.
16452 (package--add-to-archive-contents): Obey it (bug#14118).
16453
16454 2013-04-03 Alan Mackenzie <acm@muc.de>
16455
16456 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16457 Also adapt to the new values of element 7 of a parse state.
16458
16459 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16460 parameter `not-in-delimiter'. Handle being inside comment opener.
16461 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16462 character in case we're typing a '*' after a '/'.
16463 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16464 instead by passing the parameter to c-state-pp-to-literal.
16465
16466 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16467 for elt. 7 of a parse state.
16468
16469 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16470
16471 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16472 * international/latin1-disp.el, international/mule-util.el:
16473 * language/cyril-util.el, language/european.el, language/ind-util.el:
16474 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16475 * language/tibetan.el, language/viet-util.el:
16476 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16477
16478 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16479
16480 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16481 (electric-pair-post-self-insert-function): Use it.
16482 (electric-pair-default-inhibit): New function, extracted from
16483 electric-pair-post-self-insert-function.
16484
16485 2013-03-31 Roland Winkler <winkler@gnu.org>
16486
16487 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16488
16489 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16492
16493 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16494
16495 Un-indent after "pass" and "return" statements (Bug#13888)
16496 * progmodes/python.el (python-indent-block-enders): New var.
16497 (python-indent-calculate-indentation): Use it.
16498
16499 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16500
16501 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16502 defun. Defining it as defalias could introduce too eager
16503 byte-compiler optimization. (Bug#14030)
16504
16505 2013-03-30 Chong Yidong <cyd@gnu.org>
16506
16507 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16508
16509 2013-03-30 Leo Liu <sdl.web@gmail.com>
16510
16511 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16512 (kmacro-execute-from-register): Pass the keyboard macro to
16513 kmacro-call-macro or repeating won't work correctly.
16514
16515 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16516
16517 * progmodes/subword.el: Back to using `forward-symbol'.
16518
16519 * subr.el (forward-whitespace, forward-symbol)
16520 (forward-same-syntax): Move from thingatpt.el.
16521
16522 2013-03-29 Leo Liu <sdl.web@gmail.com>
16523
16524 * kmacro.el (kmacro-to-register): New command.
16525 (kmacro-execute-from-register): New function.
16526 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16527
16528 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16529
16530 * mpc.el: Use defvar-local and setq-local.
16531 (mpc--proc-connect): Connection failures are not bugs.
16532 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16533 (mpc-volume-map): Bind to the up-events.
16534
16535 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16536
16537 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16538 instead of `forward-symbol'.
16539
16540 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16543 (edebug--recursive-edit): Use it.
16544 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16545 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16546
16547 2013-03-28 Leo Liu <sdl.web@gmail.com>
16548
16549 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16550
16551 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16552
16553 * facemenu.el (list-colors-callback): New defvar.
16554 (list-colors-redisplay): New function.
16555 (list-colors-display): Install list-colors-redisplay as the
16556 revert-buffer-function. (Bug#14063)
16557
16558 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16559
16560 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16561 and suffixes don't overlap (bug#14061).
16562
16563 * case-table.el: Use lexical-binding.
16564 (case-table-get-table): New function.
16565 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16566
16567 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16568
16569 * progmodes/subword.el: Add `superword-mode' to do word motion
16570 over symbol_words (parallels and leverages `subword-mode' which
16571 does word motion inside MixedCaseWords).
16572
16573 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16574
16575 * eshell/em-unix.el: Move su and sudo to...
16576 * eshell/em-tramp.el: ...Eshell tramp module.
16577
16578 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16581 Change return value to be a sexp. Delay `get-buffer' to after
16582 restoring the desktop (bug#13951).
16583
16584 2013-03-26 Leo Liu <sdl.web@gmail.com>
16585
16586 * register.el: Move semantic tag handling back to
16587 cedet/semantic/senator.el. (Bug#14052)
16588
16589 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16590
16591 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16592 into the prompt either (bug#13963).
16593
16594 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16595
16596 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16597 part of "(error-foo)".
16598
16599 2013-03-24 Juri Linkov <juri@jurta.org>
16600
16601 * replace.el (list-matching-lines-prefix-face): New defcustom.
16602 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16603 `occur-engine' if `face-differs-from-default-p' returns t.
16604 (occur-engine): Add `,' inside backquote construct to evaluate
16605 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16606 Pass `prefix-face' to the functions `occur-context-lines' and
16607 `occur-engine-add-prefix'.
16608 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16609 `prefix-face' and propertize the prefix with `prefix-face'.
16610 (Bug#14017)
16611
16612 2013-03-24 Leo Liu <sdl.web@gmail.com>
16613
16614 * nxml/rng-valid.el (rng-validate-while-idle)
16615 (rng-validate-quick-while-idle): Guard against deleted buffer.
16616 (Bug#13999)
16617
16618 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16619 is the last entry in kill-buffer-hook.
16620
16621 * files.el (kill-buffer-hook): Doc fix.
16622
16623 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16624
16625 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16626 Make it safe-local.
16627
16628 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16629
16630 2013-03-23 Leo Liu <sdl.web@gmail.com>
16631
16632 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16633 Remove.
16634
16635 * nxml/rng-valid.el (rng-validate-mode)
16636 (rng-after-change-function, rng-do-some-validation):
16637 * nxml/rng-maint.el (rng-validate-buffer):
16638 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16639 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16640 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16641 (nxml-extend-after-change-region): Use with-silent-modifications.
16642
16643 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16644 timer-idle-list.
16645
16646 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16647 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16648 timer-idle-list. (Bug#13999)
16649
16650 2013-03-23 Juri Linkov <juri@jurta.org>
16651
16652 * info.el (info-index-match): New face.
16653 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16654 main pattern and add text properties with the new face to matches
16655 in index entries relative to the beginning of the index entry.
16656 (Bug#14015)
16657
16658 2013-03-21 Eric Ludlam <zappo@gnu.org>
16659
16660 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16661 Inhibit read only while inserting objects.
16662
16663 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16664
16665 * progmodes/cfengine.el: Update docs to mention
16666 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16667 symbol motion. Remove "_" from the word syntax.
16668
16669 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16670
16671 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16672 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16673
16674 2013-03-20 Juri Linkov <juri@jurta.org>
16675
16676 * info.el (Info-next-reference-or-link)
16677 (Info-prev-reference-or-link): New functions.
16678 (Info-next-reference, Info-prev-reference): Use them.
16679 (Info-try-follow-nearest-node): Handle footnote navigation.
16680 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16681
16682 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16683
16684 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16685 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16686
16687 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16688
16689 Suppress unnecessary non-ASCII chatter during build process.
16690 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16691 (batch-skkdic-convert): Suppress most of the chatter.
16692 It's not needed so much now that machines are faster,
16693 and its non-ASCII component was confusing; see Dmitry Gutov in
16694 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16695
16696 2013-03-20 Leo Liu <sdl.web@gmail.com>
16697
16698 * ido.el (ido-chop): Fix bug#10994.
16699
16700 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16701
16702 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16703 Remove vars.
16704 (whitespace-color-on, whitespace-color-off):
16705 Use `font-lock-fontify-buffer' (Bug#13817).
16706
16707 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16708
16709 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16710 remapping in mode-line.
16711 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16712
16713 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16714
16715 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16716 value for `whitespace-line' face (Bug#13875).
16717 (whitespace-font-lock-keywords): Change description.
16718 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16719 the constructed keywords instead.
16720 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16721
16722 2013-03-19 Leo Liu <sdl.web@gmail.com>
16723
16724 * progmodes/compile.el (compilation-display-error): New command.
16725 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16726 C-o. (Bug#13992)
16727
16728 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16729
16730 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16731
16732 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16733
16734 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16735
16736 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16737
16738 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16739
16740 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16741 * net/tramp-gvfs.el (top):
16742 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16743 (tramp-handle-shell-command): Use it.
16744 (tramp-dissect-file-name): Raise an error when hostname is a
16745 method name, and neither method nor user is specified.
16746
16747 * net/trampver.el: Update release number.
16748
16749 2013-03-18 Leo Liu <sdl.web@gmail.com>
16750
16751 Make sure eldoc can be turned off properly.
16752 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16753 eldoc-mode.
16754 (eldoc-display-message-p): Revert last change.
16755 (eldoc-display-message-no-interference-p)
16756 (eldoc-print-current-symbol-info): Tweak.
16757
16758 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16759
16760 * doc-view.el (doc-view-new-window-function): Check the new window
16761 overlay's display property instead the char property of the
16762 buffer's first char. Use `with-selected-window' instead of
16763 `save-window-excursion' with `select-window'.
16764 (doc-view-document->bitmap): Check the current doc-view overlay's
16765 display property instead the char property of the buffer's first char.
16766
16767 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16768
16769 Automate the build of ja-dic.el (Bug#13984).
16770 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16771 from the input, rather than assume that it's been done for us by the
16772 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16773 the current date into a ja-dic.el comment, as that complicates
16774 regression testing.
16775
16776 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16777
16778 * whitespace.el: Fix double evaluation.
16779 (whitespace-space, whitespace-hspace, whitespace-tab)
16780 (whitespace-newline, whitespace-trailing, whitespace-line)
16781 (whitespace-space-before-tab, whitespace-indentation)
16782 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16783 obsolete defvars.
16784 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16785 (whitespace-color-on): Use a single font-lock-add-keywords call.
16786 Fix double-evaluation of face variables.
16787
16788 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16789
16790 * net/tramp-adb.el (tramp-adb-parse-device-names):
16791 Use `start-process' instead of `call-process'. Otherwise, the
16792 function might be blocked under MS Windows. (Bug#13299)
16793
16794 2013-03-17 Leo Liu <sdl.web@gmail.com>
16795
16796 Extend eldoc to display info in the mode-line. (Bug#13978)
16797 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16798 (eldoc-mode-line-string): New variable.
16799 (eldoc-minibuffer-message): New function.
16800 (eldoc-message-function): New variable.
16801 (eldoc-message): Use it.
16802 (eldoc-display-message-p)
16803 (eldoc-display-message-no-interference-p):
16804 Support eldoc-post-insert-mode.
16805
16806 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16807 (eval-expression): Run it.
16808
16809 2013-03-17 Roland Winkler <winkler@gnu.org>
16810
16811 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16812 strings in the list of return values.
16813
16814 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16815
16816 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16817 radix before checking for HMS forms.
16818
16819 2013-03-16 Leo Liu <sdl.web@gmail.com>
16820
16821 * progmodes/scheme.el: Add indentation and font-locking for λ.
16822 (Bug#13975)
16823
16824 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16827 token before point (bug#13942).
16828
16829 2013-03-16 Leo Liu <sdl.web@gmail.com>
16830
16831 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16832
16833 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16834
16835 * startup.el (command-line-normalize-file-name): Fix handling of
16836 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16837 <xfq.free@gmail.com> in
16838 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16839
16840 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16841
16842 Sync with Tramp 2.2.7.
16843
16844 * net/trampver.el: Update release number.
16845
16846 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16847
16848 * doc-view.el: Fix bug#13887.
16849 (doc-view-insert-image): Don't modify overlay associated to
16850 non-live windows, and implement horizontal centering of image in
16851 case it's smaller than the window.
16852 (doc-view-new-window-function): Force redisplay of new windows on
16853 doc-view buffers.
16854
16855 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16856
16857 * saveplace.el (save-place-alist-to-file): Don't sort
16858 `save-place-alist', just pretty-print it (bug#13882).
16859
16860 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16861
16862 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16863 Check whether `default-file-name-coding-system' is bound.
16864 It isn't in XEmacs.
16865
16866 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16867
16868 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16869 backquotes for `obsolete' (bug#13929).
16870
16871 * international/mule.el (find-auto-coding): Include file name in
16872 obsolescence warning (bug#13922).
16873
16874 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16875
16876 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16877 for CFEngine 3-specific indentation.
16878 (cfengine3-indent-line): Use it. Fix up category regex.
16879 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16880
16881 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16882
16883 * type-break.el (type-break-file-name):
16884 * textmodes/remember.el (remember-data-file):
16885 * strokes.el (strokes-file):
16886 * shadowfile.el (shadow-initialize):
16887 * saveplace.el (save-place-file):
16888 * ps-bdf.el (bdf-cache-file):
16889 * progmodes/idlwave.el (idlwave-config-directory):
16890 * net/quickurl.el (quickurl-url-file):
16891 * international/kkc.el (kkc-init-file-name):
16892 * ido.el (ido-save-directory-list-file):
16893 * emulation/viper.el (viper-custom-file-name):
16894 * emulation/vip.el (vip-startup-file):
16895 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16896 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16897
16898 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16899
16900 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16901 * language/thai-word.el: Switch to UTF-8.
16902
16903 See ChangeLog.16 for earlier changes.
16904
16905 ;; Local Variables:
16906 ;; coding: utf-8
16907 ;; End:
16908
16909 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16910
16911 This file is part of GNU Emacs.
16912
16913 GNU Emacs is free software: you can redistribute it and/or modify
16914 it under the terms of the GNU General Public License as published by
16915 the Free Software Foundation, either version 3 of the License, or
16916 (at your option) any later version.
16917
16918 GNU Emacs is distributed in the hope that it will be useful,
16919 but WITHOUT ANY WARRANTY; without even the implied warranty of
16920 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16921 GNU General Public License for more details.
16922
16923 You should have received a copy of the GNU General Public License
16924 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.