Fix windmove-find-other-window broken after pixelwise resizing (Bug#16017).
[emacs.git] / lisp / ChangeLog
blobb48563761c47a770c7bbb36b007f05b816c90fcc
1 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
3         Fix windmove-find-other-window broken after pixelwise resizing
4         (Bug#16017).
5         * windmove.el (windmove-other-window-loc): Revert change from
6         2013-12-04.
7         (windmove-find-other-window): Call window-in-direction.
8         * window.el (window-in-direction): New arguments SIGN, WRAP and
9         MINI to emulate original windmove-find-other-window behavior.
11 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
13         * simple.el (blink-matching--overlay): New variable.
14         (blink-matching-open): Instead of moving point, highlight the
15         matching paren with an overlay
16         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
18         * faces.el (paren-showing-faces, show-paren-match)
19         (show-paren-mismatch): Move from paren.el.
21 2013-12-13  Leo Liu  <sdl.web@gmail.com>
23         * indent.el (indent-region): Disable progress reporter in
24         minibuffer.  (Bug#16108)
26         * bindings.el (visual-order-cursor-movement): Fix version.
28 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
30         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
31         Also match after beginning of line.
32         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
33         files.  Thanks to Russell Sim. (Bug#15378)
35 2013-12-13  Juri Linkov  <juri@jurta.org>
37         * simple.el <Keypad support>: Remove key bindings duplicated
38         with bindings.el.  (Bug#14397)
40 2013-12-13  Juri Linkov  <juri@jurta.org>
42         * comint.el (comint-mode-map): Replace `delete-char' with
43         `delete-forward-char'.  (Bug#16109)
45 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
47         * progmodes/python.el (python-indent-calculate-indentation): Fix
48         de-denters cornercase. (Bug#15731)
50 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
52         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
53         (advice--make): Pay attention to `depth'.
54         (advice--make-1): Don't autoload commands eagerly.
55         * emacs-lisp/elp.el (elp-instrument-function):
56         * emacs-lisp/trace.el (trace-function-internal):
57         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
59         * iswitchb.el (iswitchb-mode): Don't belittle ido.
61 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
63         * term/w32-win.el (w32-handle-dropped-file):
64         * startup.el (normal-top-level):
65         * net/browse-url.el (browse-url-file-url):
66         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
67         decode file names using 'utf-8' rather than
68         file-name-coding-system.
70 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
72         * progmodes/python.el (python-indent-context)
73         (python-indent-calculate-indentation): Fix auto-identation
74         behavior for comment blocks. (Bug#15916)
76 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
78         * progmodes/python.el (python-indent-calculate-indentation):
79         When determining indentation, don't treat "return", "pass", etc., as
80         operators when they are just string constituents.  (Bug#15812)
82 2013-12-12  Juri Linkov  <juri@jurta.org>
84         * uniquify.el (uniquify-buffer-name-style): Change default to
85         `post-forward-angle-brackets'.
87         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
88         `uniquify'.  Change default to `post-forward-angle-brackets'.
90 2013-12-11  Glenn Morris  <rgm@gnu.org>
92         * emacs-lisp/package.el (finder-list-matches):
93         Autoload rather than falsely declaring.
95 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
97         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
98         (eww-mode-map): Use them.
100 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
102         * window.el (display-buffer-in-side-window): Fix doc-string
103         (Bug#16115).
105 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
107         * vc/vc-git.el: Silence byte-compiler warnings.
108         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
109         (log-edit-set-header): Declare.
111 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
113         * Makefile.in (custom-deps, finder-data): Run output file names
114         through unmsys--file-name.  (Bug#16099)
116 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
118         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
119         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
121         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
122         instead of deleting the selection "by hand" (bug#16098).
123         Rely on insert-for-yank to yank rectangles.
124         (cua-highlight-region-shift-only): Mark obsolete.
125         (cua-mode): Don't enable/disable transient-mark-mode,
126         shift-select-mode (cua-mode works both with and without them), and
127         pc-selection-mode (obsolete).
128         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
129         (cua--deactivate-rectangle): Deactivate it.
131         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
132         (delete-selection-helper): Make sure yank starts at the top of the
133         deleted region.
134         (minibuffer-keyboard-quit): Use region-active-p.
136         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
138         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
139         to `delete' (bug#16109).
141 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
143         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
144         info manual and show keybindings and set `:group' keyword.
146 2013-12-11  Juri Linkov  <juri@jurta.org>
148         * delsel.el (delete-active-region): Let-bind `this-command'
149         to prevent `kill-region' from changing its original value.
150         (delete-selection-helper): Handle `overwrite-mode' for the type
151         `kill' exactly the same way as for the type `t'.
152         (insert-char, quoted-insert, reindent-then-newline-and-indent):
153         Support more commands.  (Bug#13312)
155 2013-12-11  Juri Linkov  <juri@jurta.org>
157         * bindings.el: Map kp keys to non-kp keys systematically
158         with basic modifiers control, meta and shift.  (Bug#14397)
160 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
162         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
163         "Close browser" menu items.  Fix wrong function of "List
164         bookmarks".
166 2013-12-11  Juri Linkov  <juri@jurta.org>
168         * misearch.el (multi-isearch-buffers): Set the value of
169         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
170         arg of isearch-forward to t.
171         (multi-isearch-buffers-regexp): Set the value of
172         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
173         arg of isearch-forward-regexp to t.
174         (multi-isearch-files): Set the value of
175         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
176         arg of isearch-forward to t.
177         (multi-isearch-files-regexp): Set the value of
178         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
179         arg of isearch-forward-regexp to t.  (Bug#16035)
181         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
182         arg of isearch-forward to t.
183         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
184         arg of isearch-forward-regexp to t.
185         (dired-isearch-filter-filenames): Remove unnecessary check for
186         `dired-isearch-filenames'.
188         * comint.el (comint-history-isearch-backward):
189         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
190         (comint-history-isearch-backward-regexp):
191         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
193 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
195         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
196         unmsys--file-name.  (Bug#16099)
198 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
200         * emacs-lisp/package.el (package-keyword-button-action):
201         Remove finder.el require dependency.
203 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
205         * emacs-lisp/package.el: Require finder.el.
206         (describe-package-1): Add keyword buttons.
207         (package-make-button): New convenience function.
208         (package-keyword-button-action): Keyword button action using
209         `finder-list-matches'
211 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
213         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
214         last commit.
216 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
218         * autorevert.el (auto-revert-notify-add-watch): Do not handle
219         symlinked files.
221 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
223         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
224         after the end of a percent literal.
226 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
228         * progmodes/ruby-mode.el (ruby-forward-string): Document.
229         Handle caret-delimited strings (Bug#16079).
231 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
233         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
234         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
235         `ruby-parse-partial' (Bug#16078).
237 2013-12-09  Leo Liu  <sdl.web@gmail.com>
239         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
241 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
243         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
244         (js-switch-indent-offset): New option.
245         (js--proper-indentation): Use it.  And handle the case when
246         "default" is actually a key in an object literal.
247         (js--same-line): New function.
248         (js--multi-line-declaration-indentation): Use it.
249         (js--indent-in-array-comp, js--array-comp-indentation):
250         New functions.
251         (js--proper-indentation): Use them, to handle array comprehension
252         continuations.
254 2013-12-08  Leo Liu  <sdl.web@gmail.com>
256         * progmodes/flymake.el (flymake-highlight-line): Re-write.
257         (flymake-make-overlay): Remove arg MOUSE-FACE.
258         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
260 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
262         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
263         New function.
264         (redisplay-highlight-region-function): Use it.
266         * emulation/cua-base.el (cua--explicit-region-start)
267         (cua--last-region-shifted): Remove.
268         (cua--deactivate): Use deactivate-mark.
269         (cua--pre-command-handler-1): Don't handle shift-selection.
270         (cua--post-command-handler-1): Don't change transient-mark-mode.
271         (cua--select-keymaps): Use region-active-p rather than
272         cua--explicit-region-start or cua--last-region-shifted.
273         (cua-mode): Enable shift-select-mode.
275 2013-12-08  Leo Liu  <sdl.web@gmail.com>
277         * progmodes/flymake.el (flymake-popup-current-error-menu):
278         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
279         (flymake-posn-at-point-as-event, flymake-popup-menu)
280         (flymake-make-emacs-menu): Remove.  (Bug#16077)
282 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
284         * rect.el (rectangle-mark-mode): Activate mark even if
285         transient-mark-mode is off (bug#16066).
286         (rectangle--highlight-for-redisplay): Fix boundary condition when point
287         is > mark and at bolp.
289         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
290         (region-extract-function): Use it.
291         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
292         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
293         Delete functions.
294         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
295         kill-ring-save, kill-region, delete-char, delete-forward-char.
296         Ignore self-insert-iso.
298         * emulation/cua-gmrk.el (cua--init-global-mark):
299         Ignore `self-insert-iso'.
301         * emulation/cua-base.el (cua--prefix-copy-handler)
302         (cua--prefix-cut-handler): Rely on region-extract-function rather than
303         checking cua--rectangle.
304         (cua-delete-region): Use region-extract-function.
305         (cua-replace-region): Delete function.
306         (cua-copy-region, cua-cut-region): Obey region-extract-function.
307         (cua--pre-command-handler-1): Don't do the delete-selection thing.
308         (cua--self-insert-char-p): Ignore `self-insert-iso'.
309         (cua--init-keymaps): Don't remap delete-selection commands.
310         (cua-mode): Use delete-selection-mode instead of rolling our own
311         (bug#16085).
313         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
314         Obey region-extract-function.
316         Make registers and delete-selection-mode work on rectangles.
317         * register.el (describe-register-1): Don't modify the register's value.
318         (copy-to-register): Obey region-extract-function.
319         * delsel.el (delete-active-region): Obey region-extract-function.
321 2013-12-08  Leo Liu  <sdl.web@gmail.com>
323         * progmodes/flymake.el (flymake, flymake-error-bitmap)
324         (flymake-warning-bitmap, flymake-fringe-indicator-position)
325         (flymake-compilation-prevents-syntax-check)
326         (flymake-start-syntax-check-on-newline)
327         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
328         (flymake-start-syntax-check-on-find-file, flymake-log-level)
329         (flymake-xml-program, flymake-master-file-dirs)
330         (flymake-master-file-count-limit)
331         (flymake-allowed-file-name-masks): Relocate.
332         (flymake-makehash, flymake-float-time)
333         (flymake-replace-regexp-in-string, flymake-split-string)
334         (flymake-get-temp-dir): Remove.
335         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
336         (flymake-current-row, flymake-selected-frame)
337         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
338         related functions.  (Bug#16077)
340 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
342         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
344 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
346         * help-fns.el (describe-function-1): Use new advice-* functions
347         rather than old ad-* functions.  Fix function type description and
348         source links for advised functions and subrs.
350 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
352         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
354 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
356         * progmodes/compile.el (compilation-start):
357         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
359         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
360         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
362 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
364         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
365         Touch up the last change.
367 2013-12-06  Leo Liu  <sdl.web@gmail.com>
369         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
370         (inferior-octave-startup): Always use "octave> " for prompt.
371         (octave-goto-function-definition)
372         (octave-sync-function-file-names)
373         (octave-find-definition-default-filename): Remove redundant backquotes.
375 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
377         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
378         syntax for `?'.
379         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
380         where appropriate already.
381         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
382         end of method names (Bug#15874).
384 2013-12-06  Juri Linkov  <juri@jurta.org>
386         * isearch.el (isearch--saved-overriding-local-map):
387         New internal variable.
388         (isearch-mode): Set it to the initial value of
389         `overriding-terminal-local-map'.
390         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
391         with `isearch--saved-overriding-local-map'.  (Bug#16035)
393 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
395         * progmodes/octave.el (inferior-octave-completion-table):
396         Turn back into function, use `completion-table-with-cache'
397         (Bug#11906).  Update all references.
399         * minibuffer.el (completion-table-with-cache): New function.
401 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
403         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
405 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
407         * net/eww.el (eww-current-source): New variable to store page
408         source.
409         (eww-display-html, eww-mode, eww-save-history)
410         (eww-restore-history): Use it.
411         (eww-view-source): New command to view page source.
412         Opportunistically uses `html-mode' to highlight the buffer.
413         (eww-mode-map): Install it.
415 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
417         * net/dbus.el (dbus-unregister-service)
418         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
419         Fix docstring.
420         (dbus-unregister-service): Skip :serial entries in
421         `dbus-registered-objects-table'.
422         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
424 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
426         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
427         around keywords with extra `split-string' argument.
429 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
431         * windmove.el (windmove-other-window-loc): Handle navigation
432         between windows (excluding the minibuffer window - Bug#16017).
434 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
436         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
437         in D-Bus type syntax.
438         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
439         preserve unibyte strings.  (Bug#16048)
441 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
443         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
444         Call force-mode-line-update is the proper buffer (bug#16042).
446 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
448         * vc/log-edit.el (log-edit-add-new-comment): Rename to
449         `log-edit-remember-comment', make argument optional.  Adjust all
450         callers.
451         (log-edit-mode): Add `log-edit-remember-comment' to
452         `kill-buffer-hook' locally.
453         (log-edit-kill-buffer): Don't remember comment explicitly since
454         the buffer is killed anyway.
456 2013-12-04  Juri Linkov  <juri@jurta.org>
458         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
459         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
461 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
463         * notifications.el (notifications-close-notification): Call the
464         D-Bus method with ID being a `:uint32'.  (Bug#16030)
466 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
468         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
470 2013-12-03  Juri Linkov  <juri@jurta.org>
472         * progmodes/compile.el (compilation-start): Rename window alist
473         entry `no-display-ok' to `allow-no-window'.
475         * simple.el (shell-command): Add window alist entry
476         `allow-no-window' to `display-buffer'.
477         (async-shell-command): Doc fix.
479         * window.el (display-buffer-no-window): New action function.
480         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
482 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
484         * vc/log-edit.el (log-edit-set-header): Extract from
485         `log-edit-toggle-header'.
486         (log-edit-extract-headers): Separate the summary, when extracted
487         from header, from the rest of the message with an empty line.
489         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
490         line, if present, to the Summary header.
492 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
494         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
495         in current-buffer (bug#16029).
497 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
499         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
500         (debugger-mode-map): Bind it.
501         (debugger--backtrace-base): New function.
502         (debugger-eval-expression): Use it.
503         (debugger-frame-number): Skip local vars when present.
504         (debugger--locals-visible-p, debugger--insert-locals)
505         (debugger--show-locals, debugger--hide-locals): New functions.
507 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
509         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
510         "LC_ALL".
511         (tramp-get-remote-locale): New defun.
512         (tramp-open-connection-setup-interactive-shell): Use it.
514 2013-12-02  Leo Liu  <sdl.web@gmail.com>
516         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
518         * progmodes/sh-script.el (sh-shell-process):
519         * progmodes/octave.el (inferior-octave-process-live-p):
520         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
521         (gdb-inferior-io-sentinel):
522         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
524 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
526         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
527         `save-selected-window' to `log-edit-hide-buf'.  This makes
528         `log-edit-show-files' idempotent.
529         (log-edit-show-files): Mark the new window as dedicated.
531 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
533         * vc/log-edit.el (log-edit-mode-map): Add binding for
534         `log-edit-kill-biffer'.
535         (log-edit-hide-buf): Add a FIXME comment.
536         (log-edit-add-new-comment): New function, extracted from
537         `log-edit-done'.
538         (log-edit-done, log-edit-add-to-changelog): Use it.
539         (log-edit-kill-buffer): New command.
541 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
543         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
544         instead of killing the buffer.
546 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
548         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
550 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
552         * net/eww.el (eww-form-checkbox-selected-symbol)
553         (eww-form-checkbox-symbol): New customizable variable.
554         (eww-form-checkbox, eww-toggle-checkbox):
555         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
557         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
558         (shr--get-media-pref, shr--extract-best-source): New function.
559         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
560         no :src tag was specified.
562         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
563         (eww-render): Handle `eww-use-external-browser-for-content-type'.
564         Use \\` to match beginning of string instead of ^.
565         (eww-browse-with-external-browser): Provide optional URL parameter.
566         (eww-render): Set `eww-current-title' back to "".
568         * net/shr.el (shr-tag-video): Display content for video if no
569         poster is available.
570         (shr-tag-audio): Add support for <audio> tag.
572         * net/eww.el (eww-text-input-types): : New const.
573         (eww-process-text-input): Treat input types in
574         `eww-text-input-types' as text.
576         * net/shr.el (shr-tag-table): Fix comment typo.
578 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
580         * net/eww.el (eww-follow-link): New command to avoid reloading
581         pages when we follow #target links (bug#15243).
582         (eww-quit): Special mode buffers shouldn't query before exiting.
584 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
586         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
587         forms.
589 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
591         * net/eww.el (eww-restore-history): Update the window title after
592         moving in the history.
593         (eww-current-dom): New variable used to save the current DOM.
595 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
597         * vc/log-edit.el (log-edit-mode-map): Add binding for
598         `log-edit-beginning-of-line'.
599         (log-edit-setup-add-author): New user option.
600         (log-edit-beginning-of-line): New command.
601         (log-edit): Move major mode call above the contents setup so that
602         the local variable values are already applied.
603         (log-edit): Only insert "Author: " when
604         `log-edit-setup-add-author' is non-nil.
605         (log-edit): When SETUP is non-nil, position point after ": "
606         instead of point-min.
608 2013-12-01  Glenn Morris  <rgm@gnu.org>
610         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
612 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
614         * startup.el (fancy-splash-frame): On MS-Windows, trigger
615         redisplay to make sure the initial frame gets a chance to become
616         visible.  (Bug#16014)
618 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
620         Support resizing frames and windows pixelwise.
621         * cus-start.el (frame-resize-pixelwise)
622         (window-resize-pixelwise): New entries.
623         * emacs-lisp/debug.el (debug): Use window-total-height instead
624         of window-total-size.
625         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
626         * help.el (describe-bindings-internal): Call help-buffer
627         (temp-buffer-max-width): New option.
628         (resize-temp-buffer-window, help-window-setup)
629         (with-help-window): Rewrite.
630         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
631         dragging dividers.
632         * window.el (frame-char-size, window-min-pixel-height)
633         (window-safe-min-pixel-height, window-safe-min-pixel-width)
634         (window-min-pixel-width, window-safe-min-pixel-size)
635         (window-combination-p, window-safe-min-size)
636         (window-resizable-p, window--size-to-pixel)
637         (window--pixel-to-size, window--resize-apply-p): New functions.
638         (window-safe-min-height): Fix doc-string.
639         (window-size, window-min-size, window--min-size-1)
640         (window-sizable, window-sizable-p, window--min-delta-1)
641         (window-min-delta, window--max-delta-1, window-max-delta)
642         (window--resizable, window--resizable-p, window-resizable)
643         (window-full-height-p, window-full-width-p, window-at-side-p)
644         (window--in-direction-2, window-in-direction)
645         (window--resize-reset-1, window--resize-mini-window)
646         (window-resize, window-resize-no-error)
647         (window--resize-child-windows-normal)
648         (window--resize-child-windows, window--resize-siblings)
649         (window--resize-this-window, window--resize-root-window)
650         (window--resize-root-window-vertically)
651         (adjust-window-trailing-edge, enlarge-window, shrink-window)
652         (maximize-window, minimize-window, delete-window)
653         (quit-restore-window, window-split-min-size, split-window)
654         (balance-windows-2, balance-windows)
655         (balance-windows-area-adjust, balance-windows-area)
656         (window--state-get-1, window-state-get, window--state-put-1)
657         (window--state-put-2, window-state-put)
658         (display-buffer-record-window, window--display-buffer):
659         Make functions handle pixelwise sizing of windows.
660         (display-buffer--action-function-custom-type)
661         (display-buffer-fallback-action):
662         Add display-buffer-in-previous-window.
663         (display-buffer-use-some-window): Resize window to height it had
664         before.
665         (fit-window-to-buffer-horizontally): New option.
666         (fit-frame-to-buffer): Describe new values.
667         (fit-frame-to-buffer-bottom-margin): Replace with
668         fit-frame-to-buffer-margins.
669         (window--sanitize-margin): New function.
670         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
671         using window-text-pixel-size.
673 2013-11-30  Glenn Morris  <rgm@gnu.org>
675         * emacs-lisp/bytecomp.el (byte-compile-form):
676         Make the `interactive-only' warning like the `obsolete' one.
677         * comint.el (comint-run):
678         * files.el (insert-file-literally, insert-file):
679         * replace.el (replace-string, replace-regexp):
680         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
681         (goto-line, insert-buffer, next-line, previous-line):
682         Tweak `interactive-only' spec.
684         Stop keeping (most) generated cedet grammar files in the repository.
685         * Makefile.in (semantic): New.
686         (compile-main): Depend on semantic.
688 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
690         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
691         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
693         * uniquify.el (uniquify-buffer-name-style): Change default.
695         * loadup.el: Preload "uniquify".
697         * time.el (display-time-update): Update all mode lines (bug#15999).
699         * electric.el (electric-indent-mode): Enable by default.
700         * loadup.el: Preload "electric".
702 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
704         * emacs-lisp/helpers.el (string-empty-p): New function.
705         (string-blank-p): New function.
707 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
709         * imenu.el (imenu--index-alist): Add missing dot to the docstring
710         (Bug#14029).
712 2013-11-29  Andreas Politz  <politza@fh-trier.de>
713         * imenu.el (imenu--subalist-p): Don't error on non-conses and
714         allow non-lambda lists as functions.
715         (imenu--in-alist): Don't recurse into non-subalists.
716         (imenu): Don't pass function itself as an argument (Bug#14029).
718 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
720         * progmodes/python.el (python-mode-map): Remove binding for ":".
721         (python-indent-electric-colon): Remove command.
722         (python-indent-post-self-insert-function): Integrate the previous code
723         of python-indent-electric-colon.  Make it conditional on
724         electric-indent-mode.
725         (python-mode): Add ?: to electric-indent-chars.
726         Move python-indent-post-self-insert-function to the end of
727         post-self-insert-hook.
729 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
731         * doc-view.el (doc-view-goto-page): Update mode-line.
733         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
735 2013-11-27  Glenn Morris  <rgm@gnu.org>
737         * international/charprop.el, international/uni-bidi.el:
738         * international/uni-category.el, international/uni-combining.el:
739         * international/uni-comment.el, international/uni-decimal.el:
740         * international/uni-decomposition.el, international/uni-digit.el:
741         * international/uni-lowercase.el, international/uni-mirrored.el:
742         * international/uni-name.el, international/uni-numeric.el:
743         * international/uni-old-name.el, international/uni-titlecase.el:
744         * international/uni-uppercase.el:
745         Remove generated files from VCS repository.
747 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
749         * filenotify.el (file-notify-add-watch): Don't special-case
750         w32notify when computing the directory to watch.
752 2013-11-27  Glenn Morris  <rgm@gnu.org>
754         Make bootstrap without generated uni-*.el files possible again.
755         * loadup.el: Update command-line-args checking for unidata-gen.
756         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
757         * composite.el, international/characters.el:
758         Handle unicode tables being undefined.
760         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
761         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
762         (compile-main): Depend on leim rule.
763         (leim): New rule.
764         * loadup.el: Move leim-list.el to leim/ subdirectory.
765         * startup.el (normal-top-level): No more leim directory.
766         * international/ja-dic-cnv.el (skkdic-convert):
767         Disable version-control and autoloads in output files.
768         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
769         Disable version-control and autoloads in output files.
770         * leim/quail: Move here from ../leim.
771         * leim/quail/hangul.el (hangul-input-method-activate):
772         Add autoload cookie.
773         (generated-autoload-load-name): Set file-local value.
774         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
775         (generated-autoload-load-name): Set file-local value.
777 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
779         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
780         (eww-add-bookmark): ask confirmation when add to bookmarks
781         (eww-quit): ask confirmation before quitting eww
783 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
785         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
786         reading output from Diff on MS-Windows and MS-DOS.
788 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
790         * emacs-lisp/helpers.el (string-reverse): New function.
792 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
794         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
795         names on MS Windows, like "/[::1]:".
797         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
798         SWITCHES.
800 2013-11-26  Glenn Morris  <rgm@gnu.org>
802         * progmodes/python.el (python-indent-guess-indent-offset):
803         Avoid corner-case error.  (Bug#15975)
805         Preload leim-list.el.  (Bug#4789)
806         * loadup.el: Load leim-list.el when found.
807         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
809 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
811         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
813         * emacs-lisp/helpers.el (string-join): New function.
815 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
817         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
818         Mark as obsolete and replace it with a symbol property.
819         (byte-compile-form): Use new 'interactive-only property.
820         * comint.el, files.el, replace.el, simple.el:
821         Apply new 'interactive-only properly.
823 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
825         * window.el (display-buffer-at-bottom): Make sure that
826         split-window-sensibly creates the new window on bottom
827         (Bug#15961).
829 2013-11-23  David Kastrup  <dak@gnu.org>
831         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
832         on the conflict markers when available.
833         (smerge--get-marker): New function.
834         (smerge-end-re, smerge-base-re): Add subgroup.
836 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
838         * frame.el (handle-focus-in, handle-focus-out): Add missing
839         interactive spec.
841 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
843         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
844         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
846 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
848         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
849         (gomoku--last-pos): New var.
850         (gomoku--intangible-chars): New const.
851         (gomoku--intangible): New function.
852         (gomoku-mode): Use it.  Derive from special-mode.
853         (gomoku-move-up): Adjust line count.
854         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
855         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
856         Simplify accordingly.
858         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
859         Remove blink-cursor code.
860         (blink-cursor-timer-function, blink-cursor-suspend):
861         Don't special-case GUIs.
862         (blink-cursor-mode): Use focus-in/out-hook.
864 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
866         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
867         work when annotation is invisible (Bug#13886).
869 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
871         * json.el (json-alist-p): Only return non-nil if the alist has
872         simple keys (Bug#13518).
874 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
876         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
877         when control-statement is the first statement in a buffer (Bug#15956).
879 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
881         * imenu.el (imenu-generic-skip-comments-and-strings):
882         New option (Bug#15560).
883         (imenu--generic-function): Use it.
885 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
887         * minibuffer.el (completion--in-region-1): Scroll the correct
888         window. (Bug#13898)
890 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
892         * emacs-lisp/helpers.el: Add some string helpers.
893         (string-trim-left): Removes leading whitespace.
894         (string-trim-right): Removes trailing whitespace.
895         (string-trim): Removes leading and trailing whitespace.
897         * subr.el (string-suffix-p): New function.
899 2013-11-23  Glenn Morris  <rgm@gnu.org>
901         * progmodes/python.el (python-shell-send-file):
902         Add option to delete file when done.  (Bug#15647)
903         (python-shell-send-string, python-shell-send-region): Use it.
905 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
907         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
908         to set buffer-read-only to t, never to nil.  (Bug#15938)
910         * textmodes/tex-mode.el (latex-noindent-environments):
911         Add safe-local-variable property.  (Bug#15936)
913 2013-11-23  Glenn Morris  <rgm@gnu.org>
915         * textmodes/enriched.el (enriched-mode): Doc fix.
916         * emacs-lisp/authors.el (authors-renamed-files-alist):
917         Add enriched.doc -> enriched.txt.
919         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
921 2013-11-22  Leo Liu  <sdl.web@gmail.com>
923         * progmodes/octave.el (inferior-octave-startup): Spit out error
924         message.
926 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
928         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
929         Improve docstring.
930         Add :version.
931         (ruby-encoding-magic-comment-style): Add :version.
933 2013-11-22  Leo Liu  <sdl.web@gmail.com>
935         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
936         (Bug#15076)
937         (octave-help-mode): Adapt to change to help-mode-finish to use
938         derived-mode-p on 2013-09-17.
939         (inferior-octave-prompt): Also match octave-gui.
940         (octave-kill-process): Don't ask twice.  (Bug#10564)
942 2013-11-22  Leo Liu  <sdl.web@gmail.com>
944         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
945         (inferior-octave-startup, inferior-octave-check-process)
946         (inferior-octave-track-window-width-change)
947         (octave-completion-at-point, octave-eldoc-function): Use it.
948         (octave-kill-process): Provide confirmation.  (Bug#10564)
950 2013-11-21  Leo Liu  <sdl.web@gmail.com>
952         * progmodes/octave.el (octave-mode, inferior-octave-mode):
953         Fix obsolete variable comment-use-global-state.
955 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
957         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
958         Add `octave-source-file'.
959         (octave-source-file): New function.  (Bug#15935)
961 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
963         * net/eww.el (eww-local-regex): New variable.
964         (eww): Use it to detect localhost and similar.
966 2013-11-21  Leo Liu  <sdl.web@gmail.com>
968         Add completion for command `ag'.
969         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
970         (pcomplete/ag): New function.
971         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
973 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
975         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
976         (bug#14646).
977         (make-obsolete): Remove interactive spec.
979 2013-11-21  Glenn Morris  <rgm@gnu.org>
981         * startup.el (command-line-1): Use path-separator with -L.
983 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
985         * emacs-lisp/package.el (describe-package-1): Add package archive
986         to shown fields.
988 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
990         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
991         Change default to "# encoding: %s" to differentiate it from the
992         default Ruby encoding comment template.
994 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
996         * ses.el (ses-mode): Doc fix.  (Bug#14748)
998 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1000         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1002 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1004         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1005         when rebase or bisect are in progress.
1007 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1009         * filenotify.el (file-notify-add-watch): Doc fix.
1011 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1013         * obsolete/rcompile.el: Mark obsolete.
1015         * progmodes/compile.el (compilation-start)
1016         (compilation-goto-locus, compilation-find-file):
1017         Pass no-display-ok and handle nil value from display-buffer.
1018         (Bug#13594)
1020         * window.el (display-buffer-alist, display-buffer): Document the
1021         new parameter no-display-ok.  Return either a window or nil
1022         but never a non-window value.
1024 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1026         * electric.el (electric-indent-mode-map): Remove.
1027         (electric-indent-mode): Change the global-map instead (bug#15915).
1029         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1030         Use add-function.
1032 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1034         * emacs-lisp/nadvice.el (remove-function): Align with
1035         add-function's behavior.
1037         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1038         (gdb--string-regexp): New constant.
1039         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1040         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1041         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1042         submatch 1.
1043         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1044         Adjust use accordingly.
1045         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1047 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1049         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1050         interpolation curlies (Bug#15914).
1052 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1054         * calc/calc.el (calc-context-sensitive-enter): New variable.
1055         (calc-enter): Use `calc-context-sensitive-enter'.
1057 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1059         * progmodes/cfengine.el: Version bump.
1060         (cfengine-cf-promises): New defcustom to locate cf-promises.
1061         (cfengine3-vartypes): Add new "data" type.
1062         (cfengine3--current-word): New function to get current name-like
1063         word or its bounds.
1064         (cfengine3--current-function): New function to look up a CFEngine
1065         function's definition.
1066         (cfengine3-format-function-docstring): New function.
1067         (cfengine3-make-syntax-cache): New function.
1068         (cfengine3-documentation-function): New function: ElDoc glue.
1069         (cfengine3-completion-function): New function: completion glue.
1070         (cfengine3-mode): Set `compile-command',
1071         `eldoc-documentation-function', and add to
1072         `completion-at-point-functions'.
1074 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1076         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1077         `tramp-current-connection'.
1079 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1081         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1082         nil/self/true/false with "end of symbol".
1084 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1086         * subr.el (version-regexp-alist): Fix a typo.
1088 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1090         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1091         "en_US.utf8" and "LC_CTYPE" to "".
1092         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1093         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1095 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1097         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1099 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1101         * progmodes/gud.el (ctl-x-map):
1102         Remove C-x SPC binding.  (Bug#12342)
1103         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1105 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1107         * subr.el (version-regexp-alist):
1108         Recognize hg, svn and darcs versions as snapshot versions.
1110         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1111         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1112         (ruby--encoding-comment-required-p): Extract from
1113         `ruby-mode-set-encoding'.
1114         (ruby-mode-set-encoding): Add the ability to always insert an
1115         utf-8 encoding comment.  Fix and simplify coding comment update
1116         logic.
1118 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1120         * net/tramp-gvfs.el (top): Run init code only when
1121         `tramp-gvfs-enabled' is not nil.
1122         (tramp-gvfs-enabled): Check also :system bus.
1124 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1126         Sync with upstream verilog-mode revision 78e66ba.
1127         * progmodes/verilog-mode.el (verilog-end-of-defun)
1128         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1129         (verilog-get-end-of-defun): Remove unused argument.
1130         (verilog-comment-depth): Remove unused local `e'.
1131         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1132         Don't pass arg to verilog-get-end-of-defun.
1134 2013-11-14  Glenn Morris  <rgm@gnu.org>
1136         * obsolete/assoc.el (aget): Prefix dynamic variable.
1138         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1140 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1142         * widget.el, hfy-cmap.el: Remove bogus package version number.
1144 2013-11-13  Glenn Morris  <rgm@gnu.org>
1146         * replace.el (replace-eval-replacement):
1147         Try to give more helpful error message.  (Bug#15836)
1149         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1150         (archive-7z-update): Avoid custom type mismatches.
1152         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1154 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1156         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1157         address can be empty.
1159         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1160         Accept nil SWITCHES.
1161         (tramp-gvfs-handle-write-region): Implement APPEND.
1163 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1165         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1166         binary "|" operator and closing block args delimiter.
1167         Remove FIXME comment referring to Ruby 1.8-only syntax.
1168         (ruby-smie--implicit-semi-p): Not after "|" operator.
1169         (ruby-smie--closing-pipe-p): New function.
1170         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1171         (ruby-smie-rules): Indent after "|".
1173 2013-11-12  Glenn Morris  <rgm@gnu.org>
1175         * ps-print.el (ps-face-attribute-list):
1176         Handle anonymous faces.  (Bug#15827)
1178 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1180         * window.el (display-buffer-other-frame): Fix doc-string.
1181         (Bug#15868)
1183 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1185         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1187 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1189         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1190         (tramp-sh-handle-file-local-copy): Don't write a message when
1191         saving temporary files.
1193         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1194         both directories are remote.
1195         (tramp-smb-handle-directory-files): Do not return double entries.
1196         Do not expand full file names.
1197         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1198         (tramp-smb-handle-write-region): Implement APPEND.
1199         (tramp-smb-get-stat-capability): Fix a stupid bug.
1201 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1205 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1207         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1208         throwing error over malformed let/let* (bug#15814).
1210 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * iswitchb.el (iswitchb-mode): Mark obsolete.
1214 2013-11-11  Glenn Morris  <rgm@gnu.org>
1216         * international/uni-bidi.el, international/uni-category.el:
1217         * international/uni-name.el, international/uni-numeric.el:
1218         Regenerate for Unicode 6.3.0.
1220 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1222         * net/tramp.el (tramp-methods):
1223         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1224         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1226 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1228         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1229         Force highlighting text after Summary keyword in doc face for rpm.
1231 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1233         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1234         available and the word has no wildcards, append one to the grep pattern.
1235         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1236         (ispell-complete-word): Call `ispell-lookup-words' with the value
1237         independent of `ispell-look-p'.
1239 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1241         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1242         Not after "||".
1243         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1244         their parent.
1246 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1248         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1249         (ruby-font-lock-keywords): Use backquote.
1251 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1253         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1254         (ruby-smie--backward-token): Only consider full-string matches.
1256 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1258         * faces.el (describe-face): Add distant-foreground.
1260 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1262         * progmodes/ruby-mode.el: Improve encoding comment handling.
1263         (ruby-encoding-magic-comment-style): New option.
1264         (ruby-custom-encoding-magic-comment-template): New option.
1265         (ruby--insert-coding-comment, ruby--detect-encoding):
1266         New functions extracted from `ruby-mode-set-encoding'.
1267         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1268         to control the style of the auto-inserted encoding comment.
1270 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1272         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1273         Use `smie-backward-sexp' with token argument.
1275 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1277         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1278         Remove instrumentation code.
1280 2013-11-08  Glenn Morris  <rgm@gnu.org>
1282         * progmodes/autoconf.el (autoconf-mode):
1283         Tweak comment-start-skip.  (Bug#15822)
1285 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1287         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1288         at bobp (bug#15826).
1289         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1291 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1293         * man.el (Man-start-calling): New macro, extracted from
1294         Man-getpage-in-background.
1295         (Man-getpage-in-background): Use it.
1296         (Man-update-manpage): New command.
1297         (Man-mode-map): Bind it.
1299 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1301         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1302         of "and", "or", "&&" and "||".
1303         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1304         argument.  Prohibit opening curly brace because it could only be a
1305         block opener in that position.
1306         (ruby-smie--forward-token, ruby-smie--backward-token):
1307         Separate "|" from "&" or "*" going after it.  That can happen in block
1308         arguments.
1309         (ruby-smie--indent-to-stmt): New function, seeks the end of
1310         previous statement or beginning of buffer.
1311         (ruby-smie-rules): Use it.
1312         (ruby-smie-rules): Check if there's a ":" before a curly block
1313         opener candidate; if there is, it's a hash.
1315 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1317         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1318         (cl--block-wrapper): Fix last accidental change.
1320 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1322         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1323         Instrument, in order to hunt failure on hydra.
1325 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1327         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1328         malformed bindings form (bug#15814).
1330 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1332         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1333         "." compared to " @ ".  This incidentally fixes some indentation
1334         examples with "do".
1335         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1336         (ruby-smie-grammar): New tokens: "and" and "or".
1337         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1338         Exclude "and" and "or".  Remove "do" in order to work around token
1339         priorities.
1340         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1341         beginning-of-buffer.
1343 2013-11-06  Glenn Morris  <rgm@gnu.org>
1345         * Makefile.in (setwins_almost, setwins_for_subdirs):
1346         Avoid accidental matches.
1348 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1350         * menu-bar.el (popup-menu): Use key-binding.
1352 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1354         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1355         menus, support also the menus produced by minor modes.
1356         (Bug#15817)
1358 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1360         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1361         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1363 2013-11-06  Glenn Morris  <rgm@gnu.org>
1365         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1366         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1367         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1369 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1371         * electric.el (electric-indent-just-newline): New command.
1372         (electric-indent-mode-map): New keymap.
1373         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1374         Re-add :group which weren't redundant.
1376         * electric.el (electric-indent-local-mode): New minor mode.
1377         (electric-indent-functions-without-reindent): New var.
1378         (electric-indent-post-self-insert-function): Use it.
1379         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1381 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1383         * international/quail.el (quail-help): Be more explicit about the
1384         meaning of the labels shown on the keys.  (Bug#15800)
1386         * startup.el (normal-top-level): Load the subdirs.el files before
1387         setting the locale environment.  (Bug#15805)
1389 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1391         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1392         via arguments so as to get the right ones (bug#15418).
1394         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1396 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1398         Fix problems found while writing a test suite.
1400         * net/tramp-compat.el (tramp-compat-load): New defun.
1401         * net/tramp.el (tramp-handle-load): Use it.
1403         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1404         "(numberp ok-if-already-exists)" correctly.
1406 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1408         * international/characters.el (glyphless-char-display-control):
1409         Add usage note.
1411 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1413         * progmodes/python.el (python-mode):
1414         * progmodes/scheme.el (scheme-mode):
1415         * progmodes/prolog.el (prolog-mode):
1416         * progmodes/ruby-mode.el (ruby-mode):
1417         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1418         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1420 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1422         * rect.el (rectangle--highlight-for-redisplay):
1423         * emacs-lisp/smie.el (smie--next-indent-change):
1424         Use buffer-chars-modified-tick.
1426         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1428         * electric.el (electric-indent-post-self-insert-function):
1429         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1431 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1433         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1435 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1437         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1438         (bug#15786).
1440 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1442         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1444         * progmodes/python.el: Fix up last change.
1445         (python-shell--save-temp-file): New function.
1446         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1447         `string' comes from the current buffer.
1448         (python-shell-send-string-no-output): Remove `msg' arg.
1449         (python--use-fake-loc): New var.
1450         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1451         extra coding line added by python-shell--save-temp-file.
1452         (python-shell-send-region): Use python-shell--save-temp-file and
1453         python-shell-send-file directly.  Add `nomain' argument.
1454         (python-shell-send-buffer): Use python-shell-send-region.
1455         (python-electric-pair-string-delimiter): New function.
1456         (python-mode): Use it.
1458 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1460         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1461         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1462         environment and decoding all of the default-directory's to here
1463         from command-line.
1464         (command-line): Decode also argv[0].
1466         * loadup.el: Error out if default-directory is a multibyte string
1467         when we are dumping.
1469         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1471 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1473         * emacs-lisp/package.el (package-menu-mode)
1474         (package-menu--print-info, package-menu--archive-predicate):
1475         Add Archive column to package list.
1477 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1479         Fix problems found while writing a test suite.
1481         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1482         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1483         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1484         to nil when running original file name handler.  Otherwise,
1485         there are problems with constructs like "$$FOO".
1487         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1488         for `localname'.
1490 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1492         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1494         * subr.el (version<, version<=, version=):
1495         Update docstrings with information for snapshot versions.
1497         * helpers.el: New library for misc helper functions.
1498         (hash-table-keys): New function returning a list of hash keys.
1499         (hash-table-values): New function returning a list of hash values.
1501 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1503         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1504         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1506 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1508         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1509         checking whether point is after a 1-letter word.
1511 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1513         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1514         Don't infloop when expanding region over `multiline' syntax-type that
1515         begins a line (bug#15778).
1517 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1519         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1520         Make it into a proper minor mode.
1521         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1522         (rectangle-mark-mode-map): New keymap.
1523         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1525 2013-11-04  Glenn Morris  <rgm@gnu.org>
1527         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1529 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1531         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1532         (ruby-smie-rules): Use smie-rule-parent instead.
1534         * emacs-lisp/smie.el (smie-rule-parent): Always call
1535         smie-indent-virtual rather than only for hanging tokens.
1536         (smie--next-indent-change): New helper command.
1538 2013-11-03  Glenn Morris  <rgm@gnu.org>
1540         * Makefile.in (abs_srcdir): Remove.
1541         (emacs): Unset EMACSLOADPATH.
1543 2013-11-02  Glenn Morris  <rgm@gnu.org>
1545         * Makefile.in (EMACS): Use a relative filename.
1546         (abs_top_builddir): Remove.
1547         (custom-deps, finder-data, autoloads): Use --chdir.
1549         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1551         Use relative filenames in TAGS files.
1552         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1553         (lisptagsfiles4, TAGS): Use relative file names.
1554         (TAGS-LISP): Remove.
1555         (maintainer-clean): No more TAGS-LISP file.
1557         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1558         (lisptagsfiles4): Use absolute filenames again.
1559         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1560         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1561         (maintainer-clean): Delete TAGS, TAGS-LISP.
1563 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1565         * emacs-lisp/package.el (package-version-join):
1566         Recognize snapshot versions.
1568 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1570         * subr.el (version-regexp-alist): Add support for snapshot versions.
1572 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1574         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1575         New function, replacement for `smie-rule-parent' for when we want to
1576         skip over our direct parent if it's an assignment token..
1577         (ruby-smie-rules): Use it.
1579 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1581         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1582         unconditionally.  Remove now unnecessary forward declarations.
1583         Remove XEmacs-specific setup.
1584         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1585         (ruby-font-lock-syntactic-keywords)
1586         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1587         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1588         (ruby-here-doc-end-syntax): Remove.
1589         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1590         defined as function.
1592 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1594         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1596 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1598         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1599         table and abbrev table, `define-derived-mode' does that for us
1600         anyway.
1602 2013-11-01  Glenn Morris  <rgm@gnu.org>
1604         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1605         files is atomic for some time, so no parallel compilation issues).
1607 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1609         * faces.el (face-x-resources): Add :distant-foreground.
1610         (region): Use :distant-foreground for gtk and ns.
1612 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1614         Allow multiple bibliographies when BibLaTeX is used rather than
1615         BibTeX.
1616         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1617         (reftex-locate-bibliography-files): Us it.
1619 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1621         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1622         allow comments in pbm files.
1624         * term/w32-win.el (dynamic-library-alist): Support newer versions
1625         of libjpeg starting with v7: look only for the DLL from the
1626         version against which Emacs was built.
1627         Support versions of libpng beyond 1.4.x.
1628         Support libtiff v4.x.
1630 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1632         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1633         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1634         Add property :safe.
1635         (ruby-deep-arglist): Add property :type.
1637 2013-10-31  Glenn Morris  <rgm@gnu.org>
1639         * Makefile.in (custom-deps, finder-data): No need to setq the target
1640         variables, we are in the right directory and the defaults work fine.
1642 2013-10-30  Glenn Morris  <rgm@gnu.org>
1644         * Makefile.in (autoloads): Do not use abs_lisp.
1646         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1647         `newline' does not respect `standard-output', so use `princ'.
1649 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1651         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1652         * buff-menu.el (Buffer-menu--unmark): New function.
1653         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1655 2013-10-30  Glenn Morris  <rgm@gnu.org>
1657         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1659         * emacs-lisp/package.el (lm-homepage): Declare.
1661         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1662         Fix doc typos.
1664         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1666         * Makefile.in (finder-data, autoloads, update-subdirs)
1667         (compile-main, compile-clean, compile-always, bootstrap-clean):
1668         Check return value of cd.
1669         (compile-calc): Remove.
1671 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1673         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1675         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1676         (byte-compile-and-folded): New function.
1677         (=, <, >, <=, >=): Use it.
1679         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1680         (path-separator, null-device, buffer-file-coding-system)
1681         (lpr-headers-switches): Check system-type before modifying them.
1682         (find-buffer-file-type-coding-system): Mark obsolete.
1683         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1684         find-file-not-found-set-buffer-file-coding-system.
1685         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1686         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1687         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1688         (w32-direct-print-region-helper, w32-direct-print-region-function)
1689         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1690         * startup.el (normal-top-level-add-subdirs-to-load-path):
1691         * ps-print.el (ps-print-region-function):
1692         * lpr.el (print-region-function): Use new name.
1694         * subr.el (custom-declare-variable-early): Remove function.
1695         (custom-declare-variable-list): Remove var.
1696         (error, user-error): Remove `while' loop.
1697         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1698         (user-emacs-directory-warning, locate-user-emacs-file):
1699         Move to files.el.
1700         * simple.el (read-quoted-char-radix, read-quoted-char):
1701         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1702         Move from subr.el.
1703         * custom.el (custom-declare-variable-list): Don't process
1704         custom-declare-variable-list.
1706         * progmodes/python.el (python-shell-get-buffer): New function.
1707         (python-shell-get-process): Use it.
1708         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1709         Python which encoding was used.  Don't split-string since we only care
1710         about the first line.  Return the temp-file, if applicable.
1711         (python-shell-send-region): Tell compile.el how to turn locations in
1712         the temp-file into locations in the source buffer.
1714 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1716         * subr.el (undefined): Add missing behavior from the C code for
1717         unbound keys.
1719         * rect.el: Use lexical-binding.  Add new rectangular region support.
1720         (rectangle-mark): New command.
1721         (rectangle--region): New var.
1722         (deactivate-mark-hook): Reset rectangle--region.
1723         (rectangle--extract-region, rectangle--insert-for-yank)
1724         (rectangle--highlight-for-redisplay)
1725         (rectangle--unhighlight-for-redisplay): New functions.
1726         (region-extract-function, redisplay-unhighlight-region-function)
1727         (redisplay-highlight-region-function): Use them to handle
1728         rectangular region.
1729         * simple.el (region-extract-function): New var.
1730         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1731         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1732         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1733         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1734         (redisplay-unhighlight-region-function)
1735         (redisplay-highlight-region-function): New vars.
1736         (redisplay--update-region-highlight): New function.
1737         (pre-redisplay-function): Use it.
1738         (exchange-point-and-mark): Don't deactivate the mark before
1739         reactivate-it anyway.
1740         * comint.el (comint-kill-region): Remove yank-handler argument.
1741         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1742         (delete-char): Remove property, since it's now part of their
1743         default behavior.
1744         (self-insert-iso): Remove property since this command doesn't exist.
1746         * emacs-lisp/package.el (package--download-one-archive)
1747         (describe-package-1): Don't query the user about final newline.
1749 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1751         * net/tramp.el (tramp-methods): Document new functionality.
1752         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1753         tramp-hostname-checker if method provides one instead of scanning
1754         argument list for "%h" to decide hostname acceptability.
1756 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1758         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1759         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1760         Handle COPY-CONTENTS.  (Bug#15737)
1762 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1764         * epa-file.el
1765         (epa-file-cache-passphrase-for-symmetric-encryption):
1766         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1768 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1770         * image.el (defimage):
1771         (image-load-path): Doc fixes.
1773 2013-10-27  Alan Mackenzie  <acm@muc.de>
1775         Indent statements in macros following "##" correctly.
1776         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1777         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1779 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1781         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1783 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1785         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1786         after `=' is probably a new expression.
1788 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1790         * man.el (man-imenu-title): New option.
1791         (Man-mode-map): Add menu.  (Bug#15722)
1792         (Man-mode): Add imenu to menu.
1794 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1796         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1797         specific in what the first arg can be: a non-keyword word,
1798         string/regexp/percent literal opener, opening paren, or unary
1799         operator followed directly by word.
1801 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1803         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1804         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1805         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1806         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1807         Remove vars, they do not apply any more.
1808         (prolog-mode-abbrev-table): Remove redundant declaration.
1809         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1810         (prolog-use-smie): Remove.
1811         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1812         supported by prolog-electric-if-then-else-flag.
1813         (prolog-mode-variables, prolog-menu): Use setq-local.
1814         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1815         Remove binding to `Backspace' since this key doesn't exist anyway.
1816         Remove bindings for electric self-inserting keys.
1817         (prog-mode): Assume it's defined.
1818         (prolog-post-self-insert): New function.
1819         (prolog-mode): Use it.
1820         (prolog-indent-line, prolog-indent-level)
1821         (prolog-find-indent-of-matching-paren)
1822         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1823         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1824         (prolog-goto-next-paren, prolog-in-string-or-comment)
1825         (prolog-tokenize, prolog-inside-mline-comment)
1826         (prolog-find-start-of-mline-comment): Remove functions.
1827         (prolog-find-unmatched-paren, prolog-clause-end)
1828         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1829         (prolog-electric--if-then-else): Rename from
1830         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1831         (prolog-tokenize-searchkey): Remove const.
1832         (prolog-clause-info): Use forward-sexp.
1833         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1834         (prolog-electric-if-then-else): Remove commands.
1835         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1836         for use in post-self-insert-hook.
1837         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1838         for use in post-self-insert-hook.
1839         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1840         for use in post-self-insert-hook.
1841         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1842         adapt it for use in post-self-insert-hook.
1844 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1846         * emacs-lisp/ert.el (ert-run-tests-interactively):
1847         Use `completing-read'.  (Bug#9756)
1849 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1851         * simple.el (line-move): Call line-move-1 instead of
1852         line-move-visual when the current window hscroll is zero, but
1853         temporary-goal-column indicates we will need to hscroll as result
1854         of the movement.  (Bug#15712)
1856 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1858         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1859         capitalization.  Use :visible instead of :active.
1860         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1861         commands that are used with SMIE.
1862         (ruby-do-end-to-brace): Insert space after `{'.
1864 2013-10-25  John Anthony  <john@jo.hnanthony.com>
1866         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
1868         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1870 2013-10-25  Glenn Morris  <rgm@gnu.org>
1872         * vc/vc.el (vc-print-log): Don't use a working revision unless
1873         one was explicitly specified.  (Bug#15322)
1875 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1877         * subr.el (add-to-list): Preserve return value in compiler-macro
1878         (bug#15692).
1880 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1882         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1883         result.  Ask user to retry using '-all' flag.  (Bug#15701)
1885 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1887         * emacs-lisp/smie.el: New smie-config system.
1888         (smie-config): New defcustom.
1889         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1890         (smie-config-guess, smie-config-save): New commands.
1891         (smie-config--mode-local, smie-config--buffer-local)
1892         (smie-config--trace, smie-config--modefuns): New vars.
1893         (smie-config--advice, smie-config--mode-hook)
1894         (smie-config--setter, smie-config-local, smie-config--get-trace)
1895         (smie-config--guess-value, smie-config--guess): New functions.
1896         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1897         text properties.  Treat "string fence" syntax like string syntax.
1899         * progmodes/sh-script.el (sh-use-smie): Change default.
1900         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1901         (sh-var-value): Simplify by CSE.
1902         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1903         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1904         is used.
1905         (sh-guess-basic-offset): Use cl-incf.
1906         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1908 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
1910         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1911         (bug#15699).
1913 2013-10-24  Glenn Morris  <rgm@gnu.org>
1915         * Makefile.in (abs_top_srcdir): Remove.
1916         (update-subdirs): Use relative path to update-subdirs.
1918 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
1920         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1921         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1922         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1923         Call unmsys--file-name before expand-file-name, not after it.
1925 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
1927         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1928         (ert-test-skipped): New error.
1929         (ert-skip, ert-stats-skipped): New defuns.
1930         (ert--skip-unless): New macro.
1931         (ert-test-skipped): New struct.
1932         (ert--run-test-debugger, ert-test-result-type-p)
1933         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1934         (ert--stats-set-test-and-result, ert-char-for-test-result)
1935         (ert-string-for-test-result, ert-run-tests-batch)
1936         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1937         Handle skipped tests.  (Bug#9803)
1939 2013-10-24  Glenn Morris  <rgm@gnu.org>
1941         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1943         * Makefile.in (abs_top_srcdir): New, set by configure.
1944         (update-subdirs): Correct build-aux location.
1946 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
1948         * vc/vc.el (vc-print-root-log): Always set `default-directory'
1949         value, whether we could auto-deduce `backend', or not.
1951         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1952         with parameters" example.  Simplify the "is it block or is it
1953         hash" check, but also make it more thorough.
1955 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
1957         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
1959 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1961         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1962         { if it is hanging.
1964         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1965         :before ";".
1967 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
1969         * progmodes/compile.el (compilation-directory-matcher)
1970         (compilation-page-delimiter):
1971         Support GNU Make-4.0 directory quoting.  (Bug#15678)
1973 2013-10-23  Leo Liu  <sdl.web@gmail.com>
1975         * ido.el (ido-tidy): Handle read-only text.
1977 2013-10-23  Glenn Morris  <rgm@gnu.org>
1979         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1980         (emacs, compile, compile-always):
1981         Quote entities that might contain whitespace.
1982         (custom-deps, finder-data, autoloads): Use abs_lisp.
1983         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1984         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1985         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1987 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
1989         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1990         Use `following-char'.
1992 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1994         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1995         * progmodes/ruby-mode.el (ruby-smie-rules):
1996         Remove corresponding workaround.  Fix indentation rule of ";" so it
1997         also applies when ";" is the parent.
1999 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2001         * frame.el (display-screens, display-pixel-height)
2002         (display-pixel-width, display-mm-width, display-backing-store)
2003         (display-save-under, display-planes, display-color-cells)
2004         (display-visual-class, display-monitor-attributes-list):
2005         Mention the optional ‘display’ argument in doc strings.
2007 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2009         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2010         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2012 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2014         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2015         TODO.  Add "." after " @ ".
2016         (ruby-smie--at-dot-call): New function.  Checks if point at method
2017         call with explicit target.
2018         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2019         to the method name tokens when it precedes them.
2020         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2021         (ruby-smie-rules): Add rule for indentation before and after "."
2022         token.
2024 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2026         * textmodes/remember.el (remember-diary-extract-entries):
2027         Avoid add-to-list.
2029         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2030         an instruction.
2032 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2034         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2035         (ruby-smie--implicit-semi-p): Add new operator chars.
2037         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2038         `smie-down-list'.
2039         (ruby-smie--args-separator-p): Check that there's no newline
2040         between method call and its arguments.
2042 2013-10-20  Alan Mackenzie  <acm@muc.de>
2044         Allow comma separated lists after Java "implements".
2046         * progmodes/cc-engine.el (c-backward-over-enum-header):
2047         Parse commas.
2048         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2049         from a "disallowed" list in enum fontification.
2051 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2053         * startup.el (default-frame-background-mode): Remove unused defvar.
2055         * progmodes/verilog-mode.el (verilog-mode): Don't set
2056         comment-indent-function globally.
2058 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2060         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2061         Move Info menu item creation to ns-win.el.
2063         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2064         in menu bar.
2066         * menu-bar.el: Move GNUStep specific menus...
2068         * term/ns-win.el (ns-initialize-window-system): ... to here.
2070 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2072         * simple.el (newline): Only run post-self-insert-hook when
2073         called interactively.
2075 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2077         * icomplete.el (icomplete-with-completion-tables): Add :version.
2079 2013-10-19  Alan Mackenzie  <acm@muc.de>
2081         Fix fontification bugs with constructors and const.
2083         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2084         CASE 2) Remove the check for the absence of a suffix construct
2085         after a function declaration with only types (no identifiers) in
2086         the parentheses.  Also, accept a function declaration with just a
2087         type inside the parentheses, if this type can be positively
2088         recognised as such, or if a prefix keyword like "explicit" nails
2089         down the construct as a declaration.
2091 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2093         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2094         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2095         the problem whereby selecting a menu item that leads to a
2096         minibuffer prompt moves the cursor out of the minibuffer window,
2097         making it hard to type at the prompt.  Suggested by Stefan Monnier
2098         <monnier@iro.umontreal.ca>.
2100 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2102         * menu-bar.el: Don't make Services menu.
2104 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2106         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2107         (ffap-alist): Use ffap-c++-mode for c++-mode.
2108         (ffap-c++-path): New variable.
2109         (ffap-c++-mode): New function.
2111 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2113         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2115 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2117         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2118         introduced on 2013-09-08, which results in an infinite loop
2119         requesting a password.
2121 2013-10-18  Glenn Morris  <rgm@gnu.org>
2123         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2125 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2127         Sync with upstream verilog-mode revision 1a6ecec7.
2128         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2129         (verilog-mode-release-date): Remove.
2130         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2131         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2132         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2133         (verilog-auto-tieoff-ignore-regexp)
2134         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2135         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2136         (verilog-signals-with, verilog-dir-cache-preserving)
2137         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2138         Doc fixes.
2139         (verilog-case-fold): New option, to control case folding in
2140         regexp searches, bug597.
2141         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2142         (verilog-string-match-fold, verilog-in-paren-count)
2143         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2144         (verilog-at-close-struct-p): New functions.
2145         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2146         (verilog-forward-sexp, verilog-set-auto-endcomments):
2147         (verilog-leap-to-case-head): Handle "unique0" case.
2148         (verilog-in-constraint-re): New constant.
2149         (verilog-keywords, verilog-type-font-keywords):
2150         Add some SystemVerilog 1800-2012 keywords.
2151         (verilog-label-be): Remove unimplemented argument, bug669.
2152         (verilog-batch-execute-func): When batch expanding clear
2153         create-lockfiles to prevent spurious user locks when a file ends
2154         up not changing.
2155         (verilog-calculate-indent, verilog-calc-1)
2156         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2157         (verilog-do-indent): Fix indentation of nested constraints
2158         and structures.
2159         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2160         (verilog-auto-inst-param): Use verilog-string-match-fold.
2161         (verilog-read-inst-module-matcher):
2162         Fix AUTOINST on gate primitives with #1.
2163         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2164         Reads all user-defined typed variables.
2165         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2166         (verilog-signals-matching-regexp)
2167         (verilog-signals-not-matching-regexp, verilog-auto):
2168         Respect verilog-case-fold.
2169         (verilog-diff-report): Fix line count.
2170         (verilog-auto-assign-modport): Remove unused local `modi'.
2171         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2172         better handle multidimensional arrays.
2173         Fix packed array ports misadding bit index in AUTOINST, bug637.
2174         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2175         to not double-declare existing outputs and inputs, respectively.
2176         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2177         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2178         (verilog-sk-uvm-component): New skeleton.
2179         (verilog-submit-bug-report): Add verilog-case-fold,
2180         remove verilog-mode-release-date.
2182 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2184         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2185         as before.
2187 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2189         * textmodes/remember.el (remember): set buffer-offer-save in
2190         remember buffers (bug#13566).
2192 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2194         When evaluating forms in ielm, direct standard output to ielm
2195         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2196         whitespace throughout.
2198         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2199         (ielm-return-for-effect): New command.
2200         (ielm-send-input): Accept optional `for-effect' parameter.
2201         (ielm-eval-input): Accept optional `for-effect' parameter.
2202         Bind `standard-output' to stream we create using
2203         `ielm-standard-output-impl'.  Suppress printing result when
2204         `for-effect'.
2205         (ielm-standard-output-impl): New function.
2206         (inferior-emacs-lisp-mode): Explain new features in documentation.
2208 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2210         Code cleanup.
2212         * net/tramp.el (tramp-debug-message): Do not check for connection
2213         buffer.
2214         (tramp-message): Use "vector" connection property.
2216         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2217         (tramp-equal-remote, tramp-eshell-directory-change)
2218         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2219         (tramp-adb-handle-rename-file)
2220         * net/tramp-cmds.el (tramp-list-remote-buffers)
2221         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2222         * net/tramp-compat.el (tramp-compat-process-running-p)
2223         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2224         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2225         (tramp-gvfs-handle-rename-file)
2226         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2227         (tramp-set-file-uid-gid)
2228         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2229         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2230         of `file-remote-p'.
2232         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2233         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2234         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2235         (tramp-gw-open-network-stream): Suppress unrelated traces.
2237         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2238         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2239         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2240         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2241         connection property.
2243         * net/tramp-cache.el (top): Suppress traces when reading
2244         persistency file.
2246         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2247         Refactor common code.  Improve debug message.
2248         (tramp-maybe-open-connection)
2249         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2250         connection buffer too early.
2252         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2253         from `tramp-smb-actions-with-acl'.
2254         (tramp-smb-actions-set-acl): New defconst.
2255         (tramp-smb-handle-copy-directory)
2256         (tramp-smb-action-get-acl): New defun, renamed from
2257         `tramp-smb-action-with-acl'.
2258         (tramp-smb-action-set-acl): New defun.
2259         (tramp-smb-handle-set-file-acl): Rewrite.
2261 2013-10-17  Glenn Morris  <rgm@gnu.org>
2263         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2265 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2267         * skeleton.el (skeleton-newline): Remove.
2268         (skeleton-internal-1): Use (insert "\n") instead.
2270         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2271         let-bindings.
2273         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2274         forward-sexp-function while we redo its job (bug#15613).
2276 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2278         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2279         represented by lists.
2281 2013-10-16  Glenn Morris  <rgm@gnu.org>
2283         * tmm.el (tmm--history): New dynamic variable.
2284         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2286 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2288         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2289         (tramp-smb-errors): Add error messages.
2290         (tramp-smb-actions-with-acl): New defconst.
2291         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2292         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2293         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2294         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2295         (tramp-smb-get-stat-capability): Fix tests.
2297 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2299         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2300         (bug#15580).
2302 2013-10-16  Glenn Morris  <rgm@gnu.org>
2304         * ansi-color.el (ansi-color-drop-regexp):
2305         Add 1J, 1K, 2K.  (Bug#15617)
2307         * files.el (hack-local-variables--warned-lexical): New.
2308         (hack-local-variables):
2309         Warn about misplaced lexical-binding.  (Bug#15616)
2311         * net/eww.el (eww-render): Always set eww-current-url,
2312         and update header line.  (Bug#15622)
2313         (eww-display-html): ... Rather than just doing it here.
2315 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2317         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2318         menu navigations commands.
2320 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2322         * progmodes/subword.el (subword-capitalize): Be careful when
2323         the search for [[:alpha:]] fails (bug#15580).
2325 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2327         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2328         to commands that scroll the menu.
2330 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2332         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2333         Handle methods ending with `?' and `!'.
2335 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2337         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2338         `japanese-cp932' to `cp932' to fix the problem where saving a
2339         source file written in Shift_JIS twice would end up having
2340         `coding: japanese-cp932' which Ruby could not recognize.
2341         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2342         in `ruby-encoding-map'.
2343         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2344         doesn't need to be explicitly declared in magic comment.
2345         (ruby-encoding-map): Add type declaration for better customize UI.
2347 2013-10-13  Glenn Morris  <rgm@gnu.org>
2349         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2350         Occur buffers are read-only.  http://bugs.debian.org/720775
2352         * emacs-lisp/authors.el (authors-fixed-entries):
2353         Comment out old alpha stuff.
2355 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2357         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2358         to `after-save-hook' instead of `before-save-hook'.
2359         (ruby-mode-set-encoding): Use the value of coding system used to
2360         write the file.  Call `basic-save-buffer-1' after modifying the
2361         buffer.
2363 2013-10-13  Alan Mackenzie  <acm@muc.de>
2365         Fix indentation/fontification of Java enum with
2366         "implements"/generic.
2368         * progmodes/cc-engine.el (c-backward-over-enum-header):
2369         Extracted from the three other places and enhanced to handle generics.
2370         (c-inside-bracelist-p): Uses new function above.
2371         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2372         function above.
2373         (c-font-lock-enum-tail): Uses new function above.
2375 2013-10-13  Kenichi Handa  <handa@gnu.org>
2377         * international/mule-cmds.el (select-safe-coding-system): Remove a
2378         superfluous condition in chekcing whether a coding system is safe
2379         or not.
2381 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2383         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2385 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2387         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2389 2013-10-13  Glenn Morris  <rgm@gnu.org>
2391         * menu-bar.el (menu-bar-update-buffers):
2392         Unify Buffers menu prompt string.  (Bug#15576)
2394         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2396         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2397         Add some entries.
2398         (authors-fixed-entries): Use accented form of name.
2400 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2402         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2403         method calls (bug#15594).
2404         (ruby-smie--args-separator-p): New function.
2405         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2406         recognize paren-free method calls.
2408         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2409         internals of universal-argument.
2411 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2413         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2414         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2415         dropped menu on second mouse click on the menu bar.
2417 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2419         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2420         (explicit-shell-file-name): Declare.
2421         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2422         (sh-completion-at-point-function): New function.
2423         (sh-mode): Use it.
2424         (sh-smie--keyword-p): Remove unused argument.
2425         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2426         vars.
2427         (sh-set-shell): Always setup SMIE, even if we use the
2428         old indentation code.
2430 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2432         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2433         cases of ? and =.
2434         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2435         predicate would return nil are almost non-existent.
2436         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2438         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2439         cache also after commands that modify the buffer but don't move
2440         point.
2442 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2444         * env.el (substitute-env-in-file-name): New function.
2445         (substitute-env-vars): Extend the meaning of the optional arg.
2447 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2449         * term/w32-win.el (dynamic-library-alist): Define separate lists
2450         of GIF DLLs for versions before and after 5.0.0 of giflib.
2451         (Bug#15531)
2453 2013-10-10  João Távora  <joaotavora@gmail.com>
2455         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2456         not locked, use last revision and current source as
2457         defaults.  (Bug#15569)
2459 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2461         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2462         menu-bar is hidden.
2464 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2466         * window.el (pop-to-buffer-same-window): Fix doc-string.
2467         (Bug#15492)
2469 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2471         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2473 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2475         * calendar/icalendar.el (icalendar-import-file):
2476         Fix interactive spec.  (Bug#15482)
2478 2013-10-10  Glenn Morris  <rgm@gnu.org>
2480         * desktop.el (desktop-save): Default to saving in .emacs.d,
2481         since PWD is no longer in desktop-path by default.  (Bug#15319)
2483         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2484         now that text mode has a menu with the same entry.
2485         (menu-bar-text-mode-auto-fill): Remove now unused func.
2486         * textmodes/text-mode.el (text-mode-map):
2487         Use auto-fill help text from menu-bar.el.
2489 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2491         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2493 2013-10-09  Juri Linkov  <juri@jurta.org>
2495         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2496         instead of this-command-keys.  Add universal-argument-more and
2497         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2499 2013-10-09  Glenn Morris  <rgm@gnu.org>
2501         * vc/vc-svn.el (vc-svn-create-repo):
2502         Expand paths in file://... url.  (Bug#15446)
2504         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2505         Add some entries.
2506         (authors): Remove unused local variables.
2508 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2510         * profiler.el: Create a more coherent calltree from partial backtraces.
2511         (profiler-format): Hide the tail with `invisible' so that C-s can still
2512         find the hidden elements.
2513         (profiler-calltree-depth): Don't recurse so enthusiastically.
2514         (profiler-function-equal): New hash-table-test.
2515         (profiler-calltree-build-unified): New function.
2516         (profiler-calltree-build): Use it.
2517         (profiler-report-make-name-part): Indent the calltree less.
2518         (profiler-report-mode): Add visibility specs for profiler-format.
2519         (profiler-report-expand-entry, profiler-report-toggle-entry):
2520         Expand the whole subtree when provided with a prefix arg.
2522 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2524         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2525         iuwu-mod token.
2526         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2527         hanging iuwu-mod token.
2528         (ruby-smie--forward-token): Do not include a dot after a token in
2529         that token.
2530         (ruby-smie--backward-token): Likewise.
2532 2013-10-08  Juri Linkov  <juri@jurta.org>
2534         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2535         to isearch-other-control-char.
2536         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2537         and isearch-post-command-hook to post-command-hook.
2538         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2539         and isearch-post-command-hook from post-command-hook.
2540         (isearch-unread-key-sequence)
2541         (isearch-reread-key-sequence-naturally)
2542         (isearch-lookup-scroll-key, isearch-other-control-char)
2543         (isearch-other-meta-char): Remove functions.
2544         (isearch-pre-command-hook, isearch-post-command-hook):
2545         New functions based on isearch-other-meta-char rewritten
2546         relying on the new behavior of overriding-terminal-local-map
2547         that does not replace the local keymaps any more.  (Bug#15200)
2549 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2551         Support menus on text-mode terminals.
2552         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2553         functionality.
2555         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2557         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2558         Move here from mouse.el.
2559         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2560         and arrow keys.
2561         (tty-menu-navigation-map): New map for TTY menu navigation.
2563         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2565         * frame.el (display-mouse-p): Report text-mode mouse as available
2566         on w32.
2567         (display-popup-menus-p): Report availability if mouse is
2568         available; don't condition on window-system.
2570         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2571         (tty-menu-selected-face): New faces.
2573 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2575         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2576         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2577         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2578         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2579         New constants.
2580         (lisp-mode-variables): New `elisp' argument.
2581         (emacs-lisp-mode): Use it.
2582         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2583         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2585         * indent.el: Use lexical-binding.
2586         (indent-region): Add progress reporter.
2587         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2588         last step.
2589         (indent--next-tab-stop): New function to implement this behavior.
2590         (tab-to-tab-stop, move-to-tab-stop): Use it.
2592 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2594         * indent.el (indent-rigidly--current-indentation): New function.
2595         (indent-rigidly-map): New var.
2596         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2598 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2600         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2602 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2604         * progmodes/perl-mode.el: Use lexical-binding.
2605         Remove redundant :group args.
2606         (perl-nochange): Change default to be closer to other major modes's
2607         standard behavior.
2608         (perl-indent-line): Don't consider text on current line as a
2609         valid beginning of function from which to indent.
2611         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2612         with more than one argument (bug#15538).
2614         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2616         * vc/pcvs.el: Use lexical-binding.
2617         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2618         environment of `eval'.
2619         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2620         than a list of expressions.  Adjust callers.
2621         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2623 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2625         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2626         case of the dot in a chained method call being on the following line.
2628 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2630         * electric.el (electric-indent-inhibit): New var.
2631         (electric-indent-post-self-insert-function): Use it.
2632         * progmodes/python.el (python-mode): Set it.
2634         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2635         open braces.
2637         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2639         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2640         (css-mode): Use electric-indent-chars.
2642         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2643         (font-lock-beg, font-lock-end): Move before first use.
2644         (nxml-mode): Use syntax-propertize-function.
2645         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2646         (nxml-extend-after-change-region): Remove.
2647         * nxml/xmltok.el: Use lexical-binding.
2648         (xmltok-save): Use `declare'.
2649         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2650         * nxml/nxml-util.el: Use lexical-binding.
2651         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2652         Use `declare'.
2653         * nxml/nxml-ns.el: Use lexical-binding.
2654         (nxml-ns-save): Use `declare'.
2655         (nxml-ns-prefixes-for): Avoid add-to-list.
2656         * nxml/rng-match.el: Use lexical-binding.
2657         (rng--ipattern): Use cl-defstruct.
2658         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2659         (rng-cons-group-after, rng-subst-group-after)
2660         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2661         Use closures instead of `(lambda...).
2663 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2665         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2666         of BEG and END.
2668         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2669         Use `tramp-handle-insert-file-contents'.
2670         (tramp-gvfs-handle-insert-file-contents): Remove function.
2672         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2673         Use `save-restriction' in order to keep markers.
2675         * net/trampver.el: Update release number.
2677 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2679         * progmodes/compile.el (compilation-parse-errors):
2680         Use compilation--put-prop.
2681         (compilation--ensure-parse): Check compilation-multiline.
2683         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2685         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2686         lexical-binding.
2688         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2690         * progmodes/ruby-mode.el: Fix recently added tests.
2691         (ruby-smie-grammar): Add - and +.
2692         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2693         (ruby-smie--backward-id): New functions.
2694         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2695         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2696         any more.
2698 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2700         * register.el (register-preview-delay)
2701         (register-preview-functions): New variables.
2702         (register-read-with-preview, register-preview)
2703         (register-describe-oneline): New functions.
2704         (point-to-register, window-configuration-to-register)
2705         (frame-configuration-to-register, jump-to-register)
2706         (number-to-register, view-register, insert-register)
2707         (copy-to-register, append-to-register, prepend-to-register)
2708         (copy-rectangle-to-register): Use register-read-with-preview to
2709         read register.  (Bug#15525)
2711 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2713         * net/network-stream.el (network-stream-open-starttls): Don't add
2714         --insecure if it's already present, because that gnutls-cli
2715         rejects getting that parameter twice.
2717 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2719         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2720         keyword, too.
2722 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2724         * newcomment.el (comment-use-global-state): Change default value
2725         to t, mark obsolete (Bug#15251).
2726         (comment-beginning): In addition to `comment-to-syntax', check the
2727         value of `comment-use-global-state'.
2729 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2731         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2732         (ruby-comment-column): Follow the global default, by default.
2733         (ruby-smie-grammar): Add assignment syntax.
2734         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2735         open-paren, a comma, or a \.
2736         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2737         and line continuations.
2738         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2739         followed by implicit semi-colons.  Add rule for string concatenation
2740         and for indentation at BOB.
2741         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2743         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2744         calling next-sexp, since next-token may have skipped chars which
2745         next-sexp doesn't know should be skipped!
2747 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2749         * progmodes/octave.el (octave-send-region):
2750         Call compilation-forget-errors.
2752 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2754         * vc/vc-svn.el (vc-svn-find-admin-dir):
2755         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2756         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2757         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2758         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2760 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2762         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2764 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2766         * subr.el (read-passwd): Hide chars even when called within a context
2767         where after-change-functions is disabled (bug#15501).
2768         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2769         until we removed ourself from overriding-terminal-local-map.
2771 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2773         * progmodes/octave.el (inferior-octave-mode):
2774         Call compilation-forget-errors.
2776 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2778         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2780 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2782         * net/secrets.el (secrets-create-collection): Add optional
2783         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2784         dbus-call-method argument.  (Bug#15516)
2786 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2788         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2789         (inferior-octave-compilation-font-lock-keywords): New variables.
2790         (compilation-error-regexp-alist)
2791         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2792         (inferior-octave-mode): Use compilation-shell-minor-mode.
2794 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2796         * minibuffer.el (completion--replace): Be careful that `end' might be
2797         a marker.
2799 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2801         Add support for package signature checking.
2802         * emacs-lisp/package.el (url-http-file-exists-p)
2803         (epg-make-context, epg-context-set-home-directory)
2804         (epg-verify-string, epg-context-result-for)
2805         (epg-signature-status, epg-signature-to-string)
2806         (epg-check-configuration, epg-configuration)
2807         (epg-import-keys-from-file): Declare.
2808         (package-check-signature): New user option.
2809         (package-unsigned-archives): New user option.
2810         (package-desc): Add `signed' field.
2811         (package-load-descriptor): Set `signed' field if .signed file exists.
2812         (package--archive-file-exists-p): New function.
2813         (package--check-signature): New function.
2814         (package-install-from-archive): Check package signature.
2815         (package--download-one-archive): Check archive signature.
2816         (package-delete): Remove .signed file.
2817         (package-import-keyring): New command.
2818         (package-refresh-contents): Import default keyring.
2819         (package-desc-status): Add "unsigned" status.
2820         (describe-package-1, package-menu--print-info)
2821         (package-menu-mark-delete, package-menu--find-upgrades)
2822         (package-menu--status-predicate): Support "unsigned" status.
2824 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2827         the new compilation scheme using the new byte-codes.
2829         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2830         (byte-pophandler): New byte codes.
2831         (byte-goto-ops): Adjust accordingly.
2832         (byte-compile--use-old-handlers): New var.
2833         (byte-compile-catch): Use new byte codes depending on
2834         byte-compile--use-old-handlers.
2835         (byte-compile-condition-case--old): Rename from
2836         byte-compile-condition-case.
2837         (byte-compile-condition-case--new): New function.
2838         (byte-compile-condition-case): New function that dispatches depending
2839         on byte-compile--use-old-handlers.
2840         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2841         when we can.
2843         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2844         Optimize under `condition-case' and `catch' if
2845         byte-compile--use-old-handlers is nil.
2846         (disassemble-offset): Handle new bytecodes.
2848 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         * subr.el (error): Use `declare'.
2851         (decode-char, encode-char): Use advertised-calling-convention instead
2852         of the docstring to discourage use of the `restriction' arg.
2854 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2856         * epg.el (epg-verify-file): Add a comment saying that it does not
2857         notify verification error as a return value nor a signal.
2858         (epg-verify-string): Ditto.
2860 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2862         * progmodes/compile.el (compilation-start): Try globbing the arg to
2863         `cd' (bug#15417).
2865 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
2867         Sync with Tramp 2.2.8.
2869         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2870         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2871         * net/trampver.el: Update release number.
2873 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
2875         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2876         and default-process-coding-system for darwin only.
2878 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2880         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2882 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
2884         * vc/vc-git.el (vc-git-grep): Disable pager.
2886 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2888         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2889         Use :url instead of :homepage, as per
2890         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2892         * newcomment.el (comment-beginning): When `comment-use-syntax' is
2893         non-nil, use `syntax-ppss' (Bug#15251).
2895 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2897         * progmodes/octave.el (inferior-octave-startup-file):
2898         Prefer ~/.emacs.d/init_octave.m.
2900 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
2902         * emacs-lisp/package.el (package-desc-from-define):
2903         Accept additional arguments as plist, convert them to an alist and store
2904         them in the `extras' slot.
2905         (package-generate-description-file): Convert extras alist back to
2906         plist and append to the `define-package' form arguments.
2907         (package--alist-to-plist): New function.
2908         (package--ac-desc): Add `extras' slot.
2909         (package--add-to-archive-contents): Check if the archive-contents
2910         vector is long enough, and if it is, pass its `extras' slot value
2911         to `package-desc-create'.
2912         (package-buffer-info): Call `lm-homepage', pass the returned value
2913         to `package-desc-from-define'.
2914         (describe-package-1): Render the homepage button (Bug#13291).
2916         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2917         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2919 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
2921         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2922         and default-process-coding-system to utf-8-unix (Bug#15402).
2924 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
2926         * subr.el (looking-back): Do not recommend using looking-back.
2928 2013-09-28  Alan Mackenzie  <acm@muc.de>
2930         Fix indentation/fontification of Java enum with "implements".
2932         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2933         regexp which matches "implements", etc., in Java.
2934         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2935         specifier clauses coming after "enum".
2936         * progmodes/cc-fonts.el (c-font-lock-declarations)
2937         (c-font-lock-enum-tail): Check for extra specifier clauses coming
2938         after "enum".
2940 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
2942         * faces.el (region): Change ns_selection_color to
2943         ns_selection_fg_color, add ns_selection_bg_color.
2945 2013-09-28  Leo Liu  <sdl.web@gmail.com>
2947         * progmodes/octave.el (inferior-octave-completion-table)
2948         (inferior-octave-completion-at-point): Minor tweaks.
2950         * textmodes/ispell.el (ispell-lookup-words): Rename from
2951         lookup-words.  (Bug#15460)
2952         (lookup-words): Obsolete.
2953         (ispell-complete-word, ispell-command-loop): All uses changed.
2955 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2957         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2958         (octave-mode-menu): Add octave-send-buffer.
2959         (octave-send-buffer): New function.
2961 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2963         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2964         octave-lookfor.
2965         (octave-mode-menu): Add octave-lookfor.
2966         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2967         octave-lookfor.
2968         (octave-lookfor): New function.
2970 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2972         * emacs-lisp/cl-macs.el:
2973         (cl--loop-destr-temps): Remove.
2974         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2975         its convention.
2976         (cl--loop-set-iterator-function): New function.
2977         (cl-loop): Adjust accordingly, so as not to use cl-subst.
2978         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2979         Bind `it' with `let' instead of substituting it with `cl-subst'.
2980         (cl--unused-var-p): New function.
2981         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2982         Eliminate some unused variable warnings (bug#15326).
2984 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
2986         * doc-view.el (doc-view-scale-reset): Rename from
2987         `doc-view-reset-zoom-level'.
2988         (doc-view-scale-adjust): New command.
2989         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2990         `doc-view-scale-adjust'.
2992 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
2994         * doc-view.el (doc-view-reset-zoom-level): New command.
2995         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2996         zoom commands (bug#15466).
2998 2013-09-26  Kenichi Handa  <handa@gnu.org>
3000         * international/quail.el (quail-help): Make it not a command.
3002 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3004         * minibuffer.el (completion-all-sorted-completions): Make args
3005         optional as they are.
3007 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3009         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3010         specs are and that they're not evaluated.
3012 2013-09-24  Sam Steingold  <sds@gnu.org>
3014         * midnight.el (clean-buffer-list-kill-regexps)
3015         (clean-buffer-list-kill-buffer-names): Update for the new Man
3016         buffer naming which includes the object name.
3018 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3020         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3021         (eshell-parse-command, eshell-parse-pipeline): Use it since
3022         eshell-separate-commands requires a dynamic scoped var.
3023         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3025 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3027         * autoinsert.el (auto-insert-alist): Make the value of
3028         lexical-binding match its file setting.
3030 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3032         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3034         * autoarg.el (autoarg-kp-digit-argument):
3035         * electric.el (Electric-command-loop):
3036         * kmacro.el (kmacro-step-edit-insert):
3037         Do not set universal-argument-num-events.
3039 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3041         * files.el (interpreter-mode-alist): Add octave.
3043 2013-09-21  Alan Mackenzie  <acm@muc.de>
3045         C++: fontify identifier in declaration following "public:" correctly.
3046         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3047         to match "public", etc.
3048         (c-decl-prefix-re): Add ":" into the C++ value.
3049         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3050         bit.  Add a check for a ":" preceded by "public", etc.
3052 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3054         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3055         recognized by GDB 7.5 and later.
3057 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3059         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3061 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3063         * subr.el (internal--call-interactively): New const.
3064         (called-interactively-p): Use it (bug#3984).
3066 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3068         * vc/pcvs.el (cvs-mode-ignore):
3069         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3070         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3072 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3074         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3075         (eshell-ls-orig-insert-directory): Remove.
3076         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3077         (eshell-ls-use-in-dired): Use advice-add/remove.
3078         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3079         Add `orig-fun' arg for use in :around advice.
3080         Make it check (redundantly) eshell-ls-use-in-dired.
3082 2013-09-19  Glenn Morris  <rgm@gnu.org>
3084         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3086         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3088         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3090 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3092         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3093         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3094         (tramp-get-remote-python): New defuns.
3095         (tramp-get-remote-uid-with-perl)
3096         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3097         contributed by yary <not.com@gmail.com> (tiny change).
3098         (tramp-get-remote-uid-with-python)
3099         (tramp-get-remote-gid-with-python): New defuns.  Python code
3100         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3101         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3103 2013-09-19  Glenn Morris  <rgm@gnu.org>
3105         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3107         * eshell/em-unix.el (eshell-remove-entries):
3108         Rename argument to avoid name-clash with global `top-level'.
3110         * eshell/esh-proc.el (eshell-kill-process-function):
3111         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3112         (eshell-reset-after-proc): Remove unused arg `proc'.
3114         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3115         (directory-files-and-attributes): Mark unused arg.
3117         * eshell/em-unix.el (eshell-remove-entries):
3118         Remove unused arg `path'.  Update callers.
3120         * eshell/em-hist.el (eshell-hist-parse-arguments):
3121         Remove unused arg `silent'.  Update callers.
3123         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3124         Fix (f)boundp mix-up.
3126         * eshell/em-smart.el (eshell-smart-scroll-window)
3127         (eshell-disable-after-change):
3128         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3130 2013-09-18  Alan Mackenzie  <acm@muc.de>
3132         Fix fontification of type when followed by "const".
3133         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3134         "known" types from fontification.
3136 2013-09-18  Glenn Morris  <rgm@gnu.org>
3138         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3139         (chart-face-list): Drop Emacsen without display-color-p.
3141         * net/eww.el (libxml-parse-html-region): Declare.
3142         (eww-display-html): Explicit error if no libxml2 support.
3144         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3146         * image.el (image-type-from-buffer, image-multi-frame-p):
3147         Remove --without-x warning/error.
3149         * mouse.el (mouse-yank-primary):
3150         * term.el (term-mouse-paste):
3151         Reorder to silence --without-x compilation.
3153         * mpc.el (doc-view-mode): Silence --without-x compilation.
3155         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3156         Silence --without-x compilation.
3158         * progmodes/gud.el (gud-find-file, gud-mode):
3159         Silence --without-x compilation.
3160         (tooltip-mode): Declare.
3162         * wdired.el (dired-backup-overwrite): Remove declaration.
3163         (wdired-mode-map): Add doc string.
3165         * custom.el (x-get-resource): Declare.
3167         * eshell/em-glob.el (ange-cache):
3168         * eshell/em-unix.el (ange-cache): Declare.
3170         * faces.el (x-display-list, x-open-connection, x-get-resource):
3171         Declare.
3173         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3174         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3175         Declare.
3177         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3179         * net/gnutls.el (gnutls-log-level): Declare.
3181         * net/shr.el (image-size, image-animate): Declare.
3183         * simple.el (font-info): Declare.
3185         * subr.el (x-popup-dialog): Declare.
3187         * term/common-win.el (x-select-enable-primary)
3188         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3189         Declare.
3191         * term/ns-win.el (x-handle-args): Declare.
3193         * term/x-win.el (x-select-enable-clipboard): Declare.
3195         * term/w32-win.el (create-default-fontset): Declare.
3197         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3198         Declare.
3200         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3201         (fit-frame-to-buffer): Explicit error if --without-x.
3202         (mouse-autoselect-window-select): Silence compiler.
3204         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3206         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3207         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3208         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3209         * eshell/esh-util.el (eshell-sublist):
3210         Remove unused local variables.
3212         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3214         * textmodes/two-column.el: Make 2C-split work for --without-x.
3215         (scroll-bar-columns): Autoload.
3216         (top-level): Require fringe when compiling.
3218 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3220         * subr.el (add-hook): Robustify to handle closure as well.
3222 2013-09-17  Glenn Morris  <rgm@gnu.org>
3224         * simple.el (messages-buffer-mode-map): Unbind "g".
3226 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3228         * help-mode.el (help-mode-finish): Use derived-mode-p.
3229         Remove obsolete highlighting.
3231         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3232         special-mode.
3233         (life): Let-bind inhibit-read-only.
3234         (life-setup): Avoid `setq'.  Use `life-mode'.
3236         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3237         which should not be needed any more.
3238         (package-menu-refresh, package-menu-describe-package): Use user-error.
3240         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3241         (eshell-post-rewrite-command-hook): Make obsolete.
3242         (eshell-parse-command): Simplify.
3243         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3244         (eshell--cmd): Declare.
3245         (eshell-parse-pipeline): Remove unused var `final-p'.
3246         Pass a dynvar to eshell-post-rewrite-command-hook.
3247         Implement the new eshell-post-rewrite-command-function.
3248         (eshell-invoke-directly): Remove unused arg `input'.
3249         * eshell/esh-io.el (eshell-io-initialize):
3250         Use eshell-post-rewrite-command-function (bug#15399).
3251         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3252         adjust to new calling convention.
3253         (eshell-create-handles): Rename args to avoid clashing with dynvar
3254         `standard-output'.
3256 2013-09-17  Glenn Morris  <rgm@gnu.org>
3258         * simple.el (messages-buffer-mode): New major mode.
3259         (messages-buffer): New function.
3260         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3261         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3262         (ert-run-test): Use `messages-buffer' function.
3263         (ert--force-message-log-buffer-truncation): Ignore read-only.
3264         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3265         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3267 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3269         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3271         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3273 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3275         * icomplete.el (icomplete-in-buffer): New var.
3276         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3277         vars and replace them with functions.
3278         (icomplete-minibuffer-setup): Adjust accordingly.
3279         (icomplete--completion-table, icomplete--completion-predicate)
3280         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3281         New functions.
3282         (icomplete-forward-completions, icomplete-backward-completions)
3283         (icomplete-simple-completing-p, icomplete-exhibit)
3284         (icomplete-completions): Use them.
3285         (icomplete--in-region-buffer): New var.
3286         (icomplete--in-region-setup): New function.
3287         (icomplete-mode): Use it.
3289         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3290         (bug#15379).
3291         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3292         return args and options.
3293         (eshell-eval-using-options): Use the new return value of
3294         eshell--do-opts to set the options's vars in their scope.
3295         (eshell--set-option): Rename from eshell-set-option.
3296         Add arg `opt-vals'.
3297         (eshell--process-option): Rename from eshell-process-option.
3298         Add arg `opt-vals'.
3299         (eshell--process-args): Use an `opt-vals' alist to store the options's
3300         values during their processing and return them additionally to the
3301         remaining args.
3303 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3305         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3306         continuation character an operator, as far as indentation is
3307         concerned (Bug#15369).
3309 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3311         * window.el (window--state-put-2): Don't process buffer state
3312         when buffer doesn't exist any more (Bug#15382).
3314 2013-09-15  Glenn Morris  <rgm@gnu.org>
3316         * eshell/em-unix.el (eshell/rm):
3317         Make -f ignore missing files.  (Bug#15373)
3319         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3320         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3321         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3323 2013-09-14  Glenn Morris  <rgm@gnu.org>
3325         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3327 2013-09-13  Glenn Morris  <rgm@gnu.org>
3329         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3330         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3332 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3334         * frame.el (x-focus-frame): Mark as declared in frame.c.
3336 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3338         * ls-lisp.el: Use advice-add.
3339         (original-insert-directory): Remove.
3340         (ls-lisp--insert-directory): Rename from insert-directory; add
3341         `orig-fun' argument.
3342         (insert-directory): Advise.
3344 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3346         * term.el (term-emulate-terminal): Decode the command string
3347         before passing it to term-command-hook.  (Bug#15337)
3349 2013-09-13  Glenn Morris  <rgm@gnu.org>
3351         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3353         * eshell/esh-ext.el (eshell-search-path): Declare.
3355         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3356         Otherwise an error occurs if eshell-dirs module not loaded.
3358         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3360 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3362         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3363         `tramp-check-proper-host'.  Check for a valid method name.
3365         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3366         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3367         * net/tramp-sh.el (tramp-maybe-open-connection):
3368         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3370         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3371         also for hash values.
3373 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3375         * term/ns-win.el (parameters): Don't declare as dynamic.
3376         (before-make-frame-hook): Don't add ineffective function.
3378         * eshell/*.el: Use lexical-binding (bug#15231).
3380 2013-09-12  Kenichi Handa  <handa@gnu.org>
3382         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3384 2013-09-12  Glenn Morris  <rgm@gnu.org>
3386         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3387         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3389         * subr.el (do-after-load-evaluation): Also give compiler warnings
3390         when obsolete files are used (except by obsolete files).
3392         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3393         in the status output, assume `filename' is the first.  (Bug#15322)
3395         * vc/vc.el (vc-deduce-fileset): Doc fix.
3397         * calc/calc-help.el (Info-goto-node):
3398         * progmodes/cperl-mode.el (Info-find-node):
3399         * vc/ediff.el (Info-goto-node): Update declarations.
3401         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3403         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3404         (vc-bzr-pull): Require vc-dispatcher.
3405         * vc/vc-git.el (vc-compilation-mode): Declare.
3406         (vc-git-pull): Require vc-dispatcher.
3408         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3410         * progmodes/octave.el (help-button-action): Declare.
3412         * shell.el (shell-directory-tracker): Output error as a message
3413         rather than just returning it as a string.
3414         (shell-process-pushd): Remove useless use of message.
3416         * dframe.el (dframe-timer-fn):
3417         * files.el (dir-locals-read-from-file):
3418         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3419         (mpc-format):
3420         * reveal.el (reveal-post-command):
3421         * saveplace.el (load-save-place-alist-from-file):
3422         * shell.el (shell-resync-dirs):
3423         * w32-common-fns.el (x-get-selection-value):
3424         * emacs-lisp/copyright.el (copyright-find-copyright):
3425         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3426         * emulation/tpu-edt.el (tpu-copy-keyfile):
3427         * play/bubbles.el (bubbles--mark-neighbourhood):
3428         * progmodes/executable.el
3429         (executable-make-buffer-file-executable-if-script-p):
3430         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3432 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3434         Cleanup Eshell to rely less on dynamic scoping.
3435         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3436         last-value, and ext-command here.  Bind `args' closer to `body'.
3437         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3438         (eshell--args): Declare new dynamic var.
3439         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3440         last-value, and ext-command.  Pass `args' to `body'.
3441         (eshell-process-args): Bind eshell--args.
3442         (eshell-set-option): Use eshell--args.
3443         * eshell/eshell.el (eshell): Use derived-mode-p.
3444         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3445         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3446         (eshell-glob-function): Declare.
3447         * eshell/esh-util.el: Require cl-lib.
3448         (eshell-read-hosts-file): Avoid add-to-list.
3449         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3450         `err'.
3451         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3452         Declare.
3453         (eshell/diff): Remove unused var `err'.
3454         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3455         `killflag'.
3456         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3457         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3458         first use.
3459         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3460         Move declaration before first use.
3461         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3462         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3463         rely on cl-return.
3465 2013-09-12  Glenn Morris  <rgm@gnu.org>
3467         * term/ns-win.el (global-map): Remove binding for ispell-next,
3468         deleted 1999-05-29.  (Bug#15357)
3470 2013-09-11  Glenn Morris  <rgm@gnu.org>
3472         * echistory.el (electric-command-history): Remove call to deleted func.
3474         * play/landmark.el (landmark-mode): Fix typos.
3476         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3477         Check cvs-sort-ignore-file is bound.
3479         * savehist.el: No need for cl when compiling on Emacs.
3481 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3483         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3484         (bug#15338).
3485         (eshell-self-insert-command, eshell-send-invisible):
3486         Remove unused argument.
3487         (eshell-handle-control-codes): Remove unused var `orig'.
3488         Avoid delete-backward-char.
3490         * files.el (set-auto-mode): Simplify a bit further.
3492 2013-09-11  Glenn Morris  <rgm@gnu.org>
3494         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3495         (set-auto-mode): Don't regexp-quote elements.
3496         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3497         * progmodes/cc-mode.el (interpreter-mode-alist):
3498         * progmodes/ruby-mode.el (interpreter-mode-alist):
3499         Revert previous change.
3501 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3503         * play/snake.el (snake-mode):
3504         * play/mpuz.el (mpuz-mode):
3505         * play/landmark.el (lm-mode):
3506         * play/blackbox.el (blackbox-mode):
3507         * play/5x5.el (5x5-mode):
3508         * obsolete/options.el (Edit-options-mode):
3509         * net/quickurl.el (quickurl-list-mode):
3510         * net/newst-treeview.el (newsticker-treeview-mode):
3511         * mail/rmailsum.el (rmail-summary-mode):
3512         * mail/mspools.el (mspools-mode):
3513         * locate.el (locate-mode):
3514         * ibuffer.el (ibuffer-mode):
3515         * emulation/ws-mode.el (wordstar-mode):
3516         * emacs-lisp/debug.el (debugger-mode):
3517         * array.el (array-mode):
3518         * net/eudc.el (eudc-mode): Use define-derived-mode.
3519         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3520         Move initialization into declaration.
3521         (mairix-searches-mode): Use define-derived-mode.
3522         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3523         (eudc-edit-hotlist): Use dolist.
3524         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3525         (Man-mode): Use define-derived-mode.
3526         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3527         (Info-edit-mode): Use define-derived-mode.
3528         (Info-cease-edit): Use Info-mode.
3529         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3530         into declaration.
3531         (eshell-mode): Use define-derived-mode.
3532         * chistory.el (command-history-mode-map): Rename from
3533         command-history-map.
3534         (command-history-mode): Use define-derived-mode.
3535         (Command-history-setup): Remove function.
3536         * calc/calc.el (calc-trail-mode-map): New var.
3537         (calc-trail-mode): Use define-derived-mode.
3538         (calc-trail-buffer): Set calc-main-buffer manually.
3539         * bookmark.el (bookmark-insert-annotation): New function.
3540         (bookmark-edit-annotation): Use it.
3541         (bookmark-edit-annotation-mode): Make it a proper major mode.
3542         (bookmark-send-edited-annotation): Use derived-mode-p.
3543         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3544         closer to its ideal place.  Use \' to match EOS.
3546         * profiler.el (profiler-calltree-find): Use function-equal.
3548 2013-09-10  Glenn Morris  <rgm@gnu.org>
3550         * files.el (interpreter-mode-alist): Convert to regexps.
3551         (set-auto-mode): Adapt for this.  (Bug#15306)
3552         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3553         Comment out unused variable.
3554         * progmodes/cc-mode.el (interpreter-mode-alist):
3555         * progmodes/python.el (interpreter-mode-alist):
3556         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3557         * progmodes/sh-script.el (sh-set-shell):
3558         No longer use interpreter-mode-alist to get list of shells.
3560         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3562 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3564         * simple.el: Use set-temporary-overlay-map for universal-argument.
3565         (universal-argument-map): Don't use default-bindings (bug#15317).
3566         Bind switch-frame explicitly.  Replace universal-argument-minus with
3567         a conditional binding.
3568         (universal-argument-num-events, saved-overriding-map): Remove.
3569         (restore-overriding-map): Remove.
3570         (universal-argument--mode): Rename from save&set-overriding-map,
3571         and rewrite.
3572         (universal-argument, universal-argument-more, negative-argument)
3573         (digit-argument): Adjust accordingly.
3574         (universal-argument-minus): Remove.
3575         (universal-argument-other-key): Remove.
3577         * subr.el (with-demoted-errors): Add `format' argument.
3579 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3581         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3582         `tramp-cleanup-connection'.
3584         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3585         parameters KEEP-DEBUG and KEEP-PASSWORD.
3587         * net/tramp.el (tramp-file-name-handler):
3588         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3589         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3590         (tramp-maybe-open-connection):
3591         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3592         Use `tramp-cleanup-connection'.
3594         * net/tramp-sh.el (tramp-maybe-open-connection):
3595         Catch 'uname-changed inside the progress reporter.
3597 2013-09-10  Glenn Morris  <rgm@gnu.org>
3599         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3601         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3602         returns "alternate access method" in mode (eg "-rw-r--r--.").
3604 2013-09-08  Glenn Morris  <rgm@gnu.org>
3606         * saveplace.el (load-save-place-alist-from-file):
3607         Demote errors.  (Bug#15305)
3609 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3611         Improve compatibility with older Emacsen, and XEmacs.
3613         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3614         only if it is bound.  It isn't for XEmacs.
3615         (with-tramp-progress-reporter): Do not let-bind `result'.
3616         This yields to scoping errors in XEmacs.
3617         (tramp-handle-make-auto-save-file-name): New function, moved from
3618         tramp-sh.el.
3620         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3621         for `make-auto-save-file-name'.
3622         (tramp-adb--gnu-switches-to-ash):
3623         Use `tramp-compat-replace-regexp-in-string'.
3625         * net/tramp-cache.el (tramp-cache-print): Call
3626         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3628         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3629         bound.  It isn't for XEmacs.
3631         * net/tramp-compat.el (tramp-compat-copy-file):
3632         Catch `wrong-number-of-arguments' error.
3633         (tramp-compat-replace-regexp-in-string): New defun.
3635         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3636         for `make-auto-save-file-name'.
3637         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3638         `copy-file'.
3639         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3640         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3641         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3643         * net/tramp-gw.el (tramp-gw-open-network-stream):
3644         Use `tramp-compat-replace-regexp-in-string'.
3646         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3647         Call `tramp-handle-make-auto-save-file-name'.
3648         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3649         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3650         (tramp-sh-file-inotifywait-process-filter):
3651         Use `tramp-compat-replace-regexp-in-string'.
3652         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3654         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3655         for `make-auto-save-file-name'.
3656         (tramp-smb-handle-copy-directory):
3657         Call `tramp-compat-replace-regexp-in-string'.
3658         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3659         (tramp-smb-handle-copy-file): Improve error message.
3660         (tramp-smb-handle-rename-file): Rename directly only in case
3661         `newname' does not exist yet.  This is a restriction of smbclient.
3662         (tramp-smb-maybe-open-connection): Rerun the function only when
3663         `auth-sources' is non-nil.
3665 2013-09-08  Kenichi Handa  <handa@gnu.org>
3667         * international/characters.el: Set category "^" (Combining) for
3668         more characters.
3670 2013-09-07  Alan Mackenzie  <acm@muc.de>
3672         Correctly fontify Java class constructors.
3673         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3674         in Java Mode.
3675         (c-recognize-typeless-decls): Set the Java value to t.
3676         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3677         While handling a "(", add a check for, effectively, Java, and handle a
3678         "typeless" declaration there.
3680 2013-09-07  Roland Winkler  <winkler@gnu.org>
3682         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3683         field subtitle for entry type book.
3685 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * minibuffer.el: Make minibuffer-complete call completion-in-region
3688         rather than other way around.
3689         (completion--some, completion-pcm--find-all-completions):
3690         Don't delay signals when debugging.
3691         (minibuffer-completion-contents): Beware fields within the
3692         minibuffer contents.
3693         (completion-all-sorted-completions): Use defvar-local.
3694         (completion--do-completion, completion--cache-all-sorted-completions)
3695         (completion-all-sorted-completions, minibuffer-force-complete):
3696         Add args `beg' and `end'.
3697         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3698         (minibuffer-complete): Use completion-in-region.
3699         (completion-complete-and-exit): New fun, extracted from
3700         minibuffer-complete-and-exit.
3701         (minibuffer-complete-and-exit): Use it.
3702         (completion--complete-and-exit): Rename from
3703         minibuffer--complete-and-exit.
3704         (completion-in-region--single-word): New function, extracted from
3705         minibuffer-complete-word.
3706         (minibuffer-complete-word): Use it.
3707         (display-completion-list): Make `common-substring' argument obsolete.
3708         (completion--in-region): Call completion--in-region-1 instead of
3709         minibuffer-complete.
3710         (completion-help-at-point): Pass boundaries to
3711         minibuffer-completion-help as args rather than via an overlay.
3712         (completion-pcm--string->pattern): Use `any-delim'.
3713         (completion-pcm--optimize-pattern): New function.
3714         (completion-pcm--pattern->regex): Handle `any-delim'.
3715         * icomplete.el (icomplete-forward-completions)
3716         (icomplete-backward-completions, icomplete-completions):
3717         Adjust calls to completion-all-sorted-completions and
3718         completion--cache-all-sorted-completions.
3719         (icomplete-with-completion-tables): Default to t.
3720         * emacs-lisp/crm.el (crm--current-element): Rename from
3721         crm--select-current-element.  Don't put an overlay but return the
3722         boundaries instead.
3723         (crm--completion-command): Take two new args to bind to the boundaries.
3724         (crm-completion-help): Adjust accordingly.
3725         (crm-complete): Use completion-in-region.
3726         (crm-complete-word): Use completion-in-region--single-word.
3727         (crm-complete-and-exit): Use completion-complete-and-exit.
3729 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3732         than dynamically.
3734 2013-09-06  Juri Linkov  <juri@jurta.org>
3736         * info.el (Info-display-images-node): When image file doesn't exist
3737         display text version of the image if it's provided in the Info file.
3738         Otherwise, display the location of missing image from SRC attribute.
3739         Add help-echo text property from ALT attribute.  (Bug#15279)
3741 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3743         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3744         (edit-abbrevs-mode): Use define-derived-mode.
3746         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3747         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3748         that it's defined.
3749         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3750         Use define-derived-mode.
3752         * epg.el (epg-start-encrypt): Minor CSE simplification.
3754 2013-09-06  William Xu  <william.xwl@gmail.com>
3756         * arc-mode.el: Add support for 7za (bug#15264).
3757         (archive-7z-program): New var.
3758         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3759         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3760         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3762 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3764         Remove URL syntax.
3766         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3767         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3768         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3769         (tramp-postfix-host-format, tramp-file-name-regexp)
3770         (tramp-completion-file-name-regexp)
3771         (tramp-completion-dissect-file-name)
3772         (tramp-handle-substitute-in-file-name): Remove 'url case.
3773         (tramp-file-name-regexp-url)
3774         (tramp-completion-file-name-regexp-url): Remove constants.
3776 2013-09-06  Glenn Morris  <rgm@gnu.org>
3778         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3780 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3782         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3783         keywords" below "here-doc beginnings" (Bug#15270).
3785 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3787         * subr.el (pop): Use `car-safe'.
3788         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3789         to detect unused `pop' return value.
3791         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3792         var `block-regexp'.
3793         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3794         (python-fill-string): Remove unused var `marker'.
3795         (python-skeleton-add-menu-items): Remove unused var `items'.
3797         * international/mule-cmds.el: Require CL.
3798         (find-coding-systems-for-charsets): Avoid add-to-list.
3799         (sanitize-coding-system-list): New function, extracted from
3800         select-safe-coding-system-interactively.
3801         (select-safe-coding-system-interactively): Use it.
3802         (read-input-method-name): Accept symbols for `default'.
3804         * emacs-lisp/advice.el (defadvice): Add indent rule.
3806 2013-09-05  Daniel Hackney  <dan@haxney.org>
3808         * dired-x.el:
3809         * net/ange-ftp.el:
3810         * net/browse-url.el:
3811         * net/dbus.el:
3812         * net/eudc.el:
3813         * net/eudcb-ldap.el:
3814         * net/eww.el:
3815         * net/imap.el:
3816         * printing.el:
3817         * vc/ediff-diff.el:
3818         * vc/ediff-init.el:
3819         * vc/ediff-merg.el:
3820         * vc/ediff-mult.el:
3821         * vc/ediff-util.el:
3822         * vc/ediff-wind.el:
3823         * vc/ediff.el:
3824         * vc/emerge.el:
3825         * vc/pcvs.el:
3826         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3827         byte compiler.  Remove some unused let-bound variables.
3829 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3832         a "ref-cell", since it gets better optimized (bug#14883).
3834 2013-09-05  Glenn Morris  <rgm@gnu.org>
3836         * progmodes/cc-awk.el (c-forward-sws): Declare.
3838 2013-09-04  Glenn Morris  <rgm@gnu.org>
3840         * generic-x.el [rul-generic-mode]: Require cc-mode.
3841         (c++-mode-syntax-table): Declare.
3842         (rul-generic-mode-syntax-table): Init in the defvar.
3844 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3846         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3847         (vc-do-command, vc-set-async-update):
3848         * vc/vc-mtn.el (vc-mtn-dir-status):
3849         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3850         (vc-hg-pull, vc-hg-merge-branch):
3851         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3852         (vc-git-merge-branch):
3853         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3854         (vc-cvs-dir-status-files):
3855         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3856         (vc-bzr-dir-status-files):
3857         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3858         * vc/vc-annotate.el: Use lexical-binding.
3859         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3860         (vc-sentinel-movepoint): Declare.
3861         (vc-annotate): Don't use `goto-line'.
3862         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3863         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3864         (vc-sentinel-movepoint): Declare.
3865         * vc/vc-svn.el: Use lexical-binding.
3866         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3867         * vc/vc-sccs.el:
3868         * vc/vc-rcs.el: Use lexical-binding.
3870         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3871         `deleted'.  Don't drop errors silently.
3873         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3875 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
3877         * vc/vc.el (vc-ignore): Rewrite.
3878         (vc-default-ignore): New function.
3879         (vc-default-ignore-completion-table): Use find-ignore-file.
3881         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3882         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3883         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3884         Remove.  Most code moved to vc.el.
3886 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3888         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3889         * net/tramp-smb.el (tramp-smb-get-file-entries):
3890         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3891         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3893         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3894         Update call to it.
3895         (eww-change-select): Remove unused var `properties'.
3896         (eww-make-unique-file-name): Remove unused var `base'.
3898         * finder.el (finder-compile-keywords): Don't mess with windows.
3900         * calculator.el (calculator-funcall): Fix typo in last change.
3902         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3904         * emacs-lisp/package.el (package-activate-1): Don't let a missing
3905         <pkg>-autoloads.el file stop us.
3907         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3908         warnings, and factor out common code.
3910 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
3912         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3913         two-character operators and whether the character preceding them
3914         changes their meaning (Bug#15208).
3916 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3918         Format code sent to Python shell for robustness.
3919         * progmodes/python.el (python-shell-buffer-substring):
3920         New function.
3921         (python-shell-send-region, python-shell-send-buffer): Use it.
3923 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
3925         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3926         * net/tramp.el (tramp-user-error): ... here.
3927         (tramp-find-method, tramp-check-proper-host)
3928         (tramp-dissect-file-name, tramp-debug-message)
3929         (tramp-handle-shell-command):
3930         * net/tramp-adb.el (tramp-adb-handle-shell-command):
3931         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3933         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3935 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
3937         * avoid.el (mouse-avoidance-point-position)
3938         (mouse-avoidance-too-close-p): Handle case where posn-at-point
3939         returns nil.
3941 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3943         * progmodes/python.el (python-shell-completion-get-completions):
3944         Drop use of deleted `comint-last-prompt-overlay'.
3945         (python-nav-if-name-main): New command.
3947 2013-09-01  Glenn Morris  <rgm@gnu.org>
3949         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3950         Avoid leading space in $wins.  Otherwise the sed command used by
3951         eg compile-main ends up containing "/*.el".  (Bug#15170)
3953         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
3955 2013-08-30  Glenn Morris  <rgm@gnu.org>
3957         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3958         Fix is-this-a-directory logic.  (Bug#15220)
3960 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3962         * textmodes/css-mode.el: Use SMIE.
3963         (css-smie-grammar): New var.
3964         (css-smie--forward-token, css-smie--backward-token)
3965         (css-smie-rules): New functions.
3966         (css-mode): Use them.
3967         (css-navigation-syntax-table): Remove var.
3968         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3969         (css-indent-calculate, css-indent-line): Remove functions.
3971         Misc changes to reduce use of `(lambda...); and other cleanups.
3972         * cus-edit.el: Use lexical-binding.
3973         (customize-push-and-save, customize-apropos)
3974         (custom-buffer-create-internal): Use closures.
3975         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3976         * progmodes/ada-xref.el: Use setq.
3977         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3978         * dframe.el: Use lexical-binding.
3979         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
3980         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3981         * descr-text.el: Use lexical-binding.
3982         (describe-text-widget, describe-text-sexp, describe-property-list):
3983         Use closures.
3984         * comint.el (comint-history-isearch-push-state): Use a closure.
3985         * calculator.el: Use lexical-binding.
3986         (calculator-number-to-string): Make it work with lexical-binding.
3987         (calculator-funcall): Same and use cl-letf.
3989         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3990         (lisp--company-doc-string, lisp--company-location): New functions.
3991         (lisp-completion-at-point): Use them to improve Company support.
3993         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3994         params of lambda expressions.
3995         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3996         (ruby-smie--opening-pipe-p): New function.
3997         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3998         symbols and matched |...| for formal params.
3999         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4000         from being treated as hanging.  Handle "rescue".
4002 2013-08-29  Glenn Morris  <rgm@gnu.org>
4004         * progmodes/cc-engine.el (c-pull-open-brace):
4005         Move definition before use.
4007 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4009         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4010         are immutable.  Don't use `unsafe' any more.
4011         (cl--defsubst-expand): Don't substitute at the same time as keeping
4012         a residual unused let-binding.  Don't use `unsafe' any more.
4014 2013-08-29  Glenn Morris  <rgm@gnu.org>
4016         * calendar/cal-china.el (calendar-chinese-year-cache):
4017         Recenter on 2015.
4019         * nxml/nxml-util.el (nxml-debug-clear-inside):
4020         Use cl-loop rather than loop.
4022         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4024         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4026 2013-08-28  Glenn Morris  <rgm@gnu.org>
4028         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4030         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4032         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4034 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4036         * simple.el (repeat-complex-command--called-interactively-skip):
4037         New function.
4038         (repeat-complex-command): Use it (bug#14136).
4040         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4041         (c-define-abbrev-table): Add `doc' argument.
4042         (c-mode-abbrev-table, c++-mode-abbrev-table)
4043         (objc-mode-abbrev-table, java-mode-abbrev-table)
4044         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4045         (awk-mode-abbrev-table): Use it.
4046         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4047         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4048         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4049         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4050         Move initialization into the declaration; and remove any
4051         autoload cookie.
4053         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4054         and dynamic let binding.
4056         * vc/smerge-mode.el: Remove redundant :group args.
4058         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4059         to load-path.
4061 2013-08-28  Juri Linkov  <juri@jurta.org>
4063         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4064         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4065         (isearch-other-meta-char): Handle an undefined shifted printing
4066         character by downshifting it.  (Bug#15200)
4068 2013-08-28  Juri Linkov  <juri@jurta.org>
4070         * isearch.el (isearch-search): Change regexp error message for
4071         non-regexp searches.  (Bug#15166)
4073 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4075         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4076         for portability to hosts where /bin/sh has problems.
4078 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4080         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4082 2013-08-27  Juri Linkov  <juri@jurta.org>
4084         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4085         in the keyboard macro.  (Bug#15126)
4087 2013-08-27  Juri Linkov  <juri@jurta.org>
4089         * isearch.el (isearch-quote-char): Comment out converting unibyte
4090         to multibyte, thus syncing with its `quoted-insert' counterpart.
4091         (Bug#15166)
4093 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4095         * window.el (display-buffer-use-some-window): Add missing
4096         argument in call of get-largest-window (Bug#15185).
4097         Reported by Stephen Leake.
4099 2013-08-27  Glenn Morris  <rgm@gnu.org>
4101         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4103 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4105         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4106         from a matcher-function unless there's no more matches (bug#15161).
4108 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4110         * minibuffer.el: Revert change from 2013-08-20.
4112         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4113         with text property `tramp-default', if appropriate.
4114         (tramp-check-proper-host): New defun.
4115         (tramp-dissect-file-name): Do not check hostname.  Revert change
4116         of 2013-03-18.
4117         (tramp-backtrace): Make VEC-OR-PROC optional.
4119         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4120         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4121         * net/tramp-sh.el (tramp-maybe-open-connection):
4122         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4123         Apply `tramp-check-proper-host'.
4125 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4127         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4128         lambda expression in order to have `describe-variable' display it.
4130 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4132         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4133         BUF can be optional.  (Bug#15186)
4135 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4137         * progmodes/flymake.el (flymake-get-real-file-name-function):
4138         Fix broken customization.  (Bug#15184)
4140 2013-08-25  Alan Mackenzie  <acm@muc.de>
4142         Improve indentation of bracelists defined by macros (without "=").
4144         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4145         expansion begins with "{", regard it as bracelist when it doesn't
4146         contain a ";".
4148         Parse C++ inher-intro when there's a template split over 2 lines.
4150         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4151         rigorously the search for "class" etc. followed by ":".
4153         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4154         random languages a regexp which never matches rather than nil.
4156         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4158         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4159         (c-awk-regexp-one-line-possibly-open-char-list-re)
4160         (c-awk-one-line-possibly-open-regexp-re)
4161         (c-awk-one-line-non-syn-ws*-re): Remove.
4162         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4163         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4164         (c-awk-space*-unclosed-regexp-/-re): New constants.
4165         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4166         aren't regexp delimiters.
4168         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4169         handling for a rare situation in AWK Mode involving unterminated
4170         strings/regexps.
4172 2013-08-23  Glenn Morris  <rgm@gnu.org>
4174         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4176         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4178         * files.el (create-file-buffer): If the result would begin with
4179         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4181 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4184         text-properties (bug#15155).
4186         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4187         exist any more.
4188         (calc-keypad-redraw): Remove unused var `pad'.
4189         (calc-keypad-press): Remove unused var `menu'.
4191 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4193         * window.el (display-buffer-pop-up-frame):
4194         Call pop-up-frame-function with BUFFER current so `make-frame' will
4195         use it as the new frame's buffer (Bug#15133).
4197 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4199         * calendar/timeclock.el: Minor cleanups.
4200         (timeclock-ask-before-exiting, timeclock-use-display-time):
4201         Use `symbol'.
4202         (timeclock-modeline-display): Define as alias before the
4203         actual definition.
4204         (timeclock-mode-line-display): Use define-minor-mode.
4205         (timeclock-day-list-template): Make it a function, add an argument.
4206         (timeclock-day-list-required, timeclock-day-list-length)
4207         (timeclock-day-list-debt, timeclock-day-list-span)
4208         (timeclock-day-list-break): Adjust calls accordingly.
4210 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4212         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4213         Use read--expression so that completion works again.
4215 2013-08-21  Sam Steingold  <sds@gnu.org>
4217         Add rudimentary inferior shell interaction
4218         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4219         (sh-set-shell): Reset it.
4220         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4221         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4223 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4225         * align.el: Use lexical-binding.
4226         (align-region): Simplify accordingly.
4228 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4230         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4232         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4233         `non-essential' up.
4235 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4237         * net/tramp.el:
4238         * net/tramp-adb.el:
4239         * net/tramp-cmds.el:
4240         * net/tramp-ftp.el:
4241         * net/tramp-gvfs.el:
4242         * net/tramp-gw.el:
4243         * net/tramp-sh.el: Don't wrap external variable declarations by
4244         `eval-when-compile'.
4246 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4248         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4249         now that Emacs supports ImageMagick animations.
4251 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4253         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4254         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4256 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4258         * window.el (mouse-autoselect-window-select): Do autoselect when
4259         mouse pointer is on margin.
4261 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4263         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4265 2013-08-16  Glenn Morris  <rgm@gnu.org>
4267         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4268         Handle "Remote Directory" response of some clients.  (Bug#15058)
4270         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4271         Tweak warning.  (Bug#14926)
4273         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4274         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4276         * image-mode.el (image-mode-map): Add menu items to reverse,
4277         increase, decrease, reset animation speed.
4278         (image--set-speed, image-increase-speed, image-decrease-speed)
4279         (image-reverse-speed, image-reset-speed): New functions.
4280         (image-mode-map): Add bindings for speed commands.
4282         * image.el (image-animate-get-speed, image-animate-set-speed):
4283         New functions.
4284         (image-animate-timeout): Respect image :speed property.
4286 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4288         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4289         previous line (bug#15101).
4290         (debugger-eval-expression, debugger-record-expression):
4291         Use read--expression (bug#15102).
4293 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4295         Remove byte compiler warnings, visible when compiling with
4296         `byte-compile-force-lexical-warnings' set to t.
4298         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4299         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4300         (tramp-handle-unhandled-file-name-directory)
4301         (tramp-handle-file-notify-add-watch, tramp-action-login)
4302         (tramp-action-succeed, tramp-action-permission-denied)
4303         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4304         arguments with "_".
4306         * net/tramp-adb.el (tramp-adb-parse-device-names)
4307         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4308         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4309         (tramp-adb-handle-file-truename): Remove unused arguments.
4311         * net/tramp-cache.el (tramp-flush-directory-property)
4312         (tramp-flush-connection-property, tramp-list-connections)
4313         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4315         * net/tramp-compat.el (tramp-compat-make-temp-file):
4316         Rename FILENAME to F.
4318         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4319         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4320         (tramp-zeroconf-parse-workstation-device-names)
4321         (tramp-zeroconf-parse-webdav-device-names)
4322         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4324         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4325         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4327         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4328         arguments.
4329         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4330         (tramp-sh-handle-insert-file-contents-literally)
4331         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4332         with "_".
4333         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4334         Remove unused variables.
4336         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4337         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4338         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4340         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4341         Make them a defconst.
4342         (tramp-uuencode-region): Remove unused variable.
4344 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4346         * frameset.el (frameset--prop-setter): New function.
4347         (frameset-prop): Add gv-setter declaration.
4348         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4349         parameter was already set in FILTERED.  Doc fix.
4350         (frameset--record-minibuffer-relationships): Allow saving a
4351         minibufferless frame without its corresponding minibuffer frame.
4352         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4353         frame, if the frame id matches.
4354         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4355         frames before orphaned ones.
4356         (frameset-restore): Warn about orphaned windows, instead of error out.
4358 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4360         * window.el (window-make-atom): Don't overwrite parameter
4361         already present.
4362         (display-buffer-in-atom-window): Handle special case where we
4363         split an already atomic window.
4364         (window--major-non-side-window, display-buffer-in-side-window)
4365         (window--side-check): Ignore minibuffer window when walking
4366         window tree.
4367         (window-deletable-p): Return 'frame only if no other frame uses
4368         our minibuffer window.
4369         (record-window-buffer): Run buffer-list-update-hook.
4370         (split-window): Make sure window--check-frame won't destroy an
4371         existing atomic window in case the new window gets nested
4372         inside.
4373         (display-buffer-at-bottom): Ignore minibuffer window when
4374         walking window tree.  Don't split a side window.
4375         (pop-to-buffer): Don't set-buffer here, the select-window call
4376         should do that.
4377         (mouse-autoselect-window-select): Autoselect only if we are in the
4378         text portion of the window.
4380 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4382         * net/shr.el (shr-parse-image-data): New function to grab both the
4383         data itself and the Content-Type.
4384         (shr-put-image): Use it.
4386         * net/eww.el (eww-display-image): Ditto.
4388         * image.el (image-content-type-suffixes): New variable.
4390 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4392         * progmodes/python.el (python-imenu--build-tree)
4393         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4395 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4397         * simple.el (backward-word): Mention the optional argument.
4399 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4401         * frameset.el (frameset--make): Rename constructor from make-frameset.
4402         (frameset-p, frameset-valid-p): Don't autoload.
4403         (frameset-valid-p): Use normal accessors.
4405 2013-08-13  Glenn Morris  <rgm@gnu.org>
4407         * progmodes/compile.el (compile-command): Tweak example in doc.
4408         * obsolete/scribe.el (scribe-mode):
4409         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4411         * mail/feedmail.el (feedmail-confirm-outgoing)
4412         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4414         * cus-start.el (truncate-partial-width-windows): Fix type.
4416         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4418         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4420 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4422         * emacs-lisp/timer.el (timer--time-setter): New function.
4423         (timer--time): Use it as gv-setter.
4425         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4426         setter is not a symbol.
4428 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4430         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4431         if sending fails.  This makes debugging easier.
4433 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4435         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4436         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4437         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4439 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4441         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4443 2013-08-12  Glenn Morris  <rgm@gnu.org>
4445         * format.el (format-annotate-function):
4446         Handle read-only text properties in the source.  (Bug#14887)
4448 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4450         * net/eww.el (eww-display-html): Ignore coding system errors.
4451         One web site uses "utf-8lias" as the coding system.
4453 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4455         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4457 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4459         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4460         (tutorial--detailed-help): Remove unused local variables.
4461         (tutorial--save-tutorial-to): Use ignore-errors.
4462         (help-with-tutorial): Use looking-at-p.
4464         * view.el (view-buffer-other-window, view-buffer-other-frame):
4465         Mark unused arguments.
4467         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4468         (woman-select-symbol-fonts, woman, woman-find-file)
4469         (woman-insert-file-contents, woman-non-underline-faces):
4470         Use string-match-p.
4471         (woman1-unquote): Move declaration.
4473         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4474         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4475         argument.  Remove unused local variable.
4476         (xml-parse-elem-type): Use string-match-p.
4477         (xml-substitute-numeric-entities): Use ignore-errors.
4479         * calculator.el (calculator): Mark unused argument.
4480         (calculator-paste, calculator-quit, calculator-integer-p):
4481         Use ignore-errors.
4482         (calculator-string-to-number, calculator-decimal, calculator-exp)
4483         (calculator-op-or-exp): Use string-match-p.
4485         * dired.el (dired-buffer-more-recently-used-p): Declare.
4486         (dired-insert-set-properties, dired-insert-old-subdirs):
4487         Use ignore-errors.
4489         * dired-aux.el (dired-compress): Use ignore-errors.
4490         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4491         (dired-do-async-shell-command, dired-do-shell-command)
4492         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4493         (dired-insert-subdir-validate): Use string-match-p.
4494         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4495         (dired-add-entry): Use string-match-p, looking-at-p.
4496         (dired-insert-subdir-newpos): Remove unused local variable.
4498         * filenotify.el (file-notify-callback): Remove unused local variable.
4500         * filesets.el (filesets-error): Mark unused argument.
4501         (filesets-which-command-p, filesets-filter-dir-names)
4502         (filesets-directory-files, filesets-get-external-viewer)
4503         (filesets-ingroup-get-data): Use string-match-p.
4505         * find-file.el (ff-other-file-name, ff-other-file-name)
4506         (ff-find-the-other-file, ff-cc-hh-converter):
4507         Remove unused local variables.
4508         (ff-get-file-name): Use string-match-p.
4509         (ff-all-dirs-under): Use ignore-errors.
4511         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4512         (follow-select-if-visible): Remove unused local variable.
4514         * forms.el (read-file-filter): Move declaration.
4515         (forms--make-format, forms--make-parser, forms-insert-record):
4516         Quote function with #'.
4517         (forms--update): Use string-match-p.  Quote function with #'.
4519         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4520         (help-make-xrefs): Use looking-at-p.
4521         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4523         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4524         (ibuffer-confirm-operation-on): Use string-match-p.
4526         * msb.el (msb-item-handler, msb-dired-item-handler):
4527         Mark unused arguments.
4529         * ses.el (ses-decode-cell-symbol)
4530         (ses-kill-override): Remove unused local variable.
4531         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4532         (ses-load): Use ignore-errors, looking-at-p.
4533         (ses-jump-safe): Use ignore-errors.
4534         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4536         * tabify.el (untabify, tabify): Mark unused arguments.
4538         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4539         Mark unused argument.
4540         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4541         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4543         * emacs-lisp/timer.el (timer--time): Define setter with
4544         gv-define-setter to avoid deprecation warning.
4546         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4547         (*record-cmpl-statistics-p*): Remove (was commented out).
4548         (cmpl-statistics-block): Remove (body was commented out).
4549         All callers changed.
4550         (add-completions-from-buffer, load-completions-from-file):
4551         Remove unused variables.
4553 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4555         * filecache.el (file-cache-delete-file-list):
4556         Print message only when told so.
4557         (file-cache-files-matching): Use #' in mapconcat argument.
4559         * ffap.el (ffap-url-at-point): Fix reference to variable
4560         thing-at-point-default-mail-uri-scheme.
4562 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4564         * subr.el (define-error): New function.
4565         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4566         error-file-not-found and define with define-error.
4567         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4568         and define with define-error.
4569         * userlock.el (file-locked, file-supersession):
4570         * simple.el (mark-inactive):
4571         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4572         * progmodes/ada-mode.el (ada-mode-errors):
4573         * play/life.el (life-extinct):
4574         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4575         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4576         * nxml/rng-util.el (rng-error):
4577         * nxml/rng-uri.el (rng-uri-error):
4578         * nxml/rng-match.el (rng-compile-error):
4579         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4580         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4581         * nxml/nxml-rap.el (nxml-scan-error):
4582         * nxml/nxml-outln.el (nxml-outline-error):
4583         * net/soap-client.el (soap-error):
4584         * net/gnutls.el (gnutls-error):
4585         * net/ange-ftp.el (ftp-error):
4586         * mpc.el (mpc-proc-error):
4587         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4588         (json-number-format, json-string-escape, json-string-format)
4589         (json-key-format, json-object-format):
4590         * jka-compr.el (compression-error):
4591         * international/quail.el (quail-error):
4592         * international/kkc.el (kkc-error):
4593         * emacs-lisp/ert.el (ert-test-failed):
4594         * calc/calc.el (calc-error, inexact-result, math-overflow)
4595         (math-underflow):
4596         * bookmark.el (bookmark-error-no-filename):
4597         * epg.el (epg-error): Define with define-error.
4599         * time.el (display-time-event-handler)
4600         (display-time-next-load-average): Don't call sit-for since it seems
4601         unnecessary (bug#15045).
4603         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4604         Use #' instead of ' to quote functions.
4605         (checkdoc-output-mode): Use setq-local.
4606         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4607         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4608         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4609         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4610         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4611         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4612         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4613         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4615         * ido.el (ido-completion-help): Fix up compiler warning.
4617 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4619         * frameset.el (frameset-p): Add autoload cookie.
4620         (frameset--jump-to-register): New function, based on code moved from
4621         register.el.
4622         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4624         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4625         (frameset-restore, frameset-save, frameset-session-filter-alist):
4626         Remove declarations.
4627         (register-alist): Doc fix.
4628         (frameset-to-register): Move to frameset.el.
4629         (jump-to-register, describe-register-1): Remove frameset-specific code.
4631 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4633         * allout-widgets.el (allout-widgets-pre-command-business)
4634         (allout-widgets-post-command-business)
4635         (allout-widgets-after-change-handler)
4636         (allout-decorate-item-and-context, allout-set-boundary-marker)
4637         (allout-body-modification-handler)
4638         (allout-graphics-modification-handler): Mark ignored arguments.
4639         (allout-widgets-post-command-business)
4640         (allout-widgets-exposure-change-processor)
4641         (allout-widgets-exposure-undo-processor)
4642         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4643         (allout-parse-item-at-point, allout-decorate-item-guides)
4644         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4645         * allout.el (epa-passphrase-callback-function): Declare.
4646         (allout-overlay-insert-in-front-handler)
4647         (allout-overlay-interior-modification-handler)
4648         (allout-isearch-end-handler, allout-chart-siblings)
4649         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4650         (allout-yank-processing, allout-process-exposed)
4651         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4652         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4653         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4654         (lisp-indent-defform): Mark ignored arguments.
4655         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4656         (calculate-lisp-indent): Remove unused variables.
4657         * international/characters.el (indian-2-column, arabic-2-column)
4658         (tibetan): Mark ignored arguments.
4659         (use-cjk-char-width-table): Mark ignored arguments.
4660         Remove unused variables.
4661         * international/fontset.el (build-default-fontset-data)
4662         (x-compose-font-name, create-fontset-from-fontset-spec):
4663         Mark ignored arguments.
4664         (fontset-plain-name): Remove unused variables.
4665         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4666         (keyboard-coding-system): Mark ignored arguments.
4667         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4668         * help.el (resize-temp-buffer-window):
4669         * window.el (display-buffer-in-major-side-window)
4670         (display-buffer-in-side-window, display-buffer-in-previous-window):
4671         Remove unused variables.
4672         * isearch.el (isearch-forward-symbol):
4673         * version.el (emacs-bzr-version-bzr):
4674         * international/mule-cmds.el (current-language-environment):
4675         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4676         (x-handle-display):
4677         * term/pc-win.el (x-list-fonts, x-display-planes)
4678         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4679         (x-server-version, x-display-screens, x-display-mm-height)
4680         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4681         (x-selection-owner-p, x-own-selection-internal)
4682         (x-disown-selection-internal, x-get-selection-internal)
4683         (msdos-initialize-window-system):
4684         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4685         * term/x-win.el (x-handle-no-bitmap-icon):
4686         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4687         (vc-default-find-file-hook, vc-default-extra-menu):
4688         Mark ignored arguments.
4690 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4692         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4693         break-condition in the context of the debugged code (bug#12685).
4695 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4697         * comint.el:
4698         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4699         (comint-mode): Make comint-last-prompt buffer local.
4700         (comint-last-prompt): New variable.
4701         (comint-last-prompt-overlay): Remove.  Superseded by
4702         comint-last-prompt.
4703         (comint-snapshot-last-prompt, comint-output-filter):
4704         Use comint-last-prompt.
4706 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4708         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4709         (frameset-save): Check validity of the resulting frameset.
4711 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4713         * ido.el (ido-record-command): Add doc string.
4715 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4717         * frameset.el (frameset): Do not disable creation of the default
4718         frameset-p predicate.  Doc fix.
4719         (frameset-valid-p): New function, copied from the old predicate-p.
4720         Add additional checks.
4721         (frameset-restore): Check with frameset-valid-p.
4722         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4723         (frameset-name, frameset-description, frameset-properties)
4724         (frameset-states): Add docstring.
4725         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4726         (frameset-filter-alist): Doc fixes.
4728 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4730         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4732 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4735         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4736         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4737         (byte-compile-normal-call): Remove obsolescence check.
4739 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4741         * frameset.el (frameset-restore): Doc fix.
4743         * register.el (frameset-frame-id, frameset-frame-with-id)
4744         (frameset-p, frameset-restore, frameset-save): Declare.
4745         (register-alist): Document framesets.
4746         (frameset-session-filter-alist): Declare.
4747         (frameset-to-register): New function.
4748         (jump-to-register): Implement jumping to framesets.  Doc fix.
4749         (describe-register-1): Describe framesets.
4751         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4753 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4755         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4756         Use lexical-binding.
4758         * frameset.el (frameset): Use type vector, not list (incompatible
4759         change).  Do not declare a new constructor, use the default one.
4760         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4761         `name' and `description', respectively, and add read-only slot
4762         `timestamp'.  Doc fixes.
4763         (frameset-copy, frameset-persistent-filter-alist)
4764         (frameset-filter-alist, frameset-switch-to-gui-p)
4765         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4766         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4767         (frameset-filter-iconified, frameset-keep-original-display-p):
4768         Doc fixes.
4769         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4770         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4771         Doc fix.
4772         (frameset-p): Adapt to change to vector and be more thorough.
4773         Change arg name to OBJECT.  Doc fix.
4774         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4775         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4776         All callers changed.
4777         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4778         All callers changed.
4779         (frameset--record-minibuffer-relationships): Rename from
4780         frameset--process-minibuffer-frames.  All callers changed.
4781         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4782         Use new default constructor (again).  Doc fix.
4783         (frameset--find-frame-if): Rename from `frameset--find-frame.
4784         All callers changed.
4785         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4786         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4787         Doc fix.
4788         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4789         PARAMETERS and WINDOW-STATE, respectively.
4790         (frameset-restore): Add new keyword argument PREDICATE.
4791         Reset frameset--target-display to nil.  Doc fix.
4793 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4795         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4796         (bat-mode): Use it.
4797         (bat-mode-syntax-table): Mark \n as end-of-comment.
4798         (bat-font-lock-keywords): Remove comment rule.
4800         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4801         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4803         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4804         (byte-compile-callargs-warn): Use `push'.
4805         (byte-compile-arglist-warn): Ignore higher-order "calls".
4806         (byte-compile-file-form-autoload): Use `pcase'.
4807         (byte-compile-function-form): If quoting a symbol, check that it exists.
4809 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4811         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4812         and add a few popular commands found in batch files.
4813         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4814         (dos-mode): Doc fixes.
4816 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4818         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4819         (dos-mode): Use setq-local.  Add space after "rem".
4820         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4821         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4823 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4825         * progmodes/dos.el: New file.
4826         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4827         dos-mode.
4829 2013-08-06  Glenn Morris  <rgm@gnu.org>
4831         * calendar/calendar.el: Add new faces, and day-header-array.
4832         (calendar-weekday-header, calendar-weekend-header)
4833         (calendar-month-header): New faces.
4834         (calendar-day-header-construct): New function.
4835         (calendar-day-header-width): Also :set calendar-day-header-array.
4836         (calendar-american-month-header, calendar-european-month-header)
4837         (calendar-iso-month-header): Use calendar- faces.
4838         (calendar-generate-month):
4839         Use calendar-day-header-array for day headers; apply faces to them.
4840         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4841         (calendar-abbrev-construct): Add optional maxlen argument.
4842         (calendar-day-name-array): Doc fix.
4843         (calendar-day-name-array, calendar-abbrev-length)
4844         (calendar-day-abbrev-array):
4845         Also :set calendar-day-header-array, and maybe redraw.
4846         (calendar-day-header-array): New option.  (Bug#15007)
4847         (calendar-font-lock-keywords): Set to nil and make obsolete.
4848         (calendar-day-name): Add option to use header array.
4850 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4852         * net/shr.el (shr-render-td): Remove debugging.
4853         (shr-render-td): Make width computation consistent by defaulting
4854         all zero-width columns to 10 characters.  This may not be optimal,
4855         but it's at least consistent.
4856         (shr-make-table-1): Redo last change to fix the real problem in
4857         colspan handling.
4859 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4861         * files.el (cache-long-line-scans):
4862         Make obsolete alias to `cache-long-scans'.
4864 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4866         * frameset.el (frameset, frameset-filter-alist)
4867         (frameset-filter-params, frameset-save, frameset--reuse-frame)
4868         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4869         (frameset-compute-pos): Rename from frameset--compute-pos,
4870         and add docstring.
4871         (frameset-move-onscreen): Use frameset-compute-pos.
4872         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4874         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4875         Fix typos in docstrings.
4877 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4879         * frame.el (get-other-frame): Tiny cleanup.
4881 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4883         * vc/vc.el (vc-default-ignore-completion-table):
4884         Silence byte-compiler warning.
4886         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4887         slot , which can indeed be nil.
4888         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4889         Move entry for `left' from persistent to live filter alist.
4890         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4891         Doc fixes.
4892         (frameset-filter-params): When restoring a frame, copy items added to
4893         `filtered', to avoid unwittingly modifying the original parameters.
4894         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
4895         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4897         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4898         to use looking-at-p instead of looking-at.  (Bug#15028)
4900 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4902         Revert introduction of isearch-filter-predicates (bug#14714).
4903         Rely on add-function instead.
4904         * isearch.el (isearch-filter-predicates): Rename it back to
4905         isearch-filter-predicate.
4906         (isearch-message-prefix): Use advice-function-mapc and advice
4907         properties to get the isearch-message-prefix.
4908         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4909         instead of run-hook-with-args-until-failure.
4910         (isearch-filter-visible): Not obsolete any more.
4911         * loadup.el: Preload nadvice.
4912         * replace.el (perform-replace): Revert to funcall
4913         instead of run-hook-with-args-until-failure.
4914         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4915         * dired-aux.el (dired-isearch-filenames-mode): Rename from
4916         dired-isearch-filenames-toggle; make it into a proper minor mode.
4917         Use add/remove-function.
4918         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4919         Call the minor-mode rather than add/remove-hook.
4920         (dired-isearch-filter-filenames):
4921         Remove isearch-message-prefix property.
4922         * info.el (Info--search-loop): New function, extracted from Info-search.
4923         Funcall isearch-filter-predicate instead of
4924         run-hook-with-args-until-failure isearch-filter-predicates.
4925         (Info-search): Use it.
4926         (Info-mode): Use isearch-filter-predicate instead of
4927         isearch-filter-predicates.
4929 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
4931         Do not call to `selected-window' where it is assumed by default.
4932         Affected functions are `window-minibuffer-p', `window-dedicated-p',
4933         `window-hscroll', `window-width', `window-height', `window-buffer',
4934         `window-frame', `window-start', `window-point', `next-window'
4935         and `window-display-table'.
4936         * abbrev.el (abbrev--default-expand):
4937         * bs.el (bs--show-with-configuration):
4938         * buff-menu.el (Buffer-menu-mouse-select):
4939         * calc/calc.el (calc):
4940         * calendar/calendar.el (calendar-generate-window):
4941         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4942         (diary-make-entry):
4943         * comint.el (send-invisible, comint-dynamic-complete-filename)
4944         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4945         * completion.el (complete):
4946         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4947         * disp-table.el (describe-current-display-table):
4948         * doc-view.el (doc-view-insert-image):
4949         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4950         * ehelp.el (with-electric-help):
4951         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4952         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4953         * emacs-lisp/helper.el (Helper-help-scroller):
4954         * emulation/cua-base.el (cua--post-command-handler-1):
4955         * eshell/esh-mode.el (eshell-output-filter):
4956         * ffap.el (ffap-gnus-wrapper):
4957         * help-macro.el (make-help-screen):
4958         * hilit-chg.el (highlight-compare-buffers):
4959         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4960         * hl-line.el (global-hl-line-highlight):
4961         * icomplete.el (icomplete-simple-completing-p):
4962         * isearch.el (isearch-done):
4963         * jit-lock.el (jit-lock-stealth-fontify):
4964         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4965         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4966         * mpc.el (mpc-tagbrowser, mpc):
4967         * net/rcirc.el (rcirc-any-buffer):
4968         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4969         * play/landmark.el (landmark-max-width, landmark-max-height):
4970         * play/zone.el (zone):
4971         * progmodes/compile.el (compilation-goto-locus):
4972         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4973         * progmodes/etags.el (find-tag-other-window):
4974         * progmodes/fortran.el (fortran-column-ruler):
4975         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4976         * progmodes/verilog-mode.el (verilog-point-text):
4977         * reposition.el (reposition-window):
4978         * rot13.el (toggle-rot13-mode):
4979         * server.el (server-switch-buffer):
4980         * shell.el (shell-dynamic-complete-command)
4981         (shell-dynamic-complete-environment-variable):
4982         * simple.el (insert-buffer, set-selective-display)
4983         (delete-completion-window):
4984         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4985         (speedbar-recenter):
4986         * startup.el (fancy-splash-head):
4987         * textmodes/ispell.el (ispell-command-loop):
4988         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4989         * tutorial.el (help-with-tutorial):
4990         * vc/add-log.el (add-change-log-entry):
4991         * vc/compare-w.el (compare-windows):
4992         * vc/ediff-help.el (ediff-indent-help-message):
4993         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4994         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4995         (ediff-setup-control-frame):
4996         * vc/emerge.el (emerge-position-region):
4997         * vc/pcvs-util.el (cvs-bury-buffer):
4998         * window.el (walk-windows, mouse-autoselect-window-select):
4999         * winner.el (winner-set-conf, winner-undo): Related users changed.
5001 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5003         * frameset.el (frameset--set-id): Doc fix.
5004         (frameset-frame-id, frameset-frame-id-equal-p)
5005         (frameset-locate-frame-id): New functions.
5006         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5007         (frameset-restore): Use them.
5009 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5011         Do not call to `selected-frame' where it is assumed by default.
5012         Affected functions are `raise-frame', `redraw-frame',
5013         `frame-first-window', `frame-terminal' and `delete-frame'.
5014         * calendar/appt.el (appt-disp-window):
5015         * epg.el (epg-wait-for-completion):
5016         * follow.el (follow-delete-other-windows-and-split)
5017         (follow-avoid-tail-recenter):
5018         * international/mule.el (set-terminal-coding-system):
5019         * mail/rmail.el (rmail-mail-return):
5020         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5021         * progmodes/f90.el (f90-add-imenu-menu):
5022         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5023         * server.el (server-switch-buffer):
5024         * simple.el (delete-completion-window):
5025         * talk.el (talk):
5026         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5027         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5028         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5029         * vc/ediff.el (ediff-documentation): Related users changed.
5030         * frame.el (selected-terminal): Remove the leftover.
5032 2013-08-05  Glenn Morris  <rgm@gnu.org>
5034         * calendar/calendar.el (calendar-generate-month):
5035         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5036         (calendar-generate-month, calendar-font-lock-keywords):
5037         Fix for calendar-day-header-width > length of any day name.
5039 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5041         * desktop.el (desktop-clear): Use new name of sort predicate.
5043         * frameset.el (frameset): Add docstring.  Move :version property to its
5044         own `version' slot.
5045         (frameset-copy): Rename from copy-frameset.
5046         (frameset-p): Check more thoroughly.
5047         (frameset-prop): Do not check for :version, which is no longer a prop.
5048         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5049         Use new :never value instead of t.
5050         (frameset-filter-alist): Expand and clarify docstring.
5051         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5052         (frameset-filter-minibuffer, frameset-filter-save-param)
5053         (frameset-filter-restore-param, frameset-filter-iconified):
5054         Add pointer to docstring of frameset-filter-alist.
5055         (frameset-filter-params): Rename filter values to be more meaningful:
5056         :never instead of t, and reverse the meanings of :save and :restore.
5057         (frameset--process-minibuffer-frames): Clarify error message.
5058         (frameset-save): Avoid unnecessary and confusing call to framep.
5059         Use new BOA constructor for framesets.
5060         (frameset--reuse-list): Doc fix.
5061         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5062         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5063         (frameset-minibufferless-first-p): Doc fix.
5064         Rename from frameset-sort-frames-for-deletion.
5065         (frameset-restore): Doc fixes.  Use new function names.
5066         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5068 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5070         * desktop.el (desktop-restore-forces-onscreen)
5071         (desktop-restore-reuses-frames): Document :keyword constant values.
5072         (desktop-filter-parameters-alist): Remove, now identical to
5073         frameset-filter-alist.
5074         (desktop--filter-tty*): Remove, moved to frameset.el.
5075         (desktop-save-frameset, desktop-restore-frameset):
5076         Do not pass :filters argument.
5078         * frameset.el (frameset-live-filter-alist)
5079         (frameset-persistent-filter-alist): New variables.
5080         (frameset-filter-alist): Use them.  Add autoload cookie.
5081         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5082         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5083         `frameset--id' (it's supposed to be internal to frameset.el).
5084         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5085         (frameset--initial-params): New function.
5086         (frameset--get-frame): Use it.  Doc fix.
5087         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5088         Accept :all, not 'all.
5089         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5090         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5091         with fbound symbols.  Fix frame id matching, and remove matching ids if
5092         the frame being restored is deleted.  Obey :delete.
5094 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5096         * subr.el (macrop): New function.
5097         (text-clone--maintaining): New var.
5098         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5099         instead of inhibit-modification-hooks.
5101         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5102         a proxy, so as handle autoloads and redefinitions of the target.
5103         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5105         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5106         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5107         (pcase--mutually-exclusive-p): New function.
5108         (pcase--split-consp): Use it.
5109         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5110         mutually exclusive with the current predicate.
5112         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5113         (edebug-macrop): Remove.  Use `macrop' instead.
5114         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5115         (ad-macro-p):
5116         * eshell/esh-cmd.el (eshell-macrop):
5117         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5119 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5121         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5122         (advice-mapc): New function, using it.
5123         (advice-function-member-p): New function.
5124         (advice--normalize): Store the cdr in advice--saved-rewrite since
5125         that's the part that will be changed.
5126         (advice--symbol-function): New function.
5127         (advice-remove): Handle removal before the function is defined.
5128         Adjust to new advice--saved-rewrite.
5129         (advice-member-p): Use advice-function-member-p and
5130         advice--symbol-function.
5132 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5134         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5135         (frameset-filter-minibuffer): Doc fix.
5136         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5137         (frameset--set-id, frameset--process-minibuffer-frames)
5138         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5139         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5141         * desktop.el (desktop-clear): Only delete frames when called
5142         interactively and desktop-restore-frames is non-nil.  Doc fix.
5143         (desktop-read): Set desktop-saved-frameset to nil.
5145 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5147         * vc/vc.el (vc-ignore): Rewrite.
5148         (vc-default-ignore-completion-table):
5149         (vc--read-lines):
5150         (vc--add-line, vc--remove-regexp): New functions.
5152         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5153         (vc-svn-ignore-completion-table): New function.
5155         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5156         (vc-hg-ignore-completion-table):
5157         (vc-hg-find-ignore-file): New functions.
5159         * vc/vc-git.el (vc-git-ignore): Rewrite.
5160         (vc-git-ignore-completion-table):
5161         (vc-git-find-ignore-file): New functions.
5163         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5165         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5166         (vc-bzr-ignore-completion-table):
5167         (vc-bzr-find-ignore-file): New functions.
5169 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5171         * frameset.el (frameset-prop): New function and setter.
5172         (frameset-save): Do not modify frame list passed by the caller.
5174 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5176         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5178 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5180         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5181         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5183         * custom.el (custom-initialize-default, custom-initialize-set)
5184         (custom-initialize-reset, custom-initialize-changed): Affect the
5185         toplevel-default-value (bug#6275, bug#14586).
5186         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5187         for bug#6275.
5189 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5191         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5192         Add cl-def* expressions.
5194         * frameset.el (frameset-filter-params): Fix order of arguments.
5196 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5198         Move code related to saving frames to frameset.el.
5199         * desktop.el: Require frameset.
5200         (desktop-restore-frames): Doc fix.
5201         (desktop-restore-reuses-frames): Rename from
5202         desktop-restoring-reuses-frames.
5203         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5204         (desktop-clear): Clear frames too.
5205         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5206         (desktop--filter-tty*, desktop-save, desktop-read):
5207         Use frameset functions.
5208         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5209         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5210         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5211         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5212         (desktop--process-minibuffer-frames, desktop-save-frames)
5213         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5214         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5215         (desktop--sort-states, desktop-restoring-frames-p)
5216         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5217         (desktop-restoring-frameset-p, desktop-restore-frameset)
5218         (desktop--check-dont-save, desktop-save-frameset): New functions.
5219         (desktop--app-id): New constant.
5220         (desktop-first-buffer, desktop-buffer-ok-count)
5221         (desktop-buffer-fail-count): Move before first use.
5222         * frameset.el: New file.
5224 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5226         * files.el: Use lexical-binding.
5227         (dir-locals-read-from-file): Remove unused `err' variable.
5228         (hack-dir-local-variables--warned-coding): New var.
5229         (hack-dir-local-variables): Use it to avoid repeated warnings.
5230         (make-backup-file-name--default-function): New function.
5231         (make-backup-file-name-function): Use it as default.
5232         (buffer-stale--default-function): New function.
5233         (buffer-stale-function): Use it as default.
5234         (revert-buffer-insert-file-contents--default-function): New function.
5235         (revert-buffer-insert-file-contents-function): Use it as default.
5236         (insert-directory): Avoid add-to-list.
5238         * autorevert.el (auto-revert-handler): Simplify.
5239         Use buffer-stale--default-function.
5241 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5243         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5245         * whitespace.el (whitespace-ensure-local-variables): New function.
5246         (whitespace-cleanup-region): Call it.
5247         (whitespace-turn-on): Call it.
5249 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5251         Complete file name handlers.
5253         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5254         (tramp-handle-verify-visited-file-modtime)
5255         (tramp-handle-file-notify-rm-watch): New functions.
5256         (tramp-call-process): Do not bind `default-directory'.
5258         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5259         Order alphabetically.
5260         [access-file, add-name-to-file, dired-call-process]:
5261         [dired-compress-file, file-acl, file-notify-rm-watch]:
5262         [file-ownership-preserved-p, file-selinux-context]:
5263         [make-directory-internal, make-symbolic-link, set-file-acl]:
5264         [set-file-selinux-context, set-visited-file-modtime]:
5265         [verify-visited-file-modtime]: Add handler.
5266         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5268         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5269         [file-notify-add-watch, file-notify-rm-watch]:
5270         [set-file-times, set-visited-file-modtime]:
5271         [verify-visited-file-modtime]: Add handler.
5272         (with-tramp-gvfs-error-message)
5273         (tramp-gvfs-handle-set-visited-file-modtime)
5274         (tramp-gvfs-fuse-file-name): Remove.
5275         (tramp-gvfs-handle-file-notify-add-watch)
5276         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5277         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5279         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5280         Order alphabetically.
5281         [file-notify-rm-watch ]: Use default Tramp handler.
5282         [executable-find]: Remove private handler.
5283         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5284         `default-directory'.
5285         (tramp-sh-handle-executable-find)
5286         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5287         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5288         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5289         Do not use `format' in `tramp-message'.
5291         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5292         [file-notify-rm-watch, set-visited-file-modtime]:
5293         [verify-visited-file-modtime]: Add handler.
5294         (tramp-smb-call-winexe): Do not bind `default-directory'.
5296 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5298         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5300 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5302         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5303         use it.
5304         (log-view-diff-changeset): Same.
5305         (log-view-diff-common): Call backend command `previous-revision'
5306         to find out the previous revision, in both cases.  Swap the
5307         variables `to' and `fr', so that `fr' usually refers to the
5308         earlier revision (Bug#14989).
5310 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5312         * ibuf-ext.el (ibuffer-filter-by-filename):
5313         Make it work with dired buffers too.
5315 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5317         * emacs-lisp/re-builder.el (reb-color-display-p):
5318         * files.el (save-buffers-kill-terminal):
5319         * net/browse-url.el (browse-url):
5320         * server.el (server-save-buffers-kill-terminal):
5321         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5322         Prefer nil to selected-frame for the first arg of frame-parameter.
5324 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5326         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5328 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5330         * minibuffer.el (completion--twq-all): Try and preserve each
5331         completion's case choice (bug#14907).
5333 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5335         * net/network-stream.el (open-network-stream): Mention the new
5336         :nogreeting parameter.
5337         (network-stream-open-starttls): Use the :nogreeting parameter
5338         (bug#14938).
5340         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5342         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5343         more natural than popping.
5345         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5346         (shr-urlify): Highlight under mouse.
5348 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5350         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5352         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5354         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5355         buffer for output.
5357         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5358         point-min==1.  Fix search string.  Fix parentheses missing.
5360         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5361         assume point-min==1.  Fix search string.  Fix parentheses missing.
5363         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5365         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5366         buffer for output.
5368 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5370         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5371         initial frame is minibuffer-less.  (Bug#14841)
5373 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5375         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5376         option.
5378         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5379         (tramp-maybe-open-connection): Use it.
5381 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5383         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5384         minimal set of parameters passed when creating a frame, because
5385         the minibuffer status of a frame cannot be changed later.
5387 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5389         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5390         replace-regexp-in-string and inadvertent omissions in previous change.
5391         (todo-filter-items): Ensure only file names are comma-separated in
5392         name of filtered items buffer.
5394 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5396         * desktop.el: Optionally force offscreen frames back onscreen.
5397         (desktop-restoring-reuses-frames): New option.
5398         (desktop--compute-pos, desktop--move-onscreen): New functions.
5399         (desktop--make-frame): Use desktop--move-onscreen.
5401 2013-07-27  Alan Mackenzie  <acm@muc.de>
5403         Fontify a Java generic method as a function.
5404         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5405         value to t.
5407 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5409         * calendar/todo-mode.el: Add command to rename todo files.
5410         (todo-rename-file): New command.
5411         (todo-key-bindings-t): Add key binding for it.  Change the
5412         bindings of todo-filter-regexp-items(-multifile) to use `x'
5413         instead of `r', since the latter is better suited to the new
5414         renaming command.
5416 2013-07-27  Alan Mackenzie  <acm@muc.de>
5418         Make Java try-with-resources statement parse properly.
5419         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5420         (c-block-stmt-1-2-key): New language constants/variables.
5421         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5422         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5423         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5424         with c-block-stmt-1-2-key.
5426 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5428         * desktop.el (desktop--make-frame): Apply most frame parameters after
5429         creating the frame to force (partially or totally) offscreen frames to
5430         be restored as such.
5432 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5434         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5435         (Bug#14948)
5437 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5439         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5440         `base' arg of backtrace-frame.
5442 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5444         * simple.el (list-processes): Doc fix.
5446 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5448         * desktop.el (desktop--select-frame):
5449         Try harder to reuse existing frames.
5451 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5453         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5454         (edebug-eval): Use backtrace-eval.
5455         (edebug--display, edebug--recursive-edit): Don't let-bind the
5456         edebug-outer-* vars that keep track of variables we locally let-bind.
5457         (edebug-outside-excursion): Don't restore outside values of locally
5458         let-bound vars.
5459         (edebug--display): Use user-error.
5460         (cl-lexical-debug, cl-debug-env): Remove.
5462 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5464         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5465         are restored to be sure that they are visible before deleting any
5466         remaining ones.
5468 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5470         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5471         vc-print-root-log.  (Bug#14948)
5473 2013-07-26  Richard Stallman  <rms@gnu.org>
5475         Add aliases for encrypting mail.
5476         * epa.el (epa-mail-aliases): New option.
5477         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5478         Bind inhibit-read-only so read-only text doesn't ruin everything.
5479         (epa-mail-default-recipients): New subroutine broken out.
5480         Handle epa-mail-aliases.
5482 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5484         Add support for lexical variables to the debugger's `e' command.
5485         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5486         vars, except for debugger-outer-match-data.
5487         (debugger-frame-number): Move check for "on a function call" from
5488         callers into it.  Add `skip-base' argument.
5489         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5490         (debugger-env-macro): Only reset the state stored in non-variables,
5491         i.e. current-buffer and match-data.
5492         (debugger-eval-expression): Rewrite using backtrace-eval.
5493         * subr.el (internal--called-interactively-p--get-frame): Remove.
5494         (called-interactively-p):
5495         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5496         `base' arg of backtrace-frame instead.
5498 2013-07-26  Glenn Morris  <rgm@gnu.org>
5500         * align.el (align-regexp): Doc fix.  (Bug#14857)
5501         (align-region): Explicit error if subexpression missing/does not match.
5503         * simple.el (global-visual-line-mode):
5504         Do not duplicate the mode lighter.  (Bug#14858)
5506 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5508         * window.el (display-buffer): In display-buffer bind
5509         split-window-keep-point to t, bug#14829.
5511 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5513         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5514         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5515         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5516         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5517         Change accordingly.
5518         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5519         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5521 2013-07-25  Glenn Morris  <rgm@gnu.org>
5523         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5525 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5527         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5528         parameter to modify-frame-parameters if the value has not changed;
5529         this is a workaround for bug#14949.
5530         (desktop--make-frame): On cl-delete-if call, check parameter name,
5531         not full parameter.
5533 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5535         * vc/vc.el (vc-ignore): New function.
5537         * vc/vc-svn.el (vc-svn-ignore): New function.
5539         * vc/vc-hg.el (vc-hg-ignore): New function.
5541         * vc/vc-git.el (vc-git-ignore): New function.
5543         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5544         (vc-dir-ignore): New function.
5546         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5547         (cvs-append-to-ignore): Move here from pcvs.el.
5549         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5551         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5553 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5555         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5556         (desktop-restore-frames): Warn when deleting an existing frame failed.
5558 2013-07-24  Glenn Morris  <rgm@gnu.org>
5560         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5562 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5564         * filenotify.el (file-notify-supported-p):
5565         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5566         Remove functions.
5568         * autorevert.el (auto-revert-use-notify):
5569         (auto-revert-notify-add-watch):
5570         * net/tramp.el (tramp-file-name-for-operation):
5571         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5572         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5573         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5574         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5575         Remove `file-notify-supported-p' entry.
5577 2013-07-24  Glenn Morris  <rgm@gnu.org>
5579         * printing.el: Replace all uses of deleted ps-windows-system,
5580         ps-lp-system, ps-flatten-list with lpr- versions.
5582 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5584         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5585         checked with memq (bug#14935).
5587         * files.el (revert-buffer-function): Use a non-nil default.
5588         (revert-buffer-preserve-modes): Declare var to
5589         provide access to the `preserve-modes' argument.
5590         (revert-buffer): Let-bind it.
5591         (revert-buffer--default): New function, extracted from revert-buffer.
5593 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5595         * lpr.el: Signal print errors more prominently.
5596         (print-region-function): Don't default to nil.
5597         (lpr-print-region): New function, extracted from print-region-1.
5598         Check lpr's return value and signal an error in case of problem.
5599         (print-region-1): Use it.
5600         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5601         versions instead.
5602         (ps-printer-name): Default to nil.
5603         (ps-printer-name-option): Default to lpr-printer-switch.
5604         (ps-print-region-function): Don't default to nil.
5605         (ps-postscript-code-directory): Simplify default.
5606         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5607         (ps-string-list, ps-eval-switch, ps-flatten-list)
5608         (ps-flatten-list-1): Remove.
5609         (ps-multibyte-buffer): Avoid setq.
5610         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5611         (print-region-function, ps-print-region-function): Don't set them here.
5613 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5615         * ido.el (ido-fractionp):
5616         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5617         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5618         (ido-max-directory-size, ido-max-dir-file-cache)
5619         (ido-decorations): Doc fix.
5621         * ansi-color.el: Fix old URL.
5623 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5625         * progmodes/sql.el: Version 3.3
5626         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5627         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5628         (sql-interactive-remove-continuation-prompt): Rewrite, use
5629         functions above.  Fix continuation prompt and complete output line
5630         handling.
5631         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5632         redirected output buffer.
5633         (sql-mode): Restore deleted code (Bug#13591).
5635 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5637         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5639 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5641         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5643         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5644         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5645         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5647 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5649         * desktop.el (desktop-clear): Simplify; remove useless checks
5650         against invalid buffer names.
5651         (desktop-list*): Use cl-list*.
5652         (desktop-buffer-info, desktop-create-buffer): Simplify.
5654 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5656         * bookmark.el (bookmark-make-record): Restore NAME as a default
5657         value.  (Bug#14933)
5659 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5662         extracted from autoload--insert-text.
5663         (autoload--insert-text): Remove.
5664         (autoload--print-cookie-text): New function, extracted from
5665         autoload--insert-cookie-text.
5666         (autoload--insert-cookie-text): Remove.
5667         (autoload-generate-file-autoloads): Adjust calls accordingly.
5669         * winner.el (winner-hook-installed-p): Remove.
5670         (winner-mode): Simplify accordingly.
5672         * subr.el (add-to-list): Fix compiler-macro when `append' is
5673         not constant.  Don't use `cl-member' for the base case.
5675         * progmodes/subword.el: Fix boundary case (bug#13758).
5676         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5677         own group.
5678         (subword-backward-regexp): Make it a constant.
5679         (subword-forward-internal): Don't treat a trailing capital as the
5680         beginning of a word.
5682 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5684         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5685         global value of tabulated-list-revert-hook (bug#14930).
5687 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5689         * desktop.el: Require 'cl-lib.
5690         (desktop-before-saving-frames-functions): New hook.
5691         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5692         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5693         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5694         Do not save frames with non-nil `desktop-dont-save' parameter.
5695         Filter out deleted frames.
5696         (desktop--find-frame): Use cl-find-if.
5697         (desktop--select-frame): Use cl-(first|second|third) to access values
5698         of desktop-mini.
5699         (desktop--make-frame): Use cl-delete-if.
5700         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5701         (desktop-restore-frames): Use cl-(first|second|third) to access values
5702         of desktop-mini.  Look for visible frame at the end, not while
5703         restoring frames.
5705         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5706         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5707         Use string-match-p, looking-at-p (bug#14927).
5709 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5711         * desktop.el (desktop-saved-frame-states):
5712         Rename from desktop--saved-states; all users changed.
5713         (desktop-save-frames): Rename from desktop--save-frames.
5714         Do not save state to desktop file.
5715         (desktop-save): Save desktop-saved-frame-states to desktop file
5716         and reset to nil.
5717         (desktop-restoring-frames-p): New function.
5718         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5719         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5720         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5722         * desktop.el: Correctly restore iconified frames.
5723         (desktop--filter-iconified-position): New function.
5724         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5726 2013-07-20  Glenn Morris  <rgm@gnu.org>
5728         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5729         Let `message' do the formatting.
5730         (def-gdb-preempt-display-buffer): Add explicit format.
5732         * image-dired.el (image-dired-track-original-file):
5733         Use with-current-buffer.
5734         (image-dired-track-thumbnail): Use with-current-buffer.
5735         Avoid changing point of wrong window.
5737         * image-dired.el (image-dired-track-original-file):
5738         Avoid changing point of wrong window.  (Bug#14909)
5740 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5742         * progmodes/gdb-mi.el (gdb-done-or-error):
5743         Guard against "%" in gdb output.  (Bug#14127)
5745 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5747         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5748         (Bug#14826)
5750         * international/mule.el (coding-system-iso-2022-flags): Fix last
5751         change.
5753 2013-07-20  Kenichi Handa  <handa@gnu.org>
5755         * international/mule.el (coding-system-iso-2022-flags):
5756         Add `8-bit-level-4'.  (Bug#8522)
5758 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5760         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5761         (bug#14815).
5763         * net/eww.el (eww-process-text-input): Allow inputting when the
5764         point is at the start of the line, as the properties aren't
5765         front-sticky.
5767         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5768         degenerate widths.
5770 2013-07-19  Richard Stallman  <rms@gnu.org>
5772         * epa.el (epa-popup-info-window): Doc fix.
5774         * subr.el (split-string): New arg TRIM.
5776 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5778         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5779         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5781 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5783         * filenotify.el (file-notify--library): Rename from
5784         `file-notify-support'.  Do not autoload.  Adapt all uses.
5785         (file-notify-supported-p): New defun.
5787         * autorevert.el (auto-revert-use-notify):
5788         Use `file-notify-supported-p' instead of `file-notify-support'.
5789         Adapt docstring.
5790         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5792         * net/tramp.el (tramp-file-name-for-operation):
5793         Add `file-notify-supported-p'.
5795         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5796         New defun.
5797         (tramp-sh-file-name-handler-alist): Add it as handler for
5798         `file-notify-supported-p '.
5800         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5801         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5802         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5803         Add `ignore' as handler for `file-notify-*' functions.
5805 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5807         * simple.el (line-move-partial, line-move): Don't start vscroll or
5808         scroll-up if the current line is not taller than the window.
5809         (Bug#14881)
5811 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5813         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5814         highlight question marks in the method names as strings.
5815         (ruby-block-beg-keywords): Inline.
5816         (ruby-font-lock-keyword-beg-re): Extract from
5817         `ruby-font-lock-keywords'.
5819 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5821         * frame.el (blink-cursor-blinks): New defcustom.
5822         (blink-cursor-blinks-done): New defvar.
5823         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5824         (blink-cursor-timer-function): Check if number of blinks has been
5825         done on X and NS.
5826         (blink-cursor-suspend, blink-cursor-check): New defuns.
5828 2013-07-15  Glenn Morris  <rgm@gnu.org>
5830         * edmacro.el (edmacro-format-keys): Fix previous change.
5832 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5834         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5835         The hack didn't work outside English locales anyway.
5837 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5839         * simple.el (define-alternatives): Rename from alternatives-define,
5840         per RMS' suggestion.
5842 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5844         * desktop.el (desktop-restore-frames): Change default to t.
5845         (desktop-restore-in-current-display): Now offer more options.
5846         (desktop-restoring-reuses-frames): New customization option.
5847         (desktop--saved-states): Doc fix.
5848         (desktop-filter-parameters-alist): New variable, renamed and expanded
5849         from desktop--excluded-frame-parameters.
5850         (desktop--target-display): New variable.
5851         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5852         (desktop--filter-tty*, desktop--filter-*-color)
5853         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5854         (desktop--filter-save-desktop-parm)
5855         (desktop-restore-in-original-display-p): New functions.
5856         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5857         (desktop--save-minibuffer-frames): New function, inspired by a similar
5858         function from Martin Rudalics.
5859         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5860         (desktop--restore-in-this-display-p): Remove.
5861         (desktop--find-frame): Rename from desktop--find-frame-in-display
5862         and add predicate argument.
5863         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5864         (desktop--reuse-list): New variable.
5865         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5866         New functions.
5867         (desktop--restore-frames): Add support for "minibuffer-special" frames.
5869 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
5871         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5873 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
5875         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5876         Highlight conversion methods on Kernel.
5878 2013-07-13  Alan Mackenzie  <acm@muc.de>
5880         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5881         and comment it out.  This out-commenting enables certain C++
5882         declarations to be parsed correctly.
5884 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
5886         * international/mule.el (define-coding-system): Doc fix.
5888         * simple.el (default-font-height): Don't call font-info if the
5889         frame's default font didn't change since the frame was created.
5890         (Bug#14838)
5892 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5894         * ido.el (ido-read-file-name): Guard against non-symbol value.
5896 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5898         * progmodes/python.el (python-imenu--build-tree): Fix corner case
5899         in nested defuns.
5901 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5903         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5904         ido-set-matches call.  (Bug#6852)
5906 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
5908         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5909         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5910         Ruby 2.0.
5911         (ruby-font-lock-keywords): Distinguish calls to functions with
5912         module-like names from module references.  Highlight character
5913         literals.
5915 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5917         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5918         (gdb-send): Handle continued commands.  (Bug#14847)
5920 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5922         * desktop.el (desktop--v2s): Remove unused local variable.
5923         (desktop-save-buffer): Make defvar-local; adjust docstring.
5924         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5925         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5927 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5929         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5931 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
5933         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5934         (Bug#14842)
5936 2013-07-12  Glenn Morris  <rgm@gnu.org>
5938         * doc-view.el: Require cl-lib at runtime too.
5939         (doc-view-remove-if): Remove.
5940         (doc-view-search-next-match, doc-view-search-previous-match):
5941         Use cl-remove-if.
5943         * edmacro.el: Require cl-lib at runtime too.
5944         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5945         (edmacro-mismatch, edmacro-subseq): Remove.
5947         * shadowfile.el: Require cl-lib.
5948         (shadow-remove-if): Remove.
5949         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5950         Use cl-remove-if.
5952         * wid-edit.el: Require cl-lib.
5953         (widget-choose): Use cl-remove-if.
5954         (widget-remove-if): Remove.
5956         * progmodes/ebrowse.el: Require cl-lib at runtime too.
5957         (ebrowse-delete-if-not): Remove.
5958         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5959         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5960         Use cl-delete-if-not.
5962 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5964         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5965         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5967 2013-07-12  Leo Liu  <sdl.web@gmail.com>
5969         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
5971 2013-07-11  Glenn Morris  <rgm@gnu.org>
5973         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5974         (edebug-gensym-index, edebug-gensym):
5975         Remove reimplementation of cl-gensym.
5976         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5978         * thumbs.el: Require cl-lib at run-time too.
5979         (thumbs-gensym-counter, thumbs-gensym):
5980         Remove reimplementation of cl-gensym.
5981         (thumbs-temp-file): Use cl-gensym.
5983         * emacs-lisp/ert.el: Require cl-lib at runtime too.
5984         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5985         (ert--intersection, ert--set-difference, ert--set-difference-eq)
5986         (ert--union, ert--gensym-counter, ert--gensym-counter)
5987         (ert--coerce-to-vector, ert--remove*, ert--string-position)
5988         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5989         (ert-make-test-unbound, ert--expand-should-1)
5990         (ert--expand-should, ert--should-error-handle-error)
5991         (should-error, ert--explain-equal-rec)
5992         (ert--plist-difference-explanation, ert-select-tests)
5993         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5994         Use cl-lib functions rather than reimplementations.
5996 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
5998         * net/tramp.el (tramp-methods): Extend docstring.
5999         (tramp-connection-timeout): New defcustom.
6000         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6001         (with-tramp-progress-reporter): Simplify.
6002         (tramp-process-actions): Improve messages.
6004         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6005         * net/tramp-sh.el (tramp-maybe-open-connection):
6006         Use `tramp-connection-timeout'.
6007         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6008         (Bug#14808)
6010 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6012         * ido.el (ido-read-file-name): Conform to the requirements of
6013         read-file-name.  (Bug#11861)
6014         (ido-read-directory-name): Conform to the requirements of
6015         read-directory-name.
6017 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6019         * subr.el (delay-warning): New function.
6021 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6023         * simple.el (default-line-height): New function.
6024         (line-move-partial, line-move): Use it instead of computing the
6025         line height inline.
6026         (line-move-partial): Always compute ROWH.  If the last line is
6027         partially-visible, but its text is completely visible, allow
6028         cursor to enter such a partially-visible line.
6030 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6032         Improve error messages.  (Bug#14808)
6034         * net/tramp.el (tramp-current-connection): New defvar, moved from
6035         tramp-sh.el.
6036         (tramp-message-show-progress-reporter-message): Remove, not
6037         needed anymore.
6038         (tramp-error-with-buffer): Show message in minibuffer.
6039         Discard input before waiting.  Reset connection timestamp.
6040         (with-tramp-progress-reporter): Improve messages.
6041         (tramp-process-actions): Use progress reporter.  Delete process in
6042         case of error.  Improve messages.
6044         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6045         Call `tramp-error-with-buffer' with vector and buffer.
6046         (tramp-current-connection): Remove.
6047         (tramp-maybe-open-connection): The car of
6048         `tramp-current-connection' are the first 3 slots of the vector.
6050 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6052         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6053         inside continued strings.
6055 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6057         Timestamp fixes for undo (Bug#14824).
6058         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6060 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6062         * files.el (require-final-newline): Allow safe local value.
6063         (Bug#14834)
6065 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6067         * ido.el (ido-read-directory-name): Handle fallback.
6068         (ido-read-file-name): Update DIR to ido-current-directory.
6069         (Bug#1516)
6070         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6072 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6074         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6075         "autoload".  Remove "warn lower camel case" section, previously
6076         commented out.  Highlight negation char.  Do not highlight the
6077         target in singleton method definitions.
6079 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         * faces.el (tty-setup-hook): Declare the hook.
6083         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6084         and detect when a guard/pred depends on local vars (bug#14773).
6085         (pcase--u1): Adjust caller.
6087 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6089         * simple.el (line-move-partial, line-move): Account for
6090         line-spacing.
6091         (line-move-partial): Avoid setting vscroll when the last
6092         partially-visible line in window is of default height.
6094 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6096         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6097         been used a while.
6099 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6101         * subr.el (read-quoted-char): Remove unused local variable `char'.
6103 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6105         * ediff.el (ediff-version): Version update.
6106         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6107         (ediff-merge-with-ancestor-command, ediff-directories-command)
6108         (ediff-directories3-command, ediff-merge-directories-command)
6109         (ediff-merge-directories-with-ancestor-command): New functions.
6110         All are command-line interfaces to ediff: to facilitate calling
6111         Emacs with the appropriate ediff functions invoked.
6113         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6114         (viper-save-kill-buffer): Check if buffer is modified.
6116         * viper.el (viper-version): Version update.
6117         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6119 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6121         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6122         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6123         (viper-intercept-ESC-key): Simplify.
6124         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6125         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6126         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6127         (viper-setup-ESC-to-escape): New functions.
6128         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6129         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6131 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6133         * simple.el (default-font-height, window-screen-lines):
6134         New functions.
6135         (line-move, line-move-partial): Use them instead of
6136         frame-char-height and window-text-height.  This makes scrolling
6137         text smoother when the buffer's default face uses a font that is
6138         different from the frame's default font.
6140 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6142         * files.el (write-file): Do not display confirm dialog for NS,
6143         it does its own dialog, which can't be cancelled (Bug#14578).
6145 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6147         * simple.el (line-move-partial): Adjust the row returned by
6148         posn-at-point for the current window-vscroll.  (Bug#14567)
6150 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6152         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6153         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6154         spaces.
6156 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6158         * window.el (window-state-put-stale-windows): New variable.
6159         (window--state-put-2): Save list of windows without matching buffer.
6160         (window-state-put): Remove "bufferless" windows if possible.
6162 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6164         * simple.el (alternatives-define): Remove leftover :group keyword.
6165         Tweak docstring.
6167 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6169         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6170         (ido-enable-virtual-buffers): New variable.
6171         (ido-buffer-internal, ido-toggle-virtual-buffers)
6172         (ido-make-buffer-list): Use it.
6173         (ido-exhibit): Support turning on and off virtual buffers
6174         automatically.
6176 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6178         * simple.el (alternatives-define): New macro.
6180 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6182         * subr.el (read-quoted-char): Use read-key.
6183         (sit-for): Let read-event decode tty input (bug#14782).
6185 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6187         * calendar/todo-mode.el: Add handling of file deletion, both by
6188         mode command and externally.  Fix various related bugs.
6189         Clarify Commentary and improve some documentation strings and code.
6190         (todo-delete-file): New command.
6191         (todo-check-file): New function.
6192         (todo-show): Handle external deletion of the file we're trying to
6193         show (bug#14688).  Replace called-interactively-p by an optional
6194         prefix argument to avoid problematic interaction with catch form
6195         when byte compiled (bug#14702).
6196         (todo-quit): Handle external deletion of the archive's todo file.
6197         Make sure the buffer that was visiting the archive file is still
6198         live before trying to bury it.
6199         (todo-category-completions): Handle external deletion of any
6200         category completion files.
6201         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6202         of todo files, in case of external deletion.
6203         (todo-add-file): Replace unnecessary setq by let-binding.
6204         (todo-find-archive): Check whether there are any archives.
6205         Replace unnecessary setq by let-binding.
6206         (todo-archive-done-item): Use find-file-noselect to get the
6207         archive buffer whether or not the archive already exists.
6208         Remove superfluous code.  Use file size instead of buffer-file-name to
6209         check if the archive is new; if it is, update list of archives.
6210         (todo-default-todo-file): Allow nil to be a valid value for when
6211         there are no todo files.
6212         (todo-reevaluate-default-file-defcustom): Use corrected definition
6213         of todo-default-todo-file.
6214         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6215         (todo-delete-category, todo-show-categories-table)
6216         (todo-category-number): Clarify comment.
6217         (todo-filter-items): Clarify documentation string.
6218         (todo-show-current-file, todo-display-as-todo-file)
6219         (todo-reset-and-enable-done-separator): Tweak documentation string.
6220         (todo-done-separator): Make separator length window-width, since
6221         bug#2749 is now fixed.
6223 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6225         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6226         Support both "gvfs-monitor-dir" and "inotifywait".
6227         (tramp-sh-file-inotifywait-process-filter): Rename from
6228         `tramp-sh-file-notify-process-filter'.
6229         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6230         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6232 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6234         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6236 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6238         * frame.el (display-pixel-height, display-pixel-width)
6239         (display-mm-height, display-mm-width): Mention behavior on
6240         multi-monitor setups in docstrings.
6241         (w32-display-monitor-attributes-list): Declare function.
6242         (display-monitor-attributes-list): Use it.
6244 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6246         * filenotify.el: New package.
6248         * autorevert.el (top): Require filenotify.el.
6249         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6250         instead.
6251         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6252         (auto-revert-notify-handler): Use `file-notify-*' functions.
6254         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6256         * net/tramp.el (tramp-file-name-for-operation):
6257         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6259         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6260         for `file-notify-add-watch' and `file-notify-rm-watch'.
6261         (tramp-process-sentinel): Improve trace.
6262         (tramp-sh-handle-file-notify-add-watch)
6263         (tramp-sh-file-notify-process-filter)
6264         (tramp-sh-handle-file-notify-rm-watch)
6265         (tramp-get-remote-inotifywait): New defuns.
6267 2013-07-03  Juri Linkov  <juri@jurta.org>
6269         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6270         call of `occur-read-primary-args' to interactive spec.
6272         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6273         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6275 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6277         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6278         `Buffer-menu-multi-occur'.  Add it to the menu.
6279         (Buffer-menu-mode): Document it in docstring.
6280         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6282 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6284         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6285         keywords and built-ins.
6287 2013-07-03  Glenn Morris  <rgm@gnu.org>
6289         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6291         Make info-xref checks case-sensitive by default
6292         * info.el (Info-find-node, Info-find-in-tag-table)
6293         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6294         Add option for exact case matching of nodes.
6295         * info-xref.el (info-xref): New custom group.
6296         (info-xref-case-fold): New option.
6297         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6299 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6301         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6303 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6305         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6306         middle of block statement initially, lower the depth.  Remove
6307         FIXME comment, not longer valid.  Remove middle of block statement
6308         detection, no need to do that anymore since we've been using
6309         `ruby-parse-region' here.
6311 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6313         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6315 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6317         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6319 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6321         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6322         (desktop-restore-in-current-display): New customization option.
6323         (desktop--excluded-frame-parameters): Add `font'.
6324         (desktop--save-frames): Rename from desktop--save-windows.
6325         (desktop--restore-in-this-display-p): New function.
6326         (desktop--make-full-frame): Remove unwanted width/height from
6327         full(width|height) frames.
6328         (desktop--restore-frames): Rename from desktop--restore-windows.
6329         Obey desktop-restore-current-display.  Do not delete old frames or
6330         select a new frame unless we were able to restore at least one frame.
6332 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6334         * files.el (find-file-noselect): Simplify conditional expression.
6336         * remember.el (remember-append-to-file):
6337         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6339         Add `remember-notes' function to store random notes across Emacs
6340         restarts.
6341         * remember.el (remember-data-file): Add :set callback to affect
6342         notes buffer (if any).
6343         (remember-notes): New command.
6344         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6345         New defcustoms for the `remember-notes' function.
6346         (remember-notes-save-and-bury-buffer): New command.
6347         (remember-notes-mode-map): New variable.
6348         (remember-mode): New minor mode.
6349         (remember-notes--kill-buffer-query): New function.
6350         * startup.el (initial-buffer-choice): Add notes to custom type.
6352 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6354         * bindings.el (right-char, left-char): Don't call sit-for, this is
6355         no longer needed.  Use arithmetic comparison only for numerical
6356         arguments.
6358         * international/mule-cmds.el (select-safe-coding-system):
6359         Handle the case of FROM being a string correctly.  (Bug#14755)
6361 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6363         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6364         progression on degenerate tables.
6365         (shr-rescale-image): ImageMagick animated images currently don't work.
6367 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6369         Some fixes and improvements for desktop frame restoration.
6370         It is still experimental and disabled by default.
6371         * desktop.el (desktop--save-windows): Put the selected frame at
6372         the head of the list.
6373         (desktop--make-full-frame): New function.
6374         (desktop--restore-windows): Try to re-select the frame that was
6375         selected upon saving.  Do not abort if some frames fail to restore,
6376         just show an error message and continue.  Set up maximized frames
6377         so they have default non-maximized dimensions.
6379 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6381         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6382         Don't start heredoc inside a string or comment.
6384 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6386         * bindings.el (visual-order-cursor-movement): New defcustom.
6387         (right-char, left-char): Provide visual-order cursor motion by
6388         calling move-point-visually.  Update the doc strings.
6390 2013-06-28  Kenichi Handa  <handa@gnu.org>
6392         * international/mule.el (define-coding-system): New coding system
6393         properties :inhibit-null-byte-detection,
6394         :inhibit-iso-escape-detection, and :prefer-utf-8.
6395         (set-buffer-file-coding-system): If :charset-list property of
6396         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6397         appropriate for setting.
6399         * international/mule-cmds.el (select-safe-coding-system):
6400         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6401         multibyte characters, return utf-8 (or one of its siblings).
6403         * international/mule-conf.el (prefer-utf-8): New coding system.
6404         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6405         files.
6407 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6409         * net/shr.el (shr-render-region): New function.
6411         * net/eww.el: Autoload `eww-browse-url'.
6413 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6415         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6416         Adapt to `package-desc-version' being a list.
6417         Use `package--ac-desc-version' to retrieve version from a package
6418         archive element.
6420 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6422         New experimental feature to save&restore window and frame setup.
6423         * desktop.el (desktop-save-windows): New defcustom.
6424         (desktop--saved-states): New var.
6425         (desktop--excluded-frame-parameters): New defconst.
6426         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6427         (desktop--restore-windows, desktop--save-windows): New functions.
6428         (desktop-save): Call `desktop--save-windows'.
6429         (desktop-read): Call `desktop--restore-windows'.
6431 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6433         * net/shr.el (add-face-text-property): Remove compat definition.
6435 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6437         * info.el (Info-try-follow-nearest-node): Move search for footnote
6438         above search for node name to prevent missing a footnote (bug#14717).
6440 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6442         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6444 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6446         * net/eww.el (eww-read-bookmarks): Check file size.
6448 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6450         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6451         advice--pending if newdef is nil or an autoload (bug#13820).
6452         (advice-mapc): New function.
6454 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6456         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6457         probably.
6458         (eww-mode-map): Add a menu bar.
6459         (eww-add-bookmark): New command.
6460         (eww-bookmark-mode): New mode and commands.
6461         (eww-add-bookmark): Remove newlines from the title.
6462         (eww-bookmark-browse): Don't bug out if it's the only window.
6464 2013-06-26  Glenn Morris  <rgm@gnu.org>
6466         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6467         (hfy-size): Handle ttys.  (Bug#14668)
6469         * info-xref.el: Update for Texinfo 5 change in *note format.
6470         (info-xref-node-re, info-xref-note-re): New constants.
6471         (info-xref-check-buffer): Use info-xref-note-re.
6473 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6475         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6477         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6478         nil terminate the loop (bug#14718).
6480 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6482         * net/eww.el: Rework history traversal.  When going forward/back,
6483         put these actions into the history, too, so that they can be
6484         replayed.
6485         (eww-render): Move the history reset to the correct buffer.
6487 2013-06-25  Juri Linkov  <juri@jurta.org>
6489         * files-x.el (modify-dir-local-variable): Change the header comment
6490         in the file with directory local variables.  (Bug#14692)
6492         * files-x.el (read-file-local-variable-value): Add `default'.
6493         (Bug#14710)
6495 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6497         * net/eww.el (eww-make-unique-file-name): Create a unique file
6498         name before saving to entering `y' accidentally asynchronously.
6500 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6502         * net/eww.el (eww-download): New command and keystroke.
6504 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6506         * net/eww.el (eww-copy-page-url): Change name of command.
6508         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6509         be more consistent with Info and dired.
6511         * net/eww.el (eww-mode-map): Ditto.
6513 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6515         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6516         packages from archives.
6517         (package-archive-contents): Change format; include obsolete packages.
6518         (package-desc): Use `dir' to mark builtin packages.
6519         (package--from-builtin): Set the `dir' field to `builtin'.
6520         (generated-autoload-file, version-control): Declare.
6521         (package-compute-transaction): Change first arg and return value to be
6522         lists of package-descs.  Adjust to new package-archive-contents format.
6523         (package--add-to-archive-contents): Adjust to new
6524         package-archive-contents format.
6525         (package-download-transaction): Arg is now a list of package-descs.
6526         (package-install): If `pkg' is a package name, pass it as
6527         a requirement, so it is subject to the usual (e.g. disabled) checks.
6528         (describe-package): Accept package-desc as well.
6529         (describe-package-1): Describe a specific package-desc.  Add links to
6530         other package-descs for the same package name.
6531         (package-menu-describe-package): Pass the actual package-desc.
6532         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6533         works correctly.
6534         (package-desc-status): New function.
6535         (package-menu--refresh): New function, extracted
6536         from package-menu--generate.
6537         (package-menu--generate): Use it.
6538         (package-delete): Update package-alist.
6539         (package-menu-execute): Don't call package-initialize.
6541         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6542         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6543         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6544         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6545         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6546         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6548 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6550         * window.el (window--state-get-1): Workaround for bug#14527.
6551         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6553 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6555         * net/eww.el (eww-back-url): Implement the history by stashing all
6556         the data into a list.
6557         (eww-forward-url): Allow going forward in the history, too.
6559 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6562         for values and use read--expression for expressions (bug#14710).
6563         (read-file-local-variable): Avoid setq.
6564         (read-file-local-variable-mode): Use minor-mode-list.
6566 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6568         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6569         for DOI URLs.
6571 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6573         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6574         Update imenu-support when dialect changes.
6576 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6578         * ido.el (ido-read-internal): Allow forward slash on windows.
6580 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6582         * net/eww.el (eww): Start of strings is \\`, not ^.
6584 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6586         * net/shr.el (shr-browse-url): Fix interactive spec.
6588         * net/eww.el (eww): Add a trailing slash to domain names.
6590 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6592         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6594 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6596         * net/shr.el (shr-browse-url): Use an external browser if given a
6597         prefix.
6599         * net/eww.el (eww-external-browser): Move to shr.
6601 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6603         * net/eww.el (eww): Work more correctly for file: URLs.
6604         (eww-detect-charset): Allow quoted charsets.
6605         (eww-yank-page-url): New command and keystroke.
6607 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6609         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6610         file name of gpg executable.
6611         (epg-context-program): New function.
6612         (epg-context-home-directory): New function.
6613         (epg-context-set-program): New function.
6614         (epg-context-set-home-directory): New function.
6615         (epg--start): Use `epg-context-program' instead of
6616         'epg-gpg-program'.
6617         (epg--list-keys-1): Likewise.
6619 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6621         * ido.el (ido-read-internal): Fix bug#14620.
6623 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6625         * faces.el (face-documentation): Simplify.
6626         (read-face-attribute, tty-find-type, x-resolve-font-name):
6627         Use `string-match-p'.
6628         (list-faces-display): Use `string-match-p'.  Simplify.
6629         (face-spec-recalc): Check face to avoid face alias loops.
6630         (read-color): Use `string-match-p' and non-capturing parenthesis.
6632 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6634         * net/shr.el (shr-rescale-image): Use the new
6635         :max-width/:max-height functionality.
6637 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6639         * net/eww.el (eww-search-prefix): New variable.
6640         (eww): Use it.
6641         (eww-external-browser): New variable.
6642         (eww-mode-map): New keystroke.
6643         (eww-browse-with-external-browser): New command.
6645         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6647 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6649         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6650         Don't skip aligning the next header field when padding is 0;
6651         otherwise, field width is not respected unless the title is as
6652         wide as the field.
6654 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6656         * emacs-lisp/package.el (package-el-version): Remove.
6657         (package-process-define-package): Fix inf-loop.
6658         (package-install): Allow symbols as arguments again.
6660 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6662         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6663         add some more keyword-like methods.
6664         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6666 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6668         * bs.el (bs-buffer-show-mark): Make defvar-local.
6669         (bs-mode): Use setq-local.
6671         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6672         (emacs-lock--try-unlocking): Make defvar-local.
6674 2013-06-22  Glenn Morris  <rgm@gnu.org>
6676         * play/cookie1.el (cookie-apropos): Minor simplification.
6678         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6680 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6682         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6683         `regexp-opt', it breaks the build during dumping.
6685 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6687         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6688         Highlight keyword-like methods on Kernel and Module with
6689         font-lock-builtin-face.
6690         (auto-mode-alist): Consolidate different entries into one regexp
6691         and add more *file-s.
6693 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6695         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6697         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6698         (diary-entry): Use it in the action of this button type instead of
6699         diary-goto-entry.
6701         * calendar/todo-mode.el: New version.
6702         (todo-add-category): Append new category to end of file and give
6703         it the highest number, instead of putting it at the beginning and
6704         giving it 0.  Incorporate noninteractive functionality.
6705         (todo-forward-category): Adapt to 1-based category numbering.
6706         Allow skipping over archived categories.
6707         (todo-backward-category): Derive from todo-forward-category.
6708         (todo-backward-item, todo-forward-item): Make noninteractive and
6709         delegate interactive part to new commands.  Make sensitive to done items.
6710         (todo-categories): Make value an alist of category names and
6711         vectors of item counts.
6712         (todo-category-beg): Make a defconst.
6713         (todo-category-number): Use 1 instead of 0 as initial value.
6714         (todo-category-select): Make sensitive to overlays, optional item
6715         highlighting and done items.
6716         (todo-delete-item): Make sensitive to overlays and marked and done items.
6717         (todo-edit-item): Make sensitive to overlays and editing of
6718         date/time header optional.  Add format checks.
6719         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6720         no-op if point is not on an item.  Advertise using todo-edit-quit.
6721         (todo-edit-mode): Make sensitive to new format, font-locking, and
6722         multiple todo files.
6723         (todo-insert-item, todo-insert-item-here): Derive from
6724         todo-basic-insert-item and extend functionality.
6725         (todo-item-end, todo-item-start): Make sensitive to done items.
6726         (todo-item-string): Don't return text properties.  Restore point.
6727         (todo-jump-to-category): Make sensitive to multiple todo files and
6728         todo archives.  Use extended category completion.
6729         (todo-lower-item, todo-raise-item): Rename to *-priority and
6730         derive from todo-set-item-priority.
6731         (todo-mode): Derive from special-mode.  Make sensitive to new
6732         format, font-locking and multiple todo files.  Make read-only.
6733         (todo-mode-map): Don't suppress digit keys, so they can supply
6734         prefix arguments.  Add many new key bindings.
6735         (todo-prefix): Insert as an overlay instead of file text.
6736         Change semantics from diary date expression to purely visual mark.
6737         (todo-print): Rename to todo-print-buffer.  Make buffer display
6738         features printable.  Remove option to restrict number of items
6739         printed.  Add option to print to file.
6740         (todo-print-function): Rename to todo-print-buffer-function.
6741         (todo-quit): Extend to handle exiting new todo modes.
6742         (todo-remove-item): Make sensitive to overlays.
6743         (todo-save): Extend to buffers of filtered items.
6744         (todo-show): Make sensitive to done items, multiple todo files and
6745         new todo modes.  Offer to convert legacy todo file before creating
6746         first new todo file.
6747         (todo-show-priorities): Rename to todo-top-priorities.
6748         Change semantics of value 0.
6749         (todo-top-priorities): Rename to todo-filter-top-priorities,
6750         derive from todo-filter-items and extend functionality.
6751         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6752         and extend functionality to other types of filtered items.
6753         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6754         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6755         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6756         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6757         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6758         (todo-edit-mode-hook, todo-entry-prefix-function)
6759         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6760         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6761         (todo-initials, todo-insert-threshold, todo-item-string-start)
6762         (todo-line-string, todo-menu, todo-mode-hook)
6763         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6764         (todo-print-priorities, todo-remove-separator)
6765         (todo-save-top-priorities-too, todo-string-count-lines)
6766         (todo-string-multiline-p, todo-time-string-format)
6767         (todo-tmp-buffer-name): Remove.
6768         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6769         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6770         (todo-edit-category-diary-inclusion)
6771         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6772         (todo-edit-file, todo-edit-item-date-day)
6773         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6774         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6775         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6776         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6777         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6778         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6779         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6780         (todo-filter-top-priorities-multifile, todo-find-archive)
6781         (todo-find-filtered-items-file, todo-go-to-source-item)
6782         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6783         (todo-jump-to-archive-category, todo-lower-category)
6784         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6785         (todo-move-category, todo-move-item, todo-next-button)
6786         (todo-next-item, todo-padded-string, todo-powerset)
6787         (todo-previous-button, todo-previous-item)
6788         (todo-print-buffer-to-file, todo-raise-category)
6789         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6790         (todo-set-category-number, todo-set-item-priority)
6791         (todo-set-top-priorities-in-category)
6792         (todo-set-top-priorities-in-file, todo-show-categories-table)
6793         (todo-sort-categories-alphabetically-or-numerically)
6794         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6795         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6796         (todo-toggle-item-header, todo-toggle-item-highlighting)
6797         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6798         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6799         (todo-unarchive-items, todo-unmark-category): New commands.
6800         (todo-absolute-file-name, todo-add-to-buffer-list)
6801         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6802         (todo-basic-insert-item, todo-category-completions)
6803         (todo-category-number, todo-category-string-matcher-1)
6804         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6805         (todo-check-format, todo-clear-matches)
6806         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6807         (todo-current-category, todo-date-string-matcher)
6808         (todo-define-insertion-command, todo-diary-expired-matcher)
6809         (todo-diary-goto-entry, todo-diary-item-p)
6810         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6811         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6812         (todo-done-item-section-p, todo-done-separator)
6813         (todo-done-string-matcher, todo-files, todo-filter-items)
6814         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6815         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6816         (todo-insert-category-line, todo-insert-item-from-calendar)
6817         (todo-insert-sort-button, todo-insert-with-overlays)
6818         (todo-insertion-command-name, todo-insertion-key-bindings)
6819         (todo-label-to-key, todo-longest-category-name-length)
6820         (todo-make-categories-list, todo-mode-external-set)
6821         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6822         (todo-modes-set-3, todo-multiple-filter-files)
6823         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6824         (todo-read-category, todo-read-date, todo-read-dayname)
6825         (todo-read-file-name, todo-read-time)
6826         (todo-reevaluate-category-completions-files-defcustom)
6827         (todo-reevaluate-default-file-defcustom)
6828         (todo-reevaluate-filelist-defcustoms)
6829         (todo-reevaluate-filter-files-defcustom)
6830         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6831         (todo-reset-done-separator, todo-reset-done-separator-string)
6832         (todo-reset-done-string, todo-reset-global-current-todo-file)
6833         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6834         (todo-reset-prefix, todo-set-categories)
6835         (todo-set-date-from-calendar, todo-set-show-current-file)
6836         (todo-set-top-priorities, todo-short-file-name)
6837         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6838         (todo-total-item-counts, todo-update-buffer-list)
6839         (todo-update-categories-display, todo-update-categories-sexp)
6840         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6841         New functions.
6842         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6843         New major modes.
6844         (todo-categories, todo-display, todo-edit, todo-faces)
6845         (todo-filtered): New defgroups.
6846         (todo-archived-only, todo-button, todo-category-string, todo-date)
6847         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6848         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6849         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6850         (todo-add-item-if-new-category, todo-always-add-time-string)
6851         (todo-categories-align, todo-categories-archived-label)
6852         (todo-categories-category-label, todo-categories-diary-label)
6853         (todo-categories-done-label, todo-categories-number-separator)
6854         (todo-categories-todo-label, todo-categories-totals-label)
6855         (todo-category-completions-files, todo-completion-ignore-case)
6856         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6857         (todo-done-separator-string, todo-done-string)
6858         (todo-files-function, todo-filter-done-items, todo-filter-files)
6859         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6860         (todo-initial-category, todo-initial-file, todo-item-mark)
6861         (todo-legacy-date-time-regexp, todo-mode-line-function)
6862         (todo-nondiary-marker, todo-number-prefix)
6863         (todo-print-buffer-function, todo-show-current-file)
6864         (todo-show-done-only, todo-show-first, todo-show-with-done)
6865         (todo-skip-archived-categories, todo-top-priorities-overrides)
6866         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6867         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6868         New defcustoms.
6869         (todo-category-done, todo-date-pattern, todo-date-string-start)
6870         (todo-diary-items-buffer, todo-done-string-start)
6871         (todo-filtered-items-buffer, todo-item-start)
6872         (todo-month-abbrev-array, todo-month-name-array)
6873         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6874         (todo-top-priorities-buffer): New defconsts.
6875         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6876         (todo-categories-with-marks, todo-category-string-face)
6877         (todo-comment-face, todo-comment-string, todo-current-todo-file)
6878         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6879         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6880         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6881         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6882         (todo-font-lock-keywords, todo-global-current-todo-file)
6883         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6884         (todo-insertion-commands-args)
6885         (todo-insertion-commands-args-genlist)
6886         (todo-insertion-commands-names, todo-insertion-map)
6887         (todo-key-bindings-t, todo-key-bindings-t+a)
6888         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6889         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6890         (todo-nondiary-face, todo-print-buffer, todo-time-face)
6891         (todo-visited): New variables.
6893 2013-06-21  Glenn Morris  <rgm@gnu.org>
6895         * play/cookie1.el (cookie-apropos): Add optional display argument.
6896         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6897         (psychoanalyze-pinhead): Use cookie-doctor.
6899 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6901         * emacs-lisp/package.el (tar-get-file-descriptor)
6902         (tar--extract): Declare.
6904 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
6906         Extend flymake's warning predicate to be a function (bug#14217).
6907         * progmodes/flymake.el (flymake-warning-predicate): New.
6908         (flymake-parse-line): Use it.
6909         (flymake-warning-re): Make obsolete alias to
6910         `flymake-warning-predicate'.
6912 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6914         * emacs-lisp/package.el (package-alist): Include obsolete packages.
6915         (package-obsolete-list): Remove.
6916         (package-activate): Remove min-version argument.  Add `force' argument.
6917         Adjust to new package-alist format.
6918         (package-mark-obsolete): Remove.
6919         (package-unpack): Force reload of the package's autoloads.
6920         (package-installed-p): Check builtins if the installed package is not
6921         recent enough.
6922         (package-initialize): Don't reset package-obsolete-list.
6923         Don't specify which package version to activate.
6924         (package-process-define-package, describe-package-1)
6925         (package-menu--generate): Adjust to new package-alist format.
6927 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6929         * allout-widgets.el (allout-widgets-mode-off)
6930         (allout-widgets-mode-on, allout-widgets-pre-command-business)
6931         (allout-widgets-post-command-business)
6932         (allout-widgets-after-copy-or-kill-function)
6933         (allout-widgets-after-undo-function, allout-test-range-overlaps)
6934         (allout-decorate-item-and-context)
6935         (allout-graphics-modification-handler): Fix typos in docstrings.
6936         (allout-get-or-create-parent-widget): Use `looking-at-p'.
6938         * cmuscheme.el (scheme-start-file): Doc fix.
6939         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6940         (scheme-input-filter): Use `string-match-p'.
6942         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6944         * dired-x.el: Use Dired consistently in docstrings.
6946         * dired.el: Use Dired consistently in docstrings.
6947         (dired-readin, dired-mode): Use `setq-local'.
6948         (dired-switches-alist): Make defvar-local.
6949         (dired-buffers-for-dir): Use `zerop'.
6950         (dired-safe-switches-p, dired-switches-escape-p)
6951         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6952         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6953         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6954         (dired-goto-next-nontrivial-file): Use `string-match-p'.
6955         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6956         (dired-toggle-marks, dired-mark-files-containing-regexp)
6957         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6958         (dired-flag-auto-save-files, dired-flag-backup-files):
6959         Use `looking-at-p'.
6960         (dired-mark-files-regexp, dired-build-subdir-alist):
6961         Use `string-match-p', `looking-at-p'.
6963         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6964         (direct-print-region-helper): Use `string-match-p'.
6966 2013-06-21  Leo Liu  <sdl.web@gmail.com>
6968         * comint.el (comint-redirect-results-list-from-process):
6969         Fix infinite loop.
6971 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6973         * net/eww.el (eww-update-header-line-format): Quote % characters.
6975 2013-06-21  Glenn Morris  <rgm@gnu.org>
6977         * play/cookie1.el (cookie): New custom group.
6978         (cookie-file): New option.
6979         (cookie-check-file): New function.
6980         (cookie): Make it interactive.  Make start and end messages optional.
6981         Interactively, display the result.  Default to cookie-file.
6982         (cookie-insert): Default to cookie-file.
6983         (cookie-snarf): Make start and end messages optional.
6984         Default to cookie-file.  Use with-temp-buffer.
6985         (cookie-read): Rename from read-cookie.
6986         Make start and end messages optional.  Default to cookie-file.
6987         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
6988         Do not autoload it.
6989         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6990         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6992 2013-06-21  Leo Liu  <sdl.web@gmail.com>
6994         * progmodes/octave.el (octave-mode): Backward compatibility fix.
6996 2013-06-21  Glenn Morris  <rgm@gnu.org>
6998         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7000 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7001             Daniel Hackney  <dan@haxney.org>
7003         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7004         Consolidate the single-file vs tarball code.
7005         (package-desc-suffix): New function.
7006         (package-desc-full-name): Don't bother inlining it.
7007         (package-load-descriptor): Return the new package-desc.
7008         (package-mark-obsolete): Remove unused arg `package'.
7009         (package-unpack): Make it work for single files as well.
7010         Make it update package-alist.
7011         (package--make-autoloads-and-stuff): Rename from
7012         package--make-autoloads-and-compile.  Don't compile any more.
7013         (package--compile): New function.
7014         (package-generate-description-file): New function, extracted from
7015         package-unpack-single.
7016         (package-unpack-single): Remove.
7017         (package--with-work-buffer): Add indentation and debugging info.
7018         (package-download-single): Remove.
7019         (package-install-from-archive): Rename from package-download-tar, make
7020         it take a pkg-desc, and make it work for single files as well.
7021         (package-download-transaction): Simplify.
7022         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7023         external tar program.
7024         (package-install-from-buffer): Remove `pkg-desc' argument.
7025         Use package-tar-file-info for tar-mode buffers.
7026         (package-install-file): Simplify accordingly.
7027         (package-archive-base): Change to take a pkg-desc.
7028         * tar-mode.el (tar--check-descriptor): New function, extracted from
7029         tar-get-descriptor.
7030         (tar-get-descriptor): Use it.
7031         (tar-get-file-descriptor): New function.
7032         (tar--extract): New function, extracted from tar-extract.
7033         (tar--extract): Use it.
7034         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7035         case the summary uses non-ascii.  Adjust to new calling convention of
7036         package-tar-file-info.
7038 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7040         * comint.el (comint-redirect-results-list-from-process):
7041         Fix random delay.  (Bug#14681)
7043 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7045         * profiler.el (profiler-format-number): Use log, not log10.
7047 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7049         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7051 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7053         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7054         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7055         yet available.
7056         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7057         (AUTOGENEL): ... here.
7058         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7059         (cl--defsubst-expand): Use it.
7061 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7063         * subr.el (log10): Move here from C code, and declare as obsolete.
7064         All uses of (log10 X) replaced with (log X 10).
7066 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7068         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7069         Declare with `defvar-local'.
7070         (tabulated-list-use-header-line, tabulated-list-entries)
7071         (tabulated-list-padding, tabulated-list-printer)
7072         (tabulated-list-sort-key): Declare with `defvar-local'.
7073         (tabulated-list-init-header, tabulated-list-print-fake-header):
7074         Use `setq-local'.
7076 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7078         * arc-mode.el (archive-mode): Add `archive-write-file' to
7079         `write-contents-functions' also for remote files.  (Bug#14652)
7081 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7083         * cus-edit.el (custom-commands): Fix typos.
7084         (custom-display): Fix tooltip text.
7085         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7086         Fix typos in docstrings.
7087         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7088         (custom-unlispify-menu-entry, custom-magic-value-create)
7089         (custom-add-see-also, custom-group-value-create): Use ?\s.
7090         (custom-guess-type, customize-apropos, editable-field)
7091         (custom-face-value-create): Use `string-match-p'.
7092         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7094         * custom.el (custom-load-symbol): Use `string-match-p'.
7096         * ansi-color.el: Convert to lexical binding.
7097         (ansi-colors): Fix URL.
7098         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7099         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7100         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7102 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7104         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7106         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7108 2013-06-19  Tom Tromey  <tromey@redhat.com>
7110         * net/eww.el (eww-top-url): Remove.
7111         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7112         (eww-render): Set new variables.  Don't set eww-top-url.
7113         (eww-handle-link): Handle "prev", "home", and "contents".
7114         Downcase the rel text.
7115         (eww-top-url): Choose best top URL.
7117 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7119         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7120         relying in widget.el.  Using widget.el leads to too many
7121         user interface inconsistencies.
7122         (eww-self-insert): Implement entering commands in text fields.
7123         (eww-process-text-input): New function to make text input field editing
7124         work.
7125         (eww-submit): Rewrite to use the new-style form methods.
7126         (eww-select-display): Display the correct selected item.
7127         (eww-change-select): Implement changing the select value.
7128         (eww-toggle-checkbox): Implement radio/checkboxes.
7129         (eww-update-field): Fix compilation error.
7130         (eww-tag-textarea): Implement <textarea>.
7132         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7133         we don't shadow mode-specific bindings.
7135         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7136         nothing to push.
7138         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7140 2013-06-19  Glenn Morris  <rgm@gnu.org>
7142         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7144 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7146         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7147         not needed.
7149         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7151 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7153         * net/browse-url.el (browse-url-browser-function):
7154         `eww-browse-url' has the right calling signature, `eww' does not.
7156 2013-06-19  Glenn Morris  <rgm@gnu.org>
7158         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7159         Only eval autoloaded macros.
7160         (byte-compile-autoload): Only give the macro warning for macros.
7162         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7163         (ps-underlined-faces): Declare.
7165         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7166         (speedbar-add-supported-extension): Declare.
7168         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7169         Don't include a date stamp in the header of the generated file;
7170         it leads to needless differences between output files.
7172 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7174         * net/secrets.el (secrets-struct-secret-content-type):
7175         Replace check of introspection data by a test call of "CreateItem".
7176         Some servers do not offer introspection.
7178 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7180         * electric.el (electric-pair-mode): Improve interaction with
7181         electric-layout-mode.
7182         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7183         (electric-pair-syntax): Use text-mode-syntax-table in comments
7184         and strings.
7185         (electric-pair--insert): New function.
7186         (electric-pair-post-self-insert-function): Use it and
7187         electric--after-char-pos.
7189 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7191         * progmodes/octave.el (octave-help): Fix regexp.
7193 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7195         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7196         (shr-table-horizontal-line): Allow nil as a value, and change the
7197         default.
7198         (shr-insert-table-ruler): Respect the nil value.
7200 2013-06-18  Tom Tromey  <tromey@barimba>
7202         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7203         New defvars.
7204         (eww-open-file): New defun.
7205         (eww-render): Initialize new variables.
7206         (eww-display-html): Handle "link" and "a".
7207         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7208         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7209         (eww-back-url): Rename from eww-previous-url.
7210         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7211         New defuns.
7213 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7215         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7216         Distinguish ternary operator tokens from slash symbol and slash
7217         char literal.
7219 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7221         Convert symbol prettification into minor mode and global minor mode.
7223         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7224         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7225         (prettify-symbols--keywords): Rename from
7226         `prog-prettify-symbols-alist' and make a local defvar.
7227         (prettify-symbols--compose-symbol): Rename from
7228         `prog--prettify-font-lock-compose-symbol'.
7229         (prettify-symbols--make-keywords): Rename from
7230         `prog-prettify-font-lock-symbols-keywords' and simplify.
7231         (prog-prettify-install): Remove.
7232         (prettify-symbols-mode): New minor mode, based on
7233         `prog-prettify-install'.
7234         (turn-on-prettify-symbols-mode): New function.
7235         (global-prettify-symbols-mode): New globalized minor mode.
7237         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7238         * progmodes/cfengine.el (cfengine3-mode):
7239         * progmodes/perl-mode.el (perl-mode): Don't call
7240         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7242 2013-06-18  Juri Linkov  <juri@jurta.org>
7244         * files-x.el (modify-file-local-variable-message): New function.
7245         (modify-file-local-variable)
7246         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7247         and call `modify-file-local-variable-message' when it's non-nil.
7248         (add-file-local-variable, delete-file-local-variable)
7249         (add-file-local-variable-prop-line)
7250         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7251         and use it.  (Bug#9820)
7253 2013-06-18  Juri Linkov  <juri@jurta.org>
7255         * emulation/vi.el (vi-shell-op):
7256         * emulation/vip.el (vip-execute-com, ex-command):
7257         * emulation/viper-cmd.el (viper-exec-bang):
7258         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7259         the call of `shell-command-on-region'.  (Bug#14637)
7261         * simple.el (shell-command-on-region): Doc fix.
7263 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7265         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7266         (bug#14633).
7268 2013-06-18  Glenn Morris  <rgm@gnu.org>
7270         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7272         * newcomment.el (comment-search-forward, comment-search-backward):
7273         Doc fix.  (Bug#14376)
7275 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7277         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7278         (buffer-face-mode-invoke): Doc fix.
7280 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7282         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7283         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7285 2013-06-18  Glenn Morris  <rgm@gnu.org>
7287         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7288         Replace obsolete function generic-make-keywords with its expansion.
7290         * progmodes/python.el (ffap-alist): Declare.
7292         * textmodes/reftex.el (bibtex-mode-map): Declare.
7294 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7296         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7297         (package-unpack, package-unpack-single): Return the pkg-dir.
7298         (package-download-transaction): Use it to update package-alist.
7300 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7302         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7303         possible choice.
7305 2013-06-17  Juri Linkov  <juri@jurta.org>
7307         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7309 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7311         * emacs-lisp/package.el (package-load-descriptor):
7312         Remove `with-syntax-table' call, `read' doesn't need it.
7313         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7315 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7317         * startup.el (command-line): Expand package name returned by
7318         `package--description-file' (bug#14639).
7320 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7322         * emacs-lisp/package.el (package-load-descriptor): Do not call
7323         `emacs-lisp-mode', just use its syntax table.
7325 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7327         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7328         `font-lock-extra-managed-props' if any prettifying keyword is added.
7329         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7330         (prog-mode): Use `setq-local'.
7332 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7334         * international/characters.el (standard-case-table): Set syntax of ?»
7335         and ?« to punctuation.
7337 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7339         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7340         Save relevant match data before calling `syntax-ppss' (bug#14595).
7342 2013-06-15  Juri Linkov  <juri@jurta.org>
7344         * files-x.el (modify-file-local-variable-prop-line): Add local
7345         variables to the end of the existing comment on the first line.
7346         Use `file-auto-mode-skip' to skip interpreter magic line,
7347         and also skip XML declaration.
7349 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7351         * startup.el (package--builtin-versions): New var.
7352         (package-subdirectory-regexp): Remove.
7353         (package--description-file): Hard code its value instead.
7355         * emacs-lisp/package.el: Don't activate packages older than builtin.
7356         (package-obsolete-list): Rename from package-obsolete-alist, and make
7357         it into a simple list of package-desc.
7358         (package-strip-version): Remove.
7359         (package-built-in-p): Use package--builtin-versions.
7360         (package-mark-obsolete): Simplify.
7361         (package-process-define-package): Mark it obsolete if older than the
7362         builtin version.
7363         (package-handle-response): Use line-end-position.
7364         (package-read-archive-contents, package--download-one-archive):
7365         Simplify.
7366         (package--add-to-archive-contents): Skip if older than the builtin or
7367         installed version.
7368         (package-menu-describe-package): Fix last change.
7369         (package-list-unversioned): New var.
7370         (package-menu--generate): Use it.
7372         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7373         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7374         (autoload-builtin-package-versions): New variable.
7375         (autoload-generate-file-autoloads): Use them.
7376         Remove the list of autoloaded functions/macros from the
7377         (autoload...) comments.
7379         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7381 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7383         * simple.el (line-move-partial): Don't jump to the next screen
7384         line as soon as it becomes visible.  Instead, continue enlarging
7385         the vscroll until the portion of a tall screen line that's left on
7386         display is about the height of the frame's default font.
7387         (Bug#14567)
7389 2013-06-15  Glenn Morris  <rgm@gnu.org>
7391         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7392         compilation-error-regexp-alist void, or local while let-bound.
7394         * progmodes/make-mode.el (makefile-mode-syntax-table):
7395         Treat "=" as punctuation.  (Bug#14614)
7397 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7399         * help-fns.el (describe-variable):
7400         Add extra line for permanent-local variables.
7402 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7404         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7405         Add export, import, library.  (Bug#9164)
7406         (library): Set indent function.
7408 2013-06-14  Glenn Morris  <rgm@gnu.org>
7410         * term/xterm.el (xterm--query):
7411         Stop after first matching handler.  (Bug#14615)
7413 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7415         Add support for dired in saveplace.
7416         * dired.el (dired-initial-position-hook): New variable.
7417         (dired-initial-position): Call hook to place cursor position.
7418         * saveplace.el (save-place-to-alist): Add dired position.
7419         (save-place-dired-hook): New function.
7421 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7424         through a symbol rather than letrec.
7426         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7427         (package-desc): Add `dir' field.
7428         (package-desc-full-name): New function.
7429         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7430         (package-maybe-load-descriptor): Remove.
7431         (package-load-all-descriptors): Just call package-load-descriptor.
7432         (package--disabled-p): New function.
7433         (package-desc-vers, package-desc-doc): Remove aliases.
7434         (package--dir): Remove function.
7435         (package-activate): Check if a package is disabled.
7436         (package-process-define-package): New function, extracted from
7437         define-package.
7438         (define-package): Turn into a place holder.
7439         (package-unpack-single, package-tar-file-info):
7440         Use package--description-file.
7441         (package-compute-transaction): Use package--disabled-p.
7442         (package-download-transaction): Don't call
7443         package-maybe-load-descriptor since they're all loaded anyway.
7444         (package-install): Change argument to be a pkg-desc.
7445         (package-delete): Use a single pkg-desc argument.
7446         (describe-package-1): Use package-desc-dir instead of package--dir.
7447         Use package-desc property instead of package-symbol.
7448         (package-install-button-action): Adjust accordingly.
7449         (package--push): Rewrite.
7450         (package-menu--print-info): Adjust accordingly.  Change the ID format
7451         to be a pkg-desc.
7452         (package-menu-describe-package, package-menu-get-status)
7453         (package-menu--find-upgrades, package-menu-mark-upgrades)
7454         (package-menu-execute, package-menu--name-predicate):
7455         Adjust accordingly.
7456         * startup.el (package--description-file): New function.
7457         (command-line): Use it.
7458         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7459         Use package-desc-version.
7461         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7462         (byte-compile-preprocess): Use it.
7463         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7464         can't quite recognize.
7465         (byte-compile-add-to-list): Remove.
7466         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7467         (cconv-closure-convert): Add assertion.
7469         * emacs-lisp/map-ynp.el: Use lexical-binding.
7470         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7471         Factor out some repeated code.
7473 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7475         * subr.el (with-eval-after-load): New macro.
7476         (eval-after-load): Allow form to be a function.
7477         take advantage of lexical-binding.
7478         (do-after-load-evaluation): Use dolist and adjust to new format.
7479         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7481 2013-06-13  Juri Linkov  <juri@jurta.org>
7483         * replace.el (perform-replace): Display "symbol " and other search
7484         modes from `isearch-message-prefix' in the *Help* buffer.
7486         * isearch.el (isearch-query-replace): Add " symbol" and other
7487         possible search modes from `isearch-message-prefix' to the prompt.
7488         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7489         when reading a regexp to collect.
7491 2013-06-13  Juri Linkov  <juri@jurta.org>
7493         * isearch.el (word-search-regexp): Match whitespace if the search
7494         string begins or ends in whitespace.  The LAX arg is applied to
7495         both ends of the search string.  Use `regexp-quote' and explicit
7496         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7497         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7498         boundaries are replaced with symbol boundaries, and characters
7499         between symbols match non-word non-symbol syntax.  (Bug#14602)
7501 2013-06-13  Juri Linkov  <juri@jurta.org>
7503         * isearch.el (isearch-del-char): Don't exceed the length of
7504         `isearch-string' by the prefix arg.  (Bug#14563)
7506 2013-06-13  Juri Linkov  <juri@jurta.org>
7508         * isearch.el (isearch-yank-word, isearch-yank-line)
7509         (isearch-char-by-name, isearch-quote-char)
7510         (isearch-printing-char, isearch-process-search-char):
7511         Add optional count prefix arg.  (Bug#14563)
7513         * international/isearch-x.el
7514         (isearch-process-search-multibyte-characters):
7515         Add optional count prefix arg.
7517 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7519         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7520         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7521         lexical-binding.
7523 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7525         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7527 2013-06-13  Glenn Morris  <rgm@gnu.org>
7529         * startup.el (tty-handle-args):
7530         Don't just discard "--" and anything after.  (Bug#14608)
7532         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7534 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7536         Implement changes in Secret Service API.  Make it backward compatible.
7537         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7538         (secrets-create-item): Use it.  Prefix properties with interface.
7540 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7542         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7543         (term-emulate-terminal): Respect term-suppress-hard-newline.
7545 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7547         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7548         Only remove a `thumb-file' overlay.  (Bug#14548)
7550 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7552         * mail/reporter.el (reporter-submit-bug-report):
7553         Handle missing package-name.  (Bug#14600)
7555 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7557         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7558         (reftex-citation-prompt, reftex-default-bibliography)
7559         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7560         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7561         (reftex-bib-sort-author, reftex-bib-sort-year)
7562         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7563         (reftex-extract-bib-entries-from-thebibliography)
7564         (reftex-get-bibkey-default, reftex-get-bib-names)
7565         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7566         (reftex-format-bib-entry, reftex-parse-bibitem)
7567         (reftex-format-bibitem, reftex-do-citation)
7568         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7569         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7570         (reftex-insert-bib-matches, reftex-format-citation)
7571         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7572         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7573         existing comments into docstrings.
7575 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7577         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7579 2013-06-12  Andreas Schwab  <schwab@suse.de>
7581         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7582         for auto-save files.
7584 2013-06-12  Glenn Morris  <rgm@gnu.org>
7586         * ido.el (ido-delete-ignored-files): Remove.
7587         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7588         Go back to calling ido-ignore-item-p directly.
7590 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7592         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7594         * ido.el (ido-delete-ignored-files): New function,
7595         split from ido-make-file-list-1.
7596         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7597         (ido-make-file-list-1): Use ido-delete-ignored-files.
7599 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7601         * progmodes/octave.el (inferior-octave-startup)
7602         (inferior-octave-completion-table)
7603         (inferior-octave-track-window-width-change)
7604         (octave-eldoc-function-signatures, octave-help)
7605         (octave-find-definition): Use single quoted strings.
7606         (inferior-octave-startup-args): Change default value.
7607         (inferior-octave-startup): Do not hard code "-i" and
7608         "--no-line-editing".
7609         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7610         (inferior-octave-directory-tracker): Use it.
7611         (octave-goto-function-definition): Robustify.
7612         (octave-help): Support highlighting operators in 'See also'.
7613         (octave-find-definition): Find subfunctions only in Octave mode.
7615 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * help-fns.el (help-fns--compiler-macro): If the handler function is
7618         named, then put a link to it.
7619         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7620         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7621         (cl-typep): Use it.
7622         (cl-eval-when): Simplify debug spec.
7623         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7624         compiler-macro function instead of setting `compiler-macro-file'.
7626 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7628         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7629         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7631 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7632             Daniel Hackney  <dan@haxney.org>
7634         First part of Daniel Hackney's patch to package.el.
7635         * emacs-lisp/package.el: Use defstruct.
7636         (package-desc): New, main struct.
7637         (package--bi-desc, package--ac-desc): New structs, used to describe the
7638         format in external files.
7639         (package-desc-vers): Replace with package-desc-version accessor.
7640         (package-desc-doc): Replace with package-desc-summary accessor.
7641         (package-activate-1): Remove `package' arg since the pkg-vec now
7642         includes the name.
7643         (define-package): Use package-desc-from-define.
7644         (package-unpack-single): Change file-name arg to be a symbol.
7645         (package--add-to-archive-contents): Use package-desc-create and new
7646         accessor functions to package--ac-desc.
7647         (package-buffer-info, package-tar-file-info): Return a package-desc.
7648         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7649         arg to be a package-desc.
7650         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7651         (package--from-builtin): New function.
7652         (describe-package-1, package-menu--generate): Use it.
7653         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7654         (package-generate-autoloads): Idem and return the name of the file.
7655         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7656         Change pkg-info arg to be a package-desc.
7657         Use package-make-ac-desc.
7658         (package-upload-file): Use \' to match EOS.
7659         * finder.el (finder-compile-keywords): Use package-make-builtin.
7661 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7663         * vc/vc.el (vc-deduce-fileset): Change error message.
7664         (vc-read-backend): New function.
7665         (vc-next-action): Use it.
7667         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7669         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7670         (prolog-font-lock-keywords): Use regexp-opt instead.
7671         Don't manually highlight strings.
7672         (prolog-mode-variables): Simplify comment-start-skip.
7673         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7675         * emacs-lisp/generic.el (generic--normalise-comments)
7676         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7677         (generic-mode-set-comments): Use them.
7678         (generic-bracket-support): Use setq-local.
7679         (generic-make-keywords-list): Declare obsolete.
7681 2013-06-11  Glenn Morris  <rgm@gnu.org>
7683         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7684         Prettify after setting font-lock-defaults.  (Bug#14574)
7686 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7688         * replace.el (query-replace, occur-read-regexp-defaults-function)
7689         (replace-search):
7690         * subr.el (declare-function, number-sequence, local-set-key)
7691         (substitute-key-definition, locate-user-emacs-file)
7692         (with-silent-modifications, split-string, eval-after-load):
7693         Fix typos, remove unneeded backslashes and reflow some docstrings.
7695 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7697         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7698         default for Elisp files.
7700 2013-06-11  Glenn Morris  <rgm@gnu.org>
7702         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7703         although define-derived-mode was doing this anyway.  (Bug#14583)
7705 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7707         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7708         Fix make-variable-buffer-local call to refer to the correct variable.
7710 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7712         * eshell/em-term.el (eshell-visual-commands)
7713         (eshell-visual-subcommands, eshell-visual-options):
7714         Add summary line to docstrings.  Add cross-references.
7716 2013-06-10  Glenn Morris  <rgm@gnu.org>
7718         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7719         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7721 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7723         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7724         output redirection to be ignored with visual commands.
7726 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7728         * eshell/em-term.el (eshell-visual-command-p): New function.
7729         (eshell-term-initialize): Move long lambda to separate function
7730         eshell-visual-command-p.
7731         * eshell/em-dirs.el (eshell-dirs-initialise):
7732         * eshell/em-script.el (eshell-script-initialize):
7733         Add missing #' to lambda.
7735 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7737         * progmodes/octave.el (octave-add-log-current-defun): New function.
7738         (octave-mode): Set add-log-current-defun-function.
7739         (octave-goto-function-definition): Do not move point if not found.
7740         (octave-find-definition): Enhance to try subfunctions first.
7742 2013-06-08  Glenn Morris  <rgm@gnu.org>
7744         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7745         (byte-compile-backward-char, byte-compile-backward-word):
7746         Improve previous change, to handle non-explicit nil.
7748 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7750         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7751         (smie--opener/closer-at-point): New function.
7752         (smie--matching-block-data): Use it.  Don't match from right after an
7753         opener or right before a closer.  Obey smie-blink-matching-inners.
7754         Don't signal a mismatch for repeated inners like "switch..case..case".
7756 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7758         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7759         to t.  (Bug#14303)
7760         (octave-function-header-regexp): Fix.  (Bug#14570)
7761         (octave-help-mode-finish-hook, octave-help-mode-finish):
7762         Remove.  Just use temp-buffer-show-hook.
7764         * newcomment.el (comment-search-backward): Revert last change.
7765         (Bug#14434)
7767         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7769 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7771         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7772         through xargs, to avoid failure due to MS-Windows limitations on
7773         command-line length.
7775 2013-06-06  Glenn Morris  <rgm@gnu.org>
7777         * font-lock.el (lisp-font-lock-keywords-2):
7778         Treat user-error like error.
7780         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7781         (byte-compile-backward-char, byte-compile-backward-word):
7782         Handle explicit nil arguments.  (Bug#14565)
7784 2013-06-05  Alan Mackenzie  <acm@muc.de>
7786         * isearch.el (isearch-allow-prefix): New user option.
7787         (isearch-other-meta-char): Don't exit isearch when a prefix
7788         argument is typed whilst `isearch-allow-prefix' is non-nil.
7789         (Bug#9706)
7791 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7793         * autorevert.el (auto-revert-notify-handler): Use memq.
7794         Hide assertion failure.
7796         * skeleton.el: Use cl-lib.
7797         (skeleton-further-elements): Use defvar-local.
7798         (skeleton-insert): Use cl-progv.
7800 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7802         * progmodes/prog-mode.el (prog-prettify-symbols)
7803         (prog-prettify-install): Update docstrings.
7805 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7807         * simple.el: Move all the prog-mode code to prog-mode.el.
7808         * progmodes/prog-mode.el: New file.
7809         * loadup.el: Add prog-mode.el.
7811 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7813         * simple.el (prog-prettify-symbols): Add version.
7814         (prog-prettify-install): Add convenience function to prettify symbols.
7816         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7817         (perl--augmented-font-lock-keywords-1)
7818         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7819         variables and use it.
7821         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7822         (cfengine3-mode): Remove unneeded variable and use it.
7824         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7825         (lisp--augmented-font-lock-keywords-1)
7826         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7827         Remove unneeded variables and use it.
7829 2013-06-05  João Távora  <joaotavora@gmail.com>
7831         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7832         to point when opening the connection.  (Bug#14380)
7834 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7836         * subr.el (load-history-regexp, load-history-filename-element)
7837         (eval-after-load, after-load-functions, do-after-load-evaluation)
7838         (eval-next-after-load, display-delayed-warnings)
7839         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7840         definition of save-match-data.
7841         (overriding-local-map): Remove accidental obsolescence declaration.
7843         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7845 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7847         Generalize symbol prettify support to prog-mode and implement it
7848         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7849         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7850         (prog--prettify-font-lock-compose-symbol)
7851         (prog-prettify-font-lock-symbols-keywords): New variables and
7852         functions to support symbol prettification.
7853         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7854         (lisp--augmented-font-lock-keywords-1)
7855         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7856         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7857         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7858         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7859         Implement prettify of -> => :: strings.
7860         * progmodes/perl-mode.el (perl-prettify-symbols)
7861         (perl--font-lock-compose-symbol)
7862         (perl--font-lock-symbols-keywords): Move to prog-mode.
7863         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7864         (perl-font-lock-keywords-1)
7865         (perl-font-lock-keywords-2): Remove explicit prettify support.
7866         (perl--augmented-font-lock-keywords)
7867         (perl--augmented-font-lock-keywords-1)
7868         (perl--augmented-font-lock-keywords-2, perl-mode):
7869         Implement prettify support.
7871 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7873         Re-implement smie matching block highlight using
7874         show-paren-data-function.  (Bug#14395)
7875         * emacs-lisp/smie.el (smie-matching-block-highlight)
7876         (smie--highlight-matching-block-overlay)
7877         (smie--highlight-matching-block-lastpos)
7878         (smie-highlight-matching-block)
7879         (smie-highlight-matching-block-mode): Remove.
7880         (smie--matching-block-data-cache): New variable.
7881         (smie--matching-block-data): New function.
7882         (smie-setup): Use smie--matching-block-data for
7883         show-paren-data-function.
7885         * progmodes/octave.el (octave-mode-menu): Fix.
7886         (octave-find-definition): Skip garbage lines.
7888 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7890         Fix compilation error with simultaneous dynamic+lexical scoping.
7891         Add warning when a defvar appears after the first let-binding.
7892         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7893         (byte-compile-close-variables): Initialize it.
7894         (byte-compile--declare-var): New function.
7895         (byte-compile-file-form-defvar)
7896         (byte-compile-file-form-define-abbrev-table)
7897         (byte-compile-file-form-custom-declare-variable): Use it.
7898         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
7899         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7900         (byte-compile-bind): Handle dynamic bindings that shadow
7901         lexical bindings.
7902         (byte-compile-unbind): Make arg non-optional.
7903         (byte-compile-let): Simplify.
7904         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7905         (cconv--analyse-function, cconv-analyse-form): Populate it.
7906         Protect byte-compile-bound-variables to limit the scope of defvars.
7907         (cconv-analyse-form): Add missing rule for (defvar <foo>).
7908         Remove unneeded rule for `declare'.
7910         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7911         so as to avoid depending on cl-adjoin at run-time.
7912         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7914         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7915         (macroexp--warn-and-return): Use it.
7917 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7919         * lisp/subr.el: Convert to lexical binding.
7920         (overriding-local-map): Make obsolete.
7921         (add-to-list): Doc fix.  Add compiler macro.
7922         (read-key): Swap values of local maps.
7924 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7926         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7928 2013-06-04  Leo Liu  <sdl.web@gmail.com>
7930         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7931         (compilation-auto-jump): Suppress the "Mark set" message to give
7932         way to exit message.
7934 2013-06-04  Alan Mackenzie  <acm@muc.de>
7936         Remove faulty optimisation from indentation calculation.
7937         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7938         search limit based on 2000 characters back from indent-point.
7940 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
7942         * eshell/em-term.el (cl-lib): Require `cl-lib'.
7944 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * emacs-lisp/lisp.el: Use lexical-binding.
7947         (lisp--local-variables-1, lisp--local-variables): New functions.
7948         (lisp--local-variables-completion-table): New var.
7949         (lisp-completion-at-point): Use it complete let-bound vars.
7951         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7952         eagerly (bug#14422).
7954 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
7956         * autorevert.el (auto-revert-notify-enabled)
7957         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7958         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7959         (auto-revert-notify-handler): Handle also gfilenotify.
7961         * subr.el (file-notify-handle-event): New defun.  Replacing ...
7962         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7963         Remove.
7965 2013-06-03  Juri Linkov  <juri@jurta.org>
7967         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7968         `M-s h .'.  (Bug#14427)
7970         * hi-lock.el (highlight-symbol-at-point): New alias for the new
7971         command `hi-lock-face-symbol-at-point'.
7972         (hi-lock-face-symbol-at-point): New command.
7973         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7974         (hi-lock-menu): Add `highlight-symbol-at-point'.
7975         (hi-lock-mode): Doc fix.
7977         * isearch.el (isearch-forward-symbol-at-point): New command.
7978         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7979         (isearch-highlight-regexp): Add a regexp which matches
7980         words/symbols for word/symbol mode.
7982         * subr.el (find-tag-default-bounds): New function with the body
7983         mostly moved from `find-tag-default'.
7984         (find-tag-default): Move most code to `find-tag-default-bounds',
7985         call it and apply `buffer-substring-no-properties' afterwards.
7987 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
7989         * eshell/em-term.el (eshell-term-initialize):
7990         Use `cl-intersection' rather than `intersection'.
7992 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
7994         * vc/log-view.el: Doc fix.
7995         (log-view-mode-map): Copy keymap from `special-mode-map'.
7997 2013-06-02  Eric Ludlam  <zappo@gnu.org>
7999         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8000         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8001         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8002         (eieio-unbound, eieio-default-superclass)
8003         (eieio--define-field-accessors, method-static, method-before)
8004         (method-primary, method-after, method-num-lists)
8005         (method-generic-before, method-generic-primary)
8006         (method-generic-after, method-num-slots)
8007         (eieio-specialized-key-to-generic-key)
8008         (eieio--check-type, class-v, class-p)
8009         (eieio-class-name, define-obsolete-function-alias)
8010         (eieio-class-parents-fast, eieio-class-children-fast)
8011         (same-class-fast-p, class-constructor, generic-p)
8012         (generic-primary-only-p, generic-primary-only-one-p)
8013         (class-option-assoc, class-option, eieio-object-p)
8014         (class-abstract-p, class-method-invocation-order)
8015         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8016         (eieio-class-un-autoload, eieio-defclass)
8017         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8018         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8019         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8020         (eieio-defgeneric-reset-generic-form)
8021         (eieio-defgeneric-form-primary-only)
8022         (eieio-defgeneric-reset-generic-form-primary-only)
8023         (eieio-defgeneric-form-primary-only-one)
8024         (eieio-defgeneric-reset-generic-form-primary-only-one)
8025         (eieio-unbind-method-implementations)
8026         (eieio--defmethod, eieio--typep)
8027         (eieio-perform-slot-validation, eieio-validate-slot-value)
8028         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8029         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8030         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8031         (eieio-slot-name-index, eieio-class-slot-name-index)
8032         (eieio-set-defaults, eieio-initarg-to-attribute)
8033         (eieio-attribute-to-initarg, eieio-c3-candidate)
8034         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8035         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8036         (eieio-class-precedence-list, eieio-generic-call-methodname)
8037         (eieio-generic-call-arglst, eieio-generic-call-key)
8038         (eieio-generic-call-next-method-list)
8039         (eieio-pre-method-execution-functions, eieio-generic-call)
8040         (eieio-generic-call-primary-only, eieiomt-method-list)
8041         (eieiomt-optimizing-obarray, eieiomt-install)
8042         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8043         (eieio-generic-form, eieio-defmethod, make-obsolete)
8044         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8045         (defclass): Remove `eval-and-compile' from macro.
8046         (call-next-method, shared-initialize): Instead of using
8047         `scoped-class' variable, use new eieio--scoped-class, and
8048         eieio--with-scoped-class.
8049         (initialize-instance): Rename local variable 'scoped-class' to
8050         'this-class' to remove ambiguitity from old global.
8052         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8053         eieio.el.
8054         (eieio--scoped-class-stack): New variable.
8055         (eieio--scoped-class): New fcn.
8056         (eieio--with-scoped-class): New scoping macro.
8057         (eieio-defclass): Use pushnew instead of add-to-list.
8058         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8059         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8060         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8061         `scoped-class' variable, use new eieio--scoped-class, and
8062         eieio--with-scoped-class.
8064         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8066 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8068         * eshell/esh-ext.el (eshell-external-command): Pass args to
8069         `eshell-find-interpreter'.
8070         (eshell-find-interpreter): Add new second parameter ARGS.
8072         * eshell/em-script.el (eshell-script-initialize): Add second arg
8073         to the function added as MATCH to `eshell-interpreter-alist'.
8075         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8076         the function added as MATCH to `eshell-interpreter-alist'.
8078         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8079         (eshell-visual-options): New defcustom.
8080         (eshell-escape-control-x): Adapt docstring.
8081         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8082         `eshell-visual-options' in addition to `eshell-visual-commands'.
8083         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8085 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8087         * progmodes/python.el (python-indent-block-enders): Add break,
8088         continue and raise keywords.
8090 2013-06-01  Glenn Morris  <rgm@gnu.org>
8092         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8094         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8095         * progmodes/cc-cmds.el (delete-forward-p):
8096         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8097         * progmodes/cc-engine.el (buffer-syntactic-context):
8098         * progmodes/cc-fonts.el (face-property-instance):
8099         * progmodes/cc-mode.el (set-keymap-parents):
8100         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8101         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8102         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8103         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8104         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8106         * progmodes/cc-vars.el (other): Emacs has this widget since
8107         at least 21.1, so don't (re)define it.
8109         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8110         Replace the obsolete alias pcomplete-arg-quote-list.
8112 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8114         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8115         punctuation syntax.
8116         (inferior-octave-minimal-columns)
8117         (inferior-octave-last-column-width): New variables.
8118         (inferior-octave-track-window-width-change): New function.
8119         (inferior-octave-mode): Adjust column width so that Octave output,
8120         for example from 'ls', can fit into the window nicely.
8122 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8124         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8125         Highlight expansions inside regexp literals.
8127 2013-05-31  Glenn Morris  <rgm@gnu.org>
8129         * obsolete/sym-comp.el (symbol-complete):
8130         Replace obsolete completion-annotate-function.
8132         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8134 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8136         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8137         New function, checks if point is inside a literal that allows
8138         expression expansion.
8139         (ruby-syntax-propertize-expansion): Use it.
8140         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8141         around the body.
8143 2013-05-30  Juri Linkov  <juri@jurta.org>
8145         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8146         to "\M-si".
8147         (isearch-invisible): New variable.
8148         (isearch-forward): Doc fix.
8149         (isearch-mode): Set `isearch-invisible'
8150         to the value of `search-invisible'.
8151         (isearch-toggle-case-fold): Doc fix.
8152         (isearch-toggle-invisible): New command.
8153         (isearch-query-replace): Let-bind `search-invisible'
8154         to the value of `isearch-invisible'.
8155         (isearch-search): Use `isearch-invisible' instead of
8156         `search-invisible'.  Let-bind `search-invisible'
8157         to the value of `isearch-invisible'.  (Bug#11378)
8159 2013-05-30  Juri Linkov  <juri@jurta.org>
8161         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8162         call when `query-flag' is nil and `search-invisible' is non-nil.
8163         (Bug#11746)
8165 2013-05-30  Glenn Morris  <rgm@gnu.org>
8167         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8169         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8170         (cc-require): Suppress spurious "noruntime" warnings.
8171         (cc-require-when-compile): Use fboundp, for sake of compiler.
8173         * progmodes/cc-mode.el: Move load of cc-vars before that of
8174         cc-langs (which in turn loads cc-vars), to quieten compiler.
8176 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8178         * paren.el: Simplify the code.
8179         (show-paren-mode): Always start the timer.
8180         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8181         (show-paren--overlay, show-paren--overlay-1): Rename from
8182         show-paren-overlay and show-paren-overlay-1, and initialize to an
8183         overlay rather than to nil.
8184         (show-paren-function): Misc cleanup and simplifications.
8186 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8188         * paren.el (show-paren-data-function): New hook.
8189         (show-paren--default): New function, extracted from show-paren-function.
8190         (show-paren-function): Use show-paren-data-function.
8192 2013-05-30  Glenn Morris  <rgm@gnu.org>
8194         * ielm.el (ielm-map, ielm-complete-symbol):
8195         Use completion-at-point rather than obsolete functions.
8196         (inferior-emacs-lisp-mode): Doc fix.
8197         Set completion-at-point-functions, rather than
8198         comint-dynamic-complete-functions.
8200         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8201         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8202         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8204         * image.el (image-animated-p): Tweak definition.
8206         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8207         (rlogin-process-connection-type): Tweak default.  Add set-after.
8208         (rlogin-host): Doc fix.
8209         (rlogin): Tweak prompt.
8210         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8212         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8213         * progmodes/tcl.el (inferior-tcl-mode-map):
8214         Use completion-at-point rather than obsolete alias.
8216         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8218         * minibuffer.el (read-file-name-completion-ignore-case):
8219         Move before completion--in-region, for eager macro expansion.
8221 2013-05-29  Juri Linkov  <juri@jurta.org>
8223         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8224         for total count of matching lines.  Add `global-matches' for total
8225         count of matches.  Rename `matches' to `lines' for count of
8226         matching lines.  Add `matches' for count of matches.
8227         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8228         to `prev-line' for line number of prev match endpt.
8229         Increment `matches' for every match.  Print the number of
8230         matching lines in the header.
8231         (occur-context-lines): Rename `lines' to `curr-line'.
8232         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8234 2013-05-29  Juri Linkov  <juri@jurta.org>
8236         * replace.el (perform-replace): Add `skip-read-only-count',
8237         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8238         Increment them for corresponding conditions and report the number
8239         of skipped occurrences in the final message.  (Bug#11746)
8240         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8241         (replace-string, replace-regexp): Doc fix.
8243 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8245         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8247         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8248         prog-mode-map (bug#14504).
8250 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8252         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8253         (octave-help): Small simplification.
8255         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8256         off the highlight first.
8258 2013-05-29  Glenn Morris  <rgm@gnu.org>
8260         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8261         Handle idlwave-last-system-routine-info-cons-cell being nil.
8263         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8264         (idlwave-write-paths): Simplify via with-temp-buffer.
8266         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8267         * emulation/cua-rect.el: Also load cua-base at run time.
8269         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8270         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8271         (cperl-imenu-on-info): Require imenu.
8273 2013-05-28  Alan Mackenzie  <acm@muc.de>
8275         Handle "capitalised keywords" correctly.
8276         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8278 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8280         * eshell/em-unix.el: Add -r option to cp.
8282 2013-05-28  Glenn Morris  <rgm@gnu.org>
8284         * vc/vc-arch.el (vc-exec-after): Declare.
8285         (vc-switches): Autoload.
8286         * vc/vc-bzr.el: No need to require vc when compiling.
8287         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8288         (vc-resynch-buffer, vc-dir-refresh): Declare.
8289         (vc-setup-buffer, vc-switches): Autoload.
8290         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8291         (vc-resynch-buffer): Declare.
8292         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8293         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8294         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8295         (grep-read-regexp, grep-read-files, grep-expand-template)
8296         (vc-dir-refresh): Declare.
8297         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8298         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8299         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8300         * vc/vc-mtn.el (vc-exec-after): Declare.
8301         (vc-switches): Autoload.
8302         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8303         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8304         (vc-file-tree-walk): Declare.
8305         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8306         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8307         (vc-tag-precondition, vc-rename-master): Autoload.
8308         * vc/vc-svn.el (vc-exec-after): Declare.
8309         (vc-switches, vc-setup-buffer): Autoload.
8310         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8311         Autoload.
8312         (vc-resynch-buffer): Declare.
8314         * obsolete/fast-lock.el (byte-compile-warnings):
8315         Don't warn about obsolete features in this obsolete file.
8317         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8318         Move definition before use.
8320         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8321         (dun-unix-verbs): Remove dun-zippy.
8322         (dun-zippy): Remove function.
8324         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8326 2013-05-27  Juri Linkov  <juri@jurta.org>
8328         * replace.el (replace-search): New function with code moved out
8329         from `perform-replace'.
8330         (replace-highlight, replace-dehighlight): Move function definitions
8331         up closer to `replace-search'.  (Bug#11746)
8333 2013-05-27  Juri Linkov  <juri@jurta.org>
8335         * replace.el (perform-replace): Ignore invisible matches.
8336         In addition to checking `query-replace-skip-read-only', also
8337         filter out matches by calling `run-hook-with-args-until-failure'
8338         on `isearch-filter-predicates', and also check `search-invisible'
8339         for t or call `isearch-range-invisible'.
8340         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8342 2013-05-27  Juri Linkov  <juri@jurta.org>
8344         * isearch.el (isearch-filter-predicates): Rename from
8345         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8346         (isearch-message-prefix): Display text from the property
8347         `isearch-message-prefix' of the currently active filters.
8348         (isearch-search): Don't compare `isearch-filter-predicate' with
8349         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8350         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8351         or call `isearch-range-invisible'.
8352         (isearch-filter-visible): Make obsolete.
8353         (isearch-lazy-highlight-search):
8354         Call `run-hook-with-args-until-failure' on
8355         `isearch-filter-predicates' and use `isearch-range-invisible'.
8357         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8358         `isearch-filter-predicates' instead of `funcall'ing
8359         `isearch-filter-predicate'.
8360         (Info-mode): Set `Info-isearch-filter' to
8361         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8363         * dired-aux.el (dired-isearch-filter-predicate-orig):
8364         Remove variable.
8365         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8366         (dired-isearch-filenames-end): Add and remove
8367         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8368         instead of changing the value of `isearch-filter-predicate'.
8369         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8370         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8371         Put property `isearch-message-prefix' to "filename " on
8372         `dired-isearch-filter-filenames'.
8374         * wdired.el (wdired-change-to-wdired-mode):
8375         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8376         locally instead of changing `isearch-filter-predicate'.
8377         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8379 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8381         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8382         return the commit hash (Bug#14459).  Also set the
8383         `vc-git-detached' property.
8384         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8385         (vc-git-mode-line-string): Use the same help-echo format whether
8386         in detached mode or not, because we know the actual revision now.
8387         When in detached mode, shorten the revision to 7 chars.
8389 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8391         * emacs-lisp/easy-mmode.el (define-minor-mode):
8392         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8393         mode hook and provide a docstring.
8395 2013-05-27  Alan Mackenzie  <acm@muc.de>
8397         Remove spurious syntax-table text properties inserted by C-y.
8398         * progmodes/cc-mode.el (c-after-change): Also clear hard
8399         syntax-table property with value nil.
8401 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8403         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8404         when reading the events; the buffer layout shall not be changed.
8406 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8408         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8409         New variable.
8410         (inferior-octave-directory-tracker): Automatically re-sync
8411         default-directory.
8412         (octave-help): Improve handling of 'See also'.
8414 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8416         * doc-view.el: Minor naming convention tweaks.
8417         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8419         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8420         even if there's no `display' property yet (bug#14435).
8422 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8424         * subr.el (unmsys--file-name): Rename from reveal-filename.
8426         * Makefile.in (custom-deps, finder-data, autoloads)
8427         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8428         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8429         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8431 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8433         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8434         error-completion on the first 2 args of condition-case (bug#14446).
8435         Don't burp at EOB.
8437 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8439         * comint.el (comint-previous-matching-input): Do not flood the
8440         *Messages* buffer with trivial messages.
8442 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8444         * progmodes/flymake.el (flymake-nop): Don't return a string.
8445         (flymake-set-at): Fix typo.
8447         * simple.el (read--expression): New function, extracted from
8448         eval-expression.  Set completion-at-point-functions (bug#14465).
8449         (eval-expression, eval-minibuffer): Use it.
8451 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8453         * progmodes/flymake.el (flymake-save-buffer-in-file)
8454         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8455         (flymake-selected-frame, flymake-log, flymake-ins-after)
8456         (flymake-set-at, flymake-get-buildfile-from-cache)
8457         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8458         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8459         Refine the doc string.
8460         (flymake-get-file-name-mode-and-masks): Reformat.
8461         (flymake-get-real-file-name-function): Fix a minor bug.
8463 2013-05-24  Juri Linkov  <juri@jurta.org>
8465         * progmodes/grep.el (grep-mode-font-lock-keywords):
8466         Support =linenumber= format used by git-grep for lines with
8467         function names.  (Bug#13549)
8469 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8471         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8472         0 after a semi-colon; it works better for smie-auto-fill.
8473         (octave--indent-new-comment-line): New function.
8474         (octave-indent-new-comment-line): Use it (indirectly).
8475         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8476         modify comment-line-break-function.
8478         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8479         (smie-setup): Use add-function to set it.
8481 2013-05-24  Sam Steingold  <sds@gnu.org>
8483         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8484         argument (before the `interactive' argument).
8486 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8488         * image-mode.el (image-mode-winprops): Add winprops to
8489         image-mode-winprops-alist before running
8490         image-mode-new-window-functions.
8491         * doc-view.el (doc-view-new-window-function): Don't delay
8492         doc-view-goto-page via timers (bug#14435).
8494 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8496         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8497         (doc-view-desktop-save-buffer): New function.
8498         (doc-view-restore-desktop-buffer): New function.
8499         (desktop-buffer-mode-handlers):
8500         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8501         handler.
8502         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8503         `desktop-save-buffer' function.
8505 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8507         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8508         (tramp-gvfs-file-name-handler): Raise a user error when
8509         `tramp-gvfs-enabled' is nil.
8510         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8511         Do not raise a user error when loading package.  (Bug#14447)
8513         * net/xesam.el: Move to obsolete/.
8515 2013-05-24  Glenn Morris  <rgm@gnu.org>
8517         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8519         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8521         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8522         (Info-find-node, Man-getpage-in-background): Declare.
8524         * mail/unrmail.el (unrmail):
8525         Replace obsolete detect-coding-with-priority.
8527         * net/socks.el (socks-split-string): Use this rather than split-string.
8528         (socks-nslookup-host): Update for above change.
8529         (dynamic-choice, s5-dynamic-choice-match)
8530         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8531         Comment out unused code.
8533         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8534         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8535         (gud-tooltip-echo-area): Make obsolete.
8536         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8538         * progmodes/js.el (js--optimize-arglist): Declare.
8540         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8542         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8543         (ediff-window-C): Declare.
8545         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8546         Tweak requires to silence compiler.
8548         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8549         (he-search-string, he-tried-table, he-expand-list)
8550         (he-init-string, he-string-member, he-substitute-string)
8551         (he-reset-string): Declare.
8553         * obsolete/options.el (list-options): Use custom-variable-p,
8554         rather than obsolete alias.
8556 2013-05-23  Sam Steingold  <sds@gnu.org>
8558         * simple.el (shell-command-on-region): Pass the `replace' argument
8559         down to `call-process-region' to comply with the doc as reported on
8560         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8562 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8564         * emacs-lisp/smie.el (smie-indent-forward-token)
8565         (smie-indent-backward-token): Handle string tokens (bug#14381).
8567 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8569         * ielm.el (ielm-menu): New menu.
8570         (inferior-emacs-lisp-mode): Set comment-start.
8572 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8574         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8575         Fix deactivate action.
8577         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8578         Add cleveref macros.
8580         * lisp/textmodes/reftex-parse.el
8581         (reftex-locate-bibliography-files): Accept options for
8582         bibliography commands.
8583         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8584         Add addbibresource.  Basic Biblatex support.
8586 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8588         * net/tramp-gvfs.el (top):
8589         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8590         when loading package.  (Bug#14447)
8592 2013-05-23  Glenn Morris  <rgm@gnu.org>
8594         * progmodes/js.el: No need to load comint when compiling.
8595         (ring-insert, comint-send-string, comint-send-input)
8596         (comint-last-input-end, ido-chop): Declare.
8598         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8599         * vc/ediff-mult.el: Adjust requires.
8600         (ediff-directories-internal, ediff-directory-revisions-internal)
8601         (ediff-patch-file-internal): Declare.
8602         * vc/ediff-ptch.el: Adjust requires.
8603         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8604         (ediff-find-file): Autoload.
8605         * vc/ediff-util.el: No need to load ediff when compiling.
8606         (ediff-regions-internal): Declare.
8607         * vc/ediff-wind.el: Adjust requires.
8608         (ediff-compute-toolbar-width): Define when compiling.
8609         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8610         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8611         (dired-get-filename, dired-get-marked-files)
8612         (ediff-last-dir-patch, ediff-patch-default-directory)
8613         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8614         (ediff-patch-buffer-internal): Declare.
8616         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8617         (ispell-process, ispell-buffer-local-words, lm-summary)
8618         (lm-section-start, lm-section-end): Declare.
8619         (checkdoc-ispell-init): Simplify.
8621         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8622         (he-string-member, he-reset-string, he-substitute-string): Declare.
8624         * eshell/em-ls.el: Adjust requires.
8625         (eshell-glob-regexp): Declare.
8626         * eshell/em-tramp.el: Adjust requires.
8627         (eshell-parse-command): Autoload.
8628         * eshell/em-xtra.el: Adjust requires.
8629         (eshell-parse-command): Autoload.
8630         * eshell/esh-ext.el: Adjust requires.
8631         (eshell-parse-command, eshell-close-handles): Autoload.
8632         * eshell/esh-io.el: Adjust requires.
8633         (eshell-output-filter): Autoload.
8634         * eshell/esh-util.el: No need to load tramp when compiling.
8635         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8636         Declare.
8637         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8638         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8639         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8640         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8641         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8642         * eshell/esh-opt.el, eshell/esh-proc.el:
8643         * eshell/esh-var.el: Adjust requires.
8644         * eshell/eshell.el: Do not require esh-util twice.
8645         (eshell-add-input-to-history): Declare.
8646         (eshell-command): Check history module is active before using it.
8648         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8650 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8652         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8654 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8656         * autorevert.el (auto-revert-notify-add-watch)
8657         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8658         it indicates changes in file modification time.
8660 2013-05-22  Glenn Morris  <rgm@gnu.org>
8662         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8663         Always delete the autoloaded function from the noruntime and
8664         unresolved functions lists.
8666         * allout.el: No need to load epa, epg, overlay when compiling.
8667         (epg-context-set-passphrase-callback, epg-list-keys)
8668         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8669         (epg-key-user-id-list): Declare.
8671         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8672         (viper-set-parsing-style-toggling-macro)
8673         (viper-set-emacs-state-searchstyle-macros):
8674         Use called-interactively-p on Emacs.
8675         (viper-looking-back): Make it an obsolete alias.  Update callers.
8676         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8677         Use looking-back rather than viper-looking-back.
8678         (viper-tmp-insert-at-eob, viper-enlarge-region)
8679         (viper-read-string-with-history, viper-register-to-point)
8680         (viper-append-to-register, viper-change-state-to-vi)
8681         (viper-backward-char-carefully, viper-forward-char-carefully)
8682         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8683         (viper-change-state-to-emacs): Declare.
8684         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8685         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8686         * emulation/viper-mous.el: Do not load viper-cmd.
8687         (viper-backward-char-carefully, viper-forward-char-carefully)
8688         (viper-forward-word, viper-adjust-window): Declare.
8690         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8692         * progmodes/idlw-help.el (idlwave-help-fontify):
8693         Use called-interactively-p.
8695         * term/w32console.el (w32-get-console-codepage)
8696         (w32-get-console-output-codepage): Declare.
8698         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8699         Remove unnecessary declarations.
8700         (dframe-message): Doc fix.
8702         * info.el (dframe-select-attached-frame, dframe-current-frame):
8703         Declare.
8705         * speedbar.el (speedbar-message): Make it an obsolete alias.
8706         Update all callers.
8707         (speedbar-with-attached-buffer)
8708         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8709         (speedbar-with-writable): Use backquote.
8710         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8711         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8712         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8713         rather than speedbar- aliases.
8714         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8715         (speedbar-make-specialized-keymap, speedbar-insert-button)
8716         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8717         (speedbar-do-function-pointer): Declare.
8718         (rmail-speedbar-button, rmail-speedbar-find-file)
8719         (rmail-speedbar-move-message):
8720         Use dframe-with-attached-buffer rather than speedbar- alias.
8721         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8722         (dframe-message, speedbar-make-specialized-keymap)
8723         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8724         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8725         (speedbar-insert-button, dframe-select-attached-frame)
8726         (dframe-maybee-jump-to-attached-frame)
8727         (speedbar-change-initial-expansion-list)
8728         (speedbar-previously-used-expansion-list-name): Declare.
8729         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8730         Use dframe-message, dframe-with-attached-buffer rather than
8731         speedbar- aliases.
8732         (gud-sentinel): Silence compiler.
8733         * progmodes/vhdl-mode.el (speedbar-refresh)
8734         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8735         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8736         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8737         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8738         (speedbar-file-lists, speedbar-make-tag-line)
8739         (speedbar-line-directory, speedbar-goto-this-file)
8740         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8741         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8742         (speedbar-make-button, speedbar-reset-scanners)
8743         (speedbar-files-item-info, speedbar-line-text)
8744         (speedbar-find-file-in-frame, speedbar-set-timer)
8745         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8746         (speedbar-with-writable): Do not (re)define it.
8747         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8748         rather than speedbar- alias.
8750 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8752         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8753         menu items.
8754         (octave-mode): Tweak fill-nobreak-predicate.
8755         (inferior-octave-startup): Check process to avoid infinite loop.
8756         (inferior-octave): Pop to buffer first to show abornmal process
8757         exit information.
8759 2013-05-21  Glenn Morris  <rgm@gnu.org>
8761         * printing.el (pr-menu-bar): Define when compiling.
8763 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8765         * progmodes/octave.el (octave-auto-fill): Remove.
8766         (octave-indent-new-comment-line): Improve.
8767         (octave-mode): Use auto fill mode through
8768         comment-line-break-function and fill-nobreak-predicate.
8769         (octave-goto-function-definition): Support DEFUN_DLD.
8770         (octave-beginning-of-defun): Small tweak.
8771         (octave-help): Show parent directory.
8773 2013-05-21  Glenn Morris  <rgm@gnu.org>
8775         * files.el (dired-unmark):
8776         * progmodes/gud.el (gdb-input): Update declarations.
8778         * calculator.el (electric, ehelp): No need to load when compiling.
8779         (Electric-command-loop, electric-describe-mode): Declare.
8781         * doc-view.el (doc-view-current-converter-processes): Move before use.
8783         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8784         Move MODE-set-explicitly definition before use.
8786         * international/mule-diag.el (mule-diag):
8787         Don't use obsolete window-system-version.
8789         * mail/feedmail.el (smtpmail): No need to load when compiling.
8790         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8792         * mail/mail-utils.el (rfc822): No need to load when compiling.
8793         (rfc822-addresses): Autoload it.
8794         (mail-strip-quoted-names): Trivial simplification.
8796         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8797         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8799         * net/snmp-mode.el (tempo): Don't duplicate requires.
8801         * progmodes/prolog.el (info): No need to load when compiling.
8802         (comint): Require before shell requires it.
8803         (Info-goto-node): Autoload it.
8804         (Info-follow-nearest-node): Declare.
8805         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8807         * textmodes/artist.el (picture-mode-exit): Declare.
8809         * textmodes/reftex-parse.el (reftex-parse-from-file):
8810         Trivial rewrite so the compiler can parse it better.
8812 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8814         * progmodes/octave.el (octave-help-mode-map)
8815         (octave-help-mode-finish-hook): New variables.
8816         (octave-help-mode, octave-help-mode-finish): New functions.
8817         (octave-help): Use octave-help-mode.
8819 2013-05-20  Glenn Morris  <rgm@gnu.org>
8821         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8823 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8825         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8826         start at point, so that expansion starting right after opening
8827         slash in a regexp is recognized.
8828         (ruby-syntax-before-regexp-re): New defvar, extracted from
8829         ruby-syntax-propertize-function.  Since the value of this regexp
8830         is looked up at runtime now, we should be able to turn
8831         `ruby-syntax-methods-before-regexp' into a defcustom later.
8832         (ruby-syntax-propertize-function): Split regexp matching into two
8833         parts, for opening and closing slashes.  That allows us to skip
8834         over string interpolations and support multiline regexps.
8835         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8836         for them, which calls `ruby-syntax-propertize-expansion'.
8837         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8838         call to `ruby-syntax-propertize-function'.
8839         (ruby-syntax-propertize-expansion): Extracted from
8840         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8841         (ruby-syntax-propertize-percent-literal): Leave point right after
8842         the percent symbol, so that the expression expansion rule can
8843         propertize the contents.
8844         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8845         heredoc openers.
8846         (ruby-syntax-propertize-expansions): Remove.
8848 2013-05-18  Juri Linkov  <juri@jurta.org>
8850         * man.el (Man-default-man-entry): Remove `-' from the end
8851         of the default value.  (Bug#14400)
8853 2013-05-18  Glenn Morris  <rgm@gnu.org>
8855         * comint.el (comint-password-prompt-regexp):
8856         Allow "password for XXX" where XXX contains colons (eg https://...).
8858 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8860         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8861         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8862         (octave-source-directories): Don't check process.
8863         (octave-source-directories, octave-find-definition): Doc fix.
8865 2013-05-18  Glenn Morris  <rgm@gnu.org>
8867         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8868         Remove backspace/delete bindings.  (Bug#14392)
8870         * cus-dep.el (custom-make-dependencies): Sort the output.
8871         (custom-versions-load-alist): Convert comment to doc.
8873 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8875         * newcomment.el (comment-search-backward): Stricter in finding
8876         comment start.  (Bug#14303)
8878         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8879         (octave-comment-start-skip): Properly anchored.
8881 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8883         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8884         Clean up when turned off.  (Bug#14395)
8885         (smie--highlight-matching-block-overlay): No longer buffer-local.
8886         (smie-highlight-matching-block): Adjust.
8888 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
8890         Doc string fix for "nanoseconds" (Bug#14406).
8891         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8892         Fix doc string typo that had "nanoseconds" instead of "microseconds".
8894 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8896         * calc/calc-units.el (math-extract-units): Preserve powers
8897         of units.
8899 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8901         * subr.el (delete-consecutive-dups): New function.
8902         * ido.el (ido-set-matches-1): Use it.
8903         * progmodes/octave.el (inferior-octave-completion-table): Use it.
8904         * ido.el (ido-remove-consecutive-dups): Remove.
8906 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8908         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8909         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8910         regexp-opt's `words'.
8912 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8914         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8915         (smie--highlight-matching-block-overlay)
8916         (smie--highlight-matching-block-lastpos)
8917         (smie--highlight-matching-block-timer): New variables.
8918         (smie-highlight-matching-block): New function.
8919         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
8920         (smie-setup): Conditionally enable smie-blink-matching-open.
8922 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
8924         Sync with upstream verilog-mode r840.
8925         * progmodes/verilog-mode.el (verilog-mode-version)
8926         (verilog-mode-release-date): Update.
8927         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8928         (verilog-sig-tieoff): Fix string error on
8929         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
8930         (verilog-read-decls): Fix parameters confusing
8931         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
8933 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
8935         * subr.el (reveal-filename): New function.
8937         * loadup.el: Compute Emacs executable versions on MS-Windows,
8938         where executables have the .exe extension.  Add a hard link
8939         emacs-XX.YY.ZZ.exe on MS-Windows.
8941         * Makefile.in (XARGS_LIMIT): New variable.
8942         (custom-deps, finder-data, autoloads)
8943         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8944         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8945         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8946         (compile-main): Limit xargs according to $(XARGS_LIMIT).
8948 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8950         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8951         (octave-mode-menu, octave-mode-map): Remove its uses.
8953 2013-05-16  Reto Zimmermann  <reto@gnu.org>
8955         Sync with upstream vhdl mode v3.34.2.
8956         * progmodes/vhdl-mode.el: Use `push' throughout.
8957         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8958         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8959         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
8960         (vhdl-actual-generic-name): New option to derive actual generic name.
8961         (vhdl-port-paste-signals): Replace formal by actual generics.
8962         (vhdl-beautify): New name for old group vhdl-align.  Update users.
8963         (vhdl-beautify-options): New option.
8964         (vhdl-last-input-event): New compat alias.  Use throughout.
8965         (vhdl-goto-line): Replace user level function `goto-line'.
8966         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8967         vhdl-fix-statement-buffer.
8968         (vhdl-create-mode-menu): Add some entries.
8969         (vhdl-align-region-groups): Respect vhdl-beautify-options.
8970         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8971         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8972         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8973         to force statements on one line.
8974         (vhdl-remove-trailing-spaces-region):
8975         New, split from vhdl-remove-trailing-spaces.
8976         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8977         Respect vhdl-beautify-options.
8978         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8979         (vhdl-update-sensitivity-list): Not add with index if exists without.
8980         Not include array index with signal.  Ignore keywords in comments.
8981         (vhdl-get-visible-signals): Regexp tweaks.
8982         (vhdl-template-component-inst): Handle empty library.
8983         (vhdl-template-type): Add template for 'enum' type.
8984         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8985         Use vhdl-replace-string.
8986         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8987         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8988         (vhdl-speedbar-initialize): Update for above name change.
8989         (vhdl-compose-wire-components): Fix in handling of constants.
8990         (vhdl-error-regexp-emacs-alist): New variable.
8991         (vhdl-error-regexp-add-emacs): New function;
8992         adds support for new compile.el (Emacs 22+)
8993         (vhdl-generate-makefile-1): Change target order for single lib. units.
8994         Allow use of absolute file names.
8996 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8998         * simple.el (prog-indent-sexp): Indent enclosing defun.
9000 2013-05-15  Glenn Morris  <rgm@gnu.org>
9002         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9003         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9004         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9005         (whitespace-highlight): Move to whitespace group.
9007         * comint.el (comint-source):
9008         * pcmpl-linux.el (pcmpl-linux):
9009         * shell.el (shell-faces):
9010         * eshell/esh-opt.el (eshell-opt):
9011         * international/ccl.el (ccl): Remove empty custom groups.
9013         * completion.el (dynamic-completion-mode):
9014         * jit-lock.el (jit-lock-debug-mode):
9015         * minibuffer.el (completion-in-region-mode):
9016         * type-break.el (type-break-mode-line-message-mode)
9017         (type-break-query-mode):
9018         * emulation/tpu-edt.el (tpu-edt-mode):
9019         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9020         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9021         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9023         * term/xterm.el (xterm): Change parent group to terminals.
9025         * master.el (master): Remove empty custom group.
9026         (master-mode): Remove unused :group argument.
9027         * textmodes/refill.el (refill): Remove empty custom group.
9028         (refill-mode): Remove unused :group argument.
9030         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9032         * cus-dep.el: Provide a feature.
9033         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9034         Don't mistakenly ignore files whose basenames match a basename
9035         from preloaded-file-list (eg cedet/ede/simple.el).
9036         Add a fallback method for getting :group.
9038 2013-05-15  Juri Linkov  <juri@jurta.org>
9040         * isearch.el (isearch-char-by-name): Rename from
9041         `isearch-insert-char-by-name'.  Doc fix.
9042         (isearch-forward): Mention `isearch-char-by-name' in
9043         the docstring.  (Bug#13348)
9045         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9046         `exit-minibuffer' instead of
9047         `isearch-nonincremental-exit-minibuffer'.
9048         (isearch-edit-string): Remove mention of
9049         `isearch-nonincremental-exit-minibuffer' from docstring.
9050         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9051         (isearch-forward-exit-minibuffer)
9052         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9054 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9056         * loadup.el: Just use unversioned DOC.
9058         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9059         literals as extending to EOB.
9060         (nxml-last-fontify-end): Remove unused variable.
9061         (nxml-after-change1): Use with-silent-modifications.
9062         (nxml-extend-after-change-region): Simplify.
9063         (nxml-extend-after-change-region1): Remove function.
9064         (nxml-after-change1): Don't adjust for dependent regions.
9065         (nxml-fontify-matcher): Simplify.
9066         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9067         (xmltok-add-dependent): Remove function.
9068         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9069         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9070         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9071         unclosed <[[, <?, comment, and other literals as extending to EOB.
9072         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9073         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9074         Remove functions.
9075         (rng-do-some-validation-1): Don't mark dependent regions.
9076         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9077         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9078         (nxml-clear-dependent-regions): Remove functions.
9079         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9080         (nxml-ensure-scan-up-to-date):
9081         Don't clear&mark dependent regions.
9083 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9085         * progmodes/octave.el (octave-goto-function-definition):
9086         Improve and fix callers.
9088 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9090         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9091         the setter (bug#14387).
9093         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9094         surrounding group (bug#14402).
9096 2013-05-14  Juri Linkov  <juri@jurta.org>
9098         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9099         (Bug#14390)
9101 2013-05-14  Glenn Morris  <rgm@gnu.org>
9103         * progmodes/f90.el (f90-imenu-generic-expression):
9104         Fix typo in 2013-05-08 change.  (Bug#14402)
9106 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9108         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9109         Remove signals for which replies are never received.
9111 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9113         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9114         (gdb-handler-alist, gdb-handler-number): Remove variables.
9115         (gdb-handler-list): New variable.
9116         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9117         (gdb-pending-handler-p, gdb-handle-reply)
9118         (gdb-remove-all-pending-triggers): New functions.
9119         (gdb-discard-unordered-replies): New defcustom.
9120         (gdb-handler): New defstruct.
9121         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9122         instead of gdb-pending-triggers.  Update docstring.
9123         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9124         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9125         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9126         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9127         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9128         (gdb-frame-handler): Pending triggers are now automatically managed.
9129         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9130         Remove argument.
9131         (gdb-input): Automatically handles pending triggers.  Update docstring.
9132         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9133         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9134         Update comments.
9135         (gdb-done-or-error): Now use gdb-handle-reply.
9137 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9139         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9140         gdb-debug-log.
9142 2013-05-14  Glenn Morris  <rgm@gnu.org>
9144         * subr.el (user-emacs-directory-warning): New option.
9145         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9147 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9149         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9150         during redisplay.
9151         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9152         (octave-font-lock-texinfo-comment): Fix invalid search bound
9153         error: wrong side of point.
9155 2013-05-14  Glenn Morris  <rgm@gnu.org>
9157         * progmodes/flymake.el (flymake-xml-program): New option.
9158         (flymake-xml-init): Use it.
9160         * term/xterm.el: Provide a feature.
9162         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9164 2013-05-13  Glenn Morris  <rgm@gnu.org>
9166         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9167         Add compat aliases as a hack workaround.  (Bug#14384)
9169 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9171         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9172         ###, and %!.
9173         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9174         C-M-q.
9175         (octave-comment-start-skip): Include %!.
9176         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9178 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9180         * progmodes/octave.el (inferior-octave-startup): Store the value
9181         of __octave_srcdir__ for octave-source-directories.
9182         (inferior-octave-check-process): New function refactored out of
9183         inferior-octave-send-list-and-digest.
9184         (octave-source-directories)
9185         (octave-find-definition-filename-function): New variables.
9186         (octave-source-directories)
9187         (octave-find-definition-default-filename): New functions.
9188         (octave-find-definition): Improve to find functions implemented in C++.
9190 2013-05-12  Glenn Morris  <rgm@gnu.org>
9192         * calendar/diary-lib.el (diary-outlook-format-1):
9193         Don't include dayname in the output.  (Bug#14349)
9195 2013-05-11  Glenn Morris  <rgm@gnu.org>
9197         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9199         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9200         Treat cc-provide like provide.
9202 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9204         * cus-dep.el (custom-make-dependencies):
9205         Use generated-autoload-load-name for the sake of files such
9206         such cedet/semantic/bovine/c.el, where the base file name
9207         is not in load-path.  (Bug#5277)
9209 2013-05-11  Glenn Morris  <rgm@gnu.org>
9211         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9212         Provide features.
9214 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9216         * progmodes/octave.el (octave-indent-comment): Improve.
9217         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9218         (octave-eldoc-function-signatures, octave-eldoc-function):
9219         New functions.
9220         (octave-mode, inferior-octave-mode): Add eldoc support.
9222 2013-05-11  Richard Stallman  <rms@gnu.org>
9224         * epa.el (epa-decrypt-file): Take output file name as argument
9225         and read it using `interactive'.
9227 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9229         * progmodes/octave.el (octave-beginning-of-line)
9230         (octave-end-of-line): Check before using up-list because it jumps
9231         out of more syntactic contructs since moving to smie.
9232         (octave-indent-comment): New function.
9233         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9234         (octave-begin-keywords, octave-end-keywords)
9235         (octave-reserved-words, octave-smie-bnf-table)
9236         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9238 2013-05-11  Glenn Morris  <rgm@gnu.org>
9240         * faces.el (internal-face-x-get-resource):
9241         * frame.el (ns-display-monitor-attributes-list):
9242         * calc/calc-aent.el (math-to-radians-2):
9243         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9244         Fix declarations.
9246         * calc/calc-menu.el: Make it loadable in isolation.
9248         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9249         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9250         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9251         (eudc-bbdb-query-internal): Require 'bbdb.
9253         * lpr.el (lpr-headers-switches):
9254         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9256         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9258         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9260         * term.el (term-set-escape-char): Make it idempotent.
9262 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9264         * progmodes/octave.el (inferior-octave-completion-table):
9265         No longer a function and all uses changed.  Use cache to speed up
9266         completion due to bug#11906.
9267         (octave-beginning-of-defun): Re-write to be more general.
9269 2013-05-10  Glenn Morris  <rgm@gnu.org>
9271         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9273 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9275         * comint.el (comint-redirect-send-command-to-process): Use :around
9276         rather than :override for comint-redirect-filter.
9277         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9278         Call it instead of comint-redirect-original-filter-function (which
9279         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9281 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9283         * frame.el (display-monitor-attributes-list): Add NS case.
9284         (ns-display-monitor-attributes-list): Declare.
9286 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9288         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9290 2013-05-09  Glenn Morris  <rgm@gnu.org>
9292         * international/fontset.el (vertical-centering-font-regexp):
9293         Set standard-value.
9295         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9297         * bookmark.el (bookmark-search-delay):
9298         * cus-start.el (vertical-centering-font-regexp):
9299         * ps-mule.el (ps-mule-font-info-database-default):
9300         * ps-print.el (ps-default-fg, ps-default-bg):
9301         * type-break.el (type-break-good-break-interval):
9302         * whitespace.el (whitespace-indentation-regexp)
9303         (whitespace-space-after-tab-regexp):
9304         * emacs-lisp/testcover.el (testcover-1value-functions)
9305         (testcover-noreturn-functions, testcover-progn-functions)
9306         (testcover-prog1-functions):
9307         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9308         * eshell/em-glob.el (eshell-glob-translate-alist):
9309         * play/tetris.el (tetris-tty-colors):
9310         * progmodes/cpp.el (cpp-face-default-list):
9311         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9312         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9313         (idlwave-help-browser-generic-args):
9314         * progmodes/make-mode.el (makefile-special-targets-list):
9315         * progmodes/python.el (python-shell-virtualenv-path):
9316         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9317         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9318         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9319         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9320         * textmodes/reftex-vars.el (reftex-format-label-function):
9321         * textmodes/remember.el (remember-diary-file): Fix custom types.
9323         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9324         Add :version.
9326 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9328         * progmodes/octave.el (inferior-octave-completion-at-point):
9329         Restore file completion.  (Bug#14300)
9330         (inferior-octave-startup): Fix incorrect highlighting for the
9331         first prompt.
9333 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9335         * progmodes/ruby-mode.el: First cut at SMIE support.
9336         (ruby-use-smie): New var.
9337         (ruby-smie-grammar): New constant.
9338         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9339         (ruby-smie--forward-token, ruby-smie--backward-token)
9340         (ruby-smie-rules): New functions.
9341         (ruby-mode-variables): Setup SMIE if applicable.
9343 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9345         * simple.el (line-move-visual): Signal beginning/end of buffer
9346         only if vertical-motion moved less than it was requested.  Avoids
9347         silly incorrect error messages when there are display strings with
9348         multiple newlines at EOL.
9350 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9352         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9353         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9354         (prolog-char-quote-workaround):
9355         * progmodes/cperl-mode.el (cperl-under-as-char):
9356         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9357         Mark as obsolete.
9358         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9359         their declaration.
9360         (vhdl-mode-syntax-table-init): Remove.
9362         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9363         last change.
9365         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9366         syntax for "_".
9367         (ld-script-font-lock-keywords):
9368         Change regexps to use things like \_< and \_>.
9370         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9371         Change all regexps to use things like \_< and \_>.
9373         * progmodes/autoconf.el (autoconf-definition-regexp)
9374         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9375         Handle a _ with symbol syntax.
9376         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9378         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9379         Consolidate declaration.
9380         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9381         the declaration.
9382         (ada-create-syntax-table): Remove.
9383         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9384         already has the right syntax nowadays.
9385         (ada-goto-next-word): Don't change the syntax of "_".
9387         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9388         with-wrapper-hook.
9390 2013-05-08  Sam Steingold  <sds@gnu.org>
9392         * thingatpt.el (thing-at-point): Accept optional second argument
9393         NO-PROPERTIES to strip the text properties from the return value.
9394         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9395         to `thing-at-point' instead of stripping the properties ourselves.
9396         Also, when `thing-at-point' fails to find a url, prepend "http://"
9397         to the filename at point on the assumption that the user is
9398         pointing at something like gnu.org/gnu.
9400 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9402         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9403         * faces.el (crm-separator):
9404         Silence byte-compiler.
9406         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9407         (tool-bar-map): Remove unneeded defvars.
9409 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9411         Re-work a fix for bug#10994 based on Le Wang's patch.
9412         * ido.el (ido-remove-consecutive-dups): New helper.
9413         (ido-completing-read): Use it.
9414         (ido-chop): Revert fix for bug#10994.
9416 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9418         * cus-edit.el (custom-save-variables):
9419         Pretty-print long values.  (Bug#14187)
9421 2013-05-08  Glenn Morris  <rgm@gnu.org>
9423         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9424         (m4-mode-syntax-table): Init in the defvar.
9425         (m4-mode-abbrev-table): Let define-derived-mode define it.
9427 2013-05-08  Tom Tromey  <tromey@redhat.com>
9429         * progmodes/m4-mode.el (m4-mode-syntax-table):
9430         Do not treat "_" as word constituent.  (Bug#14167)
9432 2013-05-07  Glenn Morris  <rgm@gnu.org>
9434         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9435         Remove explicit eshell-isearch-cancel-map.
9437         * progmodes/f90.el (f90-smart-end-names): New option.
9438         (f90-smart-end): Doc fix.
9439         (f90-end-block-optional-name): New constant.
9440         (f90-block-match): Respect f90-smart-end-names.
9442 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9444         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9445         about implicit semi-colons (bug#14218).
9447 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9449         * frame.el (display-monitor-attributes-list)
9450         (frame-monitor-attributes): New functions.
9452 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9454         * progmodes/octave.el (octave-syntax-propertize-function): Change
9455         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9456         (octave-font-lock-keywords): Use octave-operator-regexp.
9457         (octave-completion-at-point): Rename from
9458         octave-completion-at-point-function.
9459         (inferior-octave-directory-tracker): Robustify.
9460         (octave-text-functions): Remove and fix its uses.  No such things
9461         any more.
9463 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9465         * emacs-lisp/trace.el (trace--display-buffer): New function.
9466         (trace-make-advice): Use it.
9468 2013-05-06  Juri Linkov  <juri@jurta.org>
9470         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9471         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9472         Doc fix.
9473         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9474         in the help string.  (Bug#12985)
9476 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9478         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9480 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9482         * progmodes/perl-mode.el: Add support for here documents.
9483         (perl-syntax-propertize-function): Match here-doc markers.
9484         (perl-syntax-propertize-special-constructs): Find their end.
9485         (perl-imenu-generic-expression): Use [:alnum:].
9487         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9488         (advice--add-function): Refresh the advice if already present
9489         (bug#14317).
9491 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9493         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9495 2013-05-06  Glenn Morris  <rgm@gnu.org>
9497         * w32-fns.el (w32-charset-info-alist): Declare.
9499         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9500         of its defcustom properties.
9501         (eshell-cmpl-initialize): No need to load pcomplete.
9503         * generic-x.el: No need to require comint when compiling.
9505         * net/eudc-export.el: Make it loadable without bbdb.
9506         (top-level): Use require rather than load-library.
9507         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9508         (eudc-batch-export-records-to-bbdb)
9509         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9510         Require bbdb.
9512 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9514         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9515         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9516         some tweaks, instead.
9518 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9520         * progmodes/octave.el (octave-font-lock-keywords)
9521         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9522         (inferior-octave-send-list-and-digest): Improve error message.
9523         (octave-mode, inferior-octave-mode): Use setq-local.
9524         (octave-help): Set info-lookup-mode.
9526 2013-05-05  Richard Stallman  <rms@gnu.org>
9528         * vc/compare-w.el (compare-windows-whitespace):
9529         Treat no-break space as whitespace.
9531         * mail/rmailsum.el (rmail-summary-rmail-update):
9532         Detect empty summary and don't change selected message.
9533         (rmail-summary-goto-msg): Likewise.
9535         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9536         Doc fixes, rename args.
9538 2013-05-05  Alan Mackenzie  <acm@muc.de>
9540         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9542 2013-05-05  Juri Linkov  <juri@jurta.org>
9544         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9545         to not add the length of the summary segment to the return value.
9546         (Bug#14125)
9548 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9550         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9551         (inferior-octave-output-filter): Remove.
9552         (octave-send-region, inferior-octave-startup): Fix callers.
9553         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9554         (octave-binary-file-extensions): New user variable.
9555         (octave-find-definition): Confirm if opening binary files.
9556         (octave-help-file): Use octave-find-definition to get the binary
9557         confirmation.
9558         (octave-help): Adjust for octave-help-file change.
9560 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9562         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9563         Merge the two entries that handle function definitions.
9564         (pascal--syntax-propertize): New const.
9565         (pascal-mode): Use it.  Use setq-local.
9567 2013-05-04  Glenn Morris  <rgm@gnu.org>
9569         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9570         (diary-from-outlook): Respect diary-from-outlook-function.
9572 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9575         Move the declaration from C.
9576         (read-minibuffer, eval-minibuffer): Move from C.
9577         (completion-setup-function): Avoid minibuffer-completion-contents.
9579 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9581         * progmodes/octave.el (octave-font-lock-keywords): Do not
9582         dehighlight 'end' in comments or strings.
9583         (octave-completing-read, octave-goto-function-definition):
9584         New helpers.
9585         (octave-help-buffer): New user variable.
9586         (octave-help-file, octave-help-function): New button types.
9587         (octave-help): New command and bind it to C-h ;.
9588         (octave-find-definition): New command and bind it to M-.
9589         (user-error): Alias to error if not defined.
9591 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9593         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9594         for \.  (bug#14332)
9595         (octave-font-lock-keywords): Include [ and {.
9597 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9599         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9600         (inferior-octave): Remove calling comint-mode and return the buffer.
9601         (inferior-octave-startup): Cosmetic changes.
9603 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9605         * progmodes/octave.el (octave-syntax-propertize-function):
9606         Include the case when ' is at line beginning.  (Bug#14336)
9608 2013-05-02  Glenn Morris  <rgm@gnu.org>
9610         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9611         * desktop.el (vc-dir-mode): Just autoload it here.
9613 2013-05-02  Alan Mackenzie  <acm@muc.de>
9615         Eliminate variable c-standard-font-lock-fontify-region-function.
9616         * progmodes/cc-mode.el
9617         (c-standard-font-lock-fontify-region-function): Remove.
9618         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9620 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9622         * progmodes/octave.el: Compatible with older emacs-24 releases.
9623         (inferior-octave-has-built-in-variables): Remove.  Built-in
9624         variables were removed from Octave in 2007.
9625         (inferior-octave-startup): Fix uses.
9626         (comint-line-beginning-position): Remove compatibility code for
9627         emacs 21.
9629 2013-05-01  Juri Linkov  <juri@jurta.org>
9631         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9633 2013-05-01  Juri Linkov  <juri@jurta.org>
9635         * comint.el (comint-previous-matching-input): Don't print message
9636         "History item: %d" when `isearch-mode' is active.
9637         (comint-history-isearch-message): Print message "History item: %d"
9638         when `comint-input-ring-index' is not empty and this function is
9639         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9641 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9643         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9644         definitions.  Use completion-at-point to insert keywords.
9645         (octave-abbrev-start): Remove.
9646         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9648 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9650         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9651         change.
9653 2013-04-30  Alan Mackenzie  <acm@muc.de>
9655         Handle arbitrarily long C++ member initialisation lists.
9656         * progmodes/cc-engine.el (c-back-over-member-initializers):
9657         new function.
9658         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9659         (most) member init lists.
9661 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9663         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9664         variable.
9666 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9668         * progmodes/octave.el (octave-variables): Remove.  No builtin
9669         variables any more.  All converted to functions.
9670         (octave-font-lock-keywords, octave-completion-at-point-function):
9671         Fix uses.
9672         (octave-font-lock-texinfo-comment): New user variable.
9673         (octave-texinfo-font-lock-keywords): New variable for texinfo
9674         comment block.
9675         (octave-function-comment-block): New face.
9676         (octave-font-lock-texinfo-comment): New function.
9677         (octave-mode): Font lock texinfo comment block.
9679 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9681         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9682         indexing expression.
9683         (octave-continuation-string): Do not use \.
9684         (inferior-octave-complete-impossible): Remove.
9685         (inferior-octave-completion-table)
9686         (inferior-octave-completion-at-point): Remove its uses.
9687         (inferior-octave-startup): completion_matches was introduced to
9688         Octave in 1996 so safe to assume it.
9689         (octave-function-file-comment): Improve to follow how Octave does it.
9690         (octave-update-function-file-comment): Tweak.
9692 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9694         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9695         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9696         (octave-function-file-comment): Fix typo.
9697         (octave-sync-function-file-names): Use read-char-choice.
9699 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9701         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9702         to t for the less important warnings.
9704 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9706         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9708 2013-04-27  Glenn Morris  <rgm@gnu.org>
9710         * vc/log-view.el (log-view-current-entry):
9711         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9713 2013-04-27  Juri Linkov  <juri@jurta.org>
9715         * subr.el (read-number): Doc fix about using it by interactive
9716         code letter `n'.  (Bug#14254)
9718 2013-04-27  Juri Linkov  <juri@jurta.org>
9720         * desktop.el (desktop-auto-save-timeout): New option.
9721         (desktop-file-checksum): New variable.
9722         (desktop-save): Add optional arg `auto-save' and don't auto-save
9723         if nothing changed.
9724         (desktop-auto-save-timer): New variable.
9725         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9726         (after-init-hook): Call `desktop-auto-save-set-timer'.
9727         Suggested by Reuben Thomas <rrt@sc3d.org> in
9728         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9730 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9732         * progmodes/octave.el (octave-function-file-p)
9733         (octave-skip-comment-forward, octave-function-file-comment)
9734         (octave-update-function-file-comment): New functions.
9735         (octave-mode-map): Bind C-c ; to
9736         octave-update-function-file-comment.
9737         (octave-mode-menu): Add octave-update-function-file-comment.
9738         (octave-mode, inferior-octave-mode): Fix doc-string.
9739         (octave-insert-defun): Conform to Octave's coding convention.
9740         (Bug#14285)
9742         * files.el (basic-save-buffer): Don't let errors in
9743         before-save-hook prevent saving buffer.
9745 2013-04-20  Roland Winkler  <winkler@gnu.org>
9747         * faces.el (read-face-name): Use completing-read if arg multiple
9748         is nil.
9750 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9752         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9753         displayed, move point to after the totals line.
9754         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9755         for the details.
9757 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9759         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9760         Add current dir to the load-path.
9761         (package-generate-autoloads): Don't rely on
9762         autoload-ensure-default-file.
9764 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9766         * textmodes/remember.el (remember-store-in-files): Document that
9767         the file name format is passed to `format-time-string'.
9769 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9771         * progmodes/octave.el (octave-sync-function-file-names): New function.
9772         (octave-mode): Use it in before-save-hook.
9774 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9776         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9777         (bug#14274).
9779         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9780         \n and comment, even if it's not an implicit ; (bug#14218).
9782 2013-04-26  Glenn Morris  <rgm@gnu.org>
9784         * subr.el (read-number): Once more use `read' rather than
9785         `string-to-number', to trap non-numeric input.  (Bug#14254)
9787 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9789         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9790         Use `syntax-multiline' text property consistently instead of
9791         `font-lock-multiline'.  (Bug#14237)
9793 2013-04-26  Glenn Morris  <rgm@gnu.org>
9795         * emacs-lisp/shadow.el (list-load-path-shadows):
9796         No longer necessary to check for duplicate simple.el, since
9797         2012-07-07 change to init_lread to not include installation lisp
9798         directories in load-path when running uninstalled.  (Bug#14270)
9800 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9802         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9803         (octave-mode, inferior-octave-mode): Use setq-local.
9804         (octave-not-in-string-or-comment-p): Rename to
9805         octave-in-string-or-comment-p.
9806         (octave-in-comment-p, octave-in-string-p)
9807         (octave-in-string-or-comment-p): Replace defsubst with defun.
9809 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9811         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9813 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9815         * textmodes/remember.el (remember-data-directory)
9816         (remember-directory-file-name-format): Fix custom types.
9818 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9820         * progmodes/octave.el (octave-completion-at-point-function):
9821         Make use of inferior octave process.
9822         (octave-initialize-completions): Remove.
9823         (inferior-octave-completion-table): New function.
9824         (inferior-octave-completion-at-point): Use it.
9825         (octave-completion-alist): Remove.
9827 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9829         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9830         (opascal-mode-syntax-table): New var.
9831         (opascal-literal-kind, opascal-is-literal-end)
9832         (opascal-literal-token-at): Rewrite.
9833         (opascal--literal-start-re, opascal-font-lock-keywords)
9834         (opascal--syntax-propertize): New constants.
9835         (opascal-font-lock-defaults): Adjust.
9836         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9837         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9838         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9839         (delphi-other-face, opascal-other-face): Remove face variables.
9840         (opascal-save-state): Remove macro.
9841         (opascal-fontifying-progress-step): Remove constant.
9842         (opascal--ignore-changes): Remove var.
9843         (opascal-set-token-property, opascal-parse-next-literal)
9844         (opascal-is-stable-literal, opascal-complete-literal)
9845         (opascal-is-literal-start, opascal-face-of)
9846         (opascal-parse-region, opascal-parse-region-until-stable)
9847         (opascal-fontify-region, opascal-after-change)
9848         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9849         (opascal-debug-parse-region, opascal-debug-parse-window)
9850         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9851         (opascal-debug-fontify-buffer): Remove.
9852         (opascal-debug-mode-map): Adjust accordingly.
9854 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9856         Merge octave-mod.el and octave-inf.el into octave.el with some
9857         cleanups.
9858         * progmodes/octave.el: New file renamed from octave-mod.el.
9859         * progmodes/octave-inf.el: Merged into octave.el.
9860         * progmodes/octave-mod.el: Renamed to octave.el.
9862 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9864         * textmodes/reftex-vars.el
9865         (reftex-label-ignored-macros-and-environments): New defcustom.
9867         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9869 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9871         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9872         (smie-indent-keyword): Improve the check to ensure that the next
9873         comment is really on the same line.
9874         (smie-indent-comment): Don't align with a subsequent closer (or eob).
9876         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9877         semi-colons if the line is not otherwise empty (bug#14218).
9879 2013-04-25  Glenn Morris  <rgm@gnu.org>
9881         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9883 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9885         * progmodes/opascal.el (opascal-set-token-property): Rename from
9886         opascal-set-text-properties and only set `token' (bug#14134).
9887         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9888         (opascal-literal-text-properties): Remove.
9889         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9890         Adjust callers.
9892 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
9894         * textmodes/remember.el (remember-handler-functions): Add an
9895         option for a new handler `remember-store-in-files'.
9896         (remember-data-directory, remember-directory-file-name-format):
9897         New options.
9898         (remember-store-in-files): New function to store remember notes
9899         as separate files within a directory.
9901 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
9903         * progmodes/compile.el (compilation-next-error-function):
9904         Pass "formats" to compilation-find-file (bug#11777).
9906 2013-04-24  Glenn Morris  <rgm@gnu.org>
9908         * vc/vc-bzr.el (vc-bzr-print-log):
9909         * vc/vc-hg.el (vc-hg-print-log):
9910         * vc/vc-svn.el (vc-svn-print-log):
9911         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
9913         * vc/vc-bzr.el (vc-bzr-print-log):
9914         * vc/vc-cvs.el (vc-cvs-print-log):
9915         * vc/vc-git.el (vc-git-print-log):
9916         * vc/vc-hg.el (vc-hg-print-log):
9917         * vc/vc-mtn.el (vc-mtn-print-log):
9918         * vc/vc-rcs.el (vc-rcs-print-log):
9919         * vc/vc-sccs.el (vc-sccs-print-log):
9920         * vc/vc-svn.el (vc-svn-print-log):
9921         * vc/vc.el (vc-print-log-internal): Doc fixes.
9923 2013-04-23  Glenn Morris  <rgm@gnu.org>
9925         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9926         Remove venerable code attempting to avoid substitute-command-keys.
9928 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
9930         * textmodes/reftex-vars.el (reftex-label-regexps):
9931         Call `reftex-compile-variables' after changes to this variable.
9933 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9935         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9936         Use lexical-binding.
9937         (jit-lock-force-redisplay): Use markers, check buffer's continued
9938         existence and beware narrowed buffers.
9939         (jit-lock-fontify-now): Adjust call accordingly.
9941 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9943         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9944         to avoid misleading the user.
9946 2013-04-22  Leo Liu  <sdl.web@gmail.com>
9948         * info-look.el: Prefer latex2e.info.  (Bug#14240)
9950 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
9952         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
9954         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9955         * net/tramp.el (tramp-call-process): ... here.
9956         (tramp-set-completion-function, tramp-parse-putty):
9957         * net/tramp-adb.el (tramp-adb-execute-adb-command):
9958         * net/tramp-gvfs.el (tramp-gvfs-send-command):
9959         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9960         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9961         (tramp-call-local-coding-command): Use `tramp-call-process'
9962         instead of `tramp-compat-call-process'.
9964         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9965         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9966         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9967         (tramp-find-inline-compress): Improve traces.
9968         (tramp-maybe-send-script): Check for Perl binary.
9969         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9971 2013-04-22  Daiki Ueno  <ueno@gnu.org>
9973         * epg.el (epg-context-pinentry-mode): New function.
9974         (epg-context-set-pinentry-mode): New function.
9975         (epg--start): Pass --pinentry-mode option to gpg command.
9977 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
9979         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9980         `comint-dynamic-complete' is obsolete since 24.1, replaced by
9981         `completion-at-point'.  (Bug#13774)
9983         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9984         default key binding for `describe-distribution' has been moved to
9985         `C-h C-o'.  (Bug#13970)
9987 2013-04-21  Glenn Morris  <rgm@gnu.org>
9989         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9990         Add doc strings.
9991         (vc-print-log): Clarify interactive prompt.
9993 2013-04-20  Glenn Morris  <rgm@gnu.org>
9995         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9996         No longer include timestamp etc information.
9998 2013-04-20  Roland Winkler  <winkler@gnu.org>
10000         * faces.el (read-face-name): Bug fix, return just one face if arg
10001         multiple is nil.  (Bug#14209)
10003 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10006         (remove-function): Autoload.
10008         * comint.el (comint-redirect-original-filter-function): Remove.
10009         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10010         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10011         (vc-cvs-annotate-command):
10012         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10013         * progmodes/prolog.el (prolog-consult-compile):
10014         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10015         Use add/remove-function instead.
10016         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10017         (gud-tooltip-process-output, gud-tooltip-tips):
10018         Use add/remove-function instead.
10019         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10020         (scheme-interaction-mode, exit-scheme-interaction-mode):
10021         Use add/remove-function instead.
10023         * vc/vc-dispatcher.el: Use lexical-binding.
10024         (vc--process-sentinel): Rename from vc-process-sentinel.
10025         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10026         and vc-sentinel-commands any more.
10027         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10028         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10030 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10032         * progmodes/sh-script.el (sh-imenu-generic-expression):
10033         Handle function names with a single character.   (Bug#14111)
10035 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10037         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10038         for subroutines defined in an eval (bug#14182).
10040 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10042         * bookmark.el (bookmark-completing-read): Improve handling of empty
10043         string (bug#14176).
10045 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10047         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10049 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10051         New faster Imenu implementation (bug#14058).
10052         * progmodes/python.el:
10053         (python-imenu-prev-index-position):
10054         (python-imenu-format-item-label-function)
10055         (python-imenu-format-parent-item-label-function)
10056         (python-imenu-format-parent-item-jump-label-function):
10057         New vars.
10058         (python-imenu-format-item-label)
10059         (python-imenu-format-parent-item-label)
10060         (python-imenu-format-parent-item-jump-label)
10061         (python-imenu--put-parent, python-imenu--build-tree)
10062         (python-imenu-create-index, python-imenu-create-flat-index)
10063         (python-util-popn): New functions.
10064         (python-mode): Set imenu-create-index-function to
10065         python-imenu-create-index.
10067 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10069         * winner.el (winner-active-region): Use region-active-p, activate-mark
10070         and deactivate-mark (bug#14225).
10072         * simple.el (deactivate-mark): Don't inline it.
10074 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10076         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10078 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10080         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10081         file extensions from the archive-mode entry in order to prefer
10082         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10084 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10086         * bindings.el (help-event-list): Add ?\?.
10088 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10090         * subr.el (with-wrapper-hook): Declare obsolete.
10091         * simple.el (filter-buffer-substring-function): New hook.
10092         (filter-buffer-substring): Use it.
10093         (filter-buffer-substring-functions): Mark obsolete.
10094         * minibuffer.el (completion-in-region-function): New hook.
10095         (completion-in-region): Use it.
10096         (completion-in-region-functions): Mark obsolete.
10097         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10098         * abbrev.el (abbrev-expand-function): New hook.
10099         (expand-abbrev): Use it.
10100         (abbrev-expand-functions): Mark obsolete.
10101         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10102         and :filter-return.
10104 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10106         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10107         and do not care about match data.
10109 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10111         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10112         completion tables when completing error conditions and
10113         `declare' arguments.
10114         (lisp-complete-symbol, field-complete): Mark as obsolete.
10115         (check-parens): Unmatched parens are user errors.
10116         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10118 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10120         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10121         command changed buffer (ie. `flyspell-pre-buffer' is not current
10122         buffer), which prevents making decisions based on invalid value of
10123         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10124         cause an error when `flyspell-pre-point' was nil after switching
10125         buffers.
10126         (flyspell-post-command-hook): No longer needs to change buffers when
10127         checking pre-word.  While at it remove unnecessary progn.
10129 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10131         * textmodes/ispell.el (ispell-add-per-file-word-list):
10132         Fix `flyspell-correct-word-before-point' error when accepting
10133         words and `coment-padding' is an integer by using
10134         `comment-normalize-vars' (Bug #14214).
10136 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10138         New defun movement commands.
10139         * progmodes/python.el (python-nav--syntactically)
10140         (python-nav--forward-defun, python-nav-backward-defun)
10141         (python-nav-forward-defun): New functions.
10143 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10145         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10146         (python-syntax-context): Use named compiler-macro for backwards
10147         compatibility with Emacs 24.x.
10149 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10151         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10152         octave-hide-process-buffer.
10154 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10156         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10157         (bug#14216).
10159 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10161         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10162         Fix adjustment of offset when receiving incomplete responses from GDB
10163         (bug#14129).
10165 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10167         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10168         python-mode-abbrev-table.
10169         (python-skeleton-define): Adjust accordingly.
10170         (python-mode-abbrev-table): New table that inherits from it so that
10171         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10173         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10174         (abbrev-symbol): Use it.
10175         (abbrev--before-point): Use it since we already handle inheritance.
10177 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10179         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10180         binding to info-lookup-symbol.
10182 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10184         * minibuffer.el (completion--twq-all):
10185         * term/ns-win.el (ns-initialize-window-system):
10186         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10188 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10190         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10191         global bindings.
10193         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10195 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10197         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10198         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10199         to nil.
10200         (ruby-end-of-defun): Remove the unused arg, change the docstring
10201         to reflect that this function is only used as the value of
10202         `end-of-defun-function'.
10203         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10204         to reflect an earlier change that beginning/end-of-defun functions
10205         jump between methods in a class definition, as well as top-level
10206         functions.
10208 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10210         * minibuffer.el (minibuffer-complete): Don't just scroll
10211         a *Completions* that's been iconified.
10212         (minibuffer-force-complete): Make sure repetitions do cycle when going
10213         through completion-in-region -> minibuffer-complete.
10215 2013-04-15  Alan Mackenzie  <acm@muc.de>
10217         Correct the placement of c-cpp-delimiters when there're #s not at
10218         col 0.
10220         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10221         place a submatch around the #.
10222         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10223         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10224         on the #, not BOL.
10226 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10228         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10229         (advice--member-p): New arg `name'.
10230         (advice--add-function, advice-member-p): Use it (bug#14202).
10232 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10234         Reformulate java imenu-generic-expression.
10235         The old expression contained ill formed regexps.
10237         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10238         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10239         (cc-imenu-java-method-arg-regexp): New defconsts.
10240         (cc-imenu-java-build-type-args-regex): New defun.
10241         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10242         handling of spaces in the regexp.
10244 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10246         * textmodes/ispell.el (ispell-command-loop): Remove
10247         flyspell highlight of a word when ispell accepts it (bug #14178).
10249 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10251         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10252         uses code from the previous `ange-ftp-run-real-handler'.
10253         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10254         only in case that function exist.  This is needed for proper
10255         unloading of Tramp.
10257 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10259         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10261         * textmodes/reftex.el (reftex-compile-variables): Use it.
10263 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10265         * files.el (normal-mode): Only use default major-mode if no other mode
10266         was specified.
10268         * emacs-lisp/trace.el (trace-values): New function.
10270         * files.el: Allow : in local variables (bug#14089).
10271         (hack-local-variable-regexp): New var.
10272         (hack-local-variables-prop-line, hack-local-variables): Use it.
10274 2013-04-13  Roland Winkler  <winkler@gnu.org>
10276         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10277         data before it gets modified by bibtex-beginning-of-entry.
10279 2013-04-13  Roland Winkler  <winkler@gnu.org>
10281         * textmodes/bibtex.el (bibtex-url): Doc fix.
10283 2013-04-13  Roland Winkler  <winkler@gnu.org>
10285         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10286         does not visit a BibTeX file, exclude it from the list of buffers
10287         returned by bibtex-initialize.
10289 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10291         * window.el (split-window): Remove interactive form, since as a
10292         command this function is a special case of split-window-below.
10293         Correct doc string.
10295 2013-04-12  Roland Winkler  <winkler@gnu.org>
10297         * faces.el (read-face-name): Do not override value of arg default.
10298         Allow single faces and strings as default values.  Remove those
10299         elements from return value that are not faces.
10300         (describe-face): Simplify.
10301         (face-at-point): New optional args thing and multiple so that this
10302         function can provide the same functionality previously provided by
10303         read-face-name.
10304         (make-face-bold, make-face-unbold, make-face-italic)
10305         (make-face-unitalic, make-face-bold-italic, invert-face)
10306         (modify-face, read-face-and-attribute): Use face-at-point.
10308         * cus-edit.el (customize-face, customize-face-other-window)
10309         * cus-theme.el (custom-theme-add-face)
10310         * face-remap.el (buffer-face-set)
10311         * facemenu.el (facemenu-set-face): Use face-at-point.
10313 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10315         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10317 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10319         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10320         off leading { and trailing } from field values.
10322 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10324         * emacs-lisp/timer.el (timer--check): New function.
10325         (timer--time, timer-set-function, timer-event-handler): Use it.
10326         (timer-set-idle-time): Simplify.
10327         (timer--activate): CSE.
10328         (timer-event-handler): Give more info in error message.
10329         (internal-timer-start-idle): New function, moved from C.
10331         * mpc.el (mpc-proc): Add `restart' argument.
10332         (mpc-proc-cmd): Use it.
10333         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10334         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10335         less often.
10337 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10339         * progmodes/sh-script.el: Implement `sh-mode' own
10340         `add-log-current-defun-function' (bug#14112).
10341         (sh-current-defun-name): New function.
10342         (sh-mode): Use the function.
10344 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10346         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10348 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10350         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10352         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10353         timer (bug#14156).
10355 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10357         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10358         declaration.
10360 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10362         * pcmpl-x.el: New file.
10364 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10366         Do not set x-display-name until X connection is established.
10367         This is needed to prevent from weird situation described at
10368         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10369         * frame.el (make-frame): Set x-display-name after call to
10370         window system initialization function, not before.
10371         * term/x-win.el (x-initialize-window-system): Add optional
10372         display argument and use it.
10373         * term/w32-win.el (w32-initialize-window-system):
10374         * term/ns-win.el (ns-initialize-window-system):
10375         * term/pc-win.el (msdos-initialize-window-system):
10376         Add compatible optional display argument.
10378 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10380         * files.el (normal-backup-enable-predicate): On MS-Windows and
10381         MS-DOS compare truenames of temporary-file-directory and of the
10382         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10383         don't fail comparison by compare-strings.  Also, compare file
10384         names case-insensitively on MS-Windows and MS-DOS.
10386 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10388         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10389         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10391 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10393         * whitespace.el (whitespace-color-on, whitespace-color-off):
10394         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10396 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10398         * ispell.el (ispell-set-spellchecker-params):
10399         Really set `ispell-args' for all equivs.
10401 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10403         * ido.el (ido-completions): Use extra elements of ido-decorations
10404         (bug#14143).
10405         (ido-decorations): Update docstring.
10407 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10409         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10410         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10411         nil during initialization, in order not to miss changes since the
10412         file was opened.  (Bug#14140)
10414 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10416         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10418 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10420         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10422 2013-04-04  Glenn Morris  <rgm@gnu.org>
10424         * electric.el (electric-pair-inhibit-predicate): Add :version.
10426 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10428         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10429         when a package is required several times (bug#14082).
10431 2013-04-04  Roland Winkler  <winkler@gnu.org>
10433         * faces.el (read-face-name): Behave as promised by the docstring.
10434         Assume that arg default is a list of faces.
10435         (describe-face): Call read-face-name with list of default faces.
10437 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10439         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10440         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10441         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10442         the header.
10443         (bookmark-exit-hook-internal): Save even if list is empty.
10445 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10447         * emacs-lisp/package.el (package-pinned-packages): New var.
10448         (package--add-to-archive-contents): Obey it (bug#14118).
10450 2013-04-03  Alan Mackenzie  <acm@muc.de>
10452         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10453         Also adapt to the new values of element 7 of a parse state.
10455         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10456         parameter `not-in-delimiter'.  Handle being inside comment opener.
10457         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10458         character in case we're typing a '*' after a '/'.
10459         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10460         instead by passing the parameter to c-state-pp-to-literal.
10462         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10463         for elt. 7 of a parse state.
10465 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10467         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10468         * international/latin1-disp.el, international/mule-util.el:
10469         * language/cyril-util.el, language/european.el, language/ind-util.el:
10470         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10471         * language/tibetan.el, language/viet-util.el:
10472         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10474 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10476         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10477         (electric-pair-post-self-insert-function): Use it.
10478         (electric-pair-default-inhibit): New function, extracted from
10479         electric-pair-post-self-insert-function.
10481 2013-03-31  Roland Winkler  <winkler@gnu.org>
10483         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10485 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10487         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10489 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10491         Un-indent after "pass" and "return" statements (Bug#13888)
10492         * progmodes/python.el (python-indent-block-enders): New var.
10493         (python-indent-calculate-indentation): Use it.
10495 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10497         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10498         defun.  Defining it as defalias could introduce too eager
10499         byte-compiler optimization.  (Bug#14030)
10501 2013-03-30  Chong Yidong  <cyd@gnu.org>
10503         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10505 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10507         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10508         (kmacro-execute-from-register): Pass the keyboard macro to
10509         kmacro-call-macro or repeating won't work correctly.
10511 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10513         * progmodes/subword.el: Back to using `forward-symbol'.
10515         * subr.el (forward-whitespace, forward-symbol)
10516         (forward-same-syntax): Move from thingatpt.el.
10518 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10520         * kmacro.el (kmacro-to-register): New command.
10521         (kmacro-execute-from-register): New function.
10522         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10524 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10526         * mpc.el: Use defvar-local and setq-local.
10527         (mpc--proc-connect): Connection failures are not bugs.
10528         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10529         (mpc-volume-map): Bind to the up-events.
10531 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10533         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10534         instead of `forward-symbol'.
10536 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10538         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10539         (edebug--recursive-edit): Use it.
10540         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10541         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10543 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10545         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10547 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10549         * facemenu.el (list-colors-callback): New defvar.
10550         (list-colors-redisplay): New function.
10551         (list-colors-display): Install list-colors-redisplay as the
10552         revert-buffer-function.  (Bug#14063)
10554 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10556         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10557         and suffixes don't overlap (bug#14061).
10559         * case-table.el: Use lexical-binding.
10560         (case-table-get-table): New function.
10561         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10563 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10565         * progmodes/subword.el: Add `superword-mode' to do word motion
10566         over symbol_words (parallels and leverages `subword-mode' which
10567         does word motion inside MixedCaseWords).
10569 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10571         * eshell/em-unix.el: Move su and sudo to...
10572         * eshell/em-tramp.el: ...Eshell tramp module.
10574 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10576         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10577         Change return value to be a sexp.  Delay `get-buffer' to after
10578         restoring the desktop (bug#13951).
10580 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10582         * register.el: Move semantic tag handling back to
10583         cedet/semantic/senator.el.  (Bug#14052)
10585 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10587         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10588         into the prompt either (bug#13963).
10590 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10592         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10593         part of "(error-foo)".
10595 2013-03-24  Juri Linkov  <juri@jurta.org>
10597         * replace.el (list-matching-lines-prefix-face): New defcustom.
10598         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10599         `occur-engine' if `face-differs-from-default-p' returns t.
10600         (occur-engine): Add `,' inside backquote construct to evaluate
10601         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10602         Pass `prefix-face' to the functions `occur-context-lines' and
10603         `occur-engine-add-prefix'.
10604         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10605         `prefix-face' and propertize the prefix with `prefix-face'.
10606         (Bug#14017)
10608 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10610         * nxml/rng-valid.el (rng-validate-while-idle)
10611         (rng-validate-quick-while-idle): Guard against deleted buffer.
10612         (Bug#13999)
10614         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10615         is the last entry in kill-buffer-hook.
10617         * files.el (kill-buffer-hook): Doc fix.
10619 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10621         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10622         Make it safe-local.
10624         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10626 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10628         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10629         Remove.
10631         * nxml/rng-valid.el (rng-validate-mode)
10632         (rng-after-change-function, rng-do-some-validation):
10633         * nxml/rng-maint.el (rng-validate-buffer):
10634         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10635         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10636         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10637         (nxml-extend-after-change-region): Use with-silent-modifications.
10639         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10640         timer-idle-list.
10642         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10643         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10644         timer-idle-list.  (Bug#13999)
10646 2013-03-23  Juri Linkov  <juri@jurta.org>
10648         * info.el (info-index-match): New face.
10649         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10650         main pattern and add text properties with the new face to matches
10651         in index entries relative to the beginning of the index entry.
10652         (Bug#14015)
10654 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10656         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10657         Inhibit read only while inserting objects.
10659 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10661         * progmodes/cfengine.el: Update docs to mention
10662         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10663         symbol motion.  Remove "_" from the word syntax.
10665 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10667         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10668         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10670 2013-03-20  Juri Linkov  <juri@jurta.org>
10672         * info.el (Info-next-reference-or-link)
10673         (Info-prev-reference-or-link): New functions.
10674         (Info-next-reference, Info-prev-reference): Use them.
10675         (Info-try-follow-nearest-node): Handle footnote navigation.
10676         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10678 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10680         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10681         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10683 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10685         Suppress unnecessary non-ASCII chatter during build process.
10686         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10687         (batch-skkdic-convert): Suppress most of the chatter.
10688         It's not needed so much now that machines are faster,
10689         and its non-ASCII component was confusing; see Dmitry Gutov in
10690         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10692 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10694         * ido.el (ido-chop): Fix bug#10994.
10696 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10698         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10699         Remove vars.
10700         (whitespace-color-on, whitespace-color-off):
10701         Use `font-lock-fontify-buffer' (Bug#13817).
10703 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10705         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10706         remapping in mode-line.
10707         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10709 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10711         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10712         value for `whitespace-line' face (Bug#13875).
10713         (whitespace-font-lock-keywords): Change description.
10714         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10715         the constructed keywords instead.
10716         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10718 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10720         * progmodes/compile.el (compilation-display-error): New command.
10721         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10722         C-o.  (Bug#13992)
10724 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10726         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10728 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10730         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10732 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10734         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10736         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10737         * net/tramp-gvfs.el (top):
10738         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10739         (tramp-handle-shell-command): Use it.
10740         (tramp-dissect-file-name): Raise an error when hostname is a
10741         method name, and neither method nor user is specified.
10743         * net/trampver.el: Update release number.
10745 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10747         Make sure eldoc can be turned off properly.
10748         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10749         eldoc-mode.
10750         (eldoc-display-message-p): Revert last change.
10751         (eldoc-display-message-no-interference-p)
10752         (eldoc-print-current-symbol-info): Tweak.
10754 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10756         * doc-view.el (doc-view-new-window-function): Check the new window
10757         overlay's display property instead the char property of the
10758         buffer's first char.  Use `with-selected-window' instead of
10759         `save-window-excursion' with `select-window'.
10760         (doc-view-document->bitmap): Check the current doc-view overlay's
10761         display property instead the char property of the buffer's first char.
10763 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10765         Automate the build of ja-dic.el (Bug#13984).
10766         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10767         from the input, rather than assume that it's been done for us by the
10768         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10769         the current date into a ja-dic.el comment, as that complicates
10770         regression testing.
10772 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10774         * whitespace.el: Fix double evaluation.
10775         (whitespace-space, whitespace-hspace, whitespace-tab)
10776         (whitespace-newline, whitespace-trailing, whitespace-line)
10777         (whitespace-space-before-tab, whitespace-indentation)
10778         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10779         obsolete defvars.
10780         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10781         (whitespace-color-on): Use a single font-lock-add-keywords call.
10782         Fix double-evaluation of face variables.
10784 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10786         * net/tramp-adb.el (tramp-adb-parse-device-names):
10787         Use `start-process' instead of `call-process'.  Otherwise, the
10788         function might be blocked under MS Windows.  (Bug#13299)
10790 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10792         Extend eldoc to display info in the mode-line.  (Bug#13978)
10793         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10794         (eldoc-mode-line-string): New variable.
10795         (eldoc-minibuffer-message): New function.
10796         (eldoc-message-function): New variable.
10797         (eldoc-message): Use it.
10798         (eldoc-display-message-p)
10799         (eldoc-display-message-no-interference-p):
10800         Support eldoc-post-insert-mode.
10802         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10803         (eval-expression): Run it.
10805 2013-03-17  Roland Winkler  <winkler@gnu.org>
10807         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10808         strings in the list of return values.
10810 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10812         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10813         radix before checking for HMS forms.
10815 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10817         * progmodes/scheme.el: Add indentation and font-locking for λ.
10818         (Bug#13975)
10820 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10822         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10823         token before point (bug#13942).
10825 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10827         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10829 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10831         * startup.el (command-line-normalize-file-name): Fix handling of
10832         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10833         <xfq.free@gmail.com> in
10834         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10836 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10838         Sync with Tramp 2.2.7.
10840         * net/trampver.el: Update release number.
10842 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10844         * doc-view.el: Fix bug#13887.
10845         (doc-view-insert-image): Don't modify overlay associated to
10846         non-live windows, and implement horizontal centering of image in
10847         case it's smaller than the window.
10848         (doc-view-new-window-function): Force redisplay of new windows on
10849         doc-view buffers.
10851 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10853         * saveplace.el (save-place-alist-to-file): Don't sort
10854         `save-place-alist', just pretty-print it (bug#13882).
10856 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10858         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10859         Check whether `default-file-name-coding-system' is bound.
10860         It isn't in XEmacs.
10862 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10864         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10865         backquotes for `obsolete' (bug#13929).
10867         * international/mule.el (find-auto-coding): Include file name in
10868         obsolescence warning (bug#13922).
10870 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
10872         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10873         for CFEngine 3-specific indentation.
10874         (cfengine3-indent-line): Use it.  Fix up category regex.
10875         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10877 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10879         * type-break.el (type-break-file-name):
10880         * textmodes/remember.el (remember-data-file):
10881         * strokes.el (strokes-file):
10882         * shadowfile.el (shadow-initialize):
10883         * saveplace.el (save-place-file):
10884         * ps-bdf.el (bdf-cache-file):
10885         * progmodes/idlwave.el (idlwave-config-directory):
10886         * net/quickurl.el (quickurl-url-file):
10887         * international/kkc.el (kkc-init-file-name):
10888         * ido.el (ido-save-directory-list-file):
10889         * emulation/viper.el (viper-custom-file-name):
10890         * emulation/vip.el (vip-startup-file):
10891         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10892         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10894 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
10896         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10897         * language/thai-word.el: Switch to UTF-8.
10899 See ChangeLog.16 for earlier changes.
10901 ;; Local Variables:
10902 ;; coding: utf-8
10903 ;; End:
10905   Copyright (C) 2011-2013 Free Software Foundation, Inc.
10907   This file is part of GNU Emacs.
10909   GNU Emacs is free software: you can redistribute it and/or modify
10910   it under the terms of the GNU General Public License as published by
10911   the Free Software Foundation, either version 3 of the License, or
10912   (at your option) any later version.
10914   GNU Emacs is distributed in the hope that it will be useful,
10915   but WITHOUT ANY WARRANTY; without even the implied warranty of
10916   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10917   GNU General Public License for more details.
10919   You should have received a copy of the GNU General Public License
10920   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.