progmodes/cfengine.el: Fix `add-hook' doc.
[emacs.git] / lisp / ChangeLog
blobce088032faac4db93a20ad47d7a8ef4c0dba3242
1 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
3         * progmodes/cfengine.el: Fix `add-hook' doc.
4         (cfengine-mode-syntax-functions-regex):
5         Initialize sensibly.
6         (cfengine3--current-word): Fix parameters.
7         (cfengine3-make-syntax-cache): Simplify further.
8         (cfengine3-completion-function, cfengine3--current-function): Use
9         `assq' for symbols.
10         (cfengine3--current-function): Fix `cfengine3--current-word' call.
12 2013-12-13  Glenn Morris  <rgm@gnu.org>
14         * loadup.el (load-path): Warn if site-load or site-init changes it.
15         No more need to reset it when bootstrapping.
17 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
19         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
20         locations for cf-promises.
21         (cfengine-mode-syntax-functions-regex): New caching variable.
22         (cfengine3-fallback-syntax): Fallback syntax for cases where
23         cf-promises doesn't run.
24         (cfengine3--current-word): Reimplement using
25         `cfengine-mode-syntax-functions-regex'.
26         (cfengine3-completion-function, cfengine3--current-function): Use
27         `cfengine3-make-syntax-cache' directly.
28         (cfengine3-clear-syntax-cache): New function.
29         (cfengine3-make-syntax-cache): Simplify and create
30         `cfengine-mode-syntax-functions-regex' on demand.
31         (cfengine3-format-function-docstring): Don't call
32         `cfengine3-make-syntax-cache' explicitly.
34 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
36         Fix windmove-find-other-window broken after pixelwise resizing
37         (Bug#16017).
38         * windmove.el (windmove-other-window-loc): Revert change from
39         2013-12-04.
40         (windmove-find-other-window): Call window-in-direction.
41         * window.el (window-in-direction): New arguments SIGN, WRAP and
42         MINI to emulate original windmove-find-other-window behavior.
44 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
46         * simple.el (blink-matching--overlay): New variable.
47         (blink-matching-open): Instead of moving point, highlight the
48         matching paren with an overlay
49         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
51         * faces.el (paren-showing-faces, show-paren-match)
52         (show-paren-mismatch): Move from paren.el.
54 2013-12-13  Leo Liu  <sdl.web@gmail.com>
56         * indent.el (indent-region): Disable progress reporter in
57         minibuffer.  (Bug#16108)
59         * bindings.el (visual-order-cursor-movement): Fix version.
61 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
63         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
64         Also match after beginning of line.
65         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
66         files.  Thanks to Russell Sim. (Bug#15378)
68 2013-12-13  Juri Linkov  <juri@jurta.org>
70         * simple.el <Keypad support>: Remove key bindings duplicated
71         with bindings.el.  (Bug#14397)
73 2013-12-13  Juri Linkov  <juri@jurta.org>
75         * comint.el (comint-mode-map): Replace `delete-char' with
76         `delete-forward-char'.  (Bug#16109)
78 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
80         * progmodes/python.el (python-indent-calculate-indentation): Fix
81         de-denters cornercase. (Bug#15731)
83 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
85         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
86         (advice--make): Pay attention to `depth'.
87         (advice--make-1): Don't autoload commands eagerly.
88         * emacs-lisp/elp.el (elp-instrument-function):
89         * emacs-lisp/trace.el (trace-function-internal):
90         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
92         * iswitchb.el (iswitchb-mode): Don't belittle ido.
94 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
96         * term/w32-win.el (w32-handle-dropped-file):
97         * startup.el (normal-top-level):
98         * net/browse-url.el (browse-url-file-url):
99         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
100         decode file names using 'utf-8' rather than
101         file-name-coding-system.
103 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
105         * progmodes/python.el (python-indent-context)
106         (python-indent-calculate-indentation): Fix auto-identation
107         behavior for comment blocks. (Bug#15916)
109 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
111         * progmodes/python.el (python-indent-calculate-indentation):
112         When determining indentation, don't treat "return", "pass", etc., as
113         operators when they are just string constituents.  (Bug#15812)
115 2013-12-12  Juri Linkov  <juri@jurta.org>
117         * uniquify.el (uniquify-buffer-name-style): Change default to
118         `post-forward-angle-brackets'.
120         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
121         `uniquify'.  Change default to `post-forward-angle-brackets'.
123 2013-12-11  Glenn Morris  <rgm@gnu.org>
125         * emacs-lisp/package.el (finder-list-matches):
126         Autoload rather than falsely declaring.
128 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
130         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
131         (eww-mode-map): Use them.
133 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
135         * window.el (display-buffer-in-side-window): Fix doc-string
136         (Bug#16115).
138 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
140         * vc/vc-git.el: Silence byte-compiler warnings.
141         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
142         (log-edit-set-header): Declare.
144 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
146         * Makefile.in (custom-deps, finder-data): Run output file names
147         through unmsys--file-name.  (Bug#16099)
149 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
151         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
152         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
154         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
155         instead of deleting the selection "by hand" (bug#16098).
156         Rely on insert-for-yank to yank rectangles.
157         (cua-highlight-region-shift-only): Mark obsolete.
158         (cua-mode): Don't enable/disable transient-mark-mode,
159         shift-select-mode (cua-mode works both with and without them), and
160         pc-selection-mode (obsolete).
161         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
162         (cua--deactivate-rectangle): Deactivate it.
164         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
165         (delete-selection-helper): Make sure yank starts at the top of the
166         deleted region.
167         (minibuffer-keyboard-quit): Use region-active-p.
169         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
171         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
172         to `delete' (bug#16109).
174 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
176         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
177         info manual and show keybindings and set `:group' keyword.
179 2013-12-11  Juri Linkov  <juri@jurta.org>
181         * delsel.el (delete-active-region): Let-bind `this-command'
182         to prevent `kill-region' from changing its original value.
183         (delete-selection-helper): Handle `overwrite-mode' for the type
184         `kill' exactly the same way as for the type `t'.
185         (insert-char, quoted-insert, reindent-then-newline-and-indent):
186         Support more commands.  (Bug#13312)
188 2013-12-11  Juri Linkov  <juri@jurta.org>
190         * bindings.el: Map kp keys to non-kp keys systematically
191         with basic modifiers control, meta and shift.  (Bug#14397)
193 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
195         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
196         "Close browser" menu items.  Fix wrong function of "List
197         bookmarks".
199 2013-12-11  Juri Linkov  <juri@jurta.org>
201         * misearch.el (multi-isearch-buffers): Set the value of
202         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
203         arg of isearch-forward to t.
204         (multi-isearch-buffers-regexp): Set the value of
205         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
206         arg of isearch-forward-regexp to t.
207         (multi-isearch-files): Set the value of
208         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
209         arg of isearch-forward to t.
210         (multi-isearch-files-regexp): Set the value of
211         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
212         arg of isearch-forward-regexp to t.  (Bug#16035)
214         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
215         arg of isearch-forward to t.
216         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
217         arg of isearch-forward-regexp to t.
218         (dired-isearch-filter-filenames): Remove unnecessary check for
219         `dired-isearch-filenames'.
221         * comint.el (comint-history-isearch-backward):
222         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
223         (comint-history-isearch-backward-regexp):
224         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
226 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
228         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
229         unmsys--file-name.  (Bug#16099)
231 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
233         * emacs-lisp/package.el (package-keyword-button-action):
234         Remove finder.el require dependency.
236 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
238         * emacs-lisp/package.el: Require finder.el.
239         (describe-package-1): Add keyword buttons.
240         (package-make-button): New convenience function.
241         (package-keyword-button-action): Keyword button action using
242         `finder-list-matches'
244 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
246         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
247         last commit.
249 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
251         * autorevert.el (auto-revert-notify-add-watch): Do not handle
252         symlinked files.
254 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
256         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
257         after the end of a percent literal.
259 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
261         * progmodes/ruby-mode.el (ruby-forward-string): Document.
262         Handle caret-delimited strings (Bug#16079).
264 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
266         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
267         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
268         `ruby-parse-partial' (Bug#16078).
270 2013-12-09  Leo Liu  <sdl.web@gmail.com>
272         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
274 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
276         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
277         (js-switch-indent-offset): New option.
278         (js--proper-indentation): Use it.  And handle the case when
279         "default" is actually a key in an object literal.
280         (js--same-line): New function.
281         (js--multi-line-declaration-indentation): Use it.
282         (js--indent-in-array-comp, js--array-comp-indentation):
283         New functions.
284         (js--proper-indentation): Use them, to handle array comprehension
285         continuations.
287 2013-12-08  Leo Liu  <sdl.web@gmail.com>
289         * progmodes/flymake.el (flymake-highlight-line): Re-write.
290         (flymake-make-overlay): Remove arg MOUSE-FACE.
291         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
293 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
295         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
296         New function.
297         (redisplay-highlight-region-function): Use it.
299         * emulation/cua-base.el (cua--explicit-region-start)
300         (cua--last-region-shifted): Remove.
301         (cua--deactivate): Use deactivate-mark.
302         (cua--pre-command-handler-1): Don't handle shift-selection.
303         (cua--post-command-handler-1): Don't change transient-mark-mode.
304         (cua--select-keymaps): Use region-active-p rather than
305         cua--explicit-region-start or cua--last-region-shifted.
306         (cua-mode): Enable shift-select-mode.
308 2013-12-08  Leo Liu  <sdl.web@gmail.com>
310         * progmodes/flymake.el (flymake-popup-current-error-menu):
311         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
312         (flymake-posn-at-point-as-event, flymake-popup-menu)
313         (flymake-make-emacs-menu): Remove.  (Bug#16077)
315 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
317         * rect.el (rectangle-mark-mode): Activate mark even if
318         transient-mark-mode is off (bug#16066).
319         (rectangle--highlight-for-redisplay): Fix boundary condition when point
320         is > mark and at bolp.
322         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
323         (region-extract-function): Use it.
324         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
325         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
326         Delete functions.
327         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
328         kill-ring-save, kill-region, delete-char, delete-forward-char.
329         Ignore self-insert-iso.
331         * emulation/cua-gmrk.el (cua--init-global-mark):
332         Ignore `self-insert-iso'.
334         * emulation/cua-base.el (cua--prefix-copy-handler)
335         (cua--prefix-cut-handler): Rely on region-extract-function rather than
336         checking cua--rectangle.
337         (cua-delete-region): Use region-extract-function.
338         (cua-replace-region): Delete function.
339         (cua-copy-region, cua-cut-region): Obey region-extract-function.
340         (cua--pre-command-handler-1): Don't do the delete-selection thing.
341         (cua--self-insert-char-p): Ignore `self-insert-iso'.
342         (cua--init-keymaps): Don't remap delete-selection commands.
343         (cua-mode): Use delete-selection-mode instead of rolling our own
344         (bug#16085).
346         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
347         Obey region-extract-function.
349         Make registers and delete-selection-mode work on rectangles.
350         * register.el (describe-register-1): Don't modify the register's value.
351         (copy-to-register): Obey region-extract-function.
352         * delsel.el (delete-active-region): Obey region-extract-function.
354 2013-12-08  Leo Liu  <sdl.web@gmail.com>
356         * progmodes/flymake.el (flymake, flymake-error-bitmap)
357         (flymake-warning-bitmap, flymake-fringe-indicator-position)
358         (flymake-compilation-prevents-syntax-check)
359         (flymake-start-syntax-check-on-newline)
360         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
361         (flymake-start-syntax-check-on-find-file, flymake-log-level)
362         (flymake-xml-program, flymake-master-file-dirs)
363         (flymake-master-file-count-limit)
364         (flymake-allowed-file-name-masks): Relocate.
365         (flymake-makehash, flymake-float-time)
366         (flymake-replace-regexp-in-string, flymake-split-string)
367         (flymake-get-temp-dir): Remove.
368         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
369         (flymake-current-row, flymake-selected-frame)
370         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
371         related functions.  (Bug#16077)
373 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
375         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
377 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
379         * help-fns.el (describe-function-1): Use new advice-* functions
380         rather than old ad-* functions.  Fix function type description and
381         source links for advised functions and subrs.
383 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
385         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
387 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
389         * progmodes/compile.el (compilation-start):
390         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
392         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
393         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
395 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
397         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
398         Touch up the last change.
400 2013-12-06  Leo Liu  <sdl.web@gmail.com>
402         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
403         (inferior-octave-startup): Always use "octave> " for prompt.
404         (octave-goto-function-definition)
405         (octave-sync-function-file-names)
406         (octave-find-definition-default-filename): Remove redundant backquotes.
408 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
410         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
411         syntax for `?'.
412         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
413         where appropriate already.
414         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
415         end of method names (Bug#15874).
417 2013-12-06  Juri Linkov  <juri@jurta.org>
419         * isearch.el (isearch--saved-overriding-local-map):
420         New internal variable.
421         (isearch-mode): Set it to the initial value of
422         `overriding-terminal-local-map'.
423         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
424         with `isearch--saved-overriding-local-map'.  (Bug#16035)
426 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
428         * progmodes/octave.el (inferior-octave-completion-table):
429         Turn back into function, use `completion-table-with-cache'
430         (Bug#11906).  Update all references.
432         * minibuffer.el (completion-table-with-cache): New function.
434 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
436         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
438 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
440         * net/eww.el (eww-current-source): New variable to store page
441         source.
442         (eww-display-html, eww-mode, eww-save-history)
443         (eww-restore-history): Use it.
444         (eww-view-source): New command to view page source.
445         Opportunistically uses `html-mode' to highlight the buffer.
446         (eww-mode-map): Install it.
448 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
450         * net/dbus.el (dbus-unregister-service)
451         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
452         Fix docstring.
453         (dbus-unregister-service): Skip :serial entries in
454         `dbus-registered-objects-table'.
455         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
457 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
459         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
460         around keywords with extra `split-string' argument.
462 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
464         * windmove.el (windmove-other-window-loc): Handle navigation
465         between windows (excluding the minibuffer window - Bug#16017).
467 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
469         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
470         in D-Bus type syntax.
471         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
472         preserve unibyte strings.  (Bug#16048)
474 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
476         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
477         Call force-mode-line-update is the proper buffer (bug#16042).
479 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
481         * vc/log-edit.el (log-edit-add-new-comment): Rename to
482         `log-edit-remember-comment', make argument optional.  Adjust all
483         callers.
484         (log-edit-mode): Add `log-edit-remember-comment' to
485         `kill-buffer-hook' locally.
486         (log-edit-kill-buffer): Don't remember comment explicitly since
487         the buffer is killed anyway.
489 2013-12-04  Juri Linkov  <juri@jurta.org>
491         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
492         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
494 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
496         * notifications.el (notifications-close-notification): Call the
497         D-Bus method with ID being a `:uint32'.  (Bug#16030)
499 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
501         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
503 2013-12-03  Juri Linkov  <juri@jurta.org>
505         * progmodes/compile.el (compilation-start): Rename window alist
506         entry `no-display-ok' to `allow-no-window'.
508         * simple.el (shell-command): Add window alist entry
509         `allow-no-window' to `display-buffer'.
510         (async-shell-command): Doc fix.
512         * window.el (display-buffer-no-window): New action function.
513         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
515 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
517         * vc/log-edit.el (log-edit-set-header): Extract from
518         `log-edit-toggle-header'.
519         (log-edit-extract-headers): Separate the summary, when extracted
520         from header, from the rest of the message with an empty line.
522         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
523         line, if present, to the Summary header.
525 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
527         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
528         in current-buffer (bug#16029).
530 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
532         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
533         (debugger-mode-map): Bind it.
534         (debugger--backtrace-base): New function.
535         (debugger-eval-expression): Use it.
536         (debugger-frame-number): Skip local vars when present.
537         (debugger--locals-visible-p, debugger--insert-locals)
538         (debugger--show-locals, debugger--hide-locals): New functions.
540 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
542         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
543         "LC_ALL".
544         (tramp-get-remote-locale): New defun.
545         (tramp-open-connection-setup-interactive-shell): Use it.
547 2013-12-02  Leo Liu  <sdl.web@gmail.com>
549         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
551         * progmodes/sh-script.el (sh-shell-process):
552         * progmodes/octave.el (inferior-octave-process-live-p):
553         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
554         (gdb-inferior-io-sentinel):
555         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
557 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
559         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
560         `save-selected-window' to `log-edit-hide-buf'.  This makes
561         `log-edit-show-files' idempotent.
562         (log-edit-show-files): Mark the new window as dedicated.
564 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
566         * vc/log-edit.el (log-edit-mode-map): Add binding for
567         `log-edit-kill-biffer'.
568         (log-edit-hide-buf): Add a FIXME comment.
569         (log-edit-add-new-comment): New function, extracted from
570         `log-edit-done'.
571         (log-edit-done, log-edit-add-to-changelog): Use it.
572         (log-edit-kill-buffer): New command.
574 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
576         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
577         instead of killing the buffer.
579 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
581         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
583 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
585         * net/eww.el (eww-form-checkbox-selected-symbol)
586         (eww-form-checkbox-symbol): New customizable variable.
587         (eww-form-checkbox, eww-toggle-checkbox):
588         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
590         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
591         (shr--get-media-pref, shr--extract-best-source): New function.
592         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
593         no :src tag was specified.
595         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
596         (eww-render): Handle `eww-use-external-browser-for-content-type'.
597         Use \\` to match beginning of string instead of ^.
598         (eww-browse-with-external-browser): Provide optional URL parameter.
599         (eww-render): Set `eww-current-title' back to "".
601         * net/shr.el (shr-tag-video): Display content for video if no
602         poster is available.
603         (shr-tag-audio): Add support for <audio> tag.
605         * net/eww.el (eww-text-input-types): : New const.
606         (eww-process-text-input): Treat input types in
607         `eww-text-input-types' as text.
609         * net/shr.el (shr-tag-table): Fix comment typo.
611 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
613         * net/eww.el (eww-follow-link): New command to avoid reloading
614         pages when we follow #target links (bug#15243).
615         (eww-quit): Special mode buffers shouldn't query before exiting.
617 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
619         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
620         forms.
622 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
624         * net/eww.el (eww-restore-history): Update the window title after
625         moving in the history.
626         (eww-current-dom): New variable used to save the current DOM.
628 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
630         * vc/log-edit.el (log-edit-mode-map): Add binding for
631         `log-edit-beginning-of-line'.
632         (log-edit-setup-add-author): New user option.
633         (log-edit-beginning-of-line): New command.
634         (log-edit): Move major mode call above the contents setup so that
635         the local variable values are already applied.
636         (log-edit): Only insert "Author: " when
637         `log-edit-setup-add-author' is non-nil.
638         (log-edit): When SETUP is non-nil, position point after ": "
639         instead of point-min.
641 2013-12-01  Glenn Morris  <rgm@gnu.org>
643         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
645 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
647         * startup.el (fancy-splash-frame): On MS-Windows, trigger
648         redisplay to make sure the initial frame gets a chance to become
649         visible.  (Bug#16014)
651 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
653         Support resizing frames and windows pixelwise.
654         * cus-start.el (frame-resize-pixelwise)
655         (window-resize-pixelwise): New entries.
656         * emacs-lisp/debug.el (debug): Use window-total-height instead
657         of window-total-size.
658         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
659         * help.el (describe-bindings-internal): Call help-buffer
660         (temp-buffer-max-width): New option.
661         (resize-temp-buffer-window, help-window-setup)
662         (with-help-window): Rewrite.
663         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
664         dragging dividers.
665         * window.el (frame-char-size, window-min-pixel-height)
666         (window-safe-min-pixel-height, window-safe-min-pixel-width)
667         (window-min-pixel-width, window-safe-min-pixel-size)
668         (window-combination-p, window-safe-min-size)
669         (window-resizable-p, window--size-to-pixel)
670         (window--pixel-to-size, window--resize-apply-p): New functions.
671         (window-safe-min-height): Fix doc-string.
672         (window-size, window-min-size, window--min-size-1)
673         (window-sizable, window-sizable-p, window--min-delta-1)
674         (window-min-delta, window--max-delta-1, window-max-delta)
675         (window--resizable, window--resizable-p, window-resizable)
676         (window-full-height-p, window-full-width-p, window-at-side-p)
677         (window--in-direction-2, window-in-direction)
678         (window--resize-reset-1, window--resize-mini-window)
679         (window-resize, window-resize-no-error)
680         (window--resize-child-windows-normal)
681         (window--resize-child-windows, window--resize-siblings)
682         (window--resize-this-window, window--resize-root-window)
683         (window--resize-root-window-vertically)
684         (adjust-window-trailing-edge, enlarge-window, shrink-window)
685         (maximize-window, minimize-window, delete-window)
686         (quit-restore-window, window-split-min-size, split-window)
687         (balance-windows-2, balance-windows)
688         (balance-windows-area-adjust, balance-windows-area)
689         (window--state-get-1, window-state-get, window--state-put-1)
690         (window--state-put-2, window-state-put)
691         (display-buffer-record-window, window--display-buffer):
692         Make functions handle pixelwise sizing of windows.
693         (display-buffer--action-function-custom-type)
694         (display-buffer-fallback-action):
695         Add display-buffer-in-previous-window.
696         (display-buffer-use-some-window): Resize window to height it had
697         before.
698         (fit-window-to-buffer-horizontally): New option.
699         (fit-frame-to-buffer): Describe new values.
700         (fit-frame-to-buffer-bottom-margin): Replace with
701         fit-frame-to-buffer-margins.
702         (window--sanitize-margin): New function.
703         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
704         using window-text-pixel-size.
706 2013-11-30  Glenn Morris  <rgm@gnu.org>
708         * emacs-lisp/bytecomp.el (byte-compile-form):
709         Make the `interactive-only' warning like the `obsolete' one.
710         * comint.el (comint-run):
711         * files.el (insert-file-literally, insert-file):
712         * replace.el (replace-string, replace-regexp):
713         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
714         (goto-line, insert-buffer, next-line, previous-line):
715         Tweak `interactive-only' spec.
717         Stop keeping (most) generated cedet grammar files in the repository.
718         * Makefile.in (semantic): New.
719         (compile-main): Depend on semantic.
721 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
723         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
724         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
726         * uniquify.el (uniquify-buffer-name-style): Change default.
728         * loadup.el: Preload "uniquify".
730         * time.el (display-time-update): Update all mode lines (bug#15999).
732         * electric.el (electric-indent-mode): Enable by default.
733         * loadup.el: Preload "electric".
735 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
737         * emacs-lisp/helpers.el (string-empty-p): New function.
738         (string-blank-p): New function.
740 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
742         * imenu.el (imenu--index-alist): Add missing dot to the docstring
743         (Bug#14029).
745 2013-11-29  Andreas Politz  <politza@fh-trier.de>
746         * imenu.el (imenu--subalist-p): Don't error on non-conses and
747         allow non-lambda lists as functions.
748         (imenu--in-alist): Don't recurse into non-subalists.
749         (imenu): Don't pass function itself as an argument (Bug#14029).
751 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
753         * progmodes/python.el (python-mode-map): Remove binding for ":".
754         (python-indent-electric-colon): Remove command.
755         (python-indent-post-self-insert-function): Integrate the previous code
756         of python-indent-electric-colon.  Make it conditional on
757         electric-indent-mode.
758         (python-mode): Add ?: to electric-indent-chars.
759         Move python-indent-post-self-insert-function to the end of
760         post-self-insert-hook.
762 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
764         * doc-view.el (doc-view-goto-page): Update mode-line.
766         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
768 2013-11-27  Glenn Morris  <rgm@gnu.org>
770         * international/charprop.el, international/uni-bidi.el:
771         * international/uni-category.el, international/uni-combining.el:
772         * international/uni-comment.el, international/uni-decimal.el:
773         * international/uni-decomposition.el, international/uni-digit.el:
774         * international/uni-lowercase.el, international/uni-mirrored.el:
775         * international/uni-name.el, international/uni-numeric.el:
776         * international/uni-old-name.el, international/uni-titlecase.el:
777         * international/uni-uppercase.el:
778         Remove generated files from VCS repository.
780 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
782         * filenotify.el (file-notify-add-watch): Don't special-case
783         w32notify when computing the directory to watch.
785 2013-11-27  Glenn Morris  <rgm@gnu.org>
787         Make bootstrap without generated uni-*.el files possible again.
788         * loadup.el: Update command-line-args checking for unidata-gen.
789         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
790         * composite.el, international/characters.el:
791         Handle unicode tables being undefined.
793         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
794         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
795         (compile-main): Depend on leim rule.
796         (leim): New rule.
797         * loadup.el: Move leim-list.el to leim/ subdirectory.
798         * startup.el (normal-top-level): No more leim directory.
799         * international/ja-dic-cnv.el (skkdic-convert):
800         Disable version-control and autoloads in output files.
801         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
802         Disable version-control and autoloads in output files.
803         * leim/quail: Move here from ../leim.
804         * leim/quail/hangul.el (hangul-input-method-activate):
805         Add autoload cookie.
806         (generated-autoload-load-name): Set file-local value.
807         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
808         (generated-autoload-load-name): Set file-local value.
810 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
812         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
813         (eww-add-bookmark): ask confirmation when add to bookmarks
814         (eww-quit): ask confirmation before quitting eww
816 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
818         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
819         reading output from Diff on MS-Windows and MS-DOS.
821 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
823         * emacs-lisp/helpers.el (string-reverse): New function.
825 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
827         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
828         names on MS Windows, like "/[::1]:".
830         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
831         SWITCHES.
833 2013-11-26  Glenn Morris  <rgm@gnu.org>
835         * progmodes/python.el (python-indent-guess-indent-offset):
836         Avoid corner-case error.  (Bug#15975)
838         Preload leim-list.el.  (Bug#4789)
839         * loadup.el: Load leim-list.el when found.
840         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
842 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
844         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
846         * emacs-lisp/helpers.el (string-join): New function.
848 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
850         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
851         Mark as obsolete and replace it with a symbol property.
852         (byte-compile-form): Use new 'interactive-only property.
853         * comint.el, files.el, replace.el, simple.el:
854         Apply new 'interactive-only properly.
856 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
858         * window.el (display-buffer-at-bottom): Make sure that
859         split-window-sensibly creates the new window on bottom
860         (Bug#15961).
862 2013-11-23  David Kastrup  <dak@gnu.org>
864         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
865         on the conflict markers when available.
866         (smerge--get-marker): New function.
867         (smerge-end-re, smerge-base-re): Add subgroup.
869 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
871         * frame.el (handle-focus-in, handle-focus-out): Add missing
872         interactive spec.
874 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
876         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
877         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
879 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
882         (gomoku--last-pos): New var.
883         (gomoku--intangible-chars): New const.
884         (gomoku--intangible): New function.
885         (gomoku-mode): Use it.  Derive from special-mode.
886         (gomoku-move-up): Adjust line count.
887         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
888         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
889         Simplify accordingly.
891         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
892         Remove blink-cursor code.
893         (blink-cursor-timer-function, blink-cursor-suspend):
894         Don't special-case GUIs.
895         (blink-cursor-mode): Use focus-in/out-hook.
897 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
899         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
900         work when annotation is invisible (Bug#13886).
902 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
904         * json.el (json-alist-p): Only return non-nil if the alist has
905         simple keys (Bug#13518).
907 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
909         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
910         when control-statement is the first statement in a buffer (Bug#15956).
912 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
914         * imenu.el (imenu-generic-skip-comments-and-strings):
915         New option (Bug#15560).
916         (imenu--generic-function): Use it.
918 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
920         * minibuffer.el (completion--in-region-1): Scroll the correct
921         window. (Bug#13898)
923 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
925         * emacs-lisp/helpers.el: Add some string helpers.
926         (string-trim-left): Removes leading whitespace.
927         (string-trim-right): Removes trailing whitespace.
928         (string-trim): Removes leading and trailing whitespace.
930         * subr.el (string-suffix-p): New function.
932 2013-11-23  Glenn Morris  <rgm@gnu.org>
934         * progmodes/python.el (python-shell-send-file):
935         Add option to delete file when done.  (Bug#15647)
936         (python-shell-send-string, python-shell-send-region): Use it.
938 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
940         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
941         to set buffer-read-only to t, never to nil.  (Bug#15938)
943         * textmodes/tex-mode.el (latex-noindent-environments):
944         Add safe-local-variable property.  (Bug#15936)
946 2013-11-23  Glenn Morris  <rgm@gnu.org>
948         * textmodes/enriched.el (enriched-mode): Doc fix.
949         * emacs-lisp/authors.el (authors-renamed-files-alist):
950         Add enriched.doc -> enriched.txt.
952         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
954 2013-11-22  Leo Liu  <sdl.web@gmail.com>
956         * progmodes/octave.el (inferior-octave-startup): Spit out error
957         message.
959 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
961         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
962         Improve docstring.
963         Add :version.
964         (ruby-encoding-magic-comment-style): Add :version.
966 2013-11-22  Leo Liu  <sdl.web@gmail.com>
968         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
969         (Bug#15076)
970         (octave-help-mode): Adapt to change to help-mode-finish to use
971         derived-mode-p on 2013-09-17.
972         (inferior-octave-prompt): Also match octave-gui.
973         (octave-kill-process): Don't ask twice.  (Bug#10564)
975 2013-11-22  Leo Liu  <sdl.web@gmail.com>
977         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
978         (inferior-octave-startup, inferior-octave-check-process)
979         (inferior-octave-track-window-width-change)
980         (octave-completion-at-point, octave-eldoc-function): Use it.
981         (octave-kill-process): Provide confirmation.  (Bug#10564)
983 2013-11-21  Leo Liu  <sdl.web@gmail.com>
985         * progmodes/octave.el (octave-mode, inferior-octave-mode):
986         Fix obsolete variable comment-use-global-state.
988 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
990         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
991         Add `octave-source-file'.
992         (octave-source-file): New function.  (Bug#15935)
994 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
996         * net/eww.el (eww-local-regex): New variable.
997         (eww): Use it to detect localhost and similar.
999 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1001         Add completion for command `ag'.
1002         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1003         (pcomplete/ag): New function.
1004         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1006 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1008         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1009         (bug#14646).
1010         (make-obsolete): Remove interactive spec.
1012 2013-11-21  Glenn Morris  <rgm@gnu.org>
1014         * startup.el (command-line-1): Use path-separator with -L.
1016 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1018         * emacs-lisp/package.el (describe-package-1): Add package archive
1019         to shown fields.
1021 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1023         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1024         Change default to "# encoding: %s" to differentiate it from the
1025         default Ruby encoding comment template.
1027 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1029         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1031 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1033         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1035 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1037         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1038         when rebase or bisect are in progress.
1040 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1042         * filenotify.el (file-notify-add-watch): Doc fix.
1044 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1046         * obsolete/rcompile.el: Mark obsolete.
1048         * progmodes/compile.el (compilation-start)
1049         (compilation-goto-locus, compilation-find-file):
1050         Pass no-display-ok and handle nil value from display-buffer.
1051         (Bug#13594)
1053         * window.el (display-buffer-alist, display-buffer): Document the
1054         new parameter no-display-ok.  Return either a window or nil
1055         but never a non-window value.
1057 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1059         * electric.el (electric-indent-mode-map): Remove.
1060         (electric-indent-mode): Change the global-map instead (bug#15915).
1062         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1063         Use add-function.
1065 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1067         * emacs-lisp/nadvice.el (remove-function): Align with
1068         add-function's behavior.
1070         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1071         (gdb--string-regexp): New constant.
1072         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1073         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1074         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1075         submatch 1.
1076         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1077         Adjust use accordingly.
1078         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1080 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1082         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1083         interpolation curlies (Bug#15914).
1085 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1087         * calc/calc.el (calc-context-sensitive-enter): New variable.
1088         (calc-enter): Use `calc-context-sensitive-enter'.
1090 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1092         * progmodes/cfengine.el: Version bump.
1093         (cfengine-cf-promises): New defcustom to locate cf-promises.
1094         (cfengine3-vartypes): Add new "data" type.
1095         (cfengine3--current-word): New function to get current name-like
1096         word or its bounds.
1097         (cfengine3--current-function): New function to look up a CFEngine
1098         function's definition.
1099         (cfengine3-format-function-docstring): New function.
1100         (cfengine3-make-syntax-cache): New function.
1101         (cfengine3-documentation-function): New function: ElDoc glue.
1102         (cfengine3-completion-function): New function: completion glue.
1103         (cfengine3-mode): Set `compile-command',
1104         `eldoc-documentation-function', and add to
1105         `completion-at-point-functions'.
1107 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1109         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1110         `tramp-current-connection'.
1112 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1114         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1115         nil/self/true/false with "end of symbol".
1117 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1119         * subr.el (version-regexp-alist): Fix a typo.
1121 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1123         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1124         "en_US.utf8" and "LC_CTYPE" to "".
1125         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1126         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1128 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1130         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1132 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1134         * progmodes/gud.el (ctl-x-map):
1135         Remove C-x SPC binding.  (Bug#12342)
1136         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1138 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1140         * subr.el (version-regexp-alist):
1141         Recognize hg, svn and darcs versions as snapshot versions.
1143         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1144         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1145         (ruby--encoding-comment-required-p): Extract from
1146         `ruby-mode-set-encoding'.
1147         (ruby-mode-set-encoding): Add the ability to always insert an
1148         utf-8 encoding comment.  Fix and simplify coding comment update
1149         logic.
1151 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1153         * net/tramp-gvfs.el (top): Run init code only when
1154         `tramp-gvfs-enabled' is not nil.
1155         (tramp-gvfs-enabled): Check also :system bus.
1157 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1159         Sync with upstream verilog-mode revision 78e66ba.
1160         * progmodes/verilog-mode.el (verilog-end-of-defun)
1161         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1162         (verilog-get-end-of-defun): Remove unused argument.
1163         (verilog-comment-depth): Remove unused local `e'.
1164         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1165         Don't pass arg to verilog-get-end-of-defun.
1167 2013-11-14  Glenn Morris  <rgm@gnu.org>
1169         * obsolete/assoc.el (aget): Prefix dynamic variable.
1171         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1173 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1175         * widget.el, hfy-cmap.el: Remove bogus package version number.
1177 2013-11-13  Glenn Morris  <rgm@gnu.org>
1179         * replace.el (replace-eval-replacement):
1180         Try to give more helpful error message.  (Bug#15836)
1182         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1183         (archive-7z-update): Avoid custom type mismatches.
1185         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1187 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1189         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1190         address can be empty.
1192         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1193         Accept nil SWITCHES.
1194         (tramp-gvfs-handle-write-region): Implement APPEND.
1196 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1198         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1199         binary "|" operator and closing block args delimiter.
1200         Remove FIXME comment referring to Ruby 1.8-only syntax.
1201         (ruby-smie--implicit-semi-p): Not after "|" operator.
1202         (ruby-smie--closing-pipe-p): New function.
1203         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1204         (ruby-smie-rules): Indent after "|".
1206 2013-11-12  Glenn Morris  <rgm@gnu.org>
1208         * ps-print.el (ps-face-attribute-list):
1209         Handle anonymous faces.  (Bug#15827)
1211 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1213         * window.el (display-buffer-other-frame): Fix doc-string.
1214         (Bug#15868)
1216 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1218         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1220 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1222         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1223         (tramp-sh-handle-file-local-copy): Don't write a message when
1224         saving temporary files.
1226         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1227         both directories are remote.
1228         (tramp-smb-handle-directory-files): Do not return double entries.
1229         Do not expand full file names.
1230         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1231         (tramp-smb-handle-write-region): Implement APPEND.
1232         (tramp-smb-get-stat-capability): Fix a stupid bug.
1234 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1236         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1238 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1240         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1241         throwing error over malformed let/let* (bug#15814).
1243 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1245         * iswitchb.el (iswitchb-mode): Mark obsolete.
1247 2013-11-11  Glenn Morris  <rgm@gnu.org>
1249         * international/uni-bidi.el, international/uni-category.el:
1250         * international/uni-name.el, international/uni-numeric.el:
1251         Regenerate for Unicode 6.3.0.
1253 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1255         * net/tramp.el (tramp-methods):
1256         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1257         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1259 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1261         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1262         Force highlighting text after Summary keyword in doc face for rpm.
1264 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1266         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1267         available and the word has no wildcards, append one to the grep pattern.
1268         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1269         (ispell-complete-word): Call `ispell-lookup-words' with the value
1270         independent of `ispell-look-p'.
1272 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1274         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1275         Not after "||".
1276         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1277         their parent.
1279 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1282         (ruby-font-lock-keywords): Use backquote.
1284 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1286         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1287         (ruby-smie--backward-token): Only consider full-string matches.
1289 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1291         * faces.el (describe-face): Add distant-foreground.
1293 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1295         * progmodes/ruby-mode.el: Improve encoding comment handling.
1296         (ruby-encoding-magic-comment-style): New option.
1297         (ruby-custom-encoding-magic-comment-template): New option.
1298         (ruby--insert-coding-comment, ruby--detect-encoding):
1299         New functions extracted from `ruby-mode-set-encoding'.
1300         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1301         to control the style of the auto-inserted encoding comment.
1303 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1305         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1306         Use `smie-backward-sexp' with token argument.
1308 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1310         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1311         Remove instrumentation code.
1313 2013-11-08  Glenn Morris  <rgm@gnu.org>
1315         * progmodes/autoconf.el (autoconf-mode):
1316         Tweak comment-start-skip.  (Bug#15822)
1318 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1320         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1321         at bobp (bug#15826).
1322         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1324 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1326         * man.el (Man-start-calling): New macro, extracted from
1327         Man-getpage-in-background.
1328         (Man-getpage-in-background): Use it.
1329         (Man-update-manpage): New command.
1330         (Man-mode-map): Bind it.
1332 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1334         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1335         of "and", "or", "&&" and "||".
1336         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1337         argument.  Prohibit opening curly brace because it could only be a
1338         block opener in that position.
1339         (ruby-smie--forward-token, ruby-smie--backward-token):
1340         Separate "|" from "&" or "*" going after it.  That can happen in block
1341         arguments.
1342         (ruby-smie--indent-to-stmt): New function, seeks the end of
1343         previous statement or beginning of buffer.
1344         (ruby-smie-rules): Use it.
1345         (ruby-smie-rules): Check if there's a ":" before a curly block
1346         opener candidate; if there is, it's a hash.
1348 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1350         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1351         (cl--block-wrapper): Fix last accidental change.
1353 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1355         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1356         Instrument, in order to hunt failure on hydra.
1358 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1360         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1361         malformed bindings form (bug#15814).
1363 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1365         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1366         "." compared to " @ ".  This incidentally fixes some indentation
1367         examples with "do".
1368         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1369         (ruby-smie-grammar): New tokens: "and" and "or".
1370         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1371         Exclude "and" and "or".  Remove "do" in order to work around token
1372         priorities.
1373         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1374         beginning-of-buffer.
1376 2013-11-06  Glenn Morris  <rgm@gnu.org>
1378         * Makefile.in (setwins_almost, setwins_for_subdirs):
1379         Avoid accidental matches.
1381 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1383         * menu-bar.el (popup-menu): Use key-binding.
1385 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1387         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1388         menus, support also the menus produced by minor modes.
1389         (Bug#15817)
1391 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1393         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1394         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1396 2013-11-06  Glenn Morris  <rgm@gnu.org>
1398         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1399         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1400         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1402 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1404         * electric.el (electric-indent-just-newline): New command.
1405         (electric-indent-mode-map): New keymap.
1406         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1407         Re-add :group which weren't redundant.
1409         * electric.el (electric-indent-local-mode): New minor mode.
1410         (electric-indent-functions-without-reindent): New var.
1411         (electric-indent-post-self-insert-function): Use it.
1412         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1414 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1416         * international/quail.el (quail-help): Be more explicit about the
1417         meaning of the labels shown on the keys.  (Bug#15800)
1419         * startup.el (normal-top-level): Load the subdirs.el files before
1420         setting the locale environment.  (Bug#15805)
1422 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1424         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1425         via arguments so as to get the right ones (bug#15418).
1427         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1429 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1431         Fix problems found while writing a test suite.
1433         * net/tramp-compat.el (tramp-compat-load): New defun.
1434         * net/tramp.el (tramp-handle-load): Use it.
1436         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1437         "(numberp ok-if-already-exists)" correctly.
1439 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1441         * international/characters.el (glyphless-char-display-control):
1442         Add usage note.
1444 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1446         * progmodes/python.el (python-mode):
1447         * progmodes/scheme.el (scheme-mode):
1448         * progmodes/prolog.el (prolog-mode):
1449         * progmodes/ruby-mode.el (ruby-mode):
1450         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1451         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1453 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1455         * rect.el (rectangle--highlight-for-redisplay):
1456         * emacs-lisp/smie.el (smie--next-indent-change):
1457         Use buffer-chars-modified-tick.
1459         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1461         * electric.el (electric-indent-post-self-insert-function):
1462         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1464 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1466         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1468 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1470         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1471         (bug#15786).
1473 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1475         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1477         * progmodes/python.el: Fix up last change.
1478         (python-shell--save-temp-file): New function.
1479         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1480         `string' comes from the current buffer.
1481         (python-shell-send-string-no-output): Remove `msg' arg.
1482         (python--use-fake-loc): New var.
1483         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1484         extra coding line added by python-shell--save-temp-file.
1485         (python-shell-send-region): Use python-shell--save-temp-file and
1486         python-shell-send-file directly.  Add `nomain' argument.
1487         (python-shell-send-buffer): Use python-shell-send-region.
1488         (python-electric-pair-string-delimiter): New function.
1489         (python-mode): Use it.
1491 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1493         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1494         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1495         environment and decoding all of the default-directory's to here
1496         from command-line.
1497         (command-line): Decode also argv[0].
1499         * loadup.el: Error out if default-directory is a multibyte string
1500         when we are dumping.
1502         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1504 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1506         * emacs-lisp/package.el (package-menu-mode)
1507         (package-menu--print-info, package-menu--archive-predicate):
1508         Add Archive column to package list.
1510 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1512         Fix problems found while writing a test suite.
1514         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1515         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1516         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1517         to nil when running original file name handler.  Otherwise,
1518         there are problems with constructs like "$$FOO".
1520         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1521         for `localname'.
1523 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1525         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1527         * subr.el (version<, version<=, version=):
1528         Update docstrings with information for snapshot versions.
1530         * helpers.el: New library for misc helper functions.
1531         (hash-table-keys): New function returning a list of hash keys.
1532         (hash-table-values): New function returning a list of hash values.
1534 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1536         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1537         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1539 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1541         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1542         checking whether point is after a 1-letter word.
1544 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1546         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1547         Don't infloop when expanding region over `multiline' syntax-type that
1548         begins a line (bug#15778).
1550 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1552         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1553         Make it into a proper minor mode.
1554         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1555         (rectangle-mark-mode-map): New keymap.
1556         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1558 2013-11-04  Glenn Morris  <rgm@gnu.org>
1560         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1562 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1564         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1565         (ruby-smie-rules): Use smie-rule-parent instead.
1567         * emacs-lisp/smie.el (smie-rule-parent): Always call
1568         smie-indent-virtual rather than only for hanging tokens.
1569         (smie--next-indent-change): New helper command.
1571 2013-11-03  Glenn Morris  <rgm@gnu.org>
1573         * Makefile.in (abs_srcdir): Remove.
1574         (emacs): Unset EMACSLOADPATH.
1576 2013-11-02  Glenn Morris  <rgm@gnu.org>
1578         * Makefile.in (EMACS): Use a relative filename.
1579         (abs_top_builddir): Remove.
1580         (custom-deps, finder-data, autoloads): Use --chdir.
1582         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1584         Use relative filenames in TAGS files.
1585         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1586         (lisptagsfiles4, TAGS): Use relative file names.
1587         (TAGS-LISP): Remove.
1588         (maintainer-clean): No more TAGS-LISP file.
1590         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1591         (lisptagsfiles4): Use absolute filenames again.
1592         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1593         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1594         (maintainer-clean): Delete TAGS, TAGS-LISP.
1596 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1598         * emacs-lisp/package.el (package-version-join):
1599         Recognize snapshot versions.
1601 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1603         * subr.el (version-regexp-alist): Add support for snapshot versions.
1605 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1607         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1608         New function, replacement for `smie-rule-parent' for when we want to
1609         skip over our direct parent if it's an assignment token..
1610         (ruby-smie-rules): Use it.
1612 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1614         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1615         unconditionally.  Remove now unnecessary forward declarations.
1616         Remove XEmacs-specific setup.
1617         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1618         (ruby-font-lock-syntactic-keywords)
1619         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1620         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1621         (ruby-here-doc-end-syntax): Remove.
1622         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1623         defined as function.
1625 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1627         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1629 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1631         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1632         table and abbrev table, `define-derived-mode' does that for us
1633         anyway.
1635 2013-11-01  Glenn Morris  <rgm@gnu.org>
1637         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1638         files is atomic for some time, so no parallel compilation issues).
1640 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1642         * faces.el (face-x-resources): Add :distant-foreground.
1643         (region): Use :distant-foreground for gtk and ns.
1645 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1647         Allow multiple bibliographies when BibLaTeX is used rather than
1648         BibTeX.
1649         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1650         (reftex-locate-bibliography-files): Us it.
1652 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1654         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1655         allow comments in pbm files.
1657         * term/w32-win.el (dynamic-library-alist): Support newer versions
1658         of libjpeg starting with v7: look only for the DLL from the
1659         version against which Emacs was built.
1660         Support versions of libpng beyond 1.4.x.
1661         Support libtiff v4.x.
1663 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1665         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1666         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1667         Add property :safe.
1668         (ruby-deep-arglist): Add property :type.
1670 2013-10-31  Glenn Morris  <rgm@gnu.org>
1672         * Makefile.in (custom-deps, finder-data): No need to setq the target
1673         variables, we are in the right directory and the defaults work fine.
1675 2013-10-30  Glenn Morris  <rgm@gnu.org>
1677         * Makefile.in (autoloads): Do not use abs_lisp.
1679         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1680         `newline' does not respect `standard-output', so use `princ'.
1682 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1684         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1685         * buff-menu.el (Buffer-menu--unmark): New function.
1686         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1688 2013-10-30  Glenn Morris  <rgm@gnu.org>
1690         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1692         * emacs-lisp/package.el (lm-homepage): Declare.
1694         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1695         Fix doc typos.
1697         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1699         * Makefile.in (finder-data, autoloads, update-subdirs)
1700         (compile-main, compile-clean, compile-always, bootstrap-clean):
1701         Check return value of cd.
1702         (compile-calc): Remove.
1704 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1706         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1708         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1709         (byte-compile-and-folded): New function.
1710         (=, <, >, <=, >=): Use it.
1712         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1713         (path-separator, null-device, buffer-file-coding-system)
1714         (lpr-headers-switches): Check system-type before modifying them.
1715         (find-buffer-file-type-coding-system): Mark obsolete.
1716         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1717         find-file-not-found-set-buffer-file-coding-system.
1718         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1719         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1720         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1721         (w32-direct-print-region-helper, w32-direct-print-region-function)
1722         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1723         * startup.el (normal-top-level-add-subdirs-to-load-path):
1724         * ps-print.el (ps-print-region-function):
1725         * lpr.el (print-region-function): Use new name.
1727         * subr.el (custom-declare-variable-early): Remove function.
1728         (custom-declare-variable-list): Remove var.
1729         (error, user-error): Remove `while' loop.
1730         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1731         (user-emacs-directory-warning, locate-user-emacs-file):
1732         Move to files.el.
1733         * simple.el (read-quoted-char-radix, read-quoted-char):
1734         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1735         Move from subr.el.
1736         * custom.el (custom-declare-variable-list): Don't process
1737         custom-declare-variable-list.
1739         * progmodes/python.el (python-shell-get-buffer): New function.
1740         (python-shell-get-process): Use it.
1741         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1742         Python which encoding was used.  Don't split-string since we only care
1743         about the first line.  Return the temp-file, if applicable.
1744         (python-shell-send-region): Tell compile.el how to turn locations in
1745         the temp-file into locations in the source buffer.
1747 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1749         * subr.el (undefined): Add missing behavior from the C code for
1750         unbound keys.
1752         * rect.el: Use lexical-binding.  Add new rectangular region support.
1753         (rectangle-mark): New command.
1754         (rectangle--region): New var.
1755         (deactivate-mark-hook): Reset rectangle--region.
1756         (rectangle--extract-region, rectangle--insert-for-yank)
1757         (rectangle--highlight-for-redisplay)
1758         (rectangle--unhighlight-for-redisplay): New functions.
1759         (region-extract-function, redisplay-unhighlight-region-function)
1760         (redisplay-highlight-region-function): Use them to handle
1761         rectangular region.
1762         * simple.el (region-extract-function): New var.
1763         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1764         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1765         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1766         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1767         (redisplay-unhighlight-region-function)
1768         (redisplay-highlight-region-function): New vars.
1769         (redisplay--update-region-highlight): New function.
1770         (pre-redisplay-function): Use it.
1771         (exchange-point-and-mark): Don't deactivate the mark before
1772         reactivate-it anyway.
1773         * comint.el (comint-kill-region): Remove yank-handler argument.
1774         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1775         (delete-char): Remove property, since it's now part of their
1776         default behavior.
1777         (self-insert-iso): Remove property since this command doesn't exist.
1779         * emacs-lisp/package.el (package--download-one-archive)
1780         (describe-package-1): Don't query the user about final newline.
1782 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1784         * net/tramp.el (tramp-methods): Document new functionality.
1785         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1786         tramp-hostname-checker if method provides one instead of scanning
1787         argument list for "%h" to decide hostname acceptability.
1789 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1791         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1792         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1793         Handle COPY-CONTENTS.  (Bug#15737)
1795 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1797         * epa-file.el
1798         (epa-file-cache-passphrase-for-symmetric-encryption):
1799         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1801 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1803         * image.el (defimage):
1804         (image-load-path): Doc fixes.
1806 2013-10-27  Alan Mackenzie  <acm@muc.de>
1808         Indent statements in macros following "##" correctly.
1809         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1810         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1812 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1814         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1816 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1818         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1819         after `=' is probably a new expression.
1821 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1823         * man.el (man-imenu-title): New option.
1824         (Man-mode-map): Add menu.  (Bug#15722)
1825         (Man-mode): Add imenu to menu.
1827 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1829         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1830         specific in what the first arg can be: a non-keyword word,
1831         string/regexp/percent literal opener, opening paren, or unary
1832         operator followed directly by word.
1834 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1836         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1837         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1838         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1839         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1840         Remove vars, they do not apply any more.
1841         (prolog-mode-abbrev-table): Remove redundant declaration.
1842         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1843         (prolog-use-smie): Remove.
1844         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1845         supported by prolog-electric-if-then-else-flag.
1846         (prolog-mode-variables, prolog-menu): Use setq-local.
1847         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1848         Remove binding to `Backspace' since this key doesn't exist anyway.
1849         Remove bindings for electric self-inserting keys.
1850         (prog-mode): Assume it's defined.
1851         (prolog-post-self-insert): New function.
1852         (prolog-mode): Use it.
1853         (prolog-indent-line, prolog-indent-level)
1854         (prolog-find-indent-of-matching-paren)
1855         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1856         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1857         (prolog-goto-next-paren, prolog-in-string-or-comment)
1858         (prolog-tokenize, prolog-inside-mline-comment)
1859         (prolog-find-start-of-mline-comment): Remove functions.
1860         (prolog-find-unmatched-paren, prolog-clause-end)
1861         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1862         (prolog-electric--if-then-else): Rename from
1863         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1864         (prolog-tokenize-searchkey): Remove const.
1865         (prolog-clause-info): Use forward-sexp.
1866         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1867         (prolog-electric-if-then-else): Remove commands.
1868         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1869         for use in post-self-insert-hook.
1870         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1871         for use in post-self-insert-hook.
1872         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1873         for use in post-self-insert-hook.
1874         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1875         adapt it for use in post-self-insert-hook.
1877 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1879         * emacs-lisp/ert.el (ert-run-tests-interactively):
1880         Use `completing-read'.  (Bug#9756)
1882 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1884         * simple.el (line-move): Call line-move-1 instead of
1885         line-move-visual when the current window hscroll is zero, but
1886         temporary-goal-column indicates we will need to hscroll as result
1887         of the movement.  (Bug#15712)
1889 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1891         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1892         capitalization.  Use :visible instead of :active.
1893         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1894         commands that are used with SMIE.
1895         (ruby-do-end-to-brace): Insert space after `{'.
1897 2013-10-25  John Anthony  <john@jo.hnanthony.com>
1899         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
1901         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1903 2013-10-25  Glenn Morris  <rgm@gnu.org>
1905         * vc/vc.el (vc-print-log): Don't use a working revision unless
1906         one was explicitly specified.  (Bug#15322)
1908 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1910         * subr.el (add-to-list): Preserve return value in compiler-macro
1911         (bug#15692).
1913 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1915         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1916         result.  Ask user to retry using '-all' flag.  (Bug#15701)
1918 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1920         * emacs-lisp/smie.el: New smie-config system.
1921         (smie-config): New defcustom.
1922         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1923         (smie-config-guess, smie-config-save): New commands.
1924         (smie-config--mode-local, smie-config--buffer-local)
1925         (smie-config--trace, smie-config--modefuns): New vars.
1926         (smie-config--advice, smie-config--mode-hook)
1927         (smie-config--setter, smie-config-local, smie-config--get-trace)
1928         (smie-config--guess-value, smie-config--guess): New functions.
1929         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1930         text properties.  Treat "string fence" syntax like string syntax.
1932         * progmodes/sh-script.el (sh-use-smie): Change default.
1933         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1934         (sh-var-value): Simplify by CSE.
1935         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1936         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1937         is used.
1938         (sh-guess-basic-offset): Use cl-incf.
1939         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1941 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
1943         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1944         (bug#15699).
1946 2013-10-24  Glenn Morris  <rgm@gnu.org>
1948         * Makefile.in (abs_top_srcdir): Remove.
1949         (update-subdirs): Use relative path to update-subdirs.
1951 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
1953         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1954         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1955         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1956         Call unmsys--file-name before expand-file-name, not after it.
1958 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
1960         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1961         (ert-test-skipped): New error.
1962         (ert-skip, ert-stats-skipped): New defuns.
1963         (ert--skip-unless): New macro.
1964         (ert-test-skipped): New struct.
1965         (ert--run-test-debugger, ert-test-result-type-p)
1966         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1967         (ert--stats-set-test-and-result, ert-char-for-test-result)
1968         (ert-string-for-test-result, ert-run-tests-batch)
1969         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1970         Handle skipped tests.  (Bug#9803)
1972 2013-10-24  Glenn Morris  <rgm@gnu.org>
1974         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1976         * Makefile.in (abs_top_srcdir): New, set by configure.
1977         (update-subdirs): Correct build-aux location.
1979 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
1981         * vc/vc.el (vc-print-root-log): Always set `default-directory'
1982         value, whether we could auto-deduce `backend', or not.
1984         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1985         with parameters" example.  Simplify the "is it block or is it
1986         hash" check, but also make it more thorough.
1988 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
1990         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
1992 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1994         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1995         { if it is hanging.
1997         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1998         :before ";".
2000 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2002         * progmodes/compile.el (compilation-directory-matcher)
2003         (compilation-page-delimiter):
2004         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2006 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2008         * ido.el (ido-tidy): Handle read-only text.
2010 2013-10-23  Glenn Morris  <rgm@gnu.org>
2012         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2013         (emacs, compile, compile-always):
2014         Quote entities that might contain whitespace.
2015         (custom-deps, finder-data, autoloads): Use abs_lisp.
2016         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2017         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2018         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2020 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2022         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2023         Use `following-char'.
2025 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2027         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2028         * progmodes/ruby-mode.el (ruby-smie-rules):
2029         Remove corresponding workaround.  Fix indentation rule of ";" so it
2030         also applies when ";" is the parent.
2032 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2034         * frame.el (display-screens, display-pixel-height)
2035         (display-pixel-width, display-mm-width, display-backing-store)
2036         (display-save-under, display-planes, display-color-cells)
2037         (display-visual-class, display-monitor-attributes-list):
2038         Mention the optional ‘display’ argument in doc strings.
2040 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2042         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2043         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2045 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2047         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2048         TODO.  Add "." after " @ ".
2049         (ruby-smie--at-dot-call): New function.  Checks if point at method
2050         call with explicit target.
2051         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2052         to the method name tokens when it precedes them.
2053         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2054         (ruby-smie-rules): Add rule for indentation before and after "."
2055         token.
2057 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2059         * textmodes/remember.el (remember-diary-extract-entries):
2060         Avoid add-to-list.
2062         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2063         an instruction.
2065 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2067         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2068         (ruby-smie--implicit-semi-p): Add new operator chars.
2070         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2071         `smie-down-list'.
2072         (ruby-smie--args-separator-p): Check that there's no newline
2073         between method call and its arguments.
2075 2013-10-20  Alan Mackenzie  <acm@muc.de>
2077         Allow comma separated lists after Java "implements".
2079         * progmodes/cc-engine.el (c-backward-over-enum-header):
2080         Parse commas.
2081         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2082         from a "disallowed" list in enum fontification.
2084 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2086         * startup.el (default-frame-background-mode): Remove unused defvar.
2088         * progmodes/verilog-mode.el (verilog-mode): Don't set
2089         comment-indent-function globally.
2091 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2093         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2094         Move Info menu item creation to ns-win.el.
2096         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2097         in menu bar.
2099         * menu-bar.el: Move GNUStep specific menus...
2101         * term/ns-win.el (ns-initialize-window-system): ... to here.
2103 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2105         * simple.el (newline): Only run post-self-insert-hook when
2106         called interactively.
2108 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2110         * icomplete.el (icomplete-with-completion-tables): Add :version.
2112 2013-10-19  Alan Mackenzie  <acm@muc.de>
2114         Fix fontification bugs with constructors and const.
2116         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2117         CASE 2) Remove the check for the absence of a suffix construct
2118         after a function declaration with only types (no identifiers) in
2119         the parentheses.  Also, accept a function declaration with just a
2120         type inside the parentheses, if this type can be positively
2121         recognised as such, or if a prefix keyword like "explicit" nails
2122         down the construct as a declaration.
2124 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2126         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2127         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2128         the problem whereby selecting a menu item that leads to a
2129         minibuffer prompt moves the cursor out of the minibuffer window,
2130         making it hard to type at the prompt.  Suggested by Stefan Monnier
2131         <monnier@iro.umontreal.ca>.
2133 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2135         * menu-bar.el: Don't make Services menu.
2137 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2139         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2140         (ffap-alist): Use ffap-c++-mode for c++-mode.
2141         (ffap-c++-path): New variable.
2142         (ffap-c++-mode): New function.
2144 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2146         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2148 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2150         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2151         introduced on 2013-09-08, which results in an infinite loop
2152         requesting a password.
2154 2013-10-18  Glenn Morris  <rgm@gnu.org>
2156         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2158 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2160         Sync with upstream verilog-mode revision 1a6ecec7.
2161         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2162         (verilog-mode-release-date): Remove.
2163         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2164         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2165         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2166         (verilog-auto-tieoff-ignore-regexp)
2167         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2168         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2169         (verilog-signals-with, verilog-dir-cache-preserving)
2170         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2171         Doc fixes.
2172         (verilog-case-fold): New option, to control case folding in
2173         regexp searches, bug597.
2174         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2175         (verilog-string-match-fold, verilog-in-paren-count)
2176         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2177         (verilog-at-close-struct-p): New functions.
2178         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2179         (verilog-forward-sexp, verilog-set-auto-endcomments):
2180         (verilog-leap-to-case-head): Handle "unique0" case.
2181         (verilog-in-constraint-re): New constant.
2182         (verilog-keywords, verilog-type-font-keywords):
2183         Add some SystemVerilog 1800-2012 keywords.
2184         (verilog-label-be): Remove unimplemented argument, bug669.
2185         (verilog-batch-execute-func): When batch expanding clear
2186         create-lockfiles to prevent spurious user locks when a file ends
2187         up not changing.
2188         (verilog-calculate-indent, verilog-calc-1)
2189         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2190         (verilog-do-indent): Fix indentation of nested constraints
2191         and structures.
2192         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2193         (verilog-auto-inst-param): Use verilog-string-match-fold.
2194         (verilog-read-inst-module-matcher):
2195         Fix AUTOINST on gate primitives with #1.
2196         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2197         Reads all user-defined typed variables.
2198         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2199         (verilog-signals-matching-regexp)
2200         (verilog-signals-not-matching-regexp, verilog-auto):
2201         Respect verilog-case-fold.
2202         (verilog-diff-report): Fix line count.
2203         (verilog-auto-assign-modport): Remove unused local `modi'.
2204         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2205         better handle multidimensional arrays.
2206         Fix packed array ports misadding bit index in AUTOINST, bug637.
2207         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2208         to not double-declare existing outputs and inputs, respectively.
2209         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2210         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2211         (verilog-sk-uvm-component): New skeleton.
2212         (verilog-submit-bug-report): Add verilog-case-fold,
2213         remove verilog-mode-release-date.
2215 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2217         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2218         as before.
2220 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2222         * textmodes/remember.el (remember): set buffer-offer-save in
2223         remember buffers (bug#13566).
2225 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2227         When evaluating forms in ielm, direct standard output to ielm
2228         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2229         whitespace throughout.
2231         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2232         (ielm-return-for-effect): New command.
2233         (ielm-send-input): Accept optional `for-effect' parameter.
2234         (ielm-eval-input): Accept optional `for-effect' parameter.
2235         Bind `standard-output' to stream we create using
2236         `ielm-standard-output-impl'.  Suppress printing result when
2237         `for-effect'.
2238         (ielm-standard-output-impl): New function.
2239         (inferior-emacs-lisp-mode): Explain new features in documentation.
2241 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2243         Code cleanup.
2245         * net/tramp.el (tramp-debug-message): Do not check for connection
2246         buffer.
2247         (tramp-message): Use "vector" connection property.
2249         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2250         (tramp-equal-remote, tramp-eshell-directory-change)
2251         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2252         (tramp-adb-handle-rename-file)
2253         * net/tramp-cmds.el (tramp-list-remote-buffers)
2254         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2255         * net/tramp-compat.el (tramp-compat-process-running-p)
2256         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2257         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2258         (tramp-gvfs-handle-rename-file)
2259         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2260         (tramp-set-file-uid-gid)
2261         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2262         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2263         of `file-remote-p'.
2265         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2266         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2267         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2268         (tramp-gw-open-network-stream): Suppress unrelated traces.
2270         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2271         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2272         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2273         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2274         connection property.
2276         * net/tramp-cache.el (top): Suppress traces when reading
2277         persistency file.
2279         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2280         Refactor common code.  Improve debug message.
2281         (tramp-maybe-open-connection)
2282         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2283         connection buffer too early.
2285         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2286         from `tramp-smb-actions-with-acl'.
2287         (tramp-smb-actions-set-acl): New defconst.
2288         (tramp-smb-handle-copy-directory)
2289         (tramp-smb-action-get-acl): New defun, renamed from
2290         `tramp-smb-action-with-acl'.
2291         (tramp-smb-action-set-acl): New defun.
2292         (tramp-smb-handle-set-file-acl): Rewrite.
2294 2013-10-17  Glenn Morris  <rgm@gnu.org>
2296         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2298 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2300         * skeleton.el (skeleton-newline): Remove.
2301         (skeleton-internal-1): Use (insert "\n") instead.
2303         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2304         let-bindings.
2306         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2307         forward-sexp-function while we redo its job (bug#15613).
2309 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2311         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2312         represented by lists.
2314 2013-10-16  Glenn Morris  <rgm@gnu.org>
2316         * tmm.el (tmm--history): New dynamic variable.
2317         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2319 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2321         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2322         (tramp-smb-errors): Add error messages.
2323         (tramp-smb-actions-with-acl): New defconst.
2324         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2325         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2326         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2327         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2328         (tramp-smb-get-stat-capability): Fix tests.
2330 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2332         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2333         (bug#15580).
2335 2013-10-16  Glenn Morris  <rgm@gnu.org>
2337         * ansi-color.el (ansi-color-drop-regexp):
2338         Add 1J, 1K, 2K.  (Bug#15617)
2340         * files.el (hack-local-variables--warned-lexical): New.
2341         (hack-local-variables):
2342         Warn about misplaced lexical-binding.  (Bug#15616)
2344         * net/eww.el (eww-render): Always set eww-current-url,
2345         and update header line.  (Bug#15622)
2346         (eww-display-html): ... Rather than just doing it here.
2348 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2350         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2351         menu navigations commands.
2353 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2355         * progmodes/subword.el (subword-capitalize): Be careful when
2356         the search for [[:alpha:]] fails (bug#15580).
2358 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2360         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2361         to commands that scroll the menu.
2363 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2365         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2366         Handle methods ending with `?' and `!'.
2368 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2370         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2371         `japanese-cp932' to `cp932' to fix the problem where saving a
2372         source file written in Shift_JIS twice would end up having
2373         `coding: japanese-cp932' which Ruby could not recognize.
2374         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2375         in `ruby-encoding-map'.
2376         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2377         doesn't need to be explicitly declared in magic comment.
2378         (ruby-encoding-map): Add type declaration for better customize UI.
2380 2013-10-13  Glenn Morris  <rgm@gnu.org>
2382         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2383         Occur buffers are read-only.  http://bugs.debian.org/720775
2385         * emacs-lisp/authors.el (authors-fixed-entries):
2386         Comment out old alpha stuff.
2388 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2390         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2391         to `after-save-hook' instead of `before-save-hook'.
2392         (ruby-mode-set-encoding): Use the value of coding system used to
2393         write the file.  Call `basic-save-buffer-1' after modifying the
2394         buffer.
2396 2013-10-13  Alan Mackenzie  <acm@muc.de>
2398         Fix indentation/fontification of Java enum with
2399         "implements"/generic.
2401         * progmodes/cc-engine.el (c-backward-over-enum-header):
2402         Extracted from the three other places and enhanced to handle generics.
2403         (c-inside-bracelist-p): Uses new function above.
2404         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2405         function above.
2406         (c-font-lock-enum-tail): Uses new function above.
2408 2013-10-13  Kenichi Handa  <handa@gnu.org>
2410         * international/mule-cmds.el (select-safe-coding-system): Remove a
2411         superfluous condition in chekcing whether a coding system is safe
2412         or not.
2414 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2416         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2418 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2420         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2422 2013-10-13  Glenn Morris  <rgm@gnu.org>
2424         * menu-bar.el (menu-bar-update-buffers):
2425         Unify Buffers menu prompt string.  (Bug#15576)
2427         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2429         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2430         Add some entries.
2431         (authors-fixed-entries): Use accented form of name.
2433 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2435         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2436         method calls (bug#15594).
2437         (ruby-smie--args-separator-p): New function.
2438         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2439         recognize paren-free method calls.
2441         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2442         internals of universal-argument.
2444 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2446         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2447         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2448         dropped menu on second mouse click on the menu bar.
2450 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2452         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2453         (explicit-shell-file-name): Declare.
2454         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2455         (sh-completion-at-point-function): New function.
2456         (sh-mode): Use it.
2457         (sh-smie--keyword-p): Remove unused argument.
2458         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2459         vars.
2460         (sh-set-shell): Always setup SMIE, even if we use the
2461         old indentation code.
2463 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2465         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2466         cases of ? and =.
2467         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2468         predicate would return nil are almost non-existent.
2469         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2471         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2472         cache also after commands that modify the buffer but don't move
2473         point.
2475 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2477         * env.el (substitute-env-in-file-name): New function.
2478         (substitute-env-vars): Extend the meaning of the optional arg.
2480 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2482         * term/w32-win.el (dynamic-library-alist): Define separate lists
2483         of GIF DLLs for versions before and after 5.0.0 of giflib.
2484         (Bug#15531)
2486 2013-10-10  João Távora  <joaotavora@gmail.com>
2488         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2489         not locked, use last revision and current source as
2490         defaults.  (Bug#15569)
2492 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2494         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2495         menu-bar is hidden.
2497 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2499         * window.el (pop-to-buffer-same-window): Fix doc-string.
2500         (Bug#15492)
2502 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2504         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2506 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2508         * calendar/icalendar.el (icalendar-import-file):
2509         Fix interactive spec.  (Bug#15482)
2511 2013-10-10  Glenn Morris  <rgm@gnu.org>
2513         * desktop.el (desktop-save): Default to saving in .emacs.d,
2514         since PWD is no longer in desktop-path by default.  (Bug#15319)
2516         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2517         now that text mode has a menu with the same entry.
2518         (menu-bar-text-mode-auto-fill): Remove now unused func.
2519         * textmodes/text-mode.el (text-mode-map):
2520         Use auto-fill help text from menu-bar.el.
2522 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2524         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2526 2013-10-09  Juri Linkov  <juri@jurta.org>
2528         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2529         instead of this-command-keys.  Add universal-argument-more and
2530         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2532 2013-10-09  Glenn Morris  <rgm@gnu.org>
2534         * vc/vc-svn.el (vc-svn-create-repo):
2535         Expand paths in file://... url.  (Bug#15446)
2537         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2538         Add some entries.
2539         (authors): Remove unused local variables.
2541 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2543         * profiler.el: Create a more coherent calltree from partial backtraces.
2544         (profiler-format): Hide the tail with `invisible' so that C-s can still
2545         find the hidden elements.
2546         (profiler-calltree-depth): Don't recurse so enthusiastically.
2547         (profiler-function-equal): New hash-table-test.
2548         (profiler-calltree-build-unified): New function.
2549         (profiler-calltree-build): Use it.
2550         (profiler-report-make-name-part): Indent the calltree less.
2551         (profiler-report-mode): Add visibility specs for profiler-format.
2552         (profiler-report-expand-entry, profiler-report-toggle-entry):
2553         Expand the whole subtree when provided with a prefix arg.
2555 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2557         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2558         iuwu-mod token.
2559         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2560         hanging iuwu-mod token.
2561         (ruby-smie--forward-token): Do not include a dot after a token in
2562         that token.
2563         (ruby-smie--backward-token): Likewise.
2565 2013-10-08  Juri Linkov  <juri@jurta.org>
2567         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2568         to isearch-other-control-char.
2569         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2570         and isearch-post-command-hook to post-command-hook.
2571         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2572         and isearch-post-command-hook from post-command-hook.
2573         (isearch-unread-key-sequence)
2574         (isearch-reread-key-sequence-naturally)
2575         (isearch-lookup-scroll-key, isearch-other-control-char)
2576         (isearch-other-meta-char): Remove functions.
2577         (isearch-pre-command-hook, isearch-post-command-hook):
2578         New functions based on isearch-other-meta-char rewritten
2579         relying on the new behavior of overriding-terminal-local-map
2580         that does not replace the local keymaps any more.  (Bug#15200)
2582 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2584         Support menus on text-mode terminals.
2585         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2586         functionality.
2588         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2590         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2591         Move here from mouse.el.
2592         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2593         and arrow keys.
2594         (tty-menu-navigation-map): New map for TTY menu navigation.
2596         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2598         * frame.el (display-mouse-p): Report text-mode mouse as available
2599         on w32.
2600         (display-popup-menus-p): Report availability if mouse is
2601         available; don't condition on window-system.
2603         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2604         (tty-menu-selected-face): New faces.
2606 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2608         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2609         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2610         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2611         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2612         New constants.
2613         (lisp-mode-variables): New `elisp' argument.
2614         (emacs-lisp-mode): Use it.
2615         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2616         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2618         * indent.el: Use lexical-binding.
2619         (indent-region): Add progress reporter.
2620         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2621         last step.
2622         (indent--next-tab-stop): New function to implement this behavior.
2623         (tab-to-tab-stop, move-to-tab-stop): Use it.
2625 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2627         * indent.el (indent-rigidly--current-indentation): New function.
2628         (indent-rigidly-map): New var.
2629         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2631 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2633         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2635 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2637         * progmodes/perl-mode.el: Use lexical-binding.
2638         Remove redundant :group args.
2639         (perl-nochange): Change default to be closer to other major modes's
2640         standard behavior.
2641         (perl-indent-line): Don't consider text on current line as a
2642         valid beginning of function from which to indent.
2644         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2645         with more than one argument (bug#15538).
2647         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2649         * vc/pcvs.el: Use lexical-binding.
2650         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2651         environment of `eval'.
2652         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2653         than a list of expressions.  Adjust callers.
2654         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2656 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2658         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2659         case of the dot in a chained method call being on the following line.
2661 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2663         * electric.el (electric-indent-inhibit): New var.
2664         (electric-indent-post-self-insert-function): Use it.
2665         * progmodes/python.el (python-mode): Set it.
2667         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2668         open braces.
2670         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2672         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2673         (css-mode): Use electric-indent-chars.
2675         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2676         (font-lock-beg, font-lock-end): Move before first use.
2677         (nxml-mode): Use syntax-propertize-function.
2678         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2679         (nxml-extend-after-change-region): Remove.
2680         * nxml/xmltok.el: Use lexical-binding.
2681         (xmltok-save): Use `declare'.
2682         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2683         * nxml/nxml-util.el: Use lexical-binding.
2684         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2685         Use `declare'.
2686         * nxml/nxml-ns.el: Use lexical-binding.
2687         (nxml-ns-save): Use `declare'.
2688         (nxml-ns-prefixes-for): Avoid add-to-list.
2689         * nxml/rng-match.el: Use lexical-binding.
2690         (rng--ipattern): Use cl-defstruct.
2691         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2692         (rng-cons-group-after, rng-subst-group-after)
2693         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2694         Use closures instead of `(lambda...).
2696 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2698         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2699         of BEG and END.
2701         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2702         Use `tramp-handle-insert-file-contents'.
2703         (tramp-gvfs-handle-insert-file-contents): Remove function.
2705         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2706         Use `save-restriction' in order to keep markers.
2708         * net/trampver.el: Update release number.
2710 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2712         * progmodes/compile.el (compilation-parse-errors):
2713         Use compilation--put-prop.
2714         (compilation--ensure-parse): Check compilation-multiline.
2716         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2718         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2719         lexical-binding.
2721         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2723         * progmodes/ruby-mode.el: Fix recently added tests.
2724         (ruby-smie-grammar): Add - and +.
2725         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2726         (ruby-smie--backward-id): New functions.
2727         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2728         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2729         any more.
2731 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2733         * register.el (register-preview-delay)
2734         (register-preview-functions): New variables.
2735         (register-read-with-preview, register-preview)
2736         (register-describe-oneline): New functions.
2737         (point-to-register, window-configuration-to-register)
2738         (frame-configuration-to-register, jump-to-register)
2739         (number-to-register, view-register, insert-register)
2740         (copy-to-register, append-to-register, prepend-to-register)
2741         (copy-rectangle-to-register): Use register-read-with-preview to
2742         read register.  (Bug#15525)
2744 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2746         * net/network-stream.el (network-stream-open-starttls): Don't add
2747         --insecure if it's already present, because that gnutls-cli
2748         rejects getting that parameter twice.
2750 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2752         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2753         keyword, too.
2755 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2757         * newcomment.el (comment-use-global-state): Change default value
2758         to t, mark obsolete (Bug#15251).
2759         (comment-beginning): In addition to `comment-to-syntax', check the
2760         value of `comment-use-global-state'.
2762 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2764         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2765         (ruby-comment-column): Follow the global default, by default.
2766         (ruby-smie-grammar): Add assignment syntax.
2767         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2768         open-paren, a comma, or a \.
2769         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2770         and line continuations.
2771         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2772         followed by implicit semi-colons.  Add rule for string concatenation
2773         and for indentation at BOB.
2774         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2776         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2777         calling next-sexp, since next-token may have skipped chars which
2778         next-sexp doesn't know should be skipped!
2780 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2782         * progmodes/octave.el (octave-send-region):
2783         Call compilation-forget-errors.
2785 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2787         * vc/vc-svn.el (vc-svn-find-admin-dir):
2788         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2789         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2790         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2791         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2793 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2795         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2797 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2799         * subr.el (read-passwd): Hide chars even when called within a context
2800         where after-change-functions is disabled (bug#15501).
2801         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2802         until we removed ourself from overriding-terminal-local-map.
2804 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2806         * progmodes/octave.el (inferior-octave-mode):
2807         Call compilation-forget-errors.
2809 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2811         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2813 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2815         * net/secrets.el (secrets-create-collection): Add optional
2816         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2817         dbus-call-method argument.  (Bug#15516)
2819 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2821         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2822         (inferior-octave-compilation-font-lock-keywords): New variables.
2823         (compilation-error-regexp-alist)
2824         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2825         (inferior-octave-mode): Use compilation-shell-minor-mode.
2827 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2829         * minibuffer.el (completion--replace): Be careful that `end' might be
2830         a marker.
2832 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2834         Add support for package signature checking.
2835         * emacs-lisp/package.el (url-http-file-exists-p)
2836         (epg-make-context, epg-context-set-home-directory)
2837         (epg-verify-string, epg-context-result-for)
2838         (epg-signature-status, epg-signature-to-string)
2839         (epg-check-configuration, epg-configuration)
2840         (epg-import-keys-from-file): Declare.
2841         (package-check-signature): New user option.
2842         (package-unsigned-archives): New user option.
2843         (package-desc): Add `signed' field.
2844         (package-load-descriptor): Set `signed' field if .signed file exists.
2845         (package--archive-file-exists-p): New function.
2846         (package--check-signature): New function.
2847         (package-install-from-archive): Check package signature.
2848         (package--download-one-archive): Check archive signature.
2849         (package-delete): Remove .signed file.
2850         (package-import-keyring): New command.
2851         (package-refresh-contents): Import default keyring.
2852         (package-desc-status): Add "unsigned" status.
2853         (describe-package-1, package-menu--print-info)
2854         (package-menu-mark-delete, package-menu--find-upgrades)
2855         (package-menu--status-predicate): Support "unsigned" status.
2857 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2859         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2860         the new compilation scheme using the new byte-codes.
2862         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2863         (byte-pophandler): New byte codes.
2864         (byte-goto-ops): Adjust accordingly.
2865         (byte-compile--use-old-handlers): New var.
2866         (byte-compile-catch): Use new byte codes depending on
2867         byte-compile--use-old-handlers.
2868         (byte-compile-condition-case--old): Rename from
2869         byte-compile-condition-case.
2870         (byte-compile-condition-case--new): New function.
2871         (byte-compile-condition-case): New function that dispatches depending
2872         on byte-compile--use-old-handlers.
2873         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2874         when we can.
2876         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2877         Optimize under `condition-case' and `catch' if
2878         byte-compile--use-old-handlers is nil.
2879         (disassemble-offset): Handle new bytecodes.
2881 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2883         * subr.el (error): Use `declare'.
2884         (decode-char, encode-char): Use advertised-calling-convention instead
2885         of the docstring to discourage use of the `restriction' arg.
2887 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2889         * epg.el (epg-verify-file): Add a comment saying that it does not
2890         notify verification error as a return value nor a signal.
2891         (epg-verify-string): Ditto.
2893 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2895         * progmodes/compile.el (compilation-start): Try globbing the arg to
2896         `cd' (bug#15417).
2898 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
2900         Sync with Tramp 2.2.8.
2902         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2903         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2904         * net/trampver.el: Update release number.
2906 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
2908         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2909         and default-process-coding-system for darwin only.
2911 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2913         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2915 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
2917         * vc/vc-git.el (vc-git-grep): Disable pager.
2919 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2921         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2922         Use :url instead of :homepage, as per
2923         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2925         * newcomment.el (comment-beginning): When `comment-use-syntax' is
2926         non-nil, use `syntax-ppss' (Bug#15251).
2928 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2930         * progmodes/octave.el (inferior-octave-startup-file):
2931         Prefer ~/.emacs.d/init_octave.m.
2933 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
2935         * emacs-lisp/package.el (package-desc-from-define):
2936         Accept additional arguments as plist, convert them to an alist and store
2937         them in the `extras' slot.
2938         (package-generate-description-file): Convert extras alist back to
2939         plist and append to the `define-package' form arguments.
2940         (package--alist-to-plist): New function.
2941         (package--ac-desc): Add `extras' slot.
2942         (package--add-to-archive-contents): Check if the archive-contents
2943         vector is long enough, and if it is, pass its `extras' slot value
2944         to `package-desc-create'.
2945         (package-buffer-info): Call `lm-homepage', pass the returned value
2946         to `package-desc-from-define'.
2947         (describe-package-1): Render the homepage button (Bug#13291).
2949         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2950         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2952 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
2954         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2955         and default-process-coding-system to utf-8-unix (Bug#15402).
2957 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
2959         * subr.el (looking-back): Do not recommend using looking-back.
2961 2013-09-28  Alan Mackenzie  <acm@muc.de>
2963         Fix indentation/fontification of Java enum with "implements".
2965         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2966         regexp which matches "implements", etc., in Java.
2967         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2968         specifier clauses coming after "enum".
2969         * progmodes/cc-fonts.el (c-font-lock-declarations)
2970         (c-font-lock-enum-tail): Check for extra specifier clauses coming
2971         after "enum".
2973 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
2975         * faces.el (region): Change ns_selection_color to
2976         ns_selection_fg_color, add ns_selection_bg_color.
2978 2013-09-28  Leo Liu  <sdl.web@gmail.com>
2980         * progmodes/octave.el (inferior-octave-completion-table)
2981         (inferior-octave-completion-at-point): Minor tweaks.
2983         * textmodes/ispell.el (ispell-lookup-words): Rename from
2984         lookup-words.  (Bug#15460)
2985         (lookup-words): Obsolete.
2986         (ispell-complete-word, ispell-command-loop): All uses changed.
2988 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2990         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2991         (octave-mode-menu): Add octave-send-buffer.
2992         (octave-send-buffer): New function.
2994 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2996         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2997         octave-lookfor.
2998         (octave-mode-menu): Add octave-lookfor.
2999         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3000         octave-lookfor.
3001         (octave-lookfor): New function.
3003 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3005         * emacs-lisp/cl-macs.el:
3006         (cl--loop-destr-temps): Remove.
3007         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3008         its convention.
3009         (cl--loop-set-iterator-function): New function.
3010         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3011         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3012         Bind `it' with `let' instead of substituting it with `cl-subst'.
3013         (cl--unused-var-p): New function.
3014         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3015         Eliminate some unused variable warnings (bug#15326).
3017 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3019         * doc-view.el (doc-view-scale-reset): Rename from
3020         `doc-view-reset-zoom-level'.
3021         (doc-view-scale-adjust): New command.
3022         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3023         `doc-view-scale-adjust'.
3025 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3027         * doc-view.el (doc-view-reset-zoom-level): New command.
3028         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3029         zoom commands (bug#15466).
3031 2013-09-26  Kenichi Handa  <handa@gnu.org>
3033         * international/quail.el (quail-help): Make it not a command.
3035 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3037         * minibuffer.el (completion-all-sorted-completions): Make args
3038         optional as they are.
3040 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3042         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3043         specs are and that they're not evaluated.
3045 2013-09-24  Sam Steingold  <sds@gnu.org>
3047         * midnight.el (clean-buffer-list-kill-regexps)
3048         (clean-buffer-list-kill-buffer-names): Update for the new Man
3049         buffer naming which includes the object name.
3051 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3053         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3054         (eshell-parse-command, eshell-parse-pipeline): Use it since
3055         eshell-separate-commands requires a dynamic scoped var.
3056         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3058 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3060         * autoinsert.el (auto-insert-alist): Make the value of
3061         lexical-binding match its file setting.
3063 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3065         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3067         * autoarg.el (autoarg-kp-digit-argument):
3068         * electric.el (Electric-command-loop):
3069         * kmacro.el (kmacro-step-edit-insert):
3070         Do not set universal-argument-num-events.
3072 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3074         * files.el (interpreter-mode-alist): Add octave.
3076 2013-09-21  Alan Mackenzie  <acm@muc.de>
3078         C++: fontify identifier in declaration following "public:" correctly.
3079         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3080         to match "public", etc.
3081         (c-decl-prefix-re): Add ":" into the C++ value.
3082         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3083         bit.  Add a check for a ":" preceded by "public", etc.
3085 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3087         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3088         recognized by GDB 7.5 and later.
3090 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3092         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3094 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         * subr.el (internal--call-interactively): New const.
3097         (called-interactively-p): Use it (bug#3984).
3099 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3101         * vc/pcvs.el (cvs-mode-ignore):
3102         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3103         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3105 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3107         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3108         (eshell-ls-orig-insert-directory): Remove.
3109         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3110         (eshell-ls-use-in-dired): Use advice-add/remove.
3111         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3112         Add `orig-fun' arg for use in :around advice.
3113         Make it check (redundantly) eshell-ls-use-in-dired.
3115 2013-09-19  Glenn Morris  <rgm@gnu.org>
3117         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3119         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3121         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3123 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3125         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3126         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3127         (tramp-get-remote-python): New defuns.
3128         (tramp-get-remote-uid-with-perl)
3129         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3130         contributed by yary <not.com@gmail.com> (tiny change).
3131         (tramp-get-remote-uid-with-python)
3132         (tramp-get-remote-gid-with-python): New defuns.  Python code
3133         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3134         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3136 2013-09-19  Glenn Morris  <rgm@gnu.org>
3138         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3140         * eshell/em-unix.el (eshell-remove-entries):
3141         Rename argument to avoid name-clash with global `top-level'.
3143         * eshell/esh-proc.el (eshell-kill-process-function):
3144         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3145         (eshell-reset-after-proc): Remove unused arg `proc'.
3147         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3148         (directory-files-and-attributes): Mark unused arg.
3150         * eshell/em-unix.el (eshell-remove-entries):
3151         Remove unused arg `path'.  Update callers.
3153         * eshell/em-hist.el (eshell-hist-parse-arguments):
3154         Remove unused arg `silent'.  Update callers.
3156         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3157         Fix (f)boundp mix-up.
3159         * eshell/em-smart.el (eshell-smart-scroll-window)
3160         (eshell-disable-after-change):
3161         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3163 2013-09-18  Alan Mackenzie  <acm@muc.de>
3165         Fix fontification of type when followed by "const".
3166         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3167         "known" types from fontification.
3169 2013-09-18  Glenn Morris  <rgm@gnu.org>
3171         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3172         (chart-face-list): Drop Emacsen without display-color-p.
3174         * net/eww.el (libxml-parse-html-region): Declare.
3175         (eww-display-html): Explicit error if no libxml2 support.
3177         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3179         * image.el (image-type-from-buffer, image-multi-frame-p):
3180         Remove --without-x warning/error.
3182         * mouse.el (mouse-yank-primary):
3183         * term.el (term-mouse-paste):
3184         Reorder to silence --without-x compilation.
3186         * mpc.el (doc-view-mode): Silence --without-x compilation.
3188         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3189         Silence --without-x compilation.
3191         * progmodes/gud.el (gud-find-file, gud-mode):
3192         Silence --without-x compilation.
3193         (tooltip-mode): Declare.
3195         * wdired.el (dired-backup-overwrite): Remove declaration.
3196         (wdired-mode-map): Add doc string.
3198         * custom.el (x-get-resource): Declare.
3200         * eshell/em-glob.el (ange-cache):
3201         * eshell/em-unix.el (ange-cache): Declare.
3203         * faces.el (x-display-list, x-open-connection, x-get-resource):
3204         Declare.
3206         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3207         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3208         Declare.
3210         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3212         * net/gnutls.el (gnutls-log-level): Declare.
3214         * net/shr.el (image-size, image-animate): Declare.
3216         * simple.el (font-info): Declare.
3218         * subr.el (x-popup-dialog): Declare.
3220         * term/common-win.el (x-select-enable-primary)
3221         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3222         Declare.
3224         * term/ns-win.el (x-handle-args): Declare.
3226         * term/x-win.el (x-select-enable-clipboard): Declare.
3228         * term/w32-win.el (create-default-fontset): Declare.
3230         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3231         Declare.
3233         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3234         (fit-frame-to-buffer): Explicit error if --without-x.
3235         (mouse-autoselect-window-select): Silence compiler.
3237         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3239         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3240         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3241         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3242         * eshell/esh-util.el (eshell-sublist):
3243         Remove unused local variables.
3245         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3247         * textmodes/two-column.el: Make 2C-split work for --without-x.
3248         (scroll-bar-columns): Autoload.
3249         (top-level): Require fringe when compiling.
3251 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3253         * subr.el (add-hook): Robustify to handle closure as well.
3255 2013-09-17  Glenn Morris  <rgm@gnu.org>
3257         * simple.el (messages-buffer-mode-map): Unbind "g".
3259 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3261         * help-mode.el (help-mode-finish): Use derived-mode-p.
3262         Remove obsolete highlighting.
3264         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3265         special-mode.
3266         (life): Let-bind inhibit-read-only.
3267         (life-setup): Avoid `setq'.  Use `life-mode'.
3269         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3270         which should not be needed any more.
3271         (package-menu-refresh, package-menu-describe-package): Use user-error.
3273         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3274         (eshell-post-rewrite-command-hook): Make obsolete.
3275         (eshell-parse-command): Simplify.
3276         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3277         (eshell--cmd): Declare.
3278         (eshell-parse-pipeline): Remove unused var `final-p'.
3279         Pass a dynvar to eshell-post-rewrite-command-hook.
3280         Implement the new eshell-post-rewrite-command-function.
3281         (eshell-invoke-directly): Remove unused arg `input'.
3282         * eshell/esh-io.el (eshell-io-initialize):
3283         Use eshell-post-rewrite-command-function (bug#15399).
3284         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3285         adjust to new calling convention.
3286         (eshell-create-handles): Rename args to avoid clashing with dynvar
3287         `standard-output'.
3289 2013-09-17  Glenn Morris  <rgm@gnu.org>
3291         * simple.el (messages-buffer-mode): New major mode.
3292         (messages-buffer): New function.
3293         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3294         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3295         (ert-run-test): Use `messages-buffer' function.
3296         (ert--force-message-log-buffer-truncation): Ignore read-only.
3297         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3298         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3300 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3302         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3304         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3306 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3308         * icomplete.el (icomplete-in-buffer): New var.
3309         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3310         vars and replace them with functions.
3311         (icomplete-minibuffer-setup): Adjust accordingly.
3312         (icomplete--completion-table, icomplete--completion-predicate)
3313         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3314         New functions.
3315         (icomplete-forward-completions, icomplete-backward-completions)
3316         (icomplete-simple-completing-p, icomplete-exhibit)
3317         (icomplete-completions): Use them.
3318         (icomplete--in-region-buffer): New var.
3319         (icomplete--in-region-setup): New function.
3320         (icomplete-mode): Use it.
3322         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3323         (bug#15379).
3324         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3325         return args and options.
3326         (eshell-eval-using-options): Use the new return value of
3327         eshell--do-opts to set the options's vars in their scope.
3328         (eshell--set-option): Rename from eshell-set-option.
3329         Add arg `opt-vals'.
3330         (eshell--process-option): Rename from eshell-process-option.
3331         Add arg `opt-vals'.
3332         (eshell--process-args): Use an `opt-vals' alist to store the options's
3333         values during their processing and return them additionally to the
3334         remaining args.
3336 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3338         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3339         continuation character an operator, as far as indentation is
3340         concerned (Bug#15369).
3342 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3344         * window.el (window--state-put-2): Don't process buffer state
3345         when buffer doesn't exist any more (Bug#15382).
3347 2013-09-15  Glenn Morris  <rgm@gnu.org>
3349         * eshell/em-unix.el (eshell/rm):
3350         Make -f ignore missing files.  (Bug#15373)
3352         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3353         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3354         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3356 2013-09-14  Glenn Morris  <rgm@gnu.org>
3358         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3360 2013-09-13  Glenn Morris  <rgm@gnu.org>
3362         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3363         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3365 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3367         * frame.el (x-focus-frame): Mark as declared in frame.c.
3369 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3371         * ls-lisp.el: Use advice-add.
3372         (original-insert-directory): Remove.
3373         (ls-lisp--insert-directory): Rename from insert-directory; add
3374         `orig-fun' argument.
3375         (insert-directory): Advise.
3377 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3379         * term.el (term-emulate-terminal): Decode the command string
3380         before passing it to term-command-hook.  (Bug#15337)
3382 2013-09-13  Glenn Morris  <rgm@gnu.org>
3384         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3386         * eshell/esh-ext.el (eshell-search-path): Declare.
3388         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3389         Otherwise an error occurs if eshell-dirs module not loaded.
3391         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3393 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3395         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3396         `tramp-check-proper-host'.  Check for a valid method name.
3398         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3399         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3400         * net/tramp-sh.el (tramp-maybe-open-connection):
3401         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3403         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3404         also for hash values.
3406 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3408         * term/ns-win.el (parameters): Don't declare as dynamic.
3409         (before-make-frame-hook): Don't add ineffective function.
3411         * eshell/*.el: Use lexical-binding (bug#15231).
3413 2013-09-12  Kenichi Handa  <handa@gnu.org>
3415         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3417 2013-09-12  Glenn Morris  <rgm@gnu.org>
3419         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3420         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3422         * subr.el (do-after-load-evaluation): Also give compiler warnings
3423         when obsolete files are used (except by obsolete files).
3425         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3426         in the status output, assume `filename' is the first.  (Bug#15322)
3428         * vc/vc.el (vc-deduce-fileset): Doc fix.
3430         * calc/calc-help.el (Info-goto-node):
3431         * progmodes/cperl-mode.el (Info-find-node):
3432         * vc/ediff.el (Info-goto-node): Update declarations.
3434         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3436         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3437         (vc-bzr-pull): Require vc-dispatcher.
3438         * vc/vc-git.el (vc-compilation-mode): Declare.
3439         (vc-git-pull): Require vc-dispatcher.
3441         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3443         * progmodes/octave.el (help-button-action): Declare.
3445         * shell.el (shell-directory-tracker): Output error as a message
3446         rather than just returning it as a string.
3447         (shell-process-pushd): Remove useless use of message.
3449         * dframe.el (dframe-timer-fn):
3450         * files.el (dir-locals-read-from-file):
3451         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3452         (mpc-format):
3453         * reveal.el (reveal-post-command):
3454         * saveplace.el (load-save-place-alist-from-file):
3455         * shell.el (shell-resync-dirs):
3456         * w32-common-fns.el (x-get-selection-value):
3457         * emacs-lisp/copyright.el (copyright-find-copyright):
3458         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3459         * emulation/tpu-edt.el (tpu-copy-keyfile):
3460         * play/bubbles.el (bubbles--mark-neighbourhood):
3461         * progmodes/executable.el
3462         (executable-make-buffer-file-executable-if-script-p):
3463         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3465 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3467         Cleanup Eshell to rely less on dynamic scoping.
3468         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3469         last-value, and ext-command here.  Bind `args' closer to `body'.
3470         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3471         (eshell--args): Declare new dynamic var.
3472         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3473         last-value, and ext-command.  Pass `args' to `body'.
3474         (eshell-process-args): Bind eshell--args.
3475         (eshell-set-option): Use eshell--args.
3476         * eshell/eshell.el (eshell): Use derived-mode-p.
3477         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3478         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3479         (eshell-glob-function): Declare.
3480         * eshell/esh-util.el: Require cl-lib.
3481         (eshell-read-hosts-file): Avoid add-to-list.
3482         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3483         `err'.
3484         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3485         Declare.
3486         (eshell/diff): Remove unused var `err'.
3487         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3488         `killflag'.
3489         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3490         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3491         first use.
3492         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3493         Move declaration before first use.
3494         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3495         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3496         rely on cl-return.
3498 2013-09-12  Glenn Morris  <rgm@gnu.org>
3500         * term/ns-win.el (global-map): Remove binding for ispell-next,
3501         deleted 1999-05-29.  (Bug#15357)
3503 2013-09-11  Glenn Morris  <rgm@gnu.org>
3505         * echistory.el (electric-command-history): Remove call to deleted func.
3507         * play/landmark.el (landmark-mode): Fix typos.
3509         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3510         Check cvs-sort-ignore-file is bound.
3512         * savehist.el: No need for cl when compiling on Emacs.
3514 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3516         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3517         (bug#15338).
3518         (eshell-self-insert-command, eshell-send-invisible):
3519         Remove unused argument.
3520         (eshell-handle-control-codes): Remove unused var `orig'.
3521         Avoid delete-backward-char.
3523         * files.el (set-auto-mode): Simplify a bit further.
3525 2013-09-11  Glenn Morris  <rgm@gnu.org>
3527         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3528         (set-auto-mode): Don't regexp-quote elements.
3529         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3530         * progmodes/cc-mode.el (interpreter-mode-alist):
3531         * progmodes/ruby-mode.el (interpreter-mode-alist):
3532         Revert previous change.
3534 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3536         * play/snake.el (snake-mode):
3537         * play/mpuz.el (mpuz-mode):
3538         * play/landmark.el (lm-mode):
3539         * play/blackbox.el (blackbox-mode):
3540         * play/5x5.el (5x5-mode):
3541         * obsolete/options.el (Edit-options-mode):
3542         * net/quickurl.el (quickurl-list-mode):
3543         * net/newst-treeview.el (newsticker-treeview-mode):
3544         * mail/rmailsum.el (rmail-summary-mode):
3545         * mail/mspools.el (mspools-mode):
3546         * locate.el (locate-mode):
3547         * ibuffer.el (ibuffer-mode):
3548         * emulation/ws-mode.el (wordstar-mode):
3549         * emacs-lisp/debug.el (debugger-mode):
3550         * array.el (array-mode):
3551         * net/eudc.el (eudc-mode): Use define-derived-mode.
3552         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3553         Move initialization into declaration.
3554         (mairix-searches-mode): Use define-derived-mode.
3555         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3556         (eudc-edit-hotlist): Use dolist.
3557         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3558         (Man-mode): Use define-derived-mode.
3559         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3560         (Info-edit-mode): Use define-derived-mode.
3561         (Info-cease-edit): Use Info-mode.
3562         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3563         into declaration.
3564         (eshell-mode): Use define-derived-mode.
3565         * chistory.el (command-history-mode-map): Rename from
3566         command-history-map.
3567         (command-history-mode): Use define-derived-mode.
3568         (Command-history-setup): Remove function.
3569         * calc/calc.el (calc-trail-mode-map): New var.
3570         (calc-trail-mode): Use define-derived-mode.
3571         (calc-trail-buffer): Set calc-main-buffer manually.
3572         * bookmark.el (bookmark-insert-annotation): New function.
3573         (bookmark-edit-annotation): Use it.
3574         (bookmark-edit-annotation-mode): Make it a proper major mode.
3575         (bookmark-send-edited-annotation): Use derived-mode-p.
3576         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3577         closer to its ideal place.  Use \' to match EOS.
3579         * profiler.el (profiler-calltree-find): Use function-equal.
3581 2013-09-10  Glenn Morris  <rgm@gnu.org>
3583         * files.el (interpreter-mode-alist): Convert to regexps.
3584         (set-auto-mode): Adapt for this.  (Bug#15306)
3585         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3586         Comment out unused variable.
3587         * progmodes/cc-mode.el (interpreter-mode-alist):
3588         * progmodes/python.el (interpreter-mode-alist):
3589         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3590         * progmodes/sh-script.el (sh-set-shell):
3591         No longer use interpreter-mode-alist to get list of shells.
3593         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3595 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3597         * simple.el: Use set-temporary-overlay-map for universal-argument.
3598         (universal-argument-map): Don't use default-bindings (bug#15317).
3599         Bind switch-frame explicitly.  Replace universal-argument-minus with
3600         a conditional binding.
3601         (universal-argument-num-events, saved-overriding-map): Remove.
3602         (restore-overriding-map): Remove.
3603         (universal-argument--mode): Rename from save&set-overriding-map,
3604         and rewrite.
3605         (universal-argument, universal-argument-more, negative-argument)
3606         (digit-argument): Adjust accordingly.
3607         (universal-argument-minus): Remove.
3608         (universal-argument-other-key): Remove.
3610         * subr.el (with-demoted-errors): Add `format' argument.
3612 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3614         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3615         `tramp-cleanup-connection'.
3617         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3618         parameters KEEP-DEBUG and KEEP-PASSWORD.
3620         * net/tramp.el (tramp-file-name-handler):
3621         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3622         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3623         (tramp-maybe-open-connection):
3624         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3625         Use `tramp-cleanup-connection'.
3627         * net/tramp-sh.el (tramp-maybe-open-connection):
3628         Catch 'uname-changed inside the progress reporter.
3630 2013-09-10  Glenn Morris  <rgm@gnu.org>
3632         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3634         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3635         returns "alternate access method" in mode (eg "-rw-r--r--.").
3637 2013-09-08  Glenn Morris  <rgm@gnu.org>
3639         * saveplace.el (load-save-place-alist-from-file):
3640         Demote errors.  (Bug#15305)
3642 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3644         Improve compatibility with older Emacsen, and XEmacs.
3646         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3647         only if it is bound.  It isn't for XEmacs.
3648         (with-tramp-progress-reporter): Do not let-bind `result'.
3649         This yields to scoping errors in XEmacs.
3650         (tramp-handle-make-auto-save-file-name): New function, moved from
3651         tramp-sh.el.
3653         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3654         for `make-auto-save-file-name'.
3655         (tramp-adb--gnu-switches-to-ash):
3656         Use `tramp-compat-replace-regexp-in-string'.
3658         * net/tramp-cache.el (tramp-cache-print): Call
3659         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3661         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3662         bound.  It isn't for XEmacs.
3664         * net/tramp-compat.el (tramp-compat-copy-file):
3665         Catch `wrong-number-of-arguments' error.
3666         (tramp-compat-replace-regexp-in-string): New defun.
3668         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3669         for `make-auto-save-file-name'.
3670         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3671         `copy-file'.
3672         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3673         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3674         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3676         * net/tramp-gw.el (tramp-gw-open-network-stream):
3677         Use `tramp-compat-replace-regexp-in-string'.
3679         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3680         Call `tramp-handle-make-auto-save-file-name'.
3681         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3682         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3683         (tramp-sh-file-inotifywait-process-filter):
3684         Use `tramp-compat-replace-regexp-in-string'.
3685         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3687         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3688         for `make-auto-save-file-name'.
3689         (tramp-smb-handle-copy-directory):
3690         Call `tramp-compat-replace-regexp-in-string'.
3691         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3692         (tramp-smb-handle-copy-file): Improve error message.
3693         (tramp-smb-handle-rename-file): Rename directly only in case
3694         `newname' does not exist yet.  This is a restriction of smbclient.
3695         (tramp-smb-maybe-open-connection): Rerun the function only when
3696         `auth-sources' is non-nil.
3698 2013-09-08  Kenichi Handa  <handa@gnu.org>
3700         * international/characters.el: Set category "^" (Combining) for
3701         more characters.
3703 2013-09-07  Alan Mackenzie  <acm@muc.de>
3705         Correctly fontify Java class constructors.
3706         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3707         in Java Mode.
3708         (c-recognize-typeless-decls): Set the Java value to t.
3709         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3710         While handling a "(", add a check for, effectively, Java, and handle a
3711         "typeless" declaration there.
3713 2013-09-07  Roland Winkler  <winkler@gnu.org>
3715         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3716         field subtitle for entry type book.
3718 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3720         * minibuffer.el: Make minibuffer-complete call completion-in-region
3721         rather than other way around.
3722         (completion--some, completion-pcm--find-all-completions):
3723         Don't delay signals when debugging.
3724         (minibuffer-completion-contents): Beware fields within the
3725         minibuffer contents.
3726         (completion-all-sorted-completions): Use defvar-local.
3727         (completion--do-completion, completion--cache-all-sorted-completions)
3728         (completion-all-sorted-completions, minibuffer-force-complete):
3729         Add args `beg' and `end'.
3730         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3731         (minibuffer-complete): Use completion-in-region.
3732         (completion-complete-and-exit): New fun, extracted from
3733         minibuffer-complete-and-exit.
3734         (minibuffer-complete-and-exit): Use it.
3735         (completion--complete-and-exit): Rename from
3736         minibuffer--complete-and-exit.
3737         (completion-in-region--single-word): New function, extracted from
3738         minibuffer-complete-word.
3739         (minibuffer-complete-word): Use it.
3740         (display-completion-list): Make `common-substring' argument obsolete.
3741         (completion--in-region): Call completion--in-region-1 instead of
3742         minibuffer-complete.
3743         (completion-help-at-point): Pass boundaries to
3744         minibuffer-completion-help as args rather than via an overlay.
3745         (completion-pcm--string->pattern): Use `any-delim'.
3746         (completion-pcm--optimize-pattern): New function.
3747         (completion-pcm--pattern->regex): Handle `any-delim'.
3748         * icomplete.el (icomplete-forward-completions)
3749         (icomplete-backward-completions, icomplete-completions):
3750         Adjust calls to completion-all-sorted-completions and
3751         completion--cache-all-sorted-completions.
3752         (icomplete-with-completion-tables): Default to t.
3753         * emacs-lisp/crm.el (crm--current-element): Rename from
3754         crm--select-current-element.  Don't put an overlay but return the
3755         boundaries instead.
3756         (crm--completion-command): Take two new args to bind to the boundaries.
3757         (crm-completion-help): Adjust accordingly.
3758         (crm-complete): Use completion-in-region.
3759         (crm-complete-word): Use completion-in-region--single-word.
3760         (crm-complete-and-exit): Use completion-complete-and-exit.
3762 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3764         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3765         than dynamically.
3767 2013-09-06  Juri Linkov  <juri@jurta.org>
3769         * info.el (Info-display-images-node): When image file doesn't exist
3770         display text version of the image if it's provided in the Info file.
3771         Otherwise, display the location of missing image from SRC attribute.
3772         Add help-echo text property from ALT attribute.  (Bug#15279)
3774 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3776         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3777         (edit-abbrevs-mode): Use define-derived-mode.
3779         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3780         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3781         that it's defined.
3782         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3783         Use define-derived-mode.
3785         * epg.el (epg-start-encrypt): Minor CSE simplification.
3787 2013-09-06  William Xu  <william.xwl@gmail.com>
3789         * arc-mode.el: Add support for 7za (bug#15264).
3790         (archive-7z-program): New var.
3791         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3792         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3793         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3795 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3797         Remove URL syntax.
3799         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3800         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3801         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3802         (tramp-postfix-host-format, tramp-file-name-regexp)
3803         (tramp-completion-file-name-regexp)
3804         (tramp-completion-dissect-file-name)
3805         (tramp-handle-substitute-in-file-name): Remove 'url case.
3806         (tramp-file-name-regexp-url)
3807         (tramp-completion-file-name-regexp-url): Remove constants.
3809 2013-09-06  Glenn Morris  <rgm@gnu.org>
3811         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3813 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3815         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3816         keywords" below "here-doc beginnings" (Bug#15270).
3818 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3820         * subr.el (pop): Use `car-safe'.
3821         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3822         to detect unused `pop' return value.
3824         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3825         var `block-regexp'.
3826         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3827         (python-fill-string): Remove unused var `marker'.
3828         (python-skeleton-add-menu-items): Remove unused var `items'.
3830         * international/mule-cmds.el: Require CL.
3831         (find-coding-systems-for-charsets): Avoid add-to-list.
3832         (sanitize-coding-system-list): New function, extracted from
3833         select-safe-coding-system-interactively.
3834         (select-safe-coding-system-interactively): Use it.
3835         (read-input-method-name): Accept symbols for `default'.
3837         * emacs-lisp/advice.el (defadvice): Add indent rule.
3839 2013-09-05  Daniel Hackney  <dan@haxney.org>
3841         * dired-x.el:
3842         * net/ange-ftp.el:
3843         * net/browse-url.el:
3844         * net/dbus.el:
3845         * net/eudc.el:
3846         * net/eudcb-ldap.el:
3847         * net/eww.el:
3848         * net/imap.el:
3849         * printing.el:
3850         * vc/ediff-diff.el:
3851         * vc/ediff-init.el:
3852         * vc/ediff-merg.el:
3853         * vc/ediff-mult.el:
3854         * vc/ediff-util.el:
3855         * vc/ediff-wind.el:
3856         * vc/ediff.el:
3857         * vc/emerge.el:
3858         * vc/pcvs.el:
3859         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3860         byte compiler.  Remove some unused let-bound variables.
3862 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3864         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3865         a "ref-cell", since it gets better optimized (bug#14883).
3867 2013-09-05  Glenn Morris  <rgm@gnu.org>
3869         * progmodes/cc-awk.el (c-forward-sws): Declare.
3871 2013-09-04  Glenn Morris  <rgm@gnu.org>
3873         * generic-x.el [rul-generic-mode]: Require cc-mode.
3874         (c++-mode-syntax-table): Declare.
3875         (rul-generic-mode-syntax-table): Init in the defvar.
3877 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3879         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3880         (vc-do-command, vc-set-async-update):
3881         * vc/vc-mtn.el (vc-mtn-dir-status):
3882         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3883         (vc-hg-pull, vc-hg-merge-branch):
3884         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3885         (vc-git-merge-branch):
3886         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3887         (vc-cvs-dir-status-files):
3888         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3889         (vc-bzr-dir-status-files):
3890         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3891         * vc/vc-annotate.el: Use lexical-binding.
3892         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3893         (vc-sentinel-movepoint): Declare.
3894         (vc-annotate): Don't use `goto-line'.
3895         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3896         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3897         (vc-sentinel-movepoint): Declare.
3898         * vc/vc-svn.el: Use lexical-binding.
3899         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3900         * vc/vc-sccs.el:
3901         * vc/vc-rcs.el: Use lexical-binding.
3903         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3904         `deleted'.  Don't drop errors silently.
3906         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3908 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
3910         * vc/vc.el (vc-ignore): Rewrite.
3911         (vc-default-ignore): New function.
3912         (vc-default-ignore-completion-table): Use find-ignore-file.
3914         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3915         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3916         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3917         Remove.  Most code moved to vc.el.
3919 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3921         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3922         * net/tramp-smb.el (tramp-smb-get-file-entries):
3923         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3924         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3926         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3927         Update call to it.
3928         (eww-change-select): Remove unused var `properties'.
3929         (eww-make-unique-file-name): Remove unused var `base'.
3931         * finder.el (finder-compile-keywords): Don't mess with windows.
3933         * calculator.el (calculator-funcall): Fix typo in last change.
3935         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3937         * emacs-lisp/package.el (package-activate-1): Don't let a missing
3938         <pkg>-autoloads.el file stop us.
3940         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3941         warnings, and factor out common code.
3943 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
3945         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3946         two-character operators and whether the character preceding them
3947         changes their meaning (Bug#15208).
3949 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3951         Format code sent to Python shell for robustness.
3952         * progmodes/python.el (python-shell-buffer-substring):
3953         New function.
3954         (python-shell-send-region, python-shell-send-buffer): Use it.
3956 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
3958         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3959         * net/tramp.el (tramp-user-error): ... here.
3960         (tramp-find-method, tramp-check-proper-host)
3961         (tramp-dissect-file-name, tramp-debug-message)
3962         (tramp-handle-shell-command):
3963         * net/tramp-adb.el (tramp-adb-handle-shell-command):
3964         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3966         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3968 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
3970         * avoid.el (mouse-avoidance-point-position)
3971         (mouse-avoidance-too-close-p): Handle case where posn-at-point
3972         returns nil.
3974 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3976         * progmodes/python.el (python-shell-completion-get-completions):
3977         Drop use of deleted `comint-last-prompt-overlay'.
3978         (python-nav-if-name-main): New command.
3980 2013-09-01  Glenn Morris  <rgm@gnu.org>
3982         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3983         Avoid leading space in $wins.  Otherwise the sed command used by
3984         eg compile-main ends up containing "/*.el".  (Bug#15170)
3986         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
3988 2013-08-30  Glenn Morris  <rgm@gnu.org>
3990         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3991         Fix is-this-a-directory logic.  (Bug#15220)
3993 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3995         * textmodes/css-mode.el: Use SMIE.
3996         (css-smie-grammar): New var.
3997         (css-smie--forward-token, css-smie--backward-token)
3998         (css-smie-rules): New functions.
3999         (css-mode): Use them.
4000         (css-navigation-syntax-table): Remove var.
4001         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4002         (css-indent-calculate, css-indent-line): Remove functions.
4004         Misc changes to reduce use of `(lambda...); and other cleanups.
4005         * cus-edit.el: Use lexical-binding.
4006         (customize-push-and-save, customize-apropos)
4007         (custom-buffer-create-internal): Use closures.
4008         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4009         * progmodes/ada-xref.el: Use setq.
4010         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4011         * dframe.el: Use lexical-binding.
4012         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4013         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4014         * descr-text.el: Use lexical-binding.
4015         (describe-text-widget, describe-text-sexp, describe-property-list):
4016         Use closures.
4017         * comint.el (comint-history-isearch-push-state): Use a closure.
4018         * calculator.el: Use lexical-binding.
4019         (calculator-number-to-string): Make it work with lexical-binding.
4020         (calculator-funcall): Same and use cl-letf.
4022         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4023         (lisp--company-doc-string, lisp--company-location): New functions.
4024         (lisp-completion-at-point): Use them to improve Company support.
4026         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4027         params of lambda expressions.
4028         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4029         (ruby-smie--opening-pipe-p): New function.
4030         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4031         symbols and matched |...| for formal params.
4032         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4033         from being treated as hanging.  Handle "rescue".
4035 2013-08-29  Glenn Morris  <rgm@gnu.org>
4037         * progmodes/cc-engine.el (c-pull-open-brace):
4038         Move definition before use.
4040 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4042         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4043         are immutable.  Don't use `unsafe' any more.
4044         (cl--defsubst-expand): Don't substitute at the same time as keeping
4045         a residual unused let-binding.  Don't use `unsafe' any more.
4047 2013-08-29  Glenn Morris  <rgm@gnu.org>
4049         * calendar/cal-china.el (calendar-chinese-year-cache):
4050         Recenter on 2015.
4052         * nxml/nxml-util.el (nxml-debug-clear-inside):
4053         Use cl-loop rather than loop.
4055         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4057         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4059 2013-08-28  Glenn Morris  <rgm@gnu.org>
4061         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4063         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4065         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4067 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4069         * simple.el (repeat-complex-command--called-interactively-skip):
4070         New function.
4071         (repeat-complex-command): Use it (bug#14136).
4073         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4074         (c-define-abbrev-table): Add `doc' argument.
4075         (c-mode-abbrev-table, c++-mode-abbrev-table)
4076         (objc-mode-abbrev-table, java-mode-abbrev-table)
4077         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4078         (awk-mode-abbrev-table): Use it.
4079         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4080         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4081         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4082         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4083         Move initialization into the declaration; and remove any
4084         autoload cookie.
4086         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4087         and dynamic let binding.
4089         * vc/smerge-mode.el: Remove redundant :group args.
4091         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4092         to load-path.
4094 2013-08-28  Juri Linkov  <juri@jurta.org>
4096         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4097         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4098         (isearch-other-meta-char): Handle an undefined shifted printing
4099         character by downshifting it.  (Bug#15200)
4101 2013-08-28  Juri Linkov  <juri@jurta.org>
4103         * isearch.el (isearch-search): Change regexp error message for
4104         non-regexp searches.  (Bug#15166)
4106 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4108         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4109         for portability to hosts where /bin/sh has problems.
4111 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4113         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4115 2013-08-27  Juri Linkov  <juri@jurta.org>
4117         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4118         in the keyboard macro.  (Bug#15126)
4120 2013-08-27  Juri Linkov  <juri@jurta.org>
4122         * isearch.el (isearch-quote-char): Comment out converting unibyte
4123         to multibyte, thus syncing with its `quoted-insert' counterpart.
4124         (Bug#15166)
4126 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4128         * window.el (display-buffer-use-some-window): Add missing
4129         argument in call of get-largest-window (Bug#15185).
4130         Reported by Stephen Leake.
4132 2013-08-27  Glenn Morris  <rgm@gnu.org>
4134         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4136 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4138         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4139         from a matcher-function unless there's no more matches (bug#15161).
4141 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4143         * minibuffer.el: Revert change from 2013-08-20.
4145         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4146         with text property `tramp-default', if appropriate.
4147         (tramp-check-proper-host): New defun.
4148         (tramp-dissect-file-name): Do not check hostname.  Revert change
4149         of 2013-03-18.
4150         (tramp-backtrace): Make VEC-OR-PROC optional.
4152         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4153         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4154         * net/tramp-sh.el (tramp-maybe-open-connection):
4155         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4156         Apply `tramp-check-proper-host'.
4158 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4160         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4161         lambda expression in order to have `describe-variable' display it.
4163 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4165         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4166         BUF can be optional.  (Bug#15186)
4168 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4170         * progmodes/flymake.el (flymake-get-real-file-name-function):
4171         Fix broken customization.  (Bug#15184)
4173 2013-08-25  Alan Mackenzie  <acm@muc.de>
4175         Improve indentation of bracelists defined by macros (without "=").
4177         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4178         expansion begins with "{", regard it as bracelist when it doesn't
4179         contain a ";".
4181         Parse C++ inher-intro when there's a template split over 2 lines.
4183         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4184         rigorously the search for "class" etc. followed by ":".
4186         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4187         random languages a regexp which never matches rather than nil.
4189         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4191         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4192         (c-awk-regexp-one-line-possibly-open-char-list-re)
4193         (c-awk-one-line-possibly-open-regexp-re)
4194         (c-awk-one-line-non-syn-ws*-re): Remove.
4195         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4196         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4197         (c-awk-space*-unclosed-regexp-/-re): New constants.
4198         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4199         aren't regexp delimiters.
4201         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4202         handling for a rare situation in AWK Mode involving unterminated
4203         strings/regexps.
4205 2013-08-23  Glenn Morris  <rgm@gnu.org>
4207         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4209         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4211         * files.el (create-file-buffer): If the result would begin with
4212         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4214 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4216         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4217         text-properties (bug#15155).
4219         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4220         exist any more.
4221         (calc-keypad-redraw): Remove unused var `pad'.
4222         (calc-keypad-press): Remove unused var `menu'.
4224 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4226         * window.el (display-buffer-pop-up-frame):
4227         Call pop-up-frame-function with BUFFER current so `make-frame' will
4228         use it as the new frame's buffer (Bug#15133).
4230 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4232         * calendar/timeclock.el: Minor cleanups.
4233         (timeclock-ask-before-exiting, timeclock-use-display-time):
4234         Use `symbol'.
4235         (timeclock-modeline-display): Define as alias before the
4236         actual definition.
4237         (timeclock-mode-line-display): Use define-minor-mode.
4238         (timeclock-day-list-template): Make it a function, add an argument.
4239         (timeclock-day-list-required, timeclock-day-list-length)
4240         (timeclock-day-list-debt, timeclock-day-list-span)
4241         (timeclock-day-list-break): Adjust calls accordingly.
4243 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4245         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4246         Use read--expression so that completion works again.
4248 2013-08-21  Sam Steingold  <sds@gnu.org>
4250         Add rudimentary inferior shell interaction
4251         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4252         (sh-set-shell): Reset it.
4253         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4254         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4256 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4258         * align.el: Use lexical-binding.
4259         (align-region): Simplify accordingly.
4261 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4263         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4265         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4266         `non-essential' up.
4268 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4270         * net/tramp.el:
4271         * net/tramp-adb.el:
4272         * net/tramp-cmds.el:
4273         * net/tramp-ftp.el:
4274         * net/tramp-gvfs.el:
4275         * net/tramp-gw.el:
4276         * net/tramp-sh.el: Don't wrap external variable declarations by
4277         `eval-when-compile'.
4279 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4281         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4282         now that Emacs supports ImageMagick animations.
4284 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4286         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4287         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4289 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4291         * window.el (mouse-autoselect-window-select): Do autoselect when
4292         mouse pointer is on margin.
4294 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4296         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4298 2013-08-16  Glenn Morris  <rgm@gnu.org>
4300         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4301         Handle "Remote Directory" response of some clients.  (Bug#15058)
4303         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4304         Tweak warning.  (Bug#14926)
4306         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4307         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4309         * image-mode.el (image-mode-map): Add menu items to reverse,
4310         increase, decrease, reset animation speed.
4311         (image--set-speed, image-increase-speed, image-decrease-speed)
4312         (image-reverse-speed, image-reset-speed): New functions.
4313         (image-mode-map): Add bindings for speed commands.
4315         * image.el (image-animate-get-speed, image-animate-set-speed):
4316         New functions.
4317         (image-animate-timeout): Respect image :speed property.
4319 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4321         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4322         previous line (bug#15101).
4323         (debugger-eval-expression, debugger-record-expression):
4324         Use read--expression (bug#15102).
4326 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4328         Remove byte compiler warnings, visible when compiling with
4329         `byte-compile-force-lexical-warnings' set to t.
4331         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4332         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4333         (tramp-handle-unhandled-file-name-directory)
4334         (tramp-handle-file-notify-add-watch, tramp-action-login)
4335         (tramp-action-succeed, tramp-action-permission-denied)
4336         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4337         arguments with "_".
4339         * net/tramp-adb.el (tramp-adb-parse-device-names)
4340         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4341         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4342         (tramp-adb-handle-file-truename): Remove unused arguments.
4344         * net/tramp-cache.el (tramp-flush-directory-property)
4345         (tramp-flush-connection-property, tramp-list-connections)
4346         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4348         * net/tramp-compat.el (tramp-compat-make-temp-file):
4349         Rename FILENAME to F.
4351         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4352         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4353         (tramp-zeroconf-parse-workstation-device-names)
4354         (tramp-zeroconf-parse-webdav-device-names)
4355         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4357         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4358         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4360         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4361         arguments.
4362         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4363         (tramp-sh-handle-insert-file-contents-literally)
4364         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4365         with "_".
4366         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4367         Remove unused variables.
4369         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4370         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4371         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4373         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4374         Make them a defconst.
4375         (tramp-uuencode-region): Remove unused variable.
4377 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4379         * frameset.el (frameset--prop-setter): New function.
4380         (frameset-prop): Add gv-setter declaration.
4381         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4382         parameter was already set in FILTERED.  Doc fix.
4383         (frameset--record-minibuffer-relationships): Allow saving a
4384         minibufferless frame without its corresponding minibuffer frame.
4385         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4386         frame, if the frame id matches.
4387         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4388         frames before orphaned ones.
4389         (frameset-restore): Warn about orphaned windows, instead of error out.
4391 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4393         * window.el (window-make-atom): Don't overwrite parameter
4394         already present.
4395         (display-buffer-in-atom-window): Handle special case where we
4396         split an already atomic window.
4397         (window--major-non-side-window, display-buffer-in-side-window)
4398         (window--side-check): Ignore minibuffer window when walking
4399         window tree.
4400         (window-deletable-p): Return 'frame only if no other frame uses
4401         our minibuffer window.
4402         (record-window-buffer): Run buffer-list-update-hook.
4403         (split-window): Make sure window--check-frame won't destroy an
4404         existing atomic window in case the new window gets nested
4405         inside.
4406         (display-buffer-at-bottom): Ignore minibuffer window when
4407         walking window tree.  Don't split a side window.
4408         (pop-to-buffer): Don't set-buffer here, the select-window call
4409         should do that.
4410         (mouse-autoselect-window-select): Autoselect only if we are in the
4411         text portion of the window.
4413 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4415         * net/shr.el (shr-parse-image-data): New function to grab both the
4416         data itself and the Content-Type.
4417         (shr-put-image): Use it.
4419         * net/eww.el (eww-display-image): Ditto.
4421         * image.el (image-content-type-suffixes): New variable.
4423 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4425         * progmodes/python.el (python-imenu--build-tree)
4426         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4428 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4430         * simple.el (backward-word): Mention the optional argument.
4432 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4434         * frameset.el (frameset--make): Rename constructor from make-frameset.
4435         (frameset-p, frameset-valid-p): Don't autoload.
4436         (frameset-valid-p): Use normal accessors.
4438 2013-08-13  Glenn Morris  <rgm@gnu.org>
4440         * progmodes/compile.el (compile-command): Tweak example in doc.
4441         * obsolete/scribe.el (scribe-mode):
4442         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4444         * mail/feedmail.el (feedmail-confirm-outgoing)
4445         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4447         * cus-start.el (truncate-partial-width-windows): Fix type.
4449         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4451         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4453 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4455         * emacs-lisp/timer.el (timer--time-setter): New function.
4456         (timer--time): Use it as gv-setter.
4458         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4459         setter is not a symbol.
4461 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4463         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4464         if sending fails.  This makes debugging easier.
4466 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4468         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4469         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4470         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4472 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4474         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4476 2013-08-12  Glenn Morris  <rgm@gnu.org>
4478         * format.el (format-annotate-function):
4479         Handle read-only text properties in the source.  (Bug#14887)
4481 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4483         * net/eww.el (eww-display-html): Ignore coding system errors.
4484         One web site uses "utf-8lias" as the coding system.
4486 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4488         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4490 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4492         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4493         (tutorial--detailed-help): Remove unused local variables.
4494         (tutorial--save-tutorial-to): Use ignore-errors.
4495         (help-with-tutorial): Use looking-at-p.
4497         * view.el (view-buffer-other-window, view-buffer-other-frame):
4498         Mark unused arguments.
4500         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4501         (woman-select-symbol-fonts, woman, woman-find-file)
4502         (woman-insert-file-contents, woman-non-underline-faces):
4503         Use string-match-p.
4504         (woman1-unquote): Move declaration.
4506         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4507         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4508         argument.  Remove unused local variable.
4509         (xml-parse-elem-type): Use string-match-p.
4510         (xml-substitute-numeric-entities): Use ignore-errors.
4512         * calculator.el (calculator): Mark unused argument.
4513         (calculator-paste, calculator-quit, calculator-integer-p):
4514         Use ignore-errors.
4515         (calculator-string-to-number, calculator-decimal, calculator-exp)
4516         (calculator-op-or-exp): Use string-match-p.
4518         * dired.el (dired-buffer-more-recently-used-p): Declare.
4519         (dired-insert-set-properties, dired-insert-old-subdirs):
4520         Use ignore-errors.
4522         * dired-aux.el (dired-compress): Use ignore-errors.
4523         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4524         (dired-do-async-shell-command, dired-do-shell-command)
4525         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4526         (dired-insert-subdir-validate): Use string-match-p.
4527         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4528         (dired-add-entry): Use string-match-p, looking-at-p.
4529         (dired-insert-subdir-newpos): Remove unused local variable.
4531         * filenotify.el (file-notify-callback): Remove unused local variable.
4533         * filesets.el (filesets-error): Mark unused argument.
4534         (filesets-which-command-p, filesets-filter-dir-names)
4535         (filesets-directory-files, filesets-get-external-viewer)
4536         (filesets-ingroup-get-data): Use string-match-p.
4538         * find-file.el (ff-other-file-name, ff-other-file-name)
4539         (ff-find-the-other-file, ff-cc-hh-converter):
4540         Remove unused local variables.
4541         (ff-get-file-name): Use string-match-p.
4542         (ff-all-dirs-under): Use ignore-errors.
4544         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4545         (follow-select-if-visible): Remove unused local variable.
4547         * forms.el (read-file-filter): Move declaration.
4548         (forms--make-format, forms--make-parser, forms-insert-record):
4549         Quote function with #'.
4550         (forms--update): Use string-match-p.  Quote function with #'.
4552         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4553         (help-make-xrefs): Use looking-at-p.
4554         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4556         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4557         (ibuffer-confirm-operation-on): Use string-match-p.
4559         * msb.el (msb-item-handler, msb-dired-item-handler):
4560         Mark unused arguments.
4562         * ses.el (ses-decode-cell-symbol)
4563         (ses-kill-override): Remove unused local variable.
4564         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4565         (ses-load): Use ignore-errors, looking-at-p.
4566         (ses-jump-safe): Use ignore-errors.
4567         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4569         * tabify.el (untabify, tabify): Mark unused arguments.
4571         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4572         Mark unused argument.
4573         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4574         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4576         * emacs-lisp/timer.el (timer--time): Define setter with
4577         gv-define-setter to avoid deprecation warning.
4579         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4580         (*record-cmpl-statistics-p*): Remove (was commented out).
4581         (cmpl-statistics-block): Remove (body was commented out).
4582         All callers changed.
4583         (add-completions-from-buffer, load-completions-from-file):
4584         Remove unused variables.
4586 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4588         * filecache.el (file-cache-delete-file-list):
4589         Print message only when told so.
4590         (file-cache-files-matching): Use #' in mapconcat argument.
4592         * ffap.el (ffap-url-at-point): Fix reference to variable
4593         thing-at-point-default-mail-uri-scheme.
4595 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4597         * subr.el (define-error): New function.
4598         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4599         error-file-not-found and define with define-error.
4600         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4601         and define with define-error.
4602         * userlock.el (file-locked, file-supersession):
4603         * simple.el (mark-inactive):
4604         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4605         * progmodes/ada-mode.el (ada-mode-errors):
4606         * play/life.el (life-extinct):
4607         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4608         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4609         * nxml/rng-util.el (rng-error):
4610         * nxml/rng-uri.el (rng-uri-error):
4611         * nxml/rng-match.el (rng-compile-error):
4612         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4613         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4614         * nxml/nxml-rap.el (nxml-scan-error):
4615         * nxml/nxml-outln.el (nxml-outline-error):
4616         * net/soap-client.el (soap-error):
4617         * net/gnutls.el (gnutls-error):
4618         * net/ange-ftp.el (ftp-error):
4619         * mpc.el (mpc-proc-error):
4620         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4621         (json-number-format, json-string-escape, json-string-format)
4622         (json-key-format, json-object-format):
4623         * jka-compr.el (compression-error):
4624         * international/quail.el (quail-error):
4625         * international/kkc.el (kkc-error):
4626         * emacs-lisp/ert.el (ert-test-failed):
4627         * calc/calc.el (calc-error, inexact-result, math-overflow)
4628         (math-underflow):
4629         * bookmark.el (bookmark-error-no-filename):
4630         * epg.el (epg-error): Define with define-error.
4632         * time.el (display-time-event-handler)
4633         (display-time-next-load-average): Don't call sit-for since it seems
4634         unnecessary (bug#15045).
4636         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4637         Use #' instead of ' to quote functions.
4638         (checkdoc-output-mode): Use setq-local.
4639         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4640         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4641         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4642         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4643         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4644         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4645         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4646         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4648         * ido.el (ido-completion-help): Fix up compiler warning.
4650 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4652         * frameset.el (frameset-p): Add autoload cookie.
4653         (frameset--jump-to-register): New function, based on code moved from
4654         register.el.
4655         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4657         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4658         (frameset-restore, frameset-save, frameset-session-filter-alist):
4659         Remove declarations.
4660         (register-alist): Doc fix.
4661         (frameset-to-register): Move to frameset.el.
4662         (jump-to-register, describe-register-1): Remove frameset-specific code.
4664 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4666         * allout-widgets.el (allout-widgets-pre-command-business)
4667         (allout-widgets-post-command-business)
4668         (allout-widgets-after-change-handler)
4669         (allout-decorate-item-and-context, allout-set-boundary-marker)
4670         (allout-body-modification-handler)
4671         (allout-graphics-modification-handler): Mark ignored arguments.
4672         (allout-widgets-post-command-business)
4673         (allout-widgets-exposure-change-processor)
4674         (allout-widgets-exposure-undo-processor)
4675         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4676         (allout-parse-item-at-point, allout-decorate-item-guides)
4677         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4678         * allout.el (epa-passphrase-callback-function): Declare.
4679         (allout-overlay-insert-in-front-handler)
4680         (allout-overlay-interior-modification-handler)
4681         (allout-isearch-end-handler, allout-chart-siblings)
4682         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4683         (allout-yank-processing, allout-process-exposed)
4684         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4685         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4686         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4687         (lisp-indent-defform): Mark ignored arguments.
4688         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4689         (calculate-lisp-indent): Remove unused variables.
4690         * international/characters.el (indian-2-column, arabic-2-column)
4691         (tibetan): Mark ignored arguments.
4692         (use-cjk-char-width-table): Mark ignored arguments.
4693         Remove unused variables.
4694         * international/fontset.el (build-default-fontset-data)
4695         (x-compose-font-name, create-fontset-from-fontset-spec):
4696         Mark ignored arguments.
4697         (fontset-plain-name): Remove unused variables.
4698         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4699         (keyboard-coding-system): Mark ignored arguments.
4700         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4701         * help.el (resize-temp-buffer-window):
4702         * window.el (display-buffer-in-major-side-window)
4703         (display-buffer-in-side-window, display-buffer-in-previous-window):
4704         Remove unused variables.
4705         * isearch.el (isearch-forward-symbol):
4706         * version.el (emacs-bzr-version-bzr):
4707         * international/mule-cmds.el (current-language-environment):
4708         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4709         (x-handle-display):
4710         * term/pc-win.el (x-list-fonts, x-display-planes)
4711         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4712         (x-server-version, x-display-screens, x-display-mm-height)
4713         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4714         (x-selection-owner-p, x-own-selection-internal)
4715         (x-disown-selection-internal, x-get-selection-internal)
4716         (msdos-initialize-window-system):
4717         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4718         * term/x-win.el (x-handle-no-bitmap-icon):
4719         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4720         (vc-default-find-file-hook, vc-default-extra-menu):
4721         Mark ignored arguments.
4723 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4725         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4726         break-condition in the context of the debugged code (bug#12685).
4728 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4730         * comint.el:
4731         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4732         (comint-mode): Make comint-last-prompt buffer local.
4733         (comint-last-prompt): New variable.
4734         (comint-last-prompt-overlay): Remove.  Superseded by
4735         comint-last-prompt.
4736         (comint-snapshot-last-prompt, comint-output-filter):
4737         Use comint-last-prompt.
4739 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4741         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4742         (frameset-save): Check validity of the resulting frameset.
4744 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4746         * ido.el (ido-record-command): Add doc string.
4748 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4750         * frameset.el (frameset): Do not disable creation of the default
4751         frameset-p predicate.  Doc fix.
4752         (frameset-valid-p): New function, copied from the old predicate-p.
4753         Add additional checks.
4754         (frameset-restore): Check with frameset-valid-p.
4755         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4756         (frameset-name, frameset-description, frameset-properties)
4757         (frameset-states): Add docstring.
4758         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4759         (frameset-filter-alist): Doc fixes.
4761 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4763         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4765 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4768         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4769         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4770         (byte-compile-normal-call): Remove obsolescence check.
4772 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4774         * frameset.el (frameset-restore): Doc fix.
4776         * register.el (frameset-frame-id, frameset-frame-with-id)
4777         (frameset-p, frameset-restore, frameset-save): Declare.
4778         (register-alist): Document framesets.
4779         (frameset-session-filter-alist): Declare.
4780         (frameset-to-register): New function.
4781         (jump-to-register): Implement jumping to framesets.  Doc fix.
4782         (describe-register-1): Describe framesets.
4784         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4786 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4788         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4789         Use lexical-binding.
4791         * frameset.el (frameset): Use type vector, not list (incompatible
4792         change).  Do not declare a new constructor, use the default one.
4793         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4794         `name' and `description', respectively, and add read-only slot
4795         `timestamp'.  Doc fixes.
4796         (frameset-copy, frameset-persistent-filter-alist)
4797         (frameset-filter-alist, frameset-switch-to-gui-p)
4798         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4799         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4800         (frameset-filter-iconified, frameset-keep-original-display-p):
4801         Doc fixes.
4802         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4803         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4804         Doc fix.
4805         (frameset-p): Adapt to change to vector and be more thorough.
4806         Change arg name to OBJECT.  Doc fix.
4807         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4808         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4809         All callers changed.
4810         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4811         All callers changed.
4812         (frameset--record-minibuffer-relationships): Rename from
4813         frameset--process-minibuffer-frames.  All callers changed.
4814         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4815         Use new default constructor (again).  Doc fix.
4816         (frameset--find-frame-if): Rename from `frameset--find-frame.
4817         All callers changed.
4818         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4819         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4820         Doc fix.
4821         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4822         PARAMETERS and WINDOW-STATE, respectively.
4823         (frameset-restore): Add new keyword argument PREDICATE.
4824         Reset frameset--target-display to nil.  Doc fix.
4826 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4828         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4829         (bat-mode): Use it.
4830         (bat-mode-syntax-table): Mark \n as end-of-comment.
4831         (bat-font-lock-keywords): Remove comment rule.
4833         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4834         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4836         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4837         (byte-compile-callargs-warn): Use `push'.
4838         (byte-compile-arglist-warn): Ignore higher-order "calls".
4839         (byte-compile-file-form-autoload): Use `pcase'.
4840         (byte-compile-function-form): If quoting a symbol, check that it exists.
4842 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4844         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4845         and add a few popular commands found in batch files.
4846         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4847         (dos-mode): Doc fixes.
4849 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4851         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4852         (dos-mode): Use setq-local.  Add space after "rem".
4853         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4854         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4856 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4858         * progmodes/dos.el: New file.
4859         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4860         dos-mode.
4862 2013-08-06  Glenn Morris  <rgm@gnu.org>
4864         * calendar/calendar.el: Add new faces, and day-header-array.
4865         (calendar-weekday-header, calendar-weekend-header)
4866         (calendar-month-header): New faces.
4867         (calendar-day-header-construct): New function.
4868         (calendar-day-header-width): Also :set calendar-day-header-array.
4869         (calendar-american-month-header, calendar-european-month-header)
4870         (calendar-iso-month-header): Use calendar- faces.
4871         (calendar-generate-month):
4872         Use calendar-day-header-array for day headers; apply faces to them.
4873         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4874         (calendar-abbrev-construct): Add optional maxlen argument.
4875         (calendar-day-name-array): Doc fix.
4876         (calendar-day-name-array, calendar-abbrev-length)
4877         (calendar-day-abbrev-array):
4878         Also :set calendar-day-header-array, and maybe redraw.
4879         (calendar-day-header-array): New option.  (Bug#15007)
4880         (calendar-font-lock-keywords): Set to nil and make obsolete.
4881         (calendar-day-name): Add option to use header array.
4883 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4885         * net/shr.el (shr-render-td): Remove debugging.
4886         (shr-render-td): Make width computation consistent by defaulting
4887         all zero-width columns to 10 characters.  This may not be optimal,
4888         but it's at least consistent.
4889         (shr-make-table-1): Redo last change to fix the real problem in
4890         colspan handling.
4892 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4894         * files.el (cache-long-line-scans):
4895         Make obsolete alias to `cache-long-scans'.
4897 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4899         * frameset.el (frameset, frameset-filter-alist)
4900         (frameset-filter-params, frameset-save, frameset--reuse-frame)
4901         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4902         (frameset-compute-pos): Rename from frameset--compute-pos,
4903         and add docstring.
4904         (frameset-move-onscreen): Use frameset-compute-pos.
4905         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4907         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4908         Fix typos in docstrings.
4910 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4912         * frame.el (get-other-frame): Tiny cleanup.
4914 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4916         * vc/vc.el (vc-default-ignore-completion-table):
4917         Silence byte-compiler warning.
4919         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4920         slot , which can indeed be nil.
4921         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4922         Move entry for `left' from persistent to live filter alist.
4923         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4924         Doc fixes.
4925         (frameset-filter-params): When restoring a frame, copy items added to
4926         `filtered', to avoid unwittingly modifying the original parameters.
4927         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
4928         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4930         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4931         to use looking-at-p instead of looking-at.  (Bug#15028)
4933 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4935         Revert introduction of isearch-filter-predicates (bug#14714).
4936         Rely on add-function instead.
4937         * isearch.el (isearch-filter-predicates): Rename it back to
4938         isearch-filter-predicate.
4939         (isearch-message-prefix): Use advice-function-mapc and advice
4940         properties to get the isearch-message-prefix.
4941         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4942         instead of run-hook-with-args-until-failure.
4943         (isearch-filter-visible): Not obsolete any more.
4944         * loadup.el: Preload nadvice.
4945         * replace.el (perform-replace): Revert to funcall
4946         instead of run-hook-with-args-until-failure.
4947         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4948         * dired-aux.el (dired-isearch-filenames-mode): Rename from
4949         dired-isearch-filenames-toggle; make it into a proper minor mode.
4950         Use add/remove-function.
4951         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4952         Call the minor-mode rather than add/remove-hook.
4953         (dired-isearch-filter-filenames):
4954         Remove isearch-message-prefix property.
4955         * info.el (Info--search-loop): New function, extracted from Info-search.
4956         Funcall isearch-filter-predicate instead of
4957         run-hook-with-args-until-failure isearch-filter-predicates.
4958         (Info-search): Use it.
4959         (Info-mode): Use isearch-filter-predicate instead of
4960         isearch-filter-predicates.
4962 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
4964         Do not call to `selected-window' where it is assumed by default.
4965         Affected functions are `window-minibuffer-p', `window-dedicated-p',
4966         `window-hscroll', `window-width', `window-height', `window-buffer',
4967         `window-frame', `window-start', `window-point', `next-window'
4968         and `window-display-table'.
4969         * abbrev.el (abbrev--default-expand):
4970         * bs.el (bs--show-with-configuration):
4971         * buff-menu.el (Buffer-menu-mouse-select):
4972         * calc/calc.el (calc):
4973         * calendar/calendar.el (calendar-generate-window):
4974         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4975         (diary-make-entry):
4976         * comint.el (send-invisible, comint-dynamic-complete-filename)
4977         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4978         * completion.el (complete):
4979         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4980         * disp-table.el (describe-current-display-table):
4981         * doc-view.el (doc-view-insert-image):
4982         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4983         * ehelp.el (with-electric-help):
4984         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4985         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4986         * emacs-lisp/helper.el (Helper-help-scroller):
4987         * emulation/cua-base.el (cua--post-command-handler-1):
4988         * eshell/esh-mode.el (eshell-output-filter):
4989         * ffap.el (ffap-gnus-wrapper):
4990         * help-macro.el (make-help-screen):
4991         * hilit-chg.el (highlight-compare-buffers):
4992         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4993         * hl-line.el (global-hl-line-highlight):
4994         * icomplete.el (icomplete-simple-completing-p):
4995         * isearch.el (isearch-done):
4996         * jit-lock.el (jit-lock-stealth-fontify):
4997         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4998         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4999         * mpc.el (mpc-tagbrowser, mpc):
5000         * net/rcirc.el (rcirc-any-buffer):
5001         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5002         * play/landmark.el (landmark-max-width, landmark-max-height):
5003         * play/zone.el (zone):
5004         * progmodes/compile.el (compilation-goto-locus):
5005         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5006         * progmodes/etags.el (find-tag-other-window):
5007         * progmodes/fortran.el (fortran-column-ruler):
5008         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5009         * progmodes/verilog-mode.el (verilog-point-text):
5010         * reposition.el (reposition-window):
5011         * rot13.el (toggle-rot13-mode):
5012         * server.el (server-switch-buffer):
5013         * shell.el (shell-dynamic-complete-command)
5014         (shell-dynamic-complete-environment-variable):
5015         * simple.el (insert-buffer, set-selective-display)
5016         (delete-completion-window):
5017         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5018         (speedbar-recenter):
5019         * startup.el (fancy-splash-head):
5020         * textmodes/ispell.el (ispell-command-loop):
5021         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5022         * tutorial.el (help-with-tutorial):
5023         * vc/add-log.el (add-change-log-entry):
5024         * vc/compare-w.el (compare-windows):
5025         * vc/ediff-help.el (ediff-indent-help-message):
5026         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5027         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5028         (ediff-setup-control-frame):
5029         * vc/emerge.el (emerge-position-region):
5030         * vc/pcvs-util.el (cvs-bury-buffer):
5031         * window.el (walk-windows, mouse-autoselect-window-select):
5032         * winner.el (winner-set-conf, winner-undo): Related users changed.
5034 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5036         * frameset.el (frameset--set-id): Doc fix.
5037         (frameset-frame-id, frameset-frame-id-equal-p)
5038         (frameset-locate-frame-id): New functions.
5039         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5040         (frameset-restore): Use them.
5042 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5044         Do not call to `selected-frame' where it is assumed by default.
5045         Affected functions are `raise-frame', `redraw-frame',
5046         `frame-first-window', `frame-terminal' and `delete-frame'.
5047         * calendar/appt.el (appt-disp-window):
5048         * epg.el (epg-wait-for-completion):
5049         * follow.el (follow-delete-other-windows-and-split)
5050         (follow-avoid-tail-recenter):
5051         * international/mule.el (set-terminal-coding-system):
5052         * mail/rmail.el (rmail-mail-return):
5053         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5054         * progmodes/f90.el (f90-add-imenu-menu):
5055         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5056         * server.el (server-switch-buffer):
5057         * simple.el (delete-completion-window):
5058         * talk.el (talk):
5059         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5060         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5061         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5062         * vc/ediff.el (ediff-documentation): Related users changed.
5063         * frame.el (selected-terminal): Remove the leftover.
5065 2013-08-05  Glenn Morris  <rgm@gnu.org>
5067         * calendar/calendar.el (calendar-generate-month):
5068         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5069         (calendar-generate-month, calendar-font-lock-keywords):
5070         Fix for calendar-day-header-width > length of any day name.
5072 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5074         * desktop.el (desktop-clear): Use new name of sort predicate.
5076         * frameset.el (frameset): Add docstring.  Move :version property to its
5077         own `version' slot.
5078         (frameset-copy): Rename from copy-frameset.
5079         (frameset-p): Check more thoroughly.
5080         (frameset-prop): Do not check for :version, which is no longer a prop.
5081         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5082         Use new :never value instead of t.
5083         (frameset-filter-alist): Expand and clarify docstring.
5084         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5085         (frameset-filter-minibuffer, frameset-filter-save-param)
5086         (frameset-filter-restore-param, frameset-filter-iconified):
5087         Add pointer to docstring of frameset-filter-alist.
5088         (frameset-filter-params): Rename filter values to be more meaningful:
5089         :never instead of t, and reverse the meanings of :save and :restore.
5090         (frameset--process-minibuffer-frames): Clarify error message.
5091         (frameset-save): Avoid unnecessary and confusing call to framep.
5092         Use new BOA constructor for framesets.
5093         (frameset--reuse-list): Doc fix.
5094         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5095         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5096         (frameset-minibufferless-first-p): Doc fix.
5097         Rename from frameset-sort-frames-for-deletion.
5098         (frameset-restore): Doc fixes.  Use new function names.
5099         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5101 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5103         * desktop.el (desktop-restore-forces-onscreen)
5104         (desktop-restore-reuses-frames): Document :keyword constant values.
5105         (desktop-filter-parameters-alist): Remove, now identical to
5106         frameset-filter-alist.
5107         (desktop--filter-tty*): Remove, moved to frameset.el.
5108         (desktop-save-frameset, desktop-restore-frameset):
5109         Do not pass :filters argument.
5111         * frameset.el (frameset-live-filter-alist)
5112         (frameset-persistent-filter-alist): New variables.
5113         (frameset-filter-alist): Use them.  Add autoload cookie.
5114         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5115         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5116         `frameset--id' (it's supposed to be internal to frameset.el).
5117         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5118         (frameset--initial-params): New function.
5119         (frameset--get-frame): Use it.  Doc fix.
5120         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5121         Accept :all, not 'all.
5122         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5123         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5124         with fbound symbols.  Fix frame id matching, and remove matching ids if
5125         the frame being restored is deleted.  Obey :delete.
5127 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * subr.el (macrop): New function.
5130         (text-clone--maintaining): New var.
5131         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5132         instead of inhibit-modification-hooks.
5134         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5135         a proxy, so as handle autoloads and redefinitions of the target.
5136         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5138         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5139         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5140         (pcase--mutually-exclusive-p): New function.
5141         (pcase--split-consp): Use it.
5142         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5143         mutually exclusive with the current predicate.
5145         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5146         (edebug-macrop): Remove.  Use `macrop' instead.
5147         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5148         (ad-macro-p):
5149         * eshell/esh-cmd.el (eshell-macrop):
5150         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5152 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5154         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5155         (advice-mapc): New function, using it.
5156         (advice-function-member-p): New function.
5157         (advice--normalize): Store the cdr in advice--saved-rewrite since
5158         that's the part that will be changed.
5159         (advice--symbol-function): New function.
5160         (advice-remove): Handle removal before the function is defined.
5161         Adjust to new advice--saved-rewrite.
5162         (advice-member-p): Use advice-function-member-p and
5163         advice--symbol-function.
5165 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5167         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5168         (frameset-filter-minibuffer): Doc fix.
5169         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5170         (frameset--set-id, frameset--process-minibuffer-frames)
5171         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5172         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5174         * desktop.el (desktop-clear): Only delete frames when called
5175         interactively and desktop-restore-frames is non-nil.  Doc fix.
5176         (desktop-read): Set desktop-saved-frameset to nil.
5178 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5180         * vc/vc.el (vc-ignore): Rewrite.
5181         (vc-default-ignore-completion-table):
5182         (vc--read-lines):
5183         (vc--add-line, vc--remove-regexp): New functions.
5185         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5186         (vc-svn-ignore-completion-table): New function.
5188         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5189         (vc-hg-ignore-completion-table):
5190         (vc-hg-find-ignore-file): New functions.
5192         * vc/vc-git.el (vc-git-ignore): Rewrite.
5193         (vc-git-ignore-completion-table):
5194         (vc-git-find-ignore-file): New functions.
5196         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5198         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5199         (vc-bzr-ignore-completion-table):
5200         (vc-bzr-find-ignore-file): New functions.
5202 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5204         * frameset.el (frameset-prop): New function and setter.
5205         (frameset-save): Do not modify frame list passed by the caller.
5207 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5209         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5211 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5213         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5214         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5216         * custom.el (custom-initialize-default, custom-initialize-set)
5217         (custom-initialize-reset, custom-initialize-changed): Affect the
5218         toplevel-default-value (bug#6275, bug#14586).
5219         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5220         for bug#6275.
5222 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5224         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5225         Add cl-def* expressions.
5227         * frameset.el (frameset-filter-params): Fix order of arguments.
5229 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5231         Move code related to saving frames to frameset.el.
5232         * desktop.el: Require frameset.
5233         (desktop-restore-frames): Doc fix.
5234         (desktop-restore-reuses-frames): Rename from
5235         desktop-restoring-reuses-frames.
5236         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5237         (desktop-clear): Clear frames too.
5238         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5239         (desktop--filter-tty*, desktop-save, desktop-read):
5240         Use frameset functions.
5241         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5242         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5243         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5244         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5245         (desktop--process-minibuffer-frames, desktop-save-frames)
5246         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5247         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5248         (desktop--sort-states, desktop-restoring-frames-p)
5249         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5250         (desktop-restoring-frameset-p, desktop-restore-frameset)
5251         (desktop--check-dont-save, desktop-save-frameset): New functions.
5252         (desktop--app-id): New constant.
5253         (desktop-first-buffer, desktop-buffer-ok-count)
5254         (desktop-buffer-fail-count): Move before first use.
5255         * frameset.el: New file.
5257 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5259         * files.el: Use lexical-binding.
5260         (dir-locals-read-from-file): Remove unused `err' variable.
5261         (hack-dir-local-variables--warned-coding): New var.
5262         (hack-dir-local-variables): Use it to avoid repeated warnings.
5263         (make-backup-file-name--default-function): New function.
5264         (make-backup-file-name-function): Use it as default.
5265         (buffer-stale--default-function): New function.
5266         (buffer-stale-function): Use it as default.
5267         (revert-buffer-insert-file-contents--default-function): New function.
5268         (revert-buffer-insert-file-contents-function): Use it as default.
5269         (insert-directory): Avoid add-to-list.
5271         * autorevert.el (auto-revert-handler): Simplify.
5272         Use buffer-stale--default-function.
5274 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5276         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5278         * whitespace.el (whitespace-ensure-local-variables): New function.
5279         (whitespace-cleanup-region): Call it.
5280         (whitespace-turn-on): Call it.
5282 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5284         Complete file name handlers.
5286         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5287         (tramp-handle-verify-visited-file-modtime)
5288         (tramp-handle-file-notify-rm-watch): New functions.
5289         (tramp-call-process): Do not bind `default-directory'.
5291         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5292         Order alphabetically.
5293         [access-file, add-name-to-file, dired-call-process]:
5294         [dired-compress-file, file-acl, file-notify-rm-watch]:
5295         [file-ownership-preserved-p, file-selinux-context]:
5296         [make-directory-internal, make-symbolic-link, set-file-acl]:
5297         [set-file-selinux-context, set-visited-file-modtime]:
5298         [verify-visited-file-modtime]: Add handler.
5299         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5301         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5302         [file-notify-add-watch, file-notify-rm-watch]:
5303         [set-file-times, set-visited-file-modtime]:
5304         [verify-visited-file-modtime]: Add handler.
5305         (with-tramp-gvfs-error-message)
5306         (tramp-gvfs-handle-set-visited-file-modtime)
5307         (tramp-gvfs-fuse-file-name): Remove.
5308         (tramp-gvfs-handle-file-notify-add-watch)
5309         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5310         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5312         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5313         Order alphabetically.
5314         [file-notify-rm-watch ]: Use default Tramp handler.
5315         [executable-find]: Remove private handler.
5316         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5317         `default-directory'.
5318         (tramp-sh-handle-executable-find)
5319         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5320         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5321         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5322         Do not use `format' in `tramp-message'.
5324         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5325         [file-notify-rm-watch, set-visited-file-modtime]:
5326         [verify-visited-file-modtime]: Add handler.
5327         (tramp-smb-call-winexe): Do not bind `default-directory'.
5329 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5331         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5333 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5335         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5336         use it.
5337         (log-view-diff-changeset): Same.
5338         (log-view-diff-common): Call backend command `previous-revision'
5339         to find out the previous revision, in both cases.  Swap the
5340         variables `to' and `fr', so that `fr' usually refers to the
5341         earlier revision (Bug#14989).
5343 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5345         * ibuf-ext.el (ibuffer-filter-by-filename):
5346         Make it work with dired buffers too.
5348 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5350         * emacs-lisp/re-builder.el (reb-color-display-p):
5351         * files.el (save-buffers-kill-terminal):
5352         * net/browse-url.el (browse-url):
5353         * server.el (server-save-buffers-kill-terminal):
5354         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5355         Prefer nil to selected-frame for the first arg of frame-parameter.
5357 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5359         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5361 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5363         * minibuffer.el (completion--twq-all): Try and preserve each
5364         completion's case choice (bug#14907).
5366 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5368         * net/network-stream.el (open-network-stream): Mention the new
5369         :nogreeting parameter.
5370         (network-stream-open-starttls): Use the :nogreeting parameter
5371         (bug#14938).
5373         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5375         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5376         more natural than popping.
5378         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5379         (shr-urlify): Highlight under mouse.
5381 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5383         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5385         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5387         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5388         buffer for output.
5390         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5391         point-min==1.  Fix search string.  Fix parentheses missing.
5393         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5394         assume point-min==1.  Fix search string.  Fix parentheses missing.
5396         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5398         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5399         buffer for output.
5401 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5403         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5404         initial frame is minibuffer-less.  (Bug#14841)
5406 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5408         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5409         option.
5411         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5412         (tramp-maybe-open-connection): Use it.
5414 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5416         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5417         minimal set of parameters passed when creating a frame, because
5418         the minibuffer status of a frame cannot be changed later.
5420 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5422         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5423         replace-regexp-in-string and inadvertent omissions in previous change.
5424         (todo-filter-items): Ensure only file names are comma-separated in
5425         name of filtered items buffer.
5427 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5429         * desktop.el: Optionally force offscreen frames back onscreen.
5430         (desktop-restoring-reuses-frames): New option.
5431         (desktop--compute-pos, desktop--move-onscreen): New functions.
5432         (desktop--make-frame): Use desktop--move-onscreen.
5434 2013-07-27  Alan Mackenzie  <acm@muc.de>
5436         Fontify a Java generic method as a function.
5437         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5438         value to t.
5440 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5442         * calendar/todo-mode.el: Add command to rename todo files.
5443         (todo-rename-file): New command.
5444         (todo-key-bindings-t): Add key binding for it.  Change the
5445         bindings of todo-filter-regexp-items(-multifile) to use `x'
5446         instead of `r', since the latter is better suited to the new
5447         renaming command.
5449 2013-07-27  Alan Mackenzie  <acm@muc.de>
5451         Make Java try-with-resources statement parse properly.
5452         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5453         (c-block-stmt-1-2-key): New language constants/variables.
5454         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5455         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5456         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5457         with c-block-stmt-1-2-key.
5459 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5461         * desktop.el (desktop--make-frame): Apply most frame parameters after
5462         creating the frame to force (partially or totally) offscreen frames to
5463         be restored as such.
5465 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5467         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5468         (Bug#14948)
5470 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5472         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5473         `base' arg of backtrace-frame.
5475 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5477         * simple.el (list-processes): Doc fix.
5479 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5481         * desktop.el (desktop--select-frame):
5482         Try harder to reuse existing frames.
5484 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5486         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5487         (edebug-eval): Use backtrace-eval.
5488         (edebug--display, edebug--recursive-edit): Don't let-bind the
5489         edebug-outer-* vars that keep track of variables we locally let-bind.
5490         (edebug-outside-excursion): Don't restore outside values of locally
5491         let-bound vars.
5492         (edebug--display): Use user-error.
5493         (cl-lexical-debug, cl-debug-env): Remove.
5495 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5497         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5498         are restored to be sure that they are visible before deleting any
5499         remaining ones.
5501 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5503         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5504         vc-print-root-log.  (Bug#14948)
5506 2013-07-26  Richard Stallman  <rms@gnu.org>
5508         Add aliases for encrypting mail.
5509         * epa.el (epa-mail-aliases): New option.
5510         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5511         Bind inhibit-read-only so read-only text doesn't ruin everything.
5512         (epa-mail-default-recipients): New subroutine broken out.
5513         Handle epa-mail-aliases.
5515 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5517         Add support for lexical variables to the debugger's `e' command.
5518         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5519         vars, except for debugger-outer-match-data.
5520         (debugger-frame-number): Move check for "on a function call" from
5521         callers into it.  Add `skip-base' argument.
5522         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5523         (debugger-env-macro): Only reset the state stored in non-variables,
5524         i.e. current-buffer and match-data.
5525         (debugger-eval-expression): Rewrite using backtrace-eval.
5526         * subr.el (internal--called-interactively-p--get-frame): Remove.
5527         (called-interactively-p):
5528         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5529         `base' arg of backtrace-frame instead.
5531 2013-07-26  Glenn Morris  <rgm@gnu.org>
5533         * align.el (align-regexp): Doc fix.  (Bug#14857)
5534         (align-region): Explicit error if subexpression missing/does not match.
5536         * simple.el (global-visual-line-mode):
5537         Do not duplicate the mode lighter.  (Bug#14858)
5539 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5541         * window.el (display-buffer): In display-buffer bind
5542         split-window-keep-point to t, bug#14829.
5544 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5546         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5547         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5548         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5549         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5550         Change accordingly.
5551         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5552         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5554 2013-07-25  Glenn Morris  <rgm@gnu.org>
5556         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5558 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5560         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5561         parameter to modify-frame-parameters if the value has not changed;
5562         this is a workaround for bug#14949.
5563         (desktop--make-frame): On cl-delete-if call, check parameter name,
5564         not full parameter.
5566 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5568         * vc/vc.el (vc-ignore): New function.
5570         * vc/vc-svn.el (vc-svn-ignore): New function.
5572         * vc/vc-hg.el (vc-hg-ignore): New function.
5574         * vc/vc-git.el (vc-git-ignore): New function.
5576         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5577         (vc-dir-ignore): New function.
5579         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5580         (cvs-append-to-ignore): Move here from pcvs.el.
5582         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5584         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5586 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5588         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5589         (desktop-restore-frames): Warn when deleting an existing frame failed.
5591 2013-07-24  Glenn Morris  <rgm@gnu.org>
5593         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5595 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5597         * filenotify.el (file-notify-supported-p):
5598         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5599         Remove functions.
5601         * autorevert.el (auto-revert-use-notify):
5602         (auto-revert-notify-add-watch):
5603         * net/tramp.el (tramp-file-name-for-operation):
5604         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5605         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5606         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5607         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5608         Remove `file-notify-supported-p' entry.
5610 2013-07-24  Glenn Morris  <rgm@gnu.org>
5612         * printing.el: Replace all uses of deleted ps-windows-system,
5613         ps-lp-system, ps-flatten-list with lpr- versions.
5615 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5617         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5618         checked with memq (bug#14935).
5620         * files.el (revert-buffer-function): Use a non-nil default.
5621         (revert-buffer-preserve-modes): Declare var to
5622         provide access to the `preserve-modes' argument.
5623         (revert-buffer): Let-bind it.
5624         (revert-buffer--default): New function, extracted from revert-buffer.
5626 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5628         * lpr.el: Signal print errors more prominently.
5629         (print-region-function): Don't default to nil.
5630         (lpr-print-region): New function, extracted from print-region-1.
5631         Check lpr's return value and signal an error in case of problem.
5632         (print-region-1): Use it.
5633         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5634         versions instead.
5635         (ps-printer-name): Default to nil.
5636         (ps-printer-name-option): Default to lpr-printer-switch.
5637         (ps-print-region-function): Don't default to nil.
5638         (ps-postscript-code-directory): Simplify default.
5639         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5640         (ps-string-list, ps-eval-switch, ps-flatten-list)
5641         (ps-flatten-list-1): Remove.
5642         (ps-multibyte-buffer): Avoid setq.
5643         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5644         (print-region-function, ps-print-region-function): Don't set them here.
5646 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5648         * ido.el (ido-fractionp):
5649         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5650         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5651         (ido-max-directory-size, ido-max-dir-file-cache)
5652         (ido-decorations): Doc fix.
5654         * ansi-color.el: Fix old URL.
5656 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5658         * progmodes/sql.el: Version 3.3
5659         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5660         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5661         (sql-interactive-remove-continuation-prompt): Rewrite, use
5662         functions above.  Fix continuation prompt and complete output line
5663         handling.
5664         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5665         redirected output buffer.
5666         (sql-mode): Restore deleted code (Bug#13591).
5668 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5670         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5672 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5674         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5676         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5677         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5678         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5680 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5682         * desktop.el (desktop-clear): Simplify; remove useless checks
5683         against invalid buffer names.
5684         (desktop-list*): Use cl-list*.
5685         (desktop-buffer-info, desktop-create-buffer): Simplify.
5687 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5689         * bookmark.el (bookmark-make-record): Restore NAME as a default
5690         value.  (Bug#14933)
5692 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5694         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5695         extracted from autoload--insert-text.
5696         (autoload--insert-text): Remove.
5697         (autoload--print-cookie-text): New function, extracted from
5698         autoload--insert-cookie-text.
5699         (autoload--insert-cookie-text): Remove.
5700         (autoload-generate-file-autoloads): Adjust calls accordingly.
5702         * winner.el (winner-hook-installed-p): Remove.
5703         (winner-mode): Simplify accordingly.
5705         * subr.el (add-to-list): Fix compiler-macro when `append' is
5706         not constant.  Don't use `cl-member' for the base case.
5708         * progmodes/subword.el: Fix boundary case (bug#13758).
5709         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5710         own group.
5711         (subword-backward-regexp): Make it a constant.
5712         (subword-forward-internal): Don't treat a trailing capital as the
5713         beginning of a word.
5715 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5717         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5718         global value of tabulated-list-revert-hook (bug#14930).
5720 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5722         * desktop.el: Require 'cl-lib.
5723         (desktop-before-saving-frames-functions): New hook.
5724         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5725         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5726         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5727         Do not save frames with non-nil `desktop-dont-save' parameter.
5728         Filter out deleted frames.
5729         (desktop--find-frame): Use cl-find-if.
5730         (desktop--select-frame): Use cl-(first|second|third) to access values
5731         of desktop-mini.
5732         (desktop--make-frame): Use cl-delete-if.
5733         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5734         (desktop-restore-frames): Use cl-(first|second|third) to access values
5735         of desktop-mini.  Look for visible frame at the end, not while
5736         restoring frames.
5738         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5739         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5740         Use string-match-p, looking-at-p (bug#14927).
5742 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5744         * desktop.el (desktop-saved-frame-states):
5745         Rename from desktop--saved-states; all users changed.
5746         (desktop-save-frames): Rename from desktop--save-frames.
5747         Do not save state to desktop file.
5748         (desktop-save): Save desktop-saved-frame-states to desktop file
5749         and reset to nil.
5750         (desktop-restoring-frames-p): New function.
5751         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5752         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5753         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5755         * desktop.el: Correctly restore iconified frames.
5756         (desktop--filter-iconified-position): New function.
5757         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5759 2013-07-20  Glenn Morris  <rgm@gnu.org>
5761         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5762         Let `message' do the formatting.
5763         (def-gdb-preempt-display-buffer): Add explicit format.
5765         * image-dired.el (image-dired-track-original-file):
5766         Use with-current-buffer.
5767         (image-dired-track-thumbnail): Use with-current-buffer.
5768         Avoid changing point of wrong window.
5770         * image-dired.el (image-dired-track-original-file):
5771         Avoid changing point of wrong window.  (Bug#14909)
5773 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5775         * progmodes/gdb-mi.el (gdb-done-or-error):
5776         Guard against "%" in gdb output.  (Bug#14127)
5778 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5780         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5781         (Bug#14826)
5783         * international/mule.el (coding-system-iso-2022-flags): Fix last
5784         change.
5786 2013-07-20  Kenichi Handa  <handa@gnu.org>
5788         * international/mule.el (coding-system-iso-2022-flags):
5789         Add `8-bit-level-4'.  (Bug#8522)
5791 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5793         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5794         (bug#14815).
5796         * net/eww.el (eww-process-text-input): Allow inputting when the
5797         point is at the start of the line, as the properties aren't
5798         front-sticky.
5800         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5801         degenerate widths.
5803 2013-07-19  Richard Stallman  <rms@gnu.org>
5805         * epa.el (epa-popup-info-window): Doc fix.
5807         * subr.el (split-string): New arg TRIM.
5809 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5811         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5812         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5814 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5816         * filenotify.el (file-notify--library): Rename from
5817         `file-notify-support'.  Do not autoload.  Adapt all uses.
5818         (file-notify-supported-p): New defun.
5820         * autorevert.el (auto-revert-use-notify):
5821         Use `file-notify-supported-p' instead of `file-notify-support'.
5822         Adapt docstring.
5823         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5825         * net/tramp.el (tramp-file-name-for-operation):
5826         Add `file-notify-supported-p'.
5828         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5829         New defun.
5830         (tramp-sh-file-name-handler-alist): Add it as handler for
5831         `file-notify-supported-p '.
5833         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5834         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5835         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5836         Add `ignore' as handler for `file-notify-*' functions.
5838 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5840         * simple.el (line-move-partial, line-move): Don't start vscroll or
5841         scroll-up if the current line is not taller than the window.
5842         (Bug#14881)
5844 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5846         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5847         highlight question marks in the method names as strings.
5848         (ruby-block-beg-keywords): Inline.
5849         (ruby-font-lock-keyword-beg-re): Extract from
5850         `ruby-font-lock-keywords'.
5852 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5854         * frame.el (blink-cursor-blinks): New defcustom.
5855         (blink-cursor-blinks-done): New defvar.
5856         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5857         (blink-cursor-timer-function): Check if number of blinks has been
5858         done on X and NS.
5859         (blink-cursor-suspend, blink-cursor-check): New defuns.
5861 2013-07-15  Glenn Morris  <rgm@gnu.org>
5863         * edmacro.el (edmacro-format-keys): Fix previous change.
5865 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5867         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5868         The hack didn't work outside English locales anyway.
5870 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5872         * simple.el (define-alternatives): Rename from alternatives-define,
5873         per RMS' suggestion.
5875 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5877         * desktop.el (desktop-restore-frames): Change default to t.
5878         (desktop-restore-in-current-display): Now offer more options.
5879         (desktop-restoring-reuses-frames): New customization option.
5880         (desktop--saved-states): Doc fix.
5881         (desktop-filter-parameters-alist): New variable, renamed and expanded
5882         from desktop--excluded-frame-parameters.
5883         (desktop--target-display): New variable.
5884         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5885         (desktop--filter-tty*, desktop--filter-*-color)
5886         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5887         (desktop--filter-save-desktop-parm)
5888         (desktop-restore-in-original-display-p): New functions.
5889         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5890         (desktop--save-minibuffer-frames): New function, inspired by a similar
5891         function from Martin Rudalics.
5892         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5893         (desktop--restore-in-this-display-p): Remove.
5894         (desktop--find-frame): Rename from desktop--find-frame-in-display
5895         and add predicate argument.
5896         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5897         (desktop--reuse-list): New variable.
5898         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5899         New functions.
5900         (desktop--restore-frames): Add support for "minibuffer-special" frames.
5902 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
5904         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5906 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
5908         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5909         Highlight conversion methods on Kernel.
5911 2013-07-13  Alan Mackenzie  <acm@muc.de>
5913         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5914         and comment it out.  This out-commenting enables certain C++
5915         declarations to be parsed correctly.
5917 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
5919         * international/mule.el (define-coding-system): Doc fix.
5921         * simple.el (default-font-height): Don't call font-info if the
5922         frame's default font didn't change since the frame was created.
5923         (Bug#14838)
5925 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5927         * ido.el (ido-read-file-name): Guard against non-symbol value.
5929 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5931         * progmodes/python.el (python-imenu--build-tree): Fix corner case
5932         in nested defuns.
5934 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5936         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5937         ido-set-matches call.  (Bug#6852)
5939 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
5941         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5942         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5943         Ruby 2.0.
5944         (ruby-font-lock-keywords): Distinguish calls to functions with
5945         module-like names from module references.  Highlight character
5946         literals.
5948 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5950         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5951         (gdb-send): Handle continued commands.  (Bug#14847)
5953 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5955         * desktop.el (desktop--v2s): Remove unused local variable.
5956         (desktop-save-buffer): Make defvar-local; adjust docstring.
5957         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5958         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5960 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5962         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5964 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
5966         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5967         (Bug#14842)
5969 2013-07-12  Glenn Morris  <rgm@gnu.org>
5971         * doc-view.el: Require cl-lib at runtime too.
5972         (doc-view-remove-if): Remove.
5973         (doc-view-search-next-match, doc-view-search-previous-match):
5974         Use cl-remove-if.
5976         * edmacro.el: Require cl-lib at runtime too.
5977         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5978         (edmacro-mismatch, edmacro-subseq): Remove.
5980         * shadowfile.el: Require cl-lib.
5981         (shadow-remove-if): Remove.
5982         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5983         Use cl-remove-if.
5985         * wid-edit.el: Require cl-lib.
5986         (widget-choose): Use cl-remove-if.
5987         (widget-remove-if): Remove.
5989         * progmodes/ebrowse.el: Require cl-lib at runtime too.
5990         (ebrowse-delete-if-not): Remove.
5991         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5992         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5993         Use cl-delete-if-not.
5995 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5997         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5998         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6000 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6002         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6004 2013-07-11  Glenn Morris  <rgm@gnu.org>
6006         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6007         (edebug-gensym-index, edebug-gensym):
6008         Remove reimplementation of cl-gensym.
6009         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6011         * thumbs.el: Require cl-lib at run-time too.
6012         (thumbs-gensym-counter, thumbs-gensym):
6013         Remove reimplementation of cl-gensym.
6014         (thumbs-temp-file): Use cl-gensym.
6016         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6017         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6018         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6019         (ert--union, ert--gensym-counter, ert--gensym-counter)
6020         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6021         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6022         (ert-make-test-unbound, ert--expand-should-1)
6023         (ert--expand-should, ert--should-error-handle-error)
6024         (should-error, ert--explain-equal-rec)
6025         (ert--plist-difference-explanation, ert-select-tests)
6026         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6027         Use cl-lib functions rather than reimplementations.
6029 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6031         * net/tramp.el (tramp-methods): Extend docstring.
6032         (tramp-connection-timeout): New defcustom.
6033         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6034         (with-tramp-progress-reporter): Simplify.
6035         (tramp-process-actions): Improve messages.
6037         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6038         * net/tramp-sh.el (tramp-maybe-open-connection):
6039         Use `tramp-connection-timeout'.
6040         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6041         (Bug#14808)
6043 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6045         * ido.el (ido-read-file-name): Conform to the requirements of
6046         read-file-name.  (Bug#11861)
6047         (ido-read-directory-name): Conform to the requirements of
6048         read-directory-name.
6050 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6052         * subr.el (delay-warning): New function.
6054 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6056         * simple.el (default-line-height): New function.
6057         (line-move-partial, line-move): Use it instead of computing the
6058         line height inline.
6059         (line-move-partial): Always compute ROWH.  If the last line is
6060         partially-visible, but its text is completely visible, allow
6061         cursor to enter such a partially-visible line.
6063 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6065         Improve error messages.  (Bug#14808)
6067         * net/tramp.el (tramp-current-connection): New defvar, moved from
6068         tramp-sh.el.
6069         (tramp-message-show-progress-reporter-message): Remove, not
6070         needed anymore.
6071         (tramp-error-with-buffer): Show message in minibuffer.
6072         Discard input before waiting.  Reset connection timestamp.
6073         (with-tramp-progress-reporter): Improve messages.
6074         (tramp-process-actions): Use progress reporter.  Delete process in
6075         case of error.  Improve messages.
6077         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6078         Call `tramp-error-with-buffer' with vector and buffer.
6079         (tramp-current-connection): Remove.
6080         (tramp-maybe-open-connection): The car of
6081         `tramp-current-connection' are the first 3 slots of the vector.
6083 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6085         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6086         inside continued strings.
6088 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6090         Timestamp fixes for undo (Bug#14824).
6091         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6093 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6095         * files.el (require-final-newline): Allow safe local value.
6096         (Bug#14834)
6098 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6100         * ido.el (ido-read-directory-name): Handle fallback.
6101         (ido-read-file-name): Update DIR to ido-current-directory.
6102         (Bug#1516)
6103         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6105 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6107         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6108         "autoload".  Remove "warn lower camel case" section, previously
6109         commented out.  Highlight negation char.  Do not highlight the
6110         target in singleton method definitions.
6112 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6114         * faces.el (tty-setup-hook): Declare the hook.
6116         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6117         and detect when a guard/pred depends on local vars (bug#14773).
6118         (pcase--u1): Adjust caller.
6120 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6122         * simple.el (line-move-partial, line-move): Account for
6123         line-spacing.
6124         (line-move-partial): Avoid setting vscroll when the last
6125         partially-visible line in window is of default height.
6127 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6129         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6130         been used a while.
6132 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6134         * subr.el (read-quoted-char): Remove unused local variable `char'.
6136 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6138         * ediff.el (ediff-version): Version update.
6139         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6140         (ediff-merge-with-ancestor-command, ediff-directories-command)
6141         (ediff-directories3-command, ediff-merge-directories-command)
6142         (ediff-merge-directories-with-ancestor-command): New functions.
6143         All are command-line interfaces to ediff: to facilitate calling
6144         Emacs with the appropriate ediff functions invoked.
6146         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6147         (viper-save-kill-buffer): Check if buffer is modified.
6149         * viper.el (viper-version): Version update.
6150         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6152 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6155         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6156         (viper-intercept-ESC-key): Simplify.
6157         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6158         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6159         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6160         (viper-setup-ESC-to-escape): New functions.
6161         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6162         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6164 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6166         * simple.el (default-font-height, window-screen-lines):
6167         New functions.
6168         (line-move, line-move-partial): Use them instead of
6169         frame-char-height and window-text-height.  This makes scrolling
6170         text smoother when the buffer's default face uses a font that is
6171         different from the frame's default font.
6173 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6175         * files.el (write-file): Do not display confirm dialog for NS,
6176         it does its own dialog, which can't be cancelled (Bug#14578).
6178 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6180         * simple.el (line-move-partial): Adjust the row returned by
6181         posn-at-point for the current window-vscroll.  (Bug#14567)
6183 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6185         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6186         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6187         spaces.
6189 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6191         * window.el (window-state-put-stale-windows): New variable.
6192         (window--state-put-2): Save list of windows without matching buffer.
6193         (window-state-put): Remove "bufferless" windows if possible.
6195 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6197         * simple.el (alternatives-define): Remove leftover :group keyword.
6198         Tweak docstring.
6200 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6202         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6203         (ido-enable-virtual-buffers): New variable.
6204         (ido-buffer-internal, ido-toggle-virtual-buffers)
6205         (ido-make-buffer-list): Use it.
6206         (ido-exhibit): Support turning on and off virtual buffers
6207         automatically.
6209 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6211         * simple.el (alternatives-define): New macro.
6213 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6215         * subr.el (read-quoted-char): Use read-key.
6216         (sit-for): Let read-event decode tty input (bug#14782).
6218 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6220         * calendar/todo-mode.el: Add handling of file deletion, both by
6221         mode command and externally.  Fix various related bugs.
6222         Clarify Commentary and improve some documentation strings and code.
6223         (todo-delete-file): New command.
6224         (todo-check-file): New function.
6225         (todo-show): Handle external deletion of the file we're trying to
6226         show (bug#14688).  Replace called-interactively-p by an optional
6227         prefix argument to avoid problematic interaction with catch form
6228         when byte compiled (bug#14702).
6229         (todo-quit): Handle external deletion of the archive's todo file.
6230         Make sure the buffer that was visiting the archive file is still
6231         live before trying to bury it.
6232         (todo-category-completions): Handle external deletion of any
6233         category completion files.
6234         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6235         of todo files, in case of external deletion.
6236         (todo-add-file): Replace unnecessary setq by let-binding.
6237         (todo-find-archive): Check whether there are any archives.
6238         Replace unnecessary setq by let-binding.
6239         (todo-archive-done-item): Use find-file-noselect to get the
6240         archive buffer whether or not the archive already exists.
6241         Remove superfluous code.  Use file size instead of buffer-file-name to
6242         check if the archive is new; if it is, update list of archives.
6243         (todo-default-todo-file): Allow nil to be a valid value for when
6244         there are no todo files.
6245         (todo-reevaluate-default-file-defcustom): Use corrected definition
6246         of todo-default-todo-file.
6247         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6248         (todo-delete-category, todo-show-categories-table)
6249         (todo-category-number): Clarify comment.
6250         (todo-filter-items): Clarify documentation string.
6251         (todo-show-current-file, todo-display-as-todo-file)
6252         (todo-reset-and-enable-done-separator): Tweak documentation string.
6253         (todo-done-separator): Make separator length window-width, since
6254         bug#2749 is now fixed.
6256 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6258         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6259         Support both "gvfs-monitor-dir" and "inotifywait".
6260         (tramp-sh-file-inotifywait-process-filter): Rename from
6261         `tramp-sh-file-notify-process-filter'.
6262         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6263         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6265 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6267         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6269 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6271         * frame.el (display-pixel-height, display-pixel-width)
6272         (display-mm-height, display-mm-width): Mention behavior on
6273         multi-monitor setups in docstrings.
6274         (w32-display-monitor-attributes-list): Declare function.
6275         (display-monitor-attributes-list): Use it.
6277 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6279         * filenotify.el: New package.
6281         * autorevert.el (top): Require filenotify.el.
6282         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6283         instead.
6284         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6285         (auto-revert-notify-handler): Use `file-notify-*' functions.
6287         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6289         * net/tramp.el (tramp-file-name-for-operation):
6290         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6292         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6293         for `file-notify-add-watch' and `file-notify-rm-watch'.
6294         (tramp-process-sentinel): Improve trace.
6295         (tramp-sh-handle-file-notify-add-watch)
6296         (tramp-sh-file-notify-process-filter)
6297         (tramp-sh-handle-file-notify-rm-watch)
6298         (tramp-get-remote-inotifywait): New defuns.
6300 2013-07-03  Juri Linkov  <juri@jurta.org>
6302         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6303         call of `occur-read-primary-args' to interactive spec.
6305         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6306         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6308 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6310         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6311         `Buffer-menu-multi-occur'.  Add it to the menu.
6312         (Buffer-menu-mode): Document it in docstring.
6313         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6315 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6317         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6318         keywords and built-ins.
6320 2013-07-03  Glenn Morris  <rgm@gnu.org>
6322         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6324         Make info-xref checks case-sensitive by default
6325         * info.el (Info-find-node, Info-find-in-tag-table)
6326         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6327         Add option for exact case matching of nodes.
6328         * info-xref.el (info-xref): New custom group.
6329         (info-xref-case-fold): New option.
6330         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6332 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6334         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6336 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6338         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6339         middle of block statement initially, lower the depth.  Remove
6340         FIXME comment, not longer valid.  Remove middle of block statement
6341         detection, no need to do that anymore since we've been using
6342         `ruby-parse-region' here.
6344 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6346         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6348 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6350         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6352 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6354         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6355         (desktop-restore-in-current-display): New customization option.
6356         (desktop--excluded-frame-parameters): Add `font'.
6357         (desktop--save-frames): Rename from desktop--save-windows.
6358         (desktop--restore-in-this-display-p): New function.
6359         (desktop--make-full-frame): Remove unwanted width/height from
6360         full(width|height) frames.
6361         (desktop--restore-frames): Rename from desktop--restore-windows.
6362         Obey desktop-restore-current-display.  Do not delete old frames or
6363         select a new frame unless we were able to restore at least one frame.
6365 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6367         * files.el (find-file-noselect): Simplify conditional expression.
6369         * remember.el (remember-append-to-file):
6370         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6372         Add `remember-notes' function to store random notes across Emacs
6373         restarts.
6374         * remember.el (remember-data-file): Add :set callback to affect
6375         notes buffer (if any).
6376         (remember-notes): New command.
6377         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6378         New defcustoms for the `remember-notes' function.
6379         (remember-notes-save-and-bury-buffer): New command.
6380         (remember-notes-mode-map): New variable.
6381         (remember-mode): New minor mode.
6382         (remember-notes--kill-buffer-query): New function.
6383         * startup.el (initial-buffer-choice): Add notes to custom type.
6385 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6387         * bindings.el (right-char, left-char): Don't call sit-for, this is
6388         no longer needed.  Use arithmetic comparison only for numerical
6389         arguments.
6391         * international/mule-cmds.el (select-safe-coding-system):
6392         Handle the case of FROM being a string correctly.  (Bug#14755)
6394 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6396         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6397         progression on degenerate tables.
6398         (shr-rescale-image): ImageMagick animated images currently don't work.
6400 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6402         Some fixes and improvements for desktop frame restoration.
6403         It is still experimental and disabled by default.
6404         * desktop.el (desktop--save-windows): Put the selected frame at
6405         the head of the list.
6406         (desktop--make-full-frame): New function.
6407         (desktop--restore-windows): Try to re-select the frame that was
6408         selected upon saving.  Do not abort if some frames fail to restore,
6409         just show an error message and continue.  Set up maximized frames
6410         so they have default non-maximized dimensions.
6412 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6414         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6415         Don't start heredoc inside a string or comment.
6417 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6419         * bindings.el (visual-order-cursor-movement): New defcustom.
6420         (right-char, left-char): Provide visual-order cursor motion by
6421         calling move-point-visually.  Update the doc strings.
6423 2013-06-28  Kenichi Handa  <handa@gnu.org>
6425         * international/mule.el (define-coding-system): New coding system
6426         properties :inhibit-null-byte-detection,
6427         :inhibit-iso-escape-detection, and :prefer-utf-8.
6428         (set-buffer-file-coding-system): If :charset-list property of
6429         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6430         appropriate for setting.
6432         * international/mule-cmds.el (select-safe-coding-system):
6433         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6434         multibyte characters, return utf-8 (or one of its siblings).
6436         * international/mule-conf.el (prefer-utf-8): New coding system.
6437         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6438         files.
6440 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6442         * net/shr.el (shr-render-region): New function.
6444         * net/eww.el: Autoload `eww-browse-url'.
6446 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6448         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6449         Adapt to `package-desc-version' being a list.
6450         Use `package--ac-desc-version' to retrieve version from a package
6451         archive element.
6453 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6455         New experimental feature to save&restore window and frame setup.
6456         * desktop.el (desktop-save-windows): New defcustom.
6457         (desktop--saved-states): New var.
6458         (desktop--excluded-frame-parameters): New defconst.
6459         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6460         (desktop--restore-windows, desktop--save-windows): New functions.
6461         (desktop-save): Call `desktop--save-windows'.
6462         (desktop-read): Call `desktop--restore-windows'.
6464 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6466         * net/shr.el (add-face-text-property): Remove compat definition.
6468 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6470         * info.el (Info-try-follow-nearest-node): Move search for footnote
6471         above search for node name to prevent missing a footnote (bug#14717).
6473 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6475         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6477 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6479         * net/eww.el (eww-read-bookmarks): Check file size.
6481 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6484         advice--pending if newdef is nil or an autoload (bug#13820).
6485         (advice-mapc): New function.
6487 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6489         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6490         probably.
6491         (eww-mode-map): Add a menu bar.
6492         (eww-add-bookmark): New command.
6493         (eww-bookmark-mode): New mode and commands.
6494         (eww-add-bookmark): Remove newlines from the title.
6495         (eww-bookmark-browse): Don't bug out if it's the only window.
6497 2013-06-26  Glenn Morris  <rgm@gnu.org>
6499         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6500         (hfy-size): Handle ttys.  (Bug#14668)
6502         * info-xref.el: Update for Texinfo 5 change in *note format.
6503         (info-xref-node-re, info-xref-note-re): New constants.
6504         (info-xref-check-buffer): Use info-xref-note-re.
6506 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6508         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6510         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6511         nil terminate the loop (bug#14718).
6513 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6515         * net/eww.el: Rework history traversal.  When going forward/back,
6516         put these actions into the history, too, so that they can be
6517         replayed.
6518         (eww-render): Move the history reset to the correct buffer.
6520 2013-06-25  Juri Linkov  <juri@jurta.org>
6522         * files-x.el (modify-dir-local-variable): Change the header comment
6523         in the file with directory local variables.  (Bug#14692)
6525         * files-x.el (read-file-local-variable-value): Add `default'.
6526         (Bug#14710)
6528 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6530         * net/eww.el (eww-make-unique-file-name): Create a unique file
6531         name before saving to entering `y' accidentally asynchronously.
6533 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6535         * net/eww.el (eww-download): New command and keystroke.
6537 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6539         * net/eww.el (eww-copy-page-url): Change name of command.
6541         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6542         be more consistent with Info and dired.
6544         * net/eww.el (eww-mode-map): Ditto.
6546 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6548         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6549         packages from archives.
6550         (package-archive-contents): Change format; include obsolete packages.
6551         (package-desc): Use `dir' to mark builtin packages.
6552         (package--from-builtin): Set the `dir' field to `builtin'.
6553         (generated-autoload-file, version-control): Declare.
6554         (package-compute-transaction): Change first arg and return value to be
6555         lists of package-descs.  Adjust to new package-archive-contents format.
6556         (package--add-to-archive-contents): Adjust to new
6557         package-archive-contents format.
6558         (package-download-transaction): Arg is now a list of package-descs.
6559         (package-install): If `pkg' is a package name, pass it as
6560         a requirement, so it is subject to the usual (e.g. disabled) checks.
6561         (describe-package): Accept package-desc as well.
6562         (describe-package-1): Describe a specific package-desc.  Add links to
6563         other package-descs for the same package name.
6564         (package-menu-describe-package): Pass the actual package-desc.
6565         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6566         works correctly.
6567         (package-desc-status): New function.
6568         (package-menu--refresh): New function, extracted
6569         from package-menu--generate.
6570         (package-menu--generate): Use it.
6571         (package-delete): Update package-alist.
6572         (package-menu-execute): Don't call package-initialize.
6574         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6575         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6576         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6577         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6578         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6579         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6581 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6583         * window.el (window--state-get-1): Workaround for bug#14527.
6584         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6586 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6588         * net/eww.el (eww-back-url): Implement the history by stashing all
6589         the data into a list.
6590         (eww-forward-url): Allow going forward in the history, too.
6592 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6594         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6595         for values and use read--expression for expressions (bug#14710).
6596         (read-file-local-variable): Avoid setq.
6597         (read-file-local-variable-mode): Use minor-mode-list.
6599 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6601         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6602         for DOI URLs.
6604 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6606         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6607         Update imenu-support when dialect changes.
6609 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6611         * ido.el (ido-read-internal): Allow forward slash on windows.
6613 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6615         * net/eww.el (eww): Start of strings is \\`, not ^.
6617 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6619         * net/shr.el (shr-browse-url): Fix interactive spec.
6621         * net/eww.el (eww): Add a trailing slash to domain names.
6623 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6625         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6627 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6629         * net/shr.el (shr-browse-url): Use an external browser if given a
6630         prefix.
6632         * net/eww.el (eww-external-browser): Move to shr.
6634 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6636         * net/eww.el (eww): Work more correctly for file: URLs.
6637         (eww-detect-charset): Allow quoted charsets.
6638         (eww-yank-page-url): New command and keystroke.
6640 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6642         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6643         file name of gpg executable.
6644         (epg-context-program): New function.
6645         (epg-context-home-directory): New function.
6646         (epg-context-set-program): New function.
6647         (epg-context-set-home-directory): New function.
6648         (epg--start): Use `epg-context-program' instead of
6649         'epg-gpg-program'.
6650         (epg--list-keys-1): Likewise.
6652 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6654         * ido.el (ido-read-internal): Fix bug#14620.
6656 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6658         * faces.el (face-documentation): Simplify.
6659         (read-face-attribute, tty-find-type, x-resolve-font-name):
6660         Use `string-match-p'.
6661         (list-faces-display): Use `string-match-p'.  Simplify.
6662         (face-spec-recalc): Check face to avoid face alias loops.
6663         (read-color): Use `string-match-p' and non-capturing parenthesis.
6665 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6667         * net/shr.el (shr-rescale-image): Use the new
6668         :max-width/:max-height functionality.
6670 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6672         * net/eww.el (eww-search-prefix): New variable.
6673         (eww): Use it.
6674         (eww-external-browser): New variable.
6675         (eww-mode-map): New keystroke.
6676         (eww-browse-with-external-browser): New command.
6678         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6680 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6682         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6683         Don't skip aligning the next header field when padding is 0;
6684         otherwise, field width is not respected unless the title is as
6685         wide as the field.
6687 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6689         * emacs-lisp/package.el (package-el-version): Remove.
6690         (package-process-define-package): Fix inf-loop.
6691         (package-install): Allow symbols as arguments again.
6693 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6695         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6696         add some more keyword-like methods.
6697         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6699 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6701         * bs.el (bs-buffer-show-mark): Make defvar-local.
6702         (bs-mode): Use setq-local.
6704         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6705         (emacs-lock--try-unlocking): Make defvar-local.
6707 2013-06-22  Glenn Morris  <rgm@gnu.org>
6709         * play/cookie1.el (cookie-apropos): Minor simplification.
6711         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6713 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6715         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6716         `regexp-opt', it breaks the build during dumping.
6718 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6720         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6721         Highlight keyword-like methods on Kernel and Module with
6722         font-lock-builtin-face.
6723         (auto-mode-alist): Consolidate different entries into one regexp
6724         and add more *file-s.
6726 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6728         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6730         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6731         (diary-entry): Use it in the action of this button type instead of
6732         diary-goto-entry.
6734         * calendar/todo-mode.el: New version.
6735         (todo-add-category): Append new category to end of file and give
6736         it the highest number, instead of putting it at the beginning and
6737         giving it 0.  Incorporate noninteractive functionality.
6738         (todo-forward-category): Adapt to 1-based category numbering.
6739         Allow skipping over archived categories.
6740         (todo-backward-category): Derive from todo-forward-category.
6741         (todo-backward-item, todo-forward-item): Make noninteractive and
6742         delegate interactive part to new commands.  Make sensitive to done items.
6743         (todo-categories): Make value an alist of category names and
6744         vectors of item counts.
6745         (todo-category-beg): Make a defconst.
6746         (todo-category-number): Use 1 instead of 0 as initial value.
6747         (todo-category-select): Make sensitive to overlays, optional item
6748         highlighting and done items.
6749         (todo-delete-item): Make sensitive to overlays and marked and done items.
6750         (todo-edit-item): Make sensitive to overlays and editing of
6751         date/time header optional.  Add format checks.
6752         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6753         no-op if point is not on an item.  Advertise using todo-edit-quit.
6754         (todo-edit-mode): Make sensitive to new format, font-locking, and
6755         multiple todo files.
6756         (todo-insert-item, todo-insert-item-here): Derive from
6757         todo-basic-insert-item and extend functionality.
6758         (todo-item-end, todo-item-start): Make sensitive to done items.
6759         (todo-item-string): Don't return text properties.  Restore point.
6760         (todo-jump-to-category): Make sensitive to multiple todo files and
6761         todo archives.  Use extended category completion.
6762         (todo-lower-item, todo-raise-item): Rename to *-priority and
6763         derive from todo-set-item-priority.
6764         (todo-mode): Derive from special-mode.  Make sensitive to new
6765         format, font-locking and multiple todo files.  Make read-only.
6766         (todo-mode-map): Don't suppress digit keys, so they can supply
6767         prefix arguments.  Add many new key bindings.
6768         (todo-prefix): Insert as an overlay instead of file text.
6769         Change semantics from diary date expression to purely visual mark.
6770         (todo-print): Rename to todo-print-buffer.  Make buffer display
6771         features printable.  Remove option to restrict number of items
6772         printed.  Add option to print to file.
6773         (todo-print-function): Rename to todo-print-buffer-function.
6774         (todo-quit): Extend to handle exiting new todo modes.
6775         (todo-remove-item): Make sensitive to overlays.
6776         (todo-save): Extend to buffers of filtered items.
6777         (todo-show): Make sensitive to done items, multiple todo files and
6778         new todo modes.  Offer to convert legacy todo file before creating
6779         first new todo file.
6780         (todo-show-priorities): Rename to todo-top-priorities.
6781         Change semantics of value 0.
6782         (todo-top-priorities): Rename to todo-filter-top-priorities,
6783         derive from todo-filter-items and extend functionality.
6784         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6785         and extend functionality to other types of filtered items.
6786         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6787         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6788         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6789         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6790         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6791         (todo-edit-mode-hook, todo-entry-prefix-function)
6792         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6793         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6794         (todo-initials, todo-insert-threshold, todo-item-string-start)
6795         (todo-line-string, todo-menu, todo-mode-hook)
6796         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6797         (todo-print-priorities, todo-remove-separator)
6798         (todo-save-top-priorities-too, todo-string-count-lines)
6799         (todo-string-multiline-p, todo-time-string-format)
6800         (todo-tmp-buffer-name): Remove.
6801         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6802         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6803         (todo-edit-category-diary-inclusion)
6804         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6805         (todo-edit-file, todo-edit-item-date-day)
6806         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6807         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6808         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6809         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6810         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6811         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6812         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6813         (todo-filter-top-priorities-multifile, todo-find-archive)
6814         (todo-find-filtered-items-file, todo-go-to-source-item)
6815         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6816         (todo-jump-to-archive-category, todo-lower-category)
6817         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6818         (todo-move-category, todo-move-item, todo-next-button)
6819         (todo-next-item, todo-padded-string, todo-powerset)
6820         (todo-previous-button, todo-previous-item)
6821         (todo-print-buffer-to-file, todo-raise-category)
6822         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6823         (todo-set-category-number, todo-set-item-priority)
6824         (todo-set-top-priorities-in-category)
6825         (todo-set-top-priorities-in-file, todo-show-categories-table)
6826         (todo-sort-categories-alphabetically-or-numerically)
6827         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6828         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6829         (todo-toggle-item-header, todo-toggle-item-highlighting)
6830         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6831         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6832         (todo-unarchive-items, todo-unmark-category): New commands.
6833         (todo-absolute-file-name, todo-add-to-buffer-list)
6834         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6835         (todo-basic-insert-item, todo-category-completions)
6836         (todo-category-number, todo-category-string-matcher-1)
6837         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6838         (todo-check-format, todo-clear-matches)
6839         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6840         (todo-current-category, todo-date-string-matcher)
6841         (todo-define-insertion-command, todo-diary-expired-matcher)
6842         (todo-diary-goto-entry, todo-diary-item-p)
6843         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6844         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6845         (todo-done-item-section-p, todo-done-separator)
6846         (todo-done-string-matcher, todo-files, todo-filter-items)
6847         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6848         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6849         (todo-insert-category-line, todo-insert-item-from-calendar)
6850         (todo-insert-sort-button, todo-insert-with-overlays)
6851         (todo-insertion-command-name, todo-insertion-key-bindings)
6852         (todo-label-to-key, todo-longest-category-name-length)
6853         (todo-make-categories-list, todo-mode-external-set)
6854         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6855         (todo-modes-set-3, todo-multiple-filter-files)
6856         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6857         (todo-read-category, todo-read-date, todo-read-dayname)
6858         (todo-read-file-name, todo-read-time)
6859         (todo-reevaluate-category-completions-files-defcustom)
6860         (todo-reevaluate-default-file-defcustom)
6861         (todo-reevaluate-filelist-defcustoms)
6862         (todo-reevaluate-filter-files-defcustom)
6863         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6864         (todo-reset-done-separator, todo-reset-done-separator-string)
6865         (todo-reset-done-string, todo-reset-global-current-todo-file)
6866         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6867         (todo-reset-prefix, todo-set-categories)
6868         (todo-set-date-from-calendar, todo-set-show-current-file)
6869         (todo-set-top-priorities, todo-short-file-name)
6870         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6871         (todo-total-item-counts, todo-update-buffer-list)
6872         (todo-update-categories-display, todo-update-categories-sexp)
6873         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6874         New functions.
6875         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6876         New major modes.
6877         (todo-categories, todo-display, todo-edit, todo-faces)
6878         (todo-filtered): New defgroups.
6879         (todo-archived-only, todo-button, todo-category-string, todo-date)
6880         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6881         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6882         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6883         (todo-add-item-if-new-category, todo-always-add-time-string)
6884         (todo-categories-align, todo-categories-archived-label)
6885         (todo-categories-category-label, todo-categories-diary-label)
6886         (todo-categories-done-label, todo-categories-number-separator)
6887         (todo-categories-todo-label, todo-categories-totals-label)
6888         (todo-category-completions-files, todo-completion-ignore-case)
6889         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6890         (todo-done-separator-string, todo-done-string)
6891         (todo-files-function, todo-filter-done-items, todo-filter-files)
6892         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6893         (todo-initial-category, todo-initial-file, todo-item-mark)
6894         (todo-legacy-date-time-regexp, todo-mode-line-function)
6895         (todo-nondiary-marker, todo-number-prefix)
6896         (todo-print-buffer-function, todo-show-current-file)
6897         (todo-show-done-only, todo-show-first, todo-show-with-done)
6898         (todo-skip-archived-categories, todo-top-priorities-overrides)
6899         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6900         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6901         New defcustoms.
6902         (todo-category-done, todo-date-pattern, todo-date-string-start)
6903         (todo-diary-items-buffer, todo-done-string-start)
6904         (todo-filtered-items-buffer, todo-item-start)
6905         (todo-month-abbrev-array, todo-month-name-array)
6906         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6907         (todo-top-priorities-buffer): New defconsts.
6908         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6909         (todo-categories-with-marks, todo-category-string-face)
6910         (todo-comment-face, todo-comment-string, todo-current-todo-file)
6911         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6912         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6913         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6914         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6915         (todo-font-lock-keywords, todo-global-current-todo-file)
6916         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6917         (todo-insertion-commands-args)
6918         (todo-insertion-commands-args-genlist)
6919         (todo-insertion-commands-names, todo-insertion-map)
6920         (todo-key-bindings-t, todo-key-bindings-t+a)
6921         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6922         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6923         (todo-nondiary-face, todo-print-buffer, todo-time-face)
6924         (todo-visited): New variables.
6926 2013-06-21  Glenn Morris  <rgm@gnu.org>
6928         * play/cookie1.el (cookie-apropos): Add optional display argument.
6929         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6930         (psychoanalyze-pinhead): Use cookie-doctor.
6932 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6934         * emacs-lisp/package.el (tar-get-file-descriptor)
6935         (tar--extract): Declare.
6937 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
6939         Extend flymake's warning predicate to be a function (bug#14217).
6940         * progmodes/flymake.el (flymake-warning-predicate): New.
6941         (flymake-parse-line): Use it.
6942         (flymake-warning-re): Make obsolete alias to
6943         `flymake-warning-predicate'.
6945 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6947         * emacs-lisp/package.el (package-alist): Include obsolete packages.
6948         (package-obsolete-list): Remove.
6949         (package-activate): Remove min-version argument.  Add `force' argument.
6950         Adjust to new package-alist format.
6951         (package-mark-obsolete): Remove.
6952         (package-unpack): Force reload of the package's autoloads.
6953         (package-installed-p): Check builtins if the installed package is not
6954         recent enough.
6955         (package-initialize): Don't reset package-obsolete-list.
6956         Don't specify which package version to activate.
6957         (package-process-define-package, describe-package-1)
6958         (package-menu--generate): Adjust to new package-alist format.
6960 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6962         * allout-widgets.el (allout-widgets-mode-off)
6963         (allout-widgets-mode-on, allout-widgets-pre-command-business)
6964         (allout-widgets-post-command-business)
6965         (allout-widgets-after-copy-or-kill-function)
6966         (allout-widgets-after-undo-function, allout-test-range-overlaps)
6967         (allout-decorate-item-and-context)
6968         (allout-graphics-modification-handler): Fix typos in docstrings.
6969         (allout-get-or-create-parent-widget): Use `looking-at-p'.
6971         * cmuscheme.el (scheme-start-file): Doc fix.
6972         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6973         (scheme-input-filter): Use `string-match-p'.
6975         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6977         * dired-x.el: Use Dired consistently in docstrings.
6979         * dired.el: Use Dired consistently in docstrings.
6980         (dired-readin, dired-mode): Use `setq-local'.
6981         (dired-switches-alist): Make defvar-local.
6982         (dired-buffers-for-dir): Use `zerop'.
6983         (dired-safe-switches-p, dired-switches-escape-p)
6984         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6985         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6986         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6987         (dired-goto-next-nontrivial-file): Use `string-match-p'.
6988         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6989         (dired-toggle-marks, dired-mark-files-containing-regexp)
6990         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6991         (dired-flag-auto-save-files, dired-flag-backup-files):
6992         Use `looking-at-p'.
6993         (dired-mark-files-regexp, dired-build-subdir-alist):
6994         Use `string-match-p', `looking-at-p'.
6996         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6997         (direct-print-region-helper): Use `string-match-p'.
6999 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7001         * comint.el (comint-redirect-results-list-from-process):
7002         Fix infinite loop.
7004 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7006         * net/eww.el (eww-update-header-line-format): Quote % characters.
7008 2013-06-21  Glenn Morris  <rgm@gnu.org>
7010         * play/cookie1.el (cookie): New custom group.
7011         (cookie-file): New option.
7012         (cookie-check-file): New function.
7013         (cookie): Make it interactive.  Make start and end messages optional.
7014         Interactively, display the result.  Default to cookie-file.
7015         (cookie-insert): Default to cookie-file.
7016         (cookie-snarf): Make start and end messages optional.
7017         Default to cookie-file.  Use with-temp-buffer.
7018         (cookie-read): Rename from read-cookie.
7019         Make start and end messages optional.  Default to cookie-file.
7020         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7021         Do not autoload it.
7022         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7023         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7025 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7027         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7029 2013-06-21  Glenn Morris  <rgm@gnu.org>
7031         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7033 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7034             Daniel Hackney  <dan@haxney.org>
7036         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7037         Consolidate the single-file vs tarball code.
7038         (package-desc-suffix): New function.
7039         (package-desc-full-name): Don't bother inlining it.
7040         (package-load-descriptor): Return the new package-desc.
7041         (package-mark-obsolete): Remove unused arg `package'.
7042         (package-unpack): Make it work for single files as well.
7043         Make it update package-alist.
7044         (package--make-autoloads-and-stuff): Rename from
7045         package--make-autoloads-and-compile.  Don't compile any more.
7046         (package--compile): New function.
7047         (package-generate-description-file): New function, extracted from
7048         package-unpack-single.
7049         (package-unpack-single): Remove.
7050         (package--with-work-buffer): Add indentation and debugging info.
7051         (package-download-single): Remove.
7052         (package-install-from-archive): Rename from package-download-tar, make
7053         it take a pkg-desc, and make it work for single files as well.
7054         (package-download-transaction): Simplify.
7055         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7056         external tar program.
7057         (package-install-from-buffer): Remove `pkg-desc' argument.
7058         Use package-tar-file-info for tar-mode buffers.
7059         (package-install-file): Simplify accordingly.
7060         (package-archive-base): Change to take a pkg-desc.
7061         * tar-mode.el (tar--check-descriptor): New function, extracted from
7062         tar-get-descriptor.
7063         (tar-get-descriptor): Use it.
7064         (tar-get-file-descriptor): New function.
7065         (tar--extract): New function, extracted from tar-extract.
7066         (tar--extract): Use it.
7067         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7068         case the summary uses non-ascii.  Adjust to new calling convention of
7069         package-tar-file-info.
7071 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7073         * comint.el (comint-redirect-results-list-from-process):
7074         Fix random delay.  (Bug#14681)
7076 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7078         * profiler.el (profiler-format-number): Use log, not log10.
7080 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7082         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7084 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7086         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7087         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7088         yet available.
7089         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7090         (AUTOGENEL): ... here.
7091         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7092         (cl--defsubst-expand): Use it.
7094 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7096         * subr.el (log10): Move here from C code, and declare as obsolete.
7097         All uses of (log10 X) replaced with (log X 10).
7099 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7101         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7102         Declare with `defvar-local'.
7103         (tabulated-list-use-header-line, tabulated-list-entries)
7104         (tabulated-list-padding, tabulated-list-printer)
7105         (tabulated-list-sort-key): Declare with `defvar-local'.
7106         (tabulated-list-init-header, tabulated-list-print-fake-header):
7107         Use `setq-local'.
7109 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7111         * arc-mode.el (archive-mode): Add `archive-write-file' to
7112         `write-contents-functions' also for remote files.  (Bug#14652)
7114 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7116         * cus-edit.el (custom-commands): Fix typos.
7117         (custom-display): Fix tooltip text.
7118         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7119         Fix typos in docstrings.
7120         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7121         (custom-unlispify-menu-entry, custom-magic-value-create)
7122         (custom-add-see-also, custom-group-value-create): Use ?\s.
7123         (custom-guess-type, customize-apropos, editable-field)
7124         (custom-face-value-create): Use `string-match-p'.
7125         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7127         * custom.el (custom-load-symbol): Use `string-match-p'.
7129         * ansi-color.el: Convert to lexical binding.
7130         (ansi-colors): Fix URL.
7131         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7132         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7133         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7135 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7137         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7139         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7141 2013-06-19  Tom Tromey  <tromey@redhat.com>
7143         * net/eww.el (eww-top-url): Remove.
7144         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7145         (eww-render): Set new variables.  Don't set eww-top-url.
7146         (eww-handle-link): Handle "prev", "home", and "contents".
7147         Downcase the rel text.
7148         (eww-top-url): Choose best top URL.
7150 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7152         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7153         relying in widget.el.  Using widget.el leads to too many
7154         user interface inconsistencies.
7155         (eww-self-insert): Implement entering commands in text fields.
7156         (eww-process-text-input): New function to make text input field editing
7157         work.
7158         (eww-submit): Rewrite to use the new-style form methods.
7159         (eww-select-display): Display the correct selected item.
7160         (eww-change-select): Implement changing the select value.
7161         (eww-toggle-checkbox): Implement radio/checkboxes.
7162         (eww-update-field): Fix compilation error.
7163         (eww-tag-textarea): Implement <textarea>.
7165         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7166         we don't shadow mode-specific bindings.
7168         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7169         nothing to push.
7171         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7173 2013-06-19  Glenn Morris  <rgm@gnu.org>
7175         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7177 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7179         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7180         not needed.
7182         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7184 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7186         * net/browse-url.el (browse-url-browser-function):
7187         `eww-browse-url' has the right calling signature, `eww' does not.
7189 2013-06-19  Glenn Morris  <rgm@gnu.org>
7191         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7192         Only eval autoloaded macros.
7193         (byte-compile-autoload): Only give the macro warning for macros.
7195         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7196         (ps-underlined-faces): Declare.
7198         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7199         (speedbar-add-supported-extension): Declare.
7201         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7202         Don't include a date stamp in the header of the generated file;
7203         it leads to needless differences between output files.
7205 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7207         * net/secrets.el (secrets-struct-secret-content-type):
7208         Replace check of introspection data by a test call of "CreateItem".
7209         Some servers do not offer introspection.
7211 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7213         * electric.el (electric-pair-mode): Improve interaction with
7214         electric-layout-mode.
7215         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7216         (electric-pair-syntax): Use text-mode-syntax-table in comments
7217         and strings.
7218         (electric-pair--insert): New function.
7219         (electric-pair-post-self-insert-function): Use it and
7220         electric--after-char-pos.
7222 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7224         * progmodes/octave.el (octave-help): Fix regexp.
7226 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7228         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7229         (shr-table-horizontal-line): Allow nil as a value, and change the
7230         default.
7231         (shr-insert-table-ruler): Respect the nil value.
7233 2013-06-18  Tom Tromey  <tromey@barimba>
7235         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7236         New defvars.
7237         (eww-open-file): New defun.
7238         (eww-render): Initialize new variables.
7239         (eww-display-html): Handle "link" and "a".
7240         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7241         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7242         (eww-back-url): Rename from eww-previous-url.
7243         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7244         New defuns.
7246 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7248         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7249         Distinguish ternary operator tokens from slash symbol and slash
7250         char literal.
7252 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7254         Convert symbol prettification into minor mode and global minor mode.
7256         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7257         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7258         (prettify-symbols--keywords): Rename from
7259         `prog-prettify-symbols-alist' and make a local defvar.
7260         (prettify-symbols--compose-symbol): Rename from
7261         `prog--prettify-font-lock-compose-symbol'.
7262         (prettify-symbols--make-keywords): Rename from
7263         `prog-prettify-font-lock-symbols-keywords' and simplify.
7264         (prog-prettify-install): Remove.
7265         (prettify-symbols-mode): New minor mode, based on
7266         `prog-prettify-install'.
7267         (turn-on-prettify-symbols-mode): New function.
7268         (global-prettify-symbols-mode): New globalized minor mode.
7270         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7271         * progmodes/cfengine.el (cfengine3-mode):
7272         * progmodes/perl-mode.el (perl-mode): Don't call
7273         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7275 2013-06-18  Juri Linkov  <juri@jurta.org>
7277         * files-x.el (modify-file-local-variable-message): New function.
7278         (modify-file-local-variable)
7279         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7280         and call `modify-file-local-variable-message' when it's non-nil.
7281         (add-file-local-variable, delete-file-local-variable)
7282         (add-file-local-variable-prop-line)
7283         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7284         and use it.  (Bug#9820)
7286 2013-06-18  Juri Linkov  <juri@jurta.org>
7288         * emulation/vi.el (vi-shell-op):
7289         * emulation/vip.el (vip-execute-com, ex-command):
7290         * emulation/viper-cmd.el (viper-exec-bang):
7291         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7292         the call of `shell-command-on-region'.  (Bug#14637)
7294         * simple.el (shell-command-on-region): Doc fix.
7296 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7298         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7299         (bug#14633).
7301 2013-06-18  Glenn Morris  <rgm@gnu.org>
7303         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7305         * newcomment.el (comment-search-forward, comment-search-backward):
7306         Doc fix.  (Bug#14376)
7308 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7310         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7311         (buffer-face-mode-invoke): Doc fix.
7313 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7315         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7316         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7318 2013-06-18  Glenn Morris  <rgm@gnu.org>
7320         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7321         Replace obsolete function generic-make-keywords with its expansion.
7323         * progmodes/python.el (ffap-alist): Declare.
7325         * textmodes/reftex.el (bibtex-mode-map): Declare.
7327 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7329         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7330         (package-unpack, package-unpack-single): Return the pkg-dir.
7331         (package-download-transaction): Use it to update package-alist.
7333 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7335         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7336         possible choice.
7338 2013-06-17  Juri Linkov  <juri@jurta.org>
7340         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7342 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7344         * emacs-lisp/package.el (package-load-descriptor):
7345         Remove `with-syntax-table' call, `read' doesn't need it.
7346         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7348 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7350         * startup.el (command-line): Expand package name returned by
7351         `package--description-file' (bug#14639).
7353 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7355         * emacs-lisp/package.el (package-load-descriptor): Do not call
7356         `emacs-lisp-mode', just use its syntax table.
7358 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7360         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7361         `font-lock-extra-managed-props' if any prettifying keyword is added.
7362         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7363         (prog-mode): Use `setq-local'.
7365 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7367         * international/characters.el (standard-case-table): Set syntax of ?»
7368         and ?« to punctuation.
7370 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7372         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7373         Save relevant match data before calling `syntax-ppss' (bug#14595).
7375 2013-06-15  Juri Linkov  <juri@jurta.org>
7377         * files-x.el (modify-file-local-variable-prop-line): Add local
7378         variables to the end of the existing comment on the first line.
7379         Use `file-auto-mode-skip' to skip interpreter magic line,
7380         and also skip XML declaration.
7382 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7384         * startup.el (package--builtin-versions): New var.
7385         (package-subdirectory-regexp): Remove.
7386         (package--description-file): Hard code its value instead.
7388         * emacs-lisp/package.el: Don't activate packages older than builtin.
7389         (package-obsolete-list): Rename from package-obsolete-alist, and make
7390         it into a simple list of package-desc.
7391         (package-strip-version): Remove.
7392         (package-built-in-p): Use package--builtin-versions.
7393         (package-mark-obsolete): Simplify.
7394         (package-process-define-package): Mark it obsolete if older than the
7395         builtin version.
7396         (package-handle-response): Use line-end-position.
7397         (package-read-archive-contents, package--download-one-archive):
7398         Simplify.
7399         (package--add-to-archive-contents): Skip if older than the builtin or
7400         installed version.
7401         (package-menu-describe-package): Fix last change.
7402         (package-list-unversioned): New var.
7403         (package-menu--generate): Use it.
7405         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7406         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7407         (autoload-builtin-package-versions): New variable.
7408         (autoload-generate-file-autoloads): Use them.
7409         Remove the list of autoloaded functions/macros from the
7410         (autoload...) comments.
7412         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7414 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7416         * simple.el (line-move-partial): Don't jump to the next screen
7417         line as soon as it becomes visible.  Instead, continue enlarging
7418         the vscroll until the portion of a tall screen line that's left on
7419         display is about the height of the frame's default font.
7420         (Bug#14567)
7422 2013-06-15  Glenn Morris  <rgm@gnu.org>
7424         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7425         compilation-error-regexp-alist void, or local while let-bound.
7427         * progmodes/make-mode.el (makefile-mode-syntax-table):
7428         Treat "=" as punctuation.  (Bug#14614)
7430 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7432         * help-fns.el (describe-variable):
7433         Add extra line for permanent-local variables.
7435 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7437         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7438         Add export, import, library.  (Bug#9164)
7439         (library): Set indent function.
7441 2013-06-14  Glenn Morris  <rgm@gnu.org>
7443         * term/xterm.el (xterm--query):
7444         Stop after first matching handler.  (Bug#14615)
7446 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7448         Add support for dired in saveplace.
7449         * dired.el (dired-initial-position-hook): New variable.
7450         (dired-initial-position): Call hook to place cursor position.
7451         * saveplace.el (save-place-to-alist): Add dired position.
7452         (save-place-dired-hook): New function.
7454 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7456         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7457         through a symbol rather than letrec.
7459         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7460         (package-desc): Add `dir' field.
7461         (package-desc-full-name): New function.
7462         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7463         (package-maybe-load-descriptor): Remove.
7464         (package-load-all-descriptors): Just call package-load-descriptor.
7465         (package--disabled-p): New function.
7466         (package-desc-vers, package-desc-doc): Remove aliases.
7467         (package--dir): Remove function.
7468         (package-activate): Check if a package is disabled.
7469         (package-process-define-package): New function, extracted from
7470         define-package.
7471         (define-package): Turn into a place holder.
7472         (package-unpack-single, package-tar-file-info):
7473         Use package--description-file.
7474         (package-compute-transaction): Use package--disabled-p.
7475         (package-download-transaction): Don't call
7476         package-maybe-load-descriptor since they're all loaded anyway.
7477         (package-install): Change argument to be a pkg-desc.
7478         (package-delete): Use a single pkg-desc argument.
7479         (describe-package-1): Use package-desc-dir instead of package--dir.
7480         Use package-desc property instead of package-symbol.
7481         (package-install-button-action): Adjust accordingly.
7482         (package--push): Rewrite.
7483         (package-menu--print-info): Adjust accordingly.  Change the ID format
7484         to be a pkg-desc.
7485         (package-menu-describe-package, package-menu-get-status)
7486         (package-menu--find-upgrades, package-menu-mark-upgrades)
7487         (package-menu-execute, package-menu--name-predicate):
7488         Adjust accordingly.
7489         * startup.el (package--description-file): New function.
7490         (command-line): Use it.
7491         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7492         Use package-desc-version.
7494         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7495         (byte-compile-preprocess): Use it.
7496         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7497         can't quite recognize.
7498         (byte-compile-add-to-list): Remove.
7499         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7500         (cconv-closure-convert): Add assertion.
7502         * emacs-lisp/map-ynp.el: Use lexical-binding.
7503         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7504         Factor out some repeated code.
7506 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7508         * subr.el (with-eval-after-load): New macro.
7509         (eval-after-load): Allow form to be a function.
7510         take advantage of lexical-binding.
7511         (do-after-load-evaluation): Use dolist and adjust to new format.
7512         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7514 2013-06-13  Juri Linkov  <juri@jurta.org>
7516         * replace.el (perform-replace): Display "symbol " and other search
7517         modes from `isearch-message-prefix' in the *Help* buffer.
7519         * isearch.el (isearch-query-replace): Add " symbol" and other
7520         possible search modes from `isearch-message-prefix' to the prompt.
7521         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7522         when reading a regexp to collect.
7524 2013-06-13  Juri Linkov  <juri@jurta.org>
7526         * isearch.el (word-search-regexp): Match whitespace if the search
7527         string begins or ends in whitespace.  The LAX arg is applied to
7528         both ends of the search string.  Use `regexp-quote' and explicit
7529         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7530         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7531         boundaries are replaced with symbol boundaries, and characters
7532         between symbols match non-word non-symbol syntax.  (Bug#14602)
7534 2013-06-13  Juri Linkov  <juri@jurta.org>
7536         * isearch.el (isearch-del-char): Don't exceed the length of
7537         `isearch-string' by the prefix arg.  (Bug#14563)
7539 2013-06-13  Juri Linkov  <juri@jurta.org>
7541         * isearch.el (isearch-yank-word, isearch-yank-line)
7542         (isearch-char-by-name, isearch-quote-char)
7543         (isearch-printing-char, isearch-process-search-char):
7544         Add optional count prefix arg.  (Bug#14563)
7546         * international/isearch-x.el
7547         (isearch-process-search-multibyte-characters):
7548         Add optional count prefix arg.
7550 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7552         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7553         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7554         lexical-binding.
7556 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7558         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7560 2013-06-13  Glenn Morris  <rgm@gnu.org>
7562         * startup.el (tty-handle-args):
7563         Don't just discard "--" and anything after.  (Bug#14608)
7565         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7567 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7569         Implement changes in Secret Service API.  Make it backward compatible.
7570         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7571         (secrets-create-item): Use it.  Prefix properties with interface.
7573 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7575         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7576         (term-emulate-terminal): Respect term-suppress-hard-newline.
7578 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7580         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7581         Only remove a `thumb-file' overlay.  (Bug#14548)
7583 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7585         * mail/reporter.el (reporter-submit-bug-report):
7586         Handle missing package-name.  (Bug#14600)
7588 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7590         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7591         (reftex-citation-prompt, reftex-default-bibliography)
7592         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7593         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7594         (reftex-bib-sort-author, reftex-bib-sort-year)
7595         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7596         (reftex-extract-bib-entries-from-thebibliography)
7597         (reftex-get-bibkey-default, reftex-get-bib-names)
7598         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7599         (reftex-format-bib-entry, reftex-parse-bibitem)
7600         (reftex-format-bibitem, reftex-do-citation)
7601         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7602         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7603         (reftex-insert-bib-matches, reftex-format-citation)
7604         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7605         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7606         existing comments into docstrings.
7608 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7610         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7612 2013-06-12  Andreas Schwab  <schwab@suse.de>
7614         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7615         for auto-save files.
7617 2013-06-12  Glenn Morris  <rgm@gnu.org>
7619         * ido.el (ido-delete-ignored-files): Remove.
7620         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7621         Go back to calling ido-ignore-item-p directly.
7623 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7625         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7627         * ido.el (ido-delete-ignored-files): New function,
7628         split from ido-make-file-list-1.
7629         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7630         (ido-make-file-list-1): Use ido-delete-ignored-files.
7632 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7634         * progmodes/octave.el (inferior-octave-startup)
7635         (inferior-octave-completion-table)
7636         (inferior-octave-track-window-width-change)
7637         (octave-eldoc-function-signatures, octave-help)
7638         (octave-find-definition): Use single quoted strings.
7639         (inferior-octave-startup-args): Change default value.
7640         (inferior-octave-startup): Do not hard code "-i" and
7641         "--no-line-editing".
7642         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7643         (inferior-octave-directory-tracker): Use it.
7644         (octave-goto-function-definition): Robustify.
7645         (octave-help): Support highlighting operators in 'See also'.
7646         (octave-find-definition): Find subfunctions only in Octave mode.
7648 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7650         * help-fns.el (help-fns--compiler-macro): If the handler function is
7651         named, then put a link to it.
7652         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7653         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7654         (cl-typep): Use it.
7655         (cl-eval-when): Simplify debug spec.
7656         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7657         compiler-macro function instead of setting `compiler-macro-file'.
7659 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7661         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7662         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7664 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7665             Daniel Hackney  <dan@haxney.org>
7667         First part of Daniel Hackney's patch to package.el.
7668         * emacs-lisp/package.el: Use defstruct.
7669         (package-desc): New, main struct.
7670         (package--bi-desc, package--ac-desc): New structs, used to describe the
7671         format in external files.
7672         (package-desc-vers): Replace with package-desc-version accessor.
7673         (package-desc-doc): Replace with package-desc-summary accessor.
7674         (package-activate-1): Remove `package' arg since the pkg-vec now
7675         includes the name.
7676         (define-package): Use package-desc-from-define.
7677         (package-unpack-single): Change file-name arg to be a symbol.
7678         (package--add-to-archive-contents): Use package-desc-create and new
7679         accessor functions to package--ac-desc.
7680         (package-buffer-info, package-tar-file-info): Return a package-desc.
7681         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7682         arg to be a package-desc.
7683         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7684         (package--from-builtin): New function.
7685         (describe-package-1, package-menu--generate): Use it.
7686         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7687         (package-generate-autoloads): Idem and return the name of the file.
7688         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7689         Change pkg-info arg to be a package-desc.
7690         Use package-make-ac-desc.
7691         (package-upload-file): Use \' to match EOS.
7692         * finder.el (finder-compile-keywords): Use package-make-builtin.
7694 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7696         * vc/vc.el (vc-deduce-fileset): Change error message.
7697         (vc-read-backend): New function.
7698         (vc-next-action): Use it.
7700         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7702         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7703         (prolog-font-lock-keywords): Use regexp-opt instead.
7704         Don't manually highlight strings.
7705         (prolog-mode-variables): Simplify comment-start-skip.
7706         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7708         * emacs-lisp/generic.el (generic--normalise-comments)
7709         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7710         (generic-mode-set-comments): Use them.
7711         (generic-bracket-support): Use setq-local.
7712         (generic-make-keywords-list): Declare obsolete.
7714 2013-06-11  Glenn Morris  <rgm@gnu.org>
7716         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7717         Prettify after setting font-lock-defaults.  (Bug#14574)
7719 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7721         * replace.el (query-replace, occur-read-regexp-defaults-function)
7722         (replace-search):
7723         * subr.el (declare-function, number-sequence, local-set-key)
7724         (substitute-key-definition, locate-user-emacs-file)
7725         (with-silent-modifications, split-string, eval-after-load):
7726         Fix typos, remove unneeded backslashes and reflow some docstrings.
7728 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7730         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7731         default for Elisp files.
7733 2013-06-11  Glenn Morris  <rgm@gnu.org>
7735         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7736         although define-derived-mode was doing this anyway.  (Bug#14583)
7738 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7740         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7741         Fix make-variable-buffer-local call to refer to the correct variable.
7743 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7745         * eshell/em-term.el (eshell-visual-commands)
7746         (eshell-visual-subcommands, eshell-visual-options):
7747         Add summary line to docstrings.  Add cross-references.
7749 2013-06-10  Glenn Morris  <rgm@gnu.org>
7751         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7752         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7754 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7756         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7757         output redirection to be ignored with visual commands.
7759 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7761         * eshell/em-term.el (eshell-visual-command-p): New function.
7762         (eshell-term-initialize): Move long lambda to separate function
7763         eshell-visual-command-p.
7764         * eshell/em-dirs.el (eshell-dirs-initialise):
7765         * eshell/em-script.el (eshell-script-initialize):
7766         Add missing #' to lambda.
7768 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7770         * progmodes/octave.el (octave-add-log-current-defun): New function.
7771         (octave-mode): Set add-log-current-defun-function.
7772         (octave-goto-function-definition): Do not move point if not found.
7773         (octave-find-definition): Enhance to try subfunctions first.
7775 2013-06-08  Glenn Morris  <rgm@gnu.org>
7777         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7778         (byte-compile-backward-char, byte-compile-backward-word):
7779         Improve previous change, to handle non-explicit nil.
7781 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7783         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7784         (smie--opener/closer-at-point): New function.
7785         (smie--matching-block-data): Use it.  Don't match from right after an
7786         opener or right before a closer.  Obey smie-blink-matching-inners.
7787         Don't signal a mismatch for repeated inners like "switch..case..case".
7789 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7791         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7792         to t.  (Bug#14303)
7793         (octave-function-header-regexp): Fix.  (Bug#14570)
7794         (octave-help-mode-finish-hook, octave-help-mode-finish):
7795         Remove.  Just use temp-buffer-show-hook.
7797         * newcomment.el (comment-search-backward): Revert last change.
7798         (Bug#14434)
7800         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7802 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7804         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7805         through xargs, to avoid failure due to MS-Windows limitations on
7806         command-line length.
7808 2013-06-06  Glenn Morris  <rgm@gnu.org>
7810         * font-lock.el (lisp-font-lock-keywords-2):
7811         Treat user-error like error.
7813         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7814         (byte-compile-backward-char, byte-compile-backward-word):
7815         Handle explicit nil arguments.  (Bug#14565)
7817 2013-06-05  Alan Mackenzie  <acm@muc.de>
7819         * isearch.el (isearch-allow-prefix): New user option.
7820         (isearch-other-meta-char): Don't exit isearch when a prefix
7821         argument is typed whilst `isearch-allow-prefix' is non-nil.
7822         (Bug#9706)
7824 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7826         * autorevert.el (auto-revert-notify-handler): Use memq.
7827         Hide assertion failure.
7829         * skeleton.el: Use cl-lib.
7830         (skeleton-further-elements): Use defvar-local.
7831         (skeleton-insert): Use cl-progv.
7833 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7835         * progmodes/prog-mode.el (prog-prettify-symbols)
7836         (prog-prettify-install): Update docstrings.
7838 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7840         * simple.el: Move all the prog-mode code to prog-mode.el.
7841         * progmodes/prog-mode.el: New file.
7842         * loadup.el: Add prog-mode.el.
7844 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7846         * simple.el (prog-prettify-symbols): Add version.
7847         (prog-prettify-install): Add convenience function to prettify symbols.
7849         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7850         (perl--augmented-font-lock-keywords-1)
7851         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7852         variables and use it.
7854         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7855         (cfengine3-mode): Remove unneeded variable and use it.
7857         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7858         (lisp--augmented-font-lock-keywords-1)
7859         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7860         Remove unneeded variables and use it.
7862 2013-06-05  João Távora  <joaotavora@gmail.com>
7864         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7865         to point when opening the connection.  (Bug#14380)
7867 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7869         * subr.el (load-history-regexp, load-history-filename-element)
7870         (eval-after-load, after-load-functions, do-after-load-evaluation)
7871         (eval-next-after-load, display-delayed-warnings)
7872         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7873         definition of save-match-data.
7874         (overriding-local-map): Remove accidental obsolescence declaration.
7876         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7878 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7880         Generalize symbol prettify support to prog-mode and implement it
7881         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7882         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7883         (prog--prettify-font-lock-compose-symbol)
7884         (prog-prettify-font-lock-symbols-keywords): New variables and
7885         functions to support symbol prettification.
7886         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7887         (lisp--augmented-font-lock-keywords-1)
7888         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7889         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7890         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7891         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7892         Implement prettify of -> => :: strings.
7893         * progmodes/perl-mode.el (perl-prettify-symbols)
7894         (perl--font-lock-compose-symbol)
7895         (perl--font-lock-symbols-keywords): Move to prog-mode.
7896         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7897         (perl-font-lock-keywords-1)
7898         (perl-font-lock-keywords-2): Remove explicit prettify support.
7899         (perl--augmented-font-lock-keywords)
7900         (perl--augmented-font-lock-keywords-1)
7901         (perl--augmented-font-lock-keywords-2, perl-mode):
7902         Implement prettify support.
7904 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7906         Re-implement smie matching block highlight using
7907         show-paren-data-function.  (Bug#14395)
7908         * emacs-lisp/smie.el (smie-matching-block-highlight)
7909         (smie--highlight-matching-block-overlay)
7910         (smie--highlight-matching-block-lastpos)
7911         (smie-highlight-matching-block)
7912         (smie-highlight-matching-block-mode): Remove.
7913         (smie--matching-block-data-cache): New variable.
7914         (smie--matching-block-data): New function.
7915         (smie-setup): Use smie--matching-block-data for
7916         show-paren-data-function.
7918         * progmodes/octave.el (octave-mode-menu): Fix.
7919         (octave-find-definition): Skip garbage lines.
7921 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7923         Fix compilation error with simultaneous dynamic+lexical scoping.
7924         Add warning when a defvar appears after the first let-binding.
7925         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7926         (byte-compile-close-variables): Initialize it.
7927         (byte-compile--declare-var): New function.
7928         (byte-compile-file-form-defvar)
7929         (byte-compile-file-form-define-abbrev-table)
7930         (byte-compile-file-form-custom-declare-variable): Use it.
7931         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
7932         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7933         (byte-compile-bind): Handle dynamic bindings that shadow
7934         lexical bindings.
7935         (byte-compile-unbind): Make arg non-optional.
7936         (byte-compile-let): Simplify.
7937         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7938         (cconv--analyse-function, cconv-analyse-form): Populate it.
7939         Protect byte-compile-bound-variables to limit the scope of defvars.
7940         (cconv-analyse-form): Add missing rule for (defvar <foo>).
7941         Remove unneeded rule for `declare'.
7943         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7944         so as to avoid depending on cl-adjoin at run-time.
7945         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7947         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7948         (macroexp--warn-and-return): Use it.
7950 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7952         * lisp/subr.el: Convert to lexical binding.
7953         (overriding-local-map): Make obsolete.
7954         (add-to-list): Doc fix.  Add compiler macro.
7955         (read-key): Swap values of local maps.
7957 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7959         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7961 2013-06-04  Leo Liu  <sdl.web@gmail.com>
7963         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7964         (compilation-auto-jump): Suppress the "Mark set" message to give
7965         way to exit message.
7967 2013-06-04  Alan Mackenzie  <acm@muc.de>
7969         Remove faulty optimisation from indentation calculation.
7970         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7971         search limit based on 2000 characters back from indent-point.
7973 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
7975         * eshell/em-term.el (cl-lib): Require `cl-lib'.
7977 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7979         * emacs-lisp/lisp.el: Use lexical-binding.
7980         (lisp--local-variables-1, lisp--local-variables): New functions.
7981         (lisp--local-variables-completion-table): New var.
7982         (lisp-completion-at-point): Use it complete let-bound vars.
7984         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7985         eagerly (bug#14422).
7987 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
7989         * autorevert.el (auto-revert-notify-enabled)
7990         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7991         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7992         (auto-revert-notify-handler): Handle also gfilenotify.
7994         * subr.el (file-notify-handle-event): New defun.  Replacing ...
7995         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7996         Remove.
7998 2013-06-03  Juri Linkov  <juri@jurta.org>
8000         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8001         `M-s h .'.  (Bug#14427)
8003         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8004         command `hi-lock-face-symbol-at-point'.
8005         (hi-lock-face-symbol-at-point): New command.
8006         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8007         (hi-lock-menu): Add `highlight-symbol-at-point'.
8008         (hi-lock-mode): Doc fix.
8010         * isearch.el (isearch-forward-symbol-at-point): New command.
8011         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8012         (isearch-highlight-regexp): Add a regexp which matches
8013         words/symbols for word/symbol mode.
8015         * subr.el (find-tag-default-bounds): New function with the body
8016         mostly moved from `find-tag-default'.
8017         (find-tag-default): Move most code to `find-tag-default-bounds',
8018         call it and apply `buffer-substring-no-properties' afterwards.
8020 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8022         * eshell/em-term.el (eshell-term-initialize):
8023         Use `cl-intersection' rather than `intersection'.
8025 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8027         * vc/log-view.el: Doc fix.
8028         (log-view-mode-map): Copy keymap from `special-mode-map'.
8030 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8032         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8033         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8034         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8035         (eieio-unbound, eieio-default-superclass)
8036         (eieio--define-field-accessors, method-static, method-before)
8037         (method-primary, method-after, method-num-lists)
8038         (method-generic-before, method-generic-primary)
8039         (method-generic-after, method-num-slots)
8040         (eieio-specialized-key-to-generic-key)
8041         (eieio--check-type, class-v, class-p)
8042         (eieio-class-name, define-obsolete-function-alias)
8043         (eieio-class-parents-fast, eieio-class-children-fast)
8044         (same-class-fast-p, class-constructor, generic-p)
8045         (generic-primary-only-p, generic-primary-only-one-p)
8046         (class-option-assoc, class-option, eieio-object-p)
8047         (class-abstract-p, class-method-invocation-order)
8048         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8049         (eieio-class-un-autoload, eieio-defclass)
8050         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8051         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8052         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8053         (eieio-defgeneric-reset-generic-form)
8054         (eieio-defgeneric-form-primary-only)
8055         (eieio-defgeneric-reset-generic-form-primary-only)
8056         (eieio-defgeneric-form-primary-only-one)
8057         (eieio-defgeneric-reset-generic-form-primary-only-one)
8058         (eieio-unbind-method-implementations)
8059         (eieio--defmethod, eieio--typep)
8060         (eieio-perform-slot-validation, eieio-validate-slot-value)
8061         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8062         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8063         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8064         (eieio-slot-name-index, eieio-class-slot-name-index)
8065         (eieio-set-defaults, eieio-initarg-to-attribute)
8066         (eieio-attribute-to-initarg, eieio-c3-candidate)
8067         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8068         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8069         (eieio-class-precedence-list, eieio-generic-call-methodname)
8070         (eieio-generic-call-arglst, eieio-generic-call-key)
8071         (eieio-generic-call-next-method-list)
8072         (eieio-pre-method-execution-functions, eieio-generic-call)
8073         (eieio-generic-call-primary-only, eieiomt-method-list)
8074         (eieiomt-optimizing-obarray, eieiomt-install)
8075         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8076         (eieio-generic-form, eieio-defmethod, make-obsolete)
8077         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8078         (defclass): Remove `eval-and-compile' from macro.
8079         (call-next-method, shared-initialize): Instead of using
8080         `scoped-class' variable, use new eieio--scoped-class, and
8081         eieio--with-scoped-class.
8082         (initialize-instance): Rename local variable 'scoped-class' to
8083         'this-class' to remove ambiguitity from old global.
8085         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8086         eieio.el.
8087         (eieio--scoped-class-stack): New variable.
8088         (eieio--scoped-class): New fcn.
8089         (eieio--with-scoped-class): New scoping macro.
8090         (eieio-defclass): Use pushnew instead of add-to-list.
8091         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8092         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8093         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8094         `scoped-class' variable, use new eieio--scoped-class, and
8095         eieio--with-scoped-class.
8097         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8099 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8101         * eshell/esh-ext.el (eshell-external-command): Pass args to
8102         `eshell-find-interpreter'.
8103         (eshell-find-interpreter): Add new second parameter ARGS.
8105         * eshell/em-script.el (eshell-script-initialize): Add second arg
8106         to the function added as MATCH to `eshell-interpreter-alist'.
8108         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8109         the function added as MATCH to `eshell-interpreter-alist'.
8111         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8112         (eshell-visual-options): New defcustom.
8113         (eshell-escape-control-x): Adapt docstring.
8114         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8115         `eshell-visual-options' in addition to `eshell-visual-commands'.
8116         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8118 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8120         * progmodes/python.el (python-indent-block-enders): Add break,
8121         continue and raise keywords.
8123 2013-06-01  Glenn Morris  <rgm@gnu.org>
8125         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8127         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8128         * progmodes/cc-cmds.el (delete-forward-p):
8129         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8130         * progmodes/cc-engine.el (buffer-syntactic-context):
8131         * progmodes/cc-fonts.el (face-property-instance):
8132         * progmodes/cc-mode.el (set-keymap-parents):
8133         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8134         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8135         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8136         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8137         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8139         * progmodes/cc-vars.el (other): Emacs has this widget since
8140         at least 21.1, so don't (re)define it.
8142         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8143         Replace the obsolete alias pcomplete-arg-quote-list.
8145 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8147         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8148         punctuation syntax.
8149         (inferior-octave-minimal-columns)
8150         (inferior-octave-last-column-width): New variables.
8151         (inferior-octave-track-window-width-change): New function.
8152         (inferior-octave-mode): Adjust column width so that Octave output,
8153         for example from 'ls', can fit into the window nicely.
8155 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8157         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8158         Highlight expansions inside regexp literals.
8160 2013-05-31  Glenn Morris  <rgm@gnu.org>
8162         * obsolete/sym-comp.el (symbol-complete):
8163         Replace obsolete completion-annotate-function.
8165         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8167 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8169         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8170         New function, checks if point is inside a literal that allows
8171         expression expansion.
8172         (ruby-syntax-propertize-expansion): Use it.
8173         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8174         around the body.
8176 2013-05-30  Juri Linkov  <juri@jurta.org>
8178         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8179         to "\M-si".
8180         (isearch-invisible): New variable.
8181         (isearch-forward): Doc fix.
8182         (isearch-mode): Set `isearch-invisible'
8183         to the value of `search-invisible'.
8184         (isearch-toggle-case-fold): Doc fix.
8185         (isearch-toggle-invisible): New command.
8186         (isearch-query-replace): Let-bind `search-invisible'
8187         to the value of `isearch-invisible'.
8188         (isearch-search): Use `isearch-invisible' instead of
8189         `search-invisible'.  Let-bind `search-invisible'
8190         to the value of `isearch-invisible'.  (Bug#11378)
8192 2013-05-30  Juri Linkov  <juri@jurta.org>
8194         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8195         call when `query-flag' is nil and `search-invisible' is non-nil.
8196         (Bug#11746)
8198 2013-05-30  Glenn Morris  <rgm@gnu.org>
8200         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8202         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8203         (cc-require): Suppress spurious "noruntime" warnings.
8204         (cc-require-when-compile): Use fboundp, for sake of compiler.
8206         * progmodes/cc-mode.el: Move load of cc-vars before that of
8207         cc-langs (which in turn loads cc-vars), to quieten compiler.
8209 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8211         * paren.el: Simplify the code.
8212         (show-paren-mode): Always start the timer.
8213         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8214         (show-paren--overlay, show-paren--overlay-1): Rename from
8215         show-paren-overlay and show-paren-overlay-1, and initialize to an
8216         overlay rather than to nil.
8217         (show-paren-function): Misc cleanup and simplifications.
8219 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * paren.el (show-paren-data-function): New hook.
8222         (show-paren--default): New function, extracted from show-paren-function.
8223         (show-paren-function): Use show-paren-data-function.
8225 2013-05-30  Glenn Morris  <rgm@gnu.org>
8227         * ielm.el (ielm-map, ielm-complete-symbol):
8228         Use completion-at-point rather than obsolete functions.
8229         (inferior-emacs-lisp-mode): Doc fix.
8230         Set completion-at-point-functions, rather than
8231         comint-dynamic-complete-functions.
8233         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8234         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8235         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8237         * image.el (image-animated-p): Tweak definition.
8239         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8240         (rlogin-process-connection-type): Tweak default.  Add set-after.
8241         (rlogin-host): Doc fix.
8242         (rlogin): Tweak prompt.
8243         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8245         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8246         * progmodes/tcl.el (inferior-tcl-mode-map):
8247         Use completion-at-point rather than obsolete alias.
8249         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8251         * minibuffer.el (read-file-name-completion-ignore-case):
8252         Move before completion--in-region, for eager macro expansion.
8254 2013-05-29  Juri Linkov  <juri@jurta.org>
8256         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8257         for total count of matching lines.  Add `global-matches' for total
8258         count of matches.  Rename `matches' to `lines' for count of
8259         matching lines.  Add `matches' for count of matches.
8260         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8261         to `prev-line' for line number of prev match endpt.
8262         Increment `matches' for every match.  Print the number of
8263         matching lines in the header.
8264         (occur-context-lines): Rename `lines' to `curr-line'.
8265         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8267 2013-05-29  Juri Linkov  <juri@jurta.org>
8269         * replace.el (perform-replace): Add `skip-read-only-count',
8270         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8271         Increment them for corresponding conditions and report the number
8272         of skipped occurrences in the final message.  (Bug#11746)
8273         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8274         (replace-string, replace-regexp): Doc fix.
8276 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8278         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8280         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8281         prog-mode-map (bug#14504).
8283 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8285         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8286         (octave-help): Small simplification.
8288         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8289         off the highlight first.
8291 2013-05-29  Glenn Morris  <rgm@gnu.org>
8293         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8294         Handle idlwave-last-system-routine-info-cons-cell being nil.
8296         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8297         (idlwave-write-paths): Simplify via with-temp-buffer.
8299         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8300         * emulation/cua-rect.el: Also load cua-base at run time.
8302         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8303         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8304         (cperl-imenu-on-info): Require imenu.
8306 2013-05-28  Alan Mackenzie  <acm@muc.de>
8308         Handle "capitalised keywords" correctly.
8309         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8311 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8313         * eshell/em-unix.el: Add -r option to cp.
8315 2013-05-28  Glenn Morris  <rgm@gnu.org>
8317         * vc/vc-arch.el (vc-exec-after): Declare.
8318         (vc-switches): Autoload.
8319         * vc/vc-bzr.el: No need to require vc when compiling.
8320         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8321         (vc-resynch-buffer, vc-dir-refresh): Declare.
8322         (vc-setup-buffer, vc-switches): Autoload.
8323         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8324         (vc-resynch-buffer): Declare.
8325         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8326         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8327         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8328         (grep-read-regexp, grep-read-files, grep-expand-template)
8329         (vc-dir-refresh): Declare.
8330         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8331         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8332         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8333         * vc/vc-mtn.el (vc-exec-after): Declare.
8334         (vc-switches): Autoload.
8335         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8336         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8337         (vc-file-tree-walk): Declare.
8338         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8339         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8340         (vc-tag-precondition, vc-rename-master): Autoload.
8341         * vc/vc-svn.el (vc-exec-after): Declare.
8342         (vc-switches, vc-setup-buffer): Autoload.
8343         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8344         Autoload.
8345         (vc-resynch-buffer): Declare.
8347         * obsolete/fast-lock.el (byte-compile-warnings):
8348         Don't warn about obsolete features in this obsolete file.
8350         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8351         Move definition before use.
8353         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8354         (dun-unix-verbs): Remove dun-zippy.
8355         (dun-zippy): Remove function.
8357         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8359 2013-05-27  Juri Linkov  <juri@jurta.org>
8361         * replace.el (replace-search): New function with code moved out
8362         from `perform-replace'.
8363         (replace-highlight, replace-dehighlight): Move function definitions
8364         up closer to `replace-search'.  (Bug#11746)
8366 2013-05-27  Juri Linkov  <juri@jurta.org>
8368         * replace.el (perform-replace): Ignore invisible matches.
8369         In addition to checking `query-replace-skip-read-only', also
8370         filter out matches by calling `run-hook-with-args-until-failure'
8371         on `isearch-filter-predicates', and also check `search-invisible'
8372         for t or call `isearch-range-invisible'.
8373         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8375 2013-05-27  Juri Linkov  <juri@jurta.org>
8377         * isearch.el (isearch-filter-predicates): Rename from
8378         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8379         (isearch-message-prefix): Display text from the property
8380         `isearch-message-prefix' of the currently active filters.
8381         (isearch-search): Don't compare `isearch-filter-predicate' with
8382         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8383         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8384         or call `isearch-range-invisible'.
8385         (isearch-filter-visible): Make obsolete.
8386         (isearch-lazy-highlight-search):
8387         Call `run-hook-with-args-until-failure' on
8388         `isearch-filter-predicates' and use `isearch-range-invisible'.
8390         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8391         `isearch-filter-predicates' instead of `funcall'ing
8392         `isearch-filter-predicate'.
8393         (Info-mode): Set `Info-isearch-filter' to
8394         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8396         * dired-aux.el (dired-isearch-filter-predicate-orig):
8397         Remove variable.
8398         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8399         (dired-isearch-filenames-end): Add and remove
8400         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8401         instead of changing the value of `isearch-filter-predicate'.
8402         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8403         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8404         Put property `isearch-message-prefix' to "filename " on
8405         `dired-isearch-filter-filenames'.
8407         * wdired.el (wdired-change-to-wdired-mode):
8408         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8409         locally instead of changing `isearch-filter-predicate'.
8410         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8412 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8414         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8415         return the commit hash (Bug#14459).  Also set the
8416         `vc-git-detached' property.
8417         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8418         (vc-git-mode-line-string): Use the same help-echo format whether
8419         in detached mode or not, because we know the actual revision now.
8420         When in detached mode, shorten the revision to 7 chars.
8422 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8424         * emacs-lisp/easy-mmode.el (define-minor-mode):
8425         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8426         mode hook and provide a docstring.
8428 2013-05-27  Alan Mackenzie  <acm@muc.de>
8430         Remove spurious syntax-table text properties inserted by C-y.
8431         * progmodes/cc-mode.el (c-after-change): Also clear hard
8432         syntax-table property with value nil.
8434 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8436         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8437         when reading the events; the buffer layout shall not be changed.
8439 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8441         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8442         New variable.
8443         (inferior-octave-directory-tracker): Automatically re-sync
8444         default-directory.
8445         (octave-help): Improve handling of 'See also'.
8447 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         * doc-view.el: Minor naming convention tweaks.
8450         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8452         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8453         even if there's no `display' property yet (bug#14435).
8455 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8457         * subr.el (unmsys--file-name): Rename from reveal-filename.
8459         * Makefile.in (custom-deps, finder-data, autoloads)
8460         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8461         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8462         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8464 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8466         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8467         error-completion on the first 2 args of condition-case (bug#14446).
8468         Don't burp at EOB.
8470 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8472         * comint.el (comint-previous-matching-input): Do not flood the
8473         *Messages* buffer with trivial messages.
8475 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8477         * progmodes/flymake.el (flymake-nop): Don't return a string.
8478         (flymake-set-at): Fix typo.
8480         * simple.el (read--expression): New function, extracted from
8481         eval-expression.  Set completion-at-point-functions (bug#14465).
8482         (eval-expression, eval-minibuffer): Use it.
8484 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8486         * progmodes/flymake.el (flymake-save-buffer-in-file)
8487         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8488         (flymake-selected-frame, flymake-log, flymake-ins-after)
8489         (flymake-set-at, flymake-get-buildfile-from-cache)
8490         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8491         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8492         Refine the doc string.
8493         (flymake-get-file-name-mode-and-masks): Reformat.
8494         (flymake-get-real-file-name-function): Fix a minor bug.
8496 2013-05-24  Juri Linkov  <juri@jurta.org>
8498         * progmodes/grep.el (grep-mode-font-lock-keywords):
8499         Support =linenumber= format used by git-grep for lines with
8500         function names.  (Bug#13549)
8502 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8504         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8505         0 after a semi-colon; it works better for smie-auto-fill.
8506         (octave--indent-new-comment-line): New function.
8507         (octave-indent-new-comment-line): Use it (indirectly).
8508         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8509         modify comment-line-break-function.
8511         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8512         (smie-setup): Use add-function to set it.
8514 2013-05-24  Sam Steingold  <sds@gnu.org>
8516         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8517         argument (before the `interactive' argument).
8519 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8521         * image-mode.el (image-mode-winprops): Add winprops to
8522         image-mode-winprops-alist before running
8523         image-mode-new-window-functions.
8524         * doc-view.el (doc-view-new-window-function): Don't delay
8525         doc-view-goto-page via timers (bug#14435).
8527 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8529         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8530         (doc-view-desktop-save-buffer): New function.
8531         (doc-view-restore-desktop-buffer): New function.
8532         (desktop-buffer-mode-handlers):
8533         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8534         handler.
8535         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8536         `desktop-save-buffer' function.
8538 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8540         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8541         (tramp-gvfs-file-name-handler): Raise a user error when
8542         `tramp-gvfs-enabled' is nil.
8543         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8544         Do not raise a user error when loading package.  (Bug#14447)
8546         * net/xesam.el: Move to obsolete/.
8548 2013-05-24  Glenn Morris  <rgm@gnu.org>
8550         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8552         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8554         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8555         (Info-find-node, Man-getpage-in-background): Declare.
8557         * mail/unrmail.el (unrmail):
8558         Replace obsolete detect-coding-with-priority.
8560         * net/socks.el (socks-split-string): Use this rather than split-string.
8561         (socks-nslookup-host): Update for above change.
8562         (dynamic-choice, s5-dynamic-choice-match)
8563         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8564         Comment out unused code.
8566         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8567         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8568         (gud-tooltip-echo-area): Make obsolete.
8569         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8571         * progmodes/js.el (js--optimize-arglist): Declare.
8573         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8575         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8576         (ediff-window-C): Declare.
8578         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8579         Tweak requires to silence compiler.
8581         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8582         (he-search-string, he-tried-table, he-expand-list)
8583         (he-init-string, he-string-member, he-substitute-string)
8584         (he-reset-string): Declare.
8586         * obsolete/options.el (list-options): Use custom-variable-p,
8587         rather than obsolete alias.
8589 2013-05-23  Sam Steingold  <sds@gnu.org>
8591         * simple.el (shell-command-on-region): Pass the `replace' argument
8592         down to `call-process-region' to comply with the doc as reported on
8593         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8595 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8597         * emacs-lisp/smie.el (smie-indent-forward-token)
8598         (smie-indent-backward-token): Handle string tokens (bug#14381).
8600 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8602         * ielm.el (ielm-menu): New menu.
8603         (inferior-emacs-lisp-mode): Set comment-start.
8605 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8607         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8608         Fix deactivate action.
8610         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8611         Add cleveref macros.
8613         * lisp/textmodes/reftex-parse.el
8614         (reftex-locate-bibliography-files): Accept options for
8615         bibliography commands.
8616         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8617         Add addbibresource.  Basic Biblatex support.
8619 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8621         * net/tramp-gvfs.el (top):
8622         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8623         when loading package.  (Bug#14447)
8625 2013-05-23  Glenn Morris  <rgm@gnu.org>
8627         * progmodes/js.el: No need to load comint when compiling.
8628         (ring-insert, comint-send-string, comint-send-input)
8629         (comint-last-input-end, ido-chop): Declare.
8631         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8632         * vc/ediff-mult.el: Adjust requires.
8633         (ediff-directories-internal, ediff-directory-revisions-internal)
8634         (ediff-patch-file-internal): Declare.
8635         * vc/ediff-ptch.el: Adjust requires.
8636         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8637         (ediff-find-file): Autoload.
8638         * vc/ediff-util.el: No need to load ediff when compiling.
8639         (ediff-regions-internal): Declare.
8640         * vc/ediff-wind.el: Adjust requires.
8641         (ediff-compute-toolbar-width): Define when compiling.
8642         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8643         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8644         (dired-get-filename, dired-get-marked-files)
8645         (ediff-last-dir-patch, ediff-patch-default-directory)
8646         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8647         (ediff-patch-buffer-internal): Declare.
8649         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8650         (ispell-process, ispell-buffer-local-words, lm-summary)
8651         (lm-section-start, lm-section-end): Declare.
8652         (checkdoc-ispell-init): Simplify.
8654         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8655         (he-string-member, he-reset-string, he-substitute-string): Declare.
8657         * eshell/em-ls.el: Adjust requires.
8658         (eshell-glob-regexp): Declare.
8659         * eshell/em-tramp.el: Adjust requires.
8660         (eshell-parse-command): Autoload.
8661         * eshell/em-xtra.el: Adjust requires.
8662         (eshell-parse-command): Autoload.
8663         * eshell/esh-ext.el: Adjust requires.
8664         (eshell-parse-command, eshell-close-handles): Autoload.
8665         * eshell/esh-io.el: Adjust requires.
8666         (eshell-output-filter): Autoload.
8667         * eshell/esh-util.el: No need to load tramp when compiling.
8668         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8669         Declare.
8670         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8671         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8672         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8673         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8674         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8675         * eshell/esh-opt.el, eshell/esh-proc.el:
8676         * eshell/esh-var.el: Adjust requires.
8677         * eshell/eshell.el: Do not require esh-util twice.
8678         (eshell-add-input-to-history): Declare.
8679         (eshell-command): Check history module is active before using it.
8681         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8683 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8685         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8687 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8689         * autorevert.el (auto-revert-notify-add-watch)
8690         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8691         it indicates changes in file modification time.
8693 2013-05-22  Glenn Morris  <rgm@gnu.org>
8695         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8696         Always delete the autoloaded function from the noruntime and
8697         unresolved functions lists.
8699         * allout.el: No need to load epa, epg, overlay when compiling.
8700         (epg-context-set-passphrase-callback, epg-list-keys)
8701         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8702         (epg-key-user-id-list): Declare.
8704         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8705         (viper-set-parsing-style-toggling-macro)
8706         (viper-set-emacs-state-searchstyle-macros):
8707         Use called-interactively-p on Emacs.
8708         (viper-looking-back): Make it an obsolete alias.  Update callers.
8709         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8710         Use looking-back rather than viper-looking-back.
8711         (viper-tmp-insert-at-eob, viper-enlarge-region)
8712         (viper-read-string-with-history, viper-register-to-point)
8713         (viper-append-to-register, viper-change-state-to-vi)
8714         (viper-backward-char-carefully, viper-forward-char-carefully)
8715         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8716         (viper-change-state-to-emacs): Declare.
8717         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8718         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8719         * emulation/viper-mous.el: Do not load viper-cmd.
8720         (viper-backward-char-carefully, viper-forward-char-carefully)
8721         (viper-forward-word, viper-adjust-window): Declare.
8723         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8725         * progmodes/idlw-help.el (idlwave-help-fontify):
8726         Use called-interactively-p.
8728         * term/w32console.el (w32-get-console-codepage)
8729         (w32-get-console-output-codepage): Declare.
8731         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8732         Remove unnecessary declarations.
8733         (dframe-message): Doc fix.
8735         * info.el (dframe-select-attached-frame, dframe-current-frame):
8736         Declare.
8738         * speedbar.el (speedbar-message): Make it an obsolete alias.
8739         Update all callers.
8740         (speedbar-with-attached-buffer)
8741         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8742         (speedbar-with-writable): Use backquote.
8743         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8744         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8745         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8746         rather than speedbar- aliases.
8747         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8748         (speedbar-make-specialized-keymap, speedbar-insert-button)
8749         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8750         (speedbar-do-function-pointer): Declare.
8751         (rmail-speedbar-button, rmail-speedbar-find-file)
8752         (rmail-speedbar-move-message):
8753         Use dframe-with-attached-buffer rather than speedbar- alias.
8754         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8755         (dframe-message, speedbar-make-specialized-keymap)
8756         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8757         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8758         (speedbar-insert-button, dframe-select-attached-frame)
8759         (dframe-maybee-jump-to-attached-frame)
8760         (speedbar-change-initial-expansion-list)
8761         (speedbar-previously-used-expansion-list-name): Declare.
8762         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8763         Use dframe-message, dframe-with-attached-buffer rather than
8764         speedbar- aliases.
8765         (gud-sentinel): Silence compiler.
8766         * progmodes/vhdl-mode.el (speedbar-refresh)
8767         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8768         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8769         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8770         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8771         (speedbar-file-lists, speedbar-make-tag-line)
8772         (speedbar-line-directory, speedbar-goto-this-file)
8773         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8774         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8775         (speedbar-make-button, speedbar-reset-scanners)
8776         (speedbar-files-item-info, speedbar-line-text)
8777         (speedbar-find-file-in-frame, speedbar-set-timer)
8778         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8779         (speedbar-with-writable): Do not (re)define it.
8780         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8781         rather than speedbar- alias.
8783 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8785         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8786         menu items.
8787         (octave-mode): Tweak fill-nobreak-predicate.
8788         (inferior-octave-startup): Check process to avoid infinite loop.
8789         (inferior-octave): Pop to buffer first to show abornmal process
8790         exit information.
8792 2013-05-21  Glenn Morris  <rgm@gnu.org>
8794         * printing.el (pr-menu-bar): Define when compiling.
8796 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8798         * progmodes/octave.el (octave-auto-fill): Remove.
8799         (octave-indent-new-comment-line): Improve.
8800         (octave-mode): Use auto fill mode through
8801         comment-line-break-function and fill-nobreak-predicate.
8802         (octave-goto-function-definition): Support DEFUN_DLD.
8803         (octave-beginning-of-defun): Small tweak.
8804         (octave-help): Show parent directory.
8806 2013-05-21  Glenn Morris  <rgm@gnu.org>
8808         * files.el (dired-unmark):
8809         * progmodes/gud.el (gdb-input): Update declarations.
8811         * calculator.el (electric, ehelp): No need to load when compiling.
8812         (Electric-command-loop, electric-describe-mode): Declare.
8814         * doc-view.el (doc-view-current-converter-processes): Move before use.
8816         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8817         Move MODE-set-explicitly definition before use.
8819         * international/mule-diag.el (mule-diag):
8820         Don't use obsolete window-system-version.
8822         * mail/feedmail.el (smtpmail): No need to load when compiling.
8823         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8825         * mail/mail-utils.el (rfc822): No need to load when compiling.
8826         (rfc822-addresses): Autoload it.
8827         (mail-strip-quoted-names): Trivial simplification.
8829         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8830         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8832         * net/snmp-mode.el (tempo): Don't duplicate requires.
8834         * progmodes/prolog.el (info): No need to load when compiling.
8835         (comint): Require before shell requires it.
8836         (Info-goto-node): Autoload it.
8837         (Info-follow-nearest-node): Declare.
8838         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8840         * textmodes/artist.el (picture-mode-exit): Declare.
8842         * textmodes/reftex-parse.el (reftex-parse-from-file):
8843         Trivial rewrite so the compiler can parse it better.
8845 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8847         * progmodes/octave.el (octave-help-mode-map)
8848         (octave-help-mode-finish-hook): New variables.
8849         (octave-help-mode, octave-help-mode-finish): New functions.
8850         (octave-help): Use octave-help-mode.
8852 2013-05-20  Glenn Morris  <rgm@gnu.org>
8854         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8856 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8858         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8859         start at point, so that expansion starting right after opening
8860         slash in a regexp is recognized.
8861         (ruby-syntax-before-regexp-re): New defvar, extracted from
8862         ruby-syntax-propertize-function.  Since the value of this regexp
8863         is looked up at runtime now, we should be able to turn
8864         `ruby-syntax-methods-before-regexp' into a defcustom later.
8865         (ruby-syntax-propertize-function): Split regexp matching into two
8866         parts, for opening and closing slashes.  That allows us to skip
8867         over string interpolations and support multiline regexps.
8868         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8869         for them, which calls `ruby-syntax-propertize-expansion'.
8870         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8871         call to `ruby-syntax-propertize-function'.
8872         (ruby-syntax-propertize-expansion): Extracted from
8873         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8874         (ruby-syntax-propertize-percent-literal): Leave point right after
8875         the percent symbol, so that the expression expansion rule can
8876         propertize the contents.
8877         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8878         heredoc openers.
8879         (ruby-syntax-propertize-expansions): Remove.
8881 2013-05-18  Juri Linkov  <juri@jurta.org>
8883         * man.el (Man-default-man-entry): Remove `-' from the end
8884         of the default value.  (Bug#14400)
8886 2013-05-18  Glenn Morris  <rgm@gnu.org>
8888         * comint.el (comint-password-prompt-regexp):
8889         Allow "password for XXX" where XXX contains colons (eg https://...).
8891 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8893         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8894         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8895         (octave-source-directories): Don't check process.
8896         (octave-source-directories, octave-find-definition): Doc fix.
8898 2013-05-18  Glenn Morris  <rgm@gnu.org>
8900         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8901         Remove backspace/delete bindings.  (Bug#14392)
8903         * cus-dep.el (custom-make-dependencies): Sort the output.
8904         (custom-versions-load-alist): Convert comment to doc.
8906 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8908         * newcomment.el (comment-search-backward): Stricter in finding
8909         comment start.  (Bug#14303)
8911         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8912         (octave-comment-start-skip): Properly anchored.
8914 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8916         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8917         Clean up when turned off.  (Bug#14395)
8918         (smie--highlight-matching-block-overlay): No longer buffer-local.
8919         (smie-highlight-matching-block): Adjust.
8921 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
8923         Doc string fix for "nanoseconds" (Bug#14406).
8924         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8925         Fix doc string typo that had "nanoseconds" instead of "microseconds".
8927 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8929         * calc/calc-units.el (math-extract-units): Preserve powers
8930         of units.
8932 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8934         * subr.el (delete-consecutive-dups): New function.
8935         * ido.el (ido-set-matches-1): Use it.
8936         * progmodes/octave.el (inferior-octave-completion-table): Use it.
8937         * ido.el (ido-remove-consecutive-dups): Remove.
8939 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8942         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8943         regexp-opt's `words'.
8945 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8947         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8948         (smie--highlight-matching-block-overlay)
8949         (smie--highlight-matching-block-lastpos)
8950         (smie--highlight-matching-block-timer): New variables.
8951         (smie-highlight-matching-block): New function.
8952         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
8953         (smie-setup): Conditionally enable smie-blink-matching-open.
8955 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
8957         Sync with upstream verilog-mode r840.
8958         * progmodes/verilog-mode.el (verilog-mode-version)
8959         (verilog-mode-release-date): Update.
8960         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8961         (verilog-sig-tieoff): Fix string error on
8962         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
8963         (verilog-read-decls): Fix parameters confusing
8964         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
8966 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
8968         * subr.el (reveal-filename): New function.
8970         * loadup.el: Compute Emacs executable versions on MS-Windows,
8971         where executables have the .exe extension.  Add a hard link
8972         emacs-XX.YY.ZZ.exe on MS-Windows.
8974         * Makefile.in (XARGS_LIMIT): New variable.
8975         (custom-deps, finder-data, autoloads)
8976         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8977         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8978         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8979         (compile-main): Limit xargs according to $(XARGS_LIMIT).
8981 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8983         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8984         (octave-mode-menu, octave-mode-map): Remove its uses.
8986 2013-05-16  Reto Zimmermann  <reto@gnu.org>
8988         Sync with upstream vhdl mode v3.34.2.
8989         * progmodes/vhdl-mode.el: Use `push' throughout.
8990         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8991         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8992         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
8993         (vhdl-actual-generic-name): New option to derive actual generic name.
8994         (vhdl-port-paste-signals): Replace formal by actual generics.
8995         (vhdl-beautify): New name for old group vhdl-align.  Update users.
8996         (vhdl-beautify-options): New option.
8997         (vhdl-last-input-event): New compat alias.  Use throughout.
8998         (vhdl-goto-line): Replace user level function `goto-line'.
8999         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9000         vhdl-fix-statement-buffer.
9001         (vhdl-create-mode-menu): Add some entries.
9002         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9003         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9004         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9005         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9006         to force statements on one line.
9007         (vhdl-remove-trailing-spaces-region):
9008         New, split from vhdl-remove-trailing-spaces.
9009         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9010         Respect vhdl-beautify-options.
9011         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9012         (vhdl-update-sensitivity-list): Not add with index if exists without.
9013         Not include array index with signal.  Ignore keywords in comments.
9014         (vhdl-get-visible-signals): Regexp tweaks.
9015         (vhdl-template-component-inst): Handle empty library.
9016         (vhdl-template-type): Add template for 'enum' type.
9017         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9018         Use vhdl-replace-string.
9019         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9020         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9021         (vhdl-speedbar-initialize): Update for above name change.
9022         (vhdl-compose-wire-components): Fix in handling of constants.
9023         (vhdl-error-regexp-emacs-alist): New variable.
9024         (vhdl-error-regexp-add-emacs): New function;
9025         adds support for new compile.el (Emacs 22+)
9026         (vhdl-generate-makefile-1): Change target order for single lib. units.
9027         Allow use of absolute file names.
9029 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9031         * simple.el (prog-indent-sexp): Indent enclosing defun.
9033 2013-05-15  Glenn Morris  <rgm@gnu.org>
9035         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9036         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9037         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9038         (whitespace-highlight): Move to whitespace group.
9040         * comint.el (comint-source):
9041         * pcmpl-linux.el (pcmpl-linux):
9042         * shell.el (shell-faces):
9043         * eshell/esh-opt.el (eshell-opt):
9044         * international/ccl.el (ccl): Remove empty custom groups.
9046         * completion.el (dynamic-completion-mode):
9047         * jit-lock.el (jit-lock-debug-mode):
9048         * minibuffer.el (completion-in-region-mode):
9049         * type-break.el (type-break-mode-line-message-mode)
9050         (type-break-query-mode):
9051         * emulation/tpu-edt.el (tpu-edt-mode):
9052         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9053         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9054         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9056         * term/xterm.el (xterm): Change parent group to terminals.
9058         * master.el (master): Remove empty custom group.
9059         (master-mode): Remove unused :group argument.
9060         * textmodes/refill.el (refill): Remove empty custom group.
9061         (refill-mode): Remove unused :group argument.
9063         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9065         * cus-dep.el: Provide a feature.
9066         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9067         Don't mistakenly ignore files whose basenames match a basename
9068         from preloaded-file-list (eg cedet/ede/simple.el).
9069         Add a fallback method for getting :group.
9071 2013-05-15  Juri Linkov  <juri@jurta.org>
9073         * isearch.el (isearch-char-by-name): Rename from
9074         `isearch-insert-char-by-name'.  Doc fix.
9075         (isearch-forward): Mention `isearch-char-by-name' in
9076         the docstring.  (Bug#13348)
9078         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9079         `exit-minibuffer' instead of
9080         `isearch-nonincremental-exit-minibuffer'.
9081         (isearch-edit-string): Remove mention of
9082         `isearch-nonincremental-exit-minibuffer' from docstring.
9083         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9084         (isearch-forward-exit-minibuffer)
9085         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9087 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9089         * loadup.el: Just use unversioned DOC.
9091         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9092         literals as extending to EOB.
9093         (nxml-last-fontify-end): Remove unused variable.
9094         (nxml-after-change1): Use with-silent-modifications.
9095         (nxml-extend-after-change-region): Simplify.
9096         (nxml-extend-after-change-region1): Remove function.
9097         (nxml-after-change1): Don't adjust for dependent regions.
9098         (nxml-fontify-matcher): Simplify.
9099         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9100         (xmltok-add-dependent): Remove function.
9101         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9102         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9103         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9104         unclosed <[[, <?, comment, and other literals as extending to EOB.
9105         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9106         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9107         Remove functions.
9108         (rng-do-some-validation-1): Don't mark dependent regions.
9109         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9110         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9111         (nxml-clear-dependent-regions): Remove functions.
9112         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9113         (nxml-ensure-scan-up-to-date):
9114         Don't clear&mark dependent regions.
9116 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9118         * progmodes/octave.el (octave-goto-function-definition):
9119         Improve and fix callers.
9121 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9123         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9124         the setter (bug#14387).
9126         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9127         surrounding group (bug#14402).
9129 2013-05-14  Juri Linkov  <juri@jurta.org>
9131         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9132         (Bug#14390)
9134 2013-05-14  Glenn Morris  <rgm@gnu.org>
9136         * progmodes/f90.el (f90-imenu-generic-expression):
9137         Fix typo in 2013-05-08 change.  (Bug#14402)
9139 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9141         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9142         Remove signals for which replies are never received.
9144 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9146         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9147         (gdb-handler-alist, gdb-handler-number): Remove variables.
9148         (gdb-handler-list): New variable.
9149         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9150         (gdb-pending-handler-p, gdb-handle-reply)
9151         (gdb-remove-all-pending-triggers): New functions.
9152         (gdb-discard-unordered-replies): New defcustom.
9153         (gdb-handler): New defstruct.
9154         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9155         instead of gdb-pending-triggers.  Update docstring.
9156         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9157         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9158         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9159         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9160         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9161         (gdb-frame-handler): Pending triggers are now automatically managed.
9162         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9163         Remove argument.
9164         (gdb-input): Automatically handles pending triggers.  Update docstring.
9165         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9166         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9167         Update comments.
9168         (gdb-done-or-error): Now use gdb-handle-reply.
9170 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9172         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9173         gdb-debug-log.
9175 2013-05-14  Glenn Morris  <rgm@gnu.org>
9177         * subr.el (user-emacs-directory-warning): New option.
9178         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9180 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9182         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9183         during redisplay.
9184         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9185         (octave-font-lock-texinfo-comment): Fix invalid search bound
9186         error: wrong side of point.
9188 2013-05-14  Glenn Morris  <rgm@gnu.org>
9190         * progmodes/flymake.el (flymake-xml-program): New option.
9191         (flymake-xml-init): Use it.
9193         * term/xterm.el: Provide a feature.
9195         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9197 2013-05-13  Glenn Morris  <rgm@gnu.org>
9199         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9200         Add compat aliases as a hack workaround.  (Bug#14384)
9202 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9204         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9205         ###, and %!.
9206         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9207         C-M-q.
9208         (octave-comment-start-skip): Include %!.
9209         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9211 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9213         * progmodes/octave.el (inferior-octave-startup): Store the value
9214         of __octave_srcdir__ for octave-source-directories.
9215         (inferior-octave-check-process): New function refactored out of
9216         inferior-octave-send-list-and-digest.
9217         (octave-source-directories)
9218         (octave-find-definition-filename-function): New variables.
9219         (octave-source-directories)
9220         (octave-find-definition-default-filename): New functions.
9221         (octave-find-definition): Improve to find functions implemented in C++.
9223 2013-05-12  Glenn Morris  <rgm@gnu.org>
9225         * calendar/diary-lib.el (diary-outlook-format-1):
9226         Don't include dayname in the output.  (Bug#14349)
9228 2013-05-11  Glenn Morris  <rgm@gnu.org>
9230         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9232         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9233         Treat cc-provide like provide.
9235 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9237         * cus-dep.el (custom-make-dependencies):
9238         Use generated-autoload-load-name for the sake of files such
9239         such cedet/semantic/bovine/c.el, where the base file name
9240         is not in load-path.  (Bug#5277)
9242 2013-05-11  Glenn Morris  <rgm@gnu.org>
9244         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9245         Provide features.
9247 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9249         * progmodes/octave.el (octave-indent-comment): Improve.
9250         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9251         (octave-eldoc-function-signatures, octave-eldoc-function):
9252         New functions.
9253         (octave-mode, inferior-octave-mode): Add eldoc support.
9255 2013-05-11  Richard Stallman  <rms@gnu.org>
9257         * epa.el (epa-decrypt-file): Take output file name as argument
9258         and read it using `interactive'.
9260 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9262         * progmodes/octave.el (octave-beginning-of-line)
9263         (octave-end-of-line): Check before using up-list because it jumps
9264         out of more syntactic contructs since moving to smie.
9265         (octave-indent-comment): New function.
9266         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9267         (octave-begin-keywords, octave-end-keywords)
9268         (octave-reserved-words, octave-smie-bnf-table)
9269         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9271 2013-05-11  Glenn Morris  <rgm@gnu.org>
9273         * faces.el (internal-face-x-get-resource):
9274         * frame.el (ns-display-monitor-attributes-list):
9275         * calc/calc-aent.el (math-to-radians-2):
9276         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9277         Fix declarations.
9279         * calc/calc-menu.el: Make it loadable in isolation.
9281         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9282         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9283         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9284         (eudc-bbdb-query-internal): Require 'bbdb.
9286         * lpr.el (lpr-headers-switches):
9287         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9289         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9291         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9293         * term.el (term-set-escape-char): Make it idempotent.
9295 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9297         * progmodes/octave.el (inferior-octave-completion-table):
9298         No longer a function and all uses changed.  Use cache to speed up
9299         completion due to bug#11906.
9300         (octave-beginning-of-defun): Re-write to be more general.
9302 2013-05-10  Glenn Morris  <rgm@gnu.org>
9304         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9306 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         * comint.el (comint-redirect-send-command-to-process): Use :around
9309         rather than :override for comint-redirect-filter.
9310         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9311         Call it instead of comint-redirect-original-filter-function (which
9312         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9314 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9316         * frame.el (display-monitor-attributes-list): Add NS case.
9317         (ns-display-monitor-attributes-list): Declare.
9319 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9321         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9323 2013-05-09  Glenn Morris  <rgm@gnu.org>
9325         * international/fontset.el (vertical-centering-font-regexp):
9326         Set standard-value.
9328         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9330         * bookmark.el (bookmark-search-delay):
9331         * cus-start.el (vertical-centering-font-regexp):
9332         * ps-mule.el (ps-mule-font-info-database-default):
9333         * ps-print.el (ps-default-fg, ps-default-bg):
9334         * type-break.el (type-break-good-break-interval):
9335         * whitespace.el (whitespace-indentation-regexp)
9336         (whitespace-space-after-tab-regexp):
9337         * emacs-lisp/testcover.el (testcover-1value-functions)
9338         (testcover-noreturn-functions, testcover-progn-functions)
9339         (testcover-prog1-functions):
9340         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9341         * eshell/em-glob.el (eshell-glob-translate-alist):
9342         * play/tetris.el (tetris-tty-colors):
9343         * progmodes/cpp.el (cpp-face-default-list):
9344         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9345         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9346         (idlwave-help-browser-generic-args):
9347         * progmodes/make-mode.el (makefile-special-targets-list):
9348         * progmodes/python.el (python-shell-virtualenv-path):
9349         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9350         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9351         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9352         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9353         * textmodes/reftex-vars.el (reftex-format-label-function):
9354         * textmodes/remember.el (remember-diary-file): Fix custom types.
9356         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9357         Add :version.
9359 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9361         * progmodes/octave.el (inferior-octave-completion-at-point):
9362         Restore file completion.  (Bug#14300)
9363         (inferior-octave-startup): Fix incorrect highlighting for the
9364         first prompt.
9366 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9368         * progmodes/ruby-mode.el: First cut at SMIE support.
9369         (ruby-use-smie): New var.
9370         (ruby-smie-grammar): New constant.
9371         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9372         (ruby-smie--forward-token, ruby-smie--backward-token)
9373         (ruby-smie-rules): New functions.
9374         (ruby-mode-variables): Setup SMIE if applicable.
9376 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9378         * simple.el (line-move-visual): Signal beginning/end of buffer
9379         only if vertical-motion moved less than it was requested.  Avoids
9380         silly incorrect error messages when there are display strings with
9381         multiple newlines at EOL.
9383 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9385         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9386         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9387         (prolog-char-quote-workaround):
9388         * progmodes/cperl-mode.el (cperl-under-as-char):
9389         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9390         Mark as obsolete.
9391         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9392         their declaration.
9393         (vhdl-mode-syntax-table-init): Remove.
9395         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9396         last change.
9398         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9399         syntax for "_".
9400         (ld-script-font-lock-keywords):
9401         Change regexps to use things like \_< and \_>.
9403         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9404         Change all regexps to use things like \_< and \_>.
9406         * progmodes/autoconf.el (autoconf-definition-regexp)
9407         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9408         Handle a _ with symbol syntax.
9409         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9411         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9412         Consolidate declaration.
9413         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9414         the declaration.
9415         (ada-create-syntax-table): Remove.
9416         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9417         already has the right syntax nowadays.
9418         (ada-goto-next-word): Don't change the syntax of "_".
9420         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9421         with-wrapper-hook.
9423 2013-05-08  Sam Steingold  <sds@gnu.org>
9425         * thingatpt.el (thing-at-point): Accept optional second argument
9426         NO-PROPERTIES to strip the text properties from the return value.
9427         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9428         to `thing-at-point' instead of stripping the properties ourselves.
9429         Also, when `thing-at-point' fails to find a url, prepend "http://"
9430         to the filename at point on the assumption that the user is
9431         pointing at something like gnu.org/gnu.
9433 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9435         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9436         * faces.el (crm-separator):
9437         Silence byte-compiler.
9439         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9440         (tool-bar-map): Remove unneeded defvars.
9442 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9444         Re-work a fix for bug#10994 based on Le Wang's patch.
9445         * ido.el (ido-remove-consecutive-dups): New helper.
9446         (ido-completing-read): Use it.
9447         (ido-chop): Revert fix for bug#10994.
9449 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9451         * cus-edit.el (custom-save-variables):
9452         Pretty-print long values.  (Bug#14187)
9454 2013-05-08  Glenn Morris  <rgm@gnu.org>
9456         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9457         (m4-mode-syntax-table): Init in the defvar.
9458         (m4-mode-abbrev-table): Let define-derived-mode define it.
9460 2013-05-08  Tom Tromey  <tromey@redhat.com>
9462         * progmodes/m4-mode.el (m4-mode-syntax-table):
9463         Do not treat "_" as word constituent.  (Bug#14167)
9465 2013-05-07  Glenn Morris  <rgm@gnu.org>
9467         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9468         Remove explicit eshell-isearch-cancel-map.
9470         * progmodes/f90.el (f90-smart-end-names): New option.
9471         (f90-smart-end): Doc fix.
9472         (f90-end-block-optional-name): New constant.
9473         (f90-block-match): Respect f90-smart-end-names.
9475 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9477         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9478         about implicit semi-colons (bug#14218).
9480 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9482         * frame.el (display-monitor-attributes-list)
9483         (frame-monitor-attributes): New functions.
9485 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9487         * progmodes/octave.el (octave-syntax-propertize-function): Change
9488         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9489         (octave-font-lock-keywords): Use octave-operator-regexp.
9490         (octave-completion-at-point): Rename from
9491         octave-completion-at-point-function.
9492         (inferior-octave-directory-tracker): Robustify.
9493         (octave-text-functions): Remove and fix its uses.  No such things
9494         any more.
9496 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9498         * emacs-lisp/trace.el (trace--display-buffer): New function.
9499         (trace-make-advice): Use it.
9501 2013-05-06  Juri Linkov  <juri@jurta.org>
9503         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9504         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9505         Doc fix.
9506         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9507         in the help string.  (Bug#12985)
9509 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9511         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9513 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9515         * progmodes/perl-mode.el: Add support for here documents.
9516         (perl-syntax-propertize-function): Match here-doc markers.
9517         (perl-syntax-propertize-special-constructs): Find their end.
9518         (perl-imenu-generic-expression): Use [:alnum:].
9520         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9521         (advice--add-function): Refresh the advice if already present
9522         (bug#14317).
9524 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9526         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9528 2013-05-06  Glenn Morris  <rgm@gnu.org>
9530         * w32-fns.el (w32-charset-info-alist): Declare.
9532         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9533         of its defcustom properties.
9534         (eshell-cmpl-initialize): No need to load pcomplete.
9536         * generic-x.el: No need to require comint when compiling.
9538         * net/eudc-export.el: Make it loadable without bbdb.
9539         (top-level): Use require rather than load-library.
9540         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9541         (eudc-batch-export-records-to-bbdb)
9542         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9543         Require bbdb.
9545 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9547         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9548         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9549         some tweaks, instead.
9551 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9553         * progmodes/octave.el (octave-font-lock-keywords)
9554         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9555         (inferior-octave-send-list-and-digest): Improve error message.
9556         (octave-mode, inferior-octave-mode): Use setq-local.
9557         (octave-help): Set info-lookup-mode.
9559 2013-05-05  Richard Stallman  <rms@gnu.org>
9561         * vc/compare-w.el (compare-windows-whitespace):
9562         Treat no-break space as whitespace.
9564         * mail/rmailsum.el (rmail-summary-rmail-update):
9565         Detect empty summary and don't change selected message.
9566         (rmail-summary-goto-msg): Likewise.
9568         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9569         Doc fixes, rename args.
9571 2013-05-05  Alan Mackenzie  <acm@muc.de>
9573         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9575 2013-05-05  Juri Linkov  <juri@jurta.org>
9577         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9578         to not add the length of the summary segment to the return value.
9579         (Bug#14125)
9581 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9583         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9584         (inferior-octave-output-filter): Remove.
9585         (octave-send-region, inferior-octave-startup): Fix callers.
9586         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9587         (octave-binary-file-extensions): New user variable.
9588         (octave-find-definition): Confirm if opening binary files.
9589         (octave-help-file): Use octave-find-definition to get the binary
9590         confirmation.
9591         (octave-help): Adjust for octave-help-file change.
9593 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9595         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9596         Merge the two entries that handle function definitions.
9597         (pascal--syntax-propertize): New const.
9598         (pascal-mode): Use it.  Use setq-local.
9600 2013-05-04  Glenn Morris  <rgm@gnu.org>
9602         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9603         (diary-from-outlook): Respect diary-from-outlook-function.
9605 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9607         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9608         Move the declaration from C.
9609         (read-minibuffer, eval-minibuffer): Move from C.
9610         (completion-setup-function): Avoid minibuffer-completion-contents.
9612 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9614         * progmodes/octave.el (octave-font-lock-keywords): Do not
9615         dehighlight 'end' in comments or strings.
9616         (octave-completing-read, octave-goto-function-definition):
9617         New helpers.
9618         (octave-help-buffer): New user variable.
9619         (octave-help-file, octave-help-function): New button types.
9620         (octave-help): New command and bind it to C-h ;.
9621         (octave-find-definition): New command and bind it to M-.
9622         (user-error): Alias to error if not defined.
9624 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9626         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9627         for \.  (bug#14332)
9628         (octave-font-lock-keywords): Include [ and {.
9630 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9632         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9633         (inferior-octave): Remove calling comint-mode and return the buffer.
9634         (inferior-octave-startup): Cosmetic changes.
9636 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9638         * progmodes/octave.el (octave-syntax-propertize-function):
9639         Include the case when ' is at line beginning.  (Bug#14336)
9641 2013-05-02  Glenn Morris  <rgm@gnu.org>
9643         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9644         * desktop.el (vc-dir-mode): Just autoload it here.
9646 2013-05-02  Alan Mackenzie  <acm@muc.de>
9648         Eliminate variable c-standard-font-lock-fontify-region-function.
9649         * progmodes/cc-mode.el
9650         (c-standard-font-lock-fontify-region-function): Remove.
9651         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9653 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9655         * progmodes/octave.el: Compatible with older emacs-24 releases.
9656         (inferior-octave-has-built-in-variables): Remove.  Built-in
9657         variables were removed from Octave in 2007.
9658         (inferior-octave-startup): Fix uses.
9659         (comint-line-beginning-position): Remove compatibility code for
9660         emacs 21.
9662 2013-05-01  Juri Linkov  <juri@jurta.org>
9664         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9666 2013-05-01  Juri Linkov  <juri@jurta.org>
9668         * comint.el (comint-previous-matching-input): Don't print message
9669         "History item: %d" when `isearch-mode' is active.
9670         (comint-history-isearch-message): Print message "History item: %d"
9671         when `comint-input-ring-index' is not empty and this function is
9672         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9674 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9676         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9677         definitions.  Use completion-at-point to insert keywords.
9678         (octave-abbrev-start): Remove.
9679         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9681 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9683         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9684         change.
9686 2013-04-30  Alan Mackenzie  <acm@muc.de>
9688         Handle arbitrarily long C++ member initialisation lists.
9689         * progmodes/cc-engine.el (c-back-over-member-initializers):
9690         new function.
9691         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9692         (most) member init lists.
9694 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9696         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9697         variable.
9699 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9701         * progmodes/octave.el (octave-variables): Remove.  No builtin
9702         variables any more.  All converted to functions.
9703         (octave-font-lock-keywords, octave-completion-at-point-function):
9704         Fix uses.
9705         (octave-font-lock-texinfo-comment): New user variable.
9706         (octave-texinfo-font-lock-keywords): New variable for texinfo
9707         comment block.
9708         (octave-function-comment-block): New face.
9709         (octave-font-lock-texinfo-comment): New function.
9710         (octave-mode): Font lock texinfo comment block.
9712 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9714         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9715         indexing expression.
9716         (octave-continuation-string): Do not use \.
9717         (inferior-octave-complete-impossible): Remove.
9718         (inferior-octave-completion-table)
9719         (inferior-octave-completion-at-point): Remove its uses.
9720         (inferior-octave-startup): completion_matches was introduced to
9721         Octave in 1996 so safe to assume it.
9722         (octave-function-file-comment): Improve to follow how Octave does it.
9723         (octave-update-function-file-comment): Tweak.
9725 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9727         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9728         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9729         (octave-function-file-comment): Fix typo.
9730         (octave-sync-function-file-names): Use read-char-choice.
9732 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9734         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9735         to t for the less important warnings.
9737 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9739         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9741 2013-04-27  Glenn Morris  <rgm@gnu.org>
9743         * vc/log-view.el (log-view-current-entry):
9744         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9746 2013-04-27  Juri Linkov  <juri@jurta.org>
9748         * subr.el (read-number): Doc fix about using it by interactive
9749         code letter `n'.  (Bug#14254)
9751 2013-04-27  Juri Linkov  <juri@jurta.org>
9753         * desktop.el (desktop-auto-save-timeout): New option.
9754         (desktop-file-checksum): New variable.
9755         (desktop-save): Add optional arg `auto-save' and don't auto-save
9756         if nothing changed.
9757         (desktop-auto-save-timer): New variable.
9758         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9759         (after-init-hook): Call `desktop-auto-save-set-timer'.
9760         Suggested by Reuben Thomas <rrt@sc3d.org> in
9761         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9763 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9765         * progmodes/octave.el (octave-function-file-p)
9766         (octave-skip-comment-forward, octave-function-file-comment)
9767         (octave-update-function-file-comment): New functions.
9768         (octave-mode-map): Bind C-c ; to
9769         octave-update-function-file-comment.
9770         (octave-mode-menu): Add octave-update-function-file-comment.
9771         (octave-mode, inferior-octave-mode): Fix doc-string.
9772         (octave-insert-defun): Conform to Octave's coding convention.
9773         (Bug#14285)
9775         * files.el (basic-save-buffer): Don't let errors in
9776         before-save-hook prevent saving buffer.
9778 2013-04-20  Roland Winkler  <winkler@gnu.org>
9780         * faces.el (read-face-name): Use completing-read if arg multiple
9781         is nil.
9783 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9785         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9786         displayed, move point to after the totals line.
9787         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9788         for the details.
9790 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9792         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9793         Add current dir to the load-path.
9794         (package-generate-autoloads): Don't rely on
9795         autoload-ensure-default-file.
9797 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9799         * textmodes/remember.el (remember-store-in-files): Document that
9800         the file name format is passed to `format-time-string'.
9802 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9804         * progmodes/octave.el (octave-sync-function-file-names): New function.
9805         (octave-mode): Use it in before-save-hook.
9807 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9809         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9810         (bug#14274).
9812         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9813         \n and comment, even if it's not an implicit ; (bug#14218).
9815 2013-04-26  Glenn Morris  <rgm@gnu.org>
9817         * subr.el (read-number): Once more use `read' rather than
9818         `string-to-number', to trap non-numeric input.  (Bug#14254)
9820 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9822         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9823         Use `syntax-multiline' text property consistently instead of
9824         `font-lock-multiline'.  (Bug#14237)
9826 2013-04-26  Glenn Morris  <rgm@gnu.org>
9828         * emacs-lisp/shadow.el (list-load-path-shadows):
9829         No longer necessary to check for duplicate simple.el, since
9830         2012-07-07 change to init_lread to not include installation lisp
9831         directories in load-path when running uninstalled.  (Bug#14270)
9833 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9835         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9836         (octave-mode, inferior-octave-mode): Use setq-local.
9837         (octave-not-in-string-or-comment-p): Rename to
9838         octave-in-string-or-comment-p.
9839         (octave-in-comment-p, octave-in-string-p)
9840         (octave-in-string-or-comment-p): Replace defsubst with defun.
9842 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9844         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9846 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9848         * textmodes/remember.el (remember-data-directory)
9849         (remember-directory-file-name-format): Fix custom types.
9851 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9853         * progmodes/octave.el (octave-completion-at-point-function):
9854         Make use of inferior octave process.
9855         (octave-initialize-completions): Remove.
9856         (inferior-octave-completion-table): New function.
9857         (inferior-octave-completion-at-point): Use it.
9858         (octave-completion-alist): Remove.
9860 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9862         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9863         (opascal-mode-syntax-table): New var.
9864         (opascal-literal-kind, opascal-is-literal-end)
9865         (opascal-literal-token-at): Rewrite.
9866         (opascal--literal-start-re, opascal-font-lock-keywords)
9867         (opascal--syntax-propertize): New constants.
9868         (opascal-font-lock-defaults): Adjust.
9869         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9870         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9871         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9872         (delphi-other-face, opascal-other-face): Remove face variables.
9873         (opascal-save-state): Remove macro.
9874         (opascal-fontifying-progress-step): Remove constant.
9875         (opascal--ignore-changes): Remove var.
9876         (opascal-set-token-property, opascal-parse-next-literal)
9877         (opascal-is-stable-literal, opascal-complete-literal)
9878         (opascal-is-literal-start, opascal-face-of)
9879         (opascal-parse-region, opascal-parse-region-until-stable)
9880         (opascal-fontify-region, opascal-after-change)
9881         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9882         (opascal-debug-parse-region, opascal-debug-parse-window)
9883         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9884         (opascal-debug-fontify-buffer): Remove.
9885         (opascal-debug-mode-map): Adjust accordingly.
9887 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9889         Merge octave-mod.el and octave-inf.el into octave.el with some
9890         cleanups.
9891         * progmodes/octave.el: New file renamed from octave-mod.el.
9892         * progmodes/octave-inf.el: Merged into octave.el.
9893         * progmodes/octave-mod.el: Renamed to octave.el.
9895 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9897         * textmodes/reftex-vars.el
9898         (reftex-label-ignored-macros-and-environments): New defcustom.
9900         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9902 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9904         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9905         (smie-indent-keyword): Improve the check to ensure that the next
9906         comment is really on the same line.
9907         (smie-indent-comment): Don't align with a subsequent closer (or eob).
9909         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9910         semi-colons if the line is not otherwise empty (bug#14218).
9912 2013-04-25  Glenn Morris  <rgm@gnu.org>
9914         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9916 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9918         * progmodes/opascal.el (opascal-set-token-property): Rename from
9919         opascal-set-text-properties and only set `token' (bug#14134).
9920         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9921         (opascal-literal-text-properties): Remove.
9922         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9923         Adjust callers.
9925 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
9927         * textmodes/remember.el (remember-handler-functions): Add an
9928         option for a new handler `remember-store-in-files'.
9929         (remember-data-directory, remember-directory-file-name-format):
9930         New options.
9931         (remember-store-in-files): New function to store remember notes
9932         as separate files within a directory.
9934 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
9936         * progmodes/compile.el (compilation-next-error-function):
9937         Pass "formats" to compilation-find-file (bug#11777).
9939 2013-04-24  Glenn Morris  <rgm@gnu.org>
9941         * vc/vc-bzr.el (vc-bzr-print-log):
9942         * vc/vc-hg.el (vc-hg-print-log):
9943         * vc/vc-svn.el (vc-svn-print-log):
9944         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
9946         * vc/vc-bzr.el (vc-bzr-print-log):
9947         * vc/vc-cvs.el (vc-cvs-print-log):
9948         * vc/vc-git.el (vc-git-print-log):
9949         * vc/vc-hg.el (vc-hg-print-log):
9950         * vc/vc-mtn.el (vc-mtn-print-log):
9951         * vc/vc-rcs.el (vc-rcs-print-log):
9952         * vc/vc-sccs.el (vc-sccs-print-log):
9953         * vc/vc-svn.el (vc-svn-print-log):
9954         * vc/vc.el (vc-print-log-internal): Doc fixes.
9956 2013-04-23  Glenn Morris  <rgm@gnu.org>
9958         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9959         Remove venerable code attempting to avoid substitute-command-keys.
9961 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
9963         * textmodes/reftex-vars.el (reftex-label-regexps):
9964         Call `reftex-compile-variables' after changes to this variable.
9966 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9968         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9969         Use lexical-binding.
9970         (jit-lock-force-redisplay): Use markers, check buffer's continued
9971         existence and beware narrowed buffers.
9972         (jit-lock-fontify-now): Adjust call accordingly.
9974 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9976         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9977         to avoid misleading the user.
9979 2013-04-22  Leo Liu  <sdl.web@gmail.com>
9981         * info-look.el: Prefer latex2e.info.  (Bug#14240)
9983 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
9985         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
9987         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9988         * net/tramp.el (tramp-call-process): ... here.
9989         (tramp-set-completion-function, tramp-parse-putty):
9990         * net/tramp-adb.el (tramp-adb-execute-adb-command):
9991         * net/tramp-gvfs.el (tramp-gvfs-send-command):
9992         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9993         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9994         (tramp-call-local-coding-command): Use `tramp-call-process'
9995         instead of `tramp-compat-call-process'.
9997         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9998         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9999         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10000         (tramp-find-inline-compress): Improve traces.
10001         (tramp-maybe-send-script): Check for Perl binary.
10002         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10004 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10006         * epg.el (epg-context-pinentry-mode): New function.
10007         (epg-context-set-pinentry-mode): New function.
10008         (epg--start): Pass --pinentry-mode option to gpg command.
10010 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10012         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10013         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10014         `completion-at-point'.  (Bug#13774)
10016         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10017         default key binding for `describe-distribution' has been moved to
10018         `C-h C-o'.  (Bug#13970)
10020 2013-04-21  Glenn Morris  <rgm@gnu.org>
10022         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10023         Add doc strings.
10024         (vc-print-log): Clarify interactive prompt.
10026 2013-04-20  Glenn Morris  <rgm@gnu.org>
10028         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10029         No longer include timestamp etc information.
10031 2013-04-20  Roland Winkler  <winkler@gnu.org>
10033         * faces.el (read-face-name): Bug fix, return just one face if arg
10034         multiple is nil.  (Bug#14209)
10036 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10038         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10039         (remove-function): Autoload.
10041         * comint.el (comint-redirect-original-filter-function): Remove.
10042         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10043         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10044         (vc-cvs-annotate-command):
10045         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10046         * progmodes/prolog.el (prolog-consult-compile):
10047         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10048         Use add/remove-function instead.
10049         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10050         (gud-tooltip-process-output, gud-tooltip-tips):
10051         Use add/remove-function instead.
10052         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10053         (scheme-interaction-mode, exit-scheme-interaction-mode):
10054         Use add/remove-function instead.
10056         * vc/vc-dispatcher.el: Use lexical-binding.
10057         (vc--process-sentinel): Rename from vc-process-sentinel.
10058         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10059         and vc-sentinel-commands any more.
10060         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10061         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10063 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10065         * progmodes/sh-script.el (sh-imenu-generic-expression):
10066         Handle function names with a single character.   (Bug#14111)
10068 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10070         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10071         for subroutines defined in an eval (bug#14182).
10073 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10075         * bookmark.el (bookmark-completing-read): Improve handling of empty
10076         string (bug#14176).
10078 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10080         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10082 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10084         New faster Imenu implementation (bug#14058).
10085         * progmodes/python.el:
10086         (python-imenu-prev-index-position):
10087         (python-imenu-format-item-label-function)
10088         (python-imenu-format-parent-item-label-function)
10089         (python-imenu-format-parent-item-jump-label-function):
10090         New vars.
10091         (python-imenu-format-item-label)
10092         (python-imenu-format-parent-item-label)
10093         (python-imenu-format-parent-item-jump-label)
10094         (python-imenu--put-parent, python-imenu--build-tree)
10095         (python-imenu-create-index, python-imenu-create-flat-index)
10096         (python-util-popn): New functions.
10097         (python-mode): Set imenu-create-index-function to
10098         python-imenu-create-index.
10100 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10102         * winner.el (winner-active-region): Use region-active-p, activate-mark
10103         and deactivate-mark (bug#14225).
10105         * simple.el (deactivate-mark): Don't inline it.
10107 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10109         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10111 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10113         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10114         file extensions from the archive-mode entry in order to prefer
10115         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10117 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10119         * bindings.el (help-event-list): Add ?\?.
10121 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10123         * subr.el (with-wrapper-hook): Declare obsolete.
10124         * simple.el (filter-buffer-substring-function): New hook.
10125         (filter-buffer-substring): Use it.
10126         (filter-buffer-substring-functions): Mark obsolete.
10127         * minibuffer.el (completion-in-region-function): New hook.
10128         (completion-in-region): Use it.
10129         (completion-in-region-functions): Mark obsolete.
10130         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10131         * abbrev.el (abbrev-expand-function): New hook.
10132         (expand-abbrev): Use it.
10133         (abbrev-expand-functions): Mark obsolete.
10134         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10135         and :filter-return.
10137 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10139         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10140         and do not care about match data.
10142 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10144         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10145         completion tables when completing error conditions and
10146         `declare' arguments.
10147         (lisp-complete-symbol, field-complete): Mark as obsolete.
10148         (check-parens): Unmatched parens are user errors.
10149         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10151 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10153         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10154         command changed buffer (ie. `flyspell-pre-buffer' is not current
10155         buffer), which prevents making decisions based on invalid value of
10156         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10157         cause an error when `flyspell-pre-point' was nil after switching
10158         buffers.
10159         (flyspell-post-command-hook): No longer needs to change buffers when
10160         checking pre-word.  While at it remove unnecessary progn.
10162 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10164         * textmodes/ispell.el (ispell-add-per-file-word-list):
10165         Fix `flyspell-correct-word-before-point' error when accepting
10166         words and `coment-padding' is an integer by using
10167         `comment-normalize-vars' (Bug #14214).
10169 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10171         New defun movement commands.
10172         * progmodes/python.el (python-nav--syntactically)
10173         (python-nav--forward-defun, python-nav-backward-defun)
10174         (python-nav-forward-defun): New functions.
10176 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10178         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10179         (python-syntax-context): Use named compiler-macro for backwards
10180         compatibility with Emacs 24.x.
10182 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10184         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10185         octave-hide-process-buffer.
10187 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10190         (bug#14216).
10192 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10194         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10195         Fix adjustment of offset when receiving incomplete responses from GDB
10196         (bug#14129).
10198 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10200         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10201         python-mode-abbrev-table.
10202         (python-skeleton-define): Adjust accordingly.
10203         (python-mode-abbrev-table): New table that inherits from it so that
10204         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10206         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10207         (abbrev-symbol): Use it.
10208         (abbrev--before-point): Use it since we already handle inheritance.
10210 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10212         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10213         binding to info-lookup-symbol.
10215 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10217         * minibuffer.el (completion--twq-all):
10218         * term/ns-win.el (ns-initialize-window-system):
10219         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10221 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10223         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10224         global bindings.
10226         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10228 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10230         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10231         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10232         to nil.
10233         (ruby-end-of-defun): Remove the unused arg, change the docstring
10234         to reflect that this function is only used as the value of
10235         `end-of-defun-function'.
10236         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10237         to reflect an earlier change that beginning/end-of-defun functions
10238         jump between methods in a class definition, as well as top-level
10239         functions.
10241 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10243         * minibuffer.el (minibuffer-complete): Don't just scroll
10244         a *Completions* that's been iconified.
10245         (minibuffer-force-complete): Make sure repetitions do cycle when going
10246         through completion-in-region -> minibuffer-complete.
10248 2013-04-15  Alan Mackenzie  <acm@muc.de>
10250         Correct the placement of c-cpp-delimiters when there're #s not at
10251         col 0.
10253         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10254         place a submatch around the #.
10255         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10256         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10257         on the #, not BOL.
10259 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10261         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10262         (advice--member-p): New arg `name'.
10263         (advice--add-function, advice-member-p): Use it (bug#14202).
10265 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10267         Reformulate java imenu-generic-expression.
10268         The old expression contained ill formed regexps.
10270         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10271         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10272         (cc-imenu-java-method-arg-regexp): New defconsts.
10273         (cc-imenu-java-build-type-args-regex): New defun.
10274         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10275         handling of spaces in the regexp.
10277 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10279         * textmodes/ispell.el (ispell-command-loop): Remove
10280         flyspell highlight of a word when ispell accepts it (bug #14178).
10282 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10284         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10285         uses code from the previous `ange-ftp-run-real-handler'.
10286         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10287         only in case that function exist.  This is needed for proper
10288         unloading of Tramp.
10290 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10292         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10294         * textmodes/reftex.el (reftex-compile-variables): Use it.
10296 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10298         * files.el (normal-mode): Only use default major-mode if no other mode
10299         was specified.
10301         * emacs-lisp/trace.el (trace-values): New function.
10303         * files.el: Allow : in local variables (bug#14089).
10304         (hack-local-variable-regexp): New var.
10305         (hack-local-variables-prop-line, hack-local-variables): Use it.
10307 2013-04-13  Roland Winkler  <winkler@gnu.org>
10309         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10310         data before it gets modified by bibtex-beginning-of-entry.
10312 2013-04-13  Roland Winkler  <winkler@gnu.org>
10314         * textmodes/bibtex.el (bibtex-url): Doc fix.
10316 2013-04-13  Roland Winkler  <winkler@gnu.org>
10318         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10319         does not visit a BibTeX file, exclude it from the list of buffers
10320         returned by bibtex-initialize.
10322 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10324         * window.el (split-window): Remove interactive form, since as a
10325         command this function is a special case of split-window-below.
10326         Correct doc string.
10328 2013-04-12  Roland Winkler  <winkler@gnu.org>
10330         * faces.el (read-face-name): Do not override value of arg default.
10331         Allow single faces and strings as default values.  Remove those
10332         elements from return value that are not faces.
10333         (describe-face): Simplify.
10334         (face-at-point): New optional args thing and multiple so that this
10335         function can provide the same functionality previously provided by
10336         read-face-name.
10337         (make-face-bold, make-face-unbold, make-face-italic)
10338         (make-face-unitalic, make-face-bold-italic, invert-face)
10339         (modify-face, read-face-and-attribute): Use face-at-point.
10341         * cus-edit.el (customize-face, customize-face-other-window)
10342         * cus-theme.el (custom-theme-add-face)
10343         * face-remap.el (buffer-face-set)
10344         * facemenu.el (facemenu-set-face): Use face-at-point.
10346 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10348         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10350 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10352         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10353         off leading { and trailing } from field values.
10355 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10357         * emacs-lisp/timer.el (timer--check): New function.
10358         (timer--time, timer-set-function, timer-event-handler): Use it.
10359         (timer-set-idle-time): Simplify.
10360         (timer--activate): CSE.
10361         (timer-event-handler): Give more info in error message.
10362         (internal-timer-start-idle): New function, moved from C.
10364         * mpc.el (mpc-proc): Add `restart' argument.
10365         (mpc-proc-cmd): Use it.
10366         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10367         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10368         less often.
10370 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10372         * progmodes/sh-script.el: Implement `sh-mode' own
10373         `add-log-current-defun-function' (bug#14112).
10374         (sh-current-defun-name): New function.
10375         (sh-mode): Use the function.
10377 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10379         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10381 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10383         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10385         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10386         timer (bug#14156).
10388 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10390         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10391         declaration.
10393 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10395         * pcmpl-x.el: New file.
10397 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10399         Do not set x-display-name until X connection is established.
10400         This is needed to prevent from weird situation described at
10401         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10402         * frame.el (make-frame): Set x-display-name after call to
10403         window system initialization function, not before.
10404         * term/x-win.el (x-initialize-window-system): Add optional
10405         display argument and use it.
10406         * term/w32-win.el (w32-initialize-window-system):
10407         * term/ns-win.el (ns-initialize-window-system):
10408         * term/pc-win.el (msdos-initialize-window-system):
10409         Add compatible optional display argument.
10411 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10413         * files.el (normal-backup-enable-predicate): On MS-Windows and
10414         MS-DOS compare truenames of temporary-file-directory and of the
10415         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10416         don't fail comparison by compare-strings.  Also, compare file
10417         names case-insensitively on MS-Windows and MS-DOS.
10419 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10421         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10422         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10424 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10426         * whitespace.el (whitespace-color-on, whitespace-color-off):
10427         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10429 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10431         * ispell.el (ispell-set-spellchecker-params):
10432         Really set `ispell-args' for all equivs.
10434 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         * ido.el (ido-completions): Use extra elements of ido-decorations
10437         (bug#14143).
10438         (ido-decorations): Update docstring.
10440 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10442         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10443         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10444         nil during initialization, in order not to miss changes since the
10445         file was opened.  (Bug#14140)
10447 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10449         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10451 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10453         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10455 2013-04-04  Glenn Morris  <rgm@gnu.org>
10457         * electric.el (electric-pair-inhibit-predicate): Add :version.
10459 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10462         when a package is required several times (bug#14082).
10464 2013-04-04  Roland Winkler  <winkler@gnu.org>
10466         * faces.el (read-face-name): Behave as promised by the docstring.
10467         Assume that arg default is a list of faces.
10468         (describe-face): Call read-face-name with list of default faces.
10470 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10472         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10473         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10474         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10475         the header.
10476         (bookmark-exit-hook-internal): Save even if list is empty.
10478 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10480         * emacs-lisp/package.el (package-pinned-packages): New var.
10481         (package--add-to-archive-contents): Obey it (bug#14118).
10483 2013-04-03  Alan Mackenzie  <acm@muc.de>
10485         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10486         Also adapt to the new values of element 7 of a parse state.
10488         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10489         parameter `not-in-delimiter'.  Handle being inside comment opener.
10490         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10491         character in case we're typing a '*' after a '/'.
10492         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10493         instead by passing the parameter to c-state-pp-to-literal.
10495         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10496         for elt. 7 of a parse state.
10498 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10500         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10501         * international/latin1-disp.el, international/mule-util.el:
10502         * language/cyril-util.el, language/european.el, language/ind-util.el:
10503         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10504         * language/tibetan.el, language/viet-util.el:
10505         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10507 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10509         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10510         (electric-pair-post-self-insert-function): Use it.
10511         (electric-pair-default-inhibit): New function, extracted from
10512         electric-pair-post-self-insert-function.
10514 2013-03-31  Roland Winkler  <winkler@gnu.org>
10516         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10518 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10522 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10524         Un-indent after "pass" and "return" statements (Bug#13888)
10525         * progmodes/python.el (python-indent-block-enders): New var.
10526         (python-indent-calculate-indentation): Use it.
10528 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10530         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10531         defun.  Defining it as defalias could introduce too eager
10532         byte-compiler optimization.  (Bug#14030)
10534 2013-03-30  Chong Yidong  <cyd@gnu.org>
10536         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10538 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10540         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10541         (kmacro-execute-from-register): Pass the keyboard macro to
10542         kmacro-call-macro or repeating won't work correctly.
10544 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10546         * progmodes/subword.el: Back to using `forward-symbol'.
10548         * subr.el (forward-whitespace, forward-symbol)
10549         (forward-same-syntax): Move from thingatpt.el.
10551 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10553         * kmacro.el (kmacro-to-register): New command.
10554         (kmacro-execute-from-register): New function.
10555         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10557 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10559         * mpc.el: Use defvar-local and setq-local.
10560         (mpc--proc-connect): Connection failures are not bugs.
10561         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10562         (mpc-volume-map): Bind to the up-events.
10564 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10566         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10567         instead of `forward-symbol'.
10569 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10572         (edebug--recursive-edit): Use it.
10573         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10574         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10576 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10578         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10580 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10582         * facemenu.el (list-colors-callback): New defvar.
10583         (list-colors-redisplay): New function.
10584         (list-colors-display): Install list-colors-redisplay as the
10585         revert-buffer-function.  (Bug#14063)
10587 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10589         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10590         and suffixes don't overlap (bug#14061).
10592         * case-table.el: Use lexical-binding.
10593         (case-table-get-table): New function.
10594         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10596 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10598         * progmodes/subword.el: Add `superword-mode' to do word motion
10599         over symbol_words (parallels and leverages `subword-mode' which
10600         does word motion inside MixedCaseWords).
10602 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10604         * eshell/em-unix.el: Move su and sudo to...
10605         * eshell/em-tramp.el: ...Eshell tramp module.
10607 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10609         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10610         Change return value to be a sexp.  Delay `get-buffer' to after
10611         restoring the desktop (bug#13951).
10613 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10615         * register.el: Move semantic tag handling back to
10616         cedet/semantic/senator.el.  (Bug#14052)
10618 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10620         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10621         into the prompt either (bug#13963).
10623 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10626         part of "(error-foo)".
10628 2013-03-24  Juri Linkov  <juri@jurta.org>
10630         * replace.el (list-matching-lines-prefix-face): New defcustom.
10631         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10632         `occur-engine' if `face-differs-from-default-p' returns t.
10633         (occur-engine): Add `,' inside backquote construct to evaluate
10634         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10635         Pass `prefix-face' to the functions `occur-context-lines' and
10636         `occur-engine-add-prefix'.
10637         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10638         `prefix-face' and propertize the prefix with `prefix-face'.
10639         (Bug#14017)
10641 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10643         * nxml/rng-valid.el (rng-validate-while-idle)
10644         (rng-validate-quick-while-idle): Guard against deleted buffer.
10645         (Bug#13999)
10647         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10648         is the last entry in kill-buffer-hook.
10650         * files.el (kill-buffer-hook): Doc fix.
10652 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10654         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10655         Make it safe-local.
10657         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10659 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10661         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10662         Remove.
10664         * nxml/rng-valid.el (rng-validate-mode)
10665         (rng-after-change-function, rng-do-some-validation):
10666         * nxml/rng-maint.el (rng-validate-buffer):
10667         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10668         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10669         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10670         (nxml-extend-after-change-region): Use with-silent-modifications.
10672         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10673         timer-idle-list.
10675         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10676         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10677         timer-idle-list.  (Bug#13999)
10679 2013-03-23  Juri Linkov  <juri@jurta.org>
10681         * info.el (info-index-match): New face.
10682         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10683         main pattern and add text properties with the new face to matches
10684         in index entries relative to the beginning of the index entry.
10685         (Bug#14015)
10687 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10689         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10690         Inhibit read only while inserting objects.
10692 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10694         * progmodes/cfengine.el: Update docs to mention
10695         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10696         symbol motion.  Remove "_" from the word syntax.
10698 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10700         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10701         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10703 2013-03-20  Juri Linkov  <juri@jurta.org>
10705         * info.el (Info-next-reference-or-link)
10706         (Info-prev-reference-or-link): New functions.
10707         (Info-next-reference, Info-prev-reference): Use them.
10708         (Info-try-follow-nearest-node): Handle footnote navigation.
10709         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10711 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10713         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10714         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10716 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10718         Suppress unnecessary non-ASCII chatter during build process.
10719         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10720         (batch-skkdic-convert): Suppress most of the chatter.
10721         It's not needed so much now that machines are faster,
10722         and its non-ASCII component was confusing; see Dmitry Gutov in
10723         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10725 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10727         * ido.el (ido-chop): Fix bug#10994.
10729 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10731         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10732         Remove vars.
10733         (whitespace-color-on, whitespace-color-off):
10734         Use `font-lock-fontify-buffer' (Bug#13817).
10736 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10738         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10739         remapping in mode-line.
10740         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10742 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10744         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10745         value for `whitespace-line' face (Bug#13875).
10746         (whitespace-font-lock-keywords): Change description.
10747         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10748         the constructed keywords instead.
10749         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10751 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10753         * progmodes/compile.el (compilation-display-error): New command.
10754         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10755         C-o.  (Bug#13992)
10757 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10759         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10761 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10763         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10765 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10767         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10769         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10770         * net/tramp-gvfs.el (top):
10771         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10772         (tramp-handle-shell-command): Use it.
10773         (tramp-dissect-file-name): Raise an error when hostname is a
10774         method name, and neither method nor user is specified.
10776         * net/trampver.el: Update release number.
10778 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10780         Make sure eldoc can be turned off properly.
10781         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10782         eldoc-mode.
10783         (eldoc-display-message-p): Revert last change.
10784         (eldoc-display-message-no-interference-p)
10785         (eldoc-print-current-symbol-info): Tweak.
10787 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10789         * doc-view.el (doc-view-new-window-function): Check the new window
10790         overlay's display property instead the char property of the
10791         buffer's first char.  Use `with-selected-window' instead of
10792         `save-window-excursion' with `select-window'.
10793         (doc-view-document->bitmap): Check the current doc-view overlay's
10794         display property instead the char property of the buffer's first char.
10796 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10798         Automate the build of ja-dic.el (Bug#13984).
10799         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10800         from the input, rather than assume that it's been done for us by the
10801         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10802         the current date into a ja-dic.el comment, as that complicates
10803         regression testing.
10805 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10807         * whitespace.el: Fix double evaluation.
10808         (whitespace-space, whitespace-hspace, whitespace-tab)
10809         (whitespace-newline, whitespace-trailing, whitespace-line)
10810         (whitespace-space-before-tab, whitespace-indentation)
10811         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10812         obsolete defvars.
10813         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10814         (whitespace-color-on): Use a single font-lock-add-keywords call.
10815         Fix double-evaluation of face variables.
10817 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10819         * net/tramp-adb.el (tramp-adb-parse-device-names):
10820         Use `start-process' instead of `call-process'.  Otherwise, the
10821         function might be blocked under MS Windows.  (Bug#13299)
10823 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10825         Extend eldoc to display info in the mode-line.  (Bug#13978)
10826         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10827         (eldoc-mode-line-string): New variable.
10828         (eldoc-minibuffer-message): New function.
10829         (eldoc-message-function): New variable.
10830         (eldoc-message): Use it.
10831         (eldoc-display-message-p)
10832         (eldoc-display-message-no-interference-p):
10833         Support eldoc-post-insert-mode.
10835         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10836         (eval-expression): Run it.
10838 2013-03-17  Roland Winkler  <winkler@gnu.org>
10840         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10841         strings in the list of return values.
10843 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10845         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10846         radix before checking for HMS forms.
10848 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10850         * progmodes/scheme.el: Add indentation and font-locking for λ.
10851         (Bug#13975)
10853 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10855         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10856         token before point (bug#13942).
10858 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10860         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10862 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10864         * startup.el (command-line-normalize-file-name): Fix handling of
10865         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10866         <xfq.free@gmail.com> in
10867         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10869 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10871         Sync with Tramp 2.2.7.
10873         * net/trampver.el: Update release number.
10875 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10877         * doc-view.el: Fix bug#13887.
10878         (doc-view-insert-image): Don't modify overlay associated to
10879         non-live windows, and implement horizontal centering of image in
10880         case it's smaller than the window.
10881         (doc-view-new-window-function): Force redisplay of new windows on
10882         doc-view buffers.
10884 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10886         * saveplace.el (save-place-alist-to-file): Don't sort
10887         `save-place-alist', just pretty-print it (bug#13882).
10889 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10891         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10892         Check whether `default-file-name-coding-system' is bound.
10893         It isn't in XEmacs.
10895 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10897         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10898         backquotes for `obsolete' (bug#13929).
10900         * international/mule.el (find-auto-coding): Include file name in
10901         obsolescence warning (bug#13922).
10903 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
10905         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10906         for CFEngine 3-specific indentation.
10907         (cfengine3-indent-line): Use it.  Fix up category regex.
10908         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10910 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10912         * type-break.el (type-break-file-name):
10913         * textmodes/remember.el (remember-data-file):
10914         * strokes.el (strokes-file):
10915         * shadowfile.el (shadow-initialize):
10916         * saveplace.el (save-place-file):
10917         * ps-bdf.el (bdf-cache-file):
10918         * progmodes/idlwave.el (idlwave-config-directory):
10919         * net/quickurl.el (quickurl-url-file):
10920         * international/kkc.el (kkc-init-file-name):
10921         * ido.el (ido-save-directory-list-file):
10922         * emulation/viper.el (viper-custom-file-name):
10923         * emulation/vip.el (vip-startup-file):
10924         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10925         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10927 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
10929         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10930         * language/thai-word.el: Switch to UTF-8.
10932 See ChangeLog.16 for earlier changes.
10934 ;; Local Variables:
10935 ;; coding: utf-8
10936 ;; End:
10938   Copyright (C) 2011-2013 Free Software Foundation, Inc.
10940   This file is part of GNU Emacs.
10942   GNU Emacs is free software: you can redistribute it and/or modify
10943   it under the terms of the GNU General Public License as published by
10944   the Free Software Foundation, either version 3 of the License, or
10945   (at your option) any later version.
10947   GNU Emacs is distributed in the hope that it will be useful,
10948   but WITHOUT ANY WARRANTY; without even the implied warranty of
10949   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10950   GNU General Public License for more details.
10952   You should have received a copy of the GNU General Public License
10953   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.