Fix bug #16152 with crashes in process-send-eof on MS-Windows.
[emacs.git] / lisp / ChangeLog
blob0eabdf86ffafc8a95024f4ab168816ec6f790574
1 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
3         * emacs-lisp/package.el (package-built-in-p): Support both
4         built-in and the package.el converted package descriptions.
5         (package-show-package-list): Allow keywords.
6         (package-keyword-button-action): Use it instead of
7         `finder-list-matches'.
8         (package-menu-filter-interactive): Interactive filtering (by
9         keyword) function.
10         (package-menu--generate): Support keywords and change keymappings
11         and headers when they are given.
12         (package--has-keyword-p): Helper function.
13         (package-menu--refresh): Use it.
14         (package--mapc): Helper function.
15         (package-all-keywords): Use it.
16         (package-menu-mode-map): Set up menu items and keybindings to
17         provide a filtering UI.
19 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
21         * net/gnutls.el (gnutls-verify-error): New defcustom to control
22         the behavior when a certificate fails validation.  Defaults to
23         old behavior: never abort, just warn.
24         (gnutls-negotiate): Use it.
26 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
28         * window.el (display-buffer-below-selected): Never split window
29         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
31 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
33         * emacs-lisp/package.el (package--prepare-dependencies): New function.
34         (package-buffer-info): Use it (bug#15108).
36         * icomplete.el (icomplete-completions): Make sure the prefix is already
37         displayed elsewhere before hiding it.
39 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
41         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
42         open-paren tokens when preceded by a open-paren, too.
43         (ruby-smie-rules): Handle virtual indentation after open-paren
44         tokens specially.  If there is code between it and eol, return the
45         column where is starts (Bug#16118).
47 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
49         * progmodes/cfengine.el: Fix `add-hook' doc.
50         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
51         (cfengine3--current-word): Fix parameters.
52         (cfengine3-make-syntax-cache): Simplify further.
53         (cfengine3-completion-function, cfengine3--current-function):
54         Use `assq' for symbols.
55         (cfengine3--current-function): Fix `cfengine3--current-word' call.
57 2013-12-13  Glenn Morris  <rgm@gnu.org>
59         * loadup.el (load-path): Warn if site-load or site-init changes it.
60         No more need to reset it when bootstrapping.
62 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
64         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
65         locations for cf-promises.
66         (cfengine-mode-syntax-functions-regex): New caching variable.
67         (cfengine3-fallback-syntax): Fallback syntax for cases where
68         cf-promises doesn't run.
69         (cfengine3--current-word): Reimplement using
70         `cfengine-mode-syntax-functions-regex'.
71         (cfengine3-completion-function, cfengine3--current-function):
72         Use `cfengine3-make-syntax-cache' directly.
73         (cfengine3-clear-syntax-cache): New function.
74         (cfengine3-make-syntax-cache): Simplify and create
75         `cfengine-mode-syntax-functions-regex' on demand.
76         (cfengine3-format-function-docstring): Don't call
77         `cfengine3-make-syntax-cache' explicitly.
79 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
81         Fix windmove-find-other-window broken after pixelwise resizing
82         (Bug#16017).
83         * windmove.el (windmove-other-window-loc): Revert change from
84         2013-12-04.
85         (windmove-find-other-window): Call window-in-direction.
86         * window.el (window-in-direction): New arguments SIGN, WRAP and
87         MINI to emulate original windmove-find-other-window behavior.
89 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
91         * simple.el (blink-matching--overlay): New variable.
92         (blink-matching-open): Instead of moving point, highlight the
93         matching paren with an overlay
94         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
96         * faces.el (paren-showing-faces, show-paren-match)
97         (show-paren-mismatch): Move from paren.el.
99 2013-12-13  Leo Liu  <sdl.web@gmail.com>
101         * indent.el (indent-region): Disable progress reporter in
102         minibuffer.  (Bug#16108)
104         * bindings.el (visual-order-cursor-movement): Fix version.
106 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
108         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
109         Also match after beginning of line.
110         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
111         files.  Thanks to Russell Sim. (Bug#15378)
113 2013-12-13  Juri Linkov  <juri@jurta.org>
115         * simple.el <Keypad support>: Remove key bindings duplicated
116         with bindings.el.  (Bug#14397)
118 2013-12-13  Juri Linkov  <juri@jurta.org>
120         * comint.el (comint-mode-map): Replace `delete-char' with
121         `delete-forward-char'.  (Bug#16109)
123 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
125         * progmodes/python.el (python-indent-calculate-indentation):
126         Fix de-denters cornercase. (Bug#15731)
128 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
130         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
131         (advice--make): Pay attention to `depth'.
132         (advice--make-1): Don't autoload commands eagerly.
133         * emacs-lisp/elp.el (elp-instrument-function):
134         * emacs-lisp/trace.el (trace-function-internal):
135         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
137         * iswitchb.el (iswitchb-mode): Don't belittle ido.
139 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
141         * term/w32-win.el (w32-handle-dropped-file):
142         * startup.el (normal-top-level):
143         * net/browse-url.el (browse-url-file-url):
144         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
145         decode file names using 'utf-8' rather than
146         file-name-coding-system.
148 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
150         * progmodes/python.el (python-indent-context)
151         (python-indent-calculate-indentation): Fix auto-identation
152         behavior for comment blocks. (Bug#15916)
154 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
156         * progmodes/python.el (python-indent-calculate-indentation):
157         When determining indentation, don't treat "return", "pass", etc., as
158         operators when they are just string constituents.  (Bug#15812)
160 2013-12-12  Juri Linkov  <juri@jurta.org>
162         * uniquify.el (uniquify-buffer-name-style): Change default to
163         `post-forward-angle-brackets'.
165         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
166         `uniquify'.  Change default to `post-forward-angle-brackets'.
168 2013-12-11  Glenn Morris  <rgm@gnu.org>
170         * emacs-lisp/package.el (finder-list-matches):
171         Autoload rather than falsely declaring.
173 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
175         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
176         (eww-mode-map): Use them.
178 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
180         * window.el (display-buffer-in-side-window): Fix doc-string
181         (Bug#16115).
183 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
185         * vc/vc-git.el: Silence byte-compiler warnings.
186         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
187         (log-edit-set-header): Declare.
189 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
191         * Makefile.in (custom-deps, finder-data): Run output file names
192         through unmsys--file-name.  (Bug#16099)
194 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
197         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
199         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
200         instead of deleting the selection "by hand" (bug#16098).
201         Rely on insert-for-yank to yank rectangles.
202         (cua-highlight-region-shift-only): Mark obsolete.
203         (cua-mode): Don't enable/disable transient-mark-mode,
204         shift-select-mode (cua-mode works both with and without them), and
205         pc-selection-mode (obsolete).
206         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
207         (cua--deactivate-rectangle): Deactivate it.
209         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
210         (delete-selection-helper): Make sure yank starts at the top of the
211         deleted region.
212         (minibuffer-keyboard-quit): Use region-active-p.
214         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
216         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
217         to `delete' (bug#16109).
219 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
221         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
222         info manual and show keybindings and set `:group' keyword.
224 2013-12-11  Juri Linkov  <juri@jurta.org>
226         * delsel.el (delete-active-region): Let-bind `this-command'
227         to prevent `kill-region' from changing its original value.
228         (delete-selection-helper): Handle `overwrite-mode' for the type
229         `kill' exactly the same way as for the type `t'.
230         (insert-char, quoted-insert, reindent-then-newline-and-indent):
231         Support more commands.  (Bug#13312)
233 2013-12-11  Juri Linkov  <juri@jurta.org>
235         * bindings.el: Map kp keys to non-kp keys systematically
236         with basic modifiers control, meta and shift.  (Bug#14397)
238 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
240         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
241         "Close browser" menu items.  Fix wrong function of "List
242         bookmarks".
244 2013-12-11  Juri Linkov  <juri@jurta.org>
246         * misearch.el (multi-isearch-buffers): Set the value of
247         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
248         arg of isearch-forward to t.
249         (multi-isearch-buffers-regexp): Set the value of
250         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
251         arg of isearch-forward-regexp to t.
252         (multi-isearch-files): Set the value of
253         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
254         arg of isearch-forward to t.
255         (multi-isearch-files-regexp): Set the value of
256         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
257         arg of isearch-forward-regexp to t.  (Bug#16035)
259         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
260         arg of isearch-forward to t.
261         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
262         arg of isearch-forward-regexp to t.
263         (dired-isearch-filter-filenames): Remove unnecessary check for
264         `dired-isearch-filenames'.
266         * comint.el (comint-history-isearch-backward):
267         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
268         (comint-history-isearch-backward-regexp):
269         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
271 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
273         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
274         unmsys--file-name.  (Bug#16099)
276 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
278         * emacs-lisp/package.el (package-keyword-button-action):
279         Remove finder.el require dependency.
281 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
283         * emacs-lisp/package.el: Require finder.el.
284         (describe-package-1): Add keyword buttons.
285         (package-make-button): New convenience function.
286         (package-keyword-button-action): Keyword button action using
287         `finder-list-matches'
289 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
291         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
292         last commit.
294 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
296         * autorevert.el (auto-revert-notify-add-watch): Do not handle
297         symlinked files.
299 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
301         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
302         after the end of a percent literal.
304 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
306         * progmodes/ruby-mode.el (ruby-forward-string): Document.
307         Handle caret-delimited strings (Bug#16079).
309 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
311         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
312         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
313         `ruby-parse-partial' (Bug#16078).
315 2013-12-09  Leo Liu  <sdl.web@gmail.com>
317         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
319 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
321         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
322         (js-switch-indent-offset): New option.
323         (js--proper-indentation): Use it.  And handle the case when
324         "default" is actually a key in an object literal.
325         (js--same-line): New function.
326         (js--multi-line-declaration-indentation): Use it.
327         (js--indent-in-array-comp, js--array-comp-indentation):
328         New functions.
329         (js--proper-indentation): Use them, to handle array comprehension
330         continuations.
332 2013-12-08  Leo Liu  <sdl.web@gmail.com>
334         * progmodes/flymake.el (flymake-highlight-line): Re-write.
335         (flymake-make-overlay): Remove arg MOUSE-FACE.
336         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
338 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
340         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
341         New function.
342         (redisplay-highlight-region-function): Use it.
344         * emulation/cua-base.el (cua--explicit-region-start)
345         (cua--last-region-shifted): Remove.
346         (cua--deactivate): Use deactivate-mark.
347         (cua--pre-command-handler-1): Don't handle shift-selection.
348         (cua--post-command-handler-1): Don't change transient-mark-mode.
349         (cua--select-keymaps): Use region-active-p rather than
350         cua--explicit-region-start or cua--last-region-shifted.
351         (cua-mode): Enable shift-select-mode.
353 2013-12-08  Leo Liu  <sdl.web@gmail.com>
355         * progmodes/flymake.el (flymake-popup-current-error-menu):
356         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
357         (flymake-posn-at-point-as-event, flymake-popup-menu)
358         (flymake-make-emacs-menu): Remove.  (Bug#16077)
360 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
362         * rect.el (rectangle-mark-mode): Activate mark even if
363         transient-mark-mode is off (bug#16066).
364         (rectangle--highlight-for-redisplay): Fix boundary condition when point
365         is > mark and at bolp.
367         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
368         (region-extract-function): Use it.
369         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
370         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
371         Delete functions.
372         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
373         kill-ring-save, kill-region, delete-char, delete-forward-char.
374         Ignore self-insert-iso.
376         * emulation/cua-gmrk.el (cua--init-global-mark):
377         Ignore `self-insert-iso'.
379         * emulation/cua-base.el (cua--prefix-copy-handler)
380         (cua--prefix-cut-handler): Rely on region-extract-function rather than
381         checking cua--rectangle.
382         (cua-delete-region): Use region-extract-function.
383         (cua-replace-region): Delete function.
384         (cua-copy-region, cua-cut-region): Obey region-extract-function.
385         (cua--pre-command-handler-1): Don't do the delete-selection thing.
386         (cua--self-insert-char-p): Ignore `self-insert-iso'.
387         (cua--init-keymaps): Don't remap delete-selection commands.
388         (cua-mode): Use delete-selection-mode instead of rolling our own
389         (bug#16085).
391         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
392         Obey region-extract-function.
394         Make registers and delete-selection-mode work on rectangles.
395         * register.el (describe-register-1): Don't modify the register's value.
396         (copy-to-register): Obey region-extract-function.
397         * delsel.el (delete-active-region): Obey region-extract-function.
399 2013-12-08  Leo Liu  <sdl.web@gmail.com>
401         * progmodes/flymake.el (flymake, flymake-error-bitmap)
402         (flymake-warning-bitmap, flymake-fringe-indicator-position)
403         (flymake-compilation-prevents-syntax-check)
404         (flymake-start-syntax-check-on-newline)
405         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
406         (flymake-start-syntax-check-on-find-file, flymake-log-level)
407         (flymake-xml-program, flymake-master-file-dirs)
408         (flymake-master-file-count-limit)
409         (flymake-allowed-file-name-masks): Relocate.
410         (flymake-makehash, flymake-float-time)
411         (flymake-replace-regexp-in-string, flymake-split-string)
412         (flymake-get-temp-dir): Remove.
413         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
414         (flymake-current-row, flymake-selected-frame)
415         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
416         related functions.  (Bug#16077)
418 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
420         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
422 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
424         * help-fns.el (describe-function-1): Use new advice-* functions
425         rather than old ad-* functions.  Fix function type description and
426         source links for advised functions and subrs.
428 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
430         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
432 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
434         * progmodes/compile.el (compilation-start):
435         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
437         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
438         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
440 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
442         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
443         Touch up the last change.
445 2013-12-06  Leo Liu  <sdl.web@gmail.com>
447         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
448         (inferior-octave-startup): Always use "octave> " for prompt.
449         (octave-goto-function-definition)
450         (octave-sync-function-file-names)
451         (octave-find-definition-default-filename): Remove redundant backquotes.
453 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
455         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
456         syntax for `?'.
457         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
458         where appropriate already.
459         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
460         end of method names (Bug#15874).
462 2013-12-06  Juri Linkov  <juri@jurta.org>
464         * isearch.el (isearch--saved-overriding-local-map):
465         New internal variable.
466         (isearch-mode): Set it to the initial value of
467         `overriding-terminal-local-map'.
468         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
469         with `isearch--saved-overriding-local-map'.  (Bug#16035)
471 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
473         * progmodes/octave.el (inferior-octave-completion-table):
474         Turn back into function, use `completion-table-with-cache'
475         (Bug#11906).  Update all references.
477         * minibuffer.el (completion-table-with-cache): New function.
479 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
481         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
483 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
485         * net/eww.el (eww-current-source): New variable to store page
486         source.
487         (eww-display-html, eww-mode, eww-save-history)
488         (eww-restore-history): Use it.
489         (eww-view-source): New command to view page source.
490         Opportunistically uses `html-mode' to highlight the buffer.
491         (eww-mode-map): Install it.
493 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
495         * net/dbus.el (dbus-unregister-service)
496         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
497         Fix docstring.
498         (dbus-unregister-service): Skip :serial entries in
499         `dbus-registered-objects-table'.
500         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
502 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
504         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
505         around keywords with extra `split-string' argument.
507 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
509         * windmove.el (windmove-other-window-loc): Handle navigation
510         between windows (excluding the minibuffer window - Bug#16017).
512 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
514         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
515         in D-Bus type syntax.
516         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
517         preserve unibyte strings.  (Bug#16048)
519 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
521         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
522         Call force-mode-line-update is the proper buffer (bug#16042).
524 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
526         * vc/log-edit.el (log-edit-add-new-comment): Rename to
527         `log-edit-remember-comment', make argument optional.  Adjust all
528         callers.
529         (log-edit-mode): Add `log-edit-remember-comment' to
530         `kill-buffer-hook' locally.
531         (log-edit-kill-buffer): Don't remember comment explicitly since
532         the buffer is killed anyway.
534 2013-12-04  Juri Linkov  <juri@jurta.org>
536         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
537         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
539 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
541         * notifications.el (notifications-close-notification): Call the
542         D-Bus method with ID being a `:uint32'.  (Bug#16030)
544 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
546         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
548 2013-12-03  Juri Linkov  <juri@jurta.org>
550         * progmodes/compile.el (compilation-start): Rename window alist
551         entry `no-display-ok' to `allow-no-window'.
553         * simple.el (shell-command): Add window alist entry
554         `allow-no-window' to `display-buffer'.
555         (async-shell-command): Doc fix.
557         * window.el (display-buffer-no-window): New action function.
558         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
560 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
562         * vc/log-edit.el (log-edit-set-header): Extract from
563         `log-edit-toggle-header'.
564         (log-edit-extract-headers): Separate the summary, when extracted
565         from header, from the rest of the message with an empty line.
567         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
568         line, if present, to the Summary header.
570 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
572         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
573         in current-buffer (bug#16029).
575 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
577         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
578         (debugger-mode-map): Bind it.
579         (debugger--backtrace-base): New function.
580         (debugger-eval-expression): Use it.
581         (debugger-frame-number): Skip local vars when present.
582         (debugger--locals-visible-p, debugger--insert-locals)
583         (debugger--show-locals, debugger--hide-locals): New functions.
585 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
587         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
588         "LC_ALL".
589         (tramp-get-remote-locale): New defun.
590         (tramp-open-connection-setup-interactive-shell): Use it.
592 2013-12-02  Leo Liu  <sdl.web@gmail.com>
594         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
596         * progmodes/sh-script.el (sh-shell-process):
597         * progmodes/octave.el (inferior-octave-process-live-p):
598         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
599         (gdb-inferior-io-sentinel):
600         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
602 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
604         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
605         `save-selected-window' to `log-edit-hide-buf'.  This makes
606         `log-edit-show-files' idempotent.
607         (log-edit-show-files): Mark the new window as dedicated.
609 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
611         * vc/log-edit.el (log-edit-mode-map): Add binding for
612         `log-edit-kill-biffer'.
613         (log-edit-hide-buf): Add a FIXME comment.
614         (log-edit-add-new-comment): New function, extracted from
615         `log-edit-done'.
616         (log-edit-done, log-edit-add-to-changelog): Use it.
617         (log-edit-kill-buffer): New command.
619 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
621         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
622         instead of killing the buffer.
624 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
626         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
628 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
630         * net/eww.el (eww-form-checkbox-selected-symbol)
631         (eww-form-checkbox-symbol): New customizable variable.
632         (eww-form-checkbox, eww-toggle-checkbox):
633         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
635         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
636         (shr--get-media-pref, shr--extract-best-source): New function.
637         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
638         no :src tag was specified.
640         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
641         (eww-render): Handle `eww-use-external-browser-for-content-type'.
642         Use \\` to match beginning of string instead of ^.
643         (eww-browse-with-external-browser): Provide optional URL parameter.
644         (eww-render): Set `eww-current-title' back to "".
646         * net/shr.el (shr-tag-video): Display content for video if no
647         poster is available.
648         (shr-tag-audio): Add support for <audio> tag.
650         * net/eww.el (eww-text-input-types): : New const.
651         (eww-process-text-input): Treat input types in
652         `eww-text-input-types' as text.
654         * net/shr.el (shr-tag-table): Fix comment typo.
656 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
658         * net/eww.el (eww-follow-link): New command to avoid reloading
659         pages when we follow #target links (bug#15243).
660         (eww-quit): Special mode buffers shouldn't query before exiting.
662 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
664         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
665         forms.
667 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
669         * net/eww.el (eww-restore-history): Update the window title after
670         moving in the history.
671         (eww-current-dom): New variable used to save the current DOM.
673 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
675         * vc/log-edit.el (log-edit-mode-map): Add binding for
676         `log-edit-beginning-of-line'.
677         (log-edit-setup-add-author): New user option.
678         (log-edit-beginning-of-line): New command.
679         (log-edit): Move major mode call above the contents setup so that
680         the local variable values are already applied.
681         (log-edit): Only insert "Author: " when
682         `log-edit-setup-add-author' is non-nil.
683         (log-edit): When SETUP is non-nil, position point after ": "
684         instead of point-min.
686 2013-12-01  Glenn Morris  <rgm@gnu.org>
688         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
690 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
692         * startup.el (fancy-splash-frame): On MS-Windows, trigger
693         redisplay to make sure the initial frame gets a chance to become
694         visible.  (Bug#16014)
696 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
698         Support resizing frames and windows pixelwise.
699         * cus-start.el (frame-resize-pixelwise)
700         (window-resize-pixelwise): New entries.
701         * emacs-lisp/debug.el (debug): Use window-total-height instead
702         of window-total-size.
703         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
704         * help.el (describe-bindings-internal): Call help-buffer
705         (temp-buffer-max-width): New option.
706         (resize-temp-buffer-window, help-window-setup)
707         (with-help-window): Rewrite.
708         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
709         dragging dividers.
710         * window.el (frame-char-size, window-min-pixel-height)
711         (window-safe-min-pixel-height, window-safe-min-pixel-width)
712         (window-min-pixel-width, window-safe-min-pixel-size)
713         (window-combination-p, window-safe-min-size)
714         (window-resizable-p, window--size-to-pixel)
715         (window--pixel-to-size, window--resize-apply-p): New functions.
716         (window-safe-min-height): Fix doc-string.
717         (window-size, window-min-size, window--min-size-1)
718         (window-sizable, window-sizable-p, window--min-delta-1)
719         (window-min-delta, window--max-delta-1, window-max-delta)
720         (window--resizable, window--resizable-p, window-resizable)
721         (window-full-height-p, window-full-width-p, window-at-side-p)
722         (window--in-direction-2, window-in-direction)
723         (window--resize-reset-1, window--resize-mini-window)
724         (window-resize, window-resize-no-error)
725         (window--resize-child-windows-normal)
726         (window--resize-child-windows, window--resize-siblings)
727         (window--resize-this-window, window--resize-root-window)
728         (window--resize-root-window-vertically)
729         (adjust-window-trailing-edge, enlarge-window, shrink-window)
730         (maximize-window, minimize-window, delete-window)
731         (quit-restore-window, window-split-min-size, split-window)
732         (balance-windows-2, balance-windows)
733         (balance-windows-area-adjust, balance-windows-area)
734         (window--state-get-1, window-state-get, window--state-put-1)
735         (window--state-put-2, window-state-put)
736         (display-buffer-record-window, window--display-buffer):
737         Make functions handle pixelwise sizing of windows.
738         (display-buffer--action-function-custom-type)
739         (display-buffer-fallback-action):
740         Add display-buffer-in-previous-window.
741         (display-buffer-use-some-window): Resize window to height it had
742         before.
743         (fit-window-to-buffer-horizontally): New option.
744         (fit-frame-to-buffer): Describe new values.
745         (fit-frame-to-buffer-bottom-margin): Replace with
746         fit-frame-to-buffer-margins.
747         (window--sanitize-margin): New function.
748         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
749         using window-text-pixel-size.
751 2013-11-30  Glenn Morris  <rgm@gnu.org>
753         * emacs-lisp/bytecomp.el (byte-compile-form):
754         Make the `interactive-only' warning like the `obsolete' one.
755         * comint.el (comint-run):
756         * files.el (insert-file-literally, insert-file):
757         * replace.el (replace-string, replace-regexp):
758         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
759         (goto-line, insert-buffer, next-line, previous-line):
760         Tweak `interactive-only' spec.
762         Stop keeping (most) generated cedet grammar files in the repository.
763         * Makefile.in (semantic): New.
764         (compile-main): Depend on semantic.
766 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
768         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
769         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
771         * uniquify.el (uniquify-buffer-name-style): Change default.
773         * loadup.el: Preload "uniquify".
775         * time.el (display-time-update): Update all mode lines (bug#15999).
777         * electric.el (electric-indent-mode): Enable by default.
778         * loadup.el: Preload "electric".
780 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
782         * emacs-lisp/helpers.el (string-empty-p): New function.
783         (string-blank-p): New function.
785 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
787         * imenu.el (imenu--index-alist): Add missing dot to the docstring
788         (Bug#14029).
790 2013-11-29  Andreas Politz  <politza@fh-trier.de>
791         * imenu.el (imenu--subalist-p): Don't error on non-conses and
792         allow non-lambda lists as functions.
793         (imenu--in-alist): Don't recurse into non-subalists.
794         (imenu): Don't pass function itself as an argument (Bug#14029).
796 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
798         * progmodes/python.el (python-mode-map): Remove binding for ":".
799         (python-indent-electric-colon): Remove command.
800         (python-indent-post-self-insert-function): Integrate the previous code
801         of python-indent-electric-colon.  Make it conditional on
802         electric-indent-mode.
803         (python-mode): Add ?: to electric-indent-chars.
804         Move python-indent-post-self-insert-function to the end of
805         post-self-insert-hook.
807 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
809         * doc-view.el (doc-view-goto-page): Update mode-line.
811         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
813 2013-11-27  Glenn Morris  <rgm@gnu.org>
815         * international/charprop.el, international/uni-bidi.el:
816         * international/uni-category.el, international/uni-combining.el:
817         * international/uni-comment.el, international/uni-decimal.el:
818         * international/uni-decomposition.el, international/uni-digit.el:
819         * international/uni-lowercase.el, international/uni-mirrored.el:
820         * international/uni-name.el, international/uni-numeric.el:
821         * international/uni-old-name.el, international/uni-titlecase.el:
822         * international/uni-uppercase.el:
823         Remove generated files from VCS repository.
825 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
827         * filenotify.el (file-notify-add-watch): Don't special-case
828         w32notify when computing the directory to watch.
830 2013-11-27  Glenn Morris  <rgm@gnu.org>
832         Make bootstrap without generated uni-*.el files possible again.
833         * loadup.el: Update command-line-args checking for unidata-gen.
834         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
835         * composite.el, international/characters.el:
836         Handle unicode tables being undefined.
838         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
839         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
840         (compile-main): Depend on leim rule.
841         (leim): New rule.
842         * loadup.el: Move leim-list.el to leim/ subdirectory.
843         * startup.el (normal-top-level): No more leim directory.
844         * international/ja-dic-cnv.el (skkdic-convert):
845         Disable version-control and autoloads in output files.
846         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
847         Disable version-control and autoloads in output files.
848         * leim/quail: Move here from ../leim.
849         * leim/quail/hangul.el (hangul-input-method-activate):
850         Add autoload cookie.
851         (generated-autoload-load-name): Set file-local value.
852         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
853         (generated-autoload-load-name): Set file-local value.
855 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
857         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
858         (eww-add-bookmark): ask confirmation when add to bookmarks
859         (eww-quit): ask confirmation before quitting eww
861 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
863         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
864         reading output from Diff on MS-Windows and MS-DOS.
866 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
868         * emacs-lisp/helpers.el (string-reverse): New function.
870 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
872         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
873         names on MS Windows, like "/[::1]:".
875         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
876         SWITCHES.
878 2013-11-26  Glenn Morris  <rgm@gnu.org>
880         * progmodes/python.el (python-indent-guess-indent-offset):
881         Avoid corner-case error.  (Bug#15975)
883         Preload leim-list.el.  (Bug#4789)
884         * loadup.el: Load leim-list.el when found.
885         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
887 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
889         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
891         * emacs-lisp/helpers.el (string-join): New function.
893 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
895         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
896         Mark as obsolete and replace it with a symbol property.
897         (byte-compile-form): Use new 'interactive-only property.
898         * comint.el, files.el, replace.el, simple.el:
899         Apply new 'interactive-only properly.
901 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
903         * window.el (display-buffer-at-bottom): Make sure that
904         split-window-sensibly creates the new window on bottom
905         (Bug#15961).
907 2013-11-23  David Kastrup  <dak@gnu.org>
909         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
910         on the conflict markers when available.
911         (smerge--get-marker): New function.
912         (smerge-end-re, smerge-base-re): Add subgroup.
914 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * frame.el (handle-focus-in, handle-focus-out): Add missing
917         interactive spec.
919 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
921         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
922         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
924 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
927         (gomoku--last-pos): New var.
928         (gomoku--intangible-chars): New const.
929         (gomoku--intangible): New function.
930         (gomoku-mode): Use it.  Derive from special-mode.
931         (gomoku-move-up): Adjust line count.
932         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
933         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
934         Simplify accordingly.
936         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
937         Remove blink-cursor code.
938         (blink-cursor-timer-function, blink-cursor-suspend):
939         Don't special-case GUIs.
940         (blink-cursor-mode): Use focus-in/out-hook.
942 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
944         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
945         work when annotation is invisible (Bug#13886).
947 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
949         * json.el (json-alist-p): Only return non-nil if the alist has
950         simple keys (Bug#13518).
952 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
954         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
955         when control-statement is the first statement in a buffer (Bug#15956).
957 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
959         * imenu.el (imenu-generic-skip-comments-and-strings):
960         New option (Bug#15560).
961         (imenu--generic-function): Use it.
963 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
965         * minibuffer.el (completion--in-region-1): Scroll the correct
966         window. (Bug#13898)
968 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
970         * emacs-lisp/helpers.el: Add some string helpers.
971         (string-trim-left): Removes leading whitespace.
972         (string-trim-right): Removes trailing whitespace.
973         (string-trim): Removes leading and trailing whitespace.
975         * subr.el (string-suffix-p): New function.
977 2013-11-23  Glenn Morris  <rgm@gnu.org>
979         * progmodes/python.el (python-shell-send-file):
980         Add option to delete file when done.  (Bug#15647)
981         (python-shell-send-string, python-shell-send-region): Use it.
983 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
985         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
986         to set buffer-read-only to t, never to nil.  (Bug#15938)
988         * textmodes/tex-mode.el (latex-noindent-environments):
989         Add safe-local-variable property.  (Bug#15936)
991 2013-11-23  Glenn Morris  <rgm@gnu.org>
993         * textmodes/enriched.el (enriched-mode): Doc fix.
994         * emacs-lisp/authors.el (authors-renamed-files-alist):
995         Add enriched.doc -> enriched.txt.
997         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
999 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1001         * progmodes/octave.el (inferior-octave-startup): Spit out error
1002         message.
1004 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1006         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1007         Improve docstring.
1008         Add :version.
1009         (ruby-encoding-magic-comment-style): Add :version.
1011 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1013         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1014         (Bug#15076)
1015         (octave-help-mode): Adapt to change to help-mode-finish to use
1016         derived-mode-p on 2013-09-17.
1017         (inferior-octave-prompt): Also match octave-gui.
1018         (octave-kill-process): Don't ask twice.  (Bug#10564)
1020 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1022         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1023         (inferior-octave-startup, inferior-octave-check-process)
1024         (inferior-octave-track-window-width-change)
1025         (octave-completion-at-point, octave-eldoc-function): Use it.
1026         (octave-kill-process): Provide confirmation.  (Bug#10564)
1028 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1030         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1031         Fix obsolete variable comment-use-global-state.
1033 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1035         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1036         Add `octave-source-file'.
1037         (octave-source-file): New function.  (Bug#15935)
1039 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
1041         * net/eww.el (eww-local-regex): New variable.
1042         (eww): Use it to detect localhost and similar.
1044 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1046         Add completion for command `ag'.
1047         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1048         (pcomplete/ag): New function.
1049         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1051 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1053         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1054         (bug#14646).
1055         (make-obsolete): Remove interactive spec.
1057 2013-11-21  Glenn Morris  <rgm@gnu.org>
1059         * startup.el (command-line-1): Use path-separator with -L.
1061 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1063         * emacs-lisp/package.el (describe-package-1): Add package archive
1064         to shown fields.
1066 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1068         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1069         Change default to "# encoding: %s" to differentiate it from the
1070         default Ruby encoding comment template.
1072 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1074         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1076 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1078         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1080 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1082         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1083         when rebase or bisect are in progress.
1085 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1087         * filenotify.el (file-notify-add-watch): Doc fix.
1089 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1091         * obsolete/rcompile.el: Mark obsolete.
1093         * progmodes/compile.el (compilation-start)
1094         (compilation-goto-locus, compilation-find-file):
1095         Pass no-display-ok and handle nil value from display-buffer.
1096         (Bug#13594)
1098         * window.el (display-buffer-alist, display-buffer): Document the
1099         new parameter no-display-ok.  Return either a window or nil
1100         but never a non-window value.
1102 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1104         * electric.el (electric-indent-mode-map): Remove.
1105         (electric-indent-mode): Change the global-map instead (bug#15915).
1107         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1108         Use add-function.
1110 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1112         * emacs-lisp/nadvice.el (remove-function): Align with
1113         add-function's behavior.
1115         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1116         (gdb--string-regexp): New constant.
1117         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1118         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1119         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1120         submatch 1.
1121         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1122         Adjust use accordingly.
1123         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1125 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1127         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1128         interpolation curlies (Bug#15914).
1130 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1132         * calc/calc.el (calc-context-sensitive-enter): New variable.
1133         (calc-enter): Use `calc-context-sensitive-enter'.
1135 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1137         * progmodes/cfengine.el: Version bump.
1138         (cfengine-cf-promises): New defcustom to locate cf-promises.
1139         (cfengine3-vartypes): Add new "data" type.
1140         (cfengine3--current-word): New function to get current name-like
1141         word or its bounds.
1142         (cfengine3--current-function): New function to look up a CFEngine
1143         function's definition.
1144         (cfengine3-format-function-docstring): New function.
1145         (cfengine3-make-syntax-cache): New function.
1146         (cfengine3-documentation-function): New function: ElDoc glue.
1147         (cfengine3-completion-function): New function: completion glue.
1148         (cfengine3-mode): Set `compile-command',
1149         `eldoc-documentation-function', and add to
1150         `completion-at-point-functions'.
1152 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1154         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1155         `tramp-current-connection'.
1157 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1159         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1160         nil/self/true/false with "end of symbol".
1162 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1164         * subr.el (version-regexp-alist): Fix a typo.
1166 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1168         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1169         "en_US.utf8" and "LC_CTYPE" to "".
1170         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1171         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1173 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1175         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1177 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1179         * progmodes/gud.el (ctl-x-map):
1180         Remove C-x SPC binding.  (Bug#12342)
1181         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1183 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1185         * subr.el (version-regexp-alist):
1186         Recognize hg, svn and darcs versions as snapshot versions.
1188         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1189         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1190         (ruby--encoding-comment-required-p): Extract from
1191         `ruby-mode-set-encoding'.
1192         (ruby-mode-set-encoding): Add the ability to always insert an
1193         utf-8 encoding comment.  Fix and simplify coding comment update
1194         logic.
1196 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1198         * net/tramp-gvfs.el (top): Run init code only when
1199         `tramp-gvfs-enabled' is not nil.
1200         (tramp-gvfs-enabled): Check also :system bus.
1202 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1204         Sync with upstream verilog-mode revision 78e66ba.
1205         * progmodes/verilog-mode.el (verilog-end-of-defun)
1206         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1207         (verilog-get-end-of-defun): Remove unused argument.
1208         (verilog-comment-depth): Remove unused local `e'.
1209         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1210         Don't pass arg to verilog-get-end-of-defun.
1212 2013-11-14  Glenn Morris  <rgm@gnu.org>
1214         * obsolete/assoc.el (aget): Prefix dynamic variable.
1216         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1218 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1220         * widget.el, hfy-cmap.el: Remove bogus package version number.
1222 2013-11-13  Glenn Morris  <rgm@gnu.org>
1224         * replace.el (replace-eval-replacement):
1225         Try to give more helpful error message.  (Bug#15836)
1227         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1228         (archive-7z-update): Avoid custom type mismatches.
1230         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1232 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1234         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1235         address can be empty.
1237         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1238         Accept nil SWITCHES.
1239         (tramp-gvfs-handle-write-region): Implement APPEND.
1241 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1243         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1244         binary "|" operator and closing block args delimiter.
1245         Remove FIXME comment referring to Ruby 1.8-only syntax.
1246         (ruby-smie--implicit-semi-p): Not after "|" operator.
1247         (ruby-smie--closing-pipe-p): New function.
1248         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1249         (ruby-smie-rules): Indent after "|".
1251 2013-11-12  Glenn Morris  <rgm@gnu.org>
1253         * ps-print.el (ps-face-attribute-list):
1254         Handle anonymous faces.  (Bug#15827)
1256 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1258         * window.el (display-buffer-other-frame): Fix doc-string.
1259         (Bug#15868)
1261 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1265 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1267         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1268         (tramp-sh-handle-file-local-copy): Don't write a message when
1269         saving temporary files.
1271         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1272         both directories are remote.
1273         (tramp-smb-handle-directory-files): Do not return double entries.
1274         Do not expand full file names.
1275         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1276         (tramp-smb-handle-write-region): Implement APPEND.
1277         (tramp-smb-get-stat-capability): Fix a stupid bug.
1279 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1283 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1285         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1286         throwing error over malformed let/let* (bug#15814).
1288 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1290         * iswitchb.el (iswitchb-mode): Mark obsolete.
1292 2013-11-11  Glenn Morris  <rgm@gnu.org>
1294         * international/uni-bidi.el, international/uni-category.el:
1295         * international/uni-name.el, international/uni-numeric.el:
1296         Regenerate for Unicode 6.3.0.
1298 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1300         * net/tramp.el (tramp-methods):
1301         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1302         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1304 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1306         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1307         Force highlighting text after Summary keyword in doc face for rpm.
1309 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1311         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1312         available and the word has no wildcards, append one to the grep pattern.
1313         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1314         (ispell-complete-word): Call `ispell-lookup-words' with the value
1315         independent of `ispell-look-p'.
1317 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1319         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1320         Not after "||".
1321         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1322         their parent.
1324 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1326         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1327         (ruby-font-lock-keywords): Use backquote.
1329 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1331         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1332         (ruby-smie--backward-token): Only consider full-string matches.
1334 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1336         * faces.el (describe-face): Add distant-foreground.
1338 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1340         * progmodes/ruby-mode.el: Improve encoding comment handling.
1341         (ruby-encoding-magic-comment-style): New option.
1342         (ruby-custom-encoding-magic-comment-template): New option.
1343         (ruby--insert-coding-comment, ruby--detect-encoding):
1344         New functions extracted from `ruby-mode-set-encoding'.
1345         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1346         to control the style of the auto-inserted encoding comment.
1348 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1350         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1351         Use `smie-backward-sexp' with token argument.
1353 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1355         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1356         Remove instrumentation code.
1358 2013-11-08  Glenn Morris  <rgm@gnu.org>
1360         * progmodes/autoconf.el (autoconf-mode):
1361         Tweak comment-start-skip.  (Bug#15822)
1363 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1365         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1366         at bobp (bug#15826).
1367         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1369 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1371         * man.el (Man-start-calling): New macro, extracted from
1372         Man-getpage-in-background.
1373         (Man-getpage-in-background): Use it.
1374         (Man-update-manpage): New command.
1375         (Man-mode-map): Bind it.
1377 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1379         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1380         of "and", "or", "&&" and "||".
1381         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1382         argument.  Prohibit opening curly brace because it could only be a
1383         block opener in that position.
1384         (ruby-smie--forward-token, ruby-smie--backward-token):
1385         Separate "|" from "&" or "*" going after it.  That can happen in block
1386         arguments.
1387         (ruby-smie--indent-to-stmt): New function, seeks the end of
1388         previous statement or beginning of buffer.
1389         (ruby-smie-rules): Use it.
1390         (ruby-smie-rules): Check if there's a ":" before a curly block
1391         opener candidate; if there is, it's a hash.
1393 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1395         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1396         (cl--block-wrapper): Fix last accidental change.
1398 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1400         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1401         Instrument, in order to hunt failure on hydra.
1403 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1405         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1406         malformed bindings form (bug#15814).
1408 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1410         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1411         "." compared to " @ ".  This incidentally fixes some indentation
1412         examples with "do".
1413         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1414         (ruby-smie-grammar): New tokens: "and" and "or".
1415         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1416         Exclude "and" and "or".  Remove "do" in order to work around token
1417         priorities.
1418         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1419         beginning-of-buffer.
1421 2013-11-06  Glenn Morris  <rgm@gnu.org>
1423         * Makefile.in (setwins_almost, setwins_for_subdirs):
1424         Avoid accidental matches.
1426 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1428         * menu-bar.el (popup-menu): Use key-binding.
1430 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1432         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1433         menus, support also the menus produced by minor modes.
1434         (Bug#15817)
1436 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1438         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1439         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1441 2013-11-06  Glenn Morris  <rgm@gnu.org>
1443         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1444         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1445         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1447 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1449         * electric.el (electric-indent-just-newline): New command.
1450         (electric-indent-mode-map): New keymap.
1451         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1452         Re-add :group which weren't redundant.
1454         * electric.el (electric-indent-local-mode): New minor mode.
1455         (electric-indent-functions-without-reindent): New var.
1456         (electric-indent-post-self-insert-function): Use it.
1457         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1459 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1461         * international/quail.el (quail-help): Be more explicit about the
1462         meaning of the labels shown on the keys.  (Bug#15800)
1464         * startup.el (normal-top-level): Load the subdirs.el files before
1465         setting the locale environment.  (Bug#15805)
1467 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1469         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1470         via arguments so as to get the right ones (bug#15418).
1472         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1474 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1476         Fix problems found while writing a test suite.
1478         * net/tramp-compat.el (tramp-compat-load): New defun.
1479         * net/tramp.el (tramp-handle-load): Use it.
1481         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1482         "(numberp ok-if-already-exists)" correctly.
1484 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1486         * international/characters.el (glyphless-char-display-control):
1487         Add usage note.
1489 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1491         * progmodes/python.el (python-mode):
1492         * progmodes/scheme.el (scheme-mode):
1493         * progmodes/prolog.el (prolog-mode):
1494         * progmodes/ruby-mode.el (ruby-mode):
1495         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1496         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1498 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1500         * rect.el (rectangle--highlight-for-redisplay):
1501         * emacs-lisp/smie.el (smie--next-indent-change):
1502         Use buffer-chars-modified-tick.
1504         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1506         * electric.el (electric-indent-post-self-insert-function):
1507         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1509 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1511         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1513 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1515         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1516         (bug#15786).
1518 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1522         * progmodes/python.el: Fix up last change.
1523         (python-shell--save-temp-file): New function.
1524         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1525         `string' comes from the current buffer.
1526         (python-shell-send-string-no-output): Remove `msg' arg.
1527         (python--use-fake-loc): New var.
1528         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1529         extra coding line added by python-shell--save-temp-file.
1530         (python-shell-send-region): Use python-shell--save-temp-file and
1531         python-shell-send-file directly.  Add `nomain' argument.
1532         (python-shell-send-buffer): Use python-shell-send-region.
1533         (python-electric-pair-string-delimiter): New function.
1534         (python-mode): Use it.
1536 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1538         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1539         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1540         environment and decoding all of the default-directory's to here
1541         from command-line.
1542         (command-line): Decode also argv[0].
1544         * loadup.el: Error out if default-directory is a multibyte string
1545         when we are dumping.
1547         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1549 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1551         * emacs-lisp/package.el (package-menu-mode)
1552         (package-menu--print-info, package-menu--archive-predicate):
1553         Add Archive column to package list.
1555 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1557         Fix problems found while writing a test suite.
1559         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1560         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1561         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1562         to nil when running original file name handler.  Otherwise,
1563         there are problems with constructs like "$$FOO".
1565         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1566         for `localname'.
1568 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1570         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1572         * subr.el (version<, version<=, version=):
1573         Update docstrings with information for snapshot versions.
1575         * helpers.el: New library for misc helper functions.
1576         (hash-table-keys): New function returning a list of hash keys.
1577         (hash-table-values): New function returning a list of hash values.
1579 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1581         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1582         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1584 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1586         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1587         checking whether point is after a 1-letter word.
1589 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1591         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1592         Don't infloop when expanding region over `multiline' syntax-type that
1593         begins a line (bug#15778).
1595 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1598         Make it into a proper minor mode.
1599         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1600         (rectangle-mark-mode-map): New keymap.
1601         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1603 2013-11-04  Glenn Morris  <rgm@gnu.org>
1605         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1607 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1609         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1610         (ruby-smie-rules): Use smie-rule-parent instead.
1612         * emacs-lisp/smie.el (smie-rule-parent): Always call
1613         smie-indent-virtual rather than only for hanging tokens.
1614         (smie--next-indent-change): New helper command.
1616 2013-11-03  Glenn Morris  <rgm@gnu.org>
1618         * Makefile.in (abs_srcdir): Remove.
1619         (emacs): Unset EMACSLOADPATH.
1621 2013-11-02  Glenn Morris  <rgm@gnu.org>
1623         * Makefile.in (EMACS): Use a relative filename.
1624         (abs_top_builddir): Remove.
1625         (custom-deps, finder-data, autoloads): Use --chdir.
1627         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1629         Use relative filenames in TAGS files.
1630         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1631         (lisptagsfiles4, TAGS): Use relative file names.
1632         (TAGS-LISP): Remove.
1633         (maintainer-clean): No more TAGS-LISP file.
1635         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1636         (lisptagsfiles4): Use absolute filenames again.
1637         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1638         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1639         (maintainer-clean): Delete TAGS, TAGS-LISP.
1641 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1643         * emacs-lisp/package.el (package-version-join):
1644         Recognize snapshot versions.
1646 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1648         * subr.el (version-regexp-alist): Add support for snapshot versions.
1650 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1652         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1653         New function, replacement for `smie-rule-parent' for when we want to
1654         skip over our direct parent if it's an assignment token..
1655         (ruby-smie-rules): Use it.
1657 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1659         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1660         unconditionally.  Remove now unnecessary forward declarations.
1661         Remove XEmacs-specific setup.
1662         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1663         (ruby-font-lock-syntactic-keywords)
1664         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1665         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1666         (ruby-here-doc-end-syntax): Remove.
1667         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1668         defined as function.
1670 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1672         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1674 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1676         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1677         table and abbrev table, `define-derived-mode' does that for us
1678         anyway.
1680 2013-11-01  Glenn Morris  <rgm@gnu.org>
1682         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1683         files is atomic for some time, so no parallel compilation issues).
1685 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1687         * faces.el (face-x-resources): Add :distant-foreground.
1688         (region): Use :distant-foreground for gtk and ns.
1690 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1692         Allow multiple bibliographies when BibLaTeX is used rather than
1693         BibTeX.
1694         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1695         (reftex-locate-bibliography-files): Us it.
1697 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1699         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1700         allow comments in pbm files.
1702         * term/w32-win.el (dynamic-library-alist): Support newer versions
1703         of libjpeg starting with v7: look only for the DLL from the
1704         version against which Emacs was built.
1705         Support versions of libpng beyond 1.4.x.
1706         Support libtiff v4.x.
1708 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1710         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1711         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1712         Add property :safe.
1713         (ruby-deep-arglist): Add property :type.
1715 2013-10-31  Glenn Morris  <rgm@gnu.org>
1717         * Makefile.in (custom-deps, finder-data): No need to setq the target
1718         variables, we are in the right directory and the defaults work fine.
1720 2013-10-30  Glenn Morris  <rgm@gnu.org>
1722         * Makefile.in (autoloads): Do not use abs_lisp.
1724         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1725         `newline' does not respect `standard-output', so use `princ'.
1727 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1729         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1730         * buff-menu.el (Buffer-menu--unmark): New function.
1731         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1733 2013-10-30  Glenn Morris  <rgm@gnu.org>
1735         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1737         * emacs-lisp/package.el (lm-homepage): Declare.
1739         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1740         Fix doc typos.
1742         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1744         * Makefile.in (finder-data, autoloads, update-subdirs)
1745         (compile-main, compile-clean, compile-always, bootstrap-clean):
1746         Check return value of cd.
1747         (compile-calc): Remove.
1749 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1751         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1753         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1754         (byte-compile-and-folded): New function.
1755         (=, <, >, <=, >=): Use it.
1757         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1758         (path-separator, null-device, buffer-file-coding-system)
1759         (lpr-headers-switches): Check system-type before modifying them.
1760         (find-buffer-file-type-coding-system): Mark obsolete.
1761         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1762         find-file-not-found-set-buffer-file-coding-system.
1763         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1764         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1765         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1766         (w32-direct-print-region-helper, w32-direct-print-region-function)
1767         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1768         * startup.el (normal-top-level-add-subdirs-to-load-path):
1769         * ps-print.el (ps-print-region-function):
1770         * lpr.el (print-region-function): Use new name.
1772         * subr.el (custom-declare-variable-early): Remove function.
1773         (custom-declare-variable-list): Remove var.
1774         (error, user-error): Remove `while' loop.
1775         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1776         (user-emacs-directory-warning, locate-user-emacs-file):
1777         Move to files.el.
1778         * simple.el (read-quoted-char-radix, read-quoted-char):
1779         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1780         Move from subr.el.
1781         * custom.el (custom-declare-variable-list): Don't process
1782         custom-declare-variable-list.
1784         * progmodes/python.el (python-shell-get-buffer): New function.
1785         (python-shell-get-process): Use it.
1786         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1787         Python which encoding was used.  Don't split-string since we only care
1788         about the first line.  Return the temp-file, if applicable.
1789         (python-shell-send-region): Tell compile.el how to turn locations in
1790         the temp-file into locations in the source buffer.
1792 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1794         * subr.el (undefined): Add missing behavior from the C code for
1795         unbound keys.
1797         * rect.el: Use lexical-binding.  Add new rectangular region support.
1798         (rectangle-mark): New command.
1799         (rectangle--region): New var.
1800         (deactivate-mark-hook): Reset rectangle--region.
1801         (rectangle--extract-region, rectangle--insert-for-yank)
1802         (rectangle--highlight-for-redisplay)
1803         (rectangle--unhighlight-for-redisplay): New functions.
1804         (region-extract-function, redisplay-unhighlight-region-function)
1805         (redisplay-highlight-region-function): Use them to handle
1806         rectangular region.
1807         * simple.el (region-extract-function): New var.
1808         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1809         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1810         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1811         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1812         (redisplay-unhighlight-region-function)
1813         (redisplay-highlight-region-function): New vars.
1814         (redisplay--update-region-highlight): New function.
1815         (pre-redisplay-function): Use it.
1816         (exchange-point-and-mark): Don't deactivate the mark before
1817         reactivate-it anyway.
1818         * comint.el (comint-kill-region): Remove yank-handler argument.
1819         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1820         (delete-char): Remove property, since it's now part of their
1821         default behavior.
1822         (self-insert-iso): Remove property since this command doesn't exist.
1824         * emacs-lisp/package.el (package--download-one-archive)
1825         (describe-package-1): Don't query the user about final newline.
1827 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1829         * net/tramp.el (tramp-methods): Document new functionality.
1830         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1831         tramp-hostname-checker if method provides one instead of scanning
1832         argument list for "%h" to decide hostname acceptability.
1834 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1836         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1837         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1838         Handle COPY-CONTENTS.  (Bug#15737)
1840 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1842         * epa-file.el
1843         (epa-file-cache-passphrase-for-symmetric-encryption):
1844         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1846 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1848         * image.el (defimage):
1849         (image-load-path): Doc fixes.
1851 2013-10-27  Alan Mackenzie  <acm@muc.de>
1853         Indent statements in macros following "##" correctly.
1854         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1855         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1857 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1859         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1861 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1863         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1864         after `=' is probably a new expression.
1866 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1868         * man.el (man-imenu-title): New option.
1869         (Man-mode-map): Add menu.  (Bug#15722)
1870         (Man-mode): Add imenu to menu.
1872 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1874         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1875         specific in what the first arg can be: a non-keyword word,
1876         string/regexp/percent literal opener, opening paren, or unary
1877         operator followed directly by word.
1879 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1881         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1882         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1883         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1884         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1885         Remove vars, they do not apply any more.
1886         (prolog-mode-abbrev-table): Remove redundant declaration.
1887         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1888         (prolog-use-smie): Remove.
1889         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1890         supported by prolog-electric-if-then-else-flag.
1891         (prolog-mode-variables, prolog-menu): Use setq-local.
1892         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1893         Remove binding to `Backspace' since this key doesn't exist anyway.
1894         Remove bindings for electric self-inserting keys.
1895         (prog-mode): Assume it's defined.
1896         (prolog-post-self-insert): New function.
1897         (prolog-mode): Use it.
1898         (prolog-indent-line, prolog-indent-level)
1899         (prolog-find-indent-of-matching-paren)
1900         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1901         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1902         (prolog-goto-next-paren, prolog-in-string-or-comment)
1903         (prolog-tokenize, prolog-inside-mline-comment)
1904         (prolog-find-start-of-mline-comment): Remove functions.
1905         (prolog-find-unmatched-paren, prolog-clause-end)
1906         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1907         (prolog-electric--if-then-else): Rename from
1908         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1909         (prolog-tokenize-searchkey): Remove const.
1910         (prolog-clause-info): Use forward-sexp.
1911         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1912         (prolog-electric-if-then-else): Remove commands.
1913         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1914         for use in post-self-insert-hook.
1915         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1916         for use in post-self-insert-hook.
1917         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1918         for use in post-self-insert-hook.
1919         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1920         adapt it for use in post-self-insert-hook.
1922 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1924         * emacs-lisp/ert.el (ert-run-tests-interactively):
1925         Use `completing-read'.  (Bug#9756)
1927 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1929         * simple.el (line-move): Call line-move-1 instead of
1930         line-move-visual when the current window hscroll is zero, but
1931         temporary-goal-column indicates we will need to hscroll as result
1932         of the movement.  (Bug#15712)
1934 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1936         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1937         capitalization.  Use :visible instead of :active.
1938         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1939         commands that are used with SMIE.
1940         (ruby-do-end-to-brace): Insert space after `{'.
1942 2013-10-25  John Anthony  <john@jo.hnanthony.com>
1944         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
1946         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1948 2013-10-25  Glenn Morris  <rgm@gnu.org>
1950         * vc/vc.el (vc-print-log): Don't use a working revision unless
1951         one was explicitly specified.  (Bug#15322)
1953 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * subr.el (add-to-list): Preserve return value in compiler-macro
1956         (bug#15692).
1958 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1960         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1961         result.  Ask user to retry using '-all' flag.  (Bug#15701)
1963 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1965         * emacs-lisp/smie.el: New smie-config system.
1966         (smie-config): New defcustom.
1967         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1968         (smie-config-guess, smie-config-save): New commands.
1969         (smie-config--mode-local, smie-config--buffer-local)
1970         (smie-config--trace, smie-config--modefuns): New vars.
1971         (smie-config--advice, smie-config--mode-hook)
1972         (smie-config--setter, smie-config-local, smie-config--get-trace)
1973         (smie-config--guess-value, smie-config--guess): New functions.
1974         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1975         text properties.  Treat "string fence" syntax like string syntax.
1977         * progmodes/sh-script.el (sh-use-smie): Change default.
1978         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1979         (sh-var-value): Simplify by CSE.
1980         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1981         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1982         is used.
1983         (sh-guess-basic-offset): Use cl-incf.
1984         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1986 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
1988         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1989         (bug#15699).
1991 2013-10-24  Glenn Morris  <rgm@gnu.org>
1993         * Makefile.in (abs_top_srcdir): Remove.
1994         (update-subdirs): Use relative path to update-subdirs.
1996 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
1998         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1999         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2000         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2001         Call unmsys--file-name before expand-file-name, not after it.
2003 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2005         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2006         (ert-test-skipped): New error.
2007         (ert-skip, ert-stats-skipped): New defuns.
2008         (ert--skip-unless): New macro.
2009         (ert-test-skipped): New struct.
2010         (ert--run-test-debugger, ert-test-result-type-p)
2011         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2012         (ert--stats-set-test-and-result, ert-char-for-test-result)
2013         (ert-string-for-test-result, ert-run-tests-batch)
2014         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2015         Handle skipped tests.  (Bug#9803)
2017 2013-10-24  Glenn Morris  <rgm@gnu.org>
2019         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2021         * Makefile.in (abs_top_srcdir): New, set by configure.
2022         (update-subdirs): Correct build-aux location.
2024 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2026         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2027         value, whether we could auto-deduce `backend', or not.
2029         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2030         with parameters" example.  Simplify the "is it block or is it
2031         hash" check, but also make it more thorough.
2033 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2035         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2037 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2039         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2040         { if it is hanging.
2042         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2043         :before ";".
2045 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2047         * progmodes/compile.el (compilation-directory-matcher)
2048         (compilation-page-delimiter):
2049         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2051 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2053         * ido.el (ido-tidy): Handle read-only text.
2055 2013-10-23  Glenn Morris  <rgm@gnu.org>
2057         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2058         (emacs, compile, compile-always):
2059         Quote entities that might contain whitespace.
2060         (custom-deps, finder-data, autoloads): Use abs_lisp.
2061         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2062         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2063         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2065 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2067         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2068         Use `following-char'.
2070 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2072         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2073         * progmodes/ruby-mode.el (ruby-smie-rules):
2074         Remove corresponding workaround.  Fix indentation rule of ";" so it
2075         also applies when ";" is the parent.
2077 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2079         * frame.el (display-screens, display-pixel-height)
2080         (display-pixel-width, display-mm-width, display-backing-store)
2081         (display-save-under, display-planes, display-color-cells)
2082         (display-visual-class, display-monitor-attributes-list):
2083         Mention the optional ‘display’ argument in doc strings.
2085 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2087         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2088         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2090 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2092         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2093         TODO.  Add "." after " @ ".
2094         (ruby-smie--at-dot-call): New function.  Checks if point at method
2095         call with explicit target.
2096         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2097         to the method name tokens when it precedes them.
2098         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2099         (ruby-smie-rules): Add rule for indentation before and after "."
2100         token.
2102 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2104         * textmodes/remember.el (remember-diary-extract-entries):
2105         Avoid add-to-list.
2107         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2108         an instruction.
2110 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2112         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2113         (ruby-smie--implicit-semi-p): Add new operator chars.
2115         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2116         `smie-down-list'.
2117         (ruby-smie--args-separator-p): Check that there's no newline
2118         between method call and its arguments.
2120 2013-10-20  Alan Mackenzie  <acm@muc.de>
2122         Allow comma separated lists after Java "implements".
2124         * progmodes/cc-engine.el (c-backward-over-enum-header):
2125         Parse commas.
2126         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2127         from a "disallowed" list in enum fontification.
2129 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2131         * startup.el (default-frame-background-mode): Remove unused defvar.
2133         * progmodes/verilog-mode.el (verilog-mode): Don't set
2134         comment-indent-function globally.
2136 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2138         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2139         Move Info menu item creation to ns-win.el.
2141         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2142         in menu bar.
2144         * menu-bar.el: Move GNUStep specific menus...
2146         * term/ns-win.el (ns-initialize-window-system): ... to here.
2148 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2150         * simple.el (newline): Only run post-self-insert-hook when
2151         called interactively.
2153 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2155         * icomplete.el (icomplete-with-completion-tables): Add :version.
2157 2013-10-19  Alan Mackenzie  <acm@muc.de>
2159         Fix fontification bugs with constructors and const.
2161         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2162         CASE 2) Remove the check for the absence of a suffix construct
2163         after a function declaration with only types (no identifiers) in
2164         the parentheses.  Also, accept a function declaration with just a
2165         type inside the parentheses, if this type can be positively
2166         recognised as such, or if a prefix keyword like "explicit" nails
2167         down the construct as a declaration.
2169 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2171         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2172         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2173         the problem whereby selecting a menu item that leads to a
2174         minibuffer prompt moves the cursor out of the minibuffer window,
2175         making it hard to type at the prompt.  Suggested by Stefan Monnier
2176         <monnier@iro.umontreal.ca>.
2178 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2180         * menu-bar.el: Don't make Services menu.
2182 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2184         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2185         (ffap-alist): Use ffap-c++-mode for c++-mode.
2186         (ffap-c++-path): New variable.
2187         (ffap-c++-mode): New function.
2189 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2191         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2193 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2195         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2196         introduced on 2013-09-08, which results in an infinite loop
2197         requesting a password.
2199 2013-10-18  Glenn Morris  <rgm@gnu.org>
2201         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2203 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2205         Sync with upstream verilog-mode revision 1a6ecec7.
2206         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2207         (verilog-mode-release-date): Remove.
2208         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2209         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2210         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2211         (verilog-auto-tieoff-ignore-regexp)
2212         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2213         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2214         (verilog-signals-with, verilog-dir-cache-preserving)
2215         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2216         Doc fixes.
2217         (verilog-case-fold): New option, to control case folding in
2218         regexp searches, bug597.
2219         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2220         (verilog-string-match-fold, verilog-in-paren-count)
2221         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2222         (verilog-at-close-struct-p): New functions.
2223         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2224         (verilog-forward-sexp, verilog-set-auto-endcomments):
2225         (verilog-leap-to-case-head): Handle "unique0" case.
2226         (verilog-in-constraint-re): New constant.
2227         (verilog-keywords, verilog-type-font-keywords):
2228         Add some SystemVerilog 1800-2012 keywords.
2229         (verilog-label-be): Remove unimplemented argument, bug669.
2230         (verilog-batch-execute-func): When batch expanding clear
2231         create-lockfiles to prevent spurious user locks when a file ends
2232         up not changing.
2233         (verilog-calculate-indent, verilog-calc-1)
2234         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2235         (verilog-do-indent): Fix indentation of nested constraints
2236         and structures.
2237         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2238         (verilog-auto-inst-param): Use verilog-string-match-fold.
2239         (verilog-read-inst-module-matcher):
2240         Fix AUTOINST on gate primitives with #1.
2241         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2242         Reads all user-defined typed variables.
2243         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2244         (verilog-signals-matching-regexp)
2245         (verilog-signals-not-matching-regexp, verilog-auto):
2246         Respect verilog-case-fold.
2247         (verilog-diff-report): Fix line count.
2248         (verilog-auto-assign-modport): Remove unused local `modi'.
2249         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2250         better handle multidimensional arrays.
2251         Fix packed array ports misadding bit index in AUTOINST, bug637.
2252         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2253         to not double-declare existing outputs and inputs, respectively.
2254         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2255         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2256         (verilog-sk-uvm-component): New skeleton.
2257         (verilog-submit-bug-report): Add verilog-case-fold,
2258         remove verilog-mode-release-date.
2260 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2262         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2263         as before.
2265 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2267         * textmodes/remember.el (remember): set buffer-offer-save in
2268         remember buffers (bug#13566).
2270 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2272         When evaluating forms in ielm, direct standard output to ielm
2273         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2274         whitespace throughout.
2276         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2277         (ielm-return-for-effect): New command.
2278         (ielm-send-input): Accept optional `for-effect' parameter.
2279         (ielm-eval-input): Accept optional `for-effect' parameter.
2280         Bind `standard-output' to stream we create using
2281         `ielm-standard-output-impl'.  Suppress printing result when
2282         `for-effect'.
2283         (ielm-standard-output-impl): New function.
2284         (inferior-emacs-lisp-mode): Explain new features in documentation.
2286 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2288         Code cleanup.
2290         * net/tramp.el (tramp-debug-message): Do not check for connection
2291         buffer.
2292         (tramp-message): Use "vector" connection property.
2294         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2295         (tramp-equal-remote, tramp-eshell-directory-change)
2296         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2297         (tramp-adb-handle-rename-file)
2298         * net/tramp-cmds.el (tramp-list-remote-buffers)
2299         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2300         * net/tramp-compat.el (tramp-compat-process-running-p)
2301         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2302         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2303         (tramp-gvfs-handle-rename-file)
2304         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2305         (tramp-set-file-uid-gid)
2306         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2307         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2308         of `file-remote-p'.
2310         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2311         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2312         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2313         (tramp-gw-open-network-stream): Suppress unrelated traces.
2315         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2316         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2317         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2318         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2319         connection property.
2321         * net/tramp-cache.el (top): Suppress traces when reading
2322         persistency file.
2324         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2325         Refactor common code.  Improve debug message.
2326         (tramp-maybe-open-connection)
2327         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2328         connection buffer too early.
2330         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2331         from `tramp-smb-actions-with-acl'.
2332         (tramp-smb-actions-set-acl): New defconst.
2333         (tramp-smb-handle-copy-directory)
2334         (tramp-smb-action-get-acl): New defun, renamed from
2335         `tramp-smb-action-with-acl'.
2336         (tramp-smb-action-set-acl): New defun.
2337         (tramp-smb-handle-set-file-acl): Rewrite.
2339 2013-10-17  Glenn Morris  <rgm@gnu.org>
2341         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2343 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * skeleton.el (skeleton-newline): Remove.
2346         (skeleton-internal-1): Use (insert "\n") instead.
2348         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2349         let-bindings.
2351         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2352         forward-sexp-function while we redo its job (bug#15613).
2354 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2356         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2357         represented by lists.
2359 2013-10-16  Glenn Morris  <rgm@gnu.org>
2361         * tmm.el (tmm--history): New dynamic variable.
2362         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2364 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2366         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2367         (tramp-smb-errors): Add error messages.
2368         (tramp-smb-actions-with-acl): New defconst.
2369         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2370         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2371         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2372         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2373         (tramp-smb-get-stat-capability): Fix tests.
2375 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2377         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2378         (bug#15580).
2380 2013-10-16  Glenn Morris  <rgm@gnu.org>
2382         * ansi-color.el (ansi-color-drop-regexp):
2383         Add 1J, 1K, 2K.  (Bug#15617)
2385         * files.el (hack-local-variables--warned-lexical): New.
2386         (hack-local-variables):
2387         Warn about misplaced lexical-binding.  (Bug#15616)
2389         * net/eww.el (eww-render): Always set eww-current-url,
2390         and update header line.  (Bug#15622)
2391         (eww-display-html): ... Rather than just doing it here.
2393 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2395         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2396         menu navigations commands.
2398 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2400         * progmodes/subword.el (subword-capitalize): Be careful when
2401         the search for [[:alpha:]] fails (bug#15580).
2403 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2405         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2406         to commands that scroll the menu.
2408 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2410         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2411         Handle methods ending with `?' and `!'.
2413 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2415         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2416         `japanese-cp932' to `cp932' to fix the problem where saving a
2417         source file written in Shift_JIS twice would end up having
2418         `coding: japanese-cp932' which Ruby could not recognize.
2419         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2420         in `ruby-encoding-map'.
2421         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2422         doesn't need to be explicitly declared in magic comment.
2423         (ruby-encoding-map): Add type declaration for better customize UI.
2425 2013-10-13  Glenn Morris  <rgm@gnu.org>
2427         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2428         Occur buffers are read-only.  http://bugs.debian.org/720775
2430         * emacs-lisp/authors.el (authors-fixed-entries):
2431         Comment out old alpha stuff.
2433 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2435         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2436         to `after-save-hook' instead of `before-save-hook'.
2437         (ruby-mode-set-encoding): Use the value of coding system used to
2438         write the file.  Call `basic-save-buffer-1' after modifying the
2439         buffer.
2441 2013-10-13  Alan Mackenzie  <acm@muc.de>
2443         Fix indentation/fontification of Java enum with
2444         "implements"/generic.
2446         * progmodes/cc-engine.el (c-backward-over-enum-header):
2447         Extracted from the three other places and enhanced to handle generics.
2448         (c-inside-bracelist-p): Uses new function above.
2449         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2450         function above.
2451         (c-font-lock-enum-tail): Uses new function above.
2453 2013-10-13  Kenichi Handa  <handa@gnu.org>
2455         * international/mule-cmds.el (select-safe-coding-system): Remove a
2456         superfluous condition in chekcing whether a coding system is safe
2457         or not.
2459 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2461         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2463 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2465         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2467 2013-10-13  Glenn Morris  <rgm@gnu.org>
2469         * menu-bar.el (menu-bar-update-buffers):
2470         Unify Buffers menu prompt string.  (Bug#15576)
2472         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2474         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2475         Add some entries.
2476         (authors-fixed-entries): Use accented form of name.
2478 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2480         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2481         method calls (bug#15594).
2482         (ruby-smie--args-separator-p): New function.
2483         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2484         recognize paren-free method calls.
2486         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2487         internals of universal-argument.
2489 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2491         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2492         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2493         dropped menu on second mouse click on the menu bar.
2495 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2497         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2498         (explicit-shell-file-name): Declare.
2499         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2500         (sh-completion-at-point-function): New function.
2501         (sh-mode): Use it.
2502         (sh-smie--keyword-p): Remove unused argument.
2503         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2504         vars.
2505         (sh-set-shell): Always setup SMIE, even if we use the
2506         old indentation code.
2508 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2510         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2511         cases of ? and =.
2512         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2513         predicate would return nil are almost non-existent.
2514         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2516         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2517         cache also after commands that modify the buffer but don't move
2518         point.
2520 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2522         * env.el (substitute-env-in-file-name): New function.
2523         (substitute-env-vars): Extend the meaning of the optional arg.
2525 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2527         * term/w32-win.el (dynamic-library-alist): Define separate lists
2528         of GIF DLLs for versions before and after 5.0.0 of giflib.
2529         (Bug#15531)
2531 2013-10-10  João Távora  <joaotavora@gmail.com>
2533         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2534         not locked, use last revision and current source as
2535         defaults.  (Bug#15569)
2537 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2539         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2540         menu-bar is hidden.
2542 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2544         * window.el (pop-to-buffer-same-window): Fix doc-string.
2545         (Bug#15492)
2547 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2549         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2551 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2553         * calendar/icalendar.el (icalendar-import-file):
2554         Fix interactive spec.  (Bug#15482)
2556 2013-10-10  Glenn Morris  <rgm@gnu.org>
2558         * desktop.el (desktop-save): Default to saving in .emacs.d,
2559         since PWD is no longer in desktop-path by default.  (Bug#15319)
2561         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2562         now that text mode has a menu with the same entry.
2563         (menu-bar-text-mode-auto-fill): Remove now unused func.
2564         * textmodes/text-mode.el (text-mode-map):
2565         Use auto-fill help text from menu-bar.el.
2567 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2569         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2571 2013-10-09  Juri Linkov  <juri@jurta.org>
2573         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2574         instead of this-command-keys.  Add universal-argument-more and
2575         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2577 2013-10-09  Glenn Morris  <rgm@gnu.org>
2579         * vc/vc-svn.el (vc-svn-create-repo):
2580         Expand paths in file://... url.  (Bug#15446)
2582         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2583         Add some entries.
2584         (authors): Remove unused local variables.
2586 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2588         * profiler.el: Create a more coherent calltree from partial backtraces.
2589         (profiler-format): Hide the tail with `invisible' so that C-s can still
2590         find the hidden elements.
2591         (profiler-calltree-depth): Don't recurse so enthusiastically.
2592         (profiler-function-equal): New hash-table-test.
2593         (profiler-calltree-build-unified): New function.
2594         (profiler-calltree-build): Use it.
2595         (profiler-report-make-name-part): Indent the calltree less.
2596         (profiler-report-mode): Add visibility specs for profiler-format.
2597         (profiler-report-expand-entry, profiler-report-toggle-entry):
2598         Expand the whole subtree when provided with a prefix arg.
2600 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2602         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2603         iuwu-mod token.
2604         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2605         hanging iuwu-mod token.
2606         (ruby-smie--forward-token): Do not include a dot after a token in
2607         that token.
2608         (ruby-smie--backward-token): Likewise.
2610 2013-10-08  Juri Linkov  <juri@jurta.org>
2612         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2613         to isearch-other-control-char.
2614         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2615         and isearch-post-command-hook to post-command-hook.
2616         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2617         and isearch-post-command-hook from post-command-hook.
2618         (isearch-unread-key-sequence)
2619         (isearch-reread-key-sequence-naturally)
2620         (isearch-lookup-scroll-key, isearch-other-control-char)
2621         (isearch-other-meta-char): Remove functions.
2622         (isearch-pre-command-hook, isearch-post-command-hook):
2623         New functions based on isearch-other-meta-char rewritten
2624         relying on the new behavior of overriding-terminal-local-map
2625         that does not replace the local keymaps any more.  (Bug#15200)
2627 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2629         Support menus on text-mode terminals.
2630         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2631         functionality.
2633         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2635         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2636         Move here from mouse.el.
2637         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2638         and arrow keys.
2639         (tty-menu-navigation-map): New map for TTY menu navigation.
2641         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2643         * frame.el (display-mouse-p): Report text-mode mouse as available
2644         on w32.
2645         (display-popup-menus-p): Report availability if mouse is
2646         available; don't condition on window-system.
2648         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2649         (tty-menu-selected-face): New faces.
2651 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2653         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2654         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2655         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2656         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2657         New constants.
2658         (lisp-mode-variables): New `elisp' argument.
2659         (emacs-lisp-mode): Use it.
2660         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2661         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2663         * indent.el: Use lexical-binding.
2664         (indent-region): Add progress reporter.
2665         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2666         last step.
2667         (indent--next-tab-stop): New function to implement this behavior.
2668         (tab-to-tab-stop, move-to-tab-stop): Use it.
2670 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2672         * indent.el (indent-rigidly--current-indentation): New function.
2673         (indent-rigidly-map): New var.
2674         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2676 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2678         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2680 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * progmodes/perl-mode.el: Use lexical-binding.
2683         Remove redundant :group args.
2684         (perl-nochange): Change default to be closer to other major modes's
2685         standard behavior.
2686         (perl-indent-line): Don't consider text on current line as a
2687         valid beginning of function from which to indent.
2689         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2690         with more than one argument (bug#15538).
2692         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2694         * vc/pcvs.el: Use lexical-binding.
2695         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2696         environment of `eval'.
2697         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2698         than a list of expressions.  Adjust callers.
2699         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2701 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2703         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2704         case of the dot in a chained method call being on the following line.
2706 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2708         * electric.el (electric-indent-inhibit): New var.
2709         (electric-indent-post-self-insert-function): Use it.
2710         * progmodes/python.el (python-mode): Set it.
2712         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2713         open braces.
2715         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2717         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2718         (css-mode): Use electric-indent-chars.
2720         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2721         (font-lock-beg, font-lock-end): Move before first use.
2722         (nxml-mode): Use syntax-propertize-function.
2723         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2724         (nxml-extend-after-change-region): Remove.
2725         * nxml/xmltok.el: Use lexical-binding.
2726         (xmltok-save): Use `declare'.
2727         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2728         * nxml/nxml-util.el: Use lexical-binding.
2729         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2730         Use `declare'.
2731         * nxml/nxml-ns.el: Use lexical-binding.
2732         (nxml-ns-save): Use `declare'.
2733         (nxml-ns-prefixes-for): Avoid add-to-list.
2734         * nxml/rng-match.el: Use lexical-binding.
2735         (rng--ipattern): Use cl-defstruct.
2736         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2737         (rng-cons-group-after, rng-subst-group-after)
2738         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2739         Use closures instead of `(lambda...).
2741 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2743         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2744         of BEG and END.
2746         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2747         Use `tramp-handle-insert-file-contents'.
2748         (tramp-gvfs-handle-insert-file-contents): Remove function.
2750         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2751         Use `save-restriction' in order to keep markers.
2753         * net/trampver.el: Update release number.
2755 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2757         * progmodes/compile.el (compilation-parse-errors):
2758         Use compilation--put-prop.
2759         (compilation--ensure-parse): Check compilation-multiline.
2761         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2763         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2764         lexical-binding.
2766         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2768         * progmodes/ruby-mode.el: Fix recently added tests.
2769         (ruby-smie-grammar): Add - and +.
2770         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2771         (ruby-smie--backward-id): New functions.
2772         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2773         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2774         any more.
2776 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2778         * register.el (register-preview-delay)
2779         (register-preview-functions): New variables.
2780         (register-read-with-preview, register-preview)
2781         (register-describe-oneline): New functions.
2782         (point-to-register, window-configuration-to-register)
2783         (frame-configuration-to-register, jump-to-register)
2784         (number-to-register, view-register, insert-register)
2785         (copy-to-register, append-to-register, prepend-to-register)
2786         (copy-rectangle-to-register): Use register-read-with-preview to
2787         read register.  (Bug#15525)
2789 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2791         * net/network-stream.el (network-stream-open-starttls): Don't add
2792         --insecure if it's already present, because that gnutls-cli
2793         rejects getting that parameter twice.
2795 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2797         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2798         keyword, too.
2800 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2802         * newcomment.el (comment-use-global-state): Change default value
2803         to t, mark obsolete (Bug#15251).
2804         (comment-beginning): In addition to `comment-to-syntax', check the
2805         value of `comment-use-global-state'.
2807 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2809         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2810         (ruby-comment-column): Follow the global default, by default.
2811         (ruby-smie-grammar): Add assignment syntax.
2812         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2813         open-paren, a comma, or a \.
2814         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2815         and line continuations.
2816         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2817         followed by implicit semi-colons.  Add rule for string concatenation
2818         and for indentation at BOB.
2819         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2821         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2822         calling next-sexp, since next-token may have skipped chars which
2823         next-sexp doesn't know should be skipped!
2825 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2827         * progmodes/octave.el (octave-send-region):
2828         Call compilation-forget-errors.
2830 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2832         * vc/vc-svn.el (vc-svn-find-admin-dir):
2833         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2834         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2835         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2836         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2838 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2840         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2842 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * subr.el (read-passwd): Hide chars even when called within a context
2845         where after-change-functions is disabled (bug#15501).
2846         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2847         until we removed ourself from overriding-terminal-local-map.
2849 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2851         * progmodes/octave.el (inferior-octave-mode):
2852         Call compilation-forget-errors.
2854 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2856         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2858 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2860         * net/secrets.el (secrets-create-collection): Add optional
2861         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2862         dbus-call-method argument.  (Bug#15516)
2864 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2866         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2867         (inferior-octave-compilation-font-lock-keywords): New variables.
2868         (compilation-error-regexp-alist)
2869         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2870         (inferior-octave-mode): Use compilation-shell-minor-mode.
2872 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2874         * minibuffer.el (completion--replace): Be careful that `end' might be
2875         a marker.
2877 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2879         Add support for package signature checking.
2880         * emacs-lisp/package.el (url-http-file-exists-p)
2881         (epg-make-context, epg-context-set-home-directory)
2882         (epg-verify-string, epg-context-result-for)
2883         (epg-signature-status, epg-signature-to-string)
2884         (epg-check-configuration, epg-configuration)
2885         (epg-import-keys-from-file): Declare.
2886         (package-check-signature): New user option.
2887         (package-unsigned-archives): New user option.
2888         (package-desc): Add `signed' field.
2889         (package-load-descriptor): Set `signed' field if .signed file exists.
2890         (package--archive-file-exists-p): New function.
2891         (package--check-signature): New function.
2892         (package-install-from-archive): Check package signature.
2893         (package--download-one-archive): Check archive signature.
2894         (package-delete): Remove .signed file.
2895         (package-import-keyring): New command.
2896         (package-refresh-contents): Import default keyring.
2897         (package-desc-status): Add "unsigned" status.
2898         (describe-package-1, package-menu--print-info)
2899         (package-menu-mark-delete, package-menu--find-upgrades)
2900         (package-menu--status-predicate): Support "unsigned" status.
2902 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2904         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2905         the new compilation scheme using the new byte-codes.
2907         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2908         (byte-pophandler): New byte codes.
2909         (byte-goto-ops): Adjust accordingly.
2910         (byte-compile--use-old-handlers): New var.
2911         (byte-compile-catch): Use new byte codes depending on
2912         byte-compile--use-old-handlers.
2913         (byte-compile-condition-case--old): Rename from
2914         byte-compile-condition-case.
2915         (byte-compile-condition-case--new): New function.
2916         (byte-compile-condition-case): New function that dispatches depending
2917         on byte-compile--use-old-handlers.
2918         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2919         when we can.
2921         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2922         Optimize under `condition-case' and `catch' if
2923         byte-compile--use-old-handlers is nil.
2924         (disassemble-offset): Handle new bytecodes.
2926 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2928         * subr.el (error): Use `declare'.
2929         (decode-char, encode-char): Use advertised-calling-convention instead
2930         of the docstring to discourage use of the `restriction' arg.
2932 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2934         * epg.el (epg-verify-file): Add a comment saying that it does not
2935         notify verification error as a return value nor a signal.
2936         (epg-verify-string): Ditto.
2938 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2940         * progmodes/compile.el (compilation-start): Try globbing the arg to
2941         `cd' (bug#15417).
2943 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
2945         Sync with Tramp 2.2.8.
2947         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2948         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2949         * net/trampver.el: Update release number.
2951 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
2953         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2954         and default-process-coding-system for darwin only.
2956 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2958         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2960 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
2962         * vc/vc-git.el (vc-git-grep): Disable pager.
2964 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2966         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2967         Use :url instead of :homepage, as per
2968         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2970         * newcomment.el (comment-beginning): When `comment-use-syntax' is
2971         non-nil, use `syntax-ppss' (Bug#15251).
2973 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2975         * progmodes/octave.el (inferior-octave-startup-file):
2976         Prefer ~/.emacs.d/init_octave.m.
2978 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
2980         * emacs-lisp/package.el (package-desc-from-define):
2981         Accept additional arguments as plist, convert them to an alist and store
2982         them in the `extras' slot.
2983         (package-generate-description-file): Convert extras alist back to
2984         plist and append to the `define-package' form arguments.
2985         (package--alist-to-plist): New function.
2986         (package--ac-desc): Add `extras' slot.
2987         (package--add-to-archive-contents): Check if the archive-contents
2988         vector is long enough, and if it is, pass its `extras' slot value
2989         to `package-desc-create'.
2990         (package-buffer-info): Call `lm-homepage', pass the returned value
2991         to `package-desc-from-define'.
2992         (describe-package-1): Render the homepage button (Bug#13291).
2994         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2995         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2997 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
2999         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3000         and default-process-coding-system to utf-8-unix (Bug#15402).
3002 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3004         * subr.el (looking-back): Do not recommend using looking-back.
3006 2013-09-28  Alan Mackenzie  <acm@muc.de>
3008         Fix indentation/fontification of Java enum with "implements".
3010         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3011         regexp which matches "implements", etc., in Java.
3012         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3013         specifier clauses coming after "enum".
3014         * progmodes/cc-fonts.el (c-font-lock-declarations)
3015         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3016         after "enum".
3018 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3020         * faces.el (region): Change ns_selection_color to
3021         ns_selection_fg_color, add ns_selection_bg_color.
3023 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3025         * progmodes/octave.el (inferior-octave-completion-table)
3026         (inferior-octave-completion-at-point): Minor tweaks.
3028         * textmodes/ispell.el (ispell-lookup-words): Rename from
3029         lookup-words.  (Bug#15460)
3030         (lookup-words): Obsolete.
3031         (ispell-complete-word, ispell-command-loop): All uses changed.
3033 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3035         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3036         (octave-mode-menu): Add octave-send-buffer.
3037         (octave-send-buffer): New function.
3039 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3041         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3042         octave-lookfor.
3043         (octave-mode-menu): Add octave-lookfor.
3044         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3045         octave-lookfor.
3046         (octave-lookfor): New function.
3048 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3050         * emacs-lisp/cl-macs.el:
3051         (cl--loop-destr-temps): Remove.
3052         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3053         its convention.
3054         (cl--loop-set-iterator-function): New function.
3055         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3056         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3057         Bind `it' with `let' instead of substituting it with `cl-subst'.
3058         (cl--unused-var-p): New function.
3059         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3060         Eliminate some unused variable warnings (bug#15326).
3062 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3064         * doc-view.el (doc-view-scale-reset): Rename from
3065         `doc-view-reset-zoom-level'.
3066         (doc-view-scale-adjust): New command.
3067         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3068         `doc-view-scale-adjust'.
3070 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3072         * doc-view.el (doc-view-reset-zoom-level): New command.
3073         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3074         zoom commands (bug#15466).
3076 2013-09-26  Kenichi Handa  <handa@gnu.org>
3078         * international/quail.el (quail-help): Make it not a command.
3080 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3082         * minibuffer.el (completion-all-sorted-completions): Make args
3083         optional as they are.
3085 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3087         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3088         specs are and that they're not evaluated.
3090 2013-09-24  Sam Steingold  <sds@gnu.org>
3092         * midnight.el (clean-buffer-list-kill-regexps)
3093         (clean-buffer-list-kill-buffer-names): Update for the new Man
3094         buffer naming which includes the object name.
3096 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3099         (eshell-parse-command, eshell-parse-pipeline): Use it since
3100         eshell-separate-commands requires a dynamic scoped var.
3101         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3103 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3105         * autoinsert.el (auto-insert-alist): Make the value of
3106         lexical-binding match its file setting.
3108 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3110         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3112         * autoarg.el (autoarg-kp-digit-argument):
3113         * electric.el (Electric-command-loop):
3114         * kmacro.el (kmacro-step-edit-insert):
3115         Do not set universal-argument-num-events.
3117 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3119         * files.el (interpreter-mode-alist): Add octave.
3121 2013-09-21  Alan Mackenzie  <acm@muc.de>
3123         C++: fontify identifier in declaration following "public:" correctly.
3124         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3125         to match "public", etc.
3126         (c-decl-prefix-re): Add ":" into the C++ value.
3127         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3128         bit.  Add a check for a ":" preceded by "public", etc.
3130 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3132         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3133         recognized by GDB 7.5 and later.
3135 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3137         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3139 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3141         * subr.el (internal--call-interactively): New const.
3142         (called-interactively-p): Use it (bug#3984).
3144 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3146         * vc/pcvs.el (cvs-mode-ignore):
3147         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3148         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3150 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3152         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3153         (eshell-ls-orig-insert-directory): Remove.
3154         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3155         (eshell-ls-use-in-dired): Use advice-add/remove.
3156         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3157         Add `orig-fun' arg for use in :around advice.
3158         Make it check (redundantly) eshell-ls-use-in-dired.
3160 2013-09-19  Glenn Morris  <rgm@gnu.org>
3162         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3164         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3166         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3168 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3170         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3171         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3172         (tramp-get-remote-python): New defuns.
3173         (tramp-get-remote-uid-with-perl)
3174         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3175         contributed by yary <not.com@gmail.com> (tiny change).
3176         (tramp-get-remote-uid-with-python)
3177         (tramp-get-remote-gid-with-python): New defuns.  Python code
3178         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3179         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3181 2013-09-19  Glenn Morris  <rgm@gnu.org>
3183         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3185         * eshell/em-unix.el (eshell-remove-entries):
3186         Rename argument to avoid name-clash with global `top-level'.
3188         * eshell/esh-proc.el (eshell-kill-process-function):
3189         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3190         (eshell-reset-after-proc): Remove unused arg `proc'.
3192         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3193         (directory-files-and-attributes): Mark unused arg.
3195         * eshell/em-unix.el (eshell-remove-entries):
3196         Remove unused arg `path'.  Update callers.
3198         * eshell/em-hist.el (eshell-hist-parse-arguments):
3199         Remove unused arg `silent'.  Update callers.
3201         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3202         Fix (f)boundp mix-up.
3204         * eshell/em-smart.el (eshell-smart-scroll-window)
3205         (eshell-disable-after-change):
3206         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3208 2013-09-18  Alan Mackenzie  <acm@muc.de>
3210         Fix fontification of type when followed by "const".
3211         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3212         "known" types from fontification.
3214 2013-09-18  Glenn Morris  <rgm@gnu.org>
3216         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3217         (chart-face-list): Drop Emacsen without display-color-p.
3219         * net/eww.el (libxml-parse-html-region): Declare.
3220         (eww-display-html): Explicit error if no libxml2 support.
3222         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3224         * image.el (image-type-from-buffer, image-multi-frame-p):
3225         Remove --without-x warning/error.
3227         * mouse.el (mouse-yank-primary):
3228         * term.el (term-mouse-paste):
3229         Reorder to silence --without-x compilation.
3231         * mpc.el (doc-view-mode): Silence --without-x compilation.
3233         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3234         Silence --without-x compilation.
3236         * progmodes/gud.el (gud-find-file, gud-mode):
3237         Silence --without-x compilation.
3238         (tooltip-mode): Declare.
3240         * wdired.el (dired-backup-overwrite): Remove declaration.
3241         (wdired-mode-map): Add doc string.
3243         * custom.el (x-get-resource): Declare.
3245         * eshell/em-glob.el (ange-cache):
3246         * eshell/em-unix.el (ange-cache): Declare.
3248         * faces.el (x-display-list, x-open-connection, x-get-resource):
3249         Declare.
3251         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3252         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3253         Declare.
3255         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3257         * net/gnutls.el (gnutls-log-level): Declare.
3259         * net/shr.el (image-size, image-animate): Declare.
3261         * simple.el (font-info): Declare.
3263         * subr.el (x-popup-dialog): Declare.
3265         * term/common-win.el (x-select-enable-primary)
3266         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3267         Declare.
3269         * term/ns-win.el (x-handle-args): Declare.
3271         * term/x-win.el (x-select-enable-clipboard): Declare.
3273         * term/w32-win.el (create-default-fontset): Declare.
3275         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3276         Declare.
3278         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3279         (fit-frame-to-buffer): Explicit error if --without-x.
3280         (mouse-autoselect-window-select): Silence compiler.
3282         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3284         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3285         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3286         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3287         * eshell/esh-util.el (eshell-sublist):
3288         Remove unused local variables.
3290         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3292         * textmodes/two-column.el: Make 2C-split work for --without-x.
3293         (scroll-bar-columns): Autoload.
3294         (top-level): Require fringe when compiling.
3296 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3298         * subr.el (add-hook): Robustify to handle closure as well.
3300 2013-09-17  Glenn Morris  <rgm@gnu.org>
3302         * simple.el (messages-buffer-mode-map): Unbind "g".
3304 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3306         * help-mode.el (help-mode-finish): Use derived-mode-p.
3307         Remove obsolete highlighting.
3309         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3310         special-mode.
3311         (life): Let-bind inhibit-read-only.
3312         (life-setup): Avoid `setq'.  Use `life-mode'.
3314         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3315         which should not be needed any more.
3316         (package-menu-refresh, package-menu-describe-package): Use user-error.
3318         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3319         (eshell-post-rewrite-command-hook): Make obsolete.
3320         (eshell-parse-command): Simplify.
3321         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3322         (eshell--cmd): Declare.
3323         (eshell-parse-pipeline): Remove unused var `final-p'.
3324         Pass a dynvar to eshell-post-rewrite-command-hook.
3325         Implement the new eshell-post-rewrite-command-function.
3326         (eshell-invoke-directly): Remove unused arg `input'.
3327         * eshell/esh-io.el (eshell-io-initialize):
3328         Use eshell-post-rewrite-command-function (bug#15399).
3329         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3330         adjust to new calling convention.
3331         (eshell-create-handles): Rename args to avoid clashing with dynvar
3332         `standard-output'.
3334 2013-09-17  Glenn Morris  <rgm@gnu.org>
3336         * simple.el (messages-buffer-mode): New major mode.
3337         (messages-buffer): New function.
3338         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3339         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3340         (ert-run-test): Use `messages-buffer' function.
3341         (ert--force-message-log-buffer-truncation): Ignore read-only.
3342         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3343         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3345 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3347         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3349         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3351 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3353         * icomplete.el (icomplete-in-buffer): New var.
3354         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3355         vars and replace them with functions.
3356         (icomplete-minibuffer-setup): Adjust accordingly.
3357         (icomplete--completion-table, icomplete--completion-predicate)
3358         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3359         New functions.
3360         (icomplete-forward-completions, icomplete-backward-completions)
3361         (icomplete-simple-completing-p, icomplete-exhibit)
3362         (icomplete-completions): Use them.
3363         (icomplete--in-region-buffer): New var.
3364         (icomplete--in-region-setup): New function.
3365         (icomplete-mode): Use it.
3367         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3368         (bug#15379).
3369         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3370         return args and options.
3371         (eshell-eval-using-options): Use the new return value of
3372         eshell--do-opts to set the options's vars in their scope.
3373         (eshell--set-option): Rename from eshell-set-option.
3374         Add arg `opt-vals'.
3375         (eshell--process-option): Rename from eshell-process-option.
3376         Add arg `opt-vals'.
3377         (eshell--process-args): Use an `opt-vals' alist to store the options's
3378         values during their processing and return them additionally to the
3379         remaining args.
3381 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3383         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3384         continuation character an operator, as far as indentation is
3385         concerned (Bug#15369).
3387 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3389         * window.el (window--state-put-2): Don't process buffer state
3390         when buffer doesn't exist any more (Bug#15382).
3392 2013-09-15  Glenn Morris  <rgm@gnu.org>
3394         * eshell/em-unix.el (eshell/rm):
3395         Make -f ignore missing files.  (Bug#15373)
3397         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3398         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3399         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3401 2013-09-14  Glenn Morris  <rgm@gnu.org>
3403         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3405 2013-09-13  Glenn Morris  <rgm@gnu.org>
3407         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3408         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3410 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3412         * frame.el (x-focus-frame): Mark as declared in frame.c.
3414 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3416         * ls-lisp.el: Use advice-add.
3417         (original-insert-directory): Remove.
3418         (ls-lisp--insert-directory): Rename from insert-directory; add
3419         `orig-fun' argument.
3420         (insert-directory): Advise.
3422 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3424         * term.el (term-emulate-terminal): Decode the command string
3425         before passing it to term-command-hook.  (Bug#15337)
3427 2013-09-13  Glenn Morris  <rgm@gnu.org>
3429         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3431         * eshell/esh-ext.el (eshell-search-path): Declare.
3433         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3434         Otherwise an error occurs if eshell-dirs module not loaded.
3436         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3438 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3440         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3441         `tramp-check-proper-host'.  Check for a valid method name.
3443         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3444         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3445         * net/tramp-sh.el (tramp-maybe-open-connection):
3446         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3448         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3449         also for hash values.
3451 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3453         * term/ns-win.el (parameters): Don't declare as dynamic.
3454         (before-make-frame-hook): Don't add ineffective function.
3456         * eshell/*.el: Use lexical-binding (bug#15231).
3458 2013-09-12  Kenichi Handa  <handa@gnu.org>
3460         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3462 2013-09-12  Glenn Morris  <rgm@gnu.org>
3464         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3465         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3467         * subr.el (do-after-load-evaluation): Also give compiler warnings
3468         when obsolete files are used (except by obsolete files).
3470         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3471         in the status output, assume `filename' is the first.  (Bug#15322)
3473         * vc/vc.el (vc-deduce-fileset): Doc fix.
3475         * calc/calc-help.el (Info-goto-node):
3476         * progmodes/cperl-mode.el (Info-find-node):
3477         * vc/ediff.el (Info-goto-node): Update declarations.
3479         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3481         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3482         (vc-bzr-pull): Require vc-dispatcher.
3483         * vc/vc-git.el (vc-compilation-mode): Declare.
3484         (vc-git-pull): Require vc-dispatcher.
3486         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3488         * progmodes/octave.el (help-button-action): Declare.
3490         * shell.el (shell-directory-tracker): Output error as a message
3491         rather than just returning it as a string.
3492         (shell-process-pushd): Remove useless use of message.
3494         * dframe.el (dframe-timer-fn):
3495         * files.el (dir-locals-read-from-file):
3496         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3497         (mpc-format):
3498         * reveal.el (reveal-post-command):
3499         * saveplace.el (load-save-place-alist-from-file):
3500         * shell.el (shell-resync-dirs):
3501         * w32-common-fns.el (x-get-selection-value):
3502         * emacs-lisp/copyright.el (copyright-find-copyright):
3503         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3504         * emulation/tpu-edt.el (tpu-copy-keyfile):
3505         * play/bubbles.el (bubbles--mark-neighbourhood):
3506         * progmodes/executable.el
3507         (executable-make-buffer-file-executable-if-script-p):
3508         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3510 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3512         Cleanup Eshell to rely less on dynamic scoping.
3513         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3514         last-value, and ext-command here.  Bind `args' closer to `body'.
3515         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3516         (eshell--args): Declare new dynamic var.
3517         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3518         last-value, and ext-command.  Pass `args' to `body'.
3519         (eshell-process-args): Bind eshell--args.
3520         (eshell-set-option): Use eshell--args.
3521         * eshell/eshell.el (eshell): Use derived-mode-p.
3522         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3523         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3524         (eshell-glob-function): Declare.
3525         * eshell/esh-util.el: Require cl-lib.
3526         (eshell-read-hosts-file): Avoid add-to-list.
3527         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3528         `err'.
3529         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3530         Declare.
3531         (eshell/diff): Remove unused var `err'.
3532         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3533         `killflag'.
3534         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3535         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3536         first use.
3537         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3538         Move declaration before first use.
3539         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3540         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3541         rely on cl-return.
3543 2013-09-12  Glenn Morris  <rgm@gnu.org>
3545         * term/ns-win.el (global-map): Remove binding for ispell-next,
3546         deleted 1999-05-29.  (Bug#15357)
3548 2013-09-11  Glenn Morris  <rgm@gnu.org>
3550         * echistory.el (electric-command-history): Remove call to deleted func.
3552         * play/landmark.el (landmark-mode): Fix typos.
3554         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3555         Check cvs-sort-ignore-file is bound.
3557         * savehist.el: No need for cl when compiling on Emacs.
3559 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3561         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3562         (bug#15338).
3563         (eshell-self-insert-command, eshell-send-invisible):
3564         Remove unused argument.
3565         (eshell-handle-control-codes): Remove unused var `orig'.
3566         Avoid delete-backward-char.
3568         * files.el (set-auto-mode): Simplify a bit further.
3570 2013-09-11  Glenn Morris  <rgm@gnu.org>
3572         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3573         (set-auto-mode): Don't regexp-quote elements.
3574         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3575         * progmodes/cc-mode.el (interpreter-mode-alist):
3576         * progmodes/ruby-mode.el (interpreter-mode-alist):
3577         Revert previous change.
3579 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3581         * play/snake.el (snake-mode):
3582         * play/mpuz.el (mpuz-mode):
3583         * play/landmark.el (lm-mode):
3584         * play/blackbox.el (blackbox-mode):
3585         * play/5x5.el (5x5-mode):
3586         * obsolete/options.el (Edit-options-mode):
3587         * net/quickurl.el (quickurl-list-mode):
3588         * net/newst-treeview.el (newsticker-treeview-mode):
3589         * mail/rmailsum.el (rmail-summary-mode):
3590         * mail/mspools.el (mspools-mode):
3591         * locate.el (locate-mode):
3592         * ibuffer.el (ibuffer-mode):
3593         * emulation/ws-mode.el (wordstar-mode):
3594         * emacs-lisp/debug.el (debugger-mode):
3595         * array.el (array-mode):
3596         * net/eudc.el (eudc-mode): Use define-derived-mode.
3597         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3598         Move initialization into declaration.
3599         (mairix-searches-mode): Use define-derived-mode.
3600         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3601         (eudc-edit-hotlist): Use dolist.
3602         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3603         (Man-mode): Use define-derived-mode.
3604         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3605         (Info-edit-mode): Use define-derived-mode.
3606         (Info-cease-edit): Use Info-mode.
3607         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3608         into declaration.
3609         (eshell-mode): Use define-derived-mode.
3610         * chistory.el (command-history-mode-map): Rename from
3611         command-history-map.
3612         (command-history-mode): Use define-derived-mode.
3613         (Command-history-setup): Remove function.
3614         * calc/calc.el (calc-trail-mode-map): New var.
3615         (calc-trail-mode): Use define-derived-mode.
3616         (calc-trail-buffer): Set calc-main-buffer manually.
3617         * bookmark.el (bookmark-insert-annotation): New function.
3618         (bookmark-edit-annotation): Use it.
3619         (bookmark-edit-annotation-mode): Make it a proper major mode.
3620         (bookmark-send-edited-annotation): Use derived-mode-p.
3621         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3622         closer to its ideal place.  Use \' to match EOS.
3624         * profiler.el (profiler-calltree-find): Use function-equal.
3626 2013-09-10  Glenn Morris  <rgm@gnu.org>
3628         * files.el (interpreter-mode-alist): Convert to regexps.
3629         (set-auto-mode): Adapt for this.  (Bug#15306)
3630         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3631         Comment out unused variable.
3632         * progmodes/cc-mode.el (interpreter-mode-alist):
3633         * progmodes/python.el (interpreter-mode-alist):
3634         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3635         * progmodes/sh-script.el (sh-set-shell):
3636         No longer use interpreter-mode-alist to get list of shells.
3638         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3640 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * simple.el: Use set-temporary-overlay-map for universal-argument.
3643         (universal-argument-map): Don't use default-bindings (bug#15317).
3644         Bind switch-frame explicitly.  Replace universal-argument-minus with
3645         a conditional binding.
3646         (universal-argument-num-events, saved-overriding-map): Remove.
3647         (restore-overriding-map): Remove.
3648         (universal-argument--mode): Rename from save&set-overriding-map,
3649         and rewrite.
3650         (universal-argument, universal-argument-more, negative-argument)
3651         (digit-argument): Adjust accordingly.
3652         (universal-argument-minus): Remove.
3653         (universal-argument-other-key): Remove.
3655         * subr.el (with-demoted-errors): Add `format' argument.
3657 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3659         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3660         `tramp-cleanup-connection'.
3662         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3663         parameters KEEP-DEBUG and KEEP-PASSWORD.
3665         * net/tramp.el (tramp-file-name-handler):
3666         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3667         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3668         (tramp-maybe-open-connection):
3669         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3670         Use `tramp-cleanup-connection'.
3672         * net/tramp-sh.el (tramp-maybe-open-connection):
3673         Catch 'uname-changed inside the progress reporter.
3675 2013-09-10  Glenn Morris  <rgm@gnu.org>
3677         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3679         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3680         returns "alternate access method" in mode (eg "-rw-r--r--.").
3682 2013-09-08  Glenn Morris  <rgm@gnu.org>
3684         * saveplace.el (load-save-place-alist-from-file):
3685         Demote errors.  (Bug#15305)
3687 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3689         Improve compatibility with older Emacsen, and XEmacs.
3691         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3692         only if it is bound.  It isn't for XEmacs.
3693         (with-tramp-progress-reporter): Do not let-bind `result'.
3694         This yields to scoping errors in XEmacs.
3695         (tramp-handle-make-auto-save-file-name): New function, moved from
3696         tramp-sh.el.
3698         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3699         for `make-auto-save-file-name'.
3700         (tramp-adb--gnu-switches-to-ash):
3701         Use `tramp-compat-replace-regexp-in-string'.
3703         * net/tramp-cache.el (tramp-cache-print): Call
3704         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3706         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3707         bound.  It isn't for XEmacs.
3709         * net/tramp-compat.el (tramp-compat-copy-file):
3710         Catch `wrong-number-of-arguments' error.
3711         (tramp-compat-replace-regexp-in-string): New defun.
3713         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3714         for `make-auto-save-file-name'.
3715         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3716         `copy-file'.
3717         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3718         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3719         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3721         * net/tramp-gw.el (tramp-gw-open-network-stream):
3722         Use `tramp-compat-replace-regexp-in-string'.
3724         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3725         Call `tramp-handle-make-auto-save-file-name'.
3726         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3727         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3728         (tramp-sh-file-inotifywait-process-filter):
3729         Use `tramp-compat-replace-regexp-in-string'.
3730         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3732         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3733         for `make-auto-save-file-name'.
3734         (tramp-smb-handle-copy-directory):
3735         Call `tramp-compat-replace-regexp-in-string'.
3736         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3737         (tramp-smb-handle-copy-file): Improve error message.
3738         (tramp-smb-handle-rename-file): Rename directly only in case
3739         `newname' does not exist yet.  This is a restriction of smbclient.
3740         (tramp-smb-maybe-open-connection): Rerun the function only when
3741         `auth-sources' is non-nil.
3743 2013-09-08  Kenichi Handa  <handa@gnu.org>
3745         * international/characters.el: Set category "^" (Combining) for
3746         more characters.
3748 2013-09-07  Alan Mackenzie  <acm@muc.de>
3750         Correctly fontify Java class constructors.
3751         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3752         in Java Mode.
3753         (c-recognize-typeless-decls): Set the Java value to t.
3754         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3755         While handling a "(", add a check for, effectively, Java, and handle a
3756         "typeless" declaration there.
3758 2013-09-07  Roland Winkler  <winkler@gnu.org>
3760         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3761         field subtitle for entry type book.
3763 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3765         * minibuffer.el: Make minibuffer-complete call completion-in-region
3766         rather than other way around.
3767         (completion--some, completion-pcm--find-all-completions):
3768         Don't delay signals when debugging.
3769         (minibuffer-completion-contents): Beware fields within the
3770         minibuffer contents.
3771         (completion-all-sorted-completions): Use defvar-local.
3772         (completion--do-completion, completion--cache-all-sorted-completions)
3773         (completion-all-sorted-completions, minibuffer-force-complete):
3774         Add args `beg' and `end'.
3775         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3776         (minibuffer-complete): Use completion-in-region.
3777         (completion-complete-and-exit): New fun, extracted from
3778         minibuffer-complete-and-exit.
3779         (minibuffer-complete-and-exit): Use it.
3780         (completion--complete-and-exit): Rename from
3781         minibuffer--complete-and-exit.
3782         (completion-in-region--single-word): New function, extracted from
3783         minibuffer-complete-word.
3784         (minibuffer-complete-word): Use it.
3785         (display-completion-list): Make `common-substring' argument obsolete.
3786         (completion--in-region): Call completion--in-region-1 instead of
3787         minibuffer-complete.
3788         (completion-help-at-point): Pass boundaries to
3789         minibuffer-completion-help as args rather than via an overlay.
3790         (completion-pcm--string->pattern): Use `any-delim'.
3791         (completion-pcm--optimize-pattern): New function.
3792         (completion-pcm--pattern->regex): Handle `any-delim'.
3793         * icomplete.el (icomplete-forward-completions)
3794         (icomplete-backward-completions, icomplete-completions):
3795         Adjust calls to completion-all-sorted-completions and
3796         completion--cache-all-sorted-completions.
3797         (icomplete-with-completion-tables): Default to t.
3798         * emacs-lisp/crm.el (crm--current-element): Rename from
3799         crm--select-current-element.  Don't put an overlay but return the
3800         boundaries instead.
3801         (crm--completion-command): Take two new args to bind to the boundaries.
3802         (crm-completion-help): Adjust accordingly.
3803         (crm-complete): Use completion-in-region.
3804         (crm-complete-word): Use completion-in-region--single-word.
3805         (crm-complete-and-exit): Use completion-complete-and-exit.
3807 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3810         than dynamically.
3812 2013-09-06  Juri Linkov  <juri@jurta.org>
3814         * info.el (Info-display-images-node): When image file doesn't exist
3815         display text version of the image if it's provided in the Info file.
3816         Otherwise, display the location of missing image from SRC attribute.
3817         Add help-echo text property from ALT attribute.  (Bug#15279)
3819 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3821         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3822         (edit-abbrevs-mode): Use define-derived-mode.
3824         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3825         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3826         that it's defined.
3827         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3828         Use define-derived-mode.
3830         * epg.el (epg-start-encrypt): Minor CSE simplification.
3832 2013-09-06  William Xu  <william.xwl@gmail.com>
3834         * arc-mode.el: Add support for 7za (bug#15264).
3835         (archive-7z-program): New var.
3836         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3837         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3838         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3840 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3842         Remove URL syntax.
3844         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3845         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3846         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3847         (tramp-postfix-host-format, tramp-file-name-regexp)
3848         (tramp-completion-file-name-regexp)
3849         (tramp-completion-dissect-file-name)
3850         (tramp-handle-substitute-in-file-name): Remove 'url case.
3851         (tramp-file-name-regexp-url)
3852         (tramp-completion-file-name-regexp-url): Remove constants.
3854 2013-09-06  Glenn Morris  <rgm@gnu.org>
3856         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3858 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3860         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3861         keywords" below "here-doc beginnings" (Bug#15270).
3863 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         * subr.el (pop): Use `car-safe'.
3866         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3867         to detect unused `pop' return value.
3869         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3870         var `block-regexp'.
3871         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3872         (python-fill-string): Remove unused var `marker'.
3873         (python-skeleton-add-menu-items): Remove unused var `items'.
3875         * international/mule-cmds.el: Require CL.
3876         (find-coding-systems-for-charsets): Avoid add-to-list.
3877         (sanitize-coding-system-list): New function, extracted from
3878         select-safe-coding-system-interactively.
3879         (select-safe-coding-system-interactively): Use it.
3880         (read-input-method-name): Accept symbols for `default'.
3882         * emacs-lisp/advice.el (defadvice): Add indent rule.
3884 2013-09-05  Daniel Hackney  <dan@haxney.org>
3886         * dired-x.el:
3887         * net/ange-ftp.el:
3888         * net/browse-url.el:
3889         * net/dbus.el:
3890         * net/eudc.el:
3891         * net/eudcb-ldap.el:
3892         * net/eww.el:
3893         * net/imap.el:
3894         * printing.el:
3895         * vc/ediff-diff.el:
3896         * vc/ediff-init.el:
3897         * vc/ediff-merg.el:
3898         * vc/ediff-mult.el:
3899         * vc/ediff-util.el:
3900         * vc/ediff-wind.el:
3901         * vc/ediff.el:
3902         * vc/emerge.el:
3903         * vc/pcvs.el:
3904         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3905         byte compiler.  Remove some unused let-bound variables.
3907 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3909         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3910         a "ref-cell", since it gets better optimized (bug#14883).
3912 2013-09-05  Glenn Morris  <rgm@gnu.org>
3914         * progmodes/cc-awk.el (c-forward-sws): Declare.
3916 2013-09-04  Glenn Morris  <rgm@gnu.org>
3918         * generic-x.el [rul-generic-mode]: Require cc-mode.
3919         (c++-mode-syntax-table): Declare.
3920         (rul-generic-mode-syntax-table): Init in the defvar.
3922 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3924         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3925         (vc-do-command, vc-set-async-update):
3926         * vc/vc-mtn.el (vc-mtn-dir-status):
3927         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3928         (vc-hg-pull, vc-hg-merge-branch):
3929         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3930         (vc-git-merge-branch):
3931         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3932         (vc-cvs-dir-status-files):
3933         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3934         (vc-bzr-dir-status-files):
3935         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3936         * vc/vc-annotate.el: Use lexical-binding.
3937         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3938         (vc-sentinel-movepoint): Declare.
3939         (vc-annotate): Don't use `goto-line'.
3940         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3941         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3942         (vc-sentinel-movepoint): Declare.
3943         * vc/vc-svn.el: Use lexical-binding.
3944         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3945         * vc/vc-sccs.el:
3946         * vc/vc-rcs.el: Use lexical-binding.
3948         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3949         `deleted'.  Don't drop errors silently.
3951         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3953 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
3955         * vc/vc.el (vc-ignore): Rewrite.
3956         (vc-default-ignore): New function.
3957         (vc-default-ignore-completion-table): Use find-ignore-file.
3959         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3960         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3961         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3962         Remove.  Most code moved to vc.el.
3964 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3966         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3967         * net/tramp-smb.el (tramp-smb-get-file-entries):
3968         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3969         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3971         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3972         Update call to it.
3973         (eww-change-select): Remove unused var `properties'.
3974         (eww-make-unique-file-name): Remove unused var `base'.
3976         * finder.el (finder-compile-keywords): Don't mess with windows.
3978         * calculator.el (calculator-funcall): Fix typo in last change.
3980         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3982         * emacs-lisp/package.el (package-activate-1): Don't let a missing
3983         <pkg>-autoloads.el file stop us.
3985         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3986         warnings, and factor out common code.
3988 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
3990         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3991         two-character operators and whether the character preceding them
3992         changes their meaning (Bug#15208).
3994 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3996         Format code sent to Python shell for robustness.
3997         * progmodes/python.el (python-shell-buffer-substring):
3998         New function.
3999         (python-shell-send-region, python-shell-send-buffer): Use it.
4001 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4003         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4004         * net/tramp.el (tramp-user-error): ... here.
4005         (tramp-find-method, tramp-check-proper-host)
4006         (tramp-dissect-file-name, tramp-debug-message)
4007         (tramp-handle-shell-command):
4008         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4009         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4011         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4013 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4015         * avoid.el (mouse-avoidance-point-position)
4016         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4017         returns nil.
4019 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4021         * progmodes/python.el (python-shell-completion-get-completions):
4022         Drop use of deleted `comint-last-prompt-overlay'.
4023         (python-nav-if-name-main): New command.
4025 2013-09-01  Glenn Morris  <rgm@gnu.org>
4027         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4028         Avoid leading space in $wins.  Otherwise the sed command used by
4029         eg compile-main ends up containing "/*.el".  (Bug#15170)
4031         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4033 2013-08-30  Glenn Morris  <rgm@gnu.org>
4035         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4036         Fix is-this-a-directory logic.  (Bug#15220)
4038 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4040         * textmodes/css-mode.el: Use SMIE.
4041         (css-smie-grammar): New var.
4042         (css-smie--forward-token, css-smie--backward-token)
4043         (css-smie-rules): New functions.
4044         (css-mode): Use them.
4045         (css-navigation-syntax-table): Remove var.
4046         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4047         (css-indent-calculate, css-indent-line): Remove functions.
4049         Misc changes to reduce use of `(lambda...); and other cleanups.
4050         * cus-edit.el: Use lexical-binding.
4051         (customize-push-and-save, customize-apropos)
4052         (custom-buffer-create-internal): Use closures.
4053         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4054         * progmodes/ada-xref.el: Use setq.
4055         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4056         * dframe.el: Use lexical-binding.
4057         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4058         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4059         * descr-text.el: Use lexical-binding.
4060         (describe-text-widget, describe-text-sexp, describe-property-list):
4061         Use closures.
4062         * comint.el (comint-history-isearch-push-state): Use a closure.
4063         * calculator.el: Use lexical-binding.
4064         (calculator-number-to-string): Make it work with lexical-binding.
4065         (calculator-funcall): Same and use cl-letf.
4067         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4068         (lisp--company-doc-string, lisp--company-location): New functions.
4069         (lisp-completion-at-point): Use them to improve Company support.
4071         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4072         params of lambda expressions.
4073         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4074         (ruby-smie--opening-pipe-p): New function.
4075         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4076         symbols and matched |...| for formal params.
4077         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4078         from being treated as hanging.  Handle "rescue".
4080 2013-08-29  Glenn Morris  <rgm@gnu.org>
4082         * progmodes/cc-engine.el (c-pull-open-brace):
4083         Move definition before use.
4085 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4087         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4088         are immutable.  Don't use `unsafe' any more.
4089         (cl--defsubst-expand): Don't substitute at the same time as keeping
4090         a residual unused let-binding.  Don't use `unsafe' any more.
4092 2013-08-29  Glenn Morris  <rgm@gnu.org>
4094         * calendar/cal-china.el (calendar-chinese-year-cache):
4095         Recenter on 2015.
4097         * nxml/nxml-util.el (nxml-debug-clear-inside):
4098         Use cl-loop rather than loop.
4100         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4102         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4104 2013-08-28  Glenn Morris  <rgm@gnu.org>
4106         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4108         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4110         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4112 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4114         * simple.el (repeat-complex-command--called-interactively-skip):
4115         New function.
4116         (repeat-complex-command): Use it (bug#14136).
4118         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4119         (c-define-abbrev-table): Add `doc' argument.
4120         (c-mode-abbrev-table, c++-mode-abbrev-table)
4121         (objc-mode-abbrev-table, java-mode-abbrev-table)
4122         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4123         (awk-mode-abbrev-table): Use it.
4124         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4125         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4126         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4127         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4128         Move initialization into the declaration; and remove any
4129         autoload cookie.
4131         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4132         and dynamic let binding.
4134         * vc/smerge-mode.el: Remove redundant :group args.
4136         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4137         to load-path.
4139 2013-08-28  Juri Linkov  <juri@jurta.org>
4141         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4142         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4143         (isearch-other-meta-char): Handle an undefined shifted printing
4144         character by downshifting it.  (Bug#15200)
4146 2013-08-28  Juri Linkov  <juri@jurta.org>
4148         * isearch.el (isearch-search): Change regexp error message for
4149         non-regexp searches.  (Bug#15166)
4151 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4153         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4154         for portability to hosts where /bin/sh has problems.
4156 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4158         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4160 2013-08-27  Juri Linkov  <juri@jurta.org>
4162         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4163         in the keyboard macro.  (Bug#15126)
4165 2013-08-27  Juri Linkov  <juri@jurta.org>
4167         * isearch.el (isearch-quote-char): Comment out converting unibyte
4168         to multibyte, thus syncing with its `quoted-insert' counterpart.
4169         (Bug#15166)
4171 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4173         * window.el (display-buffer-use-some-window): Add missing
4174         argument in call of get-largest-window (Bug#15185).
4175         Reported by Stephen Leake.
4177 2013-08-27  Glenn Morris  <rgm@gnu.org>
4179         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4181 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4184         from a matcher-function unless there's no more matches (bug#15161).
4186 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4188         * minibuffer.el: Revert change from 2013-08-20.
4190         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4191         with text property `tramp-default', if appropriate.
4192         (tramp-check-proper-host): New defun.
4193         (tramp-dissect-file-name): Do not check hostname.  Revert change
4194         of 2013-03-18.
4195         (tramp-backtrace): Make VEC-OR-PROC optional.
4197         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4198         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4199         * net/tramp-sh.el (tramp-maybe-open-connection):
4200         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4201         Apply `tramp-check-proper-host'.
4203 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4205         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4206         lambda expression in order to have `describe-variable' display it.
4208 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4210         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4211         BUF can be optional.  (Bug#15186)
4213 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4215         * progmodes/flymake.el (flymake-get-real-file-name-function):
4216         Fix broken customization.  (Bug#15184)
4218 2013-08-25  Alan Mackenzie  <acm@muc.de>
4220         Improve indentation of bracelists defined by macros (without "=").
4222         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4223         expansion begins with "{", regard it as bracelist when it doesn't
4224         contain a ";".
4226         Parse C++ inher-intro when there's a template split over 2 lines.
4228         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4229         rigorously the search for "class" etc. followed by ":".
4231         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4232         random languages a regexp which never matches rather than nil.
4234         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4236         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4237         (c-awk-regexp-one-line-possibly-open-char-list-re)
4238         (c-awk-one-line-possibly-open-regexp-re)
4239         (c-awk-one-line-non-syn-ws*-re): Remove.
4240         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4241         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4242         (c-awk-space*-unclosed-regexp-/-re): New constants.
4243         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4244         aren't regexp delimiters.
4246         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4247         handling for a rare situation in AWK Mode involving unterminated
4248         strings/regexps.
4250 2013-08-23  Glenn Morris  <rgm@gnu.org>
4252         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4254         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4256         * files.el (create-file-buffer): If the result would begin with
4257         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4259 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4261         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4262         text-properties (bug#15155).
4264         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4265         exist any more.
4266         (calc-keypad-redraw): Remove unused var `pad'.
4267         (calc-keypad-press): Remove unused var `menu'.
4269 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4271         * window.el (display-buffer-pop-up-frame):
4272         Call pop-up-frame-function with BUFFER current so `make-frame' will
4273         use it as the new frame's buffer (Bug#15133).
4275 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4277         * calendar/timeclock.el: Minor cleanups.
4278         (timeclock-ask-before-exiting, timeclock-use-display-time):
4279         Use `symbol'.
4280         (timeclock-modeline-display): Define as alias before the
4281         actual definition.
4282         (timeclock-mode-line-display): Use define-minor-mode.
4283         (timeclock-day-list-template): Make it a function, add an argument.
4284         (timeclock-day-list-required, timeclock-day-list-length)
4285         (timeclock-day-list-debt, timeclock-day-list-span)
4286         (timeclock-day-list-break): Adjust calls accordingly.
4288 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4290         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4291         Use read--expression so that completion works again.
4293 2013-08-21  Sam Steingold  <sds@gnu.org>
4295         Add rudimentary inferior shell interaction
4296         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4297         (sh-set-shell): Reset it.
4298         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4299         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4301 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4303         * align.el: Use lexical-binding.
4304         (align-region): Simplify accordingly.
4306 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4308         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4310         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4311         `non-essential' up.
4313 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4315         * net/tramp.el:
4316         * net/tramp-adb.el:
4317         * net/tramp-cmds.el:
4318         * net/tramp-ftp.el:
4319         * net/tramp-gvfs.el:
4320         * net/tramp-gw.el:
4321         * net/tramp-sh.el: Don't wrap external variable declarations by
4322         `eval-when-compile'.
4324 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4326         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4327         now that Emacs supports ImageMagick animations.
4329 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4331         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4332         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4334 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4336         * window.el (mouse-autoselect-window-select): Do autoselect when
4337         mouse pointer is on margin.
4339 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4341         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4343 2013-08-16  Glenn Morris  <rgm@gnu.org>
4345         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4346         Handle "Remote Directory" response of some clients.  (Bug#15058)
4348         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4349         Tweak warning.  (Bug#14926)
4351         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4352         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4354         * image-mode.el (image-mode-map): Add menu items to reverse,
4355         increase, decrease, reset animation speed.
4356         (image--set-speed, image-increase-speed, image-decrease-speed)
4357         (image-reverse-speed, image-reset-speed): New functions.
4358         (image-mode-map): Add bindings for speed commands.
4360         * image.el (image-animate-get-speed, image-animate-set-speed):
4361         New functions.
4362         (image-animate-timeout): Respect image :speed property.
4364 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4366         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4367         previous line (bug#15101).
4368         (debugger-eval-expression, debugger-record-expression):
4369         Use read--expression (bug#15102).
4371 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4373         Remove byte compiler warnings, visible when compiling with
4374         `byte-compile-force-lexical-warnings' set to t.
4376         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4377         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4378         (tramp-handle-unhandled-file-name-directory)
4379         (tramp-handle-file-notify-add-watch, tramp-action-login)
4380         (tramp-action-succeed, tramp-action-permission-denied)
4381         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4382         arguments with "_".
4384         * net/tramp-adb.el (tramp-adb-parse-device-names)
4385         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4386         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4387         (tramp-adb-handle-file-truename): Remove unused arguments.
4389         * net/tramp-cache.el (tramp-flush-directory-property)
4390         (tramp-flush-connection-property, tramp-list-connections)
4391         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4393         * net/tramp-compat.el (tramp-compat-make-temp-file):
4394         Rename FILENAME to F.
4396         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4397         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4398         (tramp-zeroconf-parse-workstation-device-names)
4399         (tramp-zeroconf-parse-webdav-device-names)
4400         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4402         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4403         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4405         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4406         arguments.
4407         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4408         (tramp-sh-handle-insert-file-contents-literally)
4409         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4410         with "_".
4411         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4412         Remove unused variables.
4414         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4415         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4416         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4418         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4419         Make them a defconst.
4420         (tramp-uuencode-region): Remove unused variable.
4422 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4424         * frameset.el (frameset--prop-setter): New function.
4425         (frameset-prop): Add gv-setter declaration.
4426         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4427         parameter was already set in FILTERED.  Doc fix.
4428         (frameset--record-minibuffer-relationships): Allow saving a
4429         minibufferless frame without its corresponding minibuffer frame.
4430         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4431         frame, if the frame id matches.
4432         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4433         frames before orphaned ones.
4434         (frameset-restore): Warn about orphaned windows, instead of error out.
4436 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4438         * window.el (window-make-atom): Don't overwrite parameter
4439         already present.
4440         (display-buffer-in-atom-window): Handle special case where we
4441         split an already atomic window.
4442         (window--major-non-side-window, display-buffer-in-side-window)
4443         (window--side-check): Ignore minibuffer window when walking
4444         window tree.
4445         (window-deletable-p): Return 'frame only if no other frame uses
4446         our minibuffer window.
4447         (record-window-buffer): Run buffer-list-update-hook.
4448         (split-window): Make sure window--check-frame won't destroy an
4449         existing atomic window in case the new window gets nested
4450         inside.
4451         (display-buffer-at-bottom): Ignore minibuffer window when
4452         walking window tree.  Don't split a side window.
4453         (pop-to-buffer): Don't set-buffer here, the select-window call
4454         should do that.
4455         (mouse-autoselect-window-select): Autoselect only if we are in the
4456         text portion of the window.
4458 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4460         * net/shr.el (shr-parse-image-data): New function to grab both the
4461         data itself and the Content-Type.
4462         (shr-put-image): Use it.
4464         * net/eww.el (eww-display-image): Ditto.
4466         * image.el (image-content-type-suffixes): New variable.
4468 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4470         * progmodes/python.el (python-imenu--build-tree)
4471         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4473 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4475         * simple.el (backward-word): Mention the optional argument.
4477 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4479         * frameset.el (frameset--make): Rename constructor from make-frameset.
4480         (frameset-p, frameset-valid-p): Don't autoload.
4481         (frameset-valid-p): Use normal accessors.
4483 2013-08-13  Glenn Morris  <rgm@gnu.org>
4485         * progmodes/compile.el (compile-command): Tweak example in doc.
4486         * obsolete/scribe.el (scribe-mode):
4487         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4489         * mail/feedmail.el (feedmail-confirm-outgoing)
4490         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4492         * cus-start.el (truncate-partial-width-windows): Fix type.
4494         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4496         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4498 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * emacs-lisp/timer.el (timer--time-setter): New function.
4501         (timer--time): Use it as gv-setter.
4503         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4504         setter is not a symbol.
4506 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4508         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4509         if sending fails.  This makes debugging easier.
4511 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4513         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4514         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4515         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4517 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4519         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4521 2013-08-12  Glenn Morris  <rgm@gnu.org>
4523         * format.el (format-annotate-function):
4524         Handle read-only text properties in the source.  (Bug#14887)
4526 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4528         * net/eww.el (eww-display-html): Ignore coding system errors.
4529         One web site uses "utf-8lias" as the coding system.
4531 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4533         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4535 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4537         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4538         (tutorial--detailed-help): Remove unused local variables.
4539         (tutorial--save-tutorial-to): Use ignore-errors.
4540         (help-with-tutorial): Use looking-at-p.
4542         * view.el (view-buffer-other-window, view-buffer-other-frame):
4543         Mark unused arguments.
4545         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4546         (woman-select-symbol-fonts, woman, woman-find-file)
4547         (woman-insert-file-contents, woman-non-underline-faces):
4548         Use string-match-p.
4549         (woman1-unquote): Move declaration.
4551         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4552         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4553         argument.  Remove unused local variable.
4554         (xml-parse-elem-type): Use string-match-p.
4555         (xml-substitute-numeric-entities): Use ignore-errors.
4557         * calculator.el (calculator): Mark unused argument.
4558         (calculator-paste, calculator-quit, calculator-integer-p):
4559         Use ignore-errors.
4560         (calculator-string-to-number, calculator-decimal, calculator-exp)
4561         (calculator-op-or-exp): Use string-match-p.
4563         * dired.el (dired-buffer-more-recently-used-p): Declare.
4564         (dired-insert-set-properties, dired-insert-old-subdirs):
4565         Use ignore-errors.
4567         * dired-aux.el (dired-compress): Use ignore-errors.
4568         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4569         (dired-do-async-shell-command, dired-do-shell-command)
4570         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4571         (dired-insert-subdir-validate): Use string-match-p.
4572         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4573         (dired-add-entry): Use string-match-p, looking-at-p.
4574         (dired-insert-subdir-newpos): Remove unused local variable.
4576         * filenotify.el (file-notify-callback): Remove unused local variable.
4578         * filesets.el (filesets-error): Mark unused argument.
4579         (filesets-which-command-p, filesets-filter-dir-names)
4580         (filesets-directory-files, filesets-get-external-viewer)
4581         (filesets-ingroup-get-data): Use string-match-p.
4583         * find-file.el (ff-other-file-name, ff-other-file-name)
4584         (ff-find-the-other-file, ff-cc-hh-converter):
4585         Remove unused local variables.
4586         (ff-get-file-name): Use string-match-p.
4587         (ff-all-dirs-under): Use ignore-errors.
4589         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4590         (follow-select-if-visible): Remove unused local variable.
4592         * forms.el (read-file-filter): Move declaration.
4593         (forms--make-format, forms--make-parser, forms-insert-record):
4594         Quote function with #'.
4595         (forms--update): Use string-match-p.  Quote function with #'.
4597         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4598         (help-make-xrefs): Use looking-at-p.
4599         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4601         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4602         (ibuffer-confirm-operation-on): Use string-match-p.
4604         * msb.el (msb-item-handler, msb-dired-item-handler):
4605         Mark unused arguments.
4607         * ses.el (ses-decode-cell-symbol)
4608         (ses-kill-override): Remove unused local variable.
4609         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4610         (ses-load): Use ignore-errors, looking-at-p.
4611         (ses-jump-safe): Use ignore-errors.
4612         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4614         * tabify.el (untabify, tabify): Mark unused arguments.
4616         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4617         Mark unused argument.
4618         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4619         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4621         * emacs-lisp/timer.el (timer--time): Define setter with
4622         gv-define-setter to avoid deprecation warning.
4624         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4625         (*record-cmpl-statistics-p*): Remove (was commented out).
4626         (cmpl-statistics-block): Remove (body was commented out).
4627         All callers changed.
4628         (add-completions-from-buffer, load-completions-from-file):
4629         Remove unused variables.
4631 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4633         * filecache.el (file-cache-delete-file-list):
4634         Print message only when told so.
4635         (file-cache-files-matching): Use #' in mapconcat argument.
4637         * ffap.el (ffap-url-at-point): Fix reference to variable
4638         thing-at-point-default-mail-uri-scheme.
4640 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4642         * subr.el (define-error): New function.
4643         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4644         error-file-not-found and define with define-error.
4645         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4646         and define with define-error.
4647         * userlock.el (file-locked, file-supersession):
4648         * simple.el (mark-inactive):
4649         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4650         * progmodes/ada-mode.el (ada-mode-errors):
4651         * play/life.el (life-extinct):
4652         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4653         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4654         * nxml/rng-util.el (rng-error):
4655         * nxml/rng-uri.el (rng-uri-error):
4656         * nxml/rng-match.el (rng-compile-error):
4657         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4658         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4659         * nxml/nxml-rap.el (nxml-scan-error):
4660         * nxml/nxml-outln.el (nxml-outline-error):
4661         * net/soap-client.el (soap-error):
4662         * net/gnutls.el (gnutls-error):
4663         * net/ange-ftp.el (ftp-error):
4664         * mpc.el (mpc-proc-error):
4665         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4666         (json-number-format, json-string-escape, json-string-format)
4667         (json-key-format, json-object-format):
4668         * jka-compr.el (compression-error):
4669         * international/quail.el (quail-error):
4670         * international/kkc.el (kkc-error):
4671         * emacs-lisp/ert.el (ert-test-failed):
4672         * calc/calc.el (calc-error, inexact-result, math-overflow)
4673         (math-underflow):
4674         * bookmark.el (bookmark-error-no-filename):
4675         * epg.el (epg-error): Define with define-error.
4677         * time.el (display-time-event-handler)
4678         (display-time-next-load-average): Don't call sit-for since it seems
4679         unnecessary (bug#15045).
4681         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4682         Use #' instead of ' to quote functions.
4683         (checkdoc-output-mode): Use setq-local.
4684         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4685         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4686         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4687         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4688         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4689         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4690         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4691         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4693         * ido.el (ido-completion-help): Fix up compiler warning.
4695 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4697         * frameset.el (frameset-p): Add autoload cookie.
4698         (frameset--jump-to-register): New function, based on code moved from
4699         register.el.
4700         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4702         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4703         (frameset-restore, frameset-save, frameset-session-filter-alist):
4704         Remove declarations.
4705         (register-alist): Doc fix.
4706         (frameset-to-register): Move to frameset.el.
4707         (jump-to-register, describe-register-1): Remove frameset-specific code.
4709 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4711         * allout-widgets.el (allout-widgets-pre-command-business)
4712         (allout-widgets-post-command-business)
4713         (allout-widgets-after-change-handler)
4714         (allout-decorate-item-and-context, allout-set-boundary-marker)
4715         (allout-body-modification-handler)
4716         (allout-graphics-modification-handler): Mark ignored arguments.
4717         (allout-widgets-post-command-business)
4718         (allout-widgets-exposure-change-processor)
4719         (allout-widgets-exposure-undo-processor)
4720         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4721         (allout-parse-item-at-point, allout-decorate-item-guides)
4722         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4723         * allout.el (epa-passphrase-callback-function): Declare.
4724         (allout-overlay-insert-in-front-handler)
4725         (allout-overlay-interior-modification-handler)
4726         (allout-isearch-end-handler, allout-chart-siblings)
4727         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4728         (allout-yank-processing, allout-process-exposed)
4729         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4730         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4731         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4732         (lisp-indent-defform): Mark ignored arguments.
4733         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4734         (calculate-lisp-indent): Remove unused variables.
4735         * international/characters.el (indian-2-column, arabic-2-column)
4736         (tibetan): Mark ignored arguments.
4737         (use-cjk-char-width-table): Mark ignored arguments.
4738         Remove unused variables.
4739         * international/fontset.el (build-default-fontset-data)
4740         (x-compose-font-name, create-fontset-from-fontset-spec):
4741         Mark ignored arguments.
4742         (fontset-plain-name): Remove unused variables.
4743         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4744         (keyboard-coding-system): Mark ignored arguments.
4745         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4746         * help.el (resize-temp-buffer-window):
4747         * window.el (display-buffer-in-major-side-window)
4748         (display-buffer-in-side-window, display-buffer-in-previous-window):
4749         Remove unused variables.
4750         * isearch.el (isearch-forward-symbol):
4751         * version.el (emacs-bzr-version-bzr):
4752         * international/mule-cmds.el (current-language-environment):
4753         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4754         (x-handle-display):
4755         * term/pc-win.el (x-list-fonts, x-display-planes)
4756         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4757         (x-server-version, x-display-screens, x-display-mm-height)
4758         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4759         (x-selection-owner-p, x-own-selection-internal)
4760         (x-disown-selection-internal, x-get-selection-internal)
4761         (msdos-initialize-window-system):
4762         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4763         * term/x-win.el (x-handle-no-bitmap-icon):
4764         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4765         (vc-default-find-file-hook, vc-default-extra-menu):
4766         Mark ignored arguments.
4768 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4770         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4771         break-condition in the context of the debugged code (bug#12685).
4773 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4775         * comint.el:
4776         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4777         (comint-mode): Make comint-last-prompt buffer local.
4778         (comint-last-prompt): New variable.
4779         (comint-last-prompt-overlay): Remove.  Superseded by
4780         comint-last-prompt.
4781         (comint-snapshot-last-prompt, comint-output-filter):
4782         Use comint-last-prompt.
4784 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4786         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4787         (frameset-save): Check validity of the resulting frameset.
4789 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4791         * ido.el (ido-record-command): Add doc string.
4793 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4795         * frameset.el (frameset): Do not disable creation of the default
4796         frameset-p predicate.  Doc fix.
4797         (frameset-valid-p): New function, copied from the old predicate-p.
4798         Add additional checks.
4799         (frameset-restore): Check with frameset-valid-p.
4800         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4801         (frameset-name, frameset-description, frameset-properties)
4802         (frameset-states): Add docstring.
4803         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4804         (frameset-filter-alist): Doc fixes.
4806 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4808         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4810 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4812         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4813         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4814         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4815         (byte-compile-normal-call): Remove obsolescence check.
4817 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4819         * frameset.el (frameset-restore): Doc fix.
4821         * register.el (frameset-frame-id, frameset-frame-with-id)
4822         (frameset-p, frameset-restore, frameset-save): Declare.
4823         (register-alist): Document framesets.
4824         (frameset-session-filter-alist): Declare.
4825         (frameset-to-register): New function.
4826         (jump-to-register): Implement jumping to framesets.  Doc fix.
4827         (describe-register-1): Describe framesets.
4829         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4831 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4833         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4834         Use lexical-binding.
4836         * frameset.el (frameset): Use type vector, not list (incompatible
4837         change).  Do not declare a new constructor, use the default one.
4838         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4839         `name' and `description', respectively, and add read-only slot
4840         `timestamp'.  Doc fixes.
4841         (frameset-copy, frameset-persistent-filter-alist)
4842         (frameset-filter-alist, frameset-switch-to-gui-p)
4843         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4844         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4845         (frameset-filter-iconified, frameset-keep-original-display-p):
4846         Doc fixes.
4847         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4848         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4849         Doc fix.
4850         (frameset-p): Adapt to change to vector and be more thorough.
4851         Change arg name to OBJECT.  Doc fix.
4852         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4853         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4854         All callers changed.
4855         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4856         All callers changed.
4857         (frameset--record-minibuffer-relationships): Rename from
4858         frameset--process-minibuffer-frames.  All callers changed.
4859         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4860         Use new default constructor (again).  Doc fix.
4861         (frameset--find-frame-if): Rename from `frameset--find-frame.
4862         All callers changed.
4863         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4864         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4865         Doc fix.
4866         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4867         PARAMETERS and WINDOW-STATE, respectively.
4868         (frameset-restore): Add new keyword argument PREDICATE.
4869         Reset frameset--target-display to nil.  Doc fix.
4871 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4873         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4874         (bat-mode): Use it.
4875         (bat-mode-syntax-table): Mark \n as end-of-comment.
4876         (bat-font-lock-keywords): Remove comment rule.
4878         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4879         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4881         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4882         (byte-compile-callargs-warn): Use `push'.
4883         (byte-compile-arglist-warn): Ignore higher-order "calls".
4884         (byte-compile-file-form-autoload): Use `pcase'.
4885         (byte-compile-function-form): If quoting a symbol, check that it exists.
4887 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4889         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4890         and add a few popular commands found in batch files.
4891         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4892         (dos-mode): Doc fixes.
4894 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4897         (dos-mode): Use setq-local.  Add space after "rem".
4898         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4899         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4901 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4903         * progmodes/dos.el: New file.
4904         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4905         dos-mode.
4907 2013-08-06  Glenn Morris  <rgm@gnu.org>
4909         * calendar/calendar.el: Add new faces, and day-header-array.
4910         (calendar-weekday-header, calendar-weekend-header)
4911         (calendar-month-header): New faces.
4912         (calendar-day-header-construct): New function.
4913         (calendar-day-header-width): Also :set calendar-day-header-array.
4914         (calendar-american-month-header, calendar-european-month-header)
4915         (calendar-iso-month-header): Use calendar- faces.
4916         (calendar-generate-month):
4917         Use calendar-day-header-array for day headers; apply faces to them.
4918         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4919         (calendar-abbrev-construct): Add optional maxlen argument.
4920         (calendar-day-name-array): Doc fix.
4921         (calendar-day-name-array, calendar-abbrev-length)
4922         (calendar-day-abbrev-array):
4923         Also :set calendar-day-header-array, and maybe redraw.
4924         (calendar-day-header-array): New option.  (Bug#15007)
4925         (calendar-font-lock-keywords): Set to nil and make obsolete.
4926         (calendar-day-name): Add option to use header array.
4928 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4930         * net/shr.el (shr-render-td): Remove debugging.
4931         (shr-render-td): Make width computation consistent by defaulting
4932         all zero-width columns to 10 characters.  This may not be optimal,
4933         but it's at least consistent.
4934         (shr-make-table-1): Redo last change to fix the real problem in
4935         colspan handling.
4937 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4939         * files.el (cache-long-line-scans):
4940         Make obsolete alias to `cache-long-scans'.
4942 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4944         * frameset.el (frameset, frameset-filter-alist)
4945         (frameset-filter-params, frameset-save, frameset--reuse-frame)
4946         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4947         (frameset-compute-pos): Rename from frameset--compute-pos,
4948         and add docstring.
4949         (frameset-move-onscreen): Use frameset-compute-pos.
4950         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4952         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4953         Fix typos in docstrings.
4955 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4957         * frame.el (get-other-frame): Tiny cleanup.
4959 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4961         * vc/vc.el (vc-default-ignore-completion-table):
4962         Silence byte-compiler warning.
4964         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4965         slot , which can indeed be nil.
4966         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4967         Move entry for `left' from persistent to live filter alist.
4968         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4969         Doc fixes.
4970         (frameset-filter-params): When restoring a frame, copy items added to
4971         `filtered', to avoid unwittingly modifying the original parameters.
4972         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
4973         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4975         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4976         to use looking-at-p instead of looking-at.  (Bug#15028)
4978 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         Revert introduction of isearch-filter-predicates (bug#14714).
4981         Rely on add-function instead.
4982         * isearch.el (isearch-filter-predicates): Rename it back to
4983         isearch-filter-predicate.
4984         (isearch-message-prefix): Use advice-function-mapc and advice
4985         properties to get the isearch-message-prefix.
4986         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4987         instead of run-hook-with-args-until-failure.
4988         (isearch-filter-visible): Not obsolete any more.
4989         * loadup.el: Preload nadvice.
4990         * replace.el (perform-replace): Revert to funcall
4991         instead of run-hook-with-args-until-failure.
4992         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4993         * dired-aux.el (dired-isearch-filenames-mode): Rename from
4994         dired-isearch-filenames-toggle; make it into a proper minor mode.
4995         Use add/remove-function.
4996         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4997         Call the minor-mode rather than add/remove-hook.
4998         (dired-isearch-filter-filenames):
4999         Remove isearch-message-prefix property.
5000         * info.el (Info--search-loop): New function, extracted from Info-search.
5001         Funcall isearch-filter-predicate instead of
5002         run-hook-with-args-until-failure isearch-filter-predicates.
5003         (Info-search): Use it.
5004         (Info-mode): Use isearch-filter-predicate instead of
5005         isearch-filter-predicates.
5007 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5009         Do not call to `selected-window' where it is assumed by default.
5010         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5011         `window-hscroll', `window-width', `window-height', `window-buffer',
5012         `window-frame', `window-start', `window-point', `next-window'
5013         and `window-display-table'.
5014         * abbrev.el (abbrev--default-expand):
5015         * bs.el (bs--show-with-configuration):
5016         * buff-menu.el (Buffer-menu-mouse-select):
5017         * calc/calc.el (calc):
5018         * calendar/calendar.el (calendar-generate-window):
5019         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5020         (diary-make-entry):
5021         * comint.el (send-invisible, comint-dynamic-complete-filename)
5022         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5023         * completion.el (complete):
5024         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5025         * disp-table.el (describe-current-display-table):
5026         * doc-view.el (doc-view-insert-image):
5027         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5028         * ehelp.el (with-electric-help):
5029         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5030         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5031         * emacs-lisp/helper.el (Helper-help-scroller):
5032         * emulation/cua-base.el (cua--post-command-handler-1):
5033         * eshell/esh-mode.el (eshell-output-filter):
5034         * ffap.el (ffap-gnus-wrapper):
5035         * help-macro.el (make-help-screen):
5036         * hilit-chg.el (highlight-compare-buffers):
5037         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5038         * hl-line.el (global-hl-line-highlight):
5039         * icomplete.el (icomplete-simple-completing-p):
5040         * isearch.el (isearch-done):
5041         * jit-lock.el (jit-lock-stealth-fontify):
5042         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5043         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5044         * mpc.el (mpc-tagbrowser, mpc):
5045         * net/rcirc.el (rcirc-any-buffer):
5046         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5047         * play/landmark.el (landmark-max-width, landmark-max-height):
5048         * play/zone.el (zone):
5049         * progmodes/compile.el (compilation-goto-locus):
5050         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5051         * progmodes/etags.el (find-tag-other-window):
5052         * progmodes/fortran.el (fortran-column-ruler):
5053         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5054         * progmodes/verilog-mode.el (verilog-point-text):
5055         * reposition.el (reposition-window):
5056         * rot13.el (toggle-rot13-mode):
5057         * server.el (server-switch-buffer):
5058         * shell.el (shell-dynamic-complete-command)
5059         (shell-dynamic-complete-environment-variable):
5060         * simple.el (insert-buffer, set-selective-display)
5061         (delete-completion-window):
5062         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5063         (speedbar-recenter):
5064         * startup.el (fancy-splash-head):
5065         * textmodes/ispell.el (ispell-command-loop):
5066         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5067         * tutorial.el (help-with-tutorial):
5068         * vc/add-log.el (add-change-log-entry):
5069         * vc/compare-w.el (compare-windows):
5070         * vc/ediff-help.el (ediff-indent-help-message):
5071         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5072         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5073         (ediff-setup-control-frame):
5074         * vc/emerge.el (emerge-position-region):
5075         * vc/pcvs-util.el (cvs-bury-buffer):
5076         * window.el (walk-windows, mouse-autoselect-window-select):
5077         * winner.el (winner-set-conf, winner-undo): Related users changed.
5079 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5081         * frameset.el (frameset--set-id): Doc fix.
5082         (frameset-frame-id, frameset-frame-id-equal-p)
5083         (frameset-locate-frame-id): New functions.
5084         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5085         (frameset-restore): Use them.
5087 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5089         Do not call to `selected-frame' where it is assumed by default.
5090         Affected functions are `raise-frame', `redraw-frame',
5091         `frame-first-window', `frame-terminal' and `delete-frame'.
5092         * calendar/appt.el (appt-disp-window):
5093         * epg.el (epg-wait-for-completion):
5094         * follow.el (follow-delete-other-windows-and-split)
5095         (follow-avoid-tail-recenter):
5096         * international/mule.el (set-terminal-coding-system):
5097         * mail/rmail.el (rmail-mail-return):
5098         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5099         * progmodes/f90.el (f90-add-imenu-menu):
5100         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5101         * server.el (server-switch-buffer):
5102         * simple.el (delete-completion-window):
5103         * talk.el (talk):
5104         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5105         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5106         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5107         * vc/ediff.el (ediff-documentation): Related users changed.
5108         * frame.el (selected-terminal): Remove the leftover.
5110 2013-08-05  Glenn Morris  <rgm@gnu.org>
5112         * calendar/calendar.el (calendar-generate-month):
5113         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5114         (calendar-generate-month, calendar-font-lock-keywords):
5115         Fix for calendar-day-header-width > length of any day name.
5117 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5119         * desktop.el (desktop-clear): Use new name of sort predicate.
5121         * frameset.el (frameset): Add docstring.  Move :version property to its
5122         own `version' slot.
5123         (frameset-copy): Rename from copy-frameset.
5124         (frameset-p): Check more thoroughly.
5125         (frameset-prop): Do not check for :version, which is no longer a prop.
5126         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5127         Use new :never value instead of t.
5128         (frameset-filter-alist): Expand and clarify docstring.
5129         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5130         (frameset-filter-minibuffer, frameset-filter-save-param)
5131         (frameset-filter-restore-param, frameset-filter-iconified):
5132         Add pointer to docstring of frameset-filter-alist.
5133         (frameset-filter-params): Rename filter values to be more meaningful:
5134         :never instead of t, and reverse the meanings of :save and :restore.
5135         (frameset--process-minibuffer-frames): Clarify error message.
5136         (frameset-save): Avoid unnecessary and confusing call to framep.
5137         Use new BOA constructor for framesets.
5138         (frameset--reuse-list): Doc fix.
5139         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5140         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5141         (frameset-minibufferless-first-p): Doc fix.
5142         Rename from frameset-sort-frames-for-deletion.
5143         (frameset-restore): Doc fixes.  Use new function names.
5144         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5146 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5148         * desktop.el (desktop-restore-forces-onscreen)
5149         (desktop-restore-reuses-frames): Document :keyword constant values.
5150         (desktop-filter-parameters-alist): Remove, now identical to
5151         frameset-filter-alist.
5152         (desktop--filter-tty*): Remove, moved to frameset.el.
5153         (desktop-save-frameset, desktop-restore-frameset):
5154         Do not pass :filters argument.
5156         * frameset.el (frameset-live-filter-alist)
5157         (frameset-persistent-filter-alist): New variables.
5158         (frameset-filter-alist): Use them.  Add autoload cookie.
5159         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5160         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5161         `frameset--id' (it's supposed to be internal to frameset.el).
5162         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5163         (frameset--initial-params): New function.
5164         (frameset--get-frame): Use it.  Doc fix.
5165         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5166         Accept :all, not 'all.
5167         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5168         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5169         with fbound symbols.  Fix frame id matching, and remove matching ids if
5170         the frame being restored is deleted.  Obey :delete.
5172 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5174         * subr.el (macrop): New function.
5175         (text-clone--maintaining): New var.
5176         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5177         instead of inhibit-modification-hooks.
5179         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5180         a proxy, so as handle autoloads and redefinitions of the target.
5181         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5183         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5184         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5185         (pcase--mutually-exclusive-p): New function.
5186         (pcase--split-consp): Use it.
5187         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5188         mutually exclusive with the current predicate.
5190         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5191         (edebug-macrop): Remove.  Use `macrop' instead.
5192         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5193         (ad-macro-p):
5194         * eshell/esh-cmd.el (eshell-macrop):
5195         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5197 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5199         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5200         (advice-mapc): New function, using it.
5201         (advice-function-member-p): New function.
5202         (advice--normalize): Store the cdr in advice--saved-rewrite since
5203         that's the part that will be changed.
5204         (advice--symbol-function): New function.
5205         (advice-remove): Handle removal before the function is defined.
5206         Adjust to new advice--saved-rewrite.
5207         (advice-member-p): Use advice-function-member-p and
5208         advice--symbol-function.
5210 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5212         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5213         (frameset-filter-minibuffer): Doc fix.
5214         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5215         (frameset--set-id, frameset--process-minibuffer-frames)
5216         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5217         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5219         * desktop.el (desktop-clear): Only delete frames when called
5220         interactively and desktop-restore-frames is non-nil.  Doc fix.
5221         (desktop-read): Set desktop-saved-frameset to nil.
5223 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5225         * vc/vc.el (vc-ignore): Rewrite.
5226         (vc-default-ignore-completion-table):
5227         (vc--read-lines):
5228         (vc--add-line, vc--remove-regexp): New functions.
5230         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5231         (vc-svn-ignore-completion-table): New function.
5233         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5234         (vc-hg-ignore-completion-table):
5235         (vc-hg-find-ignore-file): New functions.
5237         * vc/vc-git.el (vc-git-ignore): Rewrite.
5238         (vc-git-ignore-completion-table):
5239         (vc-git-find-ignore-file): New functions.
5241         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5243         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5244         (vc-bzr-ignore-completion-table):
5245         (vc-bzr-find-ignore-file): New functions.
5247 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5249         * frameset.el (frameset-prop): New function and setter.
5250         (frameset-save): Do not modify frame list passed by the caller.
5252 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5254         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5256 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5258         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5259         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5261         * custom.el (custom-initialize-default, custom-initialize-set)
5262         (custom-initialize-reset, custom-initialize-changed): Affect the
5263         toplevel-default-value (bug#6275, bug#14586).
5264         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5265         for bug#6275.
5267 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5269         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5270         Add cl-def* expressions.
5272         * frameset.el (frameset-filter-params): Fix order of arguments.
5274 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5276         Move code related to saving frames to frameset.el.
5277         * desktop.el: Require frameset.
5278         (desktop-restore-frames): Doc fix.
5279         (desktop-restore-reuses-frames): Rename from
5280         desktop-restoring-reuses-frames.
5281         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5282         (desktop-clear): Clear frames too.
5283         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5284         (desktop--filter-tty*, desktop-save, desktop-read):
5285         Use frameset functions.
5286         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5287         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5288         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5289         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5290         (desktop--process-minibuffer-frames, desktop-save-frames)
5291         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5292         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5293         (desktop--sort-states, desktop-restoring-frames-p)
5294         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5295         (desktop-restoring-frameset-p, desktop-restore-frameset)
5296         (desktop--check-dont-save, desktop-save-frameset): New functions.
5297         (desktop--app-id): New constant.
5298         (desktop-first-buffer, desktop-buffer-ok-count)
5299         (desktop-buffer-fail-count): Move before first use.
5300         * frameset.el: New file.
5302 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5304         * files.el: Use lexical-binding.
5305         (dir-locals-read-from-file): Remove unused `err' variable.
5306         (hack-dir-local-variables--warned-coding): New var.
5307         (hack-dir-local-variables): Use it to avoid repeated warnings.
5308         (make-backup-file-name--default-function): New function.
5309         (make-backup-file-name-function): Use it as default.
5310         (buffer-stale--default-function): New function.
5311         (buffer-stale-function): Use it as default.
5312         (revert-buffer-insert-file-contents--default-function): New function.
5313         (revert-buffer-insert-file-contents-function): Use it as default.
5314         (insert-directory): Avoid add-to-list.
5316         * autorevert.el (auto-revert-handler): Simplify.
5317         Use buffer-stale--default-function.
5319 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5321         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5323         * whitespace.el (whitespace-ensure-local-variables): New function.
5324         (whitespace-cleanup-region): Call it.
5325         (whitespace-turn-on): Call it.
5327 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5329         Complete file name handlers.
5331         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5332         (tramp-handle-verify-visited-file-modtime)
5333         (tramp-handle-file-notify-rm-watch): New functions.
5334         (tramp-call-process): Do not bind `default-directory'.
5336         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5337         Order alphabetically.
5338         [access-file, add-name-to-file, dired-call-process]:
5339         [dired-compress-file, file-acl, file-notify-rm-watch]:
5340         [file-ownership-preserved-p, file-selinux-context]:
5341         [make-directory-internal, make-symbolic-link, set-file-acl]:
5342         [set-file-selinux-context, set-visited-file-modtime]:
5343         [verify-visited-file-modtime]: Add handler.
5344         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5346         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5347         [file-notify-add-watch, file-notify-rm-watch]:
5348         [set-file-times, set-visited-file-modtime]:
5349         [verify-visited-file-modtime]: Add handler.
5350         (with-tramp-gvfs-error-message)
5351         (tramp-gvfs-handle-set-visited-file-modtime)
5352         (tramp-gvfs-fuse-file-name): Remove.
5353         (tramp-gvfs-handle-file-notify-add-watch)
5354         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5355         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5357         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5358         Order alphabetically.
5359         [file-notify-rm-watch ]: Use default Tramp handler.
5360         [executable-find]: Remove private handler.
5361         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5362         `default-directory'.
5363         (tramp-sh-handle-executable-find)
5364         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5365         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5366         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5367         Do not use `format' in `tramp-message'.
5369         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5370         [file-notify-rm-watch, set-visited-file-modtime]:
5371         [verify-visited-file-modtime]: Add handler.
5372         (tramp-smb-call-winexe): Do not bind `default-directory'.
5374 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5376         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5378 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5380         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5381         use it.
5382         (log-view-diff-changeset): Same.
5383         (log-view-diff-common): Call backend command `previous-revision'
5384         to find out the previous revision, in both cases.  Swap the
5385         variables `to' and `fr', so that `fr' usually refers to the
5386         earlier revision (Bug#14989).
5388 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5390         * ibuf-ext.el (ibuffer-filter-by-filename):
5391         Make it work with dired buffers too.
5393 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5395         * emacs-lisp/re-builder.el (reb-color-display-p):
5396         * files.el (save-buffers-kill-terminal):
5397         * net/browse-url.el (browse-url):
5398         * server.el (server-save-buffers-kill-terminal):
5399         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5400         Prefer nil to selected-frame for the first arg of frame-parameter.
5402 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5404         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5406 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5408         * minibuffer.el (completion--twq-all): Try and preserve each
5409         completion's case choice (bug#14907).
5411 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5413         * net/network-stream.el (open-network-stream): Mention the new
5414         :nogreeting parameter.
5415         (network-stream-open-starttls): Use the :nogreeting parameter
5416         (bug#14938).
5418         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5420         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5421         more natural than popping.
5423         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5424         (shr-urlify): Highlight under mouse.
5426 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5428         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5430         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5432         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5433         buffer for output.
5435         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5436         point-min==1.  Fix search string.  Fix parentheses missing.
5438         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5439         assume point-min==1.  Fix search string.  Fix parentheses missing.
5441         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5443         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5444         buffer for output.
5446 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5448         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5449         initial frame is minibuffer-less.  (Bug#14841)
5451 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5453         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5454         option.
5456         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5457         (tramp-maybe-open-connection): Use it.
5459 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5461         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5462         minimal set of parameters passed when creating a frame, because
5463         the minibuffer status of a frame cannot be changed later.
5465 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5467         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5468         replace-regexp-in-string and inadvertent omissions in previous change.
5469         (todo-filter-items): Ensure only file names are comma-separated in
5470         name of filtered items buffer.
5472 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5474         * desktop.el: Optionally force offscreen frames back onscreen.
5475         (desktop-restoring-reuses-frames): New option.
5476         (desktop--compute-pos, desktop--move-onscreen): New functions.
5477         (desktop--make-frame): Use desktop--move-onscreen.
5479 2013-07-27  Alan Mackenzie  <acm@muc.de>
5481         Fontify a Java generic method as a function.
5482         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5483         value to t.
5485 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5487         * calendar/todo-mode.el: Add command to rename todo files.
5488         (todo-rename-file): New command.
5489         (todo-key-bindings-t): Add key binding for it.  Change the
5490         bindings of todo-filter-regexp-items(-multifile) to use `x'
5491         instead of `r', since the latter is better suited to the new
5492         renaming command.
5494 2013-07-27  Alan Mackenzie  <acm@muc.de>
5496         Make Java try-with-resources statement parse properly.
5497         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5498         (c-block-stmt-1-2-key): New language constants/variables.
5499         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5500         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5501         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5502         with c-block-stmt-1-2-key.
5504 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5506         * desktop.el (desktop--make-frame): Apply most frame parameters after
5507         creating the frame to force (partially or totally) offscreen frames to
5508         be restored as such.
5510 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5512         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5513         (Bug#14948)
5515 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5517         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5518         `base' arg of backtrace-frame.
5520 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5522         * simple.el (list-processes): Doc fix.
5524 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5526         * desktop.el (desktop--select-frame):
5527         Try harder to reuse existing frames.
5529 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5531         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5532         (edebug-eval): Use backtrace-eval.
5533         (edebug--display, edebug--recursive-edit): Don't let-bind the
5534         edebug-outer-* vars that keep track of variables we locally let-bind.
5535         (edebug-outside-excursion): Don't restore outside values of locally
5536         let-bound vars.
5537         (edebug--display): Use user-error.
5538         (cl-lexical-debug, cl-debug-env): Remove.
5540 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5542         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5543         are restored to be sure that they are visible before deleting any
5544         remaining ones.
5546 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5548         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5549         vc-print-root-log.  (Bug#14948)
5551 2013-07-26  Richard Stallman  <rms@gnu.org>
5553         Add aliases for encrypting mail.
5554         * epa.el (epa-mail-aliases): New option.
5555         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5556         Bind inhibit-read-only so read-only text doesn't ruin everything.
5557         (epa-mail-default-recipients): New subroutine broken out.
5558         Handle epa-mail-aliases.
5560 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5562         Add support for lexical variables to the debugger's `e' command.
5563         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5564         vars, except for debugger-outer-match-data.
5565         (debugger-frame-number): Move check for "on a function call" from
5566         callers into it.  Add `skip-base' argument.
5567         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5568         (debugger-env-macro): Only reset the state stored in non-variables,
5569         i.e. current-buffer and match-data.
5570         (debugger-eval-expression): Rewrite using backtrace-eval.
5571         * subr.el (internal--called-interactively-p--get-frame): Remove.
5572         (called-interactively-p):
5573         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5574         `base' arg of backtrace-frame instead.
5576 2013-07-26  Glenn Morris  <rgm@gnu.org>
5578         * align.el (align-regexp): Doc fix.  (Bug#14857)
5579         (align-region): Explicit error if subexpression missing/does not match.
5581         * simple.el (global-visual-line-mode):
5582         Do not duplicate the mode lighter.  (Bug#14858)
5584 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5586         * window.el (display-buffer): In display-buffer bind
5587         split-window-keep-point to t, bug#14829.
5589 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5591         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5592         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5593         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5594         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5595         Change accordingly.
5596         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5597         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5599 2013-07-25  Glenn Morris  <rgm@gnu.org>
5601         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5603 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5605         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5606         parameter to modify-frame-parameters if the value has not changed;
5607         this is a workaround for bug#14949.
5608         (desktop--make-frame): On cl-delete-if call, check parameter name,
5609         not full parameter.
5611 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5613         * vc/vc.el (vc-ignore): New function.
5615         * vc/vc-svn.el (vc-svn-ignore): New function.
5617         * vc/vc-hg.el (vc-hg-ignore): New function.
5619         * vc/vc-git.el (vc-git-ignore): New function.
5621         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5622         (vc-dir-ignore): New function.
5624         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5625         (cvs-append-to-ignore): Move here from pcvs.el.
5627         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5629         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5631 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5633         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5634         (desktop-restore-frames): Warn when deleting an existing frame failed.
5636 2013-07-24  Glenn Morris  <rgm@gnu.org>
5638         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5640 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5642         * filenotify.el (file-notify-supported-p):
5643         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5644         Remove functions.
5646         * autorevert.el (auto-revert-use-notify):
5647         (auto-revert-notify-add-watch):
5648         * net/tramp.el (tramp-file-name-for-operation):
5649         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5650         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5651         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5652         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5653         Remove `file-notify-supported-p' entry.
5655 2013-07-24  Glenn Morris  <rgm@gnu.org>
5657         * printing.el: Replace all uses of deleted ps-windows-system,
5658         ps-lp-system, ps-flatten-list with lpr- versions.
5660 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5662         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5663         checked with memq (bug#14935).
5665         * files.el (revert-buffer-function): Use a non-nil default.
5666         (revert-buffer-preserve-modes): Declare var to
5667         provide access to the `preserve-modes' argument.
5668         (revert-buffer): Let-bind it.
5669         (revert-buffer--default): New function, extracted from revert-buffer.
5671 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5673         * lpr.el: Signal print errors more prominently.
5674         (print-region-function): Don't default to nil.
5675         (lpr-print-region): New function, extracted from print-region-1.
5676         Check lpr's return value and signal an error in case of problem.
5677         (print-region-1): Use it.
5678         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5679         versions instead.
5680         (ps-printer-name): Default to nil.
5681         (ps-printer-name-option): Default to lpr-printer-switch.
5682         (ps-print-region-function): Don't default to nil.
5683         (ps-postscript-code-directory): Simplify default.
5684         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5685         (ps-string-list, ps-eval-switch, ps-flatten-list)
5686         (ps-flatten-list-1): Remove.
5687         (ps-multibyte-buffer): Avoid setq.
5688         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5689         (print-region-function, ps-print-region-function): Don't set them here.
5691 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5693         * ido.el (ido-fractionp):
5694         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5695         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5696         (ido-max-directory-size, ido-max-dir-file-cache)
5697         (ido-decorations): Doc fix.
5699         * ansi-color.el: Fix old URL.
5701 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5703         * progmodes/sql.el: Version 3.3
5704         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5705         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5706         (sql-interactive-remove-continuation-prompt): Rewrite, use
5707         functions above.  Fix continuation prompt and complete output line
5708         handling.
5709         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5710         redirected output buffer.
5711         (sql-mode): Restore deleted code (Bug#13591).
5713 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5715         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5717 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5719         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5721         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5722         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5723         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5725 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5727         * desktop.el (desktop-clear): Simplify; remove useless checks
5728         against invalid buffer names.
5729         (desktop-list*): Use cl-list*.
5730         (desktop-buffer-info, desktop-create-buffer): Simplify.
5732 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5734         * bookmark.el (bookmark-make-record): Restore NAME as a default
5735         value.  (Bug#14933)
5737 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5739         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5740         extracted from autoload--insert-text.
5741         (autoload--insert-text): Remove.
5742         (autoload--print-cookie-text): New function, extracted from
5743         autoload--insert-cookie-text.
5744         (autoload--insert-cookie-text): Remove.
5745         (autoload-generate-file-autoloads): Adjust calls accordingly.
5747         * winner.el (winner-hook-installed-p): Remove.
5748         (winner-mode): Simplify accordingly.
5750         * subr.el (add-to-list): Fix compiler-macro when `append' is
5751         not constant.  Don't use `cl-member' for the base case.
5753         * progmodes/subword.el: Fix boundary case (bug#13758).
5754         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5755         own group.
5756         (subword-backward-regexp): Make it a constant.
5757         (subword-forward-internal): Don't treat a trailing capital as the
5758         beginning of a word.
5760 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5762         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5763         global value of tabulated-list-revert-hook (bug#14930).
5765 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5767         * desktop.el: Require 'cl-lib.
5768         (desktop-before-saving-frames-functions): New hook.
5769         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5770         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5771         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5772         Do not save frames with non-nil `desktop-dont-save' parameter.
5773         Filter out deleted frames.
5774         (desktop--find-frame): Use cl-find-if.
5775         (desktop--select-frame): Use cl-(first|second|third) to access values
5776         of desktop-mini.
5777         (desktop--make-frame): Use cl-delete-if.
5778         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5779         (desktop-restore-frames): Use cl-(first|second|third) to access values
5780         of desktop-mini.  Look for visible frame at the end, not while
5781         restoring frames.
5783         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5784         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5785         Use string-match-p, looking-at-p (bug#14927).
5787 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5789         * desktop.el (desktop-saved-frame-states):
5790         Rename from desktop--saved-states; all users changed.
5791         (desktop-save-frames): Rename from desktop--save-frames.
5792         Do not save state to desktop file.
5793         (desktop-save): Save desktop-saved-frame-states to desktop file
5794         and reset to nil.
5795         (desktop-restoring-frames-p): New function.
5796         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5797         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5798         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5800         * desktop.el: Correctly restore iconified frames.
5801         (desktop--filter-iconified-position): New function.
5802         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5804 2013-07-20  Glenn Morris  <rgm@gnu.org>
5806         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5807         Let `message' do the formatting.
5808         (def-gdb-preempt-display-buffer): Add explicit format.
5810         * image-dired.el (image-dired-track-original-file):
5811         Use with-current-buffer.
5812         (image-dired-track-thumbnail): Use with-current-buffer.
5813         Avoid changing point of wrong window.
5815         * image-dired.el (image-dired-track-original-file):
5816         Avoid changing point of wrong window.  (Bug#14909)
5818 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5820         * progmodes/gdb-mi.el (gdb-done-or-error):
5821         Guard against "%" in gdb output.  (Bug#14127)
5823 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5825         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5826         (Bug#14826)
5828         * international/mule.el (coding-system-iso-2022-flags): Fix last
5829         change.
5831 2013-07-20  Kenichi Handa  <handa@gnu.org>
5833         * international/mule.el (coding-system-iso-2022-flags):
5834         Add `8-bit-level-4'.  (Bug#8522)
5836 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5838         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5839         (bug#14815).
5841         * net/eww.el (eww-process-text-input): Allow inputting when the
5842         point is at the start of the line, as the properties aren't
5843         front-sticky.
5845         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5846         degenerate widths.
5848 2013-07-19  Richard Stallman  <rms@gnu.org>
5850         * epa.el (epa-popup-info-window): Doc fix.
5852         * subr.el (split-string): New arg TRIM.
5854 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5856         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5857         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5859 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5861         * filenotify.el (file-notify--library): Rename from
5862         `file-notify-support'.  Do not autoload.  Adapt all uses.
5863         (file-notify-supported-p): New defun.
5865         * autorevert.el (auto-revert-use-notify):
5866         Use `file-notify-supported-p' instead of `file-notify-support'.
5867         Adapt docstring.
5868         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5870         * net/tramp.el (tramp-file-name-for-operation):
5871         Add `file-notify-supported-p'.
5873         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5874         New defun.
5875         (tramp-sh-file-name-handler-alist): Add it as handler for
5876         `file-notify-supported-p '.
5878         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5879         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5880         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5881         Add `ignore' as handler for `file-notify-*' functions.
5883 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5885         * simple.el (line-move-partial, line-move): Don't start vscroll or
5886         scroll-up if the current line is not taller than the window.
5887         (Bug#14881)
5889 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5891         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5892         highlight question marks in the method names as strings.
5893         (ruby-block-beg-keywords): Inline.
5894         (ruby-font-lock-keyword-beg-re): Extract from
5895         `ruby-font-lock-keywords'.
5897 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5899         * frame.el (blink-cursor-blinks): New defcustom.
5900         (blink-cursor-blinks-done): New defvar.
5901         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5902         (blink-cursor-timer-function): Check if number of blinks has been
5903         done on X and NS.
5904         (blink-cursor-suspend, blink-cursor-check): New defuns.
5906 2013-07-15  Glenn Morris  <rgm@gnu.org>
5908         * edmacro.el (edmacro-format-keys): Fix previous change.
5910 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5912         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5913         The hack didn't work outside English locales anyway.
5915 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5917         * simple.el (define-alternatives): Rename from alternatives-define,
5918         per RMS' suggestion.
5920 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5922         * desktop.el (desktop-restore-frames): Change default to t.
5923         (desktop-restore-in-current-display): Now offer more options.
5924         (desktop-restoring-reuses-frames): New customization option.
5925         (desktop--saved-states): Doc fix.
5926         (desktop-filter-parameters-alist): New variable, renamed and expanded
5927         from desktop--excluded-frame-parameters.
5928         (desktop--target-display): New variable.
5929         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5930         (desktop--filter-tty*, desktop--filter-*-color)
5931         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5932         (desktop--filter-save-desktop-parm)
5933         (desktop-restore-in-original-display-p): New functions.
5934         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5935         (desktop--save-minibuffer-frames): New function, inspired by a similar
5936         function from Martin Rudalics.
5937         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5938         (desktop--restore-in-this-display-p): Remove.
5939         (desktop--find-frame): Rename from desktop--find-frame-in-display
5940         and add predicate argument.
5941         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5942         (desktop--reuse-list): New variable.
5943         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5944         New functions.
5945         (desktop--restore-frames): Add support for "minibuffer-special" frames.
5947 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
5949         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5951 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
5953         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5954         Highlight conversion methods on Kernel.
5956 2013-07-13  Alan Mackenzie  <acm@muc.de>
5958         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5959         and comment it out.  This out-commenting enables certain C++
5960         declarations to be parsed correctly.
5962 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
5964         * international/mule.el (define-coding-system): Doc fix.
5966         * simple.el (default-font-height): Don't call font-info if the
5967         frame's default font didn't change since the frame was created.
5968         (Bug#14838)
5970 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5972         * ido.el (ido-read-file-name): Guard against non-symbol value.
5974 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5976         * progmodes/python.el (python-imenu--build-tree): Fix corner case
5977         in nested defuns.
5979 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5981         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5982         ido-set-matches call.  (Bug#6852)
5984 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
5986         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5987         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5988         Ruby 2.0.
5989         (ruby-font-lock-keywords): Distinguish calls to functions with
5990         module-like names from module references.  Highlight character
5991         literals.
5993 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5995         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5996         (gdb-send): Handle continued commands.  (Bug#14847)
5998 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6000         * desktop.el (desktop--v2s): Remove unused local variable.
6001         (desktop-save-buffer): Make defvar-local; adjust docstring.
6002         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6003         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6005 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6007         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6009 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6011         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6012         (Bug#14842)
6014 2013-07-12  Glenn Morris  <rgm@gnu.org>
6016         * doc-view.el: Require cl-lib at runtime too.
6017         (doc-view-remove-if): Remove.
6018         (doc-view-search-next-match, doc-view-search-previous-match):
6019         Use cl-remove-if.
6021         * edmacro.el: Require cl-lib at runtime too.
6022         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6023         (edmacro-mismatch, edmacro-subseq): Remove.
6025         * shadowfile.el: Require cl-lib.
6026         (shadow-remove-if): Remove.
6027         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6028         Use cl-remove-if.
6030         * wid-edit.el: Require cl-lib.
6031         (widget-choose): Use cl-remove-if.
6032         (widget-remove-if): Remove.
6034         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6035         (ebrowse-delete-if-not): Remove.
6036         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6037         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6038         Use cl-delete-if-not.
6040 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6042         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6043         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6045 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6047         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6049 2013-07-11  Glenn Morris  <rgm@gnu.org>
6051         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6052         (edebug-gensym-index, edebug-gensym):
6053         Remove reimplementation of cl-gensym.
6054         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6056         * thumbs.el: Require cl-lib at run-time too.
6057         (thumbs-gensym-counter, thumbs-gensym):
6058         Remove reimplementation of cl-gensym.
6059         (thumbs-temp-file): Use cl-gensym.
6061         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6062         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6063         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6064         (ert--union, ert--gensym-counter, ert--gensym-counter)
6065         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6066         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6067         (ert-make-test-unbound, ert--expand-should-1)
6068         (ert--expand-should, ert--should-error-handle-error)
6069         (should-error, ert--explain-equal-rec)
6070         (ert--plist-difference-explanation, ert-select-tests)
6071         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6072         Use cl-lib functions rather than reimplementations.
6074 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6076         * net/tramp.el (tramp-methods): Extend docstring.
6077         (tramp-connection-timeout): New defcustom.
6078         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6079         (with-tramp-progress-reporter): Simplify.
6080         (tramp-process-actions): Improve messages.
6082         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6083         * net/tramp-sh.el (tramp-maybe-open-connection):
6084         Use `tramp-connection-timeout'.
6085         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6086         (Bug#14808)
6088 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6090         * ido.el (ido-read-file-name): Conform to the requirements of
6091         read-file-name.  (Bug#11861)
6092         (ido-read-directory-name): Conform to the requirements of
6093         read-directory-name.
6095 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6097         * subr.el (delay-warning): New function.
6099 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6101         * simple.el (default-line-height): New function.
6102         (line-move-partial, line-move): Use it instead of computing the
6103         line height inline.
6104         (line-move-partial): Always compute ROWH.  If the last line is
6105         partially-visible, but its text is completely visible, allow
6106         cursor to enter such a partially-visible line.
6108 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6110         Improve error messages.  (Bug#14808)
6112         * net/tramp.el (tramp-current-connection): New defvar, moved from
6113         tramp-sh.el.
6114         (tramp-message-show-progress-reporter-message): Remove, not
6115         needed anymore.
6116         (tramp-error-with-buffer): Show message in minibuffer.
6117         Discard input before waiting.  Reset connection timestamp.
6118         (with-tramp-progress-reporter): Improve messages.
6119         (tramp-process-actions): Use progress reporter.  Delete process in
6120         case of error.  Improve messages.
6122         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6123         Call `tramp-error-with-buffer' with vector and buffer.
6124         (tramp-current-connection): Remove.
6125         (tramp-maybe-open-connection): The car of
6126         `tramp-current-connection' are the first 3 slots of the vector.
6128 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6130         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6131         inside continued strings.
6133 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6135         Timestamp fixes for undo (Bug#14824).
6136         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6138 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6140         * files.el (require-final-newline): Allow safe local value.
6141         (Bug#14834)
6143 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6145         * ido.el (ido-read-directory-name): Handle fallback.
6146         (ido-read-file-name): Update DIR to ido-current-directory.
6147         (Bug#1516)
6148         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6150 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6152         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6153         "autoload".  Remove "warn lower camel case" section, previously
6154         commented out.  Highlight negation char.  Do not highlight the
6155         target in singleton method definitions.
6157 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6159         * faces.el (tty-setup-hook): Declare the hook.
6161         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6162         and detect when a guard/pred depends on local vars (bug#14773).
6163         (pcase--u1): Adjust caller.
6165 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6167         * simple.el (line-move-partial, line-move): Account for
6168         line-spacing.
6169         (line-move-partial): Avoid setting vscroll when the last
6170         partially-visible line in window is of default height.
6172 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6174         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6175         been used a while.
6177 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6179         * subr.el (read-quoted-char): Remove unused local variable `char'.
6181 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6183         * ediff.el (ediff-version): Version update.
6184         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6185         (ediff-merge-with-ancestor-command, ediff-directories-command)
6186         (ediff-directories3-command, ediff-merge-directories-command)
6187         (ediff-merge-directories-with-ancestor-command): New functions.
6188         All are command-line interfaces to ediff: to facilitate calling
6189         Emacs with the appropriate ediff functions invoked.
6191         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6192         (viper-save-kill-buffer): Check if buffer is modified.
6194         * viper.el (viper-version): Version update.
6195         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6197 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6199         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6200         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6201         (viper-intercept-ESC-key): Simplify.
6202         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6203         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6204         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6205         (viper-setup-ESC-to-escape): New functions.
6206         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6207         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6209 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6211         * simple.el (default-font-height, window-screen-lines):
6212         New functions.
6213         (line-move, line-move-partial): Use them instead of
6214         frame-char-height and window-text-height.  This makes scrolling
6215         text smoother when the buffer's default face uses a font that is
6216         different from the frame's default font.
6218 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6220         * files.el (write-file): Do not display confirm dialog for NS,
6221         it does its own dialog, which can't be cancelled (Bug#14578).
6223 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6225         * simple.el (line-move-partial): Adjust the row returned by
6226         posn-at-point for the current window-vscroll.  (Bug#14567)
6228 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6230         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6231         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6232         spaces.
6234 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6236         * window.el (window-state-put-stale-windows): New variable.
6237         (window--state-put-2): Save list of windows without matching buffer.
6238         (window-state-put): Remove "bufferless" windows if possible.
6240 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6242         * simple.el (alternatives-define): Remove leftover :group keyword.
6243         Tweak docstring.
6245 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6247         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6248         (ido-enable-virtual-buffers): New variable.
6249         (ido-buffer-internal, ido-toggle-virtual-buffers)
6250         (ido-make-buffer-list): Use it.
6251         (ido-exhibit): Support turning on and off virtual buffers
6252         automatically.
6254 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6256         * simple.el (alternatives-define): New macro.
6258 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6260         * subr.el (read-quoted-char): Use read-key.
6261         (sit-for): Let read-event decode tty input (bug#14782).
6263 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6265         * calendar/todo-mode.el: Add handling of file deletion, both by
6266         mode command and externally.  Fix various related bugs.
6267         Clarify Commentary and improve some documentation strings and code.
6268         (todo-delete-file): New command.
6269         (todo-check-file): New function.
6270         (todo-show): Handle external deletion of the file we're trying to
6271         show (bug#14688).  Replace called-interactively-p by an optional
6272         prefix argument to avoid problematic interaction with catch form
6273         when byte compiled (bug#14702).
6274         (todo-quit): Handle external deletion of the archive's todo file.
6275         Make sure the buffer that was visiting the archive file is still
6276         live before trying to bury it.
6277         (todo-category-completions): Handle external deletion of any
6278         category completion files.
6279         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6280         of todo files, in case of external deletion.
6281         (todo-add-file): Replace unnecessary setq by let-binding.
6282         (todo-find-archive): Check whether there are any archives.
6283         Replace unnecessary setq by let-binding.
6284         (todo-archive-done-item): Use find-file-noselect to get the
6285         archive buffer whether or not the archive already exists.
6286         Remove superfluous code.  Use file size instead of buffer-file-name to
6287         check if the archive is new; if it is, update list of archives.
6288         (todo-default-todo-file): Allow nil to be a valid value for when
6289         there are no todo files.
6290         (todo-reevaluate-default-file-defcustom): Use corrected definition
6291         of todo-default-todo-file.
6292         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6293         (todo-delete-category, todo-show-categories-table)
6294         (todo-category-number): Clarify comment.
6295         (todo-filter-items): Clarify documentation string.
6296         (todo-show-current-file, todo-display-as-todo-file)
6297         (todo-reset-and-enable-done-separator): Tweak documentation string.
6298         (todo-done-separator): Make separator length window-width, since
6299         bug#2749 is now fixed.
6301 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6303         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6304         Support both "gvfs-monitor-dir" and "inotifywait".
6305         (tramp-sh-file-inotifywait-process-filter): Rename from
6306         `tramp-sh-file-notify-process-filter'.
6307         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6308         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6310 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6312         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6314 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6316         * frame.el (display-pixel-height, display-pixel-width)
6317         (display-mm-height, display-mm-width): Mention behavior on
6318         multi-monitor setups in docstrings.
6319         (w32-display-monitor-attributes-list): Declare function.
6320         (display-monitor-attributes-list): Use it.
6322 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6324         * filenotify.el: New package.
6326         * autorevert.el (top): Require filenotify.el.
6327         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6328         instead.
6329         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6330         (auto-revert-notify-handler): Use `file-notify-*' functions.
6332         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6334         * net/tramp.el (tramp-file-name-for-operation):
6335         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6337         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6338         for `file-notify-add-watch' and `file-notify-rm-watch'.
6339         (tramp-process-sentinel): Improve trace.
6340         (tramp-sh-handle-file-notify-add-watch)
6341         (tramp-sh-file-notify-process-filter)
6342         (tramp-sh-handle-file-notify-rm-watch)
6343         (tramp-get-remote-inotifywait): New defuns.
6345 2013-07-03  Juri Linkov  <juri@jurta.org>
6347         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6348         call of `occur-read-primary-args' to interactive spec.
6350         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6351         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6353 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6355         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6356         `Buffer-menu-multi-occur'.  Add it to the menu.
6357         (Buffer-menu-mode): Document it in docstring.
6358         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6360 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6362         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6363         keywords and built-ins.
6365 2013-07-03  Glenn Morris  <rgm@gnu.org>
6367         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6369         Make info-xref checks case-sensitive by default
6370         * info.el (Info-find-node, Info-find-in-tag-table)
6371         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6372         Add option for exact case matching of nodes.
6373         * info-xref.el (info-xref): New custom group.
6374         (info-xref-case-fold): New option.
6375         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6377 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6379         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6381 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6383         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6384         middle of block statement initially, lower the depth.  Remove
6385         FIXME comment, not longer valid.  Remove middle of block statement
6386         detection, no need to do that anymore since we've been using
6387         `ruby-parse-region' here.
6389 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6391         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6393 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6395         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6397 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6399         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6400         (desktop-restore-in-current-display): New customization option.
6401         (desktop--excluded-frame-parameters): Add `font'.
6402         (desktop--save-frames): Rename from desktop--save-windows.
6403         (desktop--restore-in-this-display-p): New function.
6404         (desktop--make-full-frame): Remove unwanted width/height from
6405         full(width|height) frames.
6406         (desktop--restore-frames): Rename from desktop--restore-windows.
6407         Obey desktop-restore-current-display.  Do not delete old frames or
6408         select a new frame unless we were able to restore at least one frame.
6410 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6412         * files.el (find-file-noselect): Simplify conditional expression.
6414         * remember.el (remember-append-to-file):
6415         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6417         Add `remember-notes' function to store random notes across Emacs
6418         restarts.
6419         * remember.el (remember-data-file): Add :set callback to affect
6420         notes buffer (if any).
6421         (remember-notes): New command.
6422         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6423         New defcustoms for the `remember-notes' function.
6424         (remember-notes-save-and-bury-buffer): New command.
6425         (remember-notes-mode-map): New variable.
6426         (remember-mode): New minor mode.
6427         (remember-notes--kill-buffer-query): New function.
6428         * startup.el (initial-buffer-choice): Add notes to custom type.
6430 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6432         * bindings.el (right-char, left-char): Don't call sit-for, this is
6433         no longer needed.  Use arithmetic comparison only for numerical
6434         arguments.
6436         * international/mule-cmds.el (select-safe-coding-system):
6437         Handle the case of FROM being a string correctly.  (Bug#14755)
6439 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6441         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6442         progression on degenerate tables.
6443         (shr-rescale-image): ImageMagick animated images currently don't work.
6445 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6447         Some fixes and improvements for desktop frame restoration.
6448         It is still experimental and disabled by default.
6449         * desktop.el (desktop--save-windows): Put the selected frame at
6450         the head of the list.
6451         (desktop--make-full-frame): New function.
6452         (desktop--restore-windows): Try to re-select the frame that was
6453         selected upon saving.  Do not abort if some frames fail to restore,
6454         just show an error message and continue.  Set up maximized frames
6455         so they have default non-maximized dimensions.
6457 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6459         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6460         Don't start heredoc inside a string or comment.
6462 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6464         * bindings.el (visual-order-cursor-movement): New defcustom.
6465         (right-char, left-char): Provide visual-order cursor motion by
6466         calling move-point-visually.  Update the doc strings.
6468 2013-06-28  Kenichi Handa  <handa@gnu.org>
6470         * international/mule.el (define-coding-system): New coding system
6471         properties :inhibit-null-byte-detection,
6472         :inhibit-iso-escape-detection, and :prefer-utf-8.
6473         (set-buffer-file-coding-system): If :charset-list property of
6474         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6475         appropriate for setting.
6477         * international/mule-cmds.el (select-safe-coding-system):
6478         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6479         multibyte characters, return utf-8 (or one of its siblings).
6481         * international/mule-conf.el (prefer-utf-8): New coding system.
6482         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6483         files.
6485 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6487         * net/shr.el (shr-render-region): New function.
6489         * net/eww.el: Autoload `eww-browse-url'.
6491 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6493         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6494         Adapt to `package-desc-version' being a list.
6495         Use `package--ac-desc-version' to retrieve version from a package
6496         archive element.
6498 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6500         New experimental feature to save&restore window and frame setup.
6501         * desktop.el (desktop-save-windows): New defcustom.
6502         (desktop--saved-states): New var.
6503         (desktop--excluded-frame-parameters): New defconst.
6504         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6505         (desktop--restore-windows, desktop--save-windows): New functions.
6506         (desktop-save): Call `desktop--save-windows'.
6507         (desktop-read): Call `desktop--restore-windows'.
6509 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6511         * net/shr.el (add-face-text-property): Remove compat definition.
6513 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6515         * info.el (Info-try-follow-nearest-node): Move search for footnote
6516         above search for node name to prevent missing a footnote (bug#14717).
6518 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6520         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6522 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6524         * net/eww.el (eww-read-bookmarks): Check file size.
6526 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6528         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6529         advice--pending if newdef is nil or an autoload (bug#13820).
6530         (advice-mapc): New function.
6532 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6534         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6535         probably.
6536         (eww-mode-map): Add a menu bar.
6537         (eww-add-bookmark): New command.
6538         (eww-bookmark-mode): New mode and commands.
6539         (eww-add-bookmark): Remove newlines from the title.
6540         (eww-bookmark-browse): Don't bug out if it's the only window.
6542 2013-06-26  Glenn Morris  <rgm@gnu.org>
6544         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6545         (hfy-size): Handle ttys.  (Bug#14668)
6547         * info-xref.el: Update for Texinfo 5 change in *note format.
6548         (info-xref-node-re, info-xref-note-re): New constants.
6549         (info-xref-check-buffer): Use info-xref-note-re.
6551 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6553         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6555         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6556         nil terminate the loop (bug#14718).
6558 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6560         * net/eww.el: Rework history traversal.  When going forward/back,
6561         put these actions into the history, too, so that they can be
6562         replayed.
6563         (eww-render): Move the history reset to the correct buffer.
6565 2013-06-25  Juri Linkov  <juri@jurta.org>
6567         * files-x.el (modify-dir-local-variable): Change the header comment
6568         in the file with directory local variables.  (Bug#14692)
6570         * files-x.el (read-file-local-variable-value): Add `default'.
6571         (Bug#14710)
6573 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6575         * net/eww.el (eww-make-unique-file-name): Create a unique file
6576         name before saving to entering `y' accidentally asynchronously.
6578 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6580         * net/eww.el (eww-download): New command and keystroke.
6582 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6584         * net/eww.el (eww-copy-page-url): Change name of command.
6586         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6587         be more consistent with Info and dired.
6589         * net/eww.el (eww-mode-map): Ditto.
6591 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6593         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6594         packages from archives.
6595         (package-archive-contents): Change format; include obsolete packages.
6596         (package-desc): Use `dir' to mark builtin packages.
6597         (package--from-builtin): Set the `dir' field to `builtin'.
6598         (generated-autoload-file, version-control): Declare.
6599         (package-compute-transaction): Change first arg and return value to be
6600         lists of package-descs.  Adjust to new package-archive-contents format.
6601         (package--add-to-archive-contents): Adjust to new
6602         package-archive-contents format.
6603         (package-download-transaction): Arg is now a list of package-descs.
6604         (package-install): If `pkg' is a package name, pass it as
6605         a requirement, so it is subject to the usual (e.g. disabled) checks.
6606         (describe-package): Accept package-desc as well.
6607         (describe-package-1): Describe a specific package-desc.  Add links to
6608         other package-descs for the same package name.
6609         (package-menu-describe-package): Pass the actual package-desc.
6610         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6611         works correctly.
6612         (package-desc-status): New function.
6613         (package-menu--refresh): New function, extracted
6614         from package-menu--generate.
6615         (package-menu--generate): Use it.
6616         (package-delete): Update package-alist.
6617         (package-menu-execute): Don't call package-initialize.
6619         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6620         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6621         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6622         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6623         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6624         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6626 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6628         * window.el (window--state-get-1): Workaround for bug#14527.
6629         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6631 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6633         * net/eww.el (eww-back-url): Implement the history by stashing all
6634         the data into a list.
6635         (eww-forward-url): Allow going forward in the history, too.
6637 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6639         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6640         for values and use read--expression for expressions (bug#14710).
6641         (read-file-local-variable): Avoid setq.
6642         (read-file-local-variable-mode): Use minor-mode-list.
6644 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6646         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6647         for DOI URLs.
6649 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6651         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6652         Update imenu-support when dialect changes.
6654 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6656         * ido.el (ido-read-internal): Allow forward slash on windows.
6658 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6660         * net/eww.el (eww): Start of strings is \\`, not ^.
6662 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6664         * net/shr.el (shr-browse-url): Fix interactive spec.
6666         * net/eww.el (eww): Add a trailing slash to domain names.
6668 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6670         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6672 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6674         * net/shr.el (shr-browse-url): Use an external browser if given a
6675         prefix.
6677         * net/eww.el (eww-external-browser): Move to shr.
6679 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6681         * net/eww.el (eww): Work more correctly for file: URLs.
6682         (eww-detect-charset): Allow quoted charsets.
6683         (eww-yank-page-url): New command and keystroke.
6685 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6687         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6688         file name of gpg executable.
6689         (epg-context-program): New function.
6690         (epg-context-home-directory): New function.
6691         (epg-context-set-program): New function.
6692         (epg-context-set-home-directory): New function.
6693         (epg--start): Use `epg-context-program' instead of
6694         'epg-gpg-program'.
6695         (epg--list-keys-1): Likewise.
6697 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6699         * ido.el (ido-read-internal): Fix bug#14620.
6701 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6703         * faces.el (face-documentation): Simplify.
6704         (read-face-attribute, tty-find-type, x-resolve-font-name):
6705         Use `string-match-p'.
6706         (list-faces-display): Use `string-match-p'.  Simplify.
6707         (face-spec-recalc): Check face to avoid face alias loops.
6708         (read-color): Use `string-match-p' and non-capturing parenthesis.
6710 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6712         * net/shr.el (shr-rescale-image): Use the new
6713         :max-width/:max-height functionality.
6715 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6717         * net/eww.el (eww-search-prefix): New variable.
6718         (eww): Use it.
6719         (eww-external-browser): New variable.
6720         (eww-mode-map): New keystroke.
6721         (eww-browse-with-external-browser): New command.
6723         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6725 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6727         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6728         Don't skip aligning the next header field when padding is 0;
6729         otherwise, field width is not respected unless the title is as
6730         wide as the field.
6732 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6734         * emacs-lisp/package.el (package-el-version): Remove.
6735         (package-process-define-package): Fix inf-loop.
6736         (package-install): Allow symbols as arguments again.
6738 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6740         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6741         add some more keyword-like methods.
6742         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6744 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6746         * bs.el (bs-buffer-show-mark): Make defvar-local.
6747         (bs-mode): Use setq-local.
6749         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6750         (emacs-lock--try-unlocking): Make defvar-local.
6752 2013-06-22  Glenn Morris  <rgm@gnu.org>
6754         * play/cookie1.el (cookie-apropos): Minor simplification.
6756         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6758 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6760         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6761         `regexp-opt', it breaks the build during dumping.
6763 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6765         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6766         Highlight keyword-like methods on Kernel and Module with
6767         font-lock-builtin-face.
6768         (auto-mode-alist): Consolidate different entries into one regexp
6769         and add more *file-s.
6771 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6773         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6775         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6776         (diary-entry): Use it in the action of this button type instead of
6777         diary-goto-entry.
6779         * calendar/todo-mode.el: New version.
6780         (todo-add-category): Append new category to end of file and give
6781         it the highest number, instead of putting it at the beginning and
6782         giving it 0.  Incorporate noninteractive functionality.
6783         (todo-forward-category): Adapt to 1-based category numbering.
6784         Allow skipping over archived categories.
6785         (todo-backward-category): Derive from todo-forward-category.
6786         (todo-backward-item, todo-forward-item): Make noninteractive and
6787         delegate interactive part to new commands.  Make sensitive to done items.
6788         (todo-categories): Make value an alist of category names and
6789         vectors of item counts.
6790         (todo-category-beg): Make a defconst.
6791         (todo-category-number): Use 1 instead of 0 as initial value.
6792         (todo-category-select): Make sensitive to overlays, optional item
6793         highlighting and done items.
6794         (todo-delete-item): Make sensitive to overlays and marked and done items.
6795         (todo-edit-item): Make sensitive to overlays and editing of
6796         date/time header optional.  Add format checks.
6797         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6798         no-op if point is not on an item.  Advertise using todo-edit-quit.
6799         (todo-edit-mode): Make sensitive to new format, font-locking, and
6800         multiple todo files.
6801         (todo-insert-item, todo-insert-item-here): Derive from
6802         todo-basic-insert-item and extend functionality.
6803         (todo-item-end, todo-item-start): Make sensitive to done items.
6804         (todo-item-string): Don't return text properties.  Restore point.
6805         (todo-jump-to-category): Make sensitive to multiple todo files and
6806         todo archives.  Use extended category completion.
6807         (todo-lower-item, todo-raise-item): Rename to *-priority and
6808         derive from todo-set-item-priority.
6809         (todo-mode): Derive from special-mode.  Make sensitive to new
6810         format, font-locking and multiple todo files.  Make read-only.
6811         (todo-mode-map): Don't suppress digit keys, so they can supply
6812         prefix arguments.  Add many new key bindings.
6813         (todo-prefix): Insert as an overlay instead of file text.
6814         Change semantics from diary date expression to purely visual mark.
6815         (todo-print): Rename to todo-print-buffer.  Make buffer display
6816         features printable.  Remove option to restrict number of items
6817         printed.  Add option to print to file.
6818         (todo-print-function): Rename to todo-print-buffer-function.
6819         (todo-quit): Extend to handle exiting new todo modes.
6820         (todo-remove-item): Make sensitive to overlays.
6821         (todo-save): Extend to buffers of filtered items.
6822         (todo-show): Make sensitive to done items, multiple todo files and
6823         new todo modes.  Offer to convert legacy todo file before creating
6824         first new todo file.
6825         (todo-show-priorities): Rename to todo-top-priorities.
6826         Change semantics of value 0.
6827         (todo-top-priorities): Rename to todo-filter-top-priorities,
6828         derive from todo-filter-items and extend functionality.
6829         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6830         and extend functionality to other types of filtered items.
6831         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6832         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6833         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6834         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6835         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6836         (todo-edit-mode-hook, todo-entry-prefix-function)
6837         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6838         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6839         (todo-initials, todo-insert-threshold, todo-item-string-start)
6840         (todo-line-string, todo-menu, todo-mode-hook)
6841         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6842         (todo-print-priorities, todo-remove-separator)
6843         (todo-save-top-priorities-too, todo-string-count-lines)
6844         (todo-string-multiline-p, todo-time-string-format)
6845         (todo-tmp-buffer-name): Remove.
6846         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6847         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6848         (todo-edit-category-diary-inclusion)
6849         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6850         (todo-edit-file, todo-edit-item-date-day)
6851         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6852         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6853         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6854         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6855         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6856         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6857         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6858         (todo-filter-top-priorities-multifile, todo-find-archive)
6859         (todo-find-filtered-items-file, todo-go-to-source-item)
6860         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6861         (todo-jump-to-archive-category, todo-lower-category)
6862         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6863         (todo-move-category, todo-move-item, todo-next-button)
6864         (todo-next-item, todo-padded-string, todo-powerset)
6865         (todo-previous-button, todo-previous-item)
6866         (todo-print-buffer-to-file, todo-raise-category)
6867         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6868         (todo-set-category-number, todo-set-item-priority)
6869         (todo-set-top-priorities-in-category)
6870         (todo-set-top-priorities-in-file, todo-show-categories-table)
6871         (todo-sort-categories-alphabetically-or-numerically)
6872         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6873         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6874         (todo-toggle-item-header, todo-toggle-item-highlighting)
6875         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6876         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6877         (todo-unarchive-items, todo-unmark-category): New commands.
6878         (todo-absolute-file-name, todo-add-to-buffer-list)
6879         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6880         (todo-basic-insert-item, todo-category-completions)
6881         (todo-category-number, todo-category-string-matcher-1)
6882         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6883         (todo-check-format, todo-clear-matches)
6884         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6885         (todo-current-category, todo-date-string-matcher)
6886         (todo-define-insertion-command, todo-diary-expired-matcher)
6887         (todo-diary-goto-entry, todo-diary-item-p)
6888         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6889         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6890         (todo-done-item-section-p, todo-done-separator)
6891         (todo-done-string-matcher, todo-files, todo-filter-items)
6892         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6893         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6894         (todo-insert-category-line, todo-insert-item-from-calendar)
6895         (todo-insert-sort-button, todo-insert-with-overlays)
6896         (todo-insertion-command-name, todo-insertion-key-bindings)
6897         (todo-label-to-key, todo-longest-category-name-length)
6898         (todo-make-categories-list, todo-mode-external-set)
6899         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6900         (todo-modes-set-3, todo-multiple-filter-files)
6901         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6902         (todo-read-category, todo-read-date, todo-read-dayname)
6903         (todo-read-file-name, todo-read-time)
6904         (todo-reevaluate-category-completions-files-defcustom)
6905         (todo-reevaluate-default-file-defcustom)
6906         (todo-reevaluate-filelist-defcustoms)
6907         (todo-reevaluate-filter-files-defcustom)
6908         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6909         (todo-reset-done-separator, todo-reset-done-separator-string)
6910         (todo-reset-done-string, todo-reset-global-current-todo-file)
6911         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6912         (todo-reset-prefix, todo-set-categories)
6913         (todo-set-date-from-calendar, todo-set-show-current-file)
6914         (todo-set-top-priorities, todo-short-file-name)
6915         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6916         (todo-total-item-counts, todo-update-buffer-list)
6917         (todo-update-categories-display, todo-update-categories-sexp)
6918         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6919         New functions.
6920         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6921         New major modes.
6922         (todo-categories, todo-display, todo-edit, todo-faces)
6923         (todo-filtered): New defgroups.
6924         (todo-archived-only, todo-button, todo-category-string, todo-date)
6925         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6926         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6927         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6928         (todo-add-item-if-new-category, todo-always-add-time-string)
6929         (todo-categories-align, todo-categories-archived-label)
6930         (todo-categories-category-label, todo-categories-diary-label)
6931         (todo-categories-done-label, todo-categories-number-separator)
6932         (todo-categories-todo-label, todo-categories-totals-label)
6933         (todo-category-completions-files, todo-completion-ignore-case)
6934         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6935         (todo-done-separator-string, todo-done-string)
6936         (todo-files-function, todo-filter-done-items, todo-filter-files)
6937         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6938         (todo-initial-category, todo-initial-file, todo-item-mark)
6939         (todo-legacy-date-time-regexp, todo-mode-line-function)
6940         (todo-nondiary-marker, todo-number-prefix)
6941         (todo-print-buffer-function, todo-show-current-file)
6942         (todo-show-done-only, todo-show-first, todo-show-with-done)
6943         (todo-skip-archived-categories, todo-top-priorities-overrides)
6944         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6945         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6946         New defcustoms.
6947         (todo-category-done, todo-date-pattern, todo-date-string-start)
6948         (todo-diary-items-buffer, todo-done-string-start)
6949         (todo-filtered-items-buffer, todo-item-start)
6950         (todo-month-abbrev-array, todo-month-name-array)
6951         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6952         (todo-top-priorities-buffer): New defconsts.
6953         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6954         (todo-categories-with-marks, todo-category-string-face)
6955         (todo-comment-face, todo-comment-string, todo-current-todo-file)
6956         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6957         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6958         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6959         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6960         (todo-font-lock-keywords, todo-global-current-todo-file)
6961         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6962         (todo-insertion-commands-args)
6963         (todo-insertion-commands-args-genlist)
6964         (todo-insertion-commands-names, todo-insertion-map)
6965         (todo-key-bindings-t, todo-key-bindings-t+a)
6966         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6967         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6968         (todo-nondiary-face, todo-print-buffer, todo-time-face)
6969         (todo-visited): New variables.
6971 2013-06-21  Glenn Morris  <rgm@gnu.org>
6973         * play/cookie1.el (cookie-apropos): Add optional display argument.
6974         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6975         (psychoanalyze-pinhead): Use cookie-doctor.
6977 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6979         * emacs-lisp/package.el (tar-get-file-descriptor)
6980         (tar--extract): Declare.
6982 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
6984         Extend flymake's warning predicate to be a function (bug#14217).
6985         * progmodes/flymake.el (flymake-warning-predicate): New.
6986         (flymake-parse-line): Use it.
6987         (flymake-warning-re): Make obsolete alias to
6988         `flymake-warning-predicate'.
6990 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * emacs-lisp/package.el (package-alist): Include obsolete packages.
6993         (package-obsolete-list): Remove.
6994         (package-activate): Remove min-version argument.  Add `force' argument.
6995         Adjust to new package-alist format.
6996         (package-mark-obsolete): Remove.
6997         (package-unpack): Force reload of the package's autoloads.
6998         (package-installed-p): Check builtins if the installed package is not
6999         recent enough.
7000         (package-initialize): Don't reset package-obsolete-list.
7001         Don't specify which package version to activate.
7002         (package-process-define-package, describe-package-1)
7003         (package-menu--generate): Adjust to new package-alist format.
7005 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7007         * allout-widgets.el (allout-widgets-mode-off)
7008         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7009         (allout-widgets-post-command-business)
7010         (allout-widgets-after-copy-or-kill-function)
7011         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7012         (allout-decorate-item-and-context)
7013         (allout-graphics-modification-handler): Fix typos in docstrings.
7014         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7016         * cmuscheme.el (scheme-start-file): Doc fix.
7017         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7018         (scheme-input-filter): Use `string-match-p'.
7020         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7022         * dired-x.el: Use Dired consistently in docstrings.
7024         * dired.el: Use Dired consistently in docstrings.
7025         (dired-readin, dired-mode): Use `setq-local'.
7026         (dired-switches-alist): Make defvar-local.
7027         (dired-buffers-for-dir): Use `zerop'.
7028         (dired-safe-switches-p, dired-switches-escape-p)
7029         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7030         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7031         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7032         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7033         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7034         (dired-toggle-marks, dired-mark-files-containing-regexp)
7035         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7036         (dired-flag-auto-save-files, dired-flag-backup-files):
7037         Use `looking-at-p'.
7038         (dired-mark-files-regexp, dired-build-subdir-alist):
7039         Use `string-match-p', `looking-at-p'.
7041         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7042         (direct-print-region-helper): Use `string-match-p'.
7044 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7046         * comint.el (comint-redirect-results-list-from-process):
7047         Fix infinite loop.
7049 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7051         * net/eww.el (eww-update-header-line-format): Quote % characters.
7053 2013-06-21  Glenn Morris  <rgm@gnu.org>
7055         * play/cookie1.el (cookie): New custom group.
7056         (cookie-file): New option.
7057         (cookie-check-file): New function.
7058         (cookie): Make it interactive.  Make start and end messages optional.
7059         Interactively, display the result.  Default to cookie-file.
7060         (cookie-insert): Default to cookie-file.
7061         (cookie-snarf): Make start and end messages optional.
7062         Default to cookie-file.  Use with-temp-buffer.
7063         (cookie-read): Rename from read-cookie.
7064         Make start and end messages optional.  Default to cookie-file.
7065         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7066         Do not autoload it.
7067         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7068         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7070 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7072         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7074 2013-06-21  Glenn Morris  <rgm@gnu.org>
7076         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7078 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7079             Daniel Hackney  <dan@haxney.org>
7081         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7082         Consolidate the single-file vs tarball code.
7083         (package-desc-suffix): New function.
7084         (package-desc-full-name): Don't bother inlining it.
7085         (package-load-descriptor): Return the new package-desc.
7086         (package-mark-obsolete): Remove unused arg `package'.
7087         (package-unpack): Make it work for single files as well.
7088         Make it update package-alist.
7089         (package--make-autoloads-and-stuff): Rename from
7090         package--make-autoloads-and-compile.  Don't compile any more.
7091         (package--compile): New function.
7092         (package-generate-description-file): New function, extracted from
7093         package-unpack-single.
7094         (package-unpack-single): Remove.
7095         (package--with-work-buffer): Add indentation and debugging info.
7096         (package-download-single): Remove.
7097         (package-install-from-archive): Rename from package-download-tar, make
7098         it take a pkg-desc, and make it work for single files as well.
7099         (package-download-transaction): Simplify.
7100         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7101         external tar program.
7102         (package-install-from-buffer): Remove `pkg-desc' argument.
7103         Use package-tar-file-info for tar-mode buffers.
7104         (package-install-file): Simplify accordingly.
7105         (package-archive-base): Change to take a pkg-desc.
7106         * tar-mode.el (tar--check-descriptor): New function, extracted from
7107         tar-get-descriptor.
7108         (tar-get-descriptor): Use it.
7109         (tar-get-file-descriptor): New function.
7110         (tar--extract): New function, extracted from tar-extract.
7111         (tar--extract): Use it.
7112         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7113         case the summary uses non-ascii.  Adjust to new calling convention of
7114         package-tar-file-info.
7116 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7118         * comint.el (comint-redirect-results-list-from-process):
7119         Fix random delay.  (Bug#14681)
7121 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7123         * profiler.el (profiler-format-number): Use log, not log10.
7125 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7127         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7129 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7131         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7132         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7133         yet available.
7134         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7135         (AUTOGENEL): ... here.
7136         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7137         (cl--defsubst-expand): Use it.
7139 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7141         * subr.el (log10): Move here from C code, and declare as obsolete.
7142         All uses of (log10 X) replaced with (log X 10).
7144 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7146         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7147         Declare with `defvar-local'.
7148         (tabulated-list-use-header-line, tabulated-list-entries)
7149         (tabulated-list-padding, tabulated-list-printer)
7150         (tabulated-list-sort-key): Declare with `defvar-local'.
7151         (tabulated-list-init-header, tabulated-list-print-fake-header):
7152         Use `setq-local'.
7154 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7156         * arc-mode.el (archive-mode): Add `archive-write-file' to
7157         `write-contents-functions' also for remote files.  (Bug#14652)
7159 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7161         * cus-edit.el (custom-commands): Fix typos.
7162         (custom-display): Fix tooltip text.
7163         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7164         Fix typos in docstrings.
7165         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7166         (custom-unlispify-menu-entry, custom-magic-value-create)
7167         (custom-add-see-also, custom-group-value-create): Use ?\s.
7168         (custom-guess-type, customize-apropos, editable-field)
7169         (custom-face-value-create): Use `string-match-p'.
7170         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7172         * custom.el (custom-load-symbol): Use `string-match-p'.
7174         * ansi-color.el: Convert to lexical binding.
7175         (ansi-colors): Fix URL.
7176         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7177         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7178         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7180 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7182         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7184         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7186 2013-06-19  Tom Tromey  <tromey@redhat.com>
7188         * net/eww.el (eww-top-url): Remove.
7189         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7190         (eww-render): Set new variables.  Don't set eww-top-url.
7191         (eww-handle-link): Handle "prev", "home", and "contents".
7192         Downcase the rel text.
7193         (eww-top-url): Choose best top URL.
7195 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7197         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7198         relying in widget.el.  Using widget.el leads to too many
7199         user interface inconsistencies.
7200         (eww-self-insert): Implement entering commands in text fields.
7201         (eww-process-text-input): New function to make text input field editing
7202         work.
7203         (eww-submit): Rewrite to use the new-style form methods.
7204         (eww-select-display): Display the correct selected item.
7205         (eww-change-select): Implement changing the select value.
7206         (eww-toggle-checkbox): Implement radio/checkboxes.
7207         (eww-update-field): Fix compilation error.
7208         (eww-tag-textarea): Implement <textarea>.
7210         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7211         we don't shadow mode-specific bindings.
7213         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7214         nothing to push.
7216         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7218 2013-06-19  Glenn Morris  <rgm@gnu.org>
7220         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7222 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7224         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7225         not needed.
7227         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7229 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7231         * net/browse-url.el (browse-url-browser-function):
7232         `eww-browse-url' has the right calling signature, `eww' does not.
7234 2013-06-19  Glenn Morris  <rgm@gnu.org>
7236         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7237         Only eval autoloaded macros.
7238         (byte-compile-autoload): Only give the macro warning for macros.
7240         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7241         (ps-underlined-faces): Declare.
7243         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7244         (speedbar-add-supported-extension): Declare.
7246         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7247         Don't include a date stamp in the header of the generated file;
7248         it leads to needless differences between output files.
7250 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7252         * net/secrets.el (secrets-struct-secret-content-type):
7253         Replace check of introspection data by a test call of "CreateItem".
7254         Some servers do not offer introspection.
7256 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         * electric.el (electric-pair-mode): Improve interaction with
7259         electric-layout-mode.
7260         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7261         (electric-pair-syntax): Use text-mode-syntax-table in comments
7262         and strings.
7263         (electric-pair--insert): New function.
7264         (electric-pair-post-self-insert-function): Use it and
7265         electric--after-char-pos.
7267 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7269         * progmodes/octave.el (octave-help): Fix regexp.
7271 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7273         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7274         (shr-table-horizontal-line): Allow nil as a value, and change the
7275         default.
7276         (shr-insert-table-ruler): Respect the nil value.
7278 2013-06-18  Tom Tromey  <tromey@barimba>
7280         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7281         New defvars.
7282         (eww-open-file): New defun.
7283         (eww-render): Initialize new variables.
7284         (eww-display-html): Handle "link" and "a".
7285         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7286         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7287         (eww-back-url): Rename from eww-previous-url.
7288         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7289         New defuns.
7291 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7293         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7294         Distinguish ternary operator tokens from slash symbol and slash
7295         char literal.
7297 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7299         Convert symbol prettification into minor mode and global minor mode.
7301         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7302         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7303         (prettify-symbols--keywords): Rename from
7304         `prog-prettify-symbols-alist' and make a local defvar.
7305         (prettify-symbols--compose-symbol): Rename from
7306         `prog--prettify-font-lock-compose-symbol'.
7307         (prettify-symbols--make-keywords): Rename from
7308         `prog-prettify-font-lock-symbols-keywords' and simplify.
7309         (prog-prettify-install): Remove.
7310         (prettify-symbols-mode): New minor mode, based on
7311         `prog-prettify-install'.
7312         (turn-on-prettify-symbols-mode): New function.
7313         (global-prettify-symbols-mode): New globalized minor mode.
7315         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7316         * progmodes/cfengine.el (cfengine3-mode):
7317         * progmodes/perl-mode.el (perl-mode): Don't call
7318         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7320 2013-06-18  Juri Linkov  <juri@jurta.org>
7322         * files-x.el (modify-file-local-variable-message): New function.
7323         (modify-file-local-variable)
7324         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7325         and call `modify-file-local-variable-message' when it's non-nil.
7326         (add-file-local-variable, delete-file-local-variable)
7327         (add-file-local-variable-prop-line)
7328         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7329         and use it.  (Bug#9820)
7331 2013-06-18  Juri Linkov  <juri@jurta.org>
7333         * emulation/vi.el (vi-shell-op):
7334         * emulation/vip.el (vip-execute-com, ex-command):
7335         * emulation/viper-cmd.el (viper-exec-bang):
7336         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7337         the call of `shell-command-on-region'.  (Bug#14637)
7339         * simple.el (shell-command-on-region): Doc fix.
7341 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7343         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7344         (bug#14633).
7346 2013-06-18  Glenn Morris  <rgm@gnu.org>
7348         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7350         * newcomment.el (comment-search-forward, comment-search-backward):
7351         Doc fix.  (Bug#14376)
7353 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7355         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7356         (buffer-face-mode-invoke): Doc fix.
7358 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7360         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7361         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7363 2013-06-18  Glenn Morris  <rgm@gnu.org>
7365         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7366         Replace obsolete function generic-make-keywords with its expansion.
7368         * progmodes/python.el (ffap-alist): Declare.
7370         * textmodes/reftex.el (bibtex-mode-map): Declare.
7372 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7374         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7375         (package-unpack, package-unpack-single): Return the pkg-dir.
7376         (package-download-transaction): Use it to update package-alist.
7378 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7380         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7381         possible choice.
7383 2013-06-17  Juri Linkov  <juri@jurta.org>
7385         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7387 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7389         * emacs-lisp/package.el (package-load-descriptor):
7390         Remove `with-syntax-table' call, `read' doesn't need it.
7391         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7393 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7395         * startup.el (command-line): Expand package name returned by
7396         `package--description-file' (bug#14639).
7398 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7400         * emacs-lisp/package.el (package-load-descriptor): Do not call
7401         `emacs-lisp-mode', just use its syntax table.
7403 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7405         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7406         `font-lock-extra-managed-props' if any prettifying keyword is added.
7407         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7408         (prog-mode): Use `setq-local'.
7410 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7412         * international/characters.el (standard-case-table): Set syntax of ?»
7413         and ?« to punctuation.
7415 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7417         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7418         Save relevant match data before calling `syntax-ppss' (bug#14595).
7420 2013-06-15  Juri Linkov  <juri@jurta.org>
7422         * files-x.el (modify-file-local-variable-prop-line): Add local
7423         variables to the end of the existing comment on the first line.
7424         Use `file-auto-mode-skip' to skip interpreter magic line,
7425         and also skip XML declaration.
7427 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7429         * startup.el (package--builtin-versions): New var.
7430         (package-subdirectory-regexp): Remove.
7431         (package--description-file): Hard code its value instead.
7433         * emacs-lisp/package.el: Don't activate packages older than builtin.
7434         (package-obsolete-list): Rename from package-obsolete-alist, and make
7435         it into a simple list of package-desc.
7436         (package-strip-version): Remove.
7437         (package-built-in-p): Use package--builtin-versions.
7438         (package-mark-obsolete): Simplify.
7439         (package-process-define-package): Mark it obsolete if older than the
7440         builtin version.
7441         (package-handle-response): Use line-end-position.
7442         (package-read-archive-contents, package--download-one-archive):
7443         Simplify.
7444         (package--add-to-archive-contents): Skip if older than the builtin or
7445         installed version.
7446         (package-menu-describe-package): Fix last change.
7447         (package-list-unversioned): New var.
7448         (package-menu--generate): Use it.
7450         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7451         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7452         (autoload-builtin-package-versions): New variable.
7453         (autoload-generate-file-autoloads): Use them.
7454         Remove the list of autoloaded functions/macros from the
7455         (autoload...) comments.
7457         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7459 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7461         * simple.el (line-move-partial): Don't jump to the next screen
7462         line as soon as it becomes visible.  Instead, continue enlarging
7463         the vscroll until the portion of a tall screen line that's left on
7464         display is about the height of the frame's default font.
7465         (Bug#14567)
7467 2013-06-15  Glenn Morris  <rgm@gnu.org>
7469         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7470         compilation-error-regexp-alist void, or local while let-bound.
7472         * progmodes/make-mode.el (makefile-mode-syntax-table):
7473         Treat "=" as punctuation.  (Bug#14614)
7475 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7477         * help-fns.el (describe-variable):
7478         Add extra line for permanent-local variables.
7480 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7482         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7483         Add export, import, library.  (Bug#9164)
7484         (library): Set indent function.
7486 2013-06-14  Glenn Morris  <rgm@gnu.org>
7488         * term/xterm.el (xterm--query):
7489         Stop after first matching handler.  (Bug#14615)
7491 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7493         Add support for dired in saveplace.
7494         * dired.el (dired-initial-position-hook): New variable.
7495         (dired-initial-position): Call hook to place cursor position.
7496         * saveplace.el (save-place-to-alist): Add dired position.
7497         (save-place-dired-hook): New function.
7499 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7501         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7502         through a symbol rather than letrec.
7504         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7505         (package-desc): Add `dir' field.
7506         (package-desc-full-name): New function.
7507         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7508         (package-maybe-load-descriptor): Remove.
7509         (package-load-all-descriptors): Just call package-load-descriptor.
7510         (package--disabled-p): New function.
7511         (package-desc-vers, package-desc-doc): Remove aliases.
7512         (package--dir): Remove function.
7513         (package-activate): Check if a package is disabled.
7514         (package-process-define-package): New function, extracted from
7515         define-package.
7516         (define-package): Turn into a place holder.
7517         (package-unpack-single, package-tar-file-info):
7518         Use package--description-file.
7519         (package-compute-transaction): Use package--disabled-p.
7520         (package-download-transaction): Don't call
7521         package-maybe-load-descriptor since they're all loaded anyway.
7522         (package-install): Change argument to be a pkg-desc.
7523         (package-delete): Use a single pkg-desc argument.
7524         (describe-package-1): Use package-desc-dir instead of package--dir.
7525         Use package-desc property instead of package-symbol.
7526         (package-install-button-action): Adjust accordingly.
7527         (package--push): Rewrite.
7528         (package-menu--print-info): Adjust accordingly.  Change the ID format
7529         to be a pkg-desc.
7530         (package-menu-describe-package, package-menu-get-status)
7531         (package-menu--find-upgrades, package-menu-mark-upgrades)
7532         (package-menu-execute, package-menu--name-predicate):
7533         Adjust accordingly.
7534         * startup.el (package--description-file): New function.
7535         (command-line): Use it.
7536         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7537         Use package-desc-version.
7539         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7540         (byte-compile-preprocess): Use it.
7541         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7542         can't quite recognize.
7543         (byte-compile-add-to-list): Remove.
7544         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7545         (cconv-closure-convert): Add assertion.
7547         * emacs-lisp/map-ynp.el: Use lexical-binding.
7548         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7549         Factor out some repeated code.
7551 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7553         * subr.el (with-eval-after-load): New macro.
7554         (eval-after-load): Allow form to be a function.
7555         take advantage of lexical-binding.
7556         (do-after-load-evaluation): Use dolist and adjust to new format.
7557         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7559 2013-06-13  Juri Linkov  <juri@jurta.org>
7561         * replace.el (perform-replace): Display "symbol " and other search
7562         modes from `isearch-message-prefix' in the *Help* buffer.
7564         * isearch.el (isearch-query-replace): Add " symbol" and other
7565         possible search modes from `isearch-message-prefix' to the prompt.
7566         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7567         when reading a regexp to collect.
7569 2013-06-13  Juri Linkov  <juri@jurta.org>
7571         * isearch.el (word-search-regexp): Match whitespace if the search
7572         string begins or ends in whitespace.  The LAX arg is applied to
7573         both ends of the search string.  Use `regexp-quote' and explicit
7574         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7575         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7576         boundaries are replaced with symbol boundaries, and characters
7577         between symbols match non-word non-symbol syntax.  (Bug#14602)
7579 2013-06-13  Juri Linkov  <juri@jurta.org>
7581         * isearch.el (isearch-del-char): Don't exceed the length of
7582         `isearch-string' by the prefix arg.  (Bug#14563)
7584 2013-06-13  Juri Linkov  <juri@jurta.org>
7586         * isearch.el (isearch-yank-word, isearch-yank-line)
7587         (isearch-char-by-name, isearch-quote-char)
7588         (isearch-printing-char, isearch-process-search-char):
7589         Add optional count prefix arg.  (Bug#14563)
7591         * international/isearch-x.el
7592         (isearch-process-search-multibyte-characters):
7593         Add optional count prefix arg.
7595 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7597         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7598         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7599         lexical-binding.
7601 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7603         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7605 2013-06-13  Glenn Morris  <rgm@gnu.org>
7607         * startup.el (tty-handle-args):
7608         Don't just discard "--" and anything after.  (Bug#14608)
7610         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7612 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7614         Implement changes in Secret Service API.  Make it backward compatible.
7615         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7616         (secrets-create-item): Use it.  Prefix properties with interface.
7618 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7620         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7621         (term-emulate-terminal): Respect term-suppress-hard-newline.
7623 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7625         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7626         Only remove a `thumb-file' overlay.  (Bug#14548)
7628 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7630         * mail/reporter.el (reporter-submit-bug-report):
7631         Handle missing package-name.  (Bug#14600)
7633 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7635         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7636         (reftex-citation-prompt, reftex-default-bibliography)
7637         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7638         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7639         (reftex-bib-sort-author, reftex-bib-sort-year)
7640         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7641         (reftex-extract-bib-entries-from-thebibliography)
7642         (reftex-get-bibkey-default, reftex-get-bib-names)
7643         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7644         (reftex-format-bib-entry, reftex-parse-bibitem)
7645         (reftex-format-bibitem, reftex-do-citation)
7646         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7647         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7648         (reftex-insert-bib-matches, reftex-format-citation)
7649         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7650         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7651         existing comments into docstrings.
7653 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7655         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7657 2013-06-12  Andreas Schwab  <schwab@suse.de>
7659         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7660         for auto-save files.
7662 2013-06-12  Glenn Morris  <rgm@gnu.org>
7664         * ido.el (ido-delete-ignored-files): Remove.
7665         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7666         Go back to calling ido-ignore-item-p directly.
7668 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7670         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7672         * ido.el (ido-delete-ignored-files): New function,
7673         split from ido-make-file-list-1.
7674         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7675         (ido-make-file-list-1): Use ido-delete-ignored-files.
7677 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7679         * progmodes/octave.el (inferior-octave-startup)
7680         (inferior-octave-completion-table)
7681         (inferior-octave-track-window-width-change)
7682         (octave-eldoc-function-signatures, octave-help)
7683         (octave-find-definition): Use single quoted strings.
7684         (inferior-octave-startup-args): Change default value.
7685         (inferior-octave-startup): Do not hard code "-i" and
7686         "--no-line-editing".
7687         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7688         (inferior-octave-directory-tracker): Use it.
7689         (octave-goto-function-definition): Robustify.
7690         (octave-help): Support highlighting operators in 'See also'.
7691         (octave-find-definition): Find subfunctions only in Octave mode.
7693 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         * help-fns.el (help-fns--compiler-macro): If the handler function is
7696         named, then put a link to it.
7697         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7698         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7699         (cl-typep): Use it.
7700         (cl-eval-when): Simplify debug spec.
7701         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7702         compiler-macro function instead of setting `compiler-macro-file'.
7704 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7706         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7707         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7709 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7710             Daniel Hackney  <dan@haxney.org>
7712         First part of Daniel Hackney's patch to package.el.
7713         * emacs-lisp/package.el: Use defstruct.
7714         (package-desc): New, main struct.
7715         (package--bi-desc, package--ac-desc): New structs, used to describe the
7716         format in external files.
7717         (package-desc-vers): Replace with package-desc-version accessor.
7718         (package-desc-doc): Replace with package-desc-summary accessor.
7719         (package-activate-1): Remove `package' arg since the pkg-vec now
7720         includes the name.
7721         (define-package): Use package-desc-from-define.
7722         (package-unpack-single): Change file-name arg to be a symbol.
7723         (package--add-to-archive-contents): Use package-desc-create and new
7724         accessor functions to package--ac-desc.
7725         (package-buffer-info, package-tar-file-info): Return a package-desc.
7726         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7727         arg to be a package-desc.
7728         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7729         (package--from-builtin): New function.
7730         (describe-package-1, package-menu--generate): Use it.
7731         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7732         (package-generate-autoloads): Idem and return the name of the file.
7733         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7734         Change pkg-info arg to be a package-desc.
7735         Use package-make-ac-desc.
7736         (package-upload-file): Use \' to match EOS.
7737         * finder.el (finder-compile-keywords): Use package-make-builtin.
7739 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7741         * vc/vc.el (vc-deduce-fileset): Change error message.
7742         (vc-read-backend): New function.
7743         (vc-next-action): Use it.
7745         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7747         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7748         (prolog-font-lock-keywords): Use regexp-opt instead.
7749         Don't manually highlight strings.
7750         (prolog-mode-variables): Simplify comment-start-skip.
7751         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7753         * emacs-lisp/generic.el (generic--normalise-comments)
7754         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7755         (generic-mode-set-comments): Use them.
7756         (generic-bracket-support): Use setq-local.
7757         (generic-make-keywords-list): Declare obsolete.
7759 2013-06-11  Glenn Morris  <rgm@gnu.org>
7761         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7762         Prettify after setting font-lock-defaults.  (Bug#14574)
7764 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7766         * replace.el (query-replace, occur-read-regexp-defaults-function)
7767         (replace-search):
7768         * subr.el (declare-function, number-sequence, local-set-key)
7769         (substitute-key-definition, locate-user-emacs-file)
7770         (with-silent-modifications, split-string, eval-after-load):
7771         Fix typos, remove unneeded backslashes and reflow some docstrings.
7773 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7775         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7776         default for Elisp files.
7778 2013-06-11  Glenn Morris  <rgm@gnu.org>
7780         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7781         although define-derived-mode was doing this anyway.  (Bug#14583)
7783 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7785         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7786         Fix make-variable-buffer-local call to refer to the correct variable.
7788 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7790         * eshell/em-term.el (eshell-visual-commands)
7791         (eshell-visual-subcommands, eshell-visual-options):
7792         Add summary line to docstrings.  Add cross-references.
7794 2013-06-10  Glenn Morris  <rgm@gnu.org>
7796         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7797         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7799 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7801         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7802         output redirection to be ignored with visual commands.
7804 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7806         * eshell/em-term.el (eshell-visual-command-p): New function.
7807         (eshell-term-initialize): Move long lambda to separate function
7808         eshell-visual-command-p.
7809         * eshell/em-dirs.el (eshell-dirs-initialise):
7810         * eshell/em-script.el (eshell-script-initialize):
7811         Add missing #' to lambda.
7813 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7815         * progmodes/octave.el (octave-add-log-current-defun): New function.
7816         (octave-mode): Set add-log-current-defun-function.
7817         (octave-goto-function-definition): Do not move point if not found.
7818         (octave-find-definition): Enhance to try subfunctions first.
7820 2013-06-08  Glenn Morris  <rgm@gnu.org>
7822         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7823         (byte-compile-backward-char, byte-compile-backward-word):
7824         Improve previous change, to handle non-explicit nil.
7826 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7828         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7829         (smie--opener/closer-at-point): New function.
7830         (smie--matching-block-data): Use it.  Don't match from right after an
7831         opener or right before a closer.  Obey smie-blink-matching-inners.
7832         Don't signal a mismatch for repeated inners like "switch..case..case".
7834 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7836         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7837         to t.  (Bug#14303)
7838         (octave-function-header-regexp): Fix.  (Bug#14570)
7839         (octave-help-mode-finish-hook, octave-help-mode-finish):
7840         Remove.  Just use temp-buffer-show-hook.
7842         * newcomment.el (comment-search-backward): Revert last change.
7843         (Bug#14434)
7845         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7847 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7849         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7850         through xargs, to avoid failure due to MS-Windows limitations on
7851         command-line length.
7853 2013-06-06  Glenn Morris  <rgm@gnu.org>
7855         * font-lock.el (lisp-font-lock-keywords-2):
7856         Treat user-error like error.
7858         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7859         (byte-compile-backward-char, byte-compile-backward-word):
7860         Handle explicit nil arguments.  (Bug#14565)
7862 2013-06-05  Alan Mackenzie  <acm@muc.de>
7864         * isearch.el (isearch-allow-prefix): New user option.
7865         (isearch-other-meta-char): Don't exit isearch when a prefix
7866         argument is typed whilst `isearch-allow-prefix' is non-nil.
7867         (Bug#9706)
7869 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7871         * autorevert.el (auto-revert-notify-handler): Use memq.
7872         Hide assertion failure.
7874         * skeleton.el: Use cl-lib.
7875         (skeleton-further-elements): Use defvar-local.
7876         (skeleton-insert): Use cl-progv.
7878 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7880         * progmodes/prog-mode.el (prog-prettify-symbols)
7881         (prog-prettify-install): Update docstrings.
7883 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7885         * simple.el: Move all the prog-mode code to prog-mode.el.
7886         * progmodes/prog-mode.el: New file.
7887         * loadup.el: Add prog-mode.el.
7889 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7891         * simple.el (prog-prettify-symbols): Add version.
7892         (prog-prettify-install): Add convenience function to prettify symbols.
7894         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7895         (perl--augmented-font-lock-keywords-1)
7896         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7897         variables and use it.
7899         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7900         (cfengine3-mode): Remove unneeded variable and use it.
7902         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7903         (lisp--augmented-font-lock-keywords-1)
7904         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7905         Remove unneeded variables and use it.
7907 2013-06-05  João Távora  <joaotavora@gmail.com>
7909         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7910         to point when opening the connection.  (Bug#14380)
7912 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7914         * subr.el (load-history-regexp, load-history-filename-element)
7915         (eval-after-load, after-load-functions, do-after-load-evaluation)
7916         (eval-next-after-load, display-delayed-warnings)
7917         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7918         definition of save-match-data.
7919         (overriding-local-map): Remove accidental obsolescence declaration.
7921         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7923 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7925         Generalize symbol prettify support to prog-mode and implement it
7926         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7927         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7928         (prog--prettify-font-lock-compose-symbol)
7929         (prog-prettify-font-lock-symbols-keywords): New variables and
7930         functions to support symbol prettification.
7931         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7932         (lisp--augmented-font-lock-keywords-1)
7933         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7934         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7935         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7936         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7937         Implement prettify of -> => :: strings.
7938         * progmodes/perl-mode.el (perl-prettify-symbols)
7939         (perl--font-lock-compose-symbol)
7940         (perl--font-lock-symbols-keywords): Move to prog-mode.
7941         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7942         (perl-font-lock-keywords-1)
7943         (perl-font-lock-keywords-2): Remove explicit prettify support.
7944         (perl--augmented-font-lock-keywords)
7945         (perl--augmented-font-lock-keywords-1)
7946         (perl--augmented-font-lock-keywords-2, perl-mode):
7947         Implement prettify support.
7949 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7951         Re-implement smie matching block highlight using
7952         show-paren-data-function.  (Bug#14395)
7953         * emacs-lisp/smie.el (smie-matching-block-highlight)
7954         (smie--highlight-matching-block-overlay)
7955         (smie--highlight-matching-block-lastpos)
7956         (smie-highlight-matching-block)
7957         (smie-highlight-matching-block-mode): Remove.
7958         (smie--matching-block-data-cache): New variable.
7959         (smie--matching-block-data): New function.
7960         (smie-setup): Use smie--matching-block-data for
7961         show-paren-data-function.
7963         * progmodes/octave.el (octave-mode-menu): Fix.
7964         (octave-find-definition): Skip garbage lines.
7966 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7968         Fix compilation error with simultaneous dynamic+lexical scoping.
7969         Add warning when a defvar appears after the first let-binding.
7970         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7971         (byte-compile-close-variables): Initialize it.
7972         (byte-compile--declare-var): New function.
7973         (byte-compile-file-form-defvar)
7974         (byte-compile-file-form-define-abbrev-table)
7975         (byte-compile-file-form-custom-declare-variable): Use it.
7976         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
7977         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7978         (byte-compile-bind): Handle dynamic bindings that shadow
7979         lexical bindings.
7980         (byte-compile-unbind): Make arg non-optional.
7981         (byte-compile-let): Simplify.
7982         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7983         (cconv--analyse-function, cconv-analyse-form): Populate it.
7984         Protect byte-compile-bound-variables to limit the scope of defvars.
7985         (cconv-analyse-form): Add missing rule for (defvar <foo>).
7986         Remove unneeded rule for `declare'.
7988         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7989         so as to avoid depending on cl-adjoin at run-time.
7990         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7992         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7993         (macroexp--warn-and-return): Use it.
7995 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7997         * lisp/subr.el: Convert to lexical binding.
7998         (overriding-local-map): Make obsolete.
7999         (add-to-list): Doc fix.  Add compiler macro.
8000         (read-key): Swap values of local maps.
8002 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8004         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8006 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8008         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8009         (compilation-auto-jump): Suppress the "Mark set" message to give
8010         way to exit message.
8012 2013-06-04  Alan Mackenzie  <acm@muc.de>
8014         Remove faulty optimisation from indentation calculation.
8015         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8016         search limit based on 2000 characters back from indent-point.
8018 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8020         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8022 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8024         * emacs-lisp/lisp.el: Use lexical-binding.
8025         (lisp--local-variables-1, lisp--local-variables): New functions.
8026         (lisp--local-variables-completion-table): New var.
8027         (lisp-completion-at-point): Use it complete let-bound vars.
8029         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8030         eagerly (bug#14422).
8032 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8034         * autorevert.el (auto-revert-notify-enabled)
8035         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8036         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8037         (auto-revert-notify-handler): Handle also gfilenotify.
8039         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8040         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8041         Remove.
8043 2013-06-03  Juri Linkov  <juri@jurta.org>
8045         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8046         `M-s h .'.  (Bug#14427)
8048         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8049         command `hi-lock-face-symbol-at-point'.
8050         (hi-lock-face-symbol-at-point): New command.
8051         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8052         (hi-lock-menu): Add `highlight-symbol-at-point'.
8053         (hi-lock-mode): Doc fix.
8055         * isearch.el (isearch-forward-symbol-at-point): New command.
8056         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8057         (isearch-highlight-regexp): Add a regexp which matches
8058         words/symbols for word/symbol mode.
8060         * subr.el (find-tag-default-bounds): New function with the body
8061         mostly moved from `find-tag-default'.
8062         (find-tag-default): Move most code to `find-tag-default-bounds',
8063         call it and apply `buffer-substring-no-properties' afterwards.
8065 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8067         * eshell/em-term.el (eshell-term-initialize):
8068         Use `cl-intersection' rather than `intersection'.
8070 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8072         * vc/log-view.el: Doc fix.
8073         (log-view-mode-map): Copy keymap from `special-mode-map'.
8075 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8077         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8078         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8079         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8080         (eieio-unbound, eieio-default-superclass)
8081         (eieio--define-field-accessors, method-static, method-before)
8082         (method-primary, method-after, method-num-lists)
8083         (method-generic-before, method-generic-primary)
8084         (method-generic-after, method-num-slots)
8085         (eieio-specialized-key-to-generic-key)
8086         (eieio--check-type, class-v, class-p)
8087         (eieio-class-name, define-obsolete-function-alias)
8088         (eieio-class-parents-fast, eieio-class-children-fast)
8089         (same-class-fast-p, class-constructor, generic-p)
8090         (generic-primary-only-p, generic-primary-only-one-p)
8091         (class-option-assoc, class-option, eieio-object-p)
8092         (class-abstract-p, class-method-invocation-order)
8093         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8094         (eieio-class-un-autoload, eieio-defclass)
8095         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8096         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8097         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8098         (eieio-defgeneric-reset-generic-form)
8099         (eieio-defgeneric-form-primary-only)
8100         (eieio-defgeneric-reset-generic-form-primary-only)
8101         (eieio-defgeneric-form-primary-only-one)
8102         (eieio-defgeneric-reset-generic-form-primary-only-one)
8103         (eieio-unbind-method-implementations)
8104         (eieio--defmethod, eieio--typep)
8105         (eieio-perform-slot-validation, eieio-validate-slot-value)
8106         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8107         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8108         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8109         (eieio-slot-name-index, eieio-class-slot-name-index)
8110         (eieio-set-defaults, eieio-initarg-to-attribute)
8111         (eieio-attribute-to-initarg, eieio-c3-candidate)
8112         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8113         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8114         (eieio-class-precedence-list, eieio-generic-call-methodname)
8115         (eieio-generic-call-arglst, eieio-generic-call-key)
8116         (eieio-generic-call-next-method-list)
8117         (eieio-pre-method-execution-functions, eieio-generic-call)
8118         (eieio-generic-call-primary-only, eieiomt-method-list)
8119         (eieiomt-optimizing-obarray, eieiomt-install)
8120         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8121         (eieio-generic-form, eieio-defmethod, make-obsolete)
8122         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8123         (defclass): Remove `eval-and-compile' from macro.
8124         (call-next-method, shared-initialize): Instead of using
8125         `scoped-class' variable, use new eieio--scoped-class, and
8126         eieio--with-scoped-class.
8127         (initialize-instance): Rename local variable 'scoped-class' to
8128         'this-class' to remove ambiguitity from old global.
8130         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8131         eieio.el.
8132         (eieio--scoped-class-stack): New variable.
8133         (eieio--scoped-class): New fcn.
8134         (eieio--with-scoped-class): New scoping macro.
8135         (eieio-defclass): Use pushnew instead of add-to-list.
8136         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8137         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8138         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8139         `scoped-class' variable, use new eieio--scoped-class, and
8140         eieio--with-scoped-class.
8142         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8144 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8146         * eshell/esh-ext.el (eshell-external-command): Pass args to
8147         `eshell-find-interpreter'.
8148         (eshell-find-interpreter): Add new second parameter ARGS.
8150         * eshell/em-script.el (eshell-script-initialize): Add second arg
8151         to the function added as MATCH to `eshell-interpreter-alist'.
8153         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8154         the function added as MATCH to `eshell-interpreter-alist'.
8156         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8157         (eshell-visual-options): New defcustom.
8158         (eshell-escape-control-x): Adapt docstring.
8159         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8160         `eshell-visual-options' in addition to `eshell-visual-commands'.
8161         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8163 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8165         * progmodes/python.el (python-indent-block-enders): Add break,
8166         continue and raise keywords.
8168 2013-06-01  Glenn Morris  <rgm@gnu.org>
8170         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8172         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8173         * progmodes/cc-cmds.el (delete-forward-p):
8174         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8175         * progmodes/cc-engine.el (buffer-syntactic-context):
8176         * progmodes/cc-fonts.el (face-property-instance):
8177         * progmodes/cc-mode.el (set-keymap-parents):
8178         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8179         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8180         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8181         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8182         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8184         * progmodes/cc-vars.el (other): Emacs has this widget since
8185         at least 21.1, so don't (re)define it.
8187         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8188         Replace the obsolete alias pcomplete-arg-quote-list.
8190 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8192         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8193         punctuation syntax.
8194         (inferior-octave-minimal-columns)
8195         (inferior-octave-last-column-width): New variables.
8196         (inferior-octave-track-window-width-change): New function.
8197         (inferior-octave-mode): Adjust column width so that Octave output,
8198         for example from 'ls', can fit into the window nicely.
8200 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8202         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8203         Highlight expansions inside regexp literals.
8205 2013-05-31  Glenn Morris  <rgm@gnu.org>
8207         * obsolete/sym-comp.el (symbol-complete):
8208         Replace obsolete completion-annotate-function.
8210         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8212 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8214         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8215         New function, checks if point is inside a literal that allows
8216         expression expansion.
8217         (ruby-syntax-propertize-expansion): Use it.
8218         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8219         around the body.
8221 2013-05-30  Juri Linkov  <juri@jurta.org>
8223         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8224         to "\M-si".
8225         (isearch-invisible): New variable.
8226         (isearch-forward): Doc fix.
8227         (isearch-mode): Set `isearch-invisible'
8228         to the value of `search-invisible'.
8229         (isearch-toggle-case-fold): Doc fix.
8230         (isearch-toggle-invisible): New command.
8231         (isearch-query-replace): Let-bind `search-invisible'
8232         to the value of `isearch-invisible'.
8233         (isearch-search): Use `isearch-invisible' instead of
8234         `search-invisible'.  Let-bind `search-invisible'
8235         to the value of `isearch-invisible'.  (Bug#11378)
8237 2013-05-30  Juri Linkov  <juri@jurta.org>
8239         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8240         call when `query-flag' is nil and `search-invisible' is non-nil.
8241         (Bug#11746)
8243 2013-05-30  Glenn Morris  <rgm@gnu.org>
8245         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8247         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8248         (cc-require): Suppress spurious "noruntime" warnings.
8249         (cc-require-when-compile): Use fboundp, for sake of compiler.
8251         * progmodes/cc-mode.el: Move load of cc-vars before that of
8252         cc-langs (which in turn loads cc-vars), to quieten compiler.
8254 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8256         * paren.el: Simplify the code.
8257         (show-paren-mode): Always start the timer.
8258         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8259         (show-paren--overlay, show-paren--overlay-1): Rename from
8260         show-paren-overlay and show-paren-overlay-1, and initialize to an
8261         overlay rather than to nil.
8262         (show-paren-function): Misc cleanup and simplifications.
8264 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8266         * paren.el (show-paren-data-function): New hook.
8267         (show-paren--default): New function, extracted from show-paren-function.
8268         (show-paren-function): Use show-paren-data-function.
8270 2013-05-30  Glenn Morris  <rgm@gnu.org>
8272         * ielm.el (ielm-map, ielm-complete-symbol):
8273         Use completion-at-point rather than obsolete functions.
8274         (inferior-emacs-lisp-mode): Doc fix.
8275         Set completion-at-point-functions, rather than
8276         comint-dynamic-complete-functions.
8278         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8279         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8280         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8282         * image.el (image-animated-p): Tweak definition.
8284         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8285         (rlogin-process-connection-type): Tweak default.  Add set-after.
8286         (rlogin-host): Doc fix.
8287         (rlogin): Tweak prompt.
8288         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8290         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8291         * progmodes/tcl.el (inferior-tcl-mode-map):
8292         Use completion-at-point rather than obsolete alias.
8294         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8296         * minibuffer.el (read-file-name-completion-ignore-case):
8297         Move before completion--in-region, for eager macro expansion.
8299 2013-05-29  Juri Linkov  <juri@jurta.org>
8301         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8302         for total count of matching lines.  Add `global-matches' for total
8303         count of matches.  Rename `matches' to `lines' for count of
8304         matching lines.  Add `matches' for count of matches.
8305         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8306         to `prev-line' for line number of prev match endpt.
8307         Increment `matches' for every match.  Print the number of
8308         matching lines in the header.
8309         (occur-context-lines): Rename `lines' to `curr-line'.
8310         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8312 2013-05-29  Juri Linkov  <juri@jurta.org>
8314         * replace.el (perform-replace): Add `skip-read-only-count',
8315         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8316         Increment them for corresponding conditions and report the number
8317         of skipped occurrences in the final message.  (Bug#11746)
8318         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8319         (replace-string, replace-regexp): Doc fix.
8321 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8323         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8325         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8326         prog-mode-map (bug#14504).
8328 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8330         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8331         (octave-help): Small simplification.
8333         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8334         off the highlight first.
8336 2013-05-29  Glenn Morris  <rgm@gnu.org>
8338         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8339         Handle idlwave-last-system-routine-info-cons-cell being nil.
8341         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8342         (idlwave-write-paths): Simplify via with-temp-buffer.
8344         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8345         * emulation/cua-rect.el: Also load cua-base at run time.
8347         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8348         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8349         (cperl-imenu-on-info): Require imenu.
8351 2013-05-28  Alan Mackenzie  <acm@muc.de>
8353         Handle "capitalised keywords" correctly.
8354         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8356 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8358         * eshell/em-unix.el: Add -r option to cp.
8360 2013-05-28  Glenn Morris  <rgm@gnu.org>
8362         * vc/vc-arch.el (vc-exec-after): Declare.
8363         (vc-switches): Autoload.
8364         * vc/vc-bzr.el: No need to require vc when compiling.
8365         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8366         (vc-resynch-buffer, vc-dir-refresh): Declare.
8367         (vc-setup-buffer, vc-switches): Autoload.
8368         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8369         (vc-resynch-buffer): Declare.
8370         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8371         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8372         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8373         (grep-read-regexp, grep-read-files, grep-expand-template)
8374         (vc-dir-refresh): Declare.
8375         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8376         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8377         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8378         * vc/vc-mtn.el (vc-exec-after): Declare.
8379         (vc-switches): Autoload.
8380         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8381         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8382         (vc-file-tree-walk): Declare.
8383         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8384         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8385         (vc-tag-precondition, vc-rename-master): Autoload.
8386         * vc/vc-svn.el (vc-exec-after): Declare.
8387         (vc-switches, vc-setup-buffer): Autoload.
8388         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8389         Autoload.
8390         (vc-resynch-buffer): Declare.
8392         * obsolete/fast-lock.el (byte-compile-warnings):
8393         Don't warn about obsolete features in this obsolete file.
8395         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8396         Move definition before use.
8398         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8399         (dun-unix-verbs): Remove dun-zippy.
8400         (dun-zippy): Remove function.
8402         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8404 2013-05-27  Juri Linkov  <juri@jurta.org>
8406         * replace.el (replace-search): New function with code moved out
8407         from `perform-replace'.
8408         (replace-highlight, replace-dehighlight): Move function definitions
8409         up closer to `replace-search'.  (Bug#11746)
8411 2013-05-27  Juri Linkov  <juri@jurta.org>
8413         * replace.el (perform-replace): Ignore invisible matches.
8414         In addition to checking `query-replace-skip-read-only', also
8415         filter out matches by calling `run-hook-with-args-until-failure'
8416         on `isearch-filter-predicates', and also check `search-invisible'
8417         for t or call `isearch-range-invisible'.
8418         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8420 2013-05-27  Juri Linkov  <juri@jurta.org>
8422         * isearch.el (isearch-filter-predicates): Rename from
8423         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8424         (isearch-message-prefix): Display text from the property
8425         `isearch-message-prefix' of the currently active filters.
8426         (isearch-search): Don't compare `isearch-filter-predicate' with
8427         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8428         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8429         or call `isearch-range-invisible'.
8430         (isearch-filter-visible): Make obsolete.
8431         (isearch-lazy-highlight-search):
8432         Call `run-hook-with-args-until-failure' on
8433         `isearch-filter-predicates' and use `isearch-range-invisible'.
8435         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8436         `isearch-filter-predicates' instead of `funcall'ing
8437         `isearch-filter-predicate'.
8438         (Info-mode): Set `Info-isearch-filter' to
8439         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8441         * dired-aux.el (dired-isearch-filter-predicate-orig):
8442         Remove variable.
8443         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8444         (dired-isearch-filenames-end): Add and remove
8445         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8446         instead of changing the value of `isearch-filter-predicate'.
8447         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8448         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8449         Put property `isearch-message-prefix' to "filename " on
8450         `dired-isearch-filter-filenames'.
8452         * wdired.el (wdired-change-to-wdired-mode):
8453         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8454         locally instead of changing `isearch-filter-predicate'.
8455         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8457 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8459         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8460         return the commit hash (Bug#14459).  Also set the
8461         `vc-git-detached' property.
8462         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8463         (vc-git-mode-line-string): Use the same help-echo format whether
8464         in detached mode or not, because we know the actual revision now.
8465         When in detached mode, shorten the revision to 7 chars.
8467 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * emacs-lisp/easy-mmode.el (define-minor-mode):
8470         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8471         mode hook and provide a docstring.
8473 2013-05-27  Alan Mackenzie  <acm@muc.de>
8475         Remove spurious syntax-table text properties inserted by C-y.
8476         * progmodes/cc-mode.el (c-after-change): Also clear hard
8477         syntax-table property with value nil.
8479 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8481         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8482         when reading the events; the buffer layout shall not be changed.
8484 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8486         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8487         New variable.
8488         (inferior-octave-directory-tracker): Automatically re-sync
8489         default-directory.
8490         (octave-help): Improve handling of 'See also'.
8492 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8494         * doc-view.el: Minor naming convention tweaks.
8495         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8497         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8498         even if there's no `display' property yet (bug#14435).
8500 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8502         * subr.el (unmsys--file-name): Rename from reveal-filename.
8504         * Makefile.in (custom-deps, finder-data, autoloads)
8505         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8506         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8507         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8509 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8511         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8512         error-completion on the first 2 args of condition-case (bug#14446).
8513         Don't burp at EOB.
8515 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8517         * comint.el (comint-previous-matching-input): Do not flood the
8518         *Messages* buffer with trivial messages.
8520 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8522         * progmodes/flymake.el (flymake-nop): Don't return a string.
8523         (flymake-set-at): Fix typo.
8525         * simple.el (read--expression): New function, extracted from
8526         eval-expression.  Set completion-at-point-functions (bug#14465).
8527         (eval-expression, eval-minibuffer): Use it.
8529 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8531         * progmodes/flymake.el (flymake-save-buffer-in-file)
8532         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8533         (flymake-selected-frame, flymake-log, flymake-ins-after)
8534         (flymake-set-at, flymake-get-buildfile-from-cache)
8535         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8536         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8537         Refine the doc string.
8538         (flymake-get-file-name-mode-and-masks): Reformat.
8539         (flymake-get-real-file-name-function): Fix a minor bug.
8541 2013-05-24  Juri Linkov  <juri@jurta.org>
8543         * progmodes/grep.el (grep-mode-font-lock-keywords):
8544         Support =linenumber= format used by git-grep for lines with
8545         function names.  (Bug#13549)
8547 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8549         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8550         0 after a semi-colon; it works better for smie-auto-fill.
8551         (octave--indent-new-comment-line): New function.
8552         (octave-indent-new-comment-line): Use it (indirectly).
8553         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8554         modify comment-line-break-function.
8556         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8557         (smie-setup): Use add-function to set it.
8559 2013-05-24  Sam Steingold  <sds@gnu.org>
8561         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8562         argument (before the `interactive' argument).
8564 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8566         * image-mode.el (image-mode-winprops): Add winprops to
8567         image-mode-winprops-alist before running
8568         image-mode-new-window-functions.
8569         * doc-view.el (doc-view-new-window-function): Don't delay
8570         doc-view-goto-page via timers (bug#14435).
8572 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8574         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8575         (doc-view-desktop-save-buffer): New function.
8576         (doc-view-restore-desktop-buffer): New function.
8577         (desktop-buffer-mode-handlers):
8578         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8579         handler.
8580         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8581         `desktop-save-buffer' function.
8583 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8585         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8586         (tramp-gvfs-file-name-handler): Raise a user error when
8587         `tramp-gvfs-enabled' is nil.
8588         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8589         Do not raise a user error when loading package.  (Bug#14447)
8591         * net/xesam.el: Move to obsolete/.
8593 2013-05-24  Glenn Morris  <rgm@gnu.org>
8595         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8597         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8599         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8600         (Info-find-node, Man-getpage-in-background): Declare.
8602         * mail/unrmail.el (unrmail):
8603         Replace obsolete detect-coding-with-priority.
8605         * net/socks.el (socks-split-string): Use this rather than split-string.
8606         (socks-nslookup-host): Update for above change.
8607         (dynamic-choice, s5-dynamic-choice-match)
8608         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8609         Comment out unused code.
8611         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8612         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8613         (gud-tooltip-echo-area): Make obsolete.
8614         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8616         * progmodes/js.el (js--optimize-arglist): Declare.
8618         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8620         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8621         (ediff-window-C): Declare.
8623         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8624         Tweak requires to silence compiler.
8626         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8627         (he-search-string, he-tried-table, he-expand-list)
8628         (he-init-string, he-string-member, he-substitute-string)
8629         (he-reset-string): Declare.
8631         * obsolete/options.el (list-options): Use custom-variable-p,
8632         rather than obsolete alias.
8634 2013-05-23  Sam Steingold  <sds@gnu.org>
8636         * simple.el (shell-command-on-region): Pass the `replace' argument
8637         down to `call-process-region' to comply with the doc as reported on
8638         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8640 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8642         * emacs-lisp/smie.el (smie-indent-forward-token)
8643         (smie-indent-backward-token): Handle string tokens (bug#14381).
8645 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8647         * ielm.el (ielm-menu): New menu.
8648         (inferior-emacs-lisp-mode): Set comment-start.
8650 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8652         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8653         Fix deactivate action.
8655         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8656         Add cleveref macros.
8658         * lisp/textmodes/reftex-parse.el
8659         (reftex-locate-bibliography-files): Accept options for
8660         bibliography commands.
8661         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8662         Add addbibresource.  Basic Biblatex support.
8664 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8666         * net/tramp-gvfs.el (top):
8667         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8668         when loading package.  (Bug#14447)
8670 2013-05-23  Glenn Morris  <rgm@gnu.org>
8672         * progmodes/js.el: No need to load comint when compiling.
8673         (ring-insert, comint-send-string, comint-send-input)
8674         (comint-last-input-end, ido-chop): Declare.
8676         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8677         * vc/ediff-mult.el: Adjust requires.
8678         (ediff-directories-internal, ediff-directory-revisions-internal)
8679         (ediff-patch-file-internal): Declare.
8680         * vc/ediff-ptch.el: Adjust requires.
8681         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8682         (ediff-find-file): Autoload.
8683         * vc/ediff-util.el: No need to load ediff when compiling.
8684         (ediff-regions-internal): Declare.
8685         * vc/ediff-wind.el: Adjust requires.
8686         (ediff-compute-toolbar-width): Define when compiling.
8687         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8688         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8689         (dired-get-filename, dired-get-marked-files)
8690         (ediff-last-dir-patch, ediff-patch-default-directory)
8691         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8692         (ediff-patch-buffer-internal): Declare.
8694         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8695         (ispell-process, ispell-buffer-local-words, lm-summary)
8696         (lm-section-start, lm-section-end): Declare.
8697         (checkdoc-ispell-init): Simplify.
8699         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8700         (he-string-member, he-reset-string, he-substitute-string): Declare.
8702         * eshell/em-ls.el: Adjust requires.
8703         (eshell-glob-regexp): Declare.
8704         * eshell/em-tramp.el: Adjust requires.
8705         (eshell-parse-command): Autoload.
8706         * eshell/em-xtra.el: Adjust requires.
8707         (eshell-parse-command): Autoload.
8708         * eshell/esh-ext.el: Adjust requires.
8709         (eshell-parse-command, eshell-close-handles): Autoload.
8710         * eshell/esh-io.el: Adjust requires.
8711         (eshell-output-filter): Autoload.
8712         * eshell/esh-util.el: No need to load tramp when compiling.
8713         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8714         Declare.
8715         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8716         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8717         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8718         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8719         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8720         * eshell/esh-opt.el, eshell/esh-proc.el:
8721         * eshell/esh-var.el: Adjust requires.
8722         * eshell/eshell.el: Do not require esh-util twice.
8723         (eshell-add-input-to-history): Declare.
8724         (eshell-command): Check history module is active before using it.
8726         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8728 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8730         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8732 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8734         * autorevert.el (auto-revert-notify-add-watch)
8735         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8736         it indicates changes in file modification time.
8738 2013-05-22  Glenn Morris  <rgm@gnu.org>
8740         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8741         Always delete the autoloaded function from the noruntime and
8742         unresolved functions lists.
8744         * allout.el: No need to load epa, epg, overlay when compiling.
8745         (epg-context-set-passphrase-callback, epg-list-keys)
8746         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8747         (epg-key-user-id-list): Declare.
8749         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8750         (viper-set-parsing-style-toggling-macro)
8751         (viper-set-emacs-state-searchstyle-macros):
8752         Use called-interactively-p on Emacs.
8753         (viper-looking-back): Make it an obsolete alias.  Update callers.
8754         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8755         Use looking-back rather than viper-looking-back.
8756         (viper-tmp-insert-at-eob, viper-enlarge-region)
8757         (viper-read-string-with-history, viper-register-to-point)
8758         (viper-append-to-register, viper-change-state-to-vi)
8759         (viper-backward-char-carefully, viper-forward-char-carefully)
8760         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8761         (viper-change-state-to-emacs): Declare.
8762         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8763         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8764         * emulation/viper-mous.el: Do not load viper-cmd.
8765         (viper-backward-char-carefully, viper-forward-char-carefully)
8766         (viper-forward-word, viper-adjust-window): Declare.
8768         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8770         * progmodes/idlw-help.el (idlwave-help-fontify):
8771         Use called-interactively-p.
8773         * term/w32console.el (w32-get-console-codepage)
8774         (w32-get-console-output-codepage): Declare.
8776         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8777         Remove unnecessary declarations.
8778         (dframe-message): Doc fix.
8780         * info.el (dframe-select-attached-frame, dframe-current-frame):
8781         Declare.
8783         * speedbar.el (speedbar-message): Make it an obsolete alias.
8784         Update all callers.
8785         (speedbar-with-attached-buffer)
8786         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8787         (speedbar-with-writable): Use backquote.
8788         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8789         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8790         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8791         rather than speedbar- aliases.
8792         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8793         (speedbar-make-specialized-keymap, speedbar-insert-button)
8794         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8795         (speedbar-do-function-pointer): Declare.
8796         (rmail-speedbar-button, rmail-speedbar-find-file)
8797         (rmail-speedbar-move-message):
8798         Use dframe-with-attached-buffer rather than speedbar- alias.
8799         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8800         (dframe-message, speedbar-make-specialized-keymap)
8801         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8802         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8803         (speedbar-insert-button, dframe-select-attached-frame)
8804         (dframe-maybee-jump-to-attached-frame)
8805         (speedbar-change-initial-expansion-list)
8806         (speedbar-previously-used-expansion-list-name): Declare.
8807         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8808         Use dframe-message, dframe-with-attached-buffer rather than
8809         speedbar- aliases.
8810         (gud-sentinel): Silence compiler.
8811         * progmodes/vhdl-mode.el (speedbar-refresh)
8812         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8813         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8814         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8815         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8816         (speedbar-file-lists, speedbar-make-tag-line)
8817         (speedbar-line-directory, speedbar-goto-this-file)
8818         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8819         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8820         (speedbar-make-button, speedbar-reset-scanners)
8821         (speedbar-files-item-info, speedbar-line-text)
8822         (speedbar-find-file-in-frame, speedbar-set-timer)
8823         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8824         (speedbar-with-writable): Do not (re)define it.
8825         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8826         rather than speedbar- alias.
8828 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8830         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8831         menu items.
8832         (octave-mode): Tweak fill-nobreak-predicate.
8833         (inferior-octave-startup): Check process to avoid infinite loop.
8834         (inferior-octave): Pop to buffer first to show abornmal process
8835         exit information.
8837 2013-05-21  Glenn Morris  <rgm@gnu.org>
8839         * printing.el (pr-menu-bar): Define when compiling.
8841 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8843         * progmodes/octave.el (octave-auto-fill): Remove.
8844         (octave-indent-new-comment-line): Improve.
8845         (octave-mode): Use auto fill mode through
8846         comment-line-break-function and fill-nobreak-predicate.
8847         (octave-goto-function-definition): Support DEFUN_DLD.
8848         (octave-beginning-of-defun): Small tweak.
8849         (octave-help): Show parent directory.
8851 2013-05-21  Glenn Morris  <rgm@gnu.org>
8853         * files.el (dired-unmark):
8854         * progmodes/gud.el (gdb-input): Update declarations.
8856         * calculator.el (electric, ehelp): No need to load when compiling.
8857         (Electric-command-loop, electric-describe-mode): Declare.
8859         * doc-view.el (doc-view-current-converter-processes): Move before use.
8861         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8862         Move MODE-set-explicitly definition before use.
8864         * international/mule-diag.el (mule-diag):
8865         Don't use obsolete window-system-version.
8867         * mail/feedmail.el (smtpmail): No need to load when compiling.
8868         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8870         * mail/mail-utils.el (rfc822): No need to load when compiling.
8871         (rfc822-addresses): Autoload it.
8872         (mail-strip-quoted-names): Trivial simplification.
8874         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8875         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8877         * net/snmp-mode.el (tempo): Don't duplicate requires.
8879         * progmodes/prolog.el (info): No need to load when compiling.
8880         (comint): Require before shell requires it.
8881         (Info-goto-node): Autoload it.
8882         (Info-follow-nearest-node): Declare.
8883         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8885         * textmodes/artist.el (picture-mode-exit): Declare.
8887         * textmodes/reftex-parse.el (reftex-parse-from-file):
8888         Trivial rewrite so the compiler can parse it better.
8890 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8892         * progmodes/octave.el (octave-help-mode-map)
8893         (octave-help-mode-finish-hook): New variables.
8894         (octave-help-mode, octave-help-mode-finish): New functions.
8895         (octave-help): Use octave-help-mode.
8897 2013-05-20  Glenn Morris  <rgm@gnu.org>
8899         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8901 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8903         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8904         start at point, so that expansion starting right after opening
8905         slash in a regexp is recognized.
8906         (ruby-syntax-before-regexp-re): New defvar, extracted from
8907         ruby-syntax-propertize-function.  Since the value of this regexp
8908         is looked up at runtime now, we should be able to turn
8909         `ruby-syntax-methods-before-regexp' into a defcustom later.
8910         (ruby-syntax-propertize-function): Split regexp matching into two
8911         parts, for opening and closing slashes.  That allows us to skip
8912         over string interpolations and support multiline regexps.
8913         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8914         for them, which calls `ruby-syntax-propertize-expansion'.
8915         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8916         call to `ruby-syntax-propertize-function'.
8917         (ruby-syntax-propertize-expansion): Extracted from
8918         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8919         (ruby-syntax-propertize-percent-literal): Leave point right after
8920         the percent symbol, so that the expression expansion rule can
8921         propertize the contents.
8922         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8923         heredoc openers.
8924         (ruby-syntax-propertize-expansions): Remove.
8926 2013-05-18  Juri Linkov  <juri@jurta.org>
8928         * man.el (Man-default-man-entry): Remove `-' from the end
8929         of the default value.  (Bug#14400)
8931 2013-05-18  Glenn Morris  <rgm@gnu.org>
8933         * comint.el (comint-password-prompt-regexp):
8934         Allow "password for XXX" where XXX contains colons (eg https://...).
8936 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8938         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8939         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8940         (octave-source-directories): Don't check process.
8941         (octave-source-directories, octave-find-definition): Doc fix.
8943 2013-05-18  Glenn Morris  <rgm@gnu.org>
8945         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8946         Remove backspace/delete bindings.  (Bug#14392)
8948         * cus-dep.el (custom-make-dependencies): Sort the output.
8949         (custom-versions-load-alist): Convert comment to doc.
8951 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8953         * newcomment.el (comment-search-backward): Stricter in finding
8954         comment start.  (Bug#14303)
8956         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8957         (octave-comment-start-skip): Properly anchored.
8959 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8961         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8962         Clean up when turned off.  (Bug#14395)
8963         (smie--highlight-matching-block-overlay): No longer buffer-local.
8964         (smie-highlight-matching-block): Adjust.
8966 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
8968         Doc string fix for "nanoseconds" (Bug#14406).
8969         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8970         Fix doc string typo that had "nanoseconds" instead of "microseconds".
8972 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8974         * calc/calc-units.el (math-extract-units): Preserve powers
8975         of units.
8977 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8979         * subr.el (delete-consecutive-dups): New function.
8980         * ido.el (ido-set-matches-1): Use it.
8981         * progmodes/octave.el (inferior-octave-completion-table): Use it.
8982         * ido.el (ido-remove-consecutive-dups): Remove.
8984 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8987         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8988         regexp-opt's `words'.
8990 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8992         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8993         (smie--highlight-matching-block-overlay)
8994         (smie--highlight-matching-block-lastpos)
8995         (smie--highlight-matching-block-timer): New variables.
8996         (smie-highlight-matching-block): New function.
8997         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
8998         (smie-setup): Conditionally enable smie-blink-matching-open.
9000 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9002         Sync with upstream verilog-mode r840.
9003         * progmodes/verilog-mode.el (verilog-mode-version)
9004         (verilog-mode-release-date): Update.
9005         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9006         (verilog-sig-tieoff): Fix string error on
9007         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9008         (verilog-read-decls): Fix parameters confusing
9009         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9011 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9013         * subr.el (reveal-filename): New function.
9015         * loadup.el: Compute Emacs executable versions on MS-Windows,
9016         where executables have the .exe extension.  Add a hard link
9017         emacs-XX.YY.ZZ.exe on MS-Windows.
9019         * Makefile.in (XARGS_LIMIT): New variable.
9020         (custom-deps, finder-data, autoloads)
9021         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9022         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9023         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9024         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9026 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9028         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9029         (octave-mode-menu, octave-mode-map): Remove its uses.
9031 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9033         Sync with upstream vhdl mode v3.34.2.
9034         * progmodes/vhdl-mode.el: Use `push' throughout.
9035         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9036         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9037         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9038         (vhdl-actual-generic-name): New option to derive actual generic name.
9039         (vhdl-port-paste-signals): Replace formal by actual generics.
9040         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9041         (vhdl-beautify-options): New option.
9042         (vhdl-last-input-event): New compat alias.  Use throughout.
9043         (vhdl-goto-line): Replace user level function `goto-line'.
9044         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9045         vhdl-fix-statement-buffer.
9046         (vhdl-create-mode-menu): Add some entries.
9047         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9048         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9049         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9050         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9051         to force statements on one line.
9052         (vhdl-remove-trailing-spaces-region):
9053         New, split from vhdl-remove-trailing-spaces.
9054         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9055         Respect vhdl-beautify-options.
9056         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9057         (vhdl-update-sensitivity-list): Not add with index if exists without.
9058         Not include array index with signal.  Ignore keywords in comments.
9059         (vhdl-get-visible-signals): Regexp tweaks.
9060         (vhdl-template-component-inst): Handle empty library.
9061         (vhdl-template-type): Add template for 'enum' type.
9062         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9063         Use vhdl-replace-string.
9064         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9065         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9066         (vhdl-speedbar-initialize): Update for above name change.
9067         (vhdl-compose-wire-components): Fix in handling of constants.
9068         (vhdl-error-regexp-emacs-alist): New variable.
9069         (vhdl-error-regexp-add-emacs): New function;
9070         adds support for new compile.el (Emacs 22+)
9071         (vhdl-generate-makefile-1): Change target order for single lib. units.
9072         Allow use of absolute file names.
9074 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9076         * simple.el (prog-indent-sexp): Indent enclosing defun.
9078 2013-05-15  Glenn Morris  <rgm@gnu.org>
9080         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9081         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9082         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9083         (whitespace-highlight): Move to whitespace group.
9085         * comint.el (comint-source):
9086         * pcmpl-linux.el (pcmpl-linux):
9087         * shell.el (shell-faces):
9088         * eshell/esh-opt.el (eshell-opt):
9089         * international/ccl.el (ccl): Remove empty custom groups.
9091         * completion.el (dynamic-completion-mode):
9092         * jit-lock.el (jit-lock-debug-mode):
9093         * minibuffer.el (completion-in-region-mode):
9094         * type-break.el (type-break-mode-line-message-mode)
9095         (type-break-query-mode):
9096         * emulation/tpu-edt.el (tpu-edt-mode):
9097         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9098         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9099         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9101         * term/xterm.el (xterm): Change parent group to terminals.
9103         * master.el (master): Remove empty custom group.
9104         (master-mode): Remove unused :group argument.
9105         * textmodes/refill.el (refill): Remove empty custom group.
9106         (refill-mode): Remove unused :group argument.
9108         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9110         * cus-dep.el: Provide a feature.
9111         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9112         Don't mistakenly ignore files whose basenames match a basename
9113         from preloaded-file-list (eg cedet/ede/simple.el).
9114         Add a fallback method for getting :group.
9116 2013-05-15  Juri Linkov  <juri@jurta.org>
9118         * isearch.el (isearch-char-by-name): Rename from
9119         `isearch-insert-char-by-name'.  Doc fix.
9120         (isearch-forward): Mention `isearch-char-by-name' in
9121         the docstring.  (Bug#13348)
9123         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9124         `exit-minibuffer' instead of
9125         `isearch-nonincremental-exit-minibuffer'.
9126         (isearch-edit-string): Remove mention of
9127         `isearch-nonincremental-exit-minibuffer' from docstring.
9128         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9129         (isearch-forward-exit-minibuffer)
9130         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9132 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9134         * loadup.el: Just use unversioned DOC.
9136         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9137         literals as extending to EOB.
9138         (nxml-last-fontify-end): Remove unused variable.
9139         (nxml-after-change1): Use with-silent-modifications.
9140         (nxml-extend-after-change-region): Simplify.
9141         (nxml-extend-after-change-region1): Remove function.
9142         (nxml-after-change1): Don't adjust for dependent regions.
9143         (nxml-fontify-matcher): Simplify.
9144         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9145         (xmltok-add-dependent): Remove function.
9146         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9147         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9148         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9149         unclosed <[[, <?, comment, and other literals as extending to EOB.
9150         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9151         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9152         Remove functions.
9153         (rng-do-some-validation-1): Don't mark dependent regions.
9154         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9155         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9156         (nxml-clear-dependent-regions): Remove functions.
9157         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9158         (nxml-ensure-scan-up-to-date):
9159         Don't clear&mark dependent regions.
9161 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9163         * progmodes/octave.el (octave-goto-function-definition):
9164         Improve and fix callers.
9166 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9168         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9169         the setter (bug#14387).
9171         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9172         surrounding group (bug#14402).
9174 2013-05-14  Juri Linkov  <juri@jurta.org>
9176         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9177         (Bug#14390)
9179 2013-05-14  Glenn Morris  <rgm@gnu.org>
9181         * progmodes/f90.el (f90-imenu-generic-expression):
9182         Fix typo in 2013-05-08 change.  (Bug#14402)
9184 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9186         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9187         Remove signals for which replies are never received.
9189 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9191         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9192         (gdb-handler-alist, gdb-handler-number): Remove variables.
9193         (gdb-handler-list): New variable.
9194         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9195         (gdb-pending-handler-p, gdb-handle-reply)
9196         (gdb-remove-all-pending-triggers): New functions.
9197         (gdb-discard-unordered-replies): New defcustom.
9198         (gdb-handler): New defstruct.
9199         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9200         instead of gdb-pending-triggers.  Update docstring.
9201         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9202         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9203         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9204         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9205         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9206         (gdb-frame-handler): Pending triggers are now automatically managed.
9207         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9208         Remove argument.
9209         (gdb-input): Automatically handles pending triggers.  Update docstring.
9210         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9211         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9212         Update comments.
9213         (gdb-done-or-error): Now use gdb-handle-reply.
9215 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9217         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9218         gdb-debug-log.
9220 2013-05-14  Glenn Morris  <rgm@gnu.org>
9222         * subr.el (user-emacs-directory-warning): New option.
9223         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9225 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9227         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9228         during redisplay.
9229         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9230         (octave-font-lock-texinfo-comment): Fix invalid search bound
9231         error: wrong side of point.
9233 2013-05-14  Glenn Morris  <rgm@gnu.org>
9235         * progmodes/flymake.el (flymake-xml-program): New option.
9236         (flymake-xml-init): Use it.
9238         * term/xterm.el: Provide a feature.
9240         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9242 2013-05-13  Glenn Morris  <rgm@gnu.org>
9244         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9245         Add compat aliases as a hack workaround.  (Bug#14384)
9247 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9249         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9250         ###, and %!.
9251         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9252         C-M-q.
9253         (octave-comment-start-skip): Include %!.
9254         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9256 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9258         * progmodes/octave.el (inferior-octave-startup): Store the value
9259         of __octave_srcdir__ for octave-source-directories.
9260         (inferior-octave-check-process): New function refactored out of
9261         inferior-octave-send-list-and-digest.
9262         (octave-source-directories)
9263         (octave-find-definition-filename-function): New variables.
9264         (octave-source-directories)
9265         (octave-find-definition-default-filename): New functions.
9266         (octave-find-definition): Improve to find functions implemented in C++.
9268 2013-05-12  Glenn Morris  <rgm@gnu.org>
9270         * calendar/diary-lib.el (diary-outlook-format-1):
9271         Don't include dayname in the output.  (Bug#14349)
9273 2013-05-11  Glenn Morris  <rgm@gnu.org>
9275         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9277         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9278         Treat cc-provide like provide.
9280 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9282         * cus-dep.el (custom-make-dependencies):
9283         Use generated-autoload-load-name for the sake of files such
9284         such cedet/semantic/bovine/c.el, where the base file name
9285         is not in load-path.  (Bug#5277)
9287 2013-05-11  Glenn Morris  <rgm@gnu.org>
9289         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9290         Provide features.
9292 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9294         * progmodes/octave.el (octave-indent-comment): Improve.
9295         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9296         (octave-eldoc-function-signatures, octave-eldoc-function):
9297         New functions.
9298         (octave-mode, inferior-octave-mode): Add eldoc support.
9300 2013-05-11  Richard Stallman  <rms@gnu.org>
9302         * epa.el (epa-decrypt-file): Take output file name as argument
9303         and read it using `interactive'.
9305 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9307         * progmodes/octave.el (octave-beginning-of-line)
9308         (octave-end-of-line): Check before using up-list because it jumps
9309         out of more syntactic contructs since moving to smie.
9310         (octave-indent-comment): New function.
9311         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9312         (octave-begin-keywords, octave-end-keywords)
9313         (octave-reserved-words, octave-smie-bnf-table)
9314         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9316 2013-05-11  Glenn Morris  <rgm@gnu.org>
9318         * faces.el (internal-face-x-get-resource):
9319         * frame.el (ns-display-monitor-attributes-list):
9320         * calc/calc-aent.el (math-to-radians-2):
9321         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9322         Fix declarations.
9324         * calc/calc-menu.el: Make it loadable in isolation.
9326         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9327         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9328         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9329         (eudc-bbdb-query-internal): Require 'bbdb.
9331         * lpr.el (lpr-headers-switches):
9332         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9334         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9336         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9338         * term.el (term-set-escape-char): Make it idempotent.
9340 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9342         * progmodes/octave.el (inferior-octave-completion-table):
9343         No longer a function and all uses changed.  Use cache to speed up
9344         completion due to bug#11906.
9345         (octave-beginning-of-defun): Re-write to be more general.
9347 2013-05-10  Glenn Morris  <rgm@gnu.org>
9349         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9351 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9353         * comint.el (comint-redirect-send-command-to-process): Use :around
9354         rather than :override for comint-redirect-filter.
9355         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9356         Call it instead of comint-redirect-original-filter-function (which
9357         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9359 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9361         * frame.el (display-monitor-attributes-list): Add NS case.
9362         (ns-display-monitor-attributes-list): Declare.
9364 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9366         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9368 2013-05-09  Glenn Morris  <rgm@gnu.org>
9370         * international/fontset.el (vertical-centering-font-regexp):
9371         Set standard-value.
9373         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9375         * bookmark.el (bookmark-search-delay):
9376         * cus-start.el (vertical-centering-font-regexp):
9377         * ps-mule.el (ps-mule-font-info-database-default):
9378         * ps-print.el (ps-default-fg, ps-default-bg):
9379         * type-break.el (type-break-good-break-interval):
9380         * whitespace.el (whitespace-indentation-regexp)
9381         (whitespace-space-after-tab-regexp):
9382         * emacs-lisp/testcover.el (testcover-1value-functions)
9383         (testcover-noreturn-functions, testcover-progn-functions)
9384         (testcover-prog1-functions):
9385         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9386         * eshell/em-glob.el (eshell-glob-translate-alist):
9387         * play/tetris.el (tetris-tty-colors):
9388         * progmodes/cpp.el (cpp-face-default-list):
9389         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9390         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9391         (idlwave-help-browser-generic-args):
9392         * progmodes/make-mode.el (makefile-special-targets-list):
9393         * progmodes/python.el (python-shell-virtualenv-path):
9394         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9395         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9396         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9397         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9398         * textmodes/reftex-vars.el (reftex-format-label-function):
9399         * textmodes/remember.el (remember-diary-file): Fix custom types.
9401         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9402         Add :version.
9404 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9406         * progmodes/octave.el (inferior-octave-completion-at-point):
9407         Restore file completion.  (Bug#14300)
9408         (inferior-octave-startup): Fix incorrect highlighting for the
9409         first prompt.
9411 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9413         * progmodes/ruby-mode.el: First cut at SMIE support.
9414         (ruby-use-smie): New var.
9415         (ruby-smie-grammar): New constant.
9416         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9417         (ruby-smie--forward-token, ruby-smie--backward-token)
9418         (ruby-smie-rules): New functions.
9419         (ruby-mode-variables): Setup SMIE if applicable.
9421 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9423         * simple.el (line-move-visual): Signal beginning/end of buffer
9424         only if vertical-motion moved less than it was requested.  Avoids
9425         silly incorrect error messages when there are display strings with
9426         multiple newlines at EOL.
9428 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9430         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9431         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9432         (prolog-char-quote-workaround):
9433         * progmodes/cperl-mode.el (cperl-under-as-char):
9434         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9435         Mark as obsolete.
9436         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9437         their declaration.
9438         (vhdl-mode-syntax-table-init): Remove.
9440         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9441         last change.
9443         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9444         syntax for "_".
9445         (ld-script-font-lock-keywords):
9446         Change regexps to use things like \_< and \_>.
9448         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9449         Change all regexps to use things like \_< and \_>.
9451         * progmodes/autoconf.el (autoconf-definition-regexp)
9452         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9453         Handle a _ with symbol syntax.
9454         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9456         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9457         Consolidate declaration.
9458         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9459         the declaration.
9460         (ada-create-syntax-table): Remove.
9461         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9462         already has the right syntax nowadays.
9463         (ada-goto-next-word): Don't change the syntax of "_".
9465         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9466         with-wrapper-hook.
9468 2013-05-08  Sam Steingold  <sds@gnu.org>
9470         * thingatpt.el (thing-at-point): Accept optional second argument
9471         NO-PROPERTIES to strip the text properties from the return value.
9472         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9473         to `thing-at-point' instead of stripping the properties ourselves.
9474         Also, when `thing-at-point' fails to find a url, prepend "http://"
9475         to the filename at point on the assumption that the user is
9476         pointing at something like gnu.org/gnu.
9478 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9480         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9481         * faces.el (crm-separator):
9482         Silence byte-compiler.
9484         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9485         (tool-bar-map): Remove unneeded defvars.
9487 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9489         Re-work a fix for bug#10994 based on Le Wang's patch.
9490         * ido.el (ido-remove-consecutive-dups): New helper.
9491         (ido-completing-read): Use it.
9492         (ido-chop): Revert fix for bug#10994.
9494 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9496         * cus-edit.el (custom-save-variables):
9497         Pretty-print long values.  (Bug#14187)
9499 2013-05-08  Glenn Morris  <rgm@gnu.org>
9501         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9502         (m4-mode-syntax-table): Init in the defvar.
9503         (m4-mode-abbrev-table): Let define-derived-mode define it.
9505 2013-05-08  Tom Tromey  <tromey@redhat.com>
9507         * progmodes/m4-mode.el (m4-mode-syntax-table):
9508         Do not treat "_" as word constituent.  (Bug#14167)
9510 2013-05-07  Glenn Morris  <rgm@gnu.org>
9512         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9513         Remove explicit eshell-isearch-cancel-map.
9515         * progmodes/f90.el (f90-smart-end-names): New option.
9516         (f90-smart-end): Doc fix.
9517         (f90-end-block-optional-name): New constant.
9518         (f90-block-match): Respect f90-smart-end-names.
9520 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9522         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9523         about implicit semi-colons (bug#14218).
9525 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9527         * frame.el (display-monitor-attributes-list)
9528         (frame-monitor-attributes): New functions.
9530 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9532         * progmodes/octave.el (octave-syntax-propertize-function): Change
9533         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9534         (octave-font-lock-keywords): Use octave-operator-regexp.
9535         (octave-completion-at-point): Rename from
9536         octave-completion-at-point-function.
9537         (inferior-octave-directory-tracker): Robustify.
9538         (octave-text-functions): Remove and fix its uses.  No such things
9539         any more.
9541 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9543         * emacs-lisp/trace.el (trace--display-buffer): New function.
9544         (trace-make-advice): Use it.
9546 2013-05-06  Juri Linkov  <juri@jurta.org>
9548         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9549         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9550         Doc fix.
9551         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9552         in the help string.  (Bug#12985)
9554 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9556         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9558 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9560         * progmodes/perl-mode.el: Add support for here documents.
9561         (perl-syntax-propertize-function): Match here-doc markers.
9562         (perl-syntax-propertize-special-constructs): Find their end.
9563         (perl-imenu-generic-expression): Use [:alnum:].
9565         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9566         (advice--add-function): Refresh the advice if already present
9567         (bug#14317).
9569 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9571         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9573 2013-05-06  Glenn Morris  <rgm@gnu.org>
9575         * w32-fns.el (w32-charset-info-alist): Declare.
9577         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9578         of its defcustom properties.
9579         (eshell-cmpl-initialize): No need to load pcomplete.
9581         * generic-x.el: No need to require comint when compiling.
9583         * net/eudc-export.el: Make it loadable without bbdb.
9584         (top-level): Use require rather than load-library.
9585         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9586         (eudc-batch-export-records-to-bbdb)
9587         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9588         Require bbdb.
9590 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9592         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9593         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9594         some tweaks, instead.
9596 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9598         * progmodes/octave.el (octave-font-lock-keywords)
9599         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9600         (inferior-octave-send-list-and-digest): Improve error message.
9601         (octave-mode, inferior-octave-mode): Use setq-local.
9602         (octave-help): Set info-lookup-mode.
9604 2013-05-05  Richard Stallman  <rms@gnu.org>
9606         * vc/compare-w.el (compare-windows-whitespace):
9607         Treat no-break space as whitespace.
9609         * mail/rmailsum.el (rmail-summary-rmail-update):
9610         Detect empty summary and don't change selected message.
9611         (rmail-summary-goto-msg): Likewise.
9613         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9614         Doc fixes, rename args.
9616 2013-05-05  Alan Mackenzie  <acm@muc.de>
9618         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9620 2013-05-05  Juri Linkov  <juri@jurta.org>
9622         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9623         to not add the length of the summary segment to the return value.
9624         (Bug#14125)
9626 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9628         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9629         (inferior-octave-output-filter): Remove.
9630         (octave-send-region, inferior-octave-startup): Fix callers.
9631         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9632         (octave-binary-file-extensions): New user variable.
9633         (octave-find-definition): Confirm if opening binary files.
9634         (octave-help-file): Use octave-find-definition to get the binary
9635         confirmation.
9636         (octave-help): Adjust for octave-help-file change.
9638 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9640         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9641         Merge the two entries that handle function definitions.
9642         (pascal--syntax-propertize): New const.
9643         (pascal-mode): Use it.  Use setq-local.
9645 2013-05-04  Glenn Morris  <rgm@gnu.org>
9647         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9648         (diary-from-outlook): Respect diary-from-outlook-function.
9650 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9652         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9653         Move the declaration from C.
9654         (read-minibuffer, eval-minibuffer): Move from C.
9655         (completion-setup-function): Avoid minibuffer-completion-contents.
9657 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9659         * progmodes/octave.el (octave-font-lock-keywords): Do not
9660         dehighlight 'end' in comments or strings.
9661         (octave-completing-read, octave-goto-function-definition):
9662         New helpers.
9663         (octave-help-buffer): New user variable.
9664         (octave-help-file, octave-help-function): New button types.
9665         (octave-help): New command and bind it to C-h ;.
9666         (octave-find-definition): New command and bind it to M-.
9667         (user-error): Alias to error if not defined.
9669 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9671         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9672         for \.  (bug#14332)
9673         (octave-font-lock-keywords): Include [ and {.
9675 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9677         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9678         (inferior-octave): Remove calling comint-mode and return the buffer.
9679         (inferior-octave-startup): Cosmetic changes.
9681 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9683         * progmodes/octave.el (octave-syntax-propertize-function):
9684         Include the case when ' is at line beginning.  (Bug#14336)
9686 2013-05-02  Glenn Morris  <rgm@gnu.org>
9688         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9689         * desktop.el (vc-dir-mode): Just autoload it here.
9691 2013-05-02  Alan Mackenzie  <acm@muc.de>
9693         Eliminate variable c-standard-font-lock-fontify-region-function.
9694         * progmodes/cc-mode.el
9695         (c-standard-font-lock-fontify-region-function): Remove.
9696         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9698 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9700         * progmodes/octave.el: Compatible with older emacs-24 releases.
9701         (inferior-octave-has-built-in-variables): Remove.  Built-in
9702         variables were removed from Octave in 2007.
9703         (inferior-octave-startup): Fix uses.
9704         (comint-line-beginning-position): Remove compatibility code for
9705         emacs 21.
9707 2013-05-01  Juri Linkov  <juri@jurta.org>
9709         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9711 2013-05-01  Juri Linkov  <juri@jurta.org>
9713         * comint.el (comint-previous-matching-input): Don't print message
9714         "History item: %d" when `isearch-mode' is active.
9715         (comint-history-isearch-message): Print message "History item: %d"
9716         when `comint-input-ring-index' is not empty and this function is
9717         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9719 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9721         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9722         definitions.  Use completion-at-point to insert keywords.
9723         (octave-abbrev-start): Remove.
9724         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9726 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9728         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9729         change.
9731 2013-04-30  Alan Mackenzie  <acm@muc.de>
9733         Handle arbitrarily long C++ member initialisation lists.
9734         * progmodes/cc-engine.el (c-back-over-member-initializers):
9735         new function.
9736         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9737         (most) member init lists.
9739 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9741         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9742         variable.
9744 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9746         * progmodes/octave.el (octave-variables): Remove.  No builtin
9747         variables any more.  All converted to functions.
9748         (octave-font-lock-keywords, octave-completion-at-point-function):
9749         Fix uses.
9750         (octave-font-lock-texinfo-comment): New user variable.
9751         (octave-texinfo-font-lock-keywords): New variable for texinfo
9752         comment block.
9753         (octave-function-comment-block): New face.
9754         (octave-font-lock-texinfo-comment): New function.
9755         (octave-mode): Font lock texinfo comment block.
9757 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9759         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9760         indexing expression.
9761         (octave-continuation-string): Do not use \.
9762         (inferior-octave-complete-impossible): Remove.
9763         (inferior-octave-completion-table)
9764         (inferior-octave-completion-at-point): Remove its uses.
9765         (inferior-octave-startup): completion_matches was introduced to
9766         Octave in 1996 so safe to assume it.
9767         (octave-function-file-comment): Improve to follow how Octave does it.
9768         (octave-update-function-file-comment): Tweak.
9770 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9772         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9773         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9774         (octave-function-file-comment): Fix typo.
9775         (octave-sync-function-file-names): Use read-char-choice.
9777 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9779         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9780         to t for the less important warnings.
9782 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9784         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9786 2013-04-27  Glenn Morris  <rgm@gnu.org>
9788         * vc/log-view.el (log-view-current-entry):
9789         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9791 2013-04-27  Juri Linkov  <juri@jurta.org>
9793         * subr.el (read-number): Doc fix about using it by interactive
9794         code letter `n'.  (Bug#14254)
9796 2013-04-27  Juri Linkov  <juri@jurta.org>
9798         * desktop.el (desktop-auto-save-timeout): New option.
9799         (desktop-file-checksum): New variable.
9800         (desktop-save): Add optional arg `auto-save' and don't auto-save
9801         if nothing changed.
9802         (desktop-auto-save-timer): New variable.
9803         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9804         (after-init-hook): Call `desktop-auto-save-set-timer'.
9805         Suggested by Reuben Thomas <rrt@sc3d.org> in
9806         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9808 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9810         * progmodes/octave.el (octave-function-file-p)
9811         (octave-skip-comment-forward, octave-function-file-comment)
9812         (octave-update-function-file-comment): New functions.
9813         (octave-mode-map): Bind C-c ; to
9814         octave-update-function-file-comment.
9815         (octave-mode-menu): Add octave-update-function-file-comment.
9816         (octave-mode, inferior-octave-mode): Fix doc-string.
9817         (octave-insert-defun): Conform to Octave's coding convention.
9818         (Bug#14285)
9820         * files.el (basic-save-buffer): Don't let errors in
9821         before-save-hook prevent saving buffer.
9823 2013-04-20  Roland Winkler  <winkler@gnu.org>
9825         * faces.el (read-face-name): Use completing-read if arg multiple
9826         is nil.
9828 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9830         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9831         displayed, move point to after the totals line.
9832         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9833         for the details.
9835 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9837         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9838         Add current dir to the load-path.
9839         (package-generate-autoloads): Don't rely on
9840         autoload-ensure-default-file.
9842 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9844         * textmodes/remember.el (remember-store-in-files): Document that
9845         the file name format is passed to `format-time-string'.
9847 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9849         * progmodes/octave.el (octave-sync-function-file-names): New function.
9850         (octave-mode): Use it in before-save-hook.
9852 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9855         (bug#14274).
9857         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9858         \n and comment, even if it's not an implicit ; (bug#14218).
9860 2013-04-26  Glenn Morris  <rgm@gnu.org>
9862         * subr.el (read-number): Once more use `read' rather than
9863         `string-to-number', to trap non-numeric input.  (Bug#14254)
9865 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9867         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9868         Use `syntax-multiline' text property consistently instead of
9869         `font-lock-multiline'.  (Bug#14237)
9871 2013-04-26  Glenn Morris  <rgm@gnu.org>
9873         * emacs-lisp/shadow.el (list-load-path-shadows):
9874         No longer necessary to check for duplicate simple.el, since
9875         2012-07-07 change to init_lread to not include installation lisp
9876         directories in load-path when running uninstalled.  (Bug#14270)
9878 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9880         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9881         (octave-mode, inferior-octave-mode): Use setq-local.
9882         (octave-not-in-string-or-comment-p): Rename to
9883         octave-in-string-or-comment-p.
9884         (octave-in-comment-p, octave-in-string-p)
9885         (octave-in-string-or-comment-p): Replace defsubst with defun.
9887 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9889         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9891 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9893         * textmodes/remember.el (remember-data-directory)
9894         (remember-directory-file-name-format): Fix custom types.
9896 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9898         * progmodes/octave.el (octave-completion-at-point-function):
9899         Make use of inferior octave process.
9900         (octave-initialize-completions): Remove.
9901         (inferior-octave-completion-table): New function.
9902         (inferior-octave-completion-at-point): Use it.
9903         (octave-completion-alist): Remove.
9905 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9908         (opascal-mode-syntax-table): New var.
9909         (opascal-literal-kind, opascal-is-literal-end)
9910         (opascal-literal-token-at): Rewrite.
9911         (opascal--literal-start-re, opascal-font-lock-keywords)
9912         (opascal--syntax-propertize): New constants.
9913         (opascal-font-lock-defaults): Adjust.
9914         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9915         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9916         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9917         (delphi-other-face, opascal-other-face): Remove face variables.
9918         (opascal-save-state): Remove macro.
9919         (opascal-fontifying-progress-step): Remove constant.
9920         (opascal--ignore-changes): Remove var.
9921         (opascal-set-token-property, opascal-parse-next-literal)
9922         (opascal-is-stable-literal, opascal-complete-literal)
9923         (opascal-is-literal-start, opascal-face-of)
9924         (opascal-parse-region, opascal-parse-region-until-stable)
9925         (opascal-fontify-region, opascal-after-change)
9926         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9927         (opascal-debug-parse-region, opascal-debug-parse-window)
9928         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9929         (opascal-debug-fontify-buffer): Remove.
9930         (opascal-debug-mode-map): Adjust accordingly.
9932 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9934         Merge octave-mod.el and octave-inf.el into octave.el with some
9935         cleanups.
9936         * progmodes/octave.el: New file renamed from octave-mod.el.
9937         * progmodes/octave-inf.el: Merged into octave.el.
9938         * progmodes/octave-mod.el: Renamed to octave.el.
9940 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9942         * textmodes/reftex-vars.el
9943         (reftex-label-ignored-macros-and-environments): New defcustom.
9945         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9947 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9949         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9950         (smie-indent-keyword): Improve the check to ensure that the next
9951         comment is really on the same line.
9952         (smie-indent-comment): Don't align with a subsequent closer (or eob).
9954         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9955         semi-colons if the line is not otherwise empty (bug#14218).
9957 2013-04-25  Glenn Morris  <rgm@gnu.org>
9959         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9961 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9963         * progmodes/opascal.el (opascal-set-token-property): Rename from
9964         opascal-set-text-properties and only set `token' (bug#14134).
9965         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9966         (opascal-literal-text-properties): Remove.
9967         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9968         Adjust callers.
9970 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
9972         * textmodes/remember.el (remember-handler-functions): Add an
9973         option for a new handler `remember-store-in-files'.
9974         (remember-data-directory, remember-directory-file-name-format):
9975         New options.
9976         (remember-store-in-files): New function to store remember notes
9977         as separate files within a directory.
9979 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
9981         * progmodes/compile.el (compilation-next-error-function):
9982         Pass "formats" to compilation-find-file (bug#11777).
9984 2013-04-24  Glenn Morris  <rgm@gnu.org>
9986         * vc/vc-bzr.el (vc-bzr-print-log):
9987         * vc/vc-hg.el (vc-hg-print-log):
9988         * vc/vc-svn.el (vc-svn-print-log):
9989         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
9991         * vc/vc-bzr.el (vc-bzr-print-log):
9992         * vc/vc-cvs.el (vc-cvs-print-log):
9993         * vc/vc-git.el (vc-git-print-log):
9994         * vc/vc-hg.el (vc-hg-print-log):
9995         * vc/vc-mtn.el (vc-mtn-print-log):
9996         * vc/vc-rcs.el (vc-rcs-print-log):
9997         * vc/vc-sccs.el (vc-sccs-print-log):
9998         * vc/vc-svn.el (vc-svn-print-log):
9999         * vc/vc.el (vc-print-log-internal): Doc fixes.
10001 2013-04-23  Glenn Morris  <rgm@gnu.org>
10003         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10004         Remove venerable code attempting to avoid substitute-command-keys.
10006 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10008         * textmodes/reftex-vars.el (reftex-label-regexps):
10009         Call `reftex-compile-variables' after changes to this variable.
10011 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10013         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10014         Use lexical-binding.
10015         (jit-lock-force-redisplay): Use markers, check buffer's continued
10016         existence and beware narrowed buffers.
10017         (jit-lock-fontify-now): Adjust call accordingly.
10019 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10021         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10022         to avoid misleading the user.
10024 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10026         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10028 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10030         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10032         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10033         * net/tramp.el (tramp-call-process): ... here.
10034         (tramp-set-completion-function, tramp-parse-putty):
10035         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10036         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10037         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10038         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10039         (tramp-call-local-coding-command): Use `tramp-call-process'
10040         instead of `tramp-compat-call-process'.
10042         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10043         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10044         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10045         (tramp-find-inline-compress): Improve traces.
10046         (tramp-maybe-send-script): Check for Perl binary.
10047         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10049 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10051         * epg.el (epg-context-pinentry-mode): New function.
10052         (epg-context-set-pinentry-mode): New function.
10053         (epg--start): Pass --pinentry-mode option to gpg command.
10055 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10057         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10058         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10059         `completion-at-point'.  (Bug#13774)
10061         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10062         default key binding for `describe-distribution' has been moved to
10063         `C-h C-o'.  (Bug#13970)
10065 2013-04-21  Glenn Morris  <rgm@gnu.org>
10067         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10068         Add doc strings.
10069         (vc-print-log): Clarify interactive prompt.
10071 2013-04-20  Glenn Morris  <rgm@gnu.org>
10073         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10074         No longer include timestamp etc information.
10076 2013-04-20  Roland Winkler  <winkler@gnu.org>
10078         * faces.el (read-face-name): Bug fix, return just one face if arg
10079         multiple is nil.  (Bug#14209)
10081 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10084         (remove-function): Autoload.
10086         * comint.el (comint-redirect-original-filter-function): Remove.
10087         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10088         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10089         (vc-cvs-annotate-command):
10090         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10091         * progmodes/prolog.el (prolog-consult-compile):
10092         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10093         Use add/remove-function instead.
10094         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10095         (gud-tooltip-process-output, gud-tooltip-tips):
10096         Use add/remove-function instead.
10097         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10098         (scheme-interaction-mode, exit-scheme-interaction-mode):
10099         Use add/remove-function instead.
10101         * vc/vc-dispatcher.el: Use lexical-binding.
10102         (vc--process-sentinel): Rename from vc-process-sentinel.
10103         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10104         and vc-sentinel-commands any more.
10105         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10106         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10108 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10110         * progmodes/sh-script.el (sh-imenu-generic-expression):
10111         Handle function names with a single character.   (Bug#14111)
10113 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10115         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10116         for subroutines defined in an eval (bug#14182).
10118 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10120         * bookmark.el (bookmark-completing-read): Improve handling of empty
10121         string (bug#14176).
10123 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10125         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10127 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10129         New faster Imenu implementation (bug#14058).
10130         * progmodes/python.el:
10131         (python-imenu-prev-index-position):
10132         (python-imenu-format-item-label-function)
10133         (python-imenu-format-parent-item-label-function)
10134         (python-imenu-format-parent-item-jump-label-function):
10135         New vars.
10136         (python-imenu-format-item-label)
10137         (python-imenu-format-parent-item-label)
10138         (python-imenu-format-parent-item-jump-label)
10139         (python-imenu--put-parent, python-imenu--build-tree)
10140         (python-imenu-create-index, python-imenu-create-flat-index)
10141         (python-util-popn): New functions.
10142         (python-mode): Set imenu-create-index-function to
10143         python-imenu-create-index.
10145 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10147         * winner.el (winner-active-region): Use region-active-p, activate-mark
10148         and deactivate-mark (bug#14225).
10150         * simple.el (deactivate-mark): Don't inline it.
10152 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10154         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10156 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10158         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10159         file extensions from the archive-mode entry in order to prefer
10160         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10162 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10164         * bindings.el (help-event-list): Add ?\?.
10166 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10168         * subr.el (with-wrapper-hook): Declare obsolete.
10169         * simple.el (filter-buffer-substring-function): New hook.
10170         (filter-buffer-substring): Use it.
10171         (filter-buffer-substring-functions): Mark obsolete.
10172         * minibuffer.el (completion-in-region-function): New hook.
10173         (completion-in-region): Use it.
10174         (completion-in-region-functions): Mark obsolete.
10175         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10176         * abbrev.el (abbrev-expand-function): New hook.
10177         (expand-abbrev): Use it.
10178         (abbrev-expand-functions): Mark obsolete.
10179         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10180         and :filter-return.
10182 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10184         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10185         and do not care about match data.
10187 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10190         completion tables when completing error conditions and
10191         `declare' arguments.
10192         (lisp-complete-symbol, field-complete): Mark as obsolete.
10193         (check-parens): Unmatched parens are user errors.
10194         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10196 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10198         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10199         command changed buffer (ie. `flyspell-pre-buffer' is not current
10200         buffer), which prevents making decisions based on invalid value of
10201         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10202         cause an error when `flyspell-pre-point' was nil after switching
10203         buffers.
10204         (flyspell-post-command-hook): No longer needs to change buffers when
10205         checking pre-word.  While at it remove unnecessary progn.
10207 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10209         * textmodes/ispell.el (ispell-add-per-file-word-list):
10210         Fix `flyspell-correct-word-before-point' error when accepting
10211         words and `coment-padding' is an integer by using
10212         `comment-normalize-vars' (Bug #14214).
10214 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10216         New defun movement commands.
10217         * progmodes/python.el (python-nav--syntactically)
10218         (python-nav--forward-defun, python-nav-backward-defun)
10219         (python-nav-forward-defun): New functions.
10221 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10223         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10224         (python-syntax-context): Use named compiler-macro for backwards
10225         compatibility with Emacs 24.x.
10227 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10229         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10230         octave-hide-process-buffer.
10232 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10234         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10235         (bug#14216).
10237 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10239         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10240         Fix adjustment of offset when receiving incomplete responses from GDB
10241         (bug#14129).
10243 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10245         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10246         python-mode-abbrev-table.
10247         (python-skeleton-define): Adjust accordingly.
10248         (python-mode-abbrev-table): New table that inherits from it so that
10249         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10251         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10252         (abbrev-symbol): Use it.
10253         (abbrev--before-point): Use it since we already handle inheritance.
10255 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10257         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10258         binding to info-lookup-symbol.
10260 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10262         * minibuffer.el (completion--twq-all):
10263         * term/ns-win.el (ns-initialize-window-system):
10264         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10266 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10268         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10269         global bindings.
10271         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10273 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10275         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10276         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10277         to nil.
10278         (ruby-end-of-defun): Remove the unused arg, change the docstring
10279         to reflect that this function is only used as the value of
10280         `end-of-defun-function'.
10281         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10282         to reflect an earlier change that beginning/end-of-defun functions
10283         jump between methods in a class definition, as well as top-level
10284         functions.
10286 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10288         * minibuffer.el (minibuffer-complete): Don't just scroll
10289         a *Completions* that's been iconified.
10290         (minibuffer-force-complete): Make sure repetitions do cycle when going
10291         through completion-in-region -> minibuffer-complete.
10293 2013-04-15  Alan Mackenzie  <acm@muc.de>
10295         Correct the placement of c-cpp-delimiters when there're #s not at
10296         col 0.
10298         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10299         place a submatch around the #.
10300         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10301         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10302         on the #, not BOL.
10304 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10306         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10307         (advice--member-p): New arg `name'.
10308         (advice--add-function, advice-member-p): Use it (bug#14202).
10310 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10312         Reformulate java imenu-generic-expression.
10313         The old expression contained ill formed regexps.
10315         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10316         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10317         (cc-imenu-java-method-arg-regexp): New defconsts.
10318         (cc-imenu-java-build-type-args-regex): New defun.
10319         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10320         handling of spaces in the regexp.
10322 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10324         * textmodes/ispell.el (ispell-command-loop): Remove
10325         flyspell highlight of a word when ispell accepts it (bug #14178).
10327 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10329         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10330         uses code from the previous `ange-ftp-run-real-handler'.
10331         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10332         only in case that function exist.  This is needed for proper
10333         unloading of Tramp.
10335 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10337         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10339         * textmodes/reftex.el (reftex-compile-variables): Use it.
10341 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10343         * files.el (normal-mode): Only use default major-mode if no other mode
10344         was specified.
10346         * emacs-lisp/trace.el (trace-values): New function.
10348         * files.el: Allow : in local variables (bug#14089).
10349         (hack-local-variable-regexp): New var.
10350         (hack-local-variables-prop-line, hack-local-variables): Use it.
10352 2013-04-13  Roland Winkler  <winkler@gnu.org>
10354         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10355         data before it gets modified by bibtex-beginning-of-entry.
10357 2013-04-13  Roland Winkler  <winkler@gnu.org>
10359         * textmodes/bibtex.el (bibtex-url): Doc fix.
10361 2013-04-13  Roland Winkler  <winkler@gnu.org>
10363         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10364         does not visit a BibTeX file, exclude it from the list of buffers
10365         returned by bibtex-initialize.
10367 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10369         * window.el (split-window): Remove interactive form, since as a
10370         command this function is a special case of split-window-below.
10371         Correct doc string.
10373 2013-04-12  Roland Winkler  <winkler@gnu.org>
10375         * faces.el (read-face-name): Do not override value of arg default.
10376         Allow single faces and strings as default values.  Remove those
10377         elements from return value that are not faces.
10378         (describe-face): Simplify.
10379         (face-at-point): New optional args thing and multiple so that this
10380         function can provide the same functionality previously provided by
10381         read-face-name.
10382         (make-face-bold, make-face-unbold, make-face-italic)
10383         (make-face-unitalic, make-face-bold-italic, invert-face)
10384         (modify-face, read-face-and-attribute): Use face-at-point.
10386         * cus-edit.el (customize-face, customize-face-other-window)
10387         * cus-theme.el (custom-theme-add-face)
10388         * face-remap.el (buffer-face-set)
10389         * facemenu.el (facemenu-set-face): Use face-at-point.
10391 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10393         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10395 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10397         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10398         off leading { and trailing } from field values.
10400 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10402         * emacs-lisp/timer.el (timer--check): New function.
10403         (timer--time, timer-set-function, timer-event-handler): Use it.
10404         (timer-set-idle-time): Simplify.
10405         (timer--activate): CSE.
10406         (timer-event-handler): Give more info in error message.
10407         (internal-timer-start-idle): New function, moved from C.
10409         * mpc.el (mpc-proc): Add `restart' argument.
10410         (mpc-proc-cmd): Use it.
10411         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10412         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10413         less often.
10415 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10417         * progmodes/sh-script.el: Implement `sh-mode' own
10418         `add-log-current-defun-function' (bug#14112).
10419         (sh-current-defun-name): New function.
10420         (sh-mode): Use the function.
10422 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10424         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10426 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10428         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10430         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10431         timer (bug#14156).
10433 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10435         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10436         declaration.
10438 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10440         * pcmpl-x.el: New file.
10442 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10444         Do not set x-display-name until X connection is established.
10445         This is needed to prevent from weird situation described at
10446         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10447         * frame.el (make-frame): Set x-display-name after call to
10448         window system initialization function, not before.
10449         * term/x-win.el (x-initialize-window-system): Add optional
10450         display argument and use it.
10451         * term/w32-win.el (w32-initialize-window-system):
10452         * term/ns-win.el (ns-initialize-window-system):
10453         * term/pc-win.el (msdos-initialize-window-system):
10454         Add compatible optional display argument.
10456 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10458         * files.el (normal-backup-enable-predicate): On MS-Windows and
10459         MS-DOS compare truenames of temporary-file-directory and of the
10460         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10461         don't fail comparison by compare-strings.  Also, compare file
10462         names case-insensitively on MS-Windows and MS-DOS.
10464 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10467         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10469 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10471         * whitespace.el (whitespace-color-on, whitespace-color-off):
10472         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10474 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10476         * ispell.el (ispell-set-spellchecker-params):
10477         Really set `ispell-args' for all equivs.
10479 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10481         * ido.el (ido-completions): Use extra elements of ido-decorations
10482         (bug#14143).
10483         (ido-decorations): Update docstring.
10485 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10487         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10488         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10489         nil during initialization, in order not to miss changes since the
10490         file was opened.  (Bug#14140)
10492 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10494         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10496 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10498         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10500 2013-04-04  Glenn Morris  <rgm@gnu.org>
10502         * electric.el (electric-pair-inhibit-predicate): Add :version.
10504 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10506         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10507         when a package is required several times (bug#14082).
10509 2013-04-04  Roland Winkler  <winkler@gnu.org>
10511         * faces.el (read-face-name): Behave as promised by the docstring.
10512         Assume that arg default is a list of faces.
10513         (describe-face): Call read-face-name with list of default faces.
10515 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10517         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10518         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10519         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10520         the header.
10521         (bookmark-exit-hook-internal): Save even if list is empty.
10523 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10525         * emacs-lisp/package.el (package-pinned-packages): New var.
10526         (package--add-to-archive-contents): Obey it (bug#14118).
10528 2013-04-03  Alan Mackenzie  <acm@muc.de>
10530         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10531         Also adapt to the new values of element 7 of a parse state.
10533         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10534         parameter `not-in-delimiter'.  Handle being inside comment opener.
10535         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10536         character in case we're typing a '*' after a '/'.
10537         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10538         instead by passing the parameter to c-state-pp-to-literal.
10540         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10541         for elt. 7 of a parse state.
10543 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10545         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10546         * international/latin1-disp.el, international/mule-util.el:
10547         * language/cyril-util.el, language/european.el, language/ind-util.el:
10548         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10549         * language/tibetan.el, language/viet-util.el:
10550         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10552 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10554         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10555         (electric-pair-post-self-insert-function): Use it.
10556         (electric-pair-default-inhibit): New function, extracted from
10557         electric-pair-post-self-insert-function.
10559 2013-03-31  Roland Winkler  <winkler@gnu.org>
10561         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10563 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10565         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10567 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10569         Un-indent after "pass" and "return" statements (Bug#13888)
10570         * progmodes/python.el (python-indent-block-enders): New var.
10571         (python-indent-calculate-indentation): Use it.
10573 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10575         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10576         defun.  Defining it as defalias could introduce too eager
10577         byte-compiler optimization.  (Bug#14030)
10579 2013-03-30  Chong Yidong  <cyd@gnu.org>
10581         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10583 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10585         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10586         (kmacro-execute-from-register): Pass the keyboard macro to
10587         kmacro-call-macro or repeating won't work correctly.
10589 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10591         * progmodes/subword.el: Back to using `forward-symbol'.
10593         * subr.el (forward-whitespace, forward-symbol)
10594         (forward-same-syntax): Move from thingatpt.el.
10596 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10598         * kmacro.el (kmacro-to-register): New command.
10599         (kmacro-execute-from-register): New function.
10600         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10602 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10604         * mpc.el: Use defvar-local and setq-local.
10605         (mpc--proc-connect): Connection failures are not bugs.
10606         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10607         (mpc-volume-map): Bind to the up-events.
10609 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10611         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10612         instead of `forward-symbol'.
10614 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10616         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10617         (edebug--recursive-edit): Use it.
10618         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10619         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10621 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10623         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10625 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10627         * facemenu.el (list-colors-callback): New defvar.
10628         (list-colors-redisplay): New function.
10629         (list-colors-display): Install list-colors-redisplay as the
10630         revert-buffer-function.  (Bug#14063)
10632 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10634         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10635         and suffixes don't overlap (bug#14061).
10637         * case-table.el: Use lexical-binding.
10638         (case-table-get-table): New function.
10639         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10641 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10643         * progmodes/subword.el: Add `superword-mode' to do word motion
10644         over symbol_words (parallels and leverages `subword-mode' which
10645         does word motion inside MixedCaseWords).
10647 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10649         * eshell/em-unix.el: Move su and sudo to...
10650         * eshell/em-tramp.el: ...Eshell tramp module.
10652 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10654         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10655         Change return value to be a sexp.  Delay `get-buffer' to after
10656         restoring the desktop (bug#13951).
10658 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10660         * register.el: Move semantic tag handling back to
10661         cedet/semantic/senator.el.  (Bug#14052)
10663 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10665         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10666         into the prompt either (bug#13963).
10668 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10671         part of "(error-foo)".
10673 2013-03-24  Juri Linkov  <juri@jurta.org>
10675         * replace.el (list-matching-lines-prefix-face): New defcustom.
10676         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10677         `occur-engine' if `face-differs-from-default-p' returns t.
10678         (occur-engine): Add `,' inside backquote construct to evaluate
10679         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10680         Pass `prefix-face' to the functions `occur-context-lines' and
10681         `occur-engine-add-prefix'.
10682         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10683         `prefix-face' and propertize the prefix with `prefix-face'.
10684         (Bug#14017)
10686 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10688         * nxml/rng-valid.el (rng-validate-while-idle)
10689         (rng-validate-quick-while-idle): Guard against deleted buffer.
10690         (Bug#13999)
10692         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10693         is the last entry in kill-buffer-hook.
10695         * files.el (kill-buffer-hook): Doc fix.
10697 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10699         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10700         Make it safe-local.
10702         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10704 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10706         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10707         Remove.
10709         * nxml/rng-valid.el (rng-validate-mode)
10710         (rng-after-change-function, rng-do-some-validation):
10711         * nxml/rng-maint.el (rng-validate-buffer):
10712         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10713         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10714         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10715         (nxml-extend-after-change-region): Use with-silent-modifications.
10717         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10718         timer-idle-list.
10720         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10721         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10722         timer-idle-list.  (Bug#13999)
10724 2013-03-23  Juri Linkov  <juri@jurta.org>
10726         * info.el (info-index-match): New face.
10727         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10728         main pattern and add text properties with the new face to matches
10729         in index entries relative to the beginning of the index entry.
10730         (Bug#14015)
10732 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10734         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10735         Inhibit read only while inserting objects.
10737 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10739         * progmodes/cfengine.el: Update docs to mention
10740         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10741         symbol motion.  Remove "_" from the word syntax.
10743 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10745         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10746         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10748 2013-03-20  Juri Linkov  <juri@jurta.org>
10750         * info.el (Info-next-reference-or-link)
10751         (Info-prev-reference-or-link): New functions.
10752         (Info-next-reference, Info-prev-reference): Use them.
10753         (Info-try-follow-nearest-node): Handle footnote navigation.
10754         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10756 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10759         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10761 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10763         Suppress unnecessary non-ASCII chatter during build process.
10764         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10765         (batch-skkdic-convert): Suppress most of the chatter.
10766         It's not needed so much now that machines are faster,
10767         and its non-ASCII component was confusing; see Dmitry Gutov in
10768         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10770 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10772         * ido.el (ido-chop): Fix bug#10994.
10774 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10776         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10777         Remove vars.
10778         (whitespace-color-on, whitespace-color-off):
10779         Use `font-lock-fontify-buffer' (Bug#13817).
10781 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10783         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10784         remapping in mode-line.
10785         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10787 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10789         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10790         value for `whitespace-line' face (Bug#13875).
10791         (whitespace-font-lock-keywords): Change description.
10792         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10793         the constructed keywords instead.
10794         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10796 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10798         * progmodes/compile.el (compilation-display-error): New command.
10799         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10800         C-o.  (Bug#13992)
10802 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10804         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10806 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10808         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10810 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10812         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10814         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10815         * net/tramp-gvfs.el (top):
10816         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10817         (tramp-handle-shell-command): Use it.
10818         (tramp-dissect-file-name): Raise an error when hostname is a
10819         method name, and neither method nor user is specified.
10821         * net/trampver.el: Update release number.
10823 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10825         Make sure eldoc can be turned off properly.
10826         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10827         eldoc-mode.
10828         (eldoc-display-message-p): Revert last change.
10829         (eldoc-display-message-no-interference-p)
10830         (eldoc-print-current-symbol-info): Tweak.
10832 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10834         * doc-view.el (doc-view-new-window-function): Check the new window
10835         overlay's display property instead the char property of the
10836         buffer's first char.  Use `with-selected-window' instead of
10837         `save-window-excursion' with `select-window'.
10838         (doc-view-document->bitmap): Check the current doc-view overlay's
10839         display property instead the char property of the buffer's first char.
10841 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10843         Automate the build of ja-dic.el (Bug#13984).
10844         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10845         from the input, rather than assume that it's been done for us by the
10846         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10847         the current date into a ja-dic.el comment, as that complicates
10848         regression testing.
10850 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10852         * whitespace.el: Fix double evaluation.
10853         (whitespace-space, whitespace-hspace, whitespace-tab)
10854         (whitespace-newline, whitespace-trailing, whitespace-line)
10855         (whitespace-space-before-tab, whitespace-indentation)
10856         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10857         obsolete defvars.
10858         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10859         (whitespace-color-on): Use a single font-lock-add-keywords call.
10860         Fix double-evaluation of face variables.
10862 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10864         * net/tramp-adb.el (tramp-adb-parse-device-names):
10865         Use `start-process' instead of `call-process'.  Otherwise, the
10866         function might be blocked under MS Windows.  (Bug#13299)
10868 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10870         Extend eldoc to display info in the mode-line.  (Bug#13978)
10871         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10872         (eldoc-mode-line-string): New variable.
10873         (eldoc-minibuffer-message): New function.
10874         (eldoc-message-function): New variable.
10875         (eldoc-message): Use it.
10876         (eldoc-display-message-p)
10877         (eldoc-display-message-no-interference-p):
10878         Support eldoc-post-insert-mode.
10880         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10881         (eval-expression): Run it.
10883 2013-03-17  Roland Winkler  <winkler@gnu.org>
10885         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10886         strings in the list of return values.
10888 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10890         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10891         radix before checking for HMS forms.
10893 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10895         * progmodes/scheme.el: Add indentation and font-locking for λ.
10896         (Bug#13975)
10898 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10900         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10901         token before point (bug#13942).
10903 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10905         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10907 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10909         * startup.el (command-line-normalize-file-name): Fix handling of
10910         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10911         <xfq.free@gmail.com> in
10912         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10914 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10916         Sync with Tramp 2.2.7.
10918         * net/trampver.el: Update release number.
10920 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10922         * doc-view.el: Fix bug#13887.
10923         (doc-view-insert-image): Don't modify overlay associated to
10924         non-live windows, and implement horizontal centering of image in
10925         case it's smaller than the window.
10926         (doc-view-new-window-function): Force redisplay of new windows on
10927         doc-view buffers.
10929 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10931         * saveplace.el (save-place-alist-to-file): Don't sort
10932         `save-place-alist', just pretty-print it (bug#13882).
10934 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10936         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10937         Check whether `default-file-name-coding-system' is bound.
10938         It isn't in XEmacs.
10940 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10942         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10943         backquotes for `obsolete' (bug#13929).
10945         * international/mule.el (find-auto-coding): Include file name in
10946         obsolescence warning (bug#13922).
10948 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
10950         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10951         for CFEngine 3-specific indentation.
10952         (cfengine3-indent-line): Use it.  Fix up category regex.
10953         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10955 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10957         * type-break.el (type-break-file-name):
10958         * textmodes/remember.el (remember-data-file):
10959         * strokes.el (strokes-file):
10960         * shadowfile.el (shadow-initialize):
10961         * saveplace.el (save-place-file):
10962         * ps-bdf.el (bdf-cache-file):
10963         * progmodes/idlwave.el (idlwave-config-directory):
10964         * net/quickurl.el (quickurl-url-file):
10965         * international/kkc.el (kkc-init-file-name):
10966         * ido.el (ido-save-directory-list-file):
10967         * emulation/viper.el (viper-custom-file-name):
10968         * emulation/vip.el (vip-startup-file):
10969         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10970         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10972 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
10974         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10975         * language/thai-word.el: Switch to UTF-8.
10977 See ChangeLog.16 for earlier changes.
10979 ;; Local Variables:
10980 ;; coding: utf-8
10981 ;; End:
10983   Copyright (C) 2011-2013 Free Software Foundation, Inc.
10985   This file is part of GNU Emacs.
10987   GNU Emacs is free software: you can redistribute it and/or modify
10988   it under the terms of the GNU General Public License as published by
10989   the Free Software Foundation, either version 3 of the License, or
10990   (at your option) any later version.
10992   GNU Emacs is distributed in the hope that it will be useful,
10993   but WITHOUT ANY WARRANTY; without even the implied warranty of
10994   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10995   GNU General Public License for more details.
10997   You should have received a copy of the GNU General Public License
10998   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.