* progmodes/compile.el (compile-goto-error): Do not push-mark.
[emacs/old-mirror.git] / lisp / ChangeLog
blob7eb60f172195091360501920848f2bc1e59b9209
1 2013-12-16  Leo Liu  <sdl.web@gmail.com>
3         * progmodes/compile.el (compile-goto-error): Do not push-mark.
4         Remove NOMSG arg and all uses changed.
6 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
9         (cua--deactivate-rectangle): Don't deactivate the mark.
10         (cua-set-rectangle-mark): Don't set mark-active since
11         cua--activate-rectangle already does it for us.
12         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13         non-rectangular region.
15         * emulation/cua-base.el (cua-repeat-replace-region):
16         Use with-current-buffer.
18         * net/gnutls.el: Use cl-lib.
19         (gnutls-negotiate): `mapcan' -> cl-mapcan.
21 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
23         * emacs-lisp/package.el (package-built-in-p): Support both
24         built-in and the package.el converted package descriptions.
25         (package-show-package-list): Allow keywords.
26         (package-keyword-button-action): Use it instead of
27         `finder-list-matches'.
28         (package-menu-filter-interactive): Interactive filtering (by
29         keyword) function.
30         (package-menu--generate): Support keywords and change keymappings
31         and headers when they are given.
32         (package--has-keyword-p): Helper function.
33         (package-menu--refresh): Use it.
34         (package--mapc): Helper function.
35         (package-all-keywords): Use it.
36         (package-menu-mode-map): Set up menu items and keybindings to
37         provide a filtering UI.
39 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
41         * net/gnutls.el (gnutls-verify-error): New defcustom to control
42         the behavior when a certificate fails validation.  Defaults to
43         old behavior: never abort, just warn.
44         (gnutls-negotiate): Use it.
46 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
48         * window.el (display-buffer-below-selected): Never split window
49         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
51 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
53         * emacs-lisp/package.el (package--prepare-dependencies): New function.
54         (package-buffer-info): Use it (bug#15108).
56         * icomplete.el (icomplete-completions): Make sure the prefix is already
57         displayed elsewhere before hiding it.
59 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
61         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
62         open-paren tokens when preceded by a open-paren, too.
63         (ruby-smie-rules): Handle virtual indentation after open-paren
64         tokens specially.  If there is code between it and eol, return the
65         column where is starts (Bug#16118).
67 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
69         * progmodes/cfengine.el: Fix `add-hook' doc.
70         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
71         (cfengine3--current-word): Fix parameters.
72         (cfengine3-make-syntax-cache): Simplify further.
73         (cfengine3-completion-function, cfengine3--current-function):
74         Use `assq' for symbols.
75         (cfengine3--current-function): Fix `cfengine3--current-word' call.
77 2013-12-13  Glenn Morris  <rgm@gnu.org>
79         * loadup.el (load-path): Warn if site-load or site-init changes it.
80         No more need to reset it when bootstrapping.
82 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
84         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
85         locations for cf-promises.
86         (cfengine-mode-syntax-functions-regex): New caching variable.
87         (cfengine3-fallback-syntax): Fallback syntax for cases where
88         cf-promises doesn't run.
89         (cfengine3--current-word): Reimplement using
90         `cfengine-mode-syntax-functions-regex'.
91         (cfengine3-completion-function, cfengine3--current-function):
92         Use `cfengine3-make-syntax-cache' directly.
93         (cfengine3-clear-syntax-cache): New function.
94         (cfengine3-make-syntax-cache): Simplify and create
95         `cfengine-mode-syntax-functions-regex' on demand.
96         (cfengine3-format-function-docstring): Don't call
97         `cfengine3-make-syntax-cache' explicitly.
99 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
101         Fix windmove-find-other-window broken after pixelwise resizing
102         (Bug#16017).
103         * windmove.el (windmove-other-window-loc): Revert change from
104         2013-12-04.
105         (windmove-find-other-window): Call window-in-direction.
106         * window.el (window-in-direction): New arguments SIGN, WRAP and
107         MINI to emulate original windmove-find-other-window behavior.
109 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
111         * simple.el (blink-matching--overlay): New variable.
112         (blink-matching-open): Instead of moving point, highlight the
113         matching paren with an overlay
114         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
116         * faces.el (paren-showing-faces, show-paren-match)
117         (show-paren-mismatch): Move from paren.el.
119 2013-12-13  Leo Liu  <sdl.web@gmail.com>
121         * indent.el (indent-region): Disable progress reporter in
122         minibuffer.  (Bug#16108)
124         * bindings.el (visual-order-cursor-movement): Fix version.
126 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
128         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
129         Also match after beginning of line.
130         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
131         files.  Thanks to Russell Sim. (Bug#15378)
133 2013-12-13  Juri Linkov  <juri@jurta.org>
135         * simple.el <Keypad support>: Remove key bindings duplicated
136         with bindings.el.  (Bug#14397)
138 2013-12-13  Juri Linkov  <juri@jurta.org>
140         * comint.el (comint-mode-map): Replace `delete-char' with
141         `delete-forward-char'.  (Bug#16109)
143 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
145         * progmodes/python.el (python-indent-calculate-indentation):
146         Fix de-denters cornercase. (Bug#15731)
148 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
150         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
151         (advice--make): Pay attention to `depth'.
152         (advice--make-1): Don't autoload commands eagerly.
153         * emacs-lisp/elp.el (elp-instrument-function):
154         * emacs-lisp/trace.el (trace-function-internal):
155         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
157         * iswitchb.el (iswitchb-mode): Don't belittle ido.
159 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
161         * term/w32-win.el (w32-handle-dropped-file):
162         * startup.el (normal-top-level):
163         * net/browse-url.el (browse-url-file-url):
164         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
165         decode file names using 'utf-8' rather than
166         file-name-coding-system.
168 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
170         * progmodes/python.el (python-indent-context)
171         (python-indent-calculate-indentation): Fix auto-identation
172         behavior for comment blocks. (Bug#15916)
174 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
176         * progmodes/python.el (python-indent-calculate-indentation):
177         When determining indentation, don't treat "return", "pass", etc., as
178         operators when they are just string constituents.  (Bug#15812)
180 2013-12-12  Juri Linkov  <juri@jurta.org>
182         * uniquify.el (uniquify-buffer-name-style): Change default to
183         `post-forward-angle-brackets'.
185         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
186         `uniquify'.  Change default to `post-forward-angle-brackets'.
188 2013-12-11  Glenn Morris  <rgm@gnu.org>
190         * emacs-lisp/package.el (finder-list-matches):
191         Autoload rather than falsely declaring.
193 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
195         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
196         (eww-mode-map): Use them.
198 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
200         * window.el (display-buffer-in-side-window): Fix doc-string
201         (Bug#16115).
203 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
205         * vc/vc-git.el: Silence byte-compiler warnings.
206         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
207         (log-edit-set-header): Declare.
209 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
211         * Makefile.in (custom-deps, finder-data): Run output file names
212         through unmsys--file-name.  (Bug#16099)
214 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
216         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
217         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
219         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
220         instead of deleting the selection "by hand" (bug#16098).
221         Rely on insert-for-yank to yank rectangles.
222         (cua-highlight-region-shift-only): Mark obsolete.
223         (cua-mode): Don't enable/disable transient-mark-mode,
224         shift-select-mode (cua-mode works both with and without them), and
225         pc-selection-mode (obsolete).
226         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
227         (cua--deactivate-rectangle): Deactivate it.
229         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
230         (delete-selection-helper): Make sure yank starts at the top of the
231         deleted region.
232         (minibuffer-keyboard-quit): Use region-active-p.
234         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
236         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
237         to `delete' (bug#16109).
239 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
241         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
242         info manual and show keybindings and set `:group' keyword.
244 2013-12-11  Juri Linkov  <juri@jurta.org>
246         * delsel.el (delete-active-region): Let-bind `this-command'
247         to prevent `kill-region' from changing its original value.
248         (delete-selection-helper): Handle `overwrite-mode' for the type
249         `kill' exactly the same way as for the type `t'.
250         (insert-char, quoted-insert, reindent-then-newline-and-indent):
251         Support more commands.  (Bug#13312)
253 2013-12-11  Juri Linkov  <juri@jurta.org>
255         * bindings.el: Map kp keys to non-kp keys systematically
256         with basic modifiers control, meta and shift.  (Bug#14397)
258 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
260         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
261         "Close browser" menu items.  Fix wrong function of "List
262         bookmarks".
264 2013-12-11  Juri Linkov  <juri@jurta.org>
266         * misearch.el (multi-isearch-buffers): Set the value of
267         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
268         arg of isearch-forward to t.
269         (multi-isearch-buffers-regexp): Set the value of
270         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
271         arg of isearch-forward-regexp to t.
272         (multi-isearch-files): Set the value of
273         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
274         arg of isearch-forward to t.
275         (multi-isearch-files-regexp): Set the value of
276         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
277         arg of isearch-forward-regexp to t.  (Bug#16035)
279         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
280         arg of isearch-forward to t.
281         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
282         arg of isearch-forward-regexp to t.
283         (dired-isearch-filter-filenames): Remove unnecessary check for
284         `dired-isearch-filenames'.
286         * comint.el (comint-history-isearch-backward):
287         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
288         (comint-history-isearch-backward-regexp):
289         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
291 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
293         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
294         unmsys--file-name.  (Bug#16099)
296 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
298         * emacs-lisp/package.el (package-keyword-button-action):
299         Remove finder.el require dependency.
301 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
303         * emacs-lisp/package.el: Require finder.el.
304         (describe-package-1): Add keyword buttons.
305         (package-make-button): New convenience function.
306         (package-keyword-button-action): Keyword button action using
307         `finder-list-matches'
309 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
311         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
312         last commit.
314 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
316         * autorevert.el (auto-revert-notify-add-watch): Do not handle
317         symlinked files.
319 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
321         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
322         after the end of a percent literal.
324 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
326         * progmodes/ruby-mode.el (ruby-forward-string): Document.
327         Handle caret-delimited strings (Bug#16079).
329 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
331         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
332         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
333         `ruby-parse-partial' (Bug#16078).
335 2013-12-09  Leo Liu  <sdl.web@gmail.com>
337         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
339 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
341         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
342         (js-switch-indent-offset): New option.
343         (js--proper-indentation): Use it.  And handle the case when
344         "default" is actually a key in an object literal.
345         (js--same-line): New function.
346         (js--multi-line-declaration-indentation): Use it.
347         (js--indent-in-array-comp, js--array-comp-indentation):
348         New functions.
349         (js--proper-indentation): Use them, to handle array comprehension
350         continuations.
352 2013-12-08  Leo Liu  <sdl.web@gmail.com>
354         * progmodes/flymake.el (flymake-highlight-line): Re-write.
355         (flymake-make-overlay): Remove arg MOUSE-FACE.
356         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
358 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
360         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
361         New function.
362         (redisplay-highlight-region-function): Use it.
364         * emulation/cua-base.el (cua--explicit-region-start)
365         (cua--last-region-shifted): Remove.
366         (cua--deactivate): Use deactivate-mark.
367         (cua--pre-command-handler-1): Don't handle shift-selection.
368         (cua--post-command-handler-1): Don't change transient-mark-mode.
369         (cua--select-keymaps): Use region-active-p rather than
370         cua--explicit-region-start or cua--last-region-shifted.
371         (cua-mode): Enable shift-select-mode.
373 2013-12-08  Leo Liu  <sdl.web@gmail.com>
375         * progmodes/flymake.el (flymake-popup-current-error-menu):
376         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
377         (flymake-posn-at-point-as-event, flymake-popup-menu)
378         (flymake-make-emacs-menu): Remove.  (Bug#16077)
380 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
382         * rect.el (rectangle-mark-mode): Activate mark even if
383         transient-mark-mode is off (bug#16066).
384         (rectangle--highlight-for-redisplay): Fix boundary condition when point
385         is > mark and at bolp.
387         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
388         (region-extract-function): Use it.
389         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
390         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
391         Delete functions.
392         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
393         kill-ring-save, kill-region, delete-char, delete-forward-char.
394         Ignore self-insert-iso.
396         * emulation/cua-gmrk.el (cua--init-global-mark):
397         Ignore `self-insert-iso'.
399         * emulation/cua-base.el (cua--prefix-copy-handler)
400         (cua--prefix-cut-handler): Rely on region-extract-function rather than
401         checking cua--rectangle.
402         (cua-delete-region): Use region-extract-function.
403         (cua-replace-region): Delete function.
404         (cua-copy-region, cua-cut-region): Obey region-extract-function.
405         (cua--pre-command-handler-1): Don't do the delete-selection thing.
406         (cua--self-insert-char-p): Ignore `self-insert-iso'.
407         (cua--init-keymaps): Don't remap delete-selection commands.
408         (cua-mode): Use delete-selection-mode instead of rolling our own
409         (bug#16085).
411         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
412         Obey region-extract-function.
414         Make registers and delete-selection-mode work on rectangles.
415         * register.el (describe-register-1): Don't modify the register's value.
416         (copy-to-register): Obey region-extract-function.
417         * delsel.el (delete-active-region): Obey region-extract-function.
419 2013-12-08  Leo Liu  <sdl.web@gmail.com>
421         * progmodes/flymake.el (flymake, flymake-error-bitmap)
422         (flymake-warning-bitmap, flymake-fringe-indicator-position)
423         (flymake-compilation-prevents-syntax-check)
424         (flymake-start-syntax-check-on-newline)
425         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
426         (flymake-start-syntax-check-on-find-file, flymake-log-level)
427         (flymake-xml-program, flymake-master-file-dirs)
428         (flymake-master-file-count-limit)
429         (flymake-allowed-file-name-masks): Relocate.
430         (flymake-makehash, flymake-float-time)
431         (flymake-replace-regexp-in-string, flymake-split-string)
432         (flymake-get-temp-dir): Remove.
433         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
434         (flymake-current-row, flymake-selected-frame)
435         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
436         related functions.  (Bug#16077)
438 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
440         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
442 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
444         * help-fns.el (describe-function-1): Use new advice-* functions
445         rather than old ad-* functions.  Fix function type description and
446         source links for advised functions and subrs.
448 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
450         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
452 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
454         * progmodes/compile.el (compilation-start):
455         * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
457         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
458         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
460 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
462         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
463         Touch up the last change.
465 2013-12-06  Leo Liu  <sdl.web@gmail.com>
467         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
468         (inferior-octave-startup): Always use "octave> " for prompt.
469         (octave-goto-function-definition)
470         (octave-sync-function-file-names)
471         (octave-find-definition-default-filename): Remove redundant backquotes.
473 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
475         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
476         syntax for `?'.
477         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
478         where appropriate already.
479         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
480         end of method names (Bug#15874).
482 2013-12-06  Juri Linkov  <juri@jurta.org>
484         * isearch.el (isearch--saved-overriding-local-map):
485         New internal variable.
486         (isearch-mode): Set it to the initial value of
487         `overriding-terminal-local-map'.
488         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
489         with `isearch--saved-overriding-local-map'.  (Bug#16035)
491 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
493         * progmodes/octave.el (inferior-octave-completion-table):
494         Turn back into function, use `completion-table-with-cache'
495         (Bug#11906).  Update all references.
497         * minibuffer.el (completion-table-with-cache): New function.
499 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
501         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
503 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
505         * net/eww.el (eww-current-source): New variable to store page
506         source.
507         (eww-display-html, eww-mode, eww-save-history)
508         (eww-restore-history): Use it.
509         (eww-view-source): New command to view page source.
510         Opportunistically uses `html-mode' to highlight the buffer.
511         (eww-mode-map): Install it.
513 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
515         * net/dbus.el (dbus-unregister-service)
516         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
517         Fix docstring.
518         (dbus-unregister-service): Skip :serial entries in
519         `dbus-registered-objects-table'.
520         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
522 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
524         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
525         around keywords with extra `split-string' argument.
527 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
529         * windmove.el (windmove-other-window-loc): Handle navigation
530         between windows (excluding the minibuffer window - Bug#16017).
532 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
534         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
535         in D-Bus type syntax.
536         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
537         preserve unibyte strings.  (Bug#16048)
539 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
541         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
542         Call force-mode-line-update is the proper buffer (bug#16042).
544 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
546         * vc/log-edit.el (log-edit-add-new-comment): Rename to
547         `log-edit-remember-comment', make argument optional.  Adjust all
548         callers.
549         (log-edit-mode): Add `log-edit-remember-comment' to
550         `kill-buffer-hook' locally.
551         (log-edit-kill-buffer): Don't remember comment explicitly since
552         the buffer is killed anyway.
554 2013-12-04  Juri Linkov  <juri@jurta.org>
556         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
557         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
559 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
561         * notifications.el (notifications-close-notification): Call the
562         D-Bus method with ID being a `:uint32'.  (Bug#16030)
564 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
566         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
568 2013-12-03  Juri Linkov  <juri@jurta.org>
570         * progmodes/compile.el (compilation-start): Rename window alist
571         entry `no-display-ok' to `allow-no-window'.
573         * simple.el (shell-command): Add window alist entry
574         `allow-no-window' to `display-buffer'.
575         (async-shell-command): Doc fix.
577         * window.el (display-buffer-no-window): New action function.
578         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
580 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
582         * vc/log-edit.el (log-edit-set-header): Extract from
583         `log-edit-toggle-header'.
584         (log-edit-extract-headers): Separate the summary, when extracted
585         from header, from the rest of the message with an empty line.
587         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
588         line, if present, to the Summary header.
590 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
592         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
593         in current-buffer (bug#16029).
595 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
597         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
598         (debugger-mode-map): Bind it.
599         (debugger--backtrace-base): New function.
600         (debugger-eval-expression): Use it.
601         (debugger-frame-number): Skip local vars when present.
602         (debugger--locals-visible-p, debugger--insert-locals)
603         (debugger--show-locals, debugger--hide-locals): New functions.
605 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
607         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
608         "LC_ALL".
609         (tramp-get-remote-locale): New defun.
610         (tramp-open-connection-setup-interactive-shell): Use it.
612 2013-12-02  Leo Liu  <sdl.web@gmail.com>
614         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
616         * progmodes/sh-script.el (sh-shell-process):
617         * progmodes/octave.el (inferior-octave-process-live-p):
618         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
619         (gdb-inferior-io-sentinel):
620         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
622 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
624         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
625         `save-selected-window' to `log-edit-hide-buf'.  This makes
626         `log-edit-show-files' idempotent.
627         (log-edit-show-files): Mark the new window as dedicated.
629 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
631         * vc/log-edit.el (log-edit-mode-map): Add binding for
632         `log-edit-kill-biffer'.
633         (log-edit-hide-buf): Add a FIXME comment.
634         (log-edit-add-new-comment): New function, extracted from
635         `log-edit-done'.
636         (log-edit-done, log-edit-add-to-changelog): Use it.
637         (log-edit-kill-buffer): New command.
639 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
641         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
642         instead of killing the buffer.
644 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
646         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
648 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
650         * net/eww.el (eww-form-checkbox-selected-symbol)
651         (eww-form-checkbox-symbol): New customizable variable.
652         (eww-form-checkbox, eww-toggle-checkbox):
653         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
655         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
656         (shr--get-media-pref, shr--extract-best-source): New function.
657         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
658         no :src tag was specified.
660         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
661         (eww-render): Handle `eww-use-external-browser-for-content-type'.
662         Use \\` to match beginning of string instead of ^.
663         (eww-browse-with-external-browser): Provide optional URL parameter.
664         (eww-render): Set `eww-current-title' back to "".
666         * net/shr.el (shr-tag-video): Display content for video if no
667         poster is available.
668         (shr-tag-audio): Add support for <audio> tag.
670         * net/eww.el (eww-text-input-types): : New const.
671         (eww-process-text-input): Treat input types in
672         `eww-text-input-types' as text.
674         * net/shr.el (shr-tag-table): Fix comment typo.
676 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678         * net/eww.el (eww-follow-link): New command to avoid reloading
679         pages when we follow #target links (bug#15243).
680         (eww-quit): Special mode buffers shouldn't query before exiting.
682 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
684         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
685         forms.
687 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
689         * net/eww.el (eww-restore-history): Update the window title after
690         moving in the history.
691         (eww-current-dom): New variable used to save the current DOM.
693 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
695         * vc/log-edit.el (log-edit-mode-map): Add binding for
696         `log-edit-beginning-of-line'.
697         (log-edit-setup-add-author): New user option.
698         (log-edit-beginning-of-line): New command.
699         (log-edit): Move major mode call above the contents setup so that
700         the local variable values are already applied.
701         (log-edit): Only insert "Author: " when
702         `log-edit-setup-add-author' is non-nil.
703         (log-edit): When SETUP is non-nil, position point after ": "
704         instead of point-min.
706 2013-12-01  Glenn Morris  <rgm@gnu.org>
708         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
710 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
712         * startup.el (fancy-splash-frame): On MS-Windows, trigger
713         redisplay to make sure the initial frame gets a chance to become
714         visible.  (Bug#16014)
716 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
718         Support resizing frames and windows pixelwise.
719         * cus-start.el (frame-resize-pixelwise)
720         (window-resize-pixelwise): New entries.
721         * emacs-lisp/debug.el (debug): Use window-total-height instead
722         of window-total-size.
723         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
724         * help.el (describe-bindings-internal): Call help-buffer
725         (temp-buffer-max-width): New option.
726         (resize-temp-buffer-window, help-window-setup)
727         (with-help-window): Rewrite.
728         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
729         dragging dividers.
730         * window.el (frame-char-size, window-min-pixel-height)
731         (window-safe-min-pixel-height, window-safe-min-pixel-width)
732         (window-min-pixel-width, window-safe-min-pixel-size)
733         (window-combination-p, window-safe-min-size)
734         (window-resizable-p, window--size-to-pixel)
735         (window--pixel-to-size, window--resize-apply-p): New functions.
736         (window-safe-min-height): Fix doc-string.
737         (window-size, window-min-size, window--min-size-1)
738         (window-sizable, window-sizable-p, window--min-delta-1)
739         (window-min-delta, window--max-delta-1, window-max-delta)
740         (window--resizable, window--resizable-p, window-resizable)
741         (window-full-height-p, window-full-width-p, window-at-side-p)
742         (window--in-direction-2, window-in-direction)
743         (window--resize-reset-1, window--resize-mini-window)
744         (window-resize, window-resize-no-error)
745         (window--resize-child-windows-normal)
746         (window--resize-child-windows, window--resize-siblings)
747         (window--resize-this-window, window--resize-root-window)
748         (window--resize-root-window-vertically)
749         (adjust-window-trailing-edge, enlarge-window, shrink-window)
750         (maximize-window, minimize-window, delete-window)
751         (quit-restore-window, window-split-min-size, split-window)
752         (balance-windows-2, balance-windows)
753         (balance-windows-area-adjust, balance-windows-area)
754         (window--state-get-1, window-state-get, window--state-put-1)
755         (window--state-put-2, window-state-put)
756         (display-buffer-record-window, window--display-buffer):
757         Make functions handle pixelwise sizing of windows.
758         (display-buffer--action-function-custom-type)
759         (display-buffer-fallback-action):
760         Add display-buffer-in-previous-window.
761         (display-buffer-use-some-window): Resize window to height it had
762         before.
763         (fit-window-to-buffer-horizontally): New option.
764         (fit-frame-to-buffer): Describe new values.
765         (fit-frame-to-buffer-bottom-margin): Replace with
766         fit-frame-to-buffer-margins.
767         (window--sanitize-margin): New function.
768         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
769         using window-text-pixel-size.
771 2013-11-30  Glenn Morris  <rgm@gnu.org>
773         * emacs-lisp/bytecomp.el (byte-compile-form):
774         Make the `interactive-only' warning like the `obsolete' one.
775         * comint.el (comint-run):
776         * files.el (insert-file-literally, insert-file):
777         * replace.el (replace-string, replace-regexp):
778         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
779         (goto-line, insert-buffer, next-line, previous-line):
780         Tweak `interactive-only' spec.
782         Stop keeping (most) generated cedet grammar files in the repository.
783         * Makefile.in (semantic): New.
784         (compile-main): Depend on semantic.
786 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
788         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
789         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
791         * uniquify.el (uniquify-buffer-name-style): Change default.
793         * loadup.el: Preload "uniquify".
795         * time.el (display-time-update): Update all mode lines (bug#15999).
797         * electric.el (electric-indent-mode): Enable by default.
798         * loadup.el: Preload "electric".
800 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
802         * emacs-lisp/helpers.el (string-empty-p): New function.
803         (string-blank-p): New function.
805 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
807         * imenu.el (imenu--index-alist): Add missing dot to the docstring
808         (Bug#14029).
810 2013-11-29  Andreas Politz  <politza@fh-trier.de>
811         * imenu.el (imenu--subalist-p): Don't error on non-conses and
812         allow non-lambda lists as functions.
813         (imenu--in-alist): Don't recurse into non-subalists.
814         (imenu): Don't pass function itself as an argument (Bug#14029).
816 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
818         * progmodes/python.el (python-mode-map): Remove binding for ":".
819         (python-indent-electric-colon): Remove command.
820         (python-indent-post-self-insert-function): Integrate the previous code
821         of python-indent-electric-colon.  Make it conditional on
822         electric-indent-mode.
823         (python-mode): Add ?: to electric-indent-chars.
824         Move python-indent-post-self-insert-function to the end of
825         post-self-insert-hook.
827 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
829         * doc-view.el (doc-view-goto-page): Update mode-line.
831         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
833 2013-11-27  Glenn Morris  <rgm@gnu.org>
835         * international/charprop.el, international/uni-bidi.el:
836         * international/uni-category.el, international/uni-combining.el:
837         * international/uni-comment.el, international/uni-decimal.el:
838         * international/uni-decomposition.el, international/uni-digit.el:
839         * international/uni-lowercase.el, international/uni-mirrored.el:
840         * international/uni-name.el, international/uni-numeric.el:
841         * international/uni-old-name.el, international/uni-titlecase.el:
842         * international/uni-uppercase.el:
843         Remove generated files from VCS repository.
845 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
847         * filenotify.el (file-notify-add-watch): Don't special-case
848         w32notify when computing the directory to watch.
850 2013-11-27  Glenn Morris  <rgm@gnu.org>
852         Make bootstrap without generated uni-*.el files possible again.
853         * loadup.el: Update command-line-args checking for unidata-gen.
854         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
855         * composite.el, international/characters.el:
856         Handle unicode tables being undefined.
858         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
859         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
860         (compile-main): Depend on leim rule.
861         (leim): New rule.
862         * loadup.el: Move leim-list.el to leim/ subdirectory.
863         * startup.el (normal-top-level): No more leim directory.
864         * international/ja-dic-cnv.el (skkdic-convert):
865         Disable version-control and autoloads in output files.
866         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
867         Disable version-control and autoloads in output files.
868         * leim/quail: Move here from ../leim.
869         * leim/quail/hangul.el (hangul-input-method-activate):
870         Add autoload cookie.
871         (generated-autoload-load-name): Set file-local value.
872         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
873         (generated-autoload-load-name): Set file-local value.
875 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
877         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
878         (eww-add-bookmark): ask confirmation when add to bookmarks
879         (eww-quit): ask confirmation before quitting eww
881 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
883         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
884         reading output from Diff on MS-Windows and MS-DOS.
886 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
888         * emacs-lisp/helpers.el (string-reverse): New function.
890 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
892         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
893         names on MS Windows, like "/[::1]:".
895         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
896         SWITCHES.
898 2013-11-26  Glenn Morris  <rgm@gnu.org>
900         * progmodes/python.el (python-indent-guess-indent-offset):
901         Avoid corner-case error.  (Bug#15975)
903         Preload leim-list.el.  (Bug#4789)
904         * loadup.el: Load leim-list.el when found.
905         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
907 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
909         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
911         * emacs-lisp/helpers.el (string-join): New function.
913 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
915         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
916         Mark as obsolete and replace it with a symbol property.
917         (byte-compile-form): Use new 'interactive-only property.
918         * comint.el, files.el, replace.el, simple.el:
919         Apply new 'interactive-only properly.
921 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
923         * window.el (display-buffer-at-bottom): Make sure that
924         split-window-sensibly creates the new window on bottom
925         (Bug#15961).
927 2013-11-23  David Kastrup  <dak@gnu.org>
929         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
930         on the conflict markers when available.
931         (smerge--get-marker): New function.
932         (smerge-end-re, smerge-base-re): Add subgroup.
934 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
936         * frame.el (handle-focus-in, handle-focus-out): Add missing
937         interactive spec.
939 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
941         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
942         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
944 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
946         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
947         (gomoku--last-pos): New var.
948         (gomoku--intangible-chars): New const.
949         (gomoku--intangible): New function.
950         (gomoku-mode): Use it.  Derive from special-mode.
951         (gomoku-move-up): Adjust line count.
952         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
953         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
954         Simplify accordingly.
956         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
957         Remove blink-cursor code.
958         (blink-cursor-timer-function, blink-cursor-suspend):
959         Don't special-case GUIs.
960         (blink-cursor-mode): Use focus-in/out-hook.
962 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
964         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
965         work when annotation is invisible (Bug#13886).
967 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
969         * json.el (json-alist-p): Only return non-nil if the alist has
970         simple keys (Bug#13518).
972 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
974         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
975         when control-statement is the first statement in a buffer (Bug#15956).
977 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
979         * imenu.el (imenu-generic-skip-comments-and-strings):
980         New option (Bug#15560).
981         (imenu--generic-function): Use it.
983 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
985         * minibuffer.el (completion--in-region-1): Scroll the correct
986         window. (Bug#13898)
988 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
990         * emacs-lisp/helpers.el: Add some string helpers.
991         (string-trim-left): Removes leading whitespace.
992         (string-trim-right): Removes trailing whitespace.
993         (string-trim): Removes leading and trailing whitespace.
995         * subr.el (string-suffix-p): New function.
997 2013-11-23  Glenn Morris  <rgm@gnu.org>
999         * progmodes/python.el (python-shell-send-file):
1000         Add option to delete file when done.  (Bug#15647)
1001         (python-shell-send-string, python-shell-send-region): Use it.
1003 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1005         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1006         to set buffer-read-only to t, never to nil.  (Bug#15938)
1008         * textmodes/tex-mode.el (latex-noindent-environments):
1009         Add safe-local-variable property.  (Bug#15936)
1011 2013-11-23  Glenn Morris  <rgm@gnu.org>
1013         * textmodes/enriched.el (enriched-mode): Doc fix.
1014         * emacs-lisp/authors.el (authors-renamed-files-alist):
1015         Add enriched.doc -> enriched.txt.
1017         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1019 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1021         * progmodes/octave.el (inferior-octave-startup): Spit out error
1022         message.
1024 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1026         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1027         Improve docstring.
1028         Add :version.
1029         (ruby-encoding-magic-comment-style): Add :version.
1031 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1033         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1034         (Bug#15076)
1035         (octave-help-mode): Adapt to change to help-mode-finish to use
1036         derived-mode-p on 2013-09-17.
1037         (inferior-octave-prompt): Also match octave-gui.
1038         (octave-kill-process): Don't ask twice.  (Bug#10564)
1040 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1042         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1043         (inferior-octave-startup, inferior-octave-check-process)
1044         (inferior-octave-track-window-width-change)
1045         (octave-completion-at-point, octave-eldoc-function): Use it.
1046         (octave-kill-process): Provide confirmation.  (Bug#10564)
1048 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1050         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1051         Fix obsolete variable comment-use-global-state.
1053 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1055         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1056         Add `octave-source-file'.
1057         (octave-source-file): New function.  (Bug#15935)
1059 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
1061         * net/eww.el (eww-local-regex): New variable.
1062         (eww): Use it to detect localhost and similar.
1064 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1066         Add completion for command `ag'.
1067         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1068         (pcomplete/ag): New function.
1069         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1071 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1073         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1074         (bug#14646).
1075         (make-obsolete): Remove interactive spec.
1077 2013-11-21  Glenn Morris  <rgm@gnu.org>
1079         * startup.el (command-line-1): Use path-separator with -L.
1081 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1083         * emacs-lisp/package.el (describe-package-1): Add package archive
1084         to shown fields.
1086 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1088         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1089         Change default to "# encoding: %s" to differentiate it from the
1090         default Ruby encoding comment template.
1092 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1094         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1096 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1098         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1100 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1102         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1103         when rebase or bisect are in progress.
1105 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1107         * filenotify.el (file-notify-add-watch): Doc fix.
1109 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1111         * obsolete/rcompile.el: Mark obsolete.
1113         * progmodes/compile.el (compilation-start)
1114         (compilation-goto-locus, compilation-find-file):
1115         Pass no-display-ok and handle nil value from display-buffer.
1116         (Bug#13594)
1118         * window.el (display-buffer-alist, display-buffer): Document the
1119         new parameter no-display-ok.  Return either a window or nil
1120         but never a non-window value.
1122 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         * electric.el (electric-indent-mode-map): Remove.
1125         (electric-indent-mode): Change the global-map instead (bug#15915).
1127         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1128         Use add-function.
1130 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1132         * emacs-lisp/nadvice.el (remove-function): Align with
1133         add-function's behavior.
1135         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1136         (gdb--string-regexp): New constant.
1137         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1138         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1139         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1140         submatch 1.
1141         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1142         Adjust use accordingly.
1143         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1145 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1147         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1148         interpolation curlies (Bug#15914).
1150 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1152         * calc/calc.el (calc-context-sensitive-enter): New variable.
1153         (calc-enter): Use `calc-context-sensitive-enter'.
1155 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1157         * progmodes/cfengine.el: Version bump.
1158         (cfengine-cf-promises): New defcustom to locate cf-promises.
1159         (cfengine3-vartypes): Add new "data" type.
1160         (cfengine3--current-word): New function to get current name-like
1161         word or its bounds.
1162         (cfengine3--current-function): New function to look up a CFEngine
1163         function's definition.
1164         (cfengine3-format-function-docstring): New function.
1165         (cfengine3-make-syntax-cache): New function.
1166         (cfengine3-documentation-function): New function: ElDoc glue.
1167         (cfengine3-completion-function): New function: completion glue.
1168         (cfengine3-mode): Set `compile-command',
1169         `eldoc-documentation-function', and add to
1170         `completion-at-point-functions'.
1172 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1174         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1175         `tramp-current-connection'.
1177 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1179         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1180         nil/self/true/false with "end of symbol".
1182 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1184         * subr.el (version-regexp-alist): Fix a typo.
1186 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1188         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1189         "en_US.utf8" and "LC_CTYPE" to "".
1190         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1191         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1193 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1195         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1197 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1199         * progmodes/gud.el (ctl-x-map):
1200         Remove C-x SPC binding.  (Bug#12342)
1201         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1203 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1205         * subr.el (version-regexp-alist):
1206         Recognize hg, svn and darcs versions as snapshot versions.
1208         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1209         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1210         (ruby--encoding-comment-required-p): Extract from
1211         `ruby-mode-set-encoding'.
1212         (ruby-mode-set-encoding): Add the ability to always insert an
1213         utf-8 encoding comment.  Fix and simplify coding comment update
1214         logic.
1216 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1218         * net/tramp-gvfs.el (top): Run init code only when
1219         `tramp-gvfs-enabled' is not nil.
1220         (tramp-gvfs-enabled): Check also :system bus.
1222 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1224         Sync with upstream verilog-mode revision 78e66ba.
1225         * progmodes/verilog-mode.el (verilog-end-of-defun)
1226         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1227         (verilog-get-end-of-defun): Remove unused argument.
1228         (verilog-comment-depth): Remove unused local `e'.
1229         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1230         Don't pass arg to verilog-get-end-of-defun.
1232 2013-11-14  Glenn Morris  <rgm@gnu.org>
1234         * obsolete/assoc.el (aget): Prefix dynamic variable.
1236         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1238 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * widget.el, hfy-cmap.el: Remove bogus package version number.
1242 2013-11-13  Glenn Morris  <rgm@gnu.org>
1244         * replace.el (replace-eval-replacement):
1245         Try to give more helpful error message.  (Bug#15836)
1247         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1248         (archive-7z-update): Avoid custom type mismatches.
1250         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1252 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1254         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1255         address can be empty.
1257         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1258         Accept nil SWITCHES.
1259         (tramp-gvfs-handle-write-region): Implement APPEND.
1261 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1263         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1264         binary "|" operator and closing block args delimiter.
1265         Remove FIXME comment referring to Ruby 1.8-only syntax.
1266         (ruby-smie--implicit-semi-p): Not after "|" operator.
1267         (ruby-smie--closing-pipe-p): New function.
1268         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1269         (ruby-smie-rules): Indent after "|".
1271 2013-11-12  Glenn Morris  <rgm@gnu.org>
1273         * ps-print.el (ps-face-attribute-list):
1274         Handle anonymous faces.  (Bug#15827)
1276 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1278         * window.el (display-buffer-other-frame): Fix doc-string.
1279         (Bug#15868)
1281 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1283         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1285 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1287         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1288         (tramp-sh-handle-file-local-copy): Don't write a message when
1289         saving temporary files.
1291         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1292         both directories are remote.
1293         (tramp-smb-handle-directory-files): Do not return double entries.
1294         Do not expand full file names.
1295         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1296         (tramp-smb-handle-write-region): Implement APPEND.
1297         (tramp-smb-get-stat-capability): Fix a stupid bug.
1299 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1301         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1303 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1305         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1306         throwing error over malformed let/let* (bug#15814).
1308 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1310         * iswitchb.el (iswitchb-mode): Mark obsolete.
1312 2013-11-11  Glenn Morris  <rgm@gnu.org>
1314         * international/uni-bidi.el, international/uni-category.el:
1315         * international/uni-name.el, international/uni-numeric.el:
1316         Regenerate for Unicode 6.3.0.
1318 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1320         * net/tramp.el (tramp-methods):
1321         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1322         2013-10-29 (r114834).
1324 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1326         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1327         Force highlighting text after Summary keyword in doc face for rpm.
1329 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1331         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1332         available and the word has no wildcards, append one to the grep pattern.
1333         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1334         (ispell-complete-word): Call `ispell-lookup-words' with the value
1335         independent of `ispell-look-p'.
1337 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1339         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1340         Not after "||".
1341         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1342         their parent.
1344 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1346         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1347         (ruby-font-lock-keywords): Use backquote.
1349 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1351         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1352         (ruby-smie--backward-token): Only consider full-string matches.
1354 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1356         * faces.el (describe-face): Add distant-foreground.
1358 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1360         * progmodes/ruby-mode.el: Improve encoding comment handling.
1361         (ruby-encoding-magic-comment-style): New option.
1362         (ruby-custom-encoding-magic-comment-template): New option.
1363         (ruby--insert-coding-comment, ruby--detect-encoding):
1364         New functions extracted from `ruby-mode-set-encoding'.
1365         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1366         to control the style of the auto-inserted encoding comment.
1368 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1370         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1371         Use `smie-backward-sexp' with token argument.
1373 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1375         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1376         Remove instrumentation code.
1378 2013-11-08  Glenn Morris  <rgm@gnu.org>
1380         * progmodes/autoconf.el (autoconf-mode):
1381         Tweak comment-start-skip.  (Bug#15822)
1383 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1385         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1386         at bobp (bug#15826).
1387         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1389 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1391         * man.el (Man-start-calling): New macro, extracted from
1392         Man-getpage-in-background.
1393         (Man-getpage-in-background): Use it.
1394         (Man-update-manpage): New command.
1395         (Man-mode-map): Bind it.
1397 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1399         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1400         of "and", "or", "&&" and "||".
1401         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1402         argument.  Prohibit opening curly brace because it could only be a
1403         block opener in that position.
1404         (ruby-smie--forward-token, ruby-smie--backward-token):
1405         Separate "|" from "&" or "*" going after it.  That can happen in block
1406         arguments.
1407         (ruby-smie--indent-to-stmt): New function, seeks the end of
1408         previous statement or beginning of buffer.
1409         (ruby-smie-rules): Use it.
1410         (ruby-smie-rules): Check if there's a ":" before a curly block
1411         opener candidate; if there is, it's a hash.
1413 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1415         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1416         (cl--block-wrapper): Fix last accidental change.
1418 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1420         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1421         Instrument, in order to hunt failure on hydra.
1423 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1425         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1426         malformed bindings form (bug#15814).
1428 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1430         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1431         "." compared to " @ ".  This incidentally fixes some indentation
1432         examples with "do".
1433         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1434         (ruby-smie-grammar): New tokens: "and" and "or".
1435         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1436         Exclude "and" and "or".  Remove "do" in order to work around token
1437         priorities.
1438         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1439         beginning-of-buffer.
1441 2013-11-06  Glenn Morris  <rgm@gnu.org>
1443         * Makefile.in (setwins_almost, setwins_for_subdirs):
1444         Avoid accidental matches.
1446 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1448         * menu-bar.el (popup-menu): Use key-binding.
1450 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1452         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1453         menus, support also the menus produced by minor modes.
1454         (Bug#15817)
1456 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1458         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1459         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1461 2013-11-06  Glenn Morris  <rgm@gnu.org>
1463         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1464         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1465         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1467 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1469         * electric.el (electric-indent-just-newline): New command.
1470         (electric-indent-mode-map): New keymap.
1471         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1472         Re-add :group which weren't redundant.
1474         * electric.el (electric-indent-local-mode): New minor mode.
1475         (electric-indent-functions-without-reindent): New var.
1476         (electric-indent-post-self-insert-function): Use it.
1477         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1479 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1481         * international/quail.el (quail-help): Be more explicit about the
1482         meaning of the labels shown on the keys.  (Bug#15800)
1484         * startup.el (normal-top-level): Load the subdirs.el files before
1485         setting the locale environment.  (Bug#15805)
1487 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1489         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1490         via arguments so as to get the right ones (bug#15418).
1492         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1494 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1496         Fix problems found while writing a test suite.
1498         * net/tramp-compat.el (tramp-compat-load): New defun.
1499         * net/tramp.el (tramp-handle-load): Use it.
1501         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1502         "(numberp ok-if-already-exists)" correctly.
1504 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1506         * international/characters.el (glyphless-char-display-control):
1507         Add usage note.
1509 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1511         * progmodes/python.el (python-mode):
1512         * progmodes/scheme.el (scheme-mode):
1513         * progmodes/prolog.el (prolog-mode):
1514         * progmodes/ruby-mode.el (ruby-mode):
1515         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1516         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1518 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * rect.el (rectangle--highlight-for-redisplay):
1521         * emacs-lisp/smie.el (smie--next-indent-change):
1522         Use buffer-chars-modified-tick.
1524         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1526         * electric.el (electric-indent-post-self-insert-function):
1527         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1529 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1531         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1533 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1535         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1536         (bug#15786).
1538 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1540         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1542         * progmodes/python.el: Fix up last change.
1543         (python-shell--save-temp-file): New function.
1544         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1545         `string' comes from the current buffer.
1546         (python-shell-send-string-no-output): Remove `msg' arg.
1547         (python--use-fake-loc): New var.
1548         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1549         extra coding line added by python-shell--save-temp-file.
1550         (python-shell-send-region): Use python-shell--save-temp-file and
1551         python-shell-send-file directly.  Add `nomain' argument.
1552         (python-shell-send-buffer): Use python-shell-send-region.
1553         (python-electric-pair-string-delimiter): New function.
1554         (python-mode): Use it.
1556 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1558         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1559         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1560         environment and decoding all of the default-directory's to here
1561         from command-line.
1562         (command-line): Decode also argv[0].
1564         * loadup.el: Error out if default-directory is a multibyte string
1565         when we are dumping.
1567         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1569 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1571         * emacs-lisp/package.el (package-menu-mode)
1572         (package-menu--print-info, package-menu--archive-predicate):
1573         Add Archive column to package list.
1575 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1577         Fix problems found while writing a test suite.
1579         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1580         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1581         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1582         to nil when running original file name handler.  Otherwise,
1583         there are problems with constructs like "$$FOO".
1585         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1586         for `localname'.
1588 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1590         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1592         * subr.el (version<, version<=, version=):
1593         Update docstrings with information for snapshot versions.
1595         * helpers.el: New library for misc helper functions.
1596         (hash-table-keys): New function returning a list of hash keys.
1597         (hash-table-values): New function returning a list of hash values.
1599 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1601         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1602         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1604 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1606         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1607         checking whether point is after a 1-letter word.
1609 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1611         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1612         Don't infloop when expanding region over `multiline' syntax-type that
1613         begins a line (bug#15778).
1615 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1617         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1618         Make it into a proper minor mode.
1619         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1620         (rectangle-mark-mode-map): New keymap.
1621         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1623 2013-11-04  Glenn Morris  <rgm@gnu.org>
1625         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1627 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1629         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1630         (ruby-smie-rules): Use smie-rule-parent instead.
1632         * emacs-lisp/smie.el (smie-rule-parent): Always call
1633         smie-indent-virtual rather than only for hanging tokens.
1634         (smie--next-indent-change): New helper command.
1636 2013-11-03  Glenn Morris  <rgm@gnu.org>
1638         * Makefile.in (abs_srcdir): Remove.
1639         (emacs): Unset EMACSLOADPATH.
1641 2013-11-02  Glenn Morris  <rgm@gnu.org>
1643         * Makefile.in (EMACS): Use a relative filename.
1644         (abs_top_builddir): Remove.
1645         (custom-deps, finder-data, autoloads): Use --chdir.
1647         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1649         Use relative filenames in TAGS files.
1650         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1651         (lisptagsfiles4, TAGS): Use relative file names.
1652         (TAGS-LISP): Remove.
1653         (maintainer-clean): No more TAGS-LISP file.
1655         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1656         (lisptagsfiles4): Use absolute filenames again.
1657         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1658         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1659         (maintainer-clean): Delete TAGS, TAGS-LISP.
1661 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1663         * emacs-lisp/package.el (package-version-join):
1664         Recognize snapshot versions.
1666 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1668         * subr.el (version-regexp-alist): Add support for snapshot versions.
1670 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1672         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1673         New function, replacement for `smie-rule-parent' for when we want to
1674         skip over our direct parent if it's an assignment token..
1675         (ruby-smie-rules): Use it.
1677 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1679         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1680         unconditionally.  Remove now unnecessary forward declarations.
1681         Remove XEmacs-specific setup.
1682         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1683         (ruby-font-lock-syntactic-keywords)
1684         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1685         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1686         (ruby-here-doc-end-syntax): Remove.
1687         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1688         defined as function.
1690 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1692         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1694 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1696         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1697         table and abbrev table, `define-derived-mode' does that for us
1698         anyway.
1700 2013-11-01  Glenn Morris  <rgm@gnu.org>
1702         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1703         files is atomic for some time, so no parallel compilation issues).
1705 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1707         * faces.el (face-x-resources): Add :distant-foreground.
1708         (region): Use :distant-foreground for gtk and ns.
1710 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1712         Allow multiple bibliographies when BibLaTeX is used rather than
1713         BibTeX.
1714         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1715         (reftex-locate-bibliography-files): Us it.
1717 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1719         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1720         allow comments in pbm files.
1722         * term/w32-win.el (dynamic-library-alist): Support newer versions
1723         of libjpeg starting with v7: look only for the DLL from the
1724         version against which Emacs was built.
1725         Support versions of libpng beyond 1.4.x.
1726         Support libtiff v4.x.
1728 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1730         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1731         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1732         Add property :safe.
1733         (ruby-deep-arglist): Add property :type.
1735 2013-10-31  Glenn Morris  <rgm@gnu.org>
1737         * Makefile.in (custom-deps, finder-data): No need to setq the target
1738         variables, we are in the right directory and the defaults work fine.
1740 2013-10-30  Glenn Morris  <rgm@gnu.org>
1742         * Makefile.in (autoloads): Do not use abs_lisp.
1744         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1745         `newline' does not respect `standard-output', so use `princ'.
1747 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1749         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1750         * buff-menu.el (Buffer-menu--unmark): New function.
1751         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1753 2013-10-30  Glenn Morris  <rgm@gnu.org>
1755         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1757         * emacs-lisp/package.el (lm-homepage): Declare.
1759         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1760         Fix doc typos.
1762         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1764         * Makefile.in (finder-data, autoloads, update-subdirs)
1765         (compile-main, compile-clean, compile-always, bootstrap-clean):
1766         Check return value of cd.
1767         (compile-calc): Remove.
1769 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1771         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1773         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1774         (byte-compile-and-folded): New function.
1775         (=, <, >, <=, >=): Use it.
1777         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1778         (path-separator, null-device, buffer-file-coding-system)
1779         (lpr-headers-switches): Check system-type before modifying them.
1780         (find-buffer-file-type-coding-system): Mark obsolete.
1781         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1782         find-file-not-found-set-buffer-file-coding-system.
1783         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1784         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1785         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1786         (w32-direct-print-region-helper, w32-direct-print-region-function)
1787         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1788         * startup.el (normal-top-level-add-subdirs-to-load-path):
1789         * ps-print.el (ps-print-region-function):
1790         * lpr.el (print-region-function): Use new name.
1792         * subr.el (custom-declare-variable-early): Remove function.
1793         (custom-declare-variable-list): Remove var.
1794         (error, user-error): Remove `while' loop.
1795         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1796         (user-emacs-directory-warning, locate-user-emacs-file):
1797         Move to files.el.
1798         * simple.el (read-quoted-char-radix, read-quoted-char):
1799         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1800         Move from subr.el.
1801         * custom.el (custom-declare-variable-list): Don't process
1802         custom-declare-variable-list.
1804         * progmodes/python.el (python-shell-get-buffer): New function.
1805         (python-shell-get-process): Use it.
1806         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1807         Python which encoding was used.  Don't split-string since we only care
1808         about the first line.  Return the temp-file, if applicable.
1809         (python-shell-send-region): Tell compile.el how to turn locations in
1810         the temp-file into locations in the source buffer.
1812 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1814         * subr.el (undefined): Add missing behavior from the C code for
1815         unbound keys.
1817         * rect.el: Use lexical-binding.  Add new rectangular region support.
1818         (rectangle-mark): New command.
1819         (rectangle--region): New var.
1820         (deactivate-mark-hook): Reset rectangle--region.
1821         (rectangle--extract-region, rectangle--insert-for-yank)
1822         (rectangle--highlight-for-redisplay)
1823         (rectangle--unhighlight-for-redisplay): New functions.
1824         (region-extract-function, redisplay-unhighlight-region-function)
1825         (redisplay-highlight-region-function): Use them to handle
1826         rectangular region.
1827         * simple.el (region-extract-function): New var.
1828         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1829         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1830         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1831         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1832         (redisplay-unhighlight-region-function)
1833         (redisplay-highlight-region-function): New vars.
1834         (redisplay--update-region-highlight): New function.
1835         (pre-redisplay-function): Use it.
1836         (exchange-point-and-mark): Don't deactivate the mark before
1837         reactivate-it anyway.
1838         * comint.el (comint-kill-region): Remove yank-handler argument.
1839         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1840         (delete-char): Remove property, since it's now part of their
1841         default behavior.
1842         (self-insert-iso): Remove property since this command doesn't exist.
1844         * emacs-lisp/package.el (package--download-one-archive)
1845         (describe-package-1): Don't query the user about final newline.
1847 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1849         * net/tramp.el (tramp-methods): Document new functionality.
1850         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1851         tramp-hostname-checker if method provides one instead of scanning
1852         argument list for "%h" to decide hostname acceptability.
1854 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1856         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1857         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1858         Handle COPY-CONTENTS.  (Bug#15737)
1860 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1862         * epa-file.el
1863         (epa-file-cache-passphrase-for-symmetric-encryption):
1864         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1866 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1868         * image.el (defimage):
1869         (image-load-path): Doc fixes.
1871 2013-10-27  Alan Mackenzie  <acm@muc.de>
1873         Indent statements in macros following "##" correctly.
1874         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1875         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1877 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1879         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1881 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1883         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1884         after `=' is probably a new expression.
1886 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1888         * man.el (man-imenu-title): New option.
1889         (Man-mode-map): Add menu.  (Bug#15722)
1890         (Man-mode): Add imenu to menu.
1892 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1894         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1895         specific in what the first arg can be: a non-keyword word,
1896         string/regexp/percent literal opener, opening paren, or unary
1897         operator followed directly by word.
1899 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1901         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1902         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1903         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1904         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1905         Remove vars, they do not apply any more.
1906         (prolog-mode-abbrev-table): Remove redundant declaration.
1907         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1908         (prolog-use-smie): Remove.
1909         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1910         supported by prolog-electric-if-then-else-flag.
1911         (prolog-mode-variables, prolog-menu): Use setq-local.
1912         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1913         Remove binding to `Backspace' since this key doesn't exist anyway.
1914         Remove bindings for electric self-inserting keys.
1915         (prog-mode): Assume it's defined.
1916         (prolog-post-self-insert): New function.
1917         (prolog-mode): Use it.
1918         (prolog-indent-line, prolog-indent-level)
1919         (prolog-find-indent-of-matching-paren)
1920         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1921         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1922         (prolog-goto-next-paren, prolog-in-string-or-comment)
1923         (prolog-tokenize, prolog-inside-mline-comment)
1924         (prolog-find-start-of-mline-comment): Remove functions.
1925         (prolog-find-unmatched-paren, prolog-clause-end)
1926         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1927         (prolog-electric--if-then-else): Rename from
1928         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1929         (prolog-tokenize-searchkey): Remove const.
1930         (prolog-clause-info): Use forward-sexp.
1931         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1932         (prolog-electric-if-then-else): Remove commands.
1933         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1934         for use in post-self-insert-hook.
1935         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1936         for use in post-self-insert-hook.
1937         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1938         for use in post-self-insert-hook.
1939         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1940         adapt it for use in post-self-insert-hook.
1942 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1944         * emacs-lisp/ert.el (ert-run-tests-interactively):
1945         Use `completing-read'.  (Bug#9756)
1947 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1949         * simple.el (line-move): Call line-move-1 instead of
1950         line-move-visual when the current window hscroll is zero, but
1951         temporary-goal-column indicates we will need to hscroll as result
1952         of the movement.  (Bug#15712)
1954 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1956         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1957         capitalization.  Use :visible instead of :active.
1958         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1959         commands that are used with SMIE.
1960         (ruby-do-end-to-brace): Insert space after `{'.
1962 2013-10-25  John Anthony  <john@jo.hnanthony.com>
1964         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
1966         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1968 2013-10-25  Glenn Morris  <rgm@gnu.org>
1970         * vc/vc.el (vc-print-log): Don't use a working revision unless
1971         one was explicitly specified.  (Bug#15322)
1973 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1975         * subr.el (add-to-list): Preserve return value in compiler-macro
1976         (bug#15692).
1978 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1980         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1981         result.  Ask user to retry using '-all' flag.  (Bug#15701)
1983 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1985         * emacs-lisp/smie.el: New smie-config system.
1986         (smie-config): New defcustom.
1987         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1988         (smie-config-guess, smie-config-save): New commands.
1989         (smie-config--mode-local, smie-config--buffer-local)
1990         (smie-config--trace, smie-config--modefuns): New vars.
1991         (smie-config--advice, smie-config--mode-hook)
1992         (smie-config--setter, smie-config-local, smie-config--get-trace)
1993         (smie-config--guess-value, smie-config--guess): New functions.
1994         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1995         text properties.  Treat "string fence" syntax like string syntax.
1997         * progmodes/sh-script.el (sh-use-smie): Change default.
1998         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1999         (sh-var-value): Simplify by CSE.
2000         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2001         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2002         is used.
2003         (sh-guess-basic-offset): Use cl-incf.
2004         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2006 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2008         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2009         (bug#15699).
2011 2013-10-24  Glenn Morris  <rgm@gnu.org>
2013         * Makefile.in (abs_top_srcdir): Remove.
2014         (update-subdirs): Use relative path to update-subdirs.
2016 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2018         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2019         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2020         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2021         Call unmsys--file-name before expand-file-name, not after it.
2023 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2025         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2026         (ert-test-skipped): New error.
2027         (ert-skip, ert-stats-skipped): New defuns.
2028         (ert--skip-unless): New macro.
2029         (ert-test-skipped): New struct.
2030         (ert--run-test-debugger, ert-test-result-type-p)
2031         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2032         (ert--stats-set-test-and-result, ert-char-for-test-result)
2033         (ert-string-for-test-result, ert-run-tests-batch)
2034         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2035         Handle skipped tests.  (Bug#9803)
2037 2013-10-24  Glenn Morris  <rgm@gnu.org>
2039         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2041         * Makefile.in (abs_top_srcdir): New, set by configure.
2042         (update-subdirs): Correct build-aux location.
2044 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2046         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2047         value, whether we could auto-deduce `backend', or not.
2049         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2050         with parameters" example.  Simplify the "is it block or is it
2051         hash" check, but also make it more thorough.
2053 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2055         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2057 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2059         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2060         { if it is hanging.
2062         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2063         :before ";".
2065 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2067         * progmodes/compile.el (compilation-directory-matcher)
2068         (compilation-page-delimiter):
2069         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2071 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2073         * ido.el (ido-tidy): Handle read-only text.
2075 2013-10-23  Glenn Morris  <rgm@gnu.org>
2077         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2078         (emacs, compile, compile-always):
2079         Quote entities that might contain whitespace.
2080         (custom-deps, finder-data, autoloads): Use abs_lisp.
2081         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2082         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2083         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2085 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2087         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2088         Use `following-char'.
2090 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2093         * progmodes/ruby-mode.el (ruby-smie-rules):
2094         Remove corresponding workaround.  Fix indentation rule of ";" so it
2095         also applies when ";" is the parent.
2097 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2099         * frame.el (display-screens, display-pixel-height)
2100         (display-pixel-width, display-mm-width, display-backing-store)
2101         (display-save-under, display-planes, display-color-cells)
2102         (display-visual-class, display-monitor-attributes-list):
2103         Mention the optional ‘display’ argument in doc strings.
2105 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2107         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2108         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2110 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2112         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2113         TODO.  Add "." after " @ ".
2114         (ruby-smie--at-dot-call): New function.  Checks if point at method
2115         call with explicit target.
2116         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2117         to the method name tokens when it precedes them.
2118         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2119         (ruby-smie-rules): Add rule for indentation before and after "."
2120         token.
2122 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2124         * textmodes/remember.el (remember-diary-extract-entries):
2125         Avoid add-to-list.
2127         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2128         an instruction.
2130 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2132         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2133         (ruby-smie--implicit-semi-p): Add new operator chars.
2135         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2136         `smie-down-list'.
2137         (ruby-smie--args-separator-p): Check that there's no newline
2138         between method call and its arguments.
2140 2013-10-20  Alan Mackenzie  <acm@muc.de>
2142         Allow comma separated lists after Java "implements".
2144         * progmodes/cc-engine.el (c-backward-over-enum-header):
2145         Parse commas.
2146         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2147         from a "disallowed" list in enum fontification.
2149 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2151         * startup.el (default-frame-background-mode): Remove unused defvar.
2153         * progmodes/verilog-mode.el (verilog-mode): Don't set
2154         comment-indent-function globally.
2156 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2158         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2159         Move Info menu item creation to ns-win.el.
2161         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2162         in menu bar.
2164         * menu-bar.el: Move GNUStep specific menus...
2166         * term/ns-win.el (ns-initialize-window-system): ... to here.
2168 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2170         * simple.el (newline): Only run post-self-insert-hook when
2171         called interactively.
2173 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2175         * icomplete.el (icomplete-with-completion-tables): Add :version.
2177 2013-10-19  Alan Mackenzie  <acm@muc.de>
2179         Fix fontification bugs with constructors and const.
2181         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2182         CASE 2) Remove the check for the absence of a suffix construct
2183         after a function declaration with only types (no identifiers) in
2184         the parentheses.  Also, accept a function declaration with just a
2185         type inside the parentheses, if this type can be positively
2186         recognised as such, or if a prefix keyword like "explicit" nails
2187         down the construct as a declaration.
2189 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2191         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2192         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2193         the problem whereby selecting a menu item that leads to a
2194         minibuffer prompt moves the cursor out of the minibuffer window,
2195         making it hard to type at the prompt.  Suggested by Stefan Monnier
2196         <monnier@iro.umontreal.ca>.
2198 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2200         * menu-bar.el: Don't make Services menu.
2202 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2204         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2205         (ffap-alist): Use ffap-c++-mode for c++-mode.
2206         (ffap-c++-path): New variable.
2207         (ffap-c++-mode): New function.
2209 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2211         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2213 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2215         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2216         introduced on 2013-09-08, which results in an infinite loop
2217         requesting a password.
2219 2013-10-18  Glenn Morris  <rgm@gnu.org>
2221         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2223 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2225         Sync with upstream verilog-mode revision 1a6ecec7.
2226         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2227         (verilog-mode-release-date): Remove.
2228         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2229         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2230         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2231         (verilog-auto-tieoff-ignore-regexp)
2232         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2233         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2234         (verilog-signals-with, verilog-dir-cache-preserving)
2235         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2236         Doc fixes.
2237         (verilog-case-fold): New option, to control case folding in
2238         regexp searches, bug597.
2239         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2240         (verilog-string-match-fold, verilog-in-paren-count)
2241         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2242         (verilog-at-close-struct-p): New functions.
2243         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2244         (verilog-forward-sexp, verilog-set-auto-endcomments):
2245         (verilog-leap-to-case-head): Handle "unique0" case.
2246         (verilog-in-constraint-re): New constant.
2247         (verilog-keywords, verilog-type-font-keywords):
2248         Add some SystemVerilog 1800-2012 keywords.
2249         (verilog-label-be): Remove unimplemented argument, bug669.
2250         (verilog-batch-execute-func): When batch expanding clear
2251         create-lockfiles to prevent spurious user locks when a file ends
2252         up not changing.
2253         (verilog-calculate-indent, verilog-calc-1)
2254         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2255         (verilog-do-indent): Fix indentation of nested constraints
2256         and structures.
2257         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2258         (verilog-auto-inst-param): Use verilog-string-match-fold.
2259         (verilog-read-inst-module-matcher):
2260         Fix AUTOINST on gate primitives with #1.
2261         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2262         Reads all user-defined typed variables.
2263         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2264         (verilog-signals-matching-regexp)
2265         (verilog-signals-not-matching-regexp, verilog-auto):
2266         Respect verilog-case-fold.
2267         (verilog-diff-report): Fix line count.
2268         (verilog-auto-assign-modport): Remove unused local `modi'.
2269         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2270         better handle multidimensional arrays.
2271         Fix packed array ports misadding bit index in AUTOINST, bug637.
2272         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2273         to not double-declare existing outputs and inputs, respectively.
2274         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2275         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2276         (verilog-sk-uvm-component): New skeleton.
2277         (verilog-submit-bug-report): Add verilog-case-fold,
2278         remove verilog-mode-release-date.
2280 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2282         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2283         as before.
2285 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2287         * textmodes/remember.el (remember): set buffer-offer-save in
2288         remember buffers (bug#13566).
2290 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2292         When evaluating forms in ielm, direct standard output to ielm
2293         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2294         whitespace throughout.
2296         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2297         (ielm-return-for-effect): New command.
2298         (ielm-send-input): Accept optional `for-effect' parameter.
2299         (ielm-eval-input): Accept optional `for-effect' parameter.
2300         Bind `standard-output' to stream we create using
2301         `ielm-standard-output-impl'.  Suppress printing result when
2302         `for-effect'.
2303         (ielm-standard-output-impl): New function.
2304         (inferior-emacs-lisp-mode): Explain new features in documentation.
2306 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2308         Code cleanup.
2310         * net/tramp.el (tramp-debug-message): Do not check for connection
2311         buffer.
2312         (tramp-message): Use "vector" connection property.
2314         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2315         (tramp-equal-remote, tramp-eshell-directory-change)
2316         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2317         (tramp-adb-handle-rename-file)
2318         * net/tramp-cmds.el (tramp-list-remote-buffers)
2319         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2320         * net/tramp-compat.el (tramp-compat-process-running-p)
2321         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2322         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2323         (tramp-gvfs-handle-rename-file)
2324         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2325         (tramp-set-file-uid-gid)
2326         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2327         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2328         of `file-remote-p'.
2330         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2331         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2332         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2333         (tramp-gw-open-network-stream): Suppress unrelated traces.
2335         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2336         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2337         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2338         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2339         connection property.
2341         * net/tramp-cache.el (top): Suppress traces when reading
2342         persistency file.
2344         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2345         Refactor common code.  Improve debug message.
2346         (tramp-maybe-open-connection)
2347         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2348         connection buffer too early.
2350         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2351         from `tramp-smb-actions-with-acl'.
2352         (tramp-smb-actions-set-acl): New defconst.
2353         (tramp-smb-handle-copy-directory)
2354         (tramp-smb-action-get-acl): New defun, renamed from
2355         `tramp-smb-action-with-acl'.
2356         (tramp-smb-action-set-acl): New defun.
2357         (tramp-smb-handle-set-file-acl): Rewrite.
2359 2013-10-17  Glenn Morris  <rgm@gnu.org>
2361         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2363 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2365         * skeleton.el (skeleton-newline): Remove.
2366         (skeleton-internal-1): Use (insert "\n") instead.
2368         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2369         let-bindings.
2371         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2372         forward-sexp-function while we redo its job (bug#15613).
2374 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2376         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2377         represented by lists.
2379 2013-10-16  Glenn Morris  <rgm@gnu.org>
2381         * tmm.el (tmm--history): New dynamic variable.
2382         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2384 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2386         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2387         (tramp-smb-errors): Add error messages.
2388         (tramp-smb-actions-with-acl): New defconst.
2389         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2390         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2391         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2392         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2393         (tramp-smb-get-stat-capability): Fix tests.
2395 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2397         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2398         (bug#15580).
2400 2013-10-16  Glenn Morris  <rgm@gnu.org>
2402         * ansi-color.el (ansi-color-drop-regexp):
2403         Add 1J, 1K, 2K.  (Bug#15617)
2405         * files.el (hack-local-variables--warned-lexical): New.
2406         (hack-local-variables):
2407         Warn about misplaced lexical-binding.  (Bug#15616)
2409         * net/eww.el (eww-render): Always set eww-current-url,
2410         and update header line.  (Bug#15622)
2411         (eww-display-html): ... Rather than just doing it here.
2413 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2415         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2416         menu navigations commands.
2418 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2420         * progmodes/subword.el (subword-capitalize): Be careful when
2421         the search for [[:alpha:]] fails (bug#15580).
2423 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2425         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2426         to commands that scroll the menu.
2428 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2430         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2431         Handle methods ending with `?' and `!'.
2433 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2435         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2436         `japanese-cp932' to `cp932' to fix the problem where saving a
2437         source file written in Shift_JIS twice would end up having
2438         `coding: japanese-cp932' which Ruby could not recognize.
2439         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2440         in `ruby-encoding-map'.
2441         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2442         doesn't need to be explicitly declared in magic comment.
2443         (ruby-encoding-map): Add type declaration for better customize UI.
2445 2013-10-13  Glenn Morris  <rgm@gnu.org>
2447         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2448         Occur buffers are read-only.  http://bugs.debian.org/720775
2450         * emacs-lisp/authors.el (authors-fixed-entries):
2451         Comment out old alpha stuff.
2453 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2455         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2456         to `after-save-hook' instead of `before-save-hook'.
2457         (ruby-mode-set-encoding): Use the value of coding system used to
2458         write the file.  Call `basic-save-buffer-1' after modifying the
2459         buffer.
2461 2013-10-13  Alan Mackenzie  <acm@muc.de>
2463         Fix indentation/fontification of Java enum with
2464         "implements"/generic.
2466         * progmodes/cc-engine.el (c-backward-over-enum-header):
2467         Extracted from the three other places and enhanced to handle generics.
2468         (c-inside-bracelist-p): Uses new function above.
2469         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2470         function above.
2471         (c-font-lock-enum-tail): Uses new function above.
2473 2013-10-13  Kenichi Handa  <handa@gnu.org>
2475         * international/mule-cmds.el (select-safe-coding-system): Remove a
2476         superfluous condition in chekcing whether a coding system is safe
2477         or not.
2479 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2481         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2483 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2485         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2487 2013-10-13  Glenn Morris  <rgm@gnu.org>
2489         * menu-bar.el (menu-bar-update-buffers):
2490         Unify Buffers menu prompt string.  (Bug#15576)
2492         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2494         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2495         Add some entries.
2496         (authors-fixed-entries): Use accented form of name.
2498 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2500         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2501         method calls (bug#15594).
2502         (ruby-smie--args-separator-p): New function.
2503         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2504         recognize paren-free method calls.
2506         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2507         internals of universal-argument.
2509 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2511         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2512         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2513         dropped menu on second mouse click on the menu bar.
2515 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2517         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2518         (explicit-shell-file-name): Declare.
2519         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2520         (sh-completion-at-point-function): New function.
2521         (sh-mode): Use it.
2522         (sh-smie--keyword-p): Remove unused argument.
2523         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2524         vars.
2525         (sh-set-shell): Always setup SMIE, even if we use the
2526         old indentation code.
2528 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2530         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2531         cases of ? and =.
2532         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2533         predicate would return nil are almost non-existent.
2534         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2536         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2537         cache also after commands that modify the buffer but don't move
2538         point.
2540 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2542         * env.el (substitute-env-in-file-name): New function.
2543         (substitute-env-vars): Extend the meaning of the optional arg.
2545 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2547         * term/w32-win.el (dynamic-library-alist): Define separate lists
2548         of GIF DLLs for versions before and after 5.0.0 of giflib.
2549         (Bug#15531)
2551 2013-10-10  João Távora  <joaotavora@gmail.com>
2553         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2554         not locked, use last revision and current source as
2555         defaults.  (Bug#15569)
2557 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2559         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2560         menu-bar is hidden.
2562 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2564         * window.el (pop-to-buffer-same-window): Fix doc-string.
2565         (Bug#15492)
2567 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2569         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2571 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2573         * calendar/icalendar.el (icalendar-import-file):
2574         Fix interactive spec.  (Bug#15482)
2576 2013-10-10  Glenn Morris  <rgm@gnu.org>
2578         * desktop.el (desktop-save): Default to saving in .emacs.d,
2579         since PWD is no longer in desktop-path by default.  (Bug#15319)
2581         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2582         now that text mode has a menu with the same entry.
2583         (menu-bar-text-mode-auto-fill): Remove now unused func.
2584         * textmodes/text-mode.el (text-mode-map):
2585         Use auto-fill help text from menu-bar.el.
2587 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2589         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2591 2013-10-09  Juri Linkov  <juri@jurta.org>
2593         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2594         instead of this-command-keys.  Add universal-argument-more and
2595         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2597 2013-10-09  Glenn Morris  <rgm@gnu.org>
2599         * vc/vc-svn.el (vc-svn-create-repo):
2600         Expand paths in file://... url.  (Bug#15446)
2602         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2603         Add some entries.
2604         (authors): Remove unused local variables.
2606 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2608         * profiler.el: Create a more coherent calltree from partial backtraces.
2609         (profiler-format): Hide the tail with `invisible' so that C-s can still
2610         find the hidden elements.
2611         (profiler-calltree-depth): Don't recurse so enthusiastically.
2612         (profiler-function-equal): New hash-table-test.
2613         (profiler-calltree-build-unified): New function.
2614         (profiler-calltree-build): Use it.
2615         (profiler-report-make-name-part): Indent the calltree less.
2616         (profiler-report-mode): Add visibility specs for profiler-format.
2617         (profiler-report-expand-entry, profiler-report-toggle-entry):
2618         Expand the whole subtree when provided with a prefix arg.
2620 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2622         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2623         iuwu-mod token.
2624         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2625         hanging iuwu-mod token.
2626         (ruby-smie--forward-token): Do not include a dot after a token in
2627         that token.
2628         (ruby-smie--backward-token): Likewise.
2630 2013-10-08  Juri Linkov  <juri@jurta.org>
2632         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2633         to isearch-other-control-char.
2634         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2635         and isearch-post-command-hook to post-command-hook.
2636         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2637         and isearch-post-command-hook from post-command-hook.
2638         (isearch-unread-key-sequence)
2639         (isearch-reread-key-sequence-naturally)
2640         (isearch-lookup-scroll-key, isearch-other-control-char)
2641         (isearch-other-meta-char): Remove functions.
2642         (isearch-pre-command-hook, isearch-post-command-hook):
2643         New functions based on isearch-other-meta-char rewritten
2644         relying on the new behavior of overriding-terminal-local-map
2645         that does not replace the local keymaps any more.  (Bug#15200)
2647 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2649         Support menus on text-mode terminals.
2650         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2651         functionality.
2653         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2655         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2656         Move here from mouse.el.
2657         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2658         and arrow keys.
2659         (tty-menu-navigation-map): New map for TTY menu navigation.
2661         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2663         * frame.el (display-mouse-p): Report text-mode mouse as available
2664         on w32.
2665         (display-popup-menus-p): Report availability if mouse is
2666         available; don't condition on window-system.
2668         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2669         (tty-menu-selected-face): New faces.
2671 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2673         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2674         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2675         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2676         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2677         New constants.
2678         (lisp-mode-variables): New `elisp' argument.
2679         (emacs-lisp-mode): Use it.
2680         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2681         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2683         * indent.el: Use lexical-binding.
2684         (indent-region): Add progress reporter.
2685         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2686         last step.
2687         (indent--next-tab-stop): New function to implement this behavior.
2688         (tab-to-tab-stop, move-to-tab-stop): Use it.
2690 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2692         * indent.el (indent-rigidly--current-indentation): New function.
2693         (indent-rigidly-map): New var.
2694         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2696 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2698         * register.el (insert-register): Fix revno:114543.
2700 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2702         * progmodes/perl-mode.el: Use lexical-binding.
2703         Remove redundant :group args.
2704         (perl-nochange): Change default to be closer to other major modes's
2705         standard behavior.
2706         (perl-indent-line): Don't consider text on current line as a
2707         valid beginning of function from which to indent.
2709         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2710         with more than one argument (bug#15538).
2712         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2714         * vc/pcvs.el: Use lexical-binding.
2715         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2716         environment of `eval'.
2717         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2718         than a list of expressions.  Adjust callers.
2719         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2721 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2723         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2724         case of the dot in a chained method call being on the following line.
2726 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2728         * electric.el (electric-indent-inhibit): New var.
2729         (electric-indent-post-self-insert-function): Use it.
2730         * progmodes/python.el (python-mode): Set it.
2732         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2733         open braces.
2735         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2737         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2738         (css-mode): Use electric-indent-chars.
2740         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2741         (font-lock-beg, font-lock-end): Move before first use.
2742         (nxml-mode): Use syntax-propertize-function.
2743         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2744         (nxml-extend-after-change-region): Remove.
2745         * nxml/xmltok.el: Use lexical-binding.
2746         (xmltok-save): Use `declare'.
2747         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2748         * nxml/nxml-util.el: Use lexical-binding.
2749         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2750         Use `declare'.
2751         * nxml/nxml-ns.el: Use lexical-binding.
2752         (nxml-ns-save): Use `declare'.
2753         (nxml-ns-prefixes-for): Avoid add-to-list.
2754         * nxml/rng-match.el: Use lexical-binding.
2755         (rng--ipattern): Use cl-defstruct.
2756         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2757         (rng-cons-group-after, rng-subst-group-after)
2758         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2759         Use closures instead of `(lambda...).
2761 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2763         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2764         of BEG and END.
2766         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2767         Use `tramp-handle-insert-file-contents'.
2768         (tramp-gvfs-handle-insert-file-contents): Remove function.
2770         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2771         Use `save-restriction' in order to keep markers.
2773         * net/trampver.el: Update release number.
2775 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2777         * progmodes/compile.el (compilation-parse-errors):
2778         Use compilation--put-prop.
2779         (compilation--ensure-parse): Check compilation-multiline.
2781         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2783         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2784         lexical-binding.
2786         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2788         * progmodes/ruby-mode.el: Fix recently added tests.
2789         (ruby-smie-grammar): Add - and +.
2790         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2791         (ruby-smie--backward-id): New functions.
2792         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2793         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2794         any more.
2796 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2798         * register.el (register-preview-delay)
2799         (register-preview-functions): New variables.
2800         (register-read-with-preview, register-preview)
2801         (register-describe-oneline): New functions.
2802         (point-to-register, window-configuration-to-register)
2803         (frame-configuration-to-register, jump-to-register)
2804         (number-to-register, view-register, insert-register)
2805         (copy-to-register, append-to-register, prepend-to-register)
2806         (copy-rectangle-to-register): Use register-read-with-preview to
2807         read register.  (Bug#15525)
2809 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2811         * net/network-stream.el (network-stream-open-starttls): Don't add
2812         --insecure if it's already present, because that gnutls-cli
2813         rejects getting that parameter twice.
2815 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2817         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2818         keyword, too.
2820 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2822         * newcomment.el (comment-use-global-state): Change default value
2823         to t, mark obsolete (Bug#15251).
2824         (comment-beginning): In addition to `comment-to-syntax', check the
2825         value of `comment-use-global-state'.
2827 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2829         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2830         (ruby-comment-column): Follow the global default, by default.
2831         (ruby-smie-grammar): Add assignment syntax.
2832         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2833         open-paren, a comma, or a \.
2834         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2835         and line continuations.
2836         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2837         followed by implicit semi-colons.  Add rule for string concatenation
2838         and for indentation at BOB.
2839         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2841         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2842         calling next-sexp, since next-token may have skipped chars which
2843         next-sexp doesn't know should be skipped!
2845 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2847         * progmodes/octave.el (octave-send-region):
2848         Call compilation-forget-errors.
2850 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2852         * vc/vc-svn.el (vc-svn-find-admin-dir):
2853         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2854         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2855         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2856         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2858 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2860         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2862 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2864         * subr.el (read-passwd): Hide chars even when called within a context
2865         where after-change-functions is disabled (bug#15501).
2866         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2867         until we removed ourself from overriding-terminal-local-map.
2869 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2871         * progmodes/octave.el (inferior-octave-mode):
2872         Call compilation-forget-errors.
2874 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2876         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2878 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2880         * net/secrets.el (secrets-create-collection): Add optional
2881         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2882         dbus-call-method argument.  (Bug#15516)
2884 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2886         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2887         (inferior-octave-compilation-font-lock-keywords): New variables.
2888         (compilation-error-regexp-alist)
2889         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2890         (inferior-octave-mode): Use compilation-shell-minor-mode.
2892 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2894         * minibuffer.el (completion--replace): Be careful that `end' might be
2895         a marker.
2897 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2899         Add support for package signature checking.
2900         * emacs-lisp/package.el (url-http-file-exists-p)
2901         (epg-make-context, epg-context-set-home-directory)
2902         (epg-verify-string, epg-context-result-for)
2903         (epg-signature-status, epg-signature-to-string)
2904         (epg-check-configuration, epg-configuration)
2905         (epg-import-keys-from-file): Declare.
2906         (package-check-signature): New user option.
2907         (package-unsigned-archives): New user option.
2908         (package-desc): Add `signed' field.
2909         (package-load-descriptor): Set `signed' field if .signed file exists.
2910         (package--archive-file-exists-p): New function.
2911         (package--check-signature): New function.
2912         (package-install-from-archive): Check package signature.
2913         (package--download-one-archive): Check archive signature.
2914         (package-delete): Remove .signed file.
2915         (package-import-keyring): New command.
2916         (package-refresh-contents): Import default keyring.
2917         (package-desc-status): Add "unsigned" status.
2918         (describe-package-1, package-menu--print-info)
2919         (package-menu-mark-delete, package-menu--find-upgrades)
2920         (package-menu--status-predicate): Support "unsigned" status.
2922 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2924         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2925         the new compilation scheme using the new byte-codes.
2927         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2928         (byte-pophandler): New byte codes.
2929         (byte-goto-ops): Adjust accordingly.
2930         (byte-compile--use-old-handlers): New var.
2931         (byte-compile-catch): Use new byte codes depending on
2932         byte-compile--use-old-handlers.
2933         (byte-compile-condition-case--old): Rename from
2934         byte-compile-condition-case.
2935         (byte-compile-condition-case--new): New function.
2936         (byte-compile-condition-case): New function that dispatches depending
2937         on byte-compile--use-old-handlers.
2938         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2939         when we can.
2941         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2942         Optimize under `condition-case' and `catch' if
2943         byte-compile--use-old-handlers is nil.
2944         (disassemble-offset): Handle new bytecodes.
2946 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2948         * subr.el (error): Use `declare'.
2949         (decode-char, encode-char): Use advertised-calling-convention instead
2950         of the docstring to discourage use of the `restriction' arg.
2952 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2954         * epg.el (epg-verify-file): Add a comment saying that it does not
2955         notify verification error as a return value nor a signal.
2956         (epg-verify-string): Ditto.
2958 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2960         * progmodes/compile.el (compilation-start): Try globbing the arg to
2961         `cd' (bug#15417).
2963 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
2965         Sync with Tramp 2.2.8.
2967         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2968         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2969         * net/trampver.el: Update release number.
2971 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
2973         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2974         and default-process-coding-system for darwin only.
2976 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2978         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2980 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
2982         * vc/vc-git.el (vc-git-grep): Disable pager.
2984 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2986         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2987         Use :url instead of :homepage, as per
2988         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2990         * newcomment.el (comment-beginning): When `comment-use-syntax' is
2991         non-nil, use `syntax-ppss' (Bug#15251).
2993 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2995         * progmodes/octave.el (inferior-octave-startup-file):
2996         Prefer ~/.emacs.d/init_octave.m.
2998 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3000         * emacs-lisp/package.el (package-desc-from-define):
3001         Accept additional arguments as plist, convert them to an alist and store
3002         them in the `extras' slot.
3003         (package-generate-description-file): Convert extras alist back to
3004         plist and append to the `define-package' form arguments.
3005         (package--alist-to-plist): New function.
3006         (package--ac-desc): Add `extras' slot.
3007         (package--add-to-archive-contents): Check if the archive-contents
3008         vector is long enough, and if it is, pass its `extras' slot value
3009         to `package-desc-create'.
3010         (package-buffer-info): Call `lm-homepage', pass the returned value
3011         to `package-desc-from-define'.
3012         (describe-package-1): Render the homepage button (Bug#13291).
3014         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3015         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3017 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3019         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3020         and default-process-coding-system to utf-8-unix (Bug#15402).
3022 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3024         * subr.el (looking-back): Do not recommend using looking-back.
3026 2013-09-28  Alan Mackenzie  <acm@muc.de>
3028         Fix indentation/fontification of Java enum with "implements".
3030         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3031         regexp which matches "implements", etc., in Java.
3032         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3033         specifier clauses coming after "enum".
3034         * progmodes/cc-fonts.el (c-font-lock-declarations)
3035         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3036         after "enum".
3038 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3040         * faces.el (region): Change ns_selection_color to
3041         ns_selection_fg_color, add ns_selection_bg_color.
3043 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3045         * progmodes/octave.el (inferior-octave-completion-table)
3046         (inferior-octave-completion-at-point): Minor tweaks.
3048         * textmodes/ispell.el (ispell-lookup-words): Rename from
3049         lookup-words.  (Bug#15460)
3050         (lookup-words): Obsolete.
3051         (ispell-complete-word, ispell-command-loop): All uses changed.
3053 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3055         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3056         (octave-mode-menu): Add octave-send-buffer.
3057         (octave-send-buffer): New function.
3059 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3061         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3062         octave-lookfor.
3063         (octave-mode-menu): Add octave-lookfor.
3064         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3065         octave-lookfor.
3066         (octave-lookfor): New function.
3068 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3070         * emacs-lisp/cl-macs.el:
3071         (cl--loop-destr-temps): Remove.
3072         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3073         its convention.
3074         (cl--loop-set-iterator-function): New function.
3075         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3076         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3077         Bind `it' with `let' instead of substituting it with `cl-subst'.
3078         (cl--unused-var-p): New function.
3079         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3080         Eliminate some unused variable warnings (bug#15326).
3082 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3084         * doc-view.el (doc-view-scale-reset): Rename from
3085         `doc-view-reset-zoom-level'.
3086         (doc-view-scale-adjust): New command.
3087         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3088         `doc-view-scale-adjust'.
3090 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3092         * doc-view.el (doc-view-reset-zoom-level): New command.
3093         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3094         zoom commands (bug#15466).
3096 2013-09-26  Kenichi Handa  <handa@gnu.org>
3098         * international/quail.el (quail-help): Make it not a command.
3100 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3102         * minibuffer.el (completion-all-sorted-completions): Make args
3103         optional as they are.
3105 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3107         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3108         specs are and that they're not evaluated.
3110 2013-09-24  Sam Steingold  <sds@gnu.org>
3112         * midnight.el (clean-buffer-list-kill-regexps)
3113         (clean-buffer-list-kill-buffer-names): Update for the new Man
3114         buffer naming which includes the object name.
3116 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3118         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3119         (eshell-parse-command, eshell-parse-pipeline): Use it since
3120         eshell-separate-commands requires a dynamic scoped var.
3121         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3123 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3125         * autoinsert.el (auto-insert-alist): Make the value of
3126         lexical-binding match its file setting.
3128 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3130         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3132         * autoarg.el (autoarg-kp-digit-argument):
3133         * electric.el (Electric-command-loop):
3134         * kmacro.el (kmacro-step-edit-insert):
3135         Do not set universal-argument-num-events.
3137 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3139         * files.el (interpreter-mode-alist): Add octave.
3141 2013-09-21  Alan Mackenzie  <acm@muc.de>
3143         C++: fontify identifier in declaration following "public:" correctly.
3144         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3145         to match "public", etc.
3146         (c-decl-prefix-re): Add ":" into the C++ value.
3147         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3148         bit.  Add a check for a ":" preceded by "public", etc.
3150 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3152         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3153         recognized by GDB 7.5 and later.
3155 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3157         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3159 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3161         * subr.el (internal--call-interactively): New const.
3162         (called-interactively-p): Use it (bug#3984).
3164 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3166         * vc/pcvs.el (cvs-mode-ignore):
3167         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3168         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3170 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3172         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3173         (eshell-ls-orig-insert-directory): Remove.
3174         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3175         (eshell-ls-use-in-dired): Use advice-add/remove.
3176         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3177         Add `orig-fun' arg for use in :around advice.
3178         Make it check (redundantly) eshell-ls-use-in-dired.
3180 2013-09-19  Glenn Morris  <rgm@gnu.org>
3182         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3184         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3186         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3188 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3190         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3191         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3192         (tramp-get-remote-python): New defuns.
3193         (tramp-get-remote-uid-with-perl)
3194         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3195         contributed by yary <not.com@gmail.com> (tiny change).
3196         (tramp-get-remote-uid-with-python)
3197         (tramp-get-remote-gid-with-python): New defuns.  Python code
3198         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3199         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3201 2013-09-19  Glenn Morris  <rgm@gnu.org>
3203         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3205         * eshell/em-unix.el (eshell-remove-entries):
3206         Rename argument to avoid name-clash with global `top-level'.
3208         * eshell/esh-proc.el (eshell-kill-process-function):
3209         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3210         (eshell-reset-after-proc): Remove unused arg `proc'.
3212         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3213         (directory-files-and-attributes): Mark unused arg.
3215         * eshell/em-unix.el (eshell-remove-entries):
3216         Remove unused arg `path'.  Update callers.
3218         * eshell/em-hist.el (eshell-hist-parse-arguments):
3219         Remove unused arg `silent'.  Update callers.
3221         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3222         Fix (f)boundp mix-up.
3224         * eshell/em-smart.el (eshell-smart-scroll-window)
3225         (eshell-disable-after-change):
3226         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3228 2013-09-18  Alan Mackenzie  <acm@muc.de>
3230         Fix fontification of type when followed by "const".
3231         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3232         "known" types from fontification.
3234 2013-09-18  Glenn Morris  <rgm@gnu.org>
3236         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3237         (chart-face-list): Drop Emacsen without display-color-p.
3239         * net/eww.el (libxml-parse-html-region): Declare.
3240         (eww-display-html): Explicit error if no libxml2 support.
3242         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3244         * image.el (image-type-from-buffer, image-multi-frame-p):
3245         Remove --without-x warning/error.
3247         * mouse.el (mouse-yank-primary):
3248         * term.el (term-mouse-paste):
3249         Reorder to silence --without-x compilation.
3251         * mpc.el (doc-view-mode): Silence --without-x compilation.
3253         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3254         Silence --without-x compilation.
3256         * progmodes/gud.el (gud-find-file, gud-mode):
3257         Silence --without-x compilation.
3258         (tooltip-mode): Declare.
3260         * wdired.el (dired-backup-overwrite): Remove declaration.
3261         (wdired-mode-map): Add doc string.
3263         * custom.el (x-get-resource): Declare.
3265         * eshell/em-glob.el (ange-cache):
3266         * eshell/em-unix.el (ange-cache): Declare.
3268         * faces.el (x-display-list, x-open-connection, x-get-resource):
3269         Declare.
3271         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3272         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3273         Declare.
3275         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3277         * net/gnutls.el (gnutls-log-level): Declare.
3279         * net/shr.el (image-size, image-animate): Declare.
3281         * simple.el (font-info): Declare.
3283         * subr.el (x-popup-dialog): Declare.
3285         * term/common-win.el (x-select-enable-primary)
3286         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3287         Declare.
3289         * term/ns-win.el (x-handle-args): Declare.
3291         * term/x-win.el (x-select-enable-clipboard): Declare.
3293         * term/w32-win.el (create-default-fontset): Declare.
3295         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3296         Declare.
3298         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3299         (fit-frame-to-buffer): Explicit error if --without-x.
3300         (mouse-autoselect-window-select): Silence compiler.
3302         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3304         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3305         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3306         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3307         * eshell/esh-util.el (eshell-sublist):
3308         Remove unused local variables.
3310         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3312         * textmodes/two-column.el: Make 2C-split work for --without-x.
3313         (scroll-bar-columns): Autoload.
3314         (top-level): Require fringe when compiling.
3316 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3318         * subr.el (add-hook): Robustify to handle closure as well.
3320 2013-09-17  Glenn Morris  <rgm@gnu.org>
3322         * simple.el (messages-buffer-mode-map): Unbind "g".
3324 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3326         * help-mode.el (help-mode-finish): Use derived-mode-p.
3327         Remove obsolete highlighting.
3329         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3330         special-mode.
3331         (life): Let-bind inhibit-read-only.
3332         (life-setup): Avoid `setq'.  Use `life-mode'.
3334         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3335         which should not be needed any more.
3336         (package-menu-refresh, package-menu-describe-package): Use user-error.
3338         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3339         (eshell-post-rewrite-command-hook): Make obsolete.
3340         (eshell-parse-command): Simplify.
3341         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3342         (eshell--cmd): Declare.
3343         (eshell-parse-pipeline): Remove unused var `final-p'.
3344         Pass a dynvar to eshell-post-rewrite-command-hook.
3345         Implement the new eshell-post-rewrite-command-function.
3346         (eshell-invoke-directly): Remove unused arg `input'.
3347         * eshell/esh-io.el (eshell-io-initialize):
3348         Use eshell-post-rewrite-command-function (bug#15399).
3349         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3350         adjust to new calling convention.
3351         (eshell-create-handles): Rename args to avoid clashing with dynvar
3352         `standard-output'.
3354 2013-09-17  Glenn Morris  <rgm@gnu.org>
3356         * simple.el (messages-buffer-mode): New major mode.
3357         (messages-buffer): New function.
3358         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3359         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3360         (ert-run-test): Use `messages-buffer' function.
3361         (ert--force-message-log-buffer-truncation): Ignore read-only.
3362         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3363         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3365 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3367         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3369         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3371 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3373         * icomplete.el (icomplete-in-buffer): New var.
3374         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3375         vars and replace them with functions.
3376         (icomplete-minibuffer-setup): Adjust accordingly.
3377         (icomplete--completion-table, icomplete--completion-predicate)
3378         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3379         New functions.
3380         (icomplete-forward-completions, icomplete-backward-completions)
3381         (icomplete-simple-completing-p, icomplete-exhibit)
3382         (icomplete-completions): Use them.
3383         (icomplete--in-region-buffer): New var.
3384         (icomplete--in-region-setup): New function.
3385         (icomplete-mode): Use it.
3387         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3388         (bug#15379).
3389         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3390         return args and options.
3391         (eshell-eval-using-options): Use the new return value of
3392         eshell--do-opts to set the options's vars in their scope.
3393         (eshell--set-option): Rename from eshell-set-option.
3394         Add arg `opt-vals'.
3395         (eshell--process-option): Rename from eshell-process-option.
3396         Add arg `opt-vals'.
3397         (eshell--process-args): Use an `opt-vals' alist to store the options's
3398         values during their processing and return them additionally to the
3399         remaining args.
3401 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3403         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3404         continuation character an operator, as far as indentation is
3405         concerned (Bug#15369).
3407 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3409         * window.el (window--state-put-2): Don't process buffer state
3410         when buffer doesn't exist any more (Bug#15382).
3412 2013-09-15  Glenn Morris  <rgm@gnu.org>
3414         * eshell/em-unix.el (eshell/rm):
3415         Make -f ignore missing files.  (Bug#15373)
3417         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3418         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3419         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3421 2013-09-14  Glenn Morris  <rgm@gnu.org>
3423         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3425 2013-09-13  Glenn Morris  <rgm@gnu.org>
3427         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3428         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3430 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3432         * frame.el (x-focus-frame): Mark as declared in frame.c.
3434 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3436         * ls-lisp.el: Use advice-add.
3437         (original-insert-directory): Remove.
3438         (ls-lisp--insert-directory): Rename from insert-directory; add
3439         `orig-fun' argument.
3440         (insert-directory): Advise.
3442 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3444         * term.el (term-emulate-terminal): Decode the command string
3445         before passing it to term-command-hook.  (Bug#15337)
3447 2013-09-13  Glenn Morris  <rgm@gnu.org>
3449         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3451         * eshell/esh-ext.el (eshell-search-path): Declare.
3453         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3454         Otherwise an error occurs if eshell-dirs module not loaded.
3456         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3458 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3460         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3461         `tramp-check-proper-host'.  Check for a valid method name.
3463         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3464         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3465         * net/tramp-sh.el (tramp-maybe-open-connection):
3466         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3468         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3469         also for hash values.
3471 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * term/ns-win.el (parameters): Don't declare as dynamic.
3474         (before-make-frame-hook): Don't add ineffective function.
3476         * eshell/*.el: Use lexical-binding (bug#15231).
3478 2013-09-12  Kenichi Handa  <handa@gnu.org>
3480         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3482 2013-09-12  Glenn Morris  <rgm@gnu.org>
3484         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3485         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3487         * subr.el (do-after-load-evaluation): Also give compiler warnings
3488         when obsolete files are used (except by obsolete files).
3490         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3491         in the status output, assume `filename' is the first.  (Bug#15322)
3493         * vc/vc.el (vc-deduce-fileset): Doc fix.
3495         * calc/calc-help.el (Info-goto-node):
3496         * progmodes/cperl-mode.el (Info-find-node):
3497         * vc/ediff.el (Info-goto-node): Update declarations.
3499         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3501         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3502         (vc-bzr-pull): Require vc-dispatcher.
3503         * vc/vc-git.el (vc-compilation-mode): Declare.
3504         (vc-git-pull): Require vc-dispatcher.
3506         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3508         * progmodes/octave.el (help-button-action): Declare.
3510         * shell.el (shell-directory-tracker): Output error as a message
3511         rather than just returning it as a string.
3512         (shell-process-pushd): Remove useless use of message.
3514         * dframe.el (dframe-timer-fn):
3515         * files.el (dir-locals-read-from-file):
3516         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3517         (mpc-format):
3518         * reveal.el (reveal-post-command):
3519         * saveplace.el (load-save-place-alist-from-file):
3520         * shell.el (shell-resync-dirs):
3521         * w32-common-fns.el (x-get-selection-value):
3522         * emacs-lisp/copyright.el (copyright-find-copyright):
3523         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3524         * emulation/tpu-edt.el (tpu-copy-keyfile):
3525         * play/bubbles.el (bubbles--mark-neighbourhood):
3526         * progmodes/executable.el
3527         (executable-make-buffer-file-executable-if-script-p):
3528         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3530 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         Cleanup Eshell to rely less on dynamic scoping.
3533         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3534         last-value, and ext-command here.  Bind `args' closer to `body'.
3535         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3536         (eshell--args): Declare new dynamic var.
3537         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3538         last-value, and ext-command.  Pass `args' to `body'.
3539         (eshell-process-args): Bind eshell--args.
3540         (eshell-set-option): Use eshell--args.
3541         * eshell/eshell.el (eshell): Use derived-mode-p.
3542         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3543         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3544         (eshell-glob-function): Declare.
3545         * eshell/esh-util.el: Require cl-lib.
3546         (eshell-read-hosts-file): Avoid add-to-list.
3547         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3548         `err'.
3549         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3550         Declare.
3551         (eshell/diff): Remove unused var `err'.
3552         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3553         `killflag'.
3554         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3555         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3556         first use.
3557         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3558         Move declaration before first use.
3559         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3560         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3561         rely on cl-return.
3563 2013-09-12  Glenn Morris  <rgm@gnu.org>
3565         * term/ns-win.el (global-map): Remove binding for ispell-next,
3566         deleted 1999-05-29.  (Bug#15357)
3568 2013-09-11  Glenn Morris  <rgm@gnu.org>
3570         * echistory.el (electric-command-history): Remove call to deleted func.
3572         * play/landmark.el (landmark-mode): Fix typos.
3574         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3575         Check cvs-sort-ignore-file is bound.
3577         * savehist.el: No need for cl when compiling on Emacs.
3579 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3581         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3582         (bug#15338).
3583         (eshell-self-insert-command, eshell-send-invisible):
3584         Remove unused argument.
3585         (eshell-handle-control-codes): Remove unused var `orig'.
3586         Avoid delete-backward-char.
3588         * files.el (set-auto-mode): Simplify a bit further.
3590 2013-09-11  Glenn Morris  <rgm@gnu.org>
3592         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3593         (set-auto-mode): Don't regexp-quote elements.
3594         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3595         * progmodes/cc-mode.el (interpreter-mode-alist):
3596         * progmodes/ruby-mode.el (interpreter-mode-alist):
3597         Revert previous change.
3599 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3601         * play/snake.el (snake-mode):
3602         * play/mpuz.el (mpuz-mode):
3603         * play/landmark.el (lm-mode):
3604         * play/blackbox.el (blackbox-mode):
3605         * play/5x5.el (5x5-mode):
3606         * obsolete/options.el (Edit-options-mode):
3607         * net/quickurl.el (quickurl-list-mode):
3608         * net/newst-treeview.el (newsticker-treeview-mode):
3609         * mail/rmailsum.el (rmail-summary-mode):
3610         * mail/mspools.el (mspools-mode):
3611         * locate.el (locate-mode):
3612         * ibuffer.el (ibuffer-mode):
3613         * emulation/ws-mode.el (wordstar-mode):
3614         * emacs-lisp/debug.el (debugger-mode):
3615         * array.el (array-mode):
3616         * net/eudc.el (eudc-mode): Use define-derived-mode.
3617         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3618         Move initialization into declaration.
3619         (mairix-searches-mode): Use define-derived-mode.
3620         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3621         (eudc-edit-hotlist): Use dolist.
3622         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3623         (Man-mode): Use define-derived-mode.
3624         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3625         (Info-edit-mode): Use define-derived-mode.
3626         (Info-cease-edit): Use Info-mode.
3627         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3628         into declaration.
3629         (eshell-mode): Use define-derived-mode.
3630         * chistory.el (command-history-mode-map): Rename from
3631         command-history-map.
3632         (command-history-mode): Use define-derived-mode.
3633         (Command-history-setup): Remove function.
3634         * calc/calc.el (calc-trail-mode-map): New var.
3635         (calc-trail-mode): Use define-derived-mode.
3636         (calc-trail-buffer): Set calc-main-buffer manually.
3637         * bookmark.el (bookmark-insert-annotation): New function.
3638         (bookmark-edit-annotation): Use it.
3639         (bookmark-edit-annotation-mode): Make it a proper major mode.
3640         (bookmark-send-edited-annotation): Use derived-mode-p.
3641         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3642         closer to its ideal place.  Use \' to match EOS.
3644         * profiler.el (profiler-calltree-find): Use function-equal.
3646 2013-09-10  Glenn Morris  <rgm@gnu.org>
3648         * files.el (interpreter-mode-alist): Convert to regexps.
3649         (set-auto-mode): Adapt for this.  (Bug#15306)
3650         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3651         Comment out unused variable.
3652         * progmodes/cc-mode.el (interpreter-mode-alist):
3653         * progmodes/python.el (interpreter-mode-alist):
3654         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3655         * progmodes/sh-script.el (sh-set-shell):
3656         No longer use interpreter-mode-alist to get list of shells.
3658         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3660 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3662         * simple.el: Use set-temporary-overlay-map for universal-argument.
3663         (universal-argument-map): Don't use default-bindings (bug#15317).
3664         Bind switch-frame explicitly.  Replace universal-argument-minus with
3665         a conditional binding.
3666         (universal-argument-num-events, saved-overriding-map): Remove.
3667         (restore-overriding-map): Remove.
3668         (universal-argument--mode): Rename from save&set-overriding-map,
3669         and rewrite.
3670         (universal-argument, universal-argument-more, negative-argument)
3671         (digit-argument): Adjust accordingly.
3672         (universal-argument-minus): Remove.
3673         (universal-argument-other-key): Remove.
3675         * subr.el (with-demoted-errors): Add `format' argument.
3677 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3679         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3680         `tramp-cleanup-connection'.
3682         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3683         parameters KEEP-DEBUG and KEEP-PASSWORD.
3685         * net/tramp.el (tramp-file-name-handler):
3686         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3687         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3688         (tramp-maybe-open-connection):
3689         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3690         Use `tramp-cleanup-connection'.
3692         * net/tramp-sh.el (tramp-maybe-open-connection):
3693         Catch 'uname-changed inside the progress reporter.
3695 2013-09-10  Glenn Morris  <rgm@gnu.org>
3697         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3699         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3700         returns "alternate access method" in mode (eg "-rw-r--r--.").
3702 2013-09-08  Glenn Morris  <rgm@gnu.org>
3704         * saveplace.el (load-save-place-alist-from-file):
3705         Demote errors.  (Bug#15305)
3707 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3709         Improve compatibility with older Emacsen, and XEmacs.
3711         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3712         only if it is bound.  It isn't for XEmacs.
3713         (with-tramp-progress-reporter): Do not let-bind `result'.
3714         This yields to scoping errors in XEmacs.
3715         (tramp-handle-make-auto-save-file-name): New function, moved from
3716         tramp-sh.el.
3718         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3719         for `make-auto-save-file-name'.
3720         (tramp-adb--gnu-switches-to-ash):
3721         Use `tramp-compat-replace-regexp-in-string'.
3723         * net/tramp-cache.el (tramp-cache-print): Call
3724         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3726         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3727         bound.  It isn't for XEmacs.
3729         * net/tramp-compat.el (tramp-compat-copy-file):
3730         Catch `wrong-number-of-arguments' error.
3731         (tramp-compat-replace-regexp-in-string): New defun.
3733         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3734         for `make-auto-save-file-name'.
3735         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3736         `copy-file'.
3737         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3738         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3739         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3741         * net/tramp-gw.el (tramp-gw-open-network-stream):
3742         Use `tramp-compat-replace-regexp-in-string'.
3744         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3745         Call `tramp-handle-make-auto-save-file-name'.
3746         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3747         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3748         (tramp-sh-file-inotifywait-process-filter):
3749         Use `tramp-compat-replace-regexp-in-string'.
3750         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3752         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3753         for `make-auto-save-file-name'.
3754         (tramp-smb-handle-copy-directory):
3755         Call `tramp-compat-replace-regexp-in-string'.
3756         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3757         (tramp-smb-handle-copy-file): Improve error message.
3758         (tramp-smb-handle-rename-file): Rename directly only in case
3759         `newname' does not exist yet.  This is a restriction of smbclient.
3760         (tramp-smb-maybe-open-connection): Rerun the function only when
3761         `auth-sources' is non-nil.
3763 2013-09-08  Kenichi Handa  <handa@gnu.org>
3765         * international/characters.el: Set category "^" (Combining) for
3766         more characters.
3768 2013-09-07  Alan Mackenzie  <acm@muc.de>
3770         Correctly fontify Java class constructors.
3771         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3772         in Java Mode.
3773         (c-recognize-typeless-decls): Set the Java value to t.
3774         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3775         While handling a "(", add a check for, effectively, Java, and handle a
3776         "typeless" declaration there.
3778 2013-09-07  Roland Winkler  <winkler@gnu.org>
3780         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3781         field subtitle for entry type book.
3783 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3785         * minibuffer.el: Make minibuffer-complete call completion-in-region
3786         rather than other way around.
3787         (completion--some, completion-pcm--find-all-completions):
3788         Don't delay signals when debugging.
3789         (minibuffer-completion-contents): Beware fields within the
3790         minibuffer contents.
3791         (completion-all-sorted-completions): Use defvar-local.
3792         (completion--do-completion, completion--cache-all-sorted-completions)
3793         (completion-all-sorted-completions, minibuffer-force-complete):
3794         Add args `beg' and `end'.
3795         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3796         (minibuffer-complete): Use completion-in-region.
3797         (completion-complete-and-exit): New fun, extracted from
3798         minibuffer-complete-and-exit.
3799         (minibuffer-complete-and-exit): Use it.
3800         (completion--complete-and-exit): Rename from
3801         minibuffer--complete-and-exit.
3802         (completion-in-region--single-word): New function, extracted from
3803         minibuffer-complete-word.
3804         (minibuffer-complete-word): Use it.
3805         (display-completion-list): Make `common-substring' argument obsolete.
3806         (completion--in-region): Call completion--in-region-1 instead of
3807         minibuffer-complete.
3808         (completion-help-at-point): Pass boundaries to
3809         minibuffer-completion-help as args rather than via an overlay.
3810         (completion-pcm--string->pattern): Use `any-delim'.
3811         (completion-pcm--optimize-pattern): New function.
3812         (completion-pcm--pattern->regex): Handle `any-delim'.
3813         * icomplete.el (icomplete-forward-completions)
3814         (icomplete-backward-completions, icomplete-completions):
3815         Adjust calls to completion-all-sorted-completions and
3816         completion--cache-all-sorted-completions.
3817         (icomplete-with-completion-tables): Default to t.
3818         * emacs-lisp/crm.el (crm--current-element): Rename from
3819         crm--select-current-element.  Don't put an overlay but return the
3820         boundaries instead.
3821         (crm--completion-command): Take two new args to bind to the boundaries.
3822         (crm-completion-help): Adjust accordingly.
3823         (crm-complete): Use completion-in-region.
3824         (crm-complete-word): Use completion-in-region--single-word.
3825         (crm-complete-and-exit): Use completion-complete-and-exit.
3827 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3829         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3830         than dynamically.
3832 2013-09-06  Juri Linkov  <juri@jurta.org>
3834         * info.el (Info-display-images-node): When image file doesn't exist
3835         display text version of the image if it's provided in the Info file.
3836         Otherwise, display the location of missing image from SRC attribute.
3837         Add help-echo text property from ALT attribute.  (Bug#15279)
3839 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3841         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3842         (edit-abbrevs-mode): Use define-derived-mode.
3844         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3845         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3846         that it's defined.
3847         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3848         Use define-derived-mode.
3850         * epg.el (epg-start-encrypt): Minor CSE simplification.
3852 2013-09-06  William Xu  <william.xwl@gmail.com>
3854         * arc-mode.el: Add support for 7za (bug#15264).
3855         (archive-7z-program): New var.
3856         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3857         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3858         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3860 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3862         Remove URL syntax.
3864         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3865         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3866         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3867         (tramp-postfix-host-format, tramp-file-name-regexp)
3868         (tramp-completion-file-name-regexp)
3869         (tramp-completion-dissect-file-name)
3870         (tramp-handle-substitute-in-file-name): Remove 'url case.
3871         (tramp-file-name-regexp-url)
3872         (tramp-completion-file-name-regexp-url): Remove constants.
3874 2013-09-06  Glenn Morris  <rgm@gnu.org>
3876         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3878 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3880         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3881         keywords" below "here-doc beginnings" (Bug#15270).
3883 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3885         * subr.el (pop): Use `car-safe'.
3886         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3887         to detect unused `pop' return value.
3889         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3890         var `block-regexp'.
3891         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3892         (python-fill-string): Remove unused var `marker'.
3893         (python-skeleton-add-menu-items): Remove unused var `items'.
3895         * international/mule-cmds.el: Require CL.
3896         (find-coding-systems-for-charsets): Avoid add-to-list.
3897         (sanitize-coding-system-list): New function, extracted from
3898         select-safe-coding-system-interactively.
3899         (select-safe-coding-system-interactively): Use it.
3900         (read-input-method-name): Accept symbols for `default'.
3902         * emacs-lisp/advice.el (defadvice): Add indent rule.
3904 2013-09-05  Daniel Hackney  <dan@haxney.org>
3906         * dired-x.el:
3907         * net/ange-ftp.el:
3908         * net/browse-url.el:
3909         * net/dbus.el:
3910         * net/eudc.el:
3911         * net/eudcb-ldap.el:
3912         * net/eww.el:
3913         * net/imap.el:
3914         * printing.el:
3915         * vc/ediff-diff.el:
3916         * vc/ediff-init.el:
3917         * vc/ediff-merg.el:
3918         * vc/ediff-mult.el:
3919         * vc/ediff-util.el:
3920         * vc/ediff-wind.el:
3921         * vc/ediff.el:
3922         * vc/emerge.el:
3923         * vc/pcvs.el:
3924         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3925         byte compiler.  Remove some unused let-bound variables.
3927 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3929         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3930         a "ref-cell", since it gets better optimized (bug#14883).
3932 2013-09-05  Glenn Morris  <rgm@gnu.org>
3934         * progmodes/cc-awk.el (c-forward-sws): Declare.
3936 2013-09-04  Glenn Morris  <rgm@gnu.org>
3938         * generic-x.el [rul-generic-mode]: Require cc-mode.
3939         (c++-mode-syntax-table): Declare.
3940         (rul-generic-mode-syntax-table): Init in the defvar.
3942 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3944         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3945         (vc-do-command, vc-set-async-update):
3946         * vc/vc-mtn.el (vc-mtn-dir-status):
3947         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3948         (vc-hg-pull, vc-hg-merge-branch):
3949         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3950         (vc-git-merge-branch):
3951         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3952         (vc-cvs-dir-status-files):
3953         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3954         (vc-bzr-dir-status-files):
3955         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3956         * vc/vc-annotate.el: Use lexical-binding.
3957         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3958         (vc-sentinel-movepoint): Declare.
3959         (vc-annotate): Don't use `goto-line'.
3960         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3961         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3962         (vc-sentinel-movepoint): Declare.
3963         * vc/vc-svn.el: Use lexical-binding.
3964         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3965         * vc/vc-sccs.el:
3966         * vc/vc-rcs.el: Use lexical-binding.
3968         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3969         `deleted'.  Don't drop errors silently.
3971         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3973 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
3975         * vc/vc.el (vc-ignore): Rewrite.
3976         (vc-default-ignore): New function.
3977         (vc-default-ignore-completion-table): Use find-ignore-file.
3979         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3980         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3981         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3982         Remove.  Most code moved to vc.el.
3984 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3986         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3987         * net/tramp-smb.el (tramp-smb-get-file-entries):
3988         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3989         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3991         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3992         Update call to it.
3993         (eww-change-select): Remove unused var `properties'.
3994         (eww-make-unique-file-name): Remove unused var `base'.
3996         * finder.el (finder-compile-keywords): Don't mess with windows.
3998         * calculator.el (calculator-funcall): Fix typo in last change.
4000         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4002         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4003         <pkg>-autoloads.el file stop us.
4005         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4006         warnings, and factor out common code.
4008 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4010         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4011         two-character operators and whether the character preceding them
4012         changes their meaning (Bug#15208).
4014 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4016         Format code sent to Python shell for robustness.
4017         * progmodes/python.el (python-shell-buffer-substring):
4018         New function.
4019         (python-shell-send-region, python-shell-send-buffer): Use it.
4021 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4023         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4024         * net/tramp.el (tramp-user-error): ... here.
4025         (tramp-find-method, tramp-check-proper-host)
4026         (tramp-dissect-file-name, tramp-debug-message)
4027         (tramp-handle-shell-command):
4028         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4029         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4031         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4033 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4035         * avoid.el (mouse-avoidance-point-position)
4036         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4037         returns nil.
4039 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4041         * progmodes/python.el (python-shell-completion-get-completions):
4042         Drop use of deleted `comint-last-prompt-overlay'.
4043         (python-nav-if-name-main): New command.
4045 2013-09-01  Glenn Morris  <rgm@gnu.org>
4047         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4048         Avoid leading space in $wins.  Otherwise the sed command used by
4049         eg compile-main ends up containing "/*.el".  (Bug#15170)
4051         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4053 2013-08-30  Glenn Morris  <rgm@gnu.org>
4055         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4056         Fix is-this-a-directory logic.  (Bug#15220)
4058 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         * textmodes/css-mode.el: Use SMIE.
4061         (css-smie-grammar): New var.
4062         (css-smie--forward-token, css-smie--backward-token)
4063         (css-smie-rules): New functions.
4064         (css-mode): Use them.
4065         (css-navigation-syntax-table): Remove var.
4066         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4067         (css-indent-calculate, css-indent-line): Remove functions.
4069         Misc changes to reduce use of `(lambda...); and other cleanups.
4070         * cus-edit.el: Use lexical-binding.
4071         (customize-push-and-save, customize-apropos)
4072         (custom-buffer-create-internal): Use closures.
4073         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4074         * progmodes/ada-xref.el: Use setq.
4075         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4076         * dframe.el: Use lexical-binding.
4077         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4078         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4079         * descr-text.el: Use lexical-binding.
4080         (describe-text-widget, describe-text-sexp, describe-property-list):
4081         Use closures.
4082         * comint.el (comint-history-isearch-push-state): Use a closure.
4083         * calculator.el: Use lexical-binding.
4084         (calculator-number-to-string): Make it work with lexical-binding.
4085         (calculator-funcall): Same and use cl-letf.
4087         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4088         (lisp--company-doc-string, lisp--company-location): New functions.
4089         (lisp-completion-at-point): Use them to improve Company support.
4091         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4092         params of lambda expressions.
4093         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4094         (ruby-smie--opening-pipe-p): New function.
4095         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4096         symbols and matched |...| for formal params.
4097         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4098         from being treated as hanging.  Handle "rescue".
4100 2013-08-29  Glenn Morris  <rgm@gnu.org>
4102         * progmodes/cc-engine.el (c-pull-open-brace):
4103         Move definition before use.
4105 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4107         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4108         are immutable.  Don't use `unsafe' any more.
4109         (cl--defsubst-expand): Don't substitute at the same time as keeping
4110         a residual unused let-binding.  Don't use `unsafe' any more.
4112 2013-08-29  Glenn Morris  <rgm@gnu.org>
4114         * calendar/cal-china.el (calendar-chinese-year-cache):
4115         Recenter on 2015.
4117         * nxml/nxml-util.el (nxml-debug-clear-inside):
4118         Use cl-loop rather than loop.
4120         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4122         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4124 2013-08-28  Glenn Morris  <rgm@gnu.org>
4126         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4128         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4130         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4132 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4134         * simple.el (repeat-complex-command--called-interactively-skip):
4135         New function.
4136         (repeat-complex-command): Use it (bug#14136).
4138         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4139         (c-define-abbrev-table): Add `doc' argument.
4140         (c-mode-abbrev-table, c++-mode-abbrev-table)
4141         (objc-mode-abbrev-table, java-mode-abbrev-table)
4142         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4143         (awk-mode-abbrev-table): Use it.
4144         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4145         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4146         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4147         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4148         Move initialization into the declaration; and remove any
4149         autoload cookie.
4151         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4152         and dynamic let binding.
4154         * vc/smerge-mode.el: Remove redundant :group args.
4156         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4157         to load-path.
4159 2013-08-28  Juri Linkov  <juri@jurta.org>
4161         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4162         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4163         (isearch-other-meta-char): Handle an undefined shifted printing
4164         character by downshifting it.  (Bug#15200)
4166 2013-08-28  Juri Linkov  <juri@jurta.org>
4168         * isearch.el (isearch-search): Change regexp error message for
4169         non-regexp searches.  (Bug#15166)
4171 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4173         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4174         for portability to hosts where /bin/sh has problems.
4176 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4178         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4180 2013-08-27  Juri Linkov  <juri@jurta.org>
4182         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4183         in the keyboard macro.  (Bug#15126)
4185 2013-08-27  Juri Linkov  <juri@jurta.org>
4187         * isearch.el (isearch-quote-char): Comment out converting unibyte
4188         to multibyte, thus syncing with its `quoted-insert' counterpart.
4189         (Bug#15166)
4191 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4193         * window.el (display-buffer-use-some-window): Add missing
4194         argument in call of get-largest-window (Bug#15185).
4195         Reported by Stephen Leake.
4197 2013-08-27  Glenn Morris  <rgm@gnu.org>
4199         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4201 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4204         from a matcher-function unless there's no more matches (bug#15161).
4206 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4208         * minibuffer.el: Revert change from 2013-08-20.
4210         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4211         with text property `tramp-default', if appropriate.
4212         (tramp-check-proper-host): New defun.
4213         (tramp-dissect-file-name): Do not check hostname.  Revert change
4214         of 2013-03-18.
4215         (tramp-backtrace): Make VEC-OR-PROC optional.
4217         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4218         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4219         * net/tramp-sh.el (tramp-maybe-open-connection):
4220         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4221         Apply `tramp-check-proper-host'.
4223 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4225         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4226         lambda expression in order to have `describe-variable' display it.
4228 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4230         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4231         BUF can be optional.  (Bug#15186)
4233 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4235         * progmodes/flymake.el (flymake-get-real-file-name-function):
4236         Fix broken customization.  (Bug#15184)
4238 2013-08-25  Alan Mackenzie  <acm@muc.de>
4240         Improve indentation of bracelists defined by macros (without "=").
4242         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4243         expansion begins with "{", regard it as bracelist when it doesn't
4244         contain a ";".
4246         Parse C++ inher-intro when there's a template split over 2 lines.
4248         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4249         rigorously the search for "class" etc. followed by ":".
4251         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4252         random languages a regexp which never matches rather than nil.
4254         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4256         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4257         (c-awk-regexp-one-line-possibly-open-char-list-re)
4258         (c-awk-one-line-possibly-open-regexp-re)
4259         (c-awk-one-line-non-syn-ws*-re): Remove.
4260         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4261         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4262         (c-awk-space*-unclosed-regexp-/-re): New constants.
4263         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4264         aren't regexp delimiters.
4266         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4267         handling for a rare situation in AWK Mode involving unterminated
4268         strings/regexps.
4270 2013-08-23  Glenn Morris  <rgm@gnu.org>
4272         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4274         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4276         * files.el (create-file-buffer): If the result would begin with
4277         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4279 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4281         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4282         text-properties (bug#15155).
4284         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4285         exist any more.
4286         (calc-keypad-redraw): Remove unused var `pad'.
4287         (calc-keypad-press): Remove unused var `menu'.
4289 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4291         * window.el (display-buffer-pop-up-frame):
4292         Call pop-up-frame-function with BUFFER current so `make-frame' will
4293         use it as the new frame's buffer (Bug#15133).
4295 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4297         * calendar/timeclock.el: Minor cleanups.
4298         (timeclock-ask-before-exiting, timeclock-use-display-time):
4299         Use `symbol'.
4300         (timeclock-modeline-display): Define as alias before the
4301         actual definition.
4302         (timeclock-mode-line-display): Use define-minor-mode.
4303         (timeclock-day-list-template): Make it a function, add an argument.
4304         (timeclock-day-list-required, timeclock-day-list-length)
4305         (timeclock-day-list-debt, timeclock-day-list-span)
4306         (timeclock-day-list-break): Adjust calls accordingly.
4308 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4310         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4311         Use read--expression so that completion works again.
4313 2013-08-21  Sam Steingold  <sds@gnu.org>
4315         Add rudimentary inferior shell interaction
4316         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4317         (sh-set-shell): Reset it.
4318         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4319         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4321 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4323         * align.el: Use lexical-binding.
4324         (align-region): Simplify accordingly.
4326 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4328         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4330         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4331         `non-essential' up.
4333 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4335         * net/tramp.el:
4336         * net/tramp-adb.el:
4337         * net/tramp-cmds.el:
4338         * net/tramp-ftp.el:
4339         * net/tramp-gvfs.el:
4340         * net/tramp-gw.el:
4341         * net/tramp-sh.el: Don't wrap external variable declarations by
4342         `eval-when-compile'.
4344 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4346         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4347         now that Emacs supports ImageMagick animations.
4349 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4351         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4352         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4354 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4356         * window.el (mouse-autoselect-window-select): Do autoselect when
4357         mouse pointer is on margin.
4359 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4361         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4363 2013-08-16  Glenn Morris  <rgm@gnu.org>
4365         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4366         Handle "Remote Directory" response of some clients.  (Bug#15058)
4368         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4369         Tweak warning.  (Bug#14926)
4371         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4372         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4374         * image-mode.el (image-mode-map): Add menu items to reverse,
4375         increase, decrease, reset animation speed.
4376         (image--set-speed, image-increase-speed, image-decrease-speed)
4377         (image-reverse-speed, image-reset-speed): New functions.
4378         (image-mode-map): Add bindings for speed commands.
4380         * image.el (image-animate-get-speed, image-animate-set-speed):
4381         New functions.
4382         (image-animate-timeout): Respect image :speed property.
4384 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4386         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4387         previous line (bug#15101).
4388         (debugger-eval-expression, debugger-record-expression):
4389         Use read--expression (bug#15102).
4391 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4393         Remove byte compiler warnings, visible when compiling with
4394         `byte-compile-force-lexical-warnings' set to t.
4396         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4397         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4398         (tramp-handle-unhandled-file-name-directory)
4399         (tramp-handle-file-notify-add-watch, tramp-action-login)
4400         (tramp-action-succeed, tramp-action-permission-denied)
4401         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4402         arguments with "_".
4404         * net/tramp-adb.el (tramp-adb-parse-device-names)
4405         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4406         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4407         (tramp-adb-handle-file-truename): Remove unused arguments.
4409         * net/tramp-cache.el (tramp-flush-directory-property)
4410         (tramp-flush-connection-property, tramp-list-connections)
4411         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4413         * net/tramp-compat.el (tramp-compat-make-temp-file):
4414         Rename FILENAME to F.
4416         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4417         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4418         (tramp-zeroconf-parse-workstation-device-names)
4419         (tramp-zeroconf-parse-webdav-device-names)
4420         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4422         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4423         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4425         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4426         arguments.
4427         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4428         (tramp-sh-handle-insert-file-contents-literally)
4429         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4430         with "_".
4431         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4432         Remove unused variables.
4434         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4435         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4436         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4438         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4439         Make them a defconst.
4440         (tramp-uuencode-region): Remove unused variable.
4442 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4444         * frameset.el (frameset--prop-setter): New function.
4445         (frameset-prop): Add gv-setter declaration.
4446         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4447         parameter was already set in FILTERED.  Doc fix.
4448         (frameset--record-minibuffer-relationships): Allow saving a
4449         minibufferless frame without its corresponding minibuffer frame.
4450         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4451         frame, if the frame id matches.
4452         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4453         frames before orphaned ones.
4454         (frameset-restore): Warn about orphaned windows, instead of error out.
4456 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4458         * window.el (window-make-atom): Don't overwrite parameter
4459         already present.
4460         (display-buffer-in-atom-window): Handle special case where we
4461         split an already atomic window.
4462         (window--major-non-side-window, display-buffer-in-side-window)
4463         (window--side-check): Ignore minibuffer window when walking
4464         window tree.
4465         (window-deletable-p): Return 'frame only if no other frame uses
4466         our minibuffer window.
4467         (record-window-buffer): Run buffer-list-update-hook.
4468         (split-window): Make sure window--check-frame won't destroy an
4469         existing atomic window in case the new window gets nested
4470         inside.
4471         (display-buffer-at-bottom): Ignore minibuffer window when
4472         walking window tree.  Don't split a side window.
4473         (pop-to-buffer): Don't set-buffer here, the select-window call
4474         should do that.
4475         (mouse-autoselect-window-select): Autoselect only if we are in the
4476         text portion of the window.
4478 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4480         * net/shr.el (shr-parse-image-data): New function to grab both the
4481         data itself and the Content-Type.
4482         (shr-put-image): Use it.
4484         * net/eww.el (eww-display-image): Ditto.
4486         * image.el (image-content-type-suffixes): New variable.
4488 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4490         * progmodes/python.el (python-imenu--build-tree)
4491         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4493 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4495         * simple.el (backward-word): Mention the optional argument.
4497 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4499         * frameset.el (frameset--make): Rename constructor from make-frameset.
4500         (frameset-p, frameset-valid-p): Don't autoload.
4501         (frameset-valid-p): Use normal accessors.
4503 2013-08-13  Glenn Morris  <rgm@gnu.org>
4505         * progmodes/compile.el (compile-command): Tweak example in doc.
4506         * obsolete/scribe.el (scribe-mode):
4507         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4509         * mail/feedmail.el (feedmail-confirm-outgoing)
4510         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4512         * cus-start.el (truncate-partial-width-windows): Fix type.
4514         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4516         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4518 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * emacs-lisp/timer.el (timer--time-setter): New function.
4521         (timer--time): Use it as gv-setter.
4523         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4524         setter is not a symbol.
4526 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4528         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4529         if sending fails.  This makes debugging easier.
4531 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4533         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4534         revno:113793, which breaks the test suite).
4535         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4537 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4539         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4541 2013-08-12  Glenn Morris  <rgm@gnu.org>
4543         * format.el (format-annotate-function):
4544         Handle read-only text properties in the source.  (Bug#14887)
4546 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4548         * net/eww.el (eww-display-html): Ignore coding system errors.
4549         One web site uses "utf-8lias" as the coding system.
4551 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4553         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4555 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4557         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4558         (tutorial--detailed-help): Remove unused local variables.
4559         (tutorial--save-tutorial-to): Use ignore-errors.
4560         (help-with-tutorial): Use looking-at-p.
4562         * view.el (view-buffer-other-window, view-buffer-other-frame):
4563         Mark unused arguments.
4565         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4566         (woman-select-symbol-fonts, woman, woman-find-file)
4567         (woman-insert-file-contents, woman-non-underline-faces):
4568         Use string-match-p.
4569         (woman1-unquote): Move declaration.
4571         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4572         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4573         argument.  Remove unused local variable.
4574         (xml-parse-elem-type): Use string-match-p.
4575         (xml-substitute-numeric-entities): Use ignore-errors.
4577         * calculator.el (calculator): Mark unused argument.
4578         (calculator-paste, calculator-quit, calculator-integer-p):
4579         Use ignore-errors.
4580         (calculator-string-to-number, calculator-decimal, calculator-exp)
4581         (calculator-op-or-exp): Use string-match-p.
4583         * dired.el (dired-buffer-more-recently-used-p): Declare.
4584         (dired-insert-set-properties, dired-insert-old-subdirs):
4585         Use ignore-errors.
4587         * dired-aux.el (dired-compress): Use ignore-errors.
4588         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4589         (dired-do-async-shell-command, dired-do-shell-command)
4590         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4591         (dired-insert-subdir-validate): Use string-match-p.
4592         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4593         (dired-add-entry): Use string-match-p, looking-at-p.
4594         (dired-insert-subdir-newpos): Remove unused local variable.
4596         * filenotify.el (file-notify-callback): Remove unused local variable.
4598         * filesets.el (filesets-error): Mark unused argument.
4599         (filesets-which-command-p, filesets-filter-dir-names)
4600         (filesets-directory-files, filesets-get-external-viewer)
4601         (filesets-ingroup-get-data): Use string-match-p.
4603         * find-file.el (ff-other-file-name, ff-other-file-name)
4604         (ff-find-the-other-file, ff-cc-hh-converter):
4605         Remove unused local variables.
4606         (ff-get-file-name): Use string-match-p.
4607         (ff-all-dirs-under): Use ignore-errors.
4609         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4610         (follow-select-if-visible): Remove unused local variable.
4612         * forms.el (read-file-filter): Move declaration.
4613         (forms--make-format, forms--make-parser, forms-insert-record):
4614         Quote function with #'.
4615         (forms--update): Use string-match-p.  Quote function with #'.
4617         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4618         (help-make-xrefs): Use looking-at-p.
4619         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4621         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4622         (ibuffer-confirm-operation-on): Use string-match-p.
4624         * msb.el (msb-item-handler, msb-dired-item-handler):
4625         Mark unused arguments.
4627         * ses.el (ses-decode-cell-symbol)
4628         (ses-kill-override): Remove unused local variable.
4629         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4630         (ses-load): Use ignore-errors, looking-at-p.
4631         (ses-jump-safe): Use ignore-errors.
4632         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4634         * tabify.el (untabify, tabify): Mark unused arguments.
4636         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4637         Mark unused argument.
4638         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4639         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4641         * emacs-lisp/timer.el (timer--time): Define setter with
4642         gv-define-setter to avoid deprecation warning.
4644         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4645         (*record-cmpl-statistics-p*): Remove (was commented out).
4646         (cmpl-statistics-block): Remove (body was commented out).
4647         All callers changed.
4648         (add-completions-from-buffer, load-completions-from-file):
4649         Remove unused variables.
4651 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4653         * filecache.el (file-cache-delete-file-list):
4654         Print message only when told so.
4655         (file-cache-files-matching): Use #' in mapconcat argument.
4657         * ffap.el (ffap-url-at-point): Fix reference to variable
4658         thing-at-point-default-mail-uri-scheme.
4660 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * subr.el (define-error): New function.
4663         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4664         error-file-not-found and define with define-error.
4665         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4666         and define with define-error.
4667         * userlock.el (file-locked, file-supersession):
4668         * simple.el (mark-inactive):
4669         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4670         * progmodes/ada-mode.el (ada-mode-errors):
4671         * play/life.el (life-extinct):
4672         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4673         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4674         * nxml/rng-util.el (rng-error):
4675         * nxml/rng-uri.el (rng-uri-error):
4676         * nxml/rng-match.el (rng-compile-error):
4677         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4678         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4679         * nxml/nxml-rap.el (nxml-scan-error):
4680         * nxml/nxml-outln.el (nxml-outline-error):
4681         * net/soap-client.el (soap-error):
4682         * net/gnutls.el (gnutls-error):
4683         * net/ange-ftp.el (ftp-error):
4684         * mpc.el (mpc-proc-error):
4685         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4686         (json-number-format, json-string-escape, json-string-format)
4687         (json-key-format, json-object-format):
4688         * jka-compr.el (compression-error):
4689         * international/quail.el (quail-error):
4690         * international/kkc.el (kkc-error):
4691         * emacs-lisp/ert.el (ert-test-failed):
4692         * calc/calc.el (calc-error, inexact-result, math-overflow)
4693         (math-underflow):
4694         * bookmark.el (bookmark-error-no-filename):
4695         * epg.el (epg-error): Define with define-error.
4697         * time.el (display-time-event-handler)
4698         (display-time-next-load-average): Don't call sit-for since it seems
4699         unnecessary (bug#15045).
4701         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4702         Use #' instead of ' to quote functions.
4703         (checkdoc-output-mode): Use setq-local.
4704         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4705         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4706         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4707         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4708         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4709         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4710         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4711         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4713         * ido.el (ido-completion-help): Fix up compiler warning.
4715 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4717         * frameset.el (frameset-p): Add autoload cookie.
4718         (frameset--jump-to-register): New function, based on code moved from
4719         register.el.
4720         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4722         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4723         (frameset-restore, frameset-save, frameset-session-filter-alist):
4724         Remove declarations.
4725         (register-alist): Doc fix.
4726         (frameset-to-register): Move to frameset.el.
4727         (jump-to-register, describe-register-1): Remove frameset-specific code.
4729 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4731         * allout-widgets.el (allout-widgets-pre-command-business)
4732         (allout-widgets-post-command-business)
4733         (allout-widgets-after-change-handler)
4734         (allout-decorate-item-and-context, allout-set-boundary-marker)
4735         (allout-body-modification-handler)
4736         (allout-graphics-modification-handler): Mark ignored arguments.
4737         (allout-widgets-post-command-business)
4738         (allout-widgets-exposure-change-processor)
4739         (allout-widgets-exposure-undo-processor)
4740         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4741         (allout-parse-item-at-point, allout-decorate-item-guides)
4742         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4743         * allout.el (epa-passphrase-callback-function): Declare.
4744         (allout-overlay-insert-in-front-handler)
4745         (allout-overlay-interior-modification-handler)
4746         (allout-isearch-end-handler, allout-chart-siblings)
4747         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4748         (allout-yank-processing, allout-process-exposed)
4749         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4750         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4751         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4752         (lisp-indent-defform): Mark ignored arguments.
4753         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4754         (calculate-lisp-indent): Remove unused variables.
4755         * international/characters.el (indian-2-column, arabic-2-column)
4756         (tibetan): Mark ignored arguments.
4757         (use-cjk-char-width-table): Mark ignored arguments.
4758         Remove unused variables.
4759         * international/fontset.el (build-default-fontset-data)
4760         (x-compose-font-name, create-fontset-from-fontset-spec):
4761         Mark ignored arguments.
4762         (fontset-plain-name): Remove unused variables.
4763         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4764         (keyboard-coding-system): Mark ignored arguments.
4765         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4766         * help.el (resize-temp-buffer-window):
4767         * window.el (display-buffer-in-major-side-window)
4768         (display-buffer-in-side-window, display-buffer-in-previous-window):
4769         Remove unused variables.
4770         * isearch.el (isearch-forward-symbol):
4771         * version.el (emacs-bzr-version-bzr):
4772         * international/mule-cmds.el (current-language-environment):
4773         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4774         (x-handle-display):
4775         * term/pc-win.el (x-list-fonts, x-display-planes)
4776         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4777         (x-server-version, x-display-screens, x-display-mm-height)
4778         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4779         (x-selection-owner-p, x-own-selection-internal)
4780         (x-disown-selection-internal, x-get-selection-internal)
4781         (msdos-initialize-window-system):
4782         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4783         * term/x-win.el (x-handle-no-bitmap-icon):
4784         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4785         (vc-default-find-file-hook, vc-default-extra-menu):
4786         Mark ignored arguments.
4788 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4790         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4791         break-condition in the context of the debugged code (bug#12685).
4793 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4795         * comint.el:
4796         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4797         (comint-mode): Make comint-last-prompt buffer local.
4798         (comint-last-prompt): New variable.
4799         (comint-last-prompt-overlay): Remove.  Superseded by
4800         comint-last-prompt.
4801         (comint-snapshot-last-prompt, comint-output-filter):
4802         Use comint-last-prompt.
4804 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4806         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4807         (frameset-save): Check validity of the resulting frameset.
4809 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4811         * ido.el (ido-record-command): Add doc string.
4813 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4815         * frameset.el (frameset): Do not disable creation of the default
4816         frameset-p predicate.  Doc fix.
4817         (frameset-valid-p): New function, copied from the old predicate-p.
4818         Add additional checks.
4819         (frameset-restore): Check with frameset-valid-p.
4820         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4821         (frameset-name, frameset-description, frameset-properties)
4822         (frameset-states): Add docstring.
4823         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4824         (frameset-filter-alist): Doc fixes.
4826 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4828         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4830 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4832         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4833         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4834         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4835         (byte-compile-normal-call): Remove obsolescence check.
4837 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4839         * frameset.el (frameset-restore): Doc fix.
4841         * register.el (frameset-frame-id, frameset-frame-with-id)
4842         (frameset-p, frameset-restore, frameset-save): Declare.
4843         (register-alist): Document framesets.
4844         (frameset-session-filter-alist): Declare.
4845         (frameset-to-register): New function.
4846         (jump-to-register): Implement jumping to framesets.  Doc fix.
4847         (describe-register-1): Describe framesets.
4849         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4851 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4853         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4854         Use lexical-binding.
4856         * frameset.el (frameset): Use type vector, not list (incompatible
4857         change).  Do not declare a new constructor, use the default one.
4858         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4859         `name' and `description', respectively, and add read-only slot
4860         `timestamp'.  Doc fixes.
4861         (frameset-copy, frameset-persistent-filter-alist)
4862         (frameset-filter-alist, frameset-switch-to-gui-p)
4863         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4864         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4865         (frameset-filter-iconified, frameset-keep-original-display-p):
4866         Doc fixes.
4867         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4868         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4869         Doc fix.
4870         (frameset-p): Adapt to change to vector and be more thorough.
4871         Change arg name to OBJECT.  Doc fix.
4872         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4873         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4874         All callers changed.
4875         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4876         All callers changed.
4877         (frameset--record-minibuffer-relationships): Rename from
4878         frameset--process-minibuffer-frames.  All callers changed.
4879         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4880         Use new default constructor (again).  Doc fix.
4881         (frameset--find-frame-if): Rename from `frameset--find-frame.
4882         All callers changed.
4883         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4884         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4885         Doc fix.
4886         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4887         PARAMETERS and WINDOW-STATE, respectively.
4888         (frameset-restore): Add new keyword argument PREDICATE.
4889         Reset frameset--target-display to nil.  Doc fix.
4891 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4893         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4894         (bat-mode): Use it.
4895         (bat-mode-syntax-table): Mark \n as end-of-comment.
4896         (bat-font-lock-keywords): Remove comment rule.
4898         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4899         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4901         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4902         (byte-compile-callargs-warn): Use `push'.
4903         (byte-compile-arglist-warn): Ignore higher-order "calls".
4904         (byte-compile-file-form-autoload): Use `pcase'.
4905         (byte-compile-function-form): If quoting a symbol, check that it exists.
4907 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4909         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4910         and add a few popular commands found in batch files.
4911         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4912         (dos-mode): Doc fixes.
4914 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4916         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4917         (dos-mode): Use setq-local.  Add space after "rem".
4918         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4919         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4921 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4923         * progmodes/dos.el: New file.
4924         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4925         dos-mode.
4927 2013-08-06  Glenn Morris  <rgm@gnu.org>
4929         * calendar/calendar.el: Add new faces, and day-header-array.
4930         (calendar-weekday-header, calendar-weekend-header)
4931         (calendar-month-header): New faces.
4932         (calendar-day-header-construct): New function.
4933         (calendar-day-header-width): Also :set calendar-day-header-array.
4934         (calendar-american-month-header, calendar-european-month-header)
4935         (calendar-iso-month-header): Use calendar- faces.
4936         (calendar-generate-month):
4937         Use calendar-day-header-array for day headers; apply faces to them.
4938         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4939         (calendar-abbrev-construct): Add optional maxlen argument.
4940         (calendar-day-name-array): Doc fix.
4941         (calendar-day-name-array, calendar-abbrev-length)
4942         (calendar-day-abbrev-array):
4943         Also :set calendar-day-header-array, and maybe redraw.
4944         (calendar-day-header-array): New option.  (Bug#15007)
4945         (calendar-font-lock-keywords): Set to nil and make obsolete.
4946         (calendar-day-name): Add option to use header array.
4948 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4950         * net/shr.el (shr-render-td): Remove debugging.
4951         (shr-render-td): Make width computation consistent by defaulting
4952         all zero-width columns to 10 characters.  This may not be optimal,
4953         but it's at least consistent.
4954         (shr-make-table-1): Redo last change to fix the real problem in
4955         colspan handling.
4957 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4959         * files.el (cache-long-line-scans):
4960         Make obsolete alias to `cache-long-scans'.
4962 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4964         * frameset.el (frameset, frameset-filter-alist)
4965         (frameset-filter-params, frameset-save, frameset--reuse-frame)
4966         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4967         (frameset-compute-pos): Rename from frameset--compute-pos,
4968         and add docstring.
4969         (frameset-move-onscreen): Use frameset-compute-pos.
4970         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4972         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4973         Fix typos in docstrings.
4975 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4977         * frame.el (get-other-frame): Tiny cleanup.
4979 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4981         * vc/vc.el (vc-default-ignore-completion-table):
4982         Silence byte-compiler warning.
4984         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4985         slot , which can indeed be nil.
4986         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4987         Move entry for `left' from persistent to live filter alist.
4988         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4989         Doc fixes.
4990         (frameset-filter-params): When restoring a frame, copy items added to
4991         `filtered', to avoid unwittingly modifying the original parameters.
4992         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
4993         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4995         * dired.el (dired-insert-directory): Revert change in revno:113117
4996         to use looking-at-p instead of looking-at.  (Bug#15028)
4998 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5000         Revert introduction of isearch-filter-predicates (bug#14714).
5001         Rely on add-function instead.
5002         * isearch.el (isearch-filter-predicates): Rename it back to
5003         isearch-filter-predicate.
5004         (isearch-message-prefix): Use advice-function-mapc and advice
5005         properties to get the isearch-message-prefix.
5006         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5007         instead of run-hook-with-args-until-failure.
5008         (isearch-filter-visible): Not obsolete any more.
5009         * loadup.el: Preload nadvice.
5010         * replace.el (perform-replace): Revert to funcall
5011         instead of run-hook-with-args-until-failure.
5012         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5013         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5014         dired-isearch-filenames-toggle; make it into a proper minor mode.
5015         Use add/remove-function.
5016         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5017         Call the minor-mode rather than add/remove-hook.
5018         (dired-isearch-filter-filenames):
5019         Remove isearch-message-prefix property.
5020         * info.el (Info--search-loop): New function, extracted from Info-search.
5021         Funcall isearch-filter-predicate instead of
5022         run-hook-with-args-until-failure isearch-filter-predicates.
5023         (Info-search): Use it.
5024         (Info-mode): Use isearch-filter-predicate instead of
5025         isearch-filter-predicates.
5027 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5029         Do not call to `selected-window' where it is assumed by default.
5030         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5031         `window-hscroll', `window-width', `window-height', `window-buffer',
5032         `window-frame', `window-start', `window-point', `next-window'
5033         and `window-display-table'.
5034         * abbrev.el (abbrev--default-expand):
5035         * bs.el (bs--show-with-configuration):
5036         * buff-menu.el (Buffer-menu-mouse-select):
5037         * calc/calc.el (calc):
5038         * calendar/calendar.el (calendar-generate-window):
5039         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5040         (diary-make-entry):
5041         * comint.el (send-invisible, comint-dynamic-complete-filename)
5042         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5043         * completion.el (complete):
5044         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5045         * disp-table.el (describe-current-display-table):
5046         * doc-view.el (doc-view-insert-image):
5047         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5048         * ehelp.el (with-electric-help):
5049         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5050         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5051         * emacs-lisp/helper.el (Helper-help-scroller):
5052         * emulation/cua-base.el (cua--post-command-handler-1):
5053         * eshell/esh-mode.el (eshell-output-filter):
5054         * ffap.el (ffap-gnus-wrapper):
5055         * help-macro.el (make-help-screen):
5056         * hilit-chg.el (highlight-compare-buffers):
5057         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5058         * hl-line.el (global-hl-line-highlight):
5059         * icomplete.el (icomplete-simple-completing-p):
5060         * isearch.el (isearch-done):
5061         * jit-lock.el (jit-lock-stealth-fontify):
5062         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5063         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5064         * mpc.el (mpc-tagbrowser, mpc):
5065         * net/rcirc.el (rcirc-any-buffer):
5066         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5067         * play/landmark.el (landmark-max-width, landmark-max-height):
5068         * play/zone.el (zone):
5069         * progmodes/compile.el (compilation-goto-locus):
5070         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5071         * progmodes/etags.el (find-tag-other-window):
5072         * progmodes/fortran.el (fortran-column-ruler):
5073         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5074         * progmodes/verilog-mode.el (verilog-point-text):
5075         * reposition.el (reposition-window):
5076         * rot13.el (toggle-rot13-mode):
5077         * server.el (server-switch-buffer):
5078         * shell.el (shell-dynamic-complete-command)
5079         (shell-dynamic-complete-environment-variable):
5080         * simple.el (insert-buffer, set-selective-display)
5081         (delete-completion-window):
5082         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5083         (speedbar-recenter):
5084         * startup.el (fancy-splash-head):
5085         * textmodes/ispell.el (ispell-command-loop):
5086         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5087         * tutorial.el (help-with-tutorial):
5088         * vc/add-log.el (add-change-log-entry):
5089         * vc/compare-w.el (compare-windows):
5090         * vc/ediff-help.el (ediff-indent-help-message):
5091         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5092         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5093         (ediff-setup-control-frame):
5094         * vc/emerge.el (emerge-position-region):
5095         * vc/pcvs-util.el (cvs-bury-buffer):
5096         * window.el (walk-windows, mouse-autoselect-window-select):
5097         * winner.el (winner-set-conf, winner-undo): Related users changed.
5099 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5101         * frameset.el (frameset--set-id): Doc fix.
5102         (frameset-frame-id, frameset-frame-id-equal-p)
5103         (frameset-locate-frame-id): New functions.
5104         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5105         (frameset-restore): Use them.
5107 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5109         Do not call to `selected-frame' where it is assumed by default.
5110         Affected functions are `raise-frame', `redraw-frame',
5111         `frame-first-window', `frame-terminal' and `delete-frame'.
5112         * calendar/appt.el (appt-disp-window):
5113         * epg.el (epg-wait-for-completion):
5114         * follow.el (follow-delete-other-windows-and-split)
5115         (follow-avoid-tail-recenter):
5116         * international/mule.el (set-terminal-coding-system):
5117         * mail/rmail.el (rmail-mail-return):
5118         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5119         * progmodes/f90.el (f90-add-imenu-menu):
5120         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5121         * server.el (server-switch-buffer):
5122         * simple.el (delete-completion-window):
5123         * talk.el (talk):
5124         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5125         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5126         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5127         * vc/ediff.el (ediff-documentation): Related users changed.
5128         * frame.el (selected-terminal): Remove the leftover.
5130 2013-08-05  Glenn Morris  <rgm@gnu.org>
5132         * calendar/calendar.el (calendar-generate-month):
5133         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5134         (calendar-generate-month, calendar-font-lock-keywords):
5135         Fix for calendar-day-header-width > length of any day name.
5137 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5139         * desktop.el (desktop-clear): Use new name of sort predicate.
5141         * frameset.el (frameset): Add docstring.  Move :version property to its
5142         own `version' slot.
5143         (frameset-copy): Rename from copy-frameset.
5144         (frameset-p): Check more thoroughly.
5145         (frameset-prop): Do not check for :version, which is no longer a prop.
5146         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5147         Use new :never value instead of t.
5148         (frameset-filter-alist): Expand and clarify docstring.
5149         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5150         (frameset-filter-minibuffer, frameset-filter-save-param)
5151         (frameset-filter-restore-param, frameset-filter-iconified):
5152         Add pointer to docstring of frameset-filter-alist.
5153         (frameset-filter-params): Rename filter values to be more meaningful:
5154         :never instead of t, and reverse the meanings of :save and :restore.
5155         (frameset--process-minibuffer-frames): Clarify error message.
5156         (frameset-save): Avoid unnecessary and confusing call to framep.
5157         Use new BOA constructor for framesets.
5158         (frameset--reuse-list): Doc fix.
5159         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5160         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5161         (frameset-minibufferless-first-p): Doc fix.
5162         Rename from frameset-sort-frames-for-deletion.
5163         (frameset-restore): Doc fixes.  Use new function names.
5164         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5166 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5168         * desktop.el (desktop-restore-forces-onscreen)
5169         (desktop-restore-reuses-frames): Document :keyword constant values.
5170         (desktop-filter-parameters-alist): Remove, now identical to
5171         frameset-filter-alist.
5172         (desktop--filter-tty*): Remove, moved to frameset.el.
5173         (desktop-save-frameset, desktop-restore-frameset):
5174         Do not pass :filters argument.
5176         * frameset.el (frameset-live-filter-alist)
5177         (frameset-persistent-filter-alist): New variables.
5178         (frameset-filter-alist): Use them.  Add autoload cookie.
5179         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5180         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5181         `frameset--id' (it's supposed to be internal to frameset.el).
5182         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5183         (frameset--initial-params): New function.
5184         (frameset--get-frame): Use it.  Doc fix.
5185         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5186         Accept :all, not 'all.
5187         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5188         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5189         with fbound symbols.  Fix frame id matching, and remove matching ids if
5190         the frame being restored is deleted.  Obey :delete.
5192 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5194         * subr.el (macrop): New function.
5195         (text-clone--maintaining): New var.
5196         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5197         instead of inhibit-modification-hooks.
5199         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5200         a proxy, so as handle autoloads and redefinitions of the target.
5201         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5203         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5204         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5205         (pcase--mutually-exclusive-p): New function.
5206         (pcase--split-consp): Use it.
5207         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5208         mutually exclusive with the current predicate.
5210         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5211         (edebug-macrop): Remove.  Use `macrop' instead.
5212         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5213         (ad-macro-p):
5214         * eshell/esh-cmd.el (eshell-macrop):
5215         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5217 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5219         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5220         (advice-mapc): New function, using it.
5221         (advice-function-member-p): New function.
5222         (advice--normalize): Store the cdr in advice--saved-rewrite since
5223         that's the part that will be changed.
5224         (advice--symbol-function): New function.
5225         (advice-remove): Handle removal before the function is defined.
5226         Adjust to new advice--saved-rewrite.
5227         (advice-member-p): Use advice-function-member-p and
5228         advice--symbol-function.
5230 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5232         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5233         (frameset-filter-minibuffer): Doc fix.
5234         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5235         (frameset--set-id, frameset--process-minibuffer-frames)
5236         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5237         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5239         * desktop.el (desktop-clear): Only delete frames when called
5240         interactively and desktop-restore-frames is non-nil.  Doc fix.
5241         (desktop-read): Set desktop-saved-frameset to nil.
5243 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5245         * vc/vc.el (vc-ignore): Rewrite.
5246         (vc-default-ignore-completion-table):
5247         (vc--read-lines):
5248         (vc--add-line, vc--remove-regexp): New functions.
5250         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5251         (vc-svn-ignore-completion-table): New function.
5253         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5254         (vc-hg-ignore-completion-table):
5255         (vc-hg-find-ignore-file): New functions.
5257         * vc/vc-git.el (vc-git-ignore): Rewrite.
5258         (vc-git-ignore-completion-table):
5259         (vc-git-find-ignore-file): New functions.
5261         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5263         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5264         (vc-bzr-ignore-completion-table):
5265         (vc-bzr-find-ignore-file): New functions.
5267 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5269         * frameset.el (frameset-prop): New function and setter.
5270         (frameset-save): Do not modify frame list passed by the caller.
5272 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5274         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5276 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5278         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5279         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5281         * custom.el (custom-initialize-default, custom-initialize-set)
5282         (custom-initialize-reset, custom-initialize-changed): Affect the
5283         toplevel-default-value (bug#6275, bug#14586).
5284         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5285         for bug#6275.
5287 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5289         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5290         Add cl-def* expressions.
5292         * frameset.el (frameset-filter-params): Fix order of arguments.
5294 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5296         Move code related to saving frames to frameset.el.
5297         * desktop.el: Require frameset.
5298         (desktop-restore-frames): Doc fix.
5299         (desktop-restore-reuses-frames): Rename from
5300         desktop-restoring-reuses-frames.
5301         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5302         (desktop-clear): Clear frames too.
5303         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5304         (desktop--filter-tty*, desktop-save, desktop-read):
5305         Use frameset functions.
5306         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5307         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5308         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5309         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5310         (desktop--process-minibuffer-frames, desktop-save-frames)
5311         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5312         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5313         (desktop--sort-states, desktop-restoring-frames-p)
5314         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5315         (desktop-restoring-frameset-p, desktop-restore-frameset)
5316         (desktop--check-dont-save, desktop-save-frameset): New functions.
5317         (desktop--app-id): New constant.
5318         (desktop-first-buffer, desktop-buffer-ok-count)
5319         (desktop-buffer-fail-count): Move before first use.
5320         * frameset.el: New file.
5322 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5324         * files.el: Use lexical-binding.
5325         (dir-locals-read-from-file): Remove unused `err' variable.
5326         (hack-dir-local-variables--warned-coding): New var.
5327         (hack-dir-local-variables): Use it to avoid repeated warnings.
5328         (make-backup-file-name--default-function): New function.
5329         (make-backup-file-name-function): Use it as default.
5330         (buffer-stale--default-function): New function.
5331         (buffer-stale-function): Use it as default.
5332         (revert-buffer-insert-file-contents--default-function): New function.
5333         (revert-buffer-insert-file-contents-function): Use it as default.
5334         (insert-directory): Avoid add-to-list.
5336         * autorevert.el (auto-revert-handler): Simplify.
5337         Use buffer-stale--default-function.
5339 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5341         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5343         * whitespace.el (whitespace-ensure-local-variables): New function.
5344         (whitespace-cleanup-region): Call it.
5345         (whitespace-turn-on): Call it.
5347 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5349         Complete file name handlers.
5351         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5352         (tramp-handle-verify-visited-file-modtime)
5353         (tramp-handle-file-notify-rm-watch): New functions.
5354         (tramp-call-process): Do not bind `default-directory'.
5356         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5357         Order alphabetically.
5358         [access-file, add-name-to-file, dired-call-process]:
5359         [dired-compress-file, file-acl, file-notify-rm-watch]:
5360         [file-ownership-preserved-p, file-selinux-context]:
5361         [make-directory-internal, make-symbolic-link, set-file-acl]:
5362         [set-file-selinux-context, set-visited-file-modtime]:
5363         [verify-visited-file-modtime]: Add handler.
5364         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5366         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5367         [file-notify-add-watch, file-notify-rm-watch]:
5368         [set-file-times, set-visited-file-modtime]:
5369         [verify-visited-file-modtime]: Add handler.
5370         (with-tramp-gvfs-error-message)
5371         (tramp-gvfs-handle-set-visited-file-modtime)
5372         (tramp-gvfs-fuse-file-name): Remove.
5373         (tramp-gvfs-handle-file-notify-add-watch)
5374         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5375         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5377         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5378         Order alphabetically.
5379         [file-notify-rm-watch ]: Use default Tramp handler.
5380         [executable-find]: Remove private handler.
5381         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5382         `default-directory'.
5383         (tramp-sh-handle-executable-find)
5384         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5385         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5386         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5387         Do not use `format' in `tramp-message'.
5389         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5390         [file-notify-rm-watch, set-visited-file-modtime]:
5391         [verify-visited-file-modtime]: Add handler.
5392         (tramp-smb-call-winexe): Do not bind `default-directory'.
5394 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5396         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5398 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5400         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5401         use it.
5402         (log-view-diff-changeset): Same.
5403         (log-view-diff-common): Call backend command `previous-revision'
5404         to find out the previous revision, in both cases.  Swap the
5405         variables `to' and `fr', so that `fr' usually refers to the
5406         earlier revision (Bug#14989).
5408 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5410         * ibuf-ext.el (ibuffer-filter-by-filename):
5411         Make it work with dired buffers too.
5413 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5415         * emacs-lisp/re-builder.el (reb-color-display-p):
5416         * files.el (save-buffers-kill-terminal):
5417         * net/browse-url.el (browse-url):
5418         * server.el (server-save-buffers-kill-terminal):
5419         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5420         Prefer nil to selected-frame for the first arg of frame-parameter.
5422 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5424         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5426 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5428         * minibuffer.el (completion--twq-all): Try and preserve each
5429         completion's case choice (bug#14907).
5431 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5433         * net/network-stream.el (open-network-stream): Mention the new
5434         :nogreeting parameter.
5435         (network-stream-open-starttls): Use the :nogreeting parameter
5436         (bug#14938).
5438         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5440         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5441         more natural than popping.
5443         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5444         (shr-urlify): Highlight under mouse.
5446 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5448         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5450         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5452         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5453         buffer for output.
5455         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5456         point-min==1.  Fix search string.  Fix parentheses missing.
5458         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5459         assume point-min==1.  Fix search string.  Fix parentheses missing.
5461         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5463         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5464         buffer for output.
5466 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5468         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5469         initial frame is minibuffer-less.  (Bug#14841)
5471 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5473         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5474         option.
5476         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5477         (tramp-maybe-open-connection): Use it.
5479 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5481         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5482         minimal set of parameters passed when creating a frame, because
5483         the minibuffer status of a frame cannot be changed later.
5485 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5487         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5488         replace-regexp-in-string and inadvertent omissions in previous change.
5489         (todo-filter-items): Ensure only file names are comma-separated in
5490         name of filtered items buffer.
5492 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5494         * desktop.el: Optionally force offscreen frames back onscreen.
5495         (desktop-restoring-reuses-frames): New option.
5496         (desktop--compute-pos, desktop--move-onscreen): New functions.
5497         (desktop--make-frame): Use desktop--move-onscreen.
5499 2013-07-27  Alan Mackenzie  <acm@muc.de>
5501         Fontify a Java generic method as a function.
5502         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5503         value to t.
5505 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5507         * calendar/todo-mode.el: Add command to rename todo files.
5508         (todo-rename-file): New command.
5509         (todo-key-bindings-t): Add key binding for it.  Change the
5510         bindings of todo-filter-regexp-items(-multifile) to use `x'
5511         instead of `r', since the latter is better suited to the new
5512         renaming command.
5514 2013-07-27  Alan Mackenzie  <acm@muc.de>
5516         Make Java try-with-resources statement parse properly.
5517         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5518         (c-block-stmt-1-2-key): New language constants/variables.
5519         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5520         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5521         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5522         with c-block-stmt-1-2-key.
5524 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5526         * desktop.el (desktop--make-frame): Apply most frame parameters after
5527         creating the frame to force (partially or totally) offscreen frames to
5528         be restored as such.
5530 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5532         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5533         (Bug#14948)
5535 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5537         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5538         `base' arg of backtrace-frame.
5540 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5542         * simple.el (list-processes): Doc fix.
5544 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5546         * desktop.el (desktop--select-frame):
5547         Try harder to reuse existing frames.
5549 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5552         (edebug-eval): Use backtrace-eval.
5553         (edebug--display, edebug--recursive-edit): Don't let-bind the
5554         edebug-outer-* vars that keep track of variables we locally let-bind.
5555         (edebug-outside-excursion): Don't restore outside values of locally
5556         let-bound vars.
5557         (edebug--display): Use user-error.
5558         (cl-lexical-debug, cl-debug-env): Remove.
5560 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5562         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5563         are restored to be sure that they are visible before deleting any
5564         remaining ones.
5566 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5568         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5569         vc-print-root-log.  (Bug#14948)
5571 2013-07-26  Richard Stallman  <rms@gnu.org>
5573         Add aliases for encrypting mail.
5574         * epa.el (epa-mail-aliases): New option.
5575         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5576         Bind inhibit-read-only so read-only text doesn't ruin everything.
5577         (epa-mail-default-recipients): New subroutine broken out.
5578         Handle epa-mail-aliases.
5580 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5582         Add support for lexical variables to the debugger's `e' command.
5583         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5584         vars, except for debugger-outer-match-data.
5585         (debugger-frame-number): Move check for "on a function call" from
5586         callers into it.  Add `skip-base' argument.
5587         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5588         (debugger-env-macro): Only reset the state stored in non-variables,
5589         i.e. current-buffer and match-data.
5590         (debugger-eval-expression): Rewrite using backtrace-eval.
5591         * subr.el (internal--called-interactively-p--get-frame): Remove.
5592         (called-interactively-p):
5593         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5594         `base' arg of backtrace-frame instead.
5596 2013-07-26  Glenn Morris  <rgm@gnu.org>
5598         * align.el (align-regexp): Doc fix.  (Bug#14857)
5599         (align-region): Explicit error if subexpression missing/does not match.
5601         * simple.el (global-visual-line-mode):
5602         Do not duplicate the mode lighter.  (Bug#14858)
5604 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5606         * window.el (display-buffer): In display-buffer bind
5607         split-window-keep-point to t, bug#14829.
5609 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5611         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5612         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5613         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5614         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5615         Change accordingly.
5616         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5617         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5619 2013-07-25  Glenn Morris  <rgm@gnu.org>
5621         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5623 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5625         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5626         parameter to modify-frame-parameters if the value has not changed;
5627         this is a workaround for bug#14949.
5628         (desktop--make-frame): On cl-delete-if call, check parameter name,
5629         not full parameter.
5631 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5633         * vc/vc.el (vc-ignore): New function.
5635         * vc/vc-svn.el (vc-svn-ignore): New function.
5637         * vc/vc-hg.el (vc-hg-ignore): New function.
5639         * vc/vc-git.el (vc-git-ignore): New function.
5641         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5642         (vc-dir-ignore): New function.
5644         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5645         (cvs-append-to-ignore): Move here from pcvs.el.
5647         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5649         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5651 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5653         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5654         (desktop-restore-frames): Warn when deleting an existing frame failed.
5656 2013-07-24  Glenn Morris  <rgm@gnu.org>
5658         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5660 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5662         * filenotify.el (file-notify-supported-p):
5663         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5664         Remove functions.
5666         * autorevert.el (auto-revert-use-notify):
5667         (auto-revert-notify-add-watch):
5668         * net/tramp.el (tramp-file-name-for-operation):
5669         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5670         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5671         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5672         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5673         Remove `file-notify-supported-p' entry.
5675 2013-07-24  Glenn Morris  <rgm@gnu.org>
5677         * printing.el: Replace all uses of deleted ps-windows-system,
5678         ps-lp-system, ps-flatten-list with lpr- versions.
5680 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5682         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5683         checked with memq (bug#14935).
5685         * files.el (revert-buffer-function): Use a non-nil default.
5686         (revert-buffer-preserve-modes): Declare var to
5687         provide access to the `preserve-modes' argument.
5688         (revert-buffer): Let-bind it.
5689         (revert-buffer--default): New function, extracted from revert-buffer.
5691 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5693         * lpr.el: Signal print errors more prominently.
5694         (print-region-function): Don't default to nil.
5695         (lpr-print-region): New function, extracted from print-region-1.
5696         Check lpr's return value and signal an error in case of problem.
5697         (print-region-1): Use it.
5698         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5699         versions instead.
5700         (ps-printer-name): Default to nil.
5701         (ps-printer-name-option): Default to lpr-printer-switch.
5702         (ps-print-region-function): Don't default to nil.
5703         (ps-postscript-code-directory): Simplify default.
5704         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5705         (ps-string-list, ps-eval-switch, ps-flatten-list)
5706         (ps-flatten-list-1): Remove.
5707         (ps-multibyte-buffer): Avoid setq.
5708         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5709         (print-region-function, ps-print-region-function): Don't set them here.
5711 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5713         * ido.el (ido-fractionp):
5714         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5715         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5716         (ido-max-directory-size, ido-max-dir-file-cache)
5717         (ido-decorations): Doc fix.
5719         * ansi-color.el: Fix old URL.
5721 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5723         * progmodes/sql.el: Version 3.3
5724         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5725         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5726         (sql-interactive-remove-continuation-prompt): Rewrite, use
5727         functions above.  Fix continuation prompt and complete output line
5728         handling.
5729         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5730         redirected output buffer.
5731         (sql-mode): Restore deleted code (Bug#13591).
5733 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5735         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5737 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5739         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5741         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5742         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5743         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5745 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5747         * desktop.el (desktop-clear): Simplify; remove useless checks
5748         against invalid buffer names.
5749         (desktop-list*): Use cl-list*.
5750         (desktop-buffer-info, desktop-create-buffer): Simplify.
5752 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5754         * bookmark.el (bookmark-make-record): Restore NAME as a default
5755         value.  (Bug#14933)
5757 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5759         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5760         extracted from autoload--insert-text.
5761         (autoload--insert-text): Remove.
5762         (autoload--print-cookie-text): New function, extracted from
5763         autoload--insert-cookie-text.
5764         (autoload--insert-cookie-text): Remove.
5765         (autoload-generate-file-autoloads): Adjust calls accordingly.
5767         * winner.el (winner-hook-installed-p): Remove.
5768         (winner-mode): Simplify accordingly.
5770         * subr.el (add-to-list): Fix compiler-macro when `append' is
5771         not constant.  Don't use `cl-member' for the base case.
5773         * progmodes/subword.el: Fix boundary case (bug#13758).
5774         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5775         own group.
5776         (subword-backward-regexp): Make it a constant.
5777         (subword-forward-internal): Don't treat a trailing capital as the
5778         beginning of a word.
5780 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5782         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5783         global value of tabulated-list-revert-hook (bug#14930).
5785 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5787         * desktop.el: Require 'cl-lib.
5788         (desktop-before-saving-frames-functions): New hook.
5789         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5790         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5791         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5792         Do not save frames with non-nil `desktop-dont-save' parameter.
5793         Filter out deleted frames.
5794         (desktop--find-frame): Use cl-find-if.
5795         (desktop--select-frame): Use cl-(first|second|third) to access values
5796         of desktop-mini.
5797         (desktop--make-frame): Use cl-delete-if.
5798         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5799         (desktop-restore-frames): Use cl-(first|second|third) to access values
5800         of desktop-mini.  Look for visible frame at the end, not while
5801         restoring frames.
5803         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5804         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5805         Use string-match-p, looking-at-p (bug#14927).
5807 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5809         * desktop.el (desktop-saved-frame-states):
5810         Rename from desktop--saved-states; all users changed.
5811         (desktop-save-frames): Rename from desktop--save-frames.
5812         Do not save state to desktop file.
5813         (desktop-save): Save desktop-saved-frame-states to desktop file
5814         and reset to nil.
5815         (desktop-restoring-frames-p): New function.
5816         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5817         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5818         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5820         * desktop.el: Correctly restore iconified frames.
5821         (desktop--filter-iconified-position): New function.
5822         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5824 2013-07-20  Glenn Morris  <rgm@gnu.org>
5826         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5827         Let `message' do the formatting.
5828         (def-gdb-preempt-display-buffer): Add explicit format.
5830         * image-dired.el (image-dired-track-original-file):
5831         Use with-current-buffer.
5832         (image-dired-track-thumbnail): Use with-current-buffer.
5833         Avoid changing point of wrong window.
5835         * image-dired.el (image-dired-track-original-file):
5836         Avoid changing point of wrong window.  (Bug#14909)
5838 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5840         * progmodes/gdb-mi.el (gdb-done-or-error):
5841         Guard against "%" in gdb output.  (Bug#14127)
5843 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5845         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5846         (Bug#14826)
5848         * international/mule.el (coding-system-iso-2022-flags): Fix last
5849         change.
5851 2013-07-20  Kenichi Handa  <handa@gnu.org>
5853         * international/mule.el (coding-system-iso-2022-flags):
5854         Add `8-bit-level-4'.  (Bug#8522)
5856 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5858         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5859         (bug#14815).
5861         * net/eww.el (eww-process-text-input): Allow inputting when the
5862         point is at the start of the line, as the properties aren't
5863         front-sticky.
5865         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5866         degenerate widths.
5868 2013-07-19  Richard Stallman  <rms@gnu.org>
5870         * epa.el (epa-popup-info-window): Doc fix.
5872         * subr.el (split-string): New arg TRIM.
5874 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5876         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5877         Add check for W32 (followup to revno:113431).
5879 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5881         * filenotify.el (file-notify--library): Rename from
5882         `file-notify-support'.  Do not autoload.  Adapt all uses.
5883         (file-notify-supported-p): New defun.
5885         * autorevert.el (auto-revert-use-notify):
5886         Use `file-notify-supported-p' instead of `file-notify-support'.
5887         Adapt docstring.
5888         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5890         * net/tramp.el (tramp-file-name-for-operation):
5891         Add `file-notify-supported-p'.
5893         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5894         New defun.
5895         (tramp-sh-file-name-handler-alist): Add it as handler for
5896         `file-notify-supported-p '.
5898         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5899         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5900         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5901         Add `ignore' as handler for `file-notify-*' functions.
5903 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5905         * simple.el (line-move-partial, line-move): Don't start vscroll or
5906         scroll-up if the current line is not taller than the window.
5907         (Bug#14881)
5909 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5911         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5912         highlight question marks in the method names as strings.
5913         (ruby-block-beg-keywords): Inline.
5914         (ruby-font-lock-keyword-beg-re): Extract from
5915         `ruby-font-lock-keywords'.
5917 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5919         * frame.el (blink-cursor-blinks): New defcustom.
5920         (blink-cursor-blinks-done): New defvar.
5921         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5922         (blink-cursor-timer-function): Check if number of blinks has been
5923         done on X and NS.
5924         (blink-cursor-suspend, blink-cursor-check): New defuns.
5926 2013-07-15  Glenn Morris  <rgm@gnu.org>
5928         * edmacro.el (edmacro-format-keys): Fix previous change.
5930 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5932         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5933         The hack didn't work outside English locales anyway.
5935 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5937         * simple.el (define-alternatives): Rename from alternatives-define,
5938         per RMS' suggestion.
5940 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5942         * desktop.el (desktop-restore-frames): Change default to t.
5943         (desktop-restore-in-current-display): Now offer more options.
5944         (desktop-restoring-reuses-frames): New customization option.
5945         (desktop--saved-states): Doc fix.
5946         (desktop-filter-parameters-alist): New variable, renamed and expanded
5947         from desktop--excluded-frame-parameters.
5948         (desktop--target-display): New variable.
5949         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5950         (desktop--filter-tty*, desktop--filter-*-color)
5951         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5952         (desktop--filter-save-desktop-parm)
5953         (desktop-restore-in-original-display-p): New functions.
5954         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5955         (desktop--save-minibuffer-frames): New function, inspired by a similar
5956         function from Martin Rudalics.
5957         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5958         (desktop--restore-in-this-display-p): Remove.
5959         (desktop--find-frame): Rename from desktop--find-frame-in-display
5960         and add predicate argument.
5961         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5962         (desktop--reuse-list): New variable.
5963         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5964         New functions.
5965         (desktop--restore-frames): Add support for "minibuffer-special" frames.
5967 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
5969         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5971 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
5973         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5974         Highlight conversion methods on Kernel.
5976 2013-07-13  Alan Mackenzie  <acm@muc.de>
5978         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5979         and comment it out.  This out-commenting enables certain C++
5980         declarations to be parsed correctly.
5982 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
5984         * international/mule.el (define-coding-system): Doc fix.
5986         * simple.el (default-font-height): Don't call font-info if the
5987         frame's default font didn't change since the frame was created.
5988         (Bug#14838)
5990 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5992         * ido.el (ido-read-file-name): Guard against non-symbol value.
5994 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5996         * progmodes/python.el (python-imenu--build-tree): Fix corner case
5997         in nested defuns.
5999 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6001         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6002         ido-set-matches call.  (Bug#6852)
6004 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6006         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6007         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6008         Ruby 2.0.
6009         (ruby-font-lock-keywords): Distinguish calls to functions with
6010         module-like names from module references.  Highlight character
6011         literals.
6013 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6015         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6016         (gdb-send): Handle continued commands.  (Bug#14847)
6018 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6020         * desktop.el (desktop--v2s): Remove unused local variable.
6021         (desktop-save-buffer): Make defvar-local; adjust docstring.
6022         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6023         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6025 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6027         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6029 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6031         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6032         (Bug#14842)
6034 2013-07-12  Glenn Morris  <rgm@gnu.org>
6036         * doc-view.el: Require cl-lib at runtime too.
6037         (doc-view-remove-if): Remove.
6038         (doc-view-search-next-match, doc-view-search-previous-match):
6039         Use cl-remove-if.
6041         * edmacro.el: Require cl-lib at runtime too.
6042         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6043         (edmacro-mismatch, edmacro-subseq): Remove.
6045         * shadowfile.el: Require cl-lib.
6046         (shadow-remove-if): Remove.
6047         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6048         Use cl-remove-if.
6050         * wid-edit.el: Require cl-lib.
6051         (widget-choose): Use cl-remove-if.
6052         (widget-remove-if): Remove.
6054         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6055         (ebrowse-delete-if-not): Remove.
6056         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6057         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6058         Use cl-delete-if-not.
6060 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6062         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6063         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6065 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6067         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6069 2013-07-11  Glenn Morris  <rgm@gnu.org>
6071         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6072         (edebug-gensym-index, edebug-gensym):
6073         Remove reimplementation of cl-gensym.
6074         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6076         * thumbs.el: Require cl-lib at run-time too.
6077         (thumbs-gensym-counter, thumbs-gensym):
6078         Remove reimplementation of cl-gensym.
6079         (thumbs-temp-file): Use cl-gensym.
6081         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6082         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6083         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6084         (ert--union, ert--gensym-counter, ert--gensym-counter)
6085         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6086         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6087         (ert-make-test-unbound, ert--expand-should-1)
6088         (ert--expand-should, ert--should-error-handle-error)
6089         (should-error, ert--explain-equal-rec)
6090         (ert--plist-difference-explanation, ert-select-tests)
6091         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6092         Use cl-lib functions rather than reimplementations.
6094 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6096         * net/tramp.el (tramp-methods): Extend docstring.
6097         (tramp-connection-timeout): New defcustom.
6098         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6099         (with-tramp-progress-reporter): Simplify.
6100         (tramp-process-actions): Improve messages.
6102         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6103         * net/tramp-sh.el (tramp-maybe-open-connection):
6104         Use `tramp-connection-timeout'.
6105         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6106         (Bug#14808)
6108 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6110         * ido.el (ido-read-file-name): Conform to the requirements of
6111         read-file-name.  (Bug#11861)
6112         (ido-read-directory-name): Conform to the requirements of
6113         read-directory-name.
6115 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6117         * subr.el (delay-warning): New function.
6119 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6121         * simple.el (default-line-height): New function.
6122         (line-move-partial, line-move): Use it instead of computing the
6123         line height inline.
6124         (line-move-partial): Always compute ROWH.  If the last line is
6125         partially-visible, but its text is completely visible, allow
6126         cursor to enter such a partially-visible line.
6128 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6130         Improve error messages.  (Bug#14808)
6132         * net/tramp.el (tramp-current-connection): New defvar, moved from
6133         tramp-sh.el.
6134         (tramp-message-show-progress-reporter-message): Remove, not
6135         needed anymore.
6136         (tramp-error-with-buffer): Show message in minibuffer.
6137         Discard input before waiting.  Reset connection timestamp.
6138         (with-tramp-progress-reporter): Improve messages.
6139         (tramp-process-actions): Use progress reporter.  Delete process in
6140         case of error.  Improve messages.
6142         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6143         Call `tramp-error-with-buffer' with vector and buffer.
6144         (tramp-current-connection): Remove.
6145         (tramp-maybe-open-connection): The car of
6146         `tramp-current-connection' are the first 3 slots of the vector.
6148 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6150         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6151         inside continued strings.
6153 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6155         Timestamp fixes for undo (Bug#14824).
6156         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6158 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6160         * files.el (require-final-newline): Allow safe local value.
6161         (Bug#14834)
6163 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6165         * ido.el (ido-read-directory-name): Handle fallback.
6166         (ido-read-file-name): Update DIR to ido-current-directory.
6167         (Bug#1516)
6168         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6170 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6172         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6173         "autoload".  Remove "warn lower camel case" section, previously
6174         commented out.  Highlight negation char.  Do not highlight the
6175         target in singleton method definitions.
6177 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6179         * faces.el (tty-setup-hook): Declare the hook.
6181         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6182         and detect when a guard/pred depends on local vars (bug#14773).
6183         (pcase--u1): Adjust caller.
6185 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6187         * simple.el (line-move-partial, line-move): Account for
6188         line-spacing.
6189         (line-move-partial): Avoid setting vscroll when the last
6190         partially-visible line in window is of default height.
6192 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6194         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6195         been used a while.
6197 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6199         * subr.el (read-quoted-char): Remove unused local variable `char'.
6201 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6203         * ediff.el (ediff-version): Version update.
6204         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6205         (ediff-merge-with-ancestor-command, ediff-directories-command)
6206         (ediff-directories3-command, ediff-merge-directories-command)
6207         (ediff-merge-directories-with-ancestor-command): New functions.
6208         All are command-line interfaces to ediff: to facilitate calling
6209         Emacs with the appropriate ediff functions invoked.
6211         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6212         (viper-save-kill-buffer): Check if buffer is modified.
6214         * viper.el (viper-version): Version update.
6215         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6217 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6219         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6220         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6221         (viper-intercept-ESC-key): Simplify.
6222         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6223         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6224         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6225         (viper-setup-ESC-to-escape): New functions.
6226         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6227         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6229 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6231         * simple.el (default-font-height, window-screen-lines):
6232         New functions.
6233         (line-move, line-move-partial): Use them instead of
6234         frame-char-height and window-text-height.  This makes scrolling
6235         text smoother when the buffer's default face uses a font that is
6236         different from the frame's default font.
6238 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6240         * files.el (write-file): Do not display confirm dialog for NS,
6241         it does its own dialog, which can't be cancelled (Bug#14578).
6243 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6245         * simple.el (line-move-partial): Adjust the row returned by
6246         posn-at-point for the current window-vscroll.  (Bug#14567)
6248 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6250         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6251         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6252         spaces.
6254 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6256         * window.el (window-state-put-stale-windows): New variable.
6257         (window--state-put-2): Save list of windows without matching buffer.
6258         (window-state-put): Remove "bufferless" windows if possible.
6260 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6262         * simple.el (alternatives-define): Remove leftover :group keyword.
6263         Tweak docstring.
6265 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6267         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6268         (ido-enable-virtual-buffers): New variable.
6269         (ido-buffer-internal, ido-toggle-virtual-buffers)
6270         (ido-make-buffer-list): Use it.
6271         (ido-exhibit): Support turning on and off virtual buffers
6272         automatically.
6274 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6276         * simple.el (alternatives-define): New macro.
6278 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         * subr.el (read-quoted-char): Use read-key.
6281         (sit-for): Let read-event decode tty input (bug#14782).
6283 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6285         * calendar/todo-mode.el: Add handling of file deletion, both by
6286         mode command and externally.  Fix various related bugs.
6287         Clarify Commentary and improve some documentation strings and code.
6288         (todo-delete-file): New command.
6289         (todo-check-file): New function.
6290         (todo-show): Handle external deletion of the file we're trying to
6291         show (bug#14688).  Replace called-interactively-p by an optional
6292         prefix argument to avoid problematic interaction with catch form
6293         when byte compiled (bug#14702).
6294         (todo-quit): Handle external deletion of the archive's todo file.
6295         Make sure the buffer that was visiting the archive file is still
6296         live before trying to bury it.
6297         (todo-category-completions): Handle external deletion of any
6298         category completion files.
6299         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6300         of todo files, in case of external deletion.
6301         (todo-add-file): Replace unnecessary setq by let-binding.
6302         (todo-find-archive): Check whether there are any archives.
6303         Replace unnecessary setq by let-binding.
6304         (todo-archive-done-item): Use find-file-noselect to get the
6305         archive buffer whether or not the archive already exists.
6306         Remove superfluous code.  Use file size instead of buffer-file-name to
6307         check if the archive is new; if it is, update list of archives.
6308         (todo-default-todo-file): Allow nil to be a valid value for when
6309         there are no todo files.
6310         (todo-reevaluate-default-file-defcustom): Use corrected definition
6311         of todo-default-todo-file.
6312         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6313         (todo-delete-category, todo-show-categories-table)
6314         (todo-category-number): Clarify comment.
6315         (todo-filter-items): Clarify documentation string.
6316         (todo-show-current-file, todo-display-as-todo-file)
6317         (todo-reset-and-enable-done-separator): Tweak documentation string.
6318         (todo-done-separator): Make separator length window-width, since
6319         bug#2749 is now fixed.
6321 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6323         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6324         Support both "gvfs-monitor-dir" and "inotifywait".
6325         (tramp-sh-file-inotifywait-process-filter): Rename from
6326         `tramp-sh-file-notify-process-filter'.
6327         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6328         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6330 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6332         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6334 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6336         * frame.el (display-pixel-height, display-pixel-width)
6337         (display-mm-height, display-mm-width): Mention behavior on
6338         multi-monitor setups in docstrings.
6339         (w32-display-monitor-attributes-list): Declare function.
6340         (display-monitor-attributes-list): Use it.
6342 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6344         * filenotify.el: New package.
6346         * autorevert.el (top): Require filenotify.el.
6347         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6348         instead.
6349         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6350         (auto-revert-notify-handler): Use `file-notify-*' functions.
6352         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6354         * net/tramp.el (tramp-file-name-for-operation):
6355         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6357         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6358         for `file-notify-add-watch' and `file-notify-rm-watch'.
6359         (tramp-process-sentinel): Improve trace.
6360         (tramp-sh-handle-file-notify-add-watch)
6361         (tramp-sh-file-notify-process-filter)
6362         (tramp-sh-handle-file-notify-rm-watch)
6363         (tramp-get-remote-inotifywait): New defuns.
6365 2013-07-03  Juri Linkov  <juri@jurta.org>
6367         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6368         call of `occur-read-primary-args' to interactive spec.
6370         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6371         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6373 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6375         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6376         `Buffer-menu-multi-occur'.  Add it to the menu.
6377         (Buffer-menu-mode): Document it in docstring.
6378         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6380 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6382         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6383         keywords and built-ins.
6385 2013-07-03  Glenn Morris  <rgm@gnu.org>
6387         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6389         Make info-xref checks case-sensitive by default
6390         * info.el (Info-find-node, Info-find-in-tag-table)
6391         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6392         Add option for exact case matching of nodes.
6393         * info-xref.el (info-xref): New custom group.
6394         (info-xref-case-fold): New option.
6395         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6397 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6399         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6401 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6403         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6404         middle of block statement initially, lower the depth.  Remove
6405         FIXME comment, not longer valid.  Remove middle of block statement
6406         detection, no need to do that anymore since we've been using
6407         `ruby-parse-region' here.
6409 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6411         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6413 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6415         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6417 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6419         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6420         (desktop-restore-in-current-display): New customization option.
6421         (desktop--excluded-frame-parameters): Add `font'.
6422         (desktop--save-frames): Rename from desktop--save-windows.
6423         (desktop--restore-in-this-display-p): New function.
6424         (desktop--make-full-frame): Remove unwanted width/height from
6425         full(width|height) frames.
6426         (desktop--restore-frames): Rename from desktop--restore-windows.
6427         Obey desktop-restore-current-display.  Do not delete old frames or
6428         select a new frame unless we were able to restore at least one frame.
6430 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6432         * files.el (find-file-noselect): Simplify conditional expression.
6434         * remember.el (remember-append-to-file):
6435         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6437         Add `remember-notes' function to store random notes across Emacs
6438         restarts.
6439         * remember.el (remember-data-file): Add :set callback to affect
6440         notes buffer (if any).
6441         (remember-notes): New command.
6442         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6443         New defcustoms for the `remember-notes' function.
6444         (remember-notes-save-and-bury-buffer): New command.
6445         (remember-notes-mode-map): New variable.
6446         (remember-mode): New minor mode.
6447         (remember-notes--kill-buffer-query): New function.
6448         * startup.el (initial-buffer-choice): Add notes to custom type.
6450 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6452         * bindings.el (right-char, left-char): Don't call sit-for, this is
6453         no longer needed.  Use arithmetic comparison only for numerical
6454         arguments.
6456         * international/mule-cmds.el (select-safe-coding-system):
6457         Handle the case of FROM being a string correctly.  (Bug#14755)
6459 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6461         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6462         progression on degenerate tables.
6463         (shr-rescale-image): ImageMagick animated images currently don't work.
6465 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6467         Some fixes and improvements for desktop frame restoration.
6468         It is still experimental and disabled by default.
6469         * desktop.el (desktop--save-windows): Put the selected frame at
6470         the head of the list.
6471         (desktop--make-full-frame): New function.
6472         (desktop--restore-windows): Try to re-select the frame that was
6473         selected upon saving.  Do not abort if some frames fail to restore,
6474         just show an error message and continue.  Set up maximized frames
6475         so they have default non-maximized dimensions.
6477 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6479         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6480         Don't start heredoc inside a string or comment.
6482 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6484         * bindings.el (visual-order-cursor-movement): New defcustom.
6485         (right-char, left-char): Provide visual-order cursor motion by
6486         calling move-point-visually.  Update the doc strings.
6488 2013-06-28  Kenichi Handa  <handa@gnu.org>
6490         * international/mule.el (define-coding-system): New coding system
6491         properties :inhibit-null-byte-detection,
6492         :inhibit-iso-escape-detection, and :prefer-utf-8.
6493         (set-buffer-file-coding-system): If :charset-list property of
6494         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6495         appropriate for setting.
6497         * international/mule-cmds.el (select-safe-coding-system):
6498         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6499         multibyte characters, return utf-8 (or one of its siblings).
6501         * international/mule-conf.el (prefer-utf-8): New coding system.
6502         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6503         files.
6505 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6507         * net/shr.el (shr-render-region): New function.
6509         * net/eww.el: Autoload `eww-browse-url'.
6511 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6513         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6514         Adapt to `package-desc-version' being a list.
6515         Use `package--ac-desc-version' to retrieve version from a package
6516         archive element.
6518 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6520         New experimental feature to save&restore window and frame setup.
6521         * desktop.el (desktop-save-windows): New defcustom.
6522         (desktop--saved-states): New var.
6523         (desktop--excluded-frame-parameters): New defconst.
6524         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6525         (desktop--restore-windows, desktop--save-windows): New functions.
6526         (desktop-save): Call `desktop--save-windows'.
6527         (desktop-read): Call `desktop--restore-windows'.
6529 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6531         * net/shr.el (add-face-text-property): Remove compat definition.
6533 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6535         * info.el (Info-try-follow-nearest-node): Move search for footnote
6536         above search for node name to prevent missing a footnote (bug#14717).
6538 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6540         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6542 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6544         * net/eww.el (eww-read-bookmarks): Check file size.
6546 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6548         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6549         advice--pending if newdef is nil or an autoload (bug#13820).
6550         (advice-mapc): New function.
6552 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6554         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6555         probably.
6556         (eww-mode-map): Add a menu bar.
6557         (eww-add-bookmark): New command.
6558         (eww-bookmark-mode): New mode and commands.
6559         (eww-add-bookmark): Remove newlines from the title.
6560         (eww-bookmark-browse): Don't bug out if it's the only window.
6562 2013-06-26  Glenn Morris  <rgm@gnu.org>
6564         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6565         (hfy-size): Handle ttys.  (Bug#14668)
6567         * info-xref.el: Update for Texinfo 5 change in *note format.
6568         (info-xref-node-re, info-xref-note-re): New constants.
6569         (info-xref-check-buffer): Use info-xref-note-re.
6571 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6573         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6575         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6576         nil terminate the loop (bug#14718).
6578 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6580         * net/eww.el: Rework history traversal.  When going forward/back,
6581         put these actions into the history, too, so that they can be
6582         replayed.
6583         (eww-render): Move the history reset to the correct buffer.
6585 2013-06-25  Juri Linkov  <juri@jurta.org>
6587         * files-x.el (modify-dir-local-variable): Change the header comment
6588         in the file with directory local variables.  (Bug#14692)
6590         * files-x.el (read-file-local-variable-value): Add `default'.
6591         (Bug#14710)
6593 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6595         * net/eww.el (eww-make-unique-file-name): Create a unique file
6596         name before saving to entering `y' accidentally asynchronously.
6598 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6600         * net/eww.el (eww-download): New command and keystroke.
6602 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6604         * net/eww.el (eww-copy-page-url): Change name of command.
6606         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6607         be more consistent with Info and dired.
6609         * net/eww.el (eww-mode-map): Ditto.
6611 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6614         packages from archives.
6615         (package-archive-contents): Change format; include obsolete packages.
6616         (package-desc): Use `dir' to mark builtin packages.
6617         (package--from-builtin): Set the `dir' field to `builtin'.
6618         (generated-autoload-file, version-control): Declare.
6619         (package-compute-transaction): Change first arg and return value to be
6620         lists of package-descs.  Adjust to new package-archive-contents format.
6621         (package--add-to-archive-contents): Adjust to new
6622         package-archive-contents format.
6623         (package-download-transaction): Arg is now a list of package-descs.
6624         (package-install): If `pkg' is a package name, pass it as
6625         a requirement, so it is subject to the usual (e.g. disabled) checks.
6626         (describe-package): Accept package-desc as well.
6627         (describe-package-1): Describe a specific package-desc.  Add links to
6628         other package-descs for the same package name.
6629         (package-menu-describe-package): Pass the actual package-desc.
6630         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6631         works correctly.
6632         (package-desc-status): New function.
6633         (package-menu--refresh): New function, extracted
6634         from package-menu--generate.
6635         (package-menu--generate): Use it.
6636         (package-delete): Update package-alist.
6637         (package-menu-execute): Don't call package-initialize.
6639         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6640         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6641         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6642         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6643         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6644         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6646 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6648         * window.el (window--state-get-1): Workaround for bug#14527.
6649         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6651 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6653         * net/eww.el (eww-back-url): Implement the history by stashing all
6654         the data into a list.
6655         (eww-forward-url): Allow going forward in the history, too.
6657 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6659         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6660         for values and use read--expression for expressions (bug#14710).
6661         (read-file-local-variable): Avoid setq.
6662         (read-file-local-variable-mode): Use minor-mode-list.
6664 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6666         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6667         for DOI URLs.
6669 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6671         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6672         Update imenu-support when dialect changes.
6674 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6676         * ido.el (ido-read-internal): Allow forward slash on windows.
6678 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6680         * net/eww.el (eww): Start of strings is \\`, not ^.
6682 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6684         * net/shr.el (shr-browse-url): Fix interactive spec.
6686         * net/eww.el (eww): Add a trailing slash to domain names.
6688 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6690         * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
6692 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6694         * net/shr.el (shr-browse-url): Use an external browser if given a
6695         prefix.
6697         * net/eww.el (eww-external-browser): Move to shr.
6699 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6701         * net/eww.el (eww): Work more correctly for file: URLs.
6702         (eww-detect-charset): Allow quoted charsets.
6703         (eww-yank-page-url): New command and keystroke.
6705 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6707         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6708         file name of gpg executable.
6709         (epg-context-program): New function.
6710         (epg-context-home-directory): New function.
6711         (epg-context-set-program): New function.
6712         (epg-context-set-home-directory): New function.
6713         (epg--start): Use `epg-context-program' instead of
6714         'epg-gpg-program'.
6715         (epg--list-keys-1): Likewise.
6717 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6719         * ido.el (ido-read-internal): Fix bug#14620.
6721 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6723         * faces.el (face-documentation): Simplify.
6724         (read-face-attribute, tty-find-type, x-resolve-font-name):
6725         Use `string-match-p'.
6726         (list-faces-display): Use `string-match-p'.  Simplify.
6727         (face-spec-recalc): Check face to avoid face alias loops.
6728         (read-color): Use `string-match-p' and non-capturing parenthesis.
6730 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6732         * net/shr.el (shr-rescale-image): Use the new
6733         :max-width/:max-height functionality.
6735 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6737         * net/eww.el (eww-search-prefix): New variable.
6738         (eww): Use it.
6739         (eww-external-browser): New variable.
6740         (eww-mode-map): New keystroke.
6741         (eww-browse-with-external-browser): New command.
6743         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6745 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6747         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6748         Don't skip aligning the next header field when padding is 0;
6749         otherwise, field width is not respected unless the title is as
6750         wide as the field.
6752 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6754         * emacs-lisp/package.el (package-el-version): Remove.
6755         (package-process-define-package): Fix inf-loop.
6756         (package-install): Allow symbols as arguments again.
6758 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6760         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6761         add some more keyword-like methods.
6762         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6764 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6766         * bs.el (bs-buffer-show-mark): Make defvar-local.
6767         (bs-mode): Use setq-local.
6769         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6770         (emacs-lock--try-unlocking): Make defvar-local.
6772 2013-06-22  Glenn Morris  <rgm@gnu.org>
6774         * play/cookie1.el (cookie-apropos): Minor simplification.
6776         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6778 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6780         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6781         `regexp-opt', it breaks the build during dumping.
6783 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6785         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6786         Highlight keyword-like methods on Kernel and Module with
6787         font-lock-builtin-face.
6788         (auto-mode-alist): Consolidate different entries into one regexp
6789         and add more *file-s.
6791 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6793         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6795         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6796         (diary-entry): Use it in the action of this button type instead of
6797         diary-goto-entry.
6799         * calendar/todo-mode.el: New version.
6800         (todo-add-category): Append new category to end of file and give
6801         it the highest number, instead of putting it at the beginning and
6802         giving it 0.  Incorporate noninteractive functionality.
6803         (todo-forward-category): Adapt to 1-based category numbering.
6804         Allow skipping over archived categories.
6805         (todo-backward-category): Derive from todo-forward-category.
6806         (todo-backward-item, todo-forward-item): Make noninteractive and
6807         delegate interactive part to new commands.  Make sensitive to done items.
6808         (todo-categories): Make value an alist of category names and
6809         vectors of item counts.
6810         (todo-category-beg): Make a defconst.
6811         (todo-category-number): Use 1 instead of 0 as initial value.
6812         (todo-category-select): Make sensitive to overlays, optional item
6813         highlighting and done items.
6814         (todo-delete-item): Make sensitive to overlays and marked and done items.
6815         (todo-edit-item): Make sensitive to overlays and editing of
6816         date/time header optional.  Add format checks.
6817         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6818         no-op if point is not on an item.  Advertise using todo-edit-quit.
6819         (todo-edit-mode): Make sensitive to new format, font-locking, and
6820         multiple todo files.
6821         (todo-insert-item, todo-insert-item-here): Derive from
6822         todo-basic-insert-item and extend functionality.
6823         (todo-item-end, todo-item-start): Make sensitive to done items.
6824         (todo-item-string): Don't return text properties.  Restore point.
6825         (todo-jump-to-category): Make sensitive to multiple todo files and
6826         todo archives.  Use extended category completion.
6827         (todo-lower-item, todo-raise-item): Rename to *-priority and
6828         derive from todo-set-item-priority.
6829         (todo-mode): Derive from special-mode.  Make sensitive to new
6830         format, font-locking and multiple todo files.  Make read-only.
6831         (todo-mode-map): Don't suppress digit keys, so they can supply
6832         prefix arguments.  Add many new key bindings.
6833         (todo-prefix): Insert as an overlay instead of file text.
6834         Change semantics from diary date expression to purely visual mark.
6835         (todo-print): Rename to todo-print-buffer.  Make buffer display
6836         features printable.  Remove option to restrict number of items
6837         printed.  Add option to print to file.
6838         (todo-print-function): Rename to todo-print-buffer-function.
6839         (todo-quit): Extend to handle exiting new todo modes.
6840         (todo-remove-item): Make sensitive to overlays.
6841         (todo-save): Extend to buffers of filtered items.
6842         (todo-show): Make sensitive to done items, multiple todo files and
6843         new todo modes.  Offer to convert legacy todo file before creating
6844         first new todo file.
6845         (todo-show-priorities): Rename to todo-top-priorities.
6846         Change semantics of value 0.
6847         (todo-top-priorities): Rename to todo-filter-top-priorities,
6848         derive from todo-filter-items and extend functionality.
6849         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6850         and extend functionality to other types of filtered items.
6851         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6852         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6853         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6854         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6855         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6856         (todo-edit-mode-hook, todo-entry-prefix-function)
6857         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6858         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6859         (todo-initials, todo-insert-threshold, todo-item-string-start)
6860         (todo-line-string, todo-menu, todo-mode-hook)
6861         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6862         (todo-print-priorities, todo-remove-separator)
6863         (todo-save-top-priorities-too, todo-string-count-lines)
6864         (todo-string-multiline-p, todo-time-string-format)
6865         (todo-tmp-buffer-name): Remove.
6866         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6867         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6868         (todo-edit-category-diary-inclusion)
6869         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6870         (todo-edit-file, todo-edit-item-date-day)
6871         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6872         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6873         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6874         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6875         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6876         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6877         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6878         (todo-filter-top-priorities-multifile, todo-find-archive)
6879         (todo-find-filtered-items-file, todo-go-to-source-item)
6880         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6881         (todo-jump-to-archive-category, todo-lower-category)
6882         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6883         (todo-move-category, todo-move-item, todo-next-button)
6884         (todo-next-item, todo-padded-string, todo-powerset)
6885         (todo-previous-button, todo-previous-item)
6886         (todo-print-buffer-to-file, todo-raise-category)
6887         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6888         (todo-set-category-number, todo-set-item-priority)
6889         (todo-set-top-priorities-in-category)
6890         (todo-set-top-priorities-in-file, todo-show-categories-table)
6891         (todo-sort-categories-alphabetically-or-numerically)
6892         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6893         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6894         (todo-toggle-item-header, todo-toggle-item-highlighting)
6895         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6896         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6897         (todo-unarchive-items, todo-unmark-category): New commands.
6898         (todo-absolute-file-name, todo-add-to-buffer-list)
6899         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6900         (todo-basic-insert-item, todo-category-completions)
6901         (todo-category-number, todo-category-string-matcher-1)
6902         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6903         (todo-check-format, todo-clear-matches)
6904         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6905         (todo-current-category, todo-date-string-matcher)
6906         (todo-define-insertion-command, todo-diary-expired-matcher)
6907         (todo-diary-goto-entry, todo-diary-item-p)
6908         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6909         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6910         (todo-done-item-section-p, todo-done-separator)
6911         (todo-done-string-matcher, todo-files, todo-filter-items)
6912         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6913         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6914         (todo-insert-category-line, todo-insert-item-from-calendar)
6915         (todo-insert-sort-button, todo-insert-with-overlays)
6916         (todo-insertion-command-name, todo-insertion-key-bindings)
6917         (todo-label-to-key, todo-longest-category-name-length)
6918         (todo-make-categories-list, todo-mode-external-set)
6919         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6920         (todo-modes-set-3, todo-multiple-filter-files)
6921         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6922         (todo-read-category, todo-read-date, todo-read-dayname)
6923         (todo-read-file-name, todo-read-time)
6924         (todo-reevaluate-category-completions-files-defcustom)
6925         (todo-reevaluate-default-file-defcustom)
6926         (todo-reevaluate-filelist-defcustoms)
6927         (todo-reevaluate-filter-files-defcustom)
6928         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6929         (todo-reset-done-separator, todo-reset-done-separator-string)
6930         (todo-reset-done-string, todo-reset-global-current-todo-file)
6931         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6932         (todo-reset-prefix, todo-set-categories)
6933         (todo-set-date-from-calendar, todo-set-show-current-file)
6934         (todo-set-top-priorities, todo-short-file-name)
6935         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6936         (todo-total-item-counts, todo-update-buffer-list)
6937         (todo-update-categories-display, todo-update-categories-sexp)
6938         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6939         New functions.
6940         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6941         New major modes.
6942         (todo-categories, todo-display, todo-edit, todo-faces)
6943         (todo-filtered): New defgroups.
6944         (todo-archived-only, todo-button, todo-category-string, todo-date)
6945         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6946         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6947         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6948         (todo-add-item-if-new-category, todo-always-add-time-string)
6949         (todo-categories-align, todo-categories-archived-label)
6950         (todo-categories-category-label, todo-categories-diary-label)
6951         (todo-categories-done-label, todo-categories-number-separator)
6952         (todo-categories-todo-label, todo-categories-totals-label)
6953         (todo-category-completions-files, todo-completion-ignore-case)
6954         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6955         (todo-done-separator-string, todo-done-string)
6956         (todo-files-function, todo-filter-done-items, todo-filter-files)
6957         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6958         (todo-initial-category, todo-initial-file, todo-item-mark)
6959         (todo-legacy-date-time-regexp, todo-mode-line-function)
6960         (todo-nondiary-marker, todo-number-prefix)
6961         (todo-print-buffer-function, todo-show-current-file)
6962         (todo-show-done-only, todo-show-first, todo-show-with-done)
6963         (todo-skip-archived-categories, todo-top-priorities-overrides)
6964         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6965         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6966         New defcustoms.
6967         (todo-category-done, todo-date-pattern, todo-date-string-start)
6968         (todo-diary-items-buffer, todo-done-string-start)
6969         (todo-filtered-items-buffer, todo-item-start)
6970         (todo-month-abbrev-array, todo-month-name-array)
6971         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6972         (todo-top-priorities-buffer): New defconsts.
6973         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6974         (todo-categories-with-marks, todo-category-string-face)
6975         (todo-comment-face, todo-comment-string, todo-current-todo-file)
6976         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6977         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6978         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6979         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6980         (todo-font-lock-keywords, todo-global-current-todo-file)
6981         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6982         (todo-insertion-commands-args)
6983         (todo-insertion-commands-args-genlist)
6984         (todo-insertion-commands-names, todo-insertion-map)
6985         (todo-key-bindings-t, todo-key-bindings-t+a)
6986         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6987         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6988         (todo-nondiary-face, todo-print-buffer, todo-time-face)
6989         (todo-visited): New variables.
6991 2013-06-21  Glenn Morris  <rgm@gnu.org>
6993         * play/cookie1.el (cookie-apropos): Add optional display argument.
6994         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6995         (psychoanalyze-pinhead): Use cookie-doctor.
6997 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6999         * emacs-lisp/package.el (tar-get-file-descriptor)
7000         (tar--extract): Declare.
7002 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7004         Extend flymake's warning predicate to be a function (bug#14217).
7005         * progmodes/flymake.el (flymake-warning-predicate): New.
7006         (flymake-parse-line): Use it.
7007         (flymake-warning-re): Make obsolete alias to
7008         `flymake-warning-predicate'.
7010 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7012         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7013         (package-obsolete-list): Remove.
7014         (package-activate): Remove min-version argument.  Add `force' argument.
7015         Adjust to new package-alist format.
7016         (package-mark-obsolete): Remove.
7017         (package-unpack): Force reload of the package's autoloads.
7018         (package-installed-p): Check builtins if the installed package is not
7019         recent enough.
7020         (package-initialize): Don't reset package-obsolete-list.
7021         Don't specify which package version to activate.
7022         (package-process-define-package, describe-package-1)
7023         (package-menu--generate): Adjust to new package-alist format.
7025 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7027         * allout-widgets.el (allout-widgets-mode-off)
7028         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7029         (allout-widgets-post-command-business)
7030         (allout-widgets-after-copy-or-kill-function)
7031         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7032         (allout-decorate-item-and-context)
7033         (allout-graphics-modification-handler): Fix typos in docstrings.
7034         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7036         * cmuscheme.el (scheme-start-file): Doc fix.
7037         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7038         (scheme-input-filter): Use `string-match-p'.
7040         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7042         * dired-x.el: Use Dired consistently in docstrings.
7044         * dired.el: Use Dired consistently in docstrings.
7045         (dired-readin, dired-mode): Use `setq-local'.
7046         (dired-switches-alist): Make defvar-local.
7047         (dired-buffers-for-dir): Use `zerop'.
7048         (dired-safe-switches-p, dired-switches-escape-p)
7049         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7050         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7051         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7052         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7053         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7054         (dired-toggle-marks, dired-mark-files-containing-regexp)
7055         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7056         (dired-flag-auto-save-files, dired-flag-backup-files):
7057         Use `looking-at-p'.
7058         (dired-mark-files-regexp, dired-build-subdir-alist):
7059         Use `string-match-p', `looking-at-p'.
7061         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7062         (direct-print-region-helper): Use `string-match-p'.
7064 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7066         * comint.el (comint-redirect-results-list-from-process):
7067         Fix infinite loop.
7069 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7071         * net/eww.el (eww-update-header-line-format): Quote % characters.
7073 2013-06-21  Glenn Morris  <rgm@gnu.org>
7075         * play/cookie1.el (cookie): New custom group.
7076         (cookie-file): New option.
7077         (cookie-check-file): New function.
7078         (cookie): Make it interactive.  Make start and end messages optional.
7079         Interactively, display the result.  Default to cookie-file.
7080         (cookie-insert): Default to cookie-file.
7081         (cookie-snarf): Make start and end messages optional.
7082         Default to cookie-file.  Use with-temp-buffer.
7083         (cookie-read): Rename from read-cookie.
7084         Make start and end messages optional.  Default to cookie-file.
7085         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7086         Do not autoload it.
7087         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7088         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7090 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7092         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7094 2013-06-21  Glenn Morris  <rgm@gnu.org>
7096         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7098 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7099             Daniel Hackney  <dan@haxney.org>
7101         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7102         Consolidate the single-file vs tarball code.
7103         (package-desc-suffix): New function.
7104         (package-desc-full-name): Don't bother inlining it.
7105         (package-load-descriptor): Return the new package-desc.
7106         (package-mark-obsolete): Remove unused arg `package'.
7107         (package-unpack): Make it work for single files as well.
7108         Make it update package-alist.
7109         (package--make-autoloads-and-stuff): Rename from
7110         package--make-autoloads-and-compile.  Don't compile any more.
7111         (package--compile): New function.
7112         (package-generate-description-file): New function, extracted from
7113         package-unpack-single.
7114         (package-unpack-single): Remove.
7115         (package--with-work-buffer): Add indentation and debugging info.
7116         (package-download-single): Remove.
7117         (package-install-from-archive): Rename from package-download-tar, make
7118         it take a pkg-desc, and make it work for single files as well.
7119         (package-download-transaction): Simplify.
7120         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7121         external tar program.
7122         (package-install-from-buffer): Remove `pkg-desc' argument.
7123         Use package-tar-file-info for tar-mode buffers.
7124         (package-install-file): Simplify accordingly.
7125         (package-archive-base): Change to take a pkg-desc.
7126         * tar-mode.el (tar--check-descriptor): New function, extracted from
7127         tar-get-descriptor.
7128         (tar-get-descriptor): Use it.
7129         (tar-get-file-descriptor): New function.
7130         (tar--extract): New function, extracted from tar-extract.
7131         (tar--extract): Use it.
7132         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7133         case the summary uses non-ascii.  Adjust to new calling convention of
7134         package-tar-file-info.
7136 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7138         * comint.el (comint-redirect-results-list-from-process):
7139         Fix random delay.  (Bug#14681)
7141 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7143         * profiler.el (profiler-format-number): Use log, not log10.
7145 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7147         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7149 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7151         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7152         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7153         yet available.
7154         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7155         (AUTOGENEL): ... here.
7156         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7157         (cl--defsubst-expand): Use it.
7159 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7161         * subr.el (log10): Move here from C code, and declare as obsolete.
7162         All uses of (log10 X) replaced with (log X 10).
7164 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7166         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7167         Declare with `defvar-local'.
7168         (tabulated-list-use-header-line, tabulated-list-entries)
7169         (tabulated-list-padding, tabulated-list-printer)
7170         (tabulated-list-sort-key): Declare with `defvar-local'.
7171         (tabulated-list-init-header, tabulated-list-print-fake-header):
7172         Use `setq-local'.
7174 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7176         * arc-mode.el (archive-mode): Add `archive-write-file' to
7177         `write-contents-functions' also for remote files.  (Bug#14652)
7179 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7181         * cus-edit.el (custom-commands): Fix typos.
7182         (custom-display): Fix tooltip text.
7183         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7184         Fix typos in docstrings.
7185         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7186         (custom-unlispify-menu-entry, custom-magic-value-create)
7187         (custom-add-see-also, custom-group-value-create): Use ?\s.
7188         (custom-guess-type, customize-apropos, editable-field)
7189         (custom-face-value-create): Use `string-match-p'.
7190         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7192         * custom.el (custom-load-symbol): Use `string-match-p'.
7194         * ansi-color.el: Convert to lexical binding.
7195         (ansi-colors): Fix URL.
7196         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7197         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7198         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7200 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7202         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7204         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7206 2013-06-19  Tom Tromey  <tromey@redhat.com>
7208         * net/eww.el (eww-top-url): Remove.
7209         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7210         (eww-render): Set new variables.  Don't set eww-top-url.
7211         (eww-handle-link): Handle "prev", "home", and "contents".
7212         Downcase the rel text.
7213         (eww-top-url): Choose best top URL.
7215 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7217         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7218         relying in widget.el.  Using widget.el leads to too many
7219         user interface inconsistencies.
7220         (eww-self-insert): Implement entering commands in text fields.
7221         (eww-process-text-input): New function to make text input field editing
7222         work.
7223         (eww-submit): Rewrite to use the new-style form methods.
7224         (eww-select-display): Display the correct selected item.
7225         (eww-change-select): Implement changing the select value.
7226         (eww-toggle-checkbox): Implement radio/checkboxes.
7227         (eww-update-field): Fix compilation error.
7228         (eww-tag-textarea): Implement <textarea>.
7230         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7231         we don't shadow mode-specific bindings.
7233         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7234         nothing to push.
7236         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7238 2013-06-19  Glenn Morris  <rgm@gnu.org>
7240         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7242 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7244         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7245         not needed.
7247         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7249 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7251         * net/browse-url.el (browse-url-browser-function):
7252         `eww-browse-url' has the right calling signature, `eww' does not.
7254 2013-06-19  Glenn Morris  <rgm@gnu.org>
7256         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7257         Only eval autoloaded macros.
7258         (byte-compile-autoload): Only give the macro warning for macros.
7260         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7261         (ps-underlined-faces): Declare.
7263         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7264         (speedbar-add-supported-extension): Declare.
7266         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7267         Don't include a date stamp in the header of the generated file;
7268         it leads to needless differences between output files.
7270 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7272         * net/secrets.el (secrets-struct-secret-content-type):
7273         Replace check of introspection data by a test call of "CreateItem".
7274         Some servers do not offer introspection.
7276 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * electric.el (electric-pair-mode): Improve interaction with
7279         electric-layout-mode.
7280         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7281         (electric-pair-syntax): Use text-mode-syntax-table in comments
7282         and strings.
7283         (electric-pair--insert): New function.
7284         (electric-pair-post-self-insert-function): Use it and
7285         electric--after-char-pos.
7287 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7289         * progmodes/octave.el (octave-help): Fix regexp.
7291 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7293         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7294         (shr-table-horizontal-line): Allow nil as a value, and change the
7295         default.
7296         (shr-insert-table-ruler): Respect the nil value.
7298 2013-06-18  Tom Tromey  <tromey@barimba>
7300         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7301         New defvars.
7302         (eww-open-file): New defun.
7303         (eww-render): Initialize new variables.
7304         (eww-display-html): Handle "link" and "a".
7305         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7306         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7307         (eww-back-url): Rename from eww-previous-url.
7308         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7309         New defuns.
7311 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7313         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7314         Distinguish ternary operator tokens from slash symbol and slash
7315         char literal.
7317 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7319         Convert symbol prettification into minor mode and global minor mode.
7321         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7322         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7323         (prettify-symbols--keywords): Rename from
7324         `prog-prettify-symbols-alist' and make a local defvar.
7325         (prettify-symbols--compose-symbol): Rename from
7326         `prog--prettify-font-lock-compose-symbol'.
7327         (prettify-symbols--make-keywords): Rename from
7328         `prog-prettify-font-lock-symbols-keywords' and simplify.
7329         (prog-prettify-install): Remove.
7330         (prettify-symbols-mode): New minor mode, based on
7331         `prog-prettify-install'.
7332         (turn-on-prettify-symbols-mode): New function.
7333         (global-prettify-symbols-mode): New globalized minor mode.
7335         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7336         * progmodes/cfengine.el (cfengine3-mode):
7337         * progmodes/perl-mode.el (perl-mode): Don't call
7338         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7340 2013-06-18  Juri Linkov  <juri@jurta.org>
7342         * files-x.el (modify-file-local-variable-message): New function.
7343         (modify-file-local-variable)
7344         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7345         and call `modify-file-local-variable-message' when it's non-nil.
7346         (add-file-local-variable, delete-file-local-variable)
7347         (add-file-local-variable-prop-line)
7348         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7349         and use it.  (Bug#9820)
7351 2013-06-18  Juri Linkov  <juri@jurta.org>
7353         * emulation/vi.el (vi-shell-op):
7354         * emulation/vip.el (vip-execute-com, ex-command):
7355         * emulation/viper-cmd.el (viper-exec-bang):
7356         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7357         the call of `shell-command-on-region'.  (Bug#14637)
7359         * simple.el (shell-command-on-region): Doc fix.
7361 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7363         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7364         (bug#14633).
7366 2013-06-18  Glenn Morris  <rgm@gnu.org>
7368         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7370         * newcomment.el (comment-search-forward, comment-search-backward):
7371         Doc fix.  (Bug#14376)
7373 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7375         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7376         (buffer-face-mode-invoke): Doc fix.
7378 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7380         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7381         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7383 2013-06-18  Glenn Morris  <rgm@gnu.org>
7385         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7386         Replace obsolete function generic-make-keywords with its expansion.
7388         * progmodes/python.el (ffap-alist): Declare.
7390         * textmodes/reftex.el (bibtex-mode-map): Declare.
7392 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7394         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7395         (package-unpack, package-unpack-single): Return the pkg-dir.
7396         (package-download-transaction): Use it to update package-alist.
7398 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7400         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7401         possible choice.
7403 2013-06-17  Juri Linkov  <juri@jurta.org>
7405         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7407 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7409         * emacs-lisp/package.el (package-load-descriptor):
7410         Remove `with-syntax-table' call, `read' doesn't need it.
7411         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7413 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7415         * startup.el (command-line): Expand package name returned by
7416         `package--description-file' (bug#14639).
7418 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7420         * emacs-lisp/package.el (package-load-descriptor): Do not call
7421         `emacs-lisp-mode', just use its syntax table.
7423 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7425         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7426         `font-lock-extra-managed-props' if any prettifying keyword is added.
7427         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7428         (prog-mode): Use `setq-local'.
7430 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7432         * international/characters.el (standard-case-table): Set syntax of ?»
7433         and ?« to punctuation.
7435 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7437         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7438         Save relevant match data before calling `syntax-ppss' (bug#14595).
7440 2013-06-15  Juri Linkov  <juri@jurta.org>
7442         * files-x.el (modify-file-local-variable-prop-line): Add local
7443         variables to the end of the existing comment on the first line.
7444         Use `file-auto-mode-skip' to skip interpreter magic line,
7445         and also skip XML declaration.
7447 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7449         * startup.el (package--builtin-versions): New var.
7450         (package-subdirectory-regexp): Remove.
7451         (package--description-file): Hard code its value instead.
7453         * emacs-lisp/package.el: Don't activate packages older than builtin.
7454         (package-obsolete-list): Rename from package-obsolete-alist, and make
7455         it into a simple list of package-desc.
7456         (package-strip-version): Remove.
7457         (package-built-in-p): Use package--builtin-versions.
7458         (package-mark-obsolete): Simplify.
7459         (package-process-define-package): Mark it obsolete if older than the
7460         builtin version.
7461         (package-handle-response): Use line-end-position.
7462         (package-read-archive-contents, package--download-one-archive):
7463         Simplify.
7464         (package--add-to-archive-contents): Skip if older than the builtin or
7465         installed version.
7466         (package-menu-describe-package): Fix last change.
7467         (package-list-unversioned): New var.
7468         (package-menu--generate): Use it.
7470         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7471         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7472         (autoload-builtin-package-versions): New variable.
7473         (autoload-generate-file-autoloads): Use them.
7474         Remove the list of autoloaded functions/macros from the
7475         (autoload...) comments.
7477         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7479 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7481         * simple.el (line-move-partial): Don't jump to the next screen
7482         line as soon as it becomes visible.  Instead, continue enlarging
7483         the vscroll until the portion of a tall screen line that's left on
7484         display is about the height of the frame's default font.
7485         (Bug#14567)
7487 2013-06-15  Glenn Morris  <rgm@gnu.org>
7489         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7490         compilation-error-regexp-alist void, or local while let-bound.
7492         * progmodes/make-mode.el (makefile-mode-syntax-table):
7493         Treat "=" as punctuation.  (Bug#14614)
7495 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7497         * help-fns.el (describe-variable):
7498         Add extra line for permanent-local variables.
7500 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7502         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7503         Add export, import, library.  (Bug#9164)
7504         (library): Set indent function.
7506 2013-06-14  Glenn Morris  <rgm@gnu.org>
7508         * term/xterm.el (xterm--query):
7509         Stop after first matching handler.  (Bug#14615)
7511 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7513         Add support for dired in saveplace.
7514         * dired.el (dired-initial-position-hook): New variable.
7515         (dired-initial-position): Call hook to place cursor position.
7516         * saveplace.el (save-place-to-alist): Add dired position.
7517         (save-place-dired-hook): New function.
7519 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7521         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7522         through a symbol rather than letrec.
7524         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7525         (package-desc): Add `dir' field.
7526         (package-desc-full-name): New function.
7527         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7528         (package-maybe-load-descriptor): Remove.
7529         (package-load-all-descriptors): Just call package-load-descriptor.
7530         (package--disabled-p): New function.
7531         (package-desc-vers, package-desc-doc): Remove aliases.
7532         (package--dir): Remove function.
7533         (package-activate): Check if a package is disabled.
7534         (package-process-define-package): New function, extracted from
7535         define-package.
7536         (define-package): Turn into a place holder.
7537         (package-unpack-single, package-tar-file-info):
7538         Use package--description-file.
7539         (package-compute-transaction): Use package--disabled-p.
7540         (package-download-transaction): Don't call
7541         package-maybe-load-descriptor since they're all loaded anyway.
7542         (package-install): Change argument to be a pkg-desc.
7543         (package-delete): Use a single pkg-desc argument.
7544         (describe-package-1): Use package-desc-dir instead of package--dir.
7545         Use package-desc property instead of package-symbol.
7546         (package-install-button-action): Adjust accordingly.
7547         (package--push): Rewrite.
7548         (package-menu--print-info): Adjust accordingly.  Change the ID format
7549         to be a pkg-desc.
7550         (package-menu-describe-package, package-menu-get-status)
7551         (package-menu--find-upgrades, package-menu-mark-upgrades)
7552         (package-menu-execute, package-menu--name-predicate):
7553         Adjust accordingly.
7554         * startup.el (package--description-file): New function.
7555         (command-line): Use it.
7556         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7557         Use package-desc-version.
7559         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7560         (byte-compile-preprocess): Use it.
7561         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7562         can't quite recognize.
7563         (byte-compile-add-to-list): Remove.
7564         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7565         (cconv-closure-convert): Add assertion.
7567         * emacs-lisp/map-ynp.el: Use lexical-binding.
7568         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7569         Factor out some repeated code.
7571 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7573         * subr.el (with-eval-after-load): New macro.
7574         (eval-after-load): Allow form to be a function.
7575         take advantage of lexical-binding.
7576         (do-after-load-evaluation): Use dolist and adjust to new format.
7577         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7579 2013-06-13  Juri Linkov  <juri@jurta.org>
7581         * replace.el (perform-replace): Display "symbol " and other search
7582         modes from `isearch-message-prefix' in the *Help* buffer.
7584         * isearch.el (isearch-query-replace): Add " symbol" and other
7585         possible search modes from `isearch-message-prefix' to the prompt.
7586         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7587         when reading a regexp to collect.
7589 2013-06-13  Juri Linkov  <juri@jurta.org>
7591         * isearch.el (word-search-regexp): Match whitespace if the search
7592         string begins or ends in whitespace.  The LAX arg is applied to
7593         both ends of the search string.  Use `regexp-quote' and explicit
7594         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7595         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7596         boundaries are replaced with symbol boundaries, and characters
7597         between symbols match non-word non-symbol syntax.  (Bug#14602)
7599 2013-06-13  Juri Linkov  <juri@jurta.org>
7601         * isearch.el (isearch-del-char): Don't exceed the length of
7602         `isearch-string' by the prefix arg.  (Bug#14563)
7604 2013-06-13  Juri Linkov  <juri@jurta.org>
7606         * isearch.el (isearch-yank-word, isearch-yank-line)
7607         (isearch-char-by-name, isearch-quote-char)
7608         (isearch-printing-char, isearch-process-search-char):
7609         Add optional count prefix arg.  (Bug#14563)
7611         * international/isearch-x.el
7612         (isearch-process-search-multibyte-characters):
7613         Add optional count prefix arg.
7615 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7618         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7619         lexical-binding.
7621 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7623         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7625 2013-06-13  Glenn Morris  <rgm@gnu.org>
7627         * startup.el (tty-handle-args):
7628         Don't just discard "--" and anything after.  (Bug#14608)
7630         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7632 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7634         Implement changes in Secret Service API.  Make it backward compatible.
7635         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7636         (secrets-create-item): Use it.  Prefix properties with interface.
7638 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7640         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7641         (term-emulate-terminal): Respect term-suppress-hard-newline.
7643 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7645         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7646         Only remove a `thumb-file' overlay.  (Bug#14548)
7648 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7650         * mail/reporter.el (reporter-submit-bug-report):
7651         Handle missing package-name.  (Bug#14600)
7653 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7655         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7656         (reftex-citation-prompt, reftex-default-bibliography)
7657         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7658         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7659         (reftex-bib-sort-author, reftex-bib-sort-year)
7660         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7661         (reftex-extract-bib-entries-from-thebibliography)
7662         (reftex-get-bibkey-default, reftex-get-bib-names)
7663         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7664         (reftex-format-bib-entry, reftex-parse-bibitem)
7665         (reftex-format-bibitem, reftex-do-citation)
7666         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7667         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7668         (reftex-insert-bib-matches, reftex-format-citation)
7669         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7670         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7671         existing comments into docstrings.
7673 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7675         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7677 2013-06-12  Andreas Schwab  <schwab@suse.de>
7679         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7680         for auto-save files.
7682 2013-06-12  Glenn Morris  <rgm@gnu.org>
7684         * ido.el (ido-delete-ignored-files): Remove.
7685         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7686         Go back to calling ido-ignore-item-p directly.
7688 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7690         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7692         * ido.el (ido-delete-ignored-files): New function,
7693         split from ido-make-file-list-1.
7694         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7695         (ido-make-file-list-1): Use ido-delete-ignored-files.
7697 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7699         * progmodes/octave.el (inferior-octave-startup)
7700         (inferior-octave-completion-table)
7701         (inferior-octave-track-window-width-change)
7702         (octave-eldoc-function-signatures, octave-help)
7703         (octave-find-definition): Use single quoted strings.
7704         (inferior-octave-startup-args): Change default value.
7705         (inferior-octave-startup): Do not hard code "-i" and
7706         "--no-line-editing".
7707         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7708         (inferior-octave-directory-tracker): Use it.
7709         (octave-goto-function-definition): Robustify.
7710         (octave-help): Support highlighting operators in 'See also'.
7711         (octave-find-definition): Find subfunctions only in Octave mode.
7713 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7715         * help-fns.el (help-fns--compiler-macro): If the handler function is
7716         named, then put a link to it.
7717         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7718         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7719         (cl-typep): Use it.
7720         (cl-eval-when): Simplify debug spec.
7721         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7722         compiler-macro function instead of setting `compiler-macro-file'.
7724 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7726         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7727         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7729 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7730             Daniel Hackney  <dan@haxney.org>
7732         First part of Daniel Hackney's patch to package.el.
7733         * emacs-lisp/package.el: Use defstruct.
7734         (package-desc): New, main struct.
7735         (package--bi-desc, package--ac-desc): New structs, used to describe the
7736         format in external files.
7737         (package-desc-vers): Replace with package-desc-version accessor.
7738         (package-desc-doc): Replace with package-desc-summary accessor.
7739         (package-activate-1): Remove `package' arg since the pkg-vec now
7740         includes the name.
7741         (define-package): Use package-desc-from-define.
7742         (package-unpack-single): Change file-name arg to be a symbol.
7743         (package--add-to-archive-contents): Use package-desc-create and new
7744         accessor functions to package--ac-desc.
7745         (package-buffer-info, package-tar-file-info): Return a package-desc.
7746         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7747         arg to be a package-desc.
7748         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7749         (package--from-builtin): New function.
7750         (describe-package-1, package-menu--generate): Use it.
7751         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7752         (package-generate-autoloads): Idem and return the name of the file.
7753         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7754         Change pkg-info arg to be a package-desc.
7755         Use package-make-ac-desc.
7756         (package-upload-file): Use \' to match EOS.
7757         * finder.el (finder-compile-keywords): Use package-make-builtin.
7759 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7761         * vc/vc.el (vc-deduce-fileset): Change error message.
7762         (vc-read-backend): New function.
7763         (vc-next-action): Use it.
7765         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7767         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7768         (prolog-font-lock-keywords): Use regexp-opt instead.
7769         Don't manually highlight strings.
7770         (prolog-mode-variables): Simplify comment-start-skip.
7771         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7773         * emacs-lisp/generic.el (generic--normalise-comments)
7774         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7775         (generic-mode-set-comments): Use them.
7776         (generic-bracket-support): Use setq-local.
7777         (generic-make-keywords-list): Declare obsolete.
7779 2013-06-11  Glenn Morris  <rgm@gnu.org>
7781         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7782         Prettify after setting font-lock-defaults.  (Bug#14574)
7784 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7786         * replace.el (query-replace, occur-read-regexp-defaults-function)
7787         (replace-search):
7788         * subr.el (declare-function, number-sequence, local-set-key)
7789         (substitute-key-definition, locate-user-emacs-file)
7790         (with-silent-modifications, split-string, eval-after-load):
7791         Fix typos, remove unneeded backslashes and reflow some docstrings.
7793 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7795         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7796         default for Elisp files.
7798 2013-06-11  Glenn Morris  <rgm@gnu.org>
7800         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7801         although define-derived-mode was doing this anyway.  (Bug#14583)
7803 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7805         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7806         Fix make-variable-buffer-local call to refer to the correct variable.
7808 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7810         * eshell/em-term.el (eshell-visual-commands)
7811         (eshell-visual-subcommands, eshell-visual-options):
7812         Add summary line to docstrings.  Add cross-references.
7814 2013-06-10  Glenn Morris  <rgm@gnu.org>
7816         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7817         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7819 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7821         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7822         output redirection to be ignored with visual commands.
7824 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7826         * eshell/em-term.el (eshell-visual-command-p): New function.
7827         (eshell-term-initialize): Move long lambda to separate function
7828         eshell-visual-command-p.
7829         * eshell/em-dirs.el (eshell-dirs-initialise):
7830         * eshell/em-script.el (eshell-script-initialize):
7831         Add missing #' to lambda.
7833 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7835         * progmodes/octave.el (octave-add-log-current-defun): New function.
7836         (octave-mode): Set add-log-current-defun-function.
7837         (octave-goto-function-definition): Do not move point if not found.
7838         (octave-find-definition): Enhance to try subfunctions first.
7840 2013-06-08  Glenn Morris  <rgm@gnu.org>
7842         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7843         (byte-compile-backward-char, byte-compile-backward-word):
7844         Improve previous change, to handle non-explicit nil.
7846 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7848         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7849         (smie--opener/closer-at-point): New function.
7850         (smie--matching-block-data): Use it.  Don't match from right after an
7851         opener or right before a closer.  Obey smie-blink-matching-inners.
7852         Don't signal a mismatch for repeated inners like "switch..case..case".
7854 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7856         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7857         to t.  (Bug#14303)
7858         (octave-function-header-regexp): Fix.  (Bug#14570)
7859         (octave-help-mode-finish-hook, octave-help-mode-finish):
7860         Remove.  Just use temp-buffer-show-hook.
7862         * newcomment.el (comment-search-backward): Revert last change.
7863         (Bug#14434)
7865         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7867 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7869         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7870         through xargs, to avoid failure due to MS-Windows limitations on
7871         command-line length.
7873 2013-06-06  Glenn Morris  <rgm@gnu.org>
7875         * font-lock.el (lisp-font-lock-keywords-2):
7876         Treat user-error like error.
7878         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7879         (byte-compile-backward-char, byte-compile-backward-word):
7880         Handle explicit nil arguments.  (Bug#14565)
7882 2013-06-05  Alan Mackenzie  <acm@muc.de>
7884         * isearch.el (isearch-allow-prefix): New user option.
7885         (isearch-other-meta-char): Don't exit isearch when a prefix
7886         argument is typed whilst `isearch-allow-prefix' is non-nil.
7887         (Bug#9706)
7889 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7891         * autorevert.el (auto-revert-notify-handler): Use memq.
7892         Hide assertion failure.
7894         * skeleton.el: Use cl-lib.
7895         (skeleton-further-elements): Use defvar-local.
7896         (skeleton-insert): Use cl-progv.
7898 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7900         * progmodes/prog-mode.el (prog-prettify-symbols)
7901         (prog-prettify-install): Update docstrings.
7903 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7905         * simple.el: Move all the prog-mode code to prog-mode.el.
7906         * progmodes/prog-mode.el: New file.
7907         * loadup.el: Add prog-mode.el.
7909 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7911         * simple.el (prog-prettify-symbols): Add version.
7912         (prog-prettify-install): Add convenience function to prettify symbols.
7914         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7915         (perl--augmented-font-lock-keywords-1)
7916         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7917         variables and use it.
7919         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7920         (cfengine3-mode): Remove unneeded variable and use it.
7922         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7923         (lisp--augmented-font-lock-keywords-1)
7924         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7925         Remove unneeded variables and use it.
7927 2013-06-05  João Távora  <joaotavora@gmail.com>
7929         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7930         to point when opening the connection.  (Bug#14380)
7932 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7934         * subr.el (load-history-regexp, load-history-filename-element)
7935         (eval-after-load, after-load-functions, do-after-load-evaluation)
7936         (eval-next-after-load, display-delayed-warnings)
7937         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7938         definition of save-match-data.
7939         (overriding-local-map): Remove accidental obsolescence declaration.
7941         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7943 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7945         Generalize symbol prettify support to prog-mode and implement it
7946         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7947         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7948         (prog--prettify-font-lock-compose-symbol)
7949         (prog-prettify-font-lock-symbols-keywords): New variables and
7950         functions to support symbol prettification.
7951         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7952         (lisp--augmented-font-lock-keywords-1)
7953         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7954         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7955         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7956         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7957         Implement prettify of -> => :: strings.
7958         * progmodes/perl-mode.el (perl-prettify-symbols)
7959         (perl--font-lock-compose-symbol)
7960         (perl--font-lock-symbols-keywords): Move to prog-mode.
7961         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7962         (perl-font-lock-keywords-1)
7963         (perl-font-lock-keywords-2): Remove explicit prettify support.
7964         (perl--augmented-font-lock-keywords)
7965         (perl--augmented-font-lock-keywords-1)
7966         (perl--augmented-font-lock-keywords-2, perl-mode):
7967         Implement prettify support.
7969 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7971         Re-implement smie matching block highlight using
7972         show-paren-data-function.  (Bug#14395)
7973         * emacs-lisp/smie.el (smie-matching-block-highlight)
7974         (smie--highlight-matching-block-overlay)
7975         (smie--highlight-matching-block-lastpos)
7976         (smie-highlight-matching-block)
7977         (smie-highlight-matching-block-mode): Remove.
7978         (smie--matching-block-data-cache): New variable.
7979         (smie--matching-block-data): New function.
7980         (smie-setup): Use smie--matching-block-data for
7981         show-paren-data-function.
7983         * progmodes/octave.el (octave-mode-menu): Fix.
7984         (octave-find-definition): Skip garbage lines.
7986 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7988         Fix compilation error with simultaneous dynamic+lexical scoping.
7989         Add warning when a defvar appears after the first let-binding.
7990         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7991         (byte-compile-close-variables): Initialize it.
7992         (byte-compile--declare-var): New function.
7993         (byte-compile-file-form-defvar)
7994         (byte-compile-file-form-define-abbrev-table)
7995         (byte-compile-file-form-custom-declare-variable): Use it.
7996         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
7997         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7998         (byte-compile-bind): Handle dynamic bindings that shadow
7999         lexical bindings.
8000         (byte-compile-unbind): Make arg non-optional.
8001         (byte-compile-let): Simplify.
8002         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8003         (cconv--analyse-function, cconv-analyse-form): Populate it.
8004         Protect byte-compile-bound-variables to limit the scope of defvars.
8005         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8006         Remove unneeded rule for `declare'.
8008         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8009         so as to avoid depending on cl-adjoin at run-time.
8010         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8012         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8013         (macroexp--warn-and-return): Use it.
8015 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8017         * lisp/subr.el: Convert to lexical binding.
8018         (overriding-local-map): Make obsolete.
8019         (add-to-list): Doc fix.  Add compiler macro.
8020         (read-key): Swap values of local maps.
8022 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8024         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8026 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8028         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8029         (compilation-auto-jump): Suppress the "Mark set" message to give
8030         way to exit message.
8032 2013-06-04  Alan Mackenzie  <acm@muc.de>
8034         Remove faulty optimisation from indentation calculation.
8035         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8036         search limit based on 2000 characters back from indent-point.
8038 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8040         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8042 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8044         * emacs-lisp/lisp.el: Use lexical-binding.
8045         (lisp--local-variables-1, lisp--local-variables): New functions.
8046         (lisp--local-variables-completion-table): New var.
8047         (lisp-completion-at-point): Use it complete let-bound vars.
8049         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8050         eagerly (bug#14422).
8052 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8054         * autorevert.el (auto-revert-notify-enabled)
8055         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8056         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8057         (auto-revert-notify-handler): Handle also gfilenotify.
8059         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8060         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8061         Remove.
8063 2013-06-03  Juri Linkov  <juri@jurta.org>
8065         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8066         `M-s h .'.  (Bug#14427)
8068         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8069         command `hi-lock-face-symbol-at-point'.
8070         (hi-lock-face-symbol-at-point): New command.
8071         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8072         (hi-lock-menu): Add `highlight-symbol-at-point'.
8073         (hi-lock-mode): Doc fix.
8075         * isearch.el (isearch-forward-symbol-at-point): New command.
8076         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8077         (isearch-highlight-regexp): Add a regexp which matches
8078         words/symbols for word/symbol mode.
8080         * subr.el (find-tag-default-bounds): New function with the body
8081         mostly moved from `find-tag-default'.
8082         (find-tag-default): Move most code to `find-tag-default-bounds',
8083         call it and apply `buffer-substring-no-properties' afterwards.
8085 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8087         * eshell/em-term.el (eshell-term-initialize):
8088         Use `cl-intersection' rather than `intersection'.
8090 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8092         * vc/log-view.el: Doc fix.
8093         (log-view-mode-map): Copy keymap from `special-mode-map'.
8095 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8097         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8098         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8099         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8100         (eieio-unbound, eieio-default-superclass)
8101         (eieio--define-field-accessors, method-static, method-before)
8102         (method-primary, method-after, method-num-lists)
8103         (method-generic-before, method-generic-primary)
8104         (method-generic-after, method-num-slots)
8105         (eieio-specialized-key-to-generic-key)
8106         (eieio--check-type, class-v, class-p)
8107         (eieio-class-name, define-obsolete-function-alias)
8108         (eieio-class-parents-fast, eieio-class-children-fast)
8109         (same-class-fast-p, class-constructor, generic-p)
8110         (generic-primary-only-p, generic-primary-only-one-p)
8111         (class-option-assoc, class-option, eieio-object-p)
8112         (class-abstract-p, class-method-invocation-order)
8113         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8114         (eieio-class-un-autoload, eieio-defclass)
8115         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8116         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8117         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8118         (eieio-defgeneric-reset-generic-form)
8119         (eieio-defgeneric-form-primary-only)
8120         (eieio-defgeneric-reset-generic-form-primary-only)
8121         (eieio-defgeneric-form-primary-only-one)
8122         (eieio-defgeneric-reset-generic-form-primary-only-one)
8123         (eieio-unbind-method-implementations)
8124         (eieio--defmethod, eieio--typep)
8125         (eieio-perform-slot-validation, eieio-validate-slot-value)
8126         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8127         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8128         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8129         (eieio-slot-name-index, eieio-class-slot-name-index)
8130         (eieio-set-defaults, eieio-initarg-to-attribute)
8131         (eieio-attribute-to-initarg, eieio-c3-candidate)
8132         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8133         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8134         (eieio-class-precedence-list, eieio-generic-call-methodname)
8135         (eieio-generic-call-arglst, eieio-generic-call-key)
8136         (eieio-generic-call-next-method-list)
8137         (eieio-pre-method-execution-functions, eieio-generic-call)
8138         (eieio-generic-call-primary-only, eieiomt-method-list)
8139         (eieiomt-optimizing-obarray, eieiomt-install)
8140         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8141         (eieio-generic-form, eieio-defmethod, make-obsolete)
8142         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8143         (defclass): Remove `eval-and-compile' from macro.
8144         (call-next-method, shared-initialize): Instead of using
8145         `scoped-class' variable, use new eieio--scoped-class, and
8146         eieio--with-scoped-class.
8147         (initialize-instance): Rename local variable 'scoped-class' to
8148         'this-class' to remove ambiguitity from old global.
8150         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8151         eieio.el.
8152         (eieio--scoped-class-stack): New variable.
8153         (eieio--scoped-class): New fcn.
8154         (eieio--with-scoped-class): New scoping macro.
8155         (eieio-defclass): Use pushnew instead of add-to-list.
8156         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8157         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8158         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8159         `scoped-class' variable, use new eieio--scoped-class, and
8160         eieio--with-scoped-class.
8162         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8164 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8166         * eshell/esh-ext.el (eshell-external-command): Pass args to
8167         `eshell-find-interpreter'.
8168         (eshell-find-interpreter): Add new second parameter ARGS.
8170         * eshell/em-script.el (eshell-script-initialize): Add second arg
8171         to the function added as MATCH to `eshell-interpreter-alist'.
8173         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8174         the function added as MATCH to `eshell-interpreter-alist'.
8176         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8177         (eshell-visual-options): New defcustom.
8178         (eshell-escape-control-x): Adapt docstring.
8179         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8180         `eshell-visual-options' in addition to `eshell-visual-commands'.
8181         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8183 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8185         * progmodes/python.el (python-indent-block-enders): Add break,
8186         continue and raise keywords.
8188 2013-06-01  Glenn Morris  <rgm@gnu.org>
8190         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8192         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8193         * progmodes/cc-cmds.el (delete-forward-p):
8194         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8195         * progmodes/cc-engine.el (buffer-syntactic-context):
8196         * progmodes/cc-fonts.el (face-property-instance):
8197         * progmodes/cc-mode.el (set-keymap-parents):
8198         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8199         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8200         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8201         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8202         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8204         * progmodes/cc-vars.el (other): Emacs has this widget since
8205         at least 21.1, so don't (re)define it.
8207         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8208         Replace the obsolete alias pcomplete-arg-quote-list.
8210 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8212         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8213         punctuation syntax.
8214         (inferior-octave-minimal-columns)
8215         (inferior-octave-last-column-width): New variables.
8216         (inferior-octave-track-window-width-change): New function.
8217         (inferior-octave-mode): Adjust column width so that Octave output,
8218         for example from 'ls', can fit into the window nicely.
8220 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8222         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8223         Highlight expansions inside regexp literals.
8225 2013-05-31  Glenn Morris  <rgm@gnu.org>
8227         * obsolete/sym-comp.el (symbol-complete):
8228         Replace obsolete completion-annotate-function.
8230         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8232 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8234         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8235         New function, checks if point is inside a literal that allows
8236         expression expansion.
8237         (ruby-syntax-propertize-expansion): Use it.
8238         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8239         around the body.
8241 2013-05-30  Juri Linkov  <juri@jurta.org>
8243         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8244         to "\M-si".
8245         (isearch-invisible): New variable.
8246         (isearch-forward): Doc fix.
8247         (isearch-mode): Set `isearch-invisible'
8248         to the value of `search-invisible'.
8249         (isearch-toggle-case-fold): Doc fix.
8250         (isearch-toggle-invisible): New command.
8251         (isearch-query-replace): Let-bind `search-invisible'
8252         to the value of `isearch-invisible'.
8253         (isearch-search): Use `isearch-invisible' instead of
8254         `search-invisible'.  Let-bind `search-invisible'
8255         to the value of `isearch-invisible'.  (Bug#11378)
8257 2013-05-30  Juri Linkov  <juri@jurta.org>
8259         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8260         call when `query-flag' is nil and `search-invisible' is non-nil.
8261         (Bug#11746)
8263 2013-05-30  Glenn Morris  <rgm@gnu.org>
8265         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8267         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8268         (cc-require): Suppress spurious "noruntime" warnings.
8269         (cc-require-when-compile): Use fboundp, for sake of compiler.
8271         * progmodes/cc-mode.el: Move load of cc-vars before that of
8272         cc-langs (which in turn loads cc-vars), to quieten compiler.
8274 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8276         * paren.el: Simplify the code.
8277         (show-paren-mode): Always start the timer.
8278         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8279         (show-paren--overlay, show-paren--overlay-1): Rename from
8280         show-paren-overlay and show-paren-overlay-1, and initialize to an
8281         overlay rather than to nil.
8282         (show-paren-function): Misc cleanup and simplifications.
8284 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8286         * paren.el (show-paren-data-function): New hook.
8287         (show-paren--default): New function, extracted from show-paren-function.
8288         (show-paren-function): Use show-paren-data-function.
8290 2013-05-30  Glenn Morris  <rgm@gnu.org>
8292         * ielm.el (ielm-map, ielm-complete-symbol):
8293         Use completion-at-point rather than obsolete functions.
8294         (inferior-emacs-lisp-mode): Doc fix.
8295         Set completion-at-point-functions, rather than
8296         comint-dynamic-complete-functions.
8298         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8299         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8300         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8302         * image.el (image-animated-p): Tweak definition.
8304         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8305         (rlogin-process-connection-type): Tweak default.  Add set-after.
8306         (rlogin-host): Doc fix.
8307         (rlogin): Tweak prompt.
8308         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8310         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8311         * progmodes/tcl.el (inferior-tcl-mode-map):
8312         Use completion-at-point rather than obsolete alias.
8314         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8316         * minibuffer.el (read-file-name-completion-ignore-case):
8317         Move before completion--in-region, for eager macro expansion.
8319 2013-05-29  Juri Linkov  <juri@jurta.org>
8321         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8322         for total count of matching lines.  Add `global-matches' for total
8323         count of matches.  Rename `matches' to `lines' for count of
8324         matching lines.  Add `matches' for count of matches.
8325         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8326         to `prev-line' for line number of prev match endpt.
8327         Increment `matches' for every match.  Print the number of
8328         matching lines in the header.
8329         (occur-context-lines): Rename `lines' to `curr-line'.
8330         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8332 2013-05-29  Juri Linkov  <juri@jurta.org>
8334         * replace.el (perform-replace): Add `skip-read-only-count',
8335         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8336         Increment them for corresponding conditions and report the number
8337         of skipped occurrences in the final message.  (Bug#11746)
8338         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8339         (replace-string, replace-regexp): Doc fix.
8341 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8343         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8345         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8346         prog-mode-map (bug#14504).
8348 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8350         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8351         (octave-help): Small simplification.
8353         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8354         off the highlight first.
8356 2013-05-29  Glenn Morris  <rgm@gnu.org>
8358         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8359         Handle idlwave-last-system-routine-info-cons-cell being nil.
8361         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8362         (idlwave-write-paths): Simplify via with-temp-buffer.
8364         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8365         * emulation/cua-rect.el: Also load cua-base at run time.
8367         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8368         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8369         (cperl-imenu-on-info): Require imenu.
8371 2013-05-28  Alan Mackenzie  <acm@muc.de>
8373         Handle "capitalised keywords" correctly.
8374         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8376 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8378         * eshell/em-unix.el: Add -r option to cp.
8380 2013-05-28  Glenn Morris  <rgm@gnu.org>
8382         * vc/vc-arch.el (vc-exec-after): Declare.
8383         (vc-switches): Autoload.
8384         * vc/vc-bzr.el: No need to require vc when compiling.
8385         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8386         (vc-resynch-buffer, vc-dir-refresh): Declare.
8387         (vc-setup-buffer, vc-switches): Autoload.
8388         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8389         (vc-resynch-buffer): Declare.
8390         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8391         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8392         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8393         (grep-read-regexp, grep-read-files, grep-expand-template)
8394         (vc-dir-refresh): Declare.
8395         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8396         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8397         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8398         * vc/vc-mtn.el (vc-exec-after): Declare.
8399         (vc-switches): Autoload.
8400         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8401         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8402         (vc-file-tree-walk): Declare.
8403         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8404         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8405         (vc-tag-precondition, vc-rename-master): Autoload.
8406         * vc/vc-svn.el (vc-exec-after): Declare.
8407         (vc-switches, vc-setup-buffer): Autoload.
8408         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8409         Autoload.
8410         (vc-resynch-buffer): Declare.
8412         * obsolete/fast-lock.el (byte-compile-warnings):
8413         Don't warn about obsolete features in this obsolete file.
8415         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8416         Move definition before use.
8418         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8419         (dun-unix-verbs): Remove dun-zippy.
8420         (dun-zippy): Remove function.
8422         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8424 2013-05-27  Juri Linkov  <juri@jurta.org>
8426         * replace.el (replace-search): New function with code moved out
8427         from `perform-replace'.
8428         (replace-highlight, replace-dehighlight): Move function definitions
8429         up closer to `replace-search'.  (Bug#11746)
8431 2013-05-27  Juri Linkov  <juri@jurta.org>
8433         * replace.el (perform-replace): Ignore invisible matches.
8434         In addition to checking `query-replace-skip-read-only', also
8435         filter out matches by calling `run-hook-with-args-until-failure'
8436         on `isearch-filter-predicates', and also check `search-invisible'
8437         for t or call `isearch-range-invisible'.
8438         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8440 2013-05-27  Juri Linkov  <juri@jurta.org>
8442         * isearch.el (isearch-filter-predicates): Rename from
8443         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8444         (isearch-message-prefix): Display text from the property
8445         `isearch-message-prefix' of the currently active filters.
8446         (isearch-search): Don't compare `isearch-filter-predicate' with
8447         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8448         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8449         or call `isearch-range-invisible'.
8450         (isearch-filter-visible): Make obsolete.
8451         (isearch-lazy-highlight-search):
8452         Call `run-hook-with-args-until-failure' on
8453         `isearch-filter-predicates' and use `isearch-range-invisible'.
8455         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8456         `isearch-filter-predicates' instead of `funcall'ing
8457         `isearch-filter-predicate'.
8458         (Info-mode): Set `Info-isearch-filter' to
8459         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8461         * dired-aux.el (dired-isearch-filter-predicate-orig):
8462         Remove variable.
8463         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8464         (dired-isearch-filenames-end): Add and remove
8465         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8466         instead of changing the value of `isearch-filter-predicate'.
8467         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8468         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8469         Put property `isearch-message-prefix' to "filename " on
8470         `dired-isearch-filter-filenames'.
8472         * wdired.el (wdired-change-to-wdired-mode):
8473         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8474         locally instead of changing `isearch-filter-predicate'.
8475         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8477 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8479         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8480         return the commit hash (Bug#14459).  Also set the
8481         `vc-git-detached' property.
8482         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8483         (vc-git-mode-line-string): Use the same help-echo format whether
8484         in detached mode or not, because we know the actual revision now.
8485         When in detached mode, shorten the revision to 7 chars.
8487 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8489         * emacs-lisp/easy-mmode.el (define-minor-mode):
8490         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8491         mode hook and provide a docstring.
8493 2013-05-27  Alan Mackenzie  <acm@muc.de>
8495         Remove spurious syntax-table text properties inserted by C-y.
8496         * progmodes/cc-mode.el (c-after-change): Also clear hard
8497         syntax-table property with value nil.
8499 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8501         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8502         when reading the events; the buffer layout shall not be changed.
8504 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8506         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8507         New variable.
8508         (inferior-octave-directory-tracker): Automatically re-sync
8509         default-directory.
8510         (octave-help): Improve handling of 'See also'.
8512 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8514         * doc-view.el: Minor naming convention tweaks.
8515         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8517         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8518         even if there's no `display' property yet (bug#14435).
8520 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8522         * subr.el (unmsys--file-name): Rename from reveal-filename.
8524         * Makefile.in (custom-deps, finder-data, autoloads)
8525         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8526         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8527         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8529 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8531         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8532         error-completion on the first 2 args of condition-case (bug#14446).
8533         Don't burp at EOB.
8535 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8537         * comint.el (comint-previous-matching-input): Do not flood the
8538         *Messages* buffer with trivial messages.
8540 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8542         * progmodes/flymake.el (flymake-nop): Don't return a string.
8543         (flymake-set-at): Fix typo.
8545         * simple.el (read--expression): New function, extracted from
8546         eval-expression.  Set completion-at-point-functions (bug#14465).
8547         (eval-expression, eval-minibuffer): Use it.
8549 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8551         * progmodes/flymake.el (flymake-save-buffer-in-file)
8552         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8553         (flymake-selected-frame, flymake-log, flymake-ins-after)
8554         (flymake-set-at, flymake-get-buildfile-from-cache)
8555         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8556         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8557         Refine the doc string.
8558         (flymake-get-file-name-mode-and-masks): Reformat.
8559         (flymake-get-real-file-name-function): Fix a minor bug.
8561 2013-05-24  Juri Linkov  <juri@jurta.org>
8563         * progmodes/grep.el (grep-mode-font-lock-keywords):
8564         Support =linenumber= format used by git-grep for lines with
8565         function names.  (Bug#13549)
8567 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8569         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8570         0 after a semi-colon; it works better for smie-auto-fill.
8571         (octave--indent-new-comment-line): New function.
8572         (octave-indent-new-comment-line): Use it (indirectly).
8573         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8574         modify comment-line-break-function.
8576         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8577         (smie-setup): Use add-function to set it.
8579 2013-05-24  Sam Steingold  <sds@gnu.org>
8581         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8582         argument (before the `interactive' argument).
8584 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8586         * image-mode.el (image-mode-winprops): Add winprops to
8587         image-mode-winprops-alist before running
8588         image-mode-new-window-functions.
8589         * doc-view.el (doc-view-new-window-function): Don't delay
8590         doc-view-goto-page via timers (bug#14435).
8592 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8594         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8595         (doc-view-desktop-save-buffer): New function.
8596         (doc-view-restore-desktop-buffer): New function.
8597         (desktop-buffer-mode-handlers):
8598         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8599         handler.
8600         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8601         `desktop-save-buffer' function.
8603 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8605         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8606         (tramp-gvfs-file-name-handler): Raise a user error when
8607         `tramp-gvfs-enabled' is nil.
8608         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8609         Do not raise a user error when loading package.  (Bug#14447)
8611         * net/xesam.el: Move to obsolete/.
8613 2013-05-24  Glenn Morris  <rgm@gnu.org>
8615         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8617         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8619         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8620         (Info-find-node, Man-getpage-in-background): Declare.
8622         * mail/unrmail.el (unrmail):
8623         Replace obsolete detect-coding-with-priority.
8625         * net/socks.el (socks-split-string): Use this rather than split-string.
8626         (socks-nslookup-host): Update for above change.
8627         (dynamic-choice, s5-dynamic-choice-match)
8628         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8629         Comment out unused code.
8631         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8632         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8633         (gud-tooltip-echo-area): Make obsolete.
8634         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8636         * progmodes/js.el (js--optimize-arglist): Declare.
8638         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8640         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8641         (ediff-window-C): Declare.
8643         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8644         Tweak requires to silence compiler.
8646         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8647         (he-search-string, he-tried-table, he-expand-list)
8648         (he-init-string, he-string-member, he-substitute-string)
8649         (he-reset-string): Declare.
8651         * obsolete/options.el (list-options): Use custom-variable-p,
8652         rather than obsolete alias.
8654 2013-05-23  Sam Steingold  <sds@gnu.org>
8656         * simple.el (shell-command-on-region): Pass the `replace' argument
8657         down to `call-process-region' to comply with the doc as reported on
8658         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8660 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8662         * emacs-lisp/smie.el (smie-indent-forward-token)
8663         (smie-indent-backward-token): Handle string tokens (bug#14381).
8665 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8667         * ielm.el (ielm-menu): New menu.
8668         (inferior-emacs-lisp-mode): Set comment-start.
8670 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8672         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8673         Fix deactivate action.
8675         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8676         Add cleveref macros.
8678         * lisp/textmodes/reftex-parse.el
8679         (reftex-locate-bibliography-files): Accept options for
8680         bibliography commands.
8681         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8682         Add addbibresource.  Basic Biblatex support.
8684 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8686         * net/tramp-gvfs.el (top):
8687         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8688         when loading package.  (Bug#14447)
8690 2013-05-23  Glenn Morris  <rgm@gnu.org>
8692         * progmodes/js.el: No need to load comint when compiling.
8693         (ring-insert, comint-send-string, comint-send-input)
8694         (comint-last-input-end, ido-chop): Declare.
8696         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8697         * vc/ediff-mult.el: Adjust requires.
8698         (ediff-directories-internal, ediff-directory-revisions-internal)
8699         (ediff-patch-file-internal): Declare.
8700         * vc/ediff-ptch.el: Adjust requires.
8701         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8702         (ediff-find-file): Autoload.
8703         * vc/ediff-util.el: No need to load ediff when compiling.
8704         (ediff-regions-internal): Declare.
8705         * vc/ediff-wind.el: Adjust requires.
8706         (ediff-compute-toolbar-width): Define when compiling.
8707         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8708         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8709         (dired-get-filename, dired-get-marked-files)
8710         (ediff-last-dir-patch, ediff-patch-default-directory)
8711         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8712         (ediff-patch-buffer-internal): Declare.
8714         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8715         (ispell-process, ispell-buffer-local-words, lm-summary)
8716         (lm-section-start, lm-section-end): Declare.
8717         (checkdoc-ispell-init): Simplify.
8719         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8720         (he-string-member, he-reset-string, he-substitute-string): Declare.
8722         * eshell/em-ls.el: Adjust requires.
8723         (eshell-glob-regexp): Declare.
8724         * eshell/em-tramp.el: Adjust requires.
8725         (eshell-parse-command): Autoload.
8726         * eshell/em-xtra.el: Adjust requires.
8727         (eshell-parse-command): Autoload.
8728         * eshell/esh-ext.el: Adjust requires.
8729         (eshell-parse-command, eshell-close-handles): Autoload.
8730         * eshell/esh-io.el: Adjust requires.
8731         (eshell-output-filter): Autoload.
8732         * eshell/esh-util.el: No need to load tramp when compiling.
8733         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8734         Declare.
8735         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8736         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8737         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8738         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8739         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8740         * eshell/esh-opt.el, eshell/esh-proc.el:
8741         * eshell/esh-var.el: Adjust requires.
8742         * eshell/eshell.el: Do not require esh-util twice.
8743         (eshell-add-input-to-history): Declare.
8744         (eshell-command): Check history module is active before using it.
8746         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8748 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8750         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8752 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8754         * autorevert.el (auto-revert-notify-add-watch)
8755         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8756         it indicates changes in file modification time.
8758 2013-05-22  Glenn Morris  <rgm@gnu.org>
8760         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8761         Always delete the autoloaded function from the noruntime and
8762         unresolved functions lists.
8764         * allout.el: No need to load epa, epg, overlay when compiling.
8765         (epg-context-set-passphrase-callback, epg-list-keys)
8766         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8767         (epg-key-user-id-list): Declare.
8769         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8770         (viper-set-parsing-style-toggling-macro)
8771         (viper-set-emacs-state-searchstyle-macros):
8772         Use called-interactively-p on Emacs.
8773         (viper-looking-back): Make it an obsolete alias.  Update callers.
8774         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8775         Use looking-back rather than viper-looking-back.
8776         (viper-tmp-insert-at-eob, viper-enlarge-region)
8777         (viper-read-string-with-history, viper-register-to-point)
8778         (viper-append-to-register, viper-change-state-to-vi)
8779         (viper-backward-char-carefully, viper-forward-char-carefully)
8780         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8781         (viper-change-state-to-emacs): Declare.
8782         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8783         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8784         * emulation/viper-mous.el: Do not load viper-cmd.
8785         (viper-backward-char-carefully, viper-forward-char-carefully)
8786         (viper-forward-word, viper-adjust-window): Declare.
8788         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8790         * progmodes/idlw-help.el (idlwave-help-fontify):
8791         Use called-interactively-p.
8793         * term/w32console.el (w32-get-console-codepage)
8794         (w32-get-console-output-codepage): Declare.
8796         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8797         Remove unnecessary declarations.
8798         (dframe-message): Doc fix.
8800         * info.el (dframe-select-attached-frame, dframe-current-frame):
8801         Declare.
8803         * speedbar.el (speedbar-message): Make it an obsolete alias.
8804         Update all callers.
8805         (speedbar-with-attached-buffer)
8806         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8807         (speedbar-with-writable): Use backquote.
8808         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8809         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8810         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8811         rather than speedbar- aliases.
8812         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8813         (speedbar-make-specialized-keymap, speedbar-insert-button)
8814         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8815         (speedbar-do-function-pointer): Declare.
8816         (rmail-speedbar-button, rmail-speedbar-find-file)
8817         (rmail-speedbar-move-message):
8818         Use dframe-with-attached-buffer rather than speedbar- alias.
8819         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8820         (dframe-message, speedbar-make-specialized-keymap)
8821         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8822         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8823         (speedbar-insert-button, dframe-select-attached-frame)
8824         (dframe-maybee-jump-to-attached-frame)
8825         (speedbar-change-initial-expansion-list)
8826         (speedbar-previously-used-expansion-list-name): Declare.
8827         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8828         Use dframe-message, dframe-with-attached-buffer rather than
8829         speedbar- aliases.
8830         (gud-sentinel): Silence compiler.
8831         * progmodes/vhdl-mode.el (speedbar-refresh)
8832         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8833         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8834         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8835         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8836         (speedbar-file-lists, speedbar-make-tag-line)
8837         (speedbar-line-directory, speedbar-goto-this-file)
8838         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8839         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8840         (speedbar-make-button, speedbar-reset-scanners)
8841         (speedbar-files-item-info, speedbar-line-text)
8842         (speedbar-find-file-in-frame, speedbar-set-timer)
8843         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8844         (speedbar-with-writable): Do not (re)define it.
8845         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8846         rather than speedbar- alias.
8848 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8850         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8851         menu items.
8852         (octave-mode): Tweak fill-nobreak-predicate.
8853         (inferior-octave-startup): Check process to avoid infinite loop.
8854         (inferior-octave): Pop to buffer first to show abornmal process
8855         exit information.
8857 2013-05-21  Glenn Morris  <rgm@gnu.org>
8859         * printing.el (pr-menu-bar): Define when compiling.
8861 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8863         * progmodes/octave.el (octave-auto-fill): Remove.
8864         (octave-indent-new-comment-line): Improve.
8865         (octave-mode): Use auto fill mode through
8866         comment-line-break-function and fill-nobreak-predicate.
8867         (octave-goto-function-definition): Support DEFUN_DLD.
8868         (octave-beginning-of-defun): Small tweak.
8869         (octave-help): Show parent directory.
8871 2013-05-21  Glenn Morris  <rgm@gnu.org>
8873         * files.el (dired-unmark):
8874         * progmodes/gud.el (gdb-input): Update declarations.
8876         * calculator.el (electric, ehelp): No need to load when compiling.
8877         (Electric-command-loop, electric-describe-mode): Declare.
8879         * doc-view.el (doc-view-current-converter-processes): Move before use.
8881         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8882         Move MODE-set-explicitly definition before use.
8884         * international/mule-diag.el (mule-diag):
8885         Don't use obsolete window-system-version.
8887         * mail/feedmail.el (smtpmail): No need to load when compiling.
8888         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8890         * mail/mail-utils.el (rfc822): No need to load when compiling.
8891         (rfc822-addresses): Autoload it.
8892         (mail-strip-quoted-names): Trivial simplification.
8894         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8895         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8897         * net/snmp-mode.el (tempo): Don't duplicate requires.
8899         * progmodes/prolog.el (info): No need to load when compiling.
8900         (comint): Require before shell requires it.
8901         (Info-goto-node): Autoload it.
8902         (Info-follow-nearest-node): Declare.
8903         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8905         * textmodes/artist.el (picture-mode-exit): Declare.
8907         * textmodes/reftex-parse.el (reftex-parse-from-file):
8908         Trivial rewrite so the compiler can parse it better.
8910 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8912         * progmodes/octave.el (octave-help-mode-map)
8913         (octave-help-mode-finish-hook): New variables.
8914         (octave-help-mode, octave-help-mode-finish): New functions.
8915         (octave-help): Use octave-help-mode.
8917 2013-05-20  Glenn Morris  <rgm@gnu.org>
8919         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8921 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8923         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8924         start at point, so that expansion starting right after opening
8925         slash in a regexp is recognized.
8926         (ruby-syntax-before-regexp-re): New defvar, extracted from
8927         ruby-syntax-propertize-function.  Since the value of this regexp
8928         is looked up at runtime now, we should be able to turn
8929         `ruby-syntax-methods-before-regexp' into a defcustom later.
8930         (ruby-syntax-propertize-function): Split regexp matching into two
8931         parts, for opening and closing slashes.  That allows us to skip
8932         over string interpolations and support multiline regexps.
8933         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8934         for them, which calls `ruby-syntax-propertize-expansion'.
8935         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8936         call to `ruby-syntax-propertize-function'.
8937         (ruby-syntax-propertize-expansion): Extracted from
8938         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8939         (ruby-syntax-propertize-percent-literal): Leave point right after
8940         the percent symbol, so that the expression expansion rule can
8941         propertize the contents.
8942         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8943         heredoc openers.
8944         (ruby-syntax-propertize-expansions): Remove.
8946 2013-05-18  Juri Linkov  <juri@jurta.org>
8948         * man.el (Man-default-man-entry): Remove `-' from the end
8949         of the default value.  (Bug#14400)
8951 2013-05-18  Glenn Morris  <rgm@gnu.org>
8953         * comint.el (comint-password-prompt-regexp):
8954         Allow "password for XXX" where XXX contains colons (eg https://...).
8956 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8958         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8959         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8960         (octave-source-directories): Don't check process.
8961         (octave-source-directories, octave-find-definition): Doc fix.
8963 2013-05-18  Glenn Morris  <rgm@gnu.org>
8965         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8966         Remove backspace/delete bindings.  (Bug#14392)
8968         * cus-dep.el (custom-make-dependencies): Sort the output.
8969         (custom-versions-load-alist): Convert comment to doc.
8971 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8973         * newcomment.el (comment-search-backward): Stricter in finding
8974         comment start.  (Bug#14303)
8976         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8977         (octave-comment-start-skip): Properly anchored.
8979 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8981         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8982         Clean up when turned off.  (Bug#14395)
8983         (smie--highlight-matching-block-overlay): No longer buffer-local.
8984         (smie-highlight-matching-block): Adjust.
8986 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
8988         Doc string fix for "nanoseconds" (Bug#14406).
8989         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8990         Fix doc string typo that had "nanoseconds" instead of "microseconds".
8992 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8994         * calc/calc-units.el (math-extract-units): Preserve powers
8995         of units.
8997 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8999         * subr.el (delete-consecutive-dups): New function.
9000         * ido.el (ido-set-matches-1): Use it.
9001         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9002         * ido.el (ido-remove-consecutive-dups): Remove.
9004 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9006         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9007         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9008         regexp-opt's `words'.
9010 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9012         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9013         (smie--highlight-matching-block-overlay)
9014         (smie--highlight-matching-block-lastpos)
9015         (smie--highlight-matching-block-timer): New variables.
9016         (smie-highlight-matching-block): New function.
9017         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9018         (smie-setup): Conditionally enable smie-blink-matching-open.
9020 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9022         Sync with upstream verilog-mode r840.
9023         * progmodes/verilog-mode.el (verilog-mode-version)
9024         (verilog-mode-release-date): Update.
9025         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9026         (verilog-sig-tieoff): Fix string error on
9027         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9028         (verilog-read-decls): Fix parameters confusing
9029         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9031 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9033         * subr.el (reveal-filename): New function.
9035         * loadup.el: Compute Emacs executable versions on MS-Windows,
9036         where executables have the .exe extension.  Add a hard link
9037         emacs-XX.YY.ZZ.exe on MS-Windows.
9039         * Makefile.in (XARGS_LIMIT): New variable.
9040         (custom-deps, finder-data, autoloads)
9041         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9042         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9043         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9044         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9046 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9048         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9049         (octave-mode-menu, octave-mode-map): Remove its uses.
9051 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9053         Sync with upstream vhdl mode v3.34.2.
9054         * progmodes/vhdl-mode.el: Use `push' throughout.
9055         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9056         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9057         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9058         (vhdl-actual-generic-name): New option to derive actual generic name.
9059         (vhdl-port-paste-signals): Replace formal by actual generics.
9060         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9061         (vhdl-beautify-options): New option.
9062         (vhdl-last-input-event): New compat alias.  Use throughout.
9063         (vhdl-goto-line): Replace user level function `goto-line'.
9064         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9065         vhdl-fix-statement-buffer.
9066         (vhdl-create-mode-menu): Add some entries.
9067         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9068         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9069         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9070         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9071         to force statements on one line.
9072         (vhdl-remove-trailing-spaces-region):
9073         New, split from vhdl-remove-trailing-spaces.
9074         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9075         Respect vhdl-beautify-options.
9076         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9077         (vhdl-update-sensitivity-list): Not add with index if exists without.
9078         Not include array index with signal.  Ignore keywords in comments.
9079         (vhdl-get-visible-signals): Regexp tweaks.
9080         (vhdl-template-component-inst): Handle empty library.
9081         (vhdl-template-type): Add template for 'enum' type.
9082         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9083         Use vhdl-replace-string.
9084         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9085         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9086         (vhdl-speedbar-initialize): Update for above name change.
9087         (vhdl-compose-wire-components): Fix in handling of constants.
9088         (vhdl-error-regexp-emacs-alist): New variable.
9089         (vhdl-error-regexp-add-emacs): New function;
9090         adds support for new compile.el (Emacs 22+)
9091         (vhdl-generate-makefile-1): Change target order for single lib. units.
9092         Allow use of absolute file names.
9094 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9096         * simple.el (prog-indent-sexp): Indent enclosing defun.
9098 2013-05-15  Glenn Morris  <rgm@gnu.org>
9100         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9101         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9102         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9103         (whitespace-highlight): Move to whitespace group.
9105         * comint.el (comint-source):
9106         * pcmpl-linux.el (pcmpl-linux):
9107         * shell.el (shell-faces):
9108         * eshell/esh-opt.el (eshell-opt):
9109         * international/ccl.el (ccl): Remove empty custom groups.
9111         * completion.el (dynamic-completion-mode):
9112         * jit-lock.el (jit-lock-debug-mode):
9113         * minibuffer.el (completion-in-region-mode):
9114         * type-break.el (type-break-mode-line-message-mode)
9115         (type-break-query-mode):
9116         * emulation/tpu-edt.el (tpu-edt-mode):
9117         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9118         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9119         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9121         * term/xterm.el (xterm): Change parent group to terminals.
9123         * master.el (master): Remove empty custom group.
9124         (master-mode): Remove unused :group argument.
9125         * textmodes/refill.el (refill): Remove empty custom group.
9126         (refill-mode): Remove unused :group argument.
9128         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9130         * cus-dep.el: Provide a feature.
9131         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9132         Don't mistakenly ignore files whose basenames match a basename
9133         from preloaded-file-list (eg cedet/ede/simple.el).
9134         Add a fallback method for getting :group.
9136 2013-05-15  Juri Linkov  <juri@jurta.org>
9138         * isearch.el (isearch-char-by-name): Rename from
9139         `isearch-insert-char-by-name'.  Doc fix.
9140         (isearch-forward): Mention `isearch-char-by-name' in
9141         the docstring.  (Bug#13348)
9143         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9144         `exit-minibuffer' instead of
9145         `isearch-nonincremental-exit-minibuffer'.
9146         (isearch-edit-string): Remove mention of
9147         `isearch-nonincremental-exit-minibuffer' from docstring.
9148         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9149         (isearch-forward-exit-minibuffer)
9150         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9152 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9154         * loadup.el: Just use unversioned DOC.
9156         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9157         literals as extending to EOB.
9158         (nxml-last-fontify-end): Remove unused variable.
9159         (nxml-after-change1): Use with-silent-modifications.
9160         (nxml-extend-after-change-region): Simplify.
9161         (nxml-extend-after-change-region1): Remove function.
9162         (nxml-after-change1): Don't adjust for dependent regions.
9163         (nxml-fontify-matcher): Simplify.
9164         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9165         (xmltok-add-dependent): Remove function.
9166         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9167         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9168         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9169         unclosed <[[, <?, comment, and other literals as extending to EOB.
9170         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9171         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9172         Remove functions.
9173         (rng-do-some-validation-1): Don't mark dependent regions.
9174         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9175         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9176         (nxml-clear-dependent-regions): Remove functions.
9177         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9178         (nxml-ensure-scan-up-to-date):
9179         Don't clear&mark dependent regions.
9181 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9183         * progmodes/octave.el (octave-goto-function-definition):
9184         Improve and fix callers.
9186 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9188         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9189         the setter (bug#14387).
9191         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9192         surrounding group (bug#14402).
9194 2013-05-14  Juri Linkov  <juri@jurta.org>
9196         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9197         (Bug#14390)
9199 2013-05-14  Glenn Morris  <rgm@gnu.org>
9201         * progmodes/f90.el (f90-imenu-generic-expression):
9202         Fix typo in 2013-05-08 change.  (Bug#14402)
9204 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9206         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9207         Remove signals for which replies are never received.
9209 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9211         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9212         (gdb-handler-alist, gdb-handler-number): Remove variables.
9213         (gdb-handler-list): New variable.
9214         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9215         (gdb-pending-handler-p, gdb-handle-reply)
9216         (gdb-remove-all-pending-triggers): New functions.
9217         (gdb-discard-unordered-replies): New defcustom.
9218         (gdb-handler): New defstruct.
9219         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9220         instead of gdb-pending-triggers.  Update docstring.
9221         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9222         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9223         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9224         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9225         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9226         (gdb-frame-handler): Pending triggers are now automatically managed.
9227         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9228         Remove argument.
9229         (gdb-input): Automatically handles pending triggers.  Update docstring.
9230         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9231         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9232         Update comments.
9233         (gdb-done-or-error): Now use gdb-handle-reply.
9235 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9237         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9238         gdb-debug-log.
9240 2013-05-14  Glenn Morris  <rgm@gnu.org>
9242         * subr.el (user-emacs-directory-warning): New option.
9243         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9245 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9247         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9248         during redisplay.
9249         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9250         (octave-font-lock-texinfo-comment): Fix invalid search bound
9251         error: wrong side of point.
9253 2013-05-14  Glenn Morris  <rgm@gnu.org>
9255         * progmodes/flymake.el (flymake-xml-program): New option.
9256         (flymake-xml-init): Use it.
9258         * term/xterm.el: Provide a feature.
9260         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9262 2013-05-13  Glenn Morris  <rgm@gnu.org>
9264         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9265         Add compat aliases as a hack workaround.  (Bug#14384)
9267 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9269         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9270         ###, and %!.
9271         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9272         C-M-q.
9273         (octave-comment-start-skip): Include %!.
9274         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9276 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9278         * progmodes/octave.el (inferior-octave-startup): Store the value
9279         of __octave_srcdir__ for octave-source-directories.
9280         (inferior-octave-check-process): New function refactored out of
9281         inferior-octave-send-list-and-digest.
9282         (octave-source-directories)
9283         (octave-find-definition-filename-function): New variables.
9284         (octave-source-directories)
9285         (octave-find-definition-default-filename): New functions.
9286         (octave-find-definition): Improve to find functions implemented in C++.
9288 2013-05-12  Glenn Morris  <rgm@gnu.org>
9290         * calendar/diary-lib.el (diary-outlook-format-1):
9291         Don't include dayname in the output.  (Bug#14349)
9293 2013-05-11  Glenn Morris  <rgm@gnu.org>
9295         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9297         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9298         Treat cc-provide like provide.
9300 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9302         * cus-dep.el (custom-make-dependencies):
9303         Use generated-autoload-load-name for the sake of files such
9304         such cedet/semantic/bovine/c.el, where the base file name
9305         is not in load-path.  (Bug#5277)
9307 2013-05-11  Glenn Morris  <rgm@gnu.org>
9309         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9310         Provide features.
9312 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9314         * progmodes/octave.el (octave-indent-comment): Improve.
9315         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9316         (octave-eldoc-function-signatures, octave-eldoc-function):
9317         New functions.
9318         (octave-mode, inferior-octave-mode): Add eldoc support.
9320 2013-05-11  Richard Stallman  <rms@gnu.org>
9322         * epa.el (epa-decrypt-file): Take output file name as argument
9323         and read it using `interactive'.
9325 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9327         * progmodes/octave.el (octave-beginning-of-line)
9328         (octave-end-of-line): Check before using up-list because it jumps
9329         out of more syntactic contructs since moving to smie.
9330         (octave-indent-comment): New function.
9331         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9332         (octave-begin-keywords, octave-end-keywords)
9333         (octave-reserved-words, octave-smie-bnf-table)
9334         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9336 2013-05-11  Glenn Morris  <rgm@gnu.org>
9338         * faces.el (internal-face-x-get-resource):
9339         * frame.el (ns-display-monitor-attributes-list):
9340         * calc/calc-aent.el (math-to-radians-2):
9341         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9342         Fix declarations.
9344         * calc/calc-menu.el: Make it loadable in isolation.
9346         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9347         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9348         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9349         (eudc-bbdb-query-internal): Require 'bbdb.
9351         * lpr.el (lpr-headers-switches):
9352         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9354         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9356         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9358         * term.el (term-set-escape-char): Make it idempotent.
9360 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9362         * progmodes/octave.el (inferior-octave-completion-table):
9363         No longer a function and all uses changed.  Use cache to speed up
9364         completion due to bug#11906.
9365         (octave-beginning-of-defun): Re-write to be more general.
9367 2013-05-10  Glenn Morris  <rgm@gnu.org>
9369         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9371 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9373         * comint.el (comint-redirect-send-command-to-process): Use :around
9374         rather than :override for comint-redirect-filter.
9375         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9376         Call it instead of comint-redirect-original-filter-function (which
9377         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9379 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9381         * frame.el (display-monitor-attributes-list): Add NS case.
9382         (ns-display-monitor-attributes-list): Declare.
9384 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9386         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9388 2013-05-09  Glenn Morris  <rgm@gnu.org>
9390         * international/fontset.el (vertical-centering-font-regexp):
9391         Set standard-value.
9393         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9395         * bookmark.el (bookmark-search-delay):
9396         * cus-start.el (vertical-centering-font-regexp):
9397         * ps-mule.el (ps-mule-font-info-database-default):
9398         * ps-print.el (ps-default-fg, ps-default-bg):
9399         * type-break.el (type-break-good-break-interval):
9400         * whitespace.el (whitespace-indentation-regexp)
9401         (whitespace-space-after-tab-regexp):
9402         * emacs-lisp/testcover.el (testcover-1value-functions)
9403         (testcover-noreturn-functions, testcover-progn-functions)
9404         (testcover-prog1-functions):
9405         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9406         * eshell/em-glob.el (eshell-glob-translate-alist):
9407         * play/tetris.el (tetris-tty-colors):
9408         * progmodes/cpp.el (cpp-face-default-list):
9409         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9410         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9411         (idlwave-help-browser-generic-args):
9412         * progmodes/make-mode.el (makefile-special-targets-list):
9413         * progmodes/python.el (python-shell-virtualenv-path):
9414         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9415         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9416         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9417         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9418         * textmodes/reftex-vars.el (reftex-format-label-function):
9419         * textmodes/remember.el (remember-diary-file): Fix custom types.
9421         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9422         Add :version.
9424 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9426         * progmodes/octave.el (inferior-octave-completion-at-point):
9427         Restore file completion.  (Bug#14300)
9428         (inferior-octave-startup): Fix incorrect highlighting for the
9429         first prompt.
9431 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9433         * progmodes/ruby-mode.el: First cut at SMIE support.
9434         (ruby-use-smie): New var.
9435         (ruby-smie-grammar): New constant.
9436         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9437         (ruby-smie--forward-token, ruby-smie--backward-token)
9438         (ruby-smie-rules): New functions.
9439         (ruby-mode-variables): Setup SMIE if applicable.
9441 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9443         * simple.el (line-move-visual): Signal beginning/end of buffer
9444         only if vertical-motion moved less than it was requested.  Avoids
9445         silly incorrect error messages when there are display strings with
9446         multiple newlines at EOL.
9448 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9450         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9451         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9452         (prolog-char-quote-workaround):
9453         * progmodes/cperl-mode.el (cperl-under-as-char):
9454         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9455         Mark as obsolete.
9456         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9457         their declaration.
9458         (vhdl-mode-syntax-table-init): Remove.
9460         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9461         last change.
9463         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9464         syntax for "_".
9465         (ld-script-font-lock-keywords):
9466         Change regexps to use things like \_< and \_>.
9468         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9469         Change all regexps to use things like \_< and \_>.
9471         * progmodes/autoconf.el (autoconf-definition-regexp)
9472         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9473         Handle a _ with symbol syntax.
9474         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9476         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9477         Consolidate declaration.
9478         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9479         the declaration.
9480         (ada-create-syntax-table): Remove.
9481         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9482         already has the right syntax nowadays.
9483         (ada-goto-next-word): Don't change the syntax of "_".
9485         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9486         with-wrapper-hook.
9488 2013-05-08  Sam Steingold  <sds@gnu.org>
9490         * thingatpt.el (thing-at-point): Accept optional second argument
9491         NO-PROPERTIES to strip the text properties from the return value.
9492         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9493         to `thing-at-point' instead of stripping the properties ourselves.
9494         Also, when `thing-at-point' fails to find a url, prepend "http://"
9495         to the filename at point on the assumption that the user is
9496         pointing at something like gnu.org/gnu.
9498 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9500         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9501         * faces.el (crm-separator):
9502         Silence byte-compiler.
9504         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9505         (tool-bar-map): Remove unneeded defvars.
9507 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9509         Re-work a fix for bug#10994 based on Le Wang's patch.
9510         * ido.el (ido-remove-consecutive-dups): New helper.
9511         (ido-completing-read): Use it.
9512         (ido-chop): Revert fix for bug#10994.
9514 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9516         * cus-edit.el (custom-save-variables):
9517         Pretty-print long values.  (Bug#14187)
9519 2013-05-08  Glenn Morris  <rgm@gnu.org>
9521         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9522         (m4-mode-syntax-table): Init in the defvar.
9523         (m4-mode-abbrev-table): Let define-derived-mode define it.
9525 2013-05-08  Tom Tromey  <tromey@redhat.com>
9527         * progmodes/m4-mode.el (m4-mode-syntax-table):
9528         Do not treat "_" as word constituent.  (Bug#14167)
9530 2013-05-07  Glenn Morris  <rgm@gnu.org>
9532         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9533         Remove explicit eshell-isearch-cancel-map.
9535         * progmodes/f90.el (f90-smart-end-names): New option.
9536         (f90-smart-end): Doc fix.
9537         (f90-end-block-optional-name): New constant.
9538         (f90-block-match): Respect f90-smart-end-names.
9540 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9542         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9543         about implicit semi-colons (bug#14218).
9545 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9547         * frame.el (display-monitor-attributes-list)
9548         (frame-monitor-attributes): New functions.
9550 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9552         * progmodes/octave.el (octave-syntax-propertize-function): Change
9553         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9554         (octave-font-lock-keywords): Use octave-operator-regexp.
9555         (octave-completion-at-point): Rename from
9556         octave-completion-at-point-function.
9557         (inferior-octave-directory-tracker): Robustify.
9558         (octave-text-functions): Remove and fix its uses.  No such things
9559         any more.
9561 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9563         * emacs-lisp/trace.el (trace--display-buffer): New function.
9564         (trace-make-advice): Use it.
9566 2013-05-06  Juri Linkov  <juri@jurta.org>
9568         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9569         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9570         Doc fix.
9571         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9572         in the help string.  (Bug#12985)
9574 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9576         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9578 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9580         * progmodes/perl-mode.el: Add support for here documents.
9581         (perl-syntax-propertize-function): Match here-doc markers.
9582         (perl-syntax-propertize-special-constructs): Find their end.
9583         (perl-imenu-generic-expression): Use [:alnum:].
9585         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9586         (advice--add-function): Refresh the advice if already present
9587         (bug#14317).
9589 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9591         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9593 2013-05-06  Glenn Morris  <rgm@gnu.org>
9595         * w32-fns.el (w32-charset-info-alist): Declare.
9597         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9598         of its defcustom properties.
9599         (eshell-cmpl-initialize): No need to load pcomplete.
9601         * generic-x.el: No need to require comint when compiling.
9603         * net/eudc-export.el: Make it loadable without bbdb.
9604         (top-level): Use require rather than load-library.
9605         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9606         (eudc-batch-export-records-to-bbdb)
9607         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9608         Require bbdb.
9610 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9612         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9613         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9614         some tweaks, instead.
9616 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9618         * progmodes/octave.el (octave-font-lock-keywords)
9619         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9620         (inferior-octave-send-list-and-digest): Improve error message.
9621         (octave-mode, inferior-octave-mode): Use setq-local.
9622         (octave-help): Set info-lookup-mode.
9624 2013-05-05  Richard Stallman  <rms@gnu.org>
9626         * vc/compare-w.el (compare-windows-whitespace):
9627         Treat no-break space as whitespace.
9629         * mail/rmailsum.el (rmail-summary-rmail-update):
9630         Detect empty summary and don't change selected message.
9631         (rmail-summary-goto-msg): Likewise.
9633         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9634         Doc fixes, rename args.
9636 2013-05-05  Alan Mackenzie  <acm@muc.de>
9638         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9640 2013-05-05  Juri Linkov  <juri@jurta.org>
9642         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9643         to not add the length of the summary segment to the return value.
9644         (Bug#14125)
9646 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9648         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9649         (inferior-octave-output-filter): Remove.
9650         (octave-send-region, inferior-octave-startup): Fix callers.
9651         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9652         (octave-binary-file-extensions): New user variable.
9653         (octave-find-definition): Confirm if opening binary files.
9654         (octave-help-file): Use octave-find-definition to get the binary
9655         confirmation.
9656         (octave-help): Adjust for octave-help-file change.
9658 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9660         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9661         Merge the two entries that handle function definitions.
9662         (pascal--syntax-propertize): New const.
9663         (pascal-mode): Use it.  Use setq-local.
9665 2013-05-04  Glenn Morris  <rgm@gnu.org>
9667         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9668         (diary-from-outlook): Respect diary-from-outlook-function.
9670 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9672         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9673         Move the declaration from C.
9674         (read-minibuffer, eval-minibuffer): Move from C.
9675         (completion-setup-function): Avoid minibuffer-completion-contents.
9677 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9679         * progmodes/octave.el (octave-font-lock-keywords): Do not
9680         dehighlight 'end' in comments or strings.
9681         (octave-completing-read, octave-goto-function-definition):
9682         New helpers.
9683         (octave-help-buffer): New user variable.
9684         (octave-help-file, octave-help-function): New button types.
9685         (octave-help): New command and bind it to C-h ;.
9686         (octave-find-definition): New command and bind it to M-.
9687         (user-error): Alias to error if not defined.
9689 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9691         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9692         for \.  (bug#14332)
9693         (octave-font-lock-keywords): Include [ and {.
9695 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9697         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9698         (inferior-octave): Remove calling comint-mode and return the buffer.
9699         (inferior-octave-startup): Cosmetic changes.
9701 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9703         * progmodes/octave.el (octave-syntax-propertize-function):
9704         Include the case when ' is at line beginning.  (Bug#14336)
9706 2013-05-02  Glenn Morris  <rgm@gnu.org>
9708         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9709         * desktop.el (vc-dir-mode): Just autoload it here.
9711 2013-05-02  Alan Mackenzie  <acm@muc.de>
9713         Eliminate variable c-standard-font-lock-fontify-region-function.
9714         * progmodes/cc-mode.el
9715         (c-standard-font-lock-fontify-region-function): Remove.
9716         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9718 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9720         * progmodes/octave.el: Compatible with older emacs-24 releases.
9721         (inferior-octave-has-built-in-variables): Remove.  Built-in
9722         variables were removed from Octave in 2007.
9723         (inferior-octave-startup): Fix uses.
9724         (comint-line-beginning-position): Remove compatibility code for
9725         emacs 21.
9727 2013-05-01  Juri Linkov  <juri@jurta.org>
9729         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9731 2013-05-01  Juri Linkov  <juri@jurta.org>
9733         * comint.el (comint-previous-matching-input): Don't print message
9734         "History item: %d" when `isearch-mode' is active.
9735         (comint-history-isearch-message): Print message "History item: %d"
9736         when `comint-input-ring-index' is not empty and this function is
9737         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9739 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9741         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9742         definitions.  Use completion-at-point to insert keywords.
9743         (octave-abbrev-start): Remove.
9744         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9746 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9748         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9749         change.
9751 2013-04-30  Alan Mackenzie  <acm@muc.de>
9753         Handle arbitrarily long C++ member initialisation lists.
9754         * progmodes/cc-engine.el (c-back-over-member-initializers):
9755         new function.
9756         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9757         (most) member init lists.
9759 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9761         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9762         variable.
9764 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9766         * progmodes/octave.el (octave-variables): Remove.  No builtin
9767         variables any more.  All converted to functions.
9768         (octave-font-lock-keywords, octave-completion-at-point-function):
9769         Fix uses.
9770         (octave-font-lock-texinfo-comment): New user variable.
9771         (octave-texinfo-font-lock-keywords): New variable for texinfo
9772         comment block.
9773         (octave-function-comment-block): New face.
9774         (octave-font-lock-texinfo-comment): New function.
9775         (octave-mode): Font lock texinfo comment block.
9777 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9779         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9780         indexing expression.
9781         (octave-continuation-string): Do not use \.
9782         (inferior-octave-complete-impossible): Remove.
9783         (inferior-octave-completion-table)
9784         (inferior-octave-completion-at-point): Remove its uses.
9785         (inferior-octave-startup): completion_matches was introduced to
9786         Octave in 1996 so safe to assume it.
9787         (octave-function-file-comment): Improve to follow how Octave does it.
9788         (octave-update-function-file-comment): Tweak.
9790 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9792         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9793         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9794         (octave-function-file-comment): Fix typo.
9795         (octave-sync-function-file-names): Use read-char-choice.
9797 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9799         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9800         to t for the less important warnings.
9802 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9804         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9806 2013-04-27  Glenn Morris  <rgm@gnu.org>
9808         * vc/log-view.el (log-view-current-entry):
9809         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9811 2013-04-27  Juri Linkov  <juri@jurta.org>
9813         * subr.el (read-number): Doc fix about using it by interactive
9814         code letter `n'.  (Bug#14254)
9816 2013-04-27  Juri Linkov  <juri@jurta.org>
9818         * desktop.el (desktop-auto-save-timeout): New option.
9819         (desktop-file-checksum): New variable.
9820         (desktop-save): Add optional arg `auto-save' and don't auto-save
9821         if nothing changed.
9822         (desktop-auto-save-timer): New variable.
9823         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9824         (after-init-hook): Call `desktop-auto-save-set-timer'.
9825         Suggested by Reuben Thomas <rrt@sc3d.org> in
9826         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9828 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9830         * progmodes/octave.el (octave-function-file-p)
9831         (octave-skip-comment-forward, octave-function-file-comment)
9832         (octave-update-function-file-comment): New functions.
9833         (octave-mode-map): Bind C-c ; to
9834         octave-update-function-file-comment.
9835         (octave-mode-menu): Add octave-update-function-file-comment.
9836         (octave-mode, inferior-octave-mode): Fix doc-string.
9837         (octave-insert-defun): Conform to Octave's coding convention.
9838         (Bug#14285)
9840         * files.el (basic-save-buffer): Don't let errors in
9841         before-save-hook prevent saving buffer.
9843 2013-04-20  Roland Winkler  <winkler@gnu.org>
9845         * faces.el (read-face-name): Use completing-read if arg multiple
9846         is nil.
9848 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9850         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9851         displayed, move point to after the totals line.
9852         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9853         for the details.
9855 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9857         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9858         Add current dir to the load-path.
9859         (package-generate-autoloads): Don't rely on
9860         autoload-ensure-default-file.
9862 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9864         * textmodes/remember.el (remember-store-in-files): Document that
9865         the file name format is passed to `format-time-string'.
9867 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9869         * progmodes/octave.el (octave-sync-function-file-names): New function.
9870         (octave-mode): Use it in before-save-hook.
9872 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9874         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9875         (bug#14274).
9877         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9878         \n and comment, even if it's not an implicit ; (bug#14218).
9880 2013-04-26  Glenn Morris  <rgm@gnu.org>
9882         * subr.el (read-number): Once more use `read' rather than
9883         `string-to-number', to trap non-numeric input.  (Bug#14254)
9885 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9887         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9888         Use `syntax-multiline' text property consistently instead of
9889         `font-lock-multiline'.  (Bug#14237)
9891 2013-04-26  Glenn Morris  <rgm@gnu.org>
9893         * emacs-lisp/shadow.el (list-load-path-shadows):
9894         No longer necessary to check for duplicate simple.el, since
9895         2012-07-07 change to init_lread to not include installation lisp
9896         directories in load-path when running uninstalled.  (Bug#14270)
9898 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9900         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9901         (octave-mode, inferior-octave-mode): Use setq-local.
9902         (octave-not-in-string-or-comment-p): Rename to
9903         octave-in-string-or-comment-p.
9904         (octave-in-comment-p, octave-in-string-p)
9905         (octave-in-string-or-comment-p): Replace defsubst with defun.
9907 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9909         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9911 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9913         * textmodes/remember.el (remember-data-directory)
9914         (remember-directory-file-name-format): Fix custom types.
9916 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9918         * progmodes/octave.el (octave-completion-at-point-function):
9919         Make use of inferior octave process.
9920         (octave-initialize-completions): Remove.
9921         (inferior-octave-completion-table): New function.
9922         (inferior-octave-completion-at-point): Use it.
9923         (octave-completion-alist): Remove.
9925 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9927         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9928         (opascal-mode-syntax-table): New var.
9929         (opascal-literal-kind, opascal-is-literal-end)
9930         (opascal-literal-token-at): Rewrite.
9931         (opascal--literal-start-re, opascal-font-lock-keywords)
9932         (opascal--syntax-propertize): New constants.
9933         (opascal-font-lock-defaults): Adjust.
9934         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9935         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9936         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9937         (delphi-other-face, opascal-other-face): Remove face variables.
9938         (opascal-save-state): Remove macro.
9939         (opascal-fontifying-progress-step): Remove constant.
9940         (opascal--ignore-changes): Remove var.
9941         (opascal-set-token-property, opascal-parse-next-literal)
9942         (opascal-is-stable-literal, opascal-complete-literal)
9943         (opascal-is-literal-start, opascal-face-of)
9944         (opascal-parse-region, opascal-parse-region-until-stable)
9945         (opascal-fontify-region, opascal-after-change)
9946         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9947         (opascal-debug-parse-region, opascal-debug-parse-window)
9948         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9949         (opascal-debug-fontify-buffer): Remove.
9950         (opascal-debug-mode-map): Adjust accordingly.
9952 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9954         Merge octave-mod.el and octave-inf.el into octave.el with some
9955         cleanups.
9956         * progmodes/octave.el: New file renamed from octave-mod.el.
9957         * progmodes/octave-inf.el: Merged into octave.el.
9958         * progmodes/octave-mod.el: Renamed to octave.el.
9960 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9962         * textmodes/reftex-vars.el
9963         (reftex-label-ignored-macros-and-environments): New defcustom.
9965         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9967 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9969         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9970         (smie-indent-keyword): Improve the check to ensure that the next
9971         comment is really on the same line.
9972         (smie-indent-comment): Don't align with a subsequent closer (or eob).
9974         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9975         semi-colons if the line is not otherwise empty (bug#14218).
9977 2013-04-25  Glenn Morris  <rgm@gnu.org>
9979         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9981 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9983         * progmodes/opascal.el (opascal-set-token-property): Rename from
9984         opascal-set-text-properties and only set `token' (bug#14134).
9985         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9986         (opascal-literal-text-properties): Remove.
9987         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9988         Adjust callers.
9990 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
9992         * textmodes/remember.el (remember-handler-functions): Add an
9993         option for a new handler `remember-store-in-files'.
9994         (remember-data-directory, remember-directory-file-name-format):
9995         New options.
9996         (remember-store-in-files): New function to store remember notes
9997         as separate files within a directory.
9999 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10001         * progmodes/compile.el (compilation-next-error-function):
10002         Pass "formats" to compilation-find-file (bug#11777).
10004 2013-04-24  Glenn Morris  <rgm@gnu.org>
10006         * vc/vc-bzr.el (vc-bzr-print-log):
10007         * vc/vc-hg.el (vc-hg-print-log):
10008         * vc/vc-svn.el (vc-svn-print-log):
10009         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10011         * vc/vc-bzr.el (vc-bzr-print-log):
10012         * vc/vc-cvs.el (vc-cvs-print-log):
10013         * vc/vc-git.el (vc-git-print-log):
10014         * vc/vc-hg.el (vc-hg-print-log):
10015         * vc/vc-mtn.el (vc-mtn-print-log):
10016         * vc/vc-rcs.el (vc-rcs-print-log):
10017         * vc/vc-sccs.el (vc-sccs-print-log):
10018         * vc/vc-svn.el (vc-svn-print-log):
10019         * vc/vc.el (vc-print-log-internal): Doc fixes.
10021 2013-04-23  Glenn Morris  <rgm@gnu.org>
10023         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10024         Remove venerable code attempting to avoid substitute-command-keys.
10026 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10028         * textmodes/reftex-vars.el (reftex-label-regexps):
10029         Call `reftex-compile-variables' after changes to this variable.
10031 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10033         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10034         Use lexical-binding.
10035         (jit-lock-force-redisplay): Use markers, check buffer's continued
10036         existence and beware narrowed buffers.
10037         (jit-lock-fontify-now): Adjust call accordingly.
10039 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10041         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10042         to avoid misleading the user.
10044 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10046         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10048 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10050         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10052         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10053         * net/tramp.el (tramp-call-process): ... here.
10054         (tramp-set-completion-function, tramp-parse-putty):
10055         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10056         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10057         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10058         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10059         (tramp-call-local-coding-command): Use `tramp-call-process'
10060         instead of `tramp-compat-call-process'.
10062         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10063         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10064         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10065         (tramp-find-inline-compress): Improve traces.
10066         (tramp-maybe-send-script): Check for Perl binary.
10067         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10069 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10071         * epg.el (epg-context-pinentry-mode): New function.
10072         (epg-context-set-pinentry-mode): New function.
10073         (epg--start): Pass --pinentry-mode option to gpg command.
10075 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10077         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10078         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10079         `completion-at-point'.  (Bug#13774)
10081         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10082         default key binding for `describe-distribution' has been moved to
10083         `C-h C-o'.  (Bug#13970)
10085 2013-04-21  Glenn Morris  <rgm@gnu.org>
10087         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10088         Add doc strings.
10089         (vc-print-log): Clarify interactive prompt.
10091 2013-04-20  Glenn Morris  <rgm@gnu.org>
10093         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10094         No longer include timestamp etc information.
10096 2013-04-20  Roland Winkler  <winkler@gnu.org>
10098         * faces.el (read-face-name): Bug fix, return just one face if arg
10099         multiple is nil.  (Bug#14209)
10101 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10103         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10104         (remove-function): Autoload.
10106         * comint.el (comint-redirect-original-filter-function): Remove.
10107         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10108         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10109         (vc-cvs-annotate-command):
10110         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10111         * progmodes/prolog.el (prolog-consult-compile):
10112         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10113         Use add/remove-function instead.
10114         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10115         (gud-tooltip-process-output, gud-tooltip-tips):
10116         Use add/remove-function instead.
10117         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10118         (scheme-interaction-mode, exit-scheme-interaction-mode):
10119         Use add/remove-function instead.
10121         * vc/vc-dispatcher.el: Use lexical-binding.
10122         (vc--process-sentinel): Rename from vc-process-sentinel.
10123         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10124         and vc-sentinel-commands any more.
10125         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10126         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10128 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10130         * progmodes/sh-script.el (sh-imenu-generic-expression):
10131         Handle function names with a single character.   (Bug#14111)
10133 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10135         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10136         for subroutines defined in an eval (bug#14182).
10138 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10140         * bookmark.el (bookmark-completing-read): Improve handling of empty
10141         string (bug#14176).
10143 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10145         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10147 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10149         New faster Imenu implementation (bug#14058).
10150         * progmodes/python.el:
10151         (python-imenu-prev-index-position):
10152         (python-imenu-format-item-label-function)
10153         (python-imenu-format-parent-item-label-function)
10154         (python-imenu-format-parent-item-jump-label-function):
10155         New vars.
10156         (python-imenu-format-item-label)
10157         (python-imenu-format-parent-item-label)
10158         (python-imenu-format-parent-item-jump-label)
10159         (python-imenu--put-parent, python-imenu--build-tree)
10160         (python-imenu-create-index, python-imenu-create-flat-index)
10161         (python-util-popn): New functions.
10162         (python-mode): Set imenu-create-index-function to
10163         python-imenu-create-index.
10165 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10167         * winner.el (winner-active-region): Use region-active-p, activate-mark
10168         and deactivate-mark (bug#14225).
10170         * simple.el (deactivate-mark): Don't inline it.
10172 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10174         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10176 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10178         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10179         file extensions from the archive-mode entry in order to prefer
10180         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10182 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10184         * bindings.el (help-event-list): Add ?\?.
10186 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10188         * subr.el (with-wrapper-hook): Declare obsolete.
10189         * simple.el (filter-buffer-substring-function): New hook.
10190         (filter-buffer-substring): Use it.
10191         (filter-buffer-substring-functions): Mark obsolete.
10192         * minibuffer.el (completion-in-region-function): New hook.
10193         (completion-in-region): Use it.
10194         (completion-in-region-functions): Mark obsolete.
10195         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10196         * abbrev.el (abbrev-expand-function): New hook.
10197         (expand-abbrev): Use it.
10198         (abbrev-expand-functions): Mark obsolete.
10199         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10200         and :filter-return.
10202 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10204         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10205         and do not care about match data.
10207 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10209         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10210         completion tables when completing error conditions and
10211         `declare' arguments.
10212         (lisp-complete-symbol, field-complete): Mark as obsolete.
10213         (check-parens): Unmatched parens are user errors.
10214         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10216 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10218         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10219         command changed buffer (ie. `flyspell-pre-buffer' is not current
10220         buffer), which prevents making decisions based on invalid value of
10221         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10222         cause an error when `flyspell-pre-point' was nil after switching
10223         buffers.
10224         (flyspell-post-command-hook): No longer needs to change buffers when
10225         checking pre-word.  While at it remove unnecessary progn.
10227 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10229         * textmodes/ispell.el (ispell-add-per-file-word-list):
10230         Fix `flyspell-correct-word-before-point' error when accepting
10231         words and `coment-padding' is an integer by using
10232         `comment-normalize-vars' (Bug #14214).
10234 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10236         New defun movement commands.
10237         * progmodes/python.el (python-nav--syntactically)
10238         (python-nav--forward-defun, python-nav-backward-defun)
10239         (python-nav-forward-defun): New functions.
10241 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10243         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10244         (python-syntax-context): Use named compiler-macro for backwards
10245         compatibility with Emacs 24.x.
10247 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10249         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10250         octave-hide-process-buffer.
10252 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10254         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10255         (bug#14216).
10257 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10259         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10260         Fix adjustment of offset when receiving incomplete responses from GDB
10261         (bug#14129).
10263 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10265         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10266         python-mode-abbrev-table.
10267         (python-skeleton-define): Adjust accordingly.
10268         (python-mode-abbrev-table): New table that inherits from it so that
10269         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10271         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10272         (abbrev-symbol): Use it.
10273         (abbrev--before-point): Use it since we already handle inheritance.
10275 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10277         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10278         binding to info-lookup-symbol.
10280 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10282         * minibuffer.el (completion--twq-all):
10283         * term/ns-win.el (ns-initialize-window-system):
10284         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10286 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10288         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10289         global bindings.
10291         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10293 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10295         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10296         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10297         to nil.
10298         (ruby-end-of-defun): Remove the unused arg, change the docstring
10299         to reflect that this function is only used as the value of
10300         `end-of-defun-function'.
10301         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10302         to reflect an earlier change that beginning/end-of-defun functions
10303         jump between methods in a class definition, as well as top-level
10304         functions.
10306 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10308         * minibuffer.el (minibuffer-complete): Don't just scroll
10309         a *Completions* that's been iconified.
10310         (minibuffer-force-complete): Make sure repetitions do cycle when going
10311         through completion-in-region -> minibuffer-complete.
10313 2013-04-15  Alan Mackenzie  <acm@muc.de>
10315         Correct the placement of c-cpp-delimiters when there're #s not at
10316         col 0.
10318         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10319         place a submatch around the #.
10320         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10321         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10322         on the #, not BOL.
10324 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10326         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10327         (advice--member-p): New arg `name'.
10328         (advice--add-function, advice-member-p): Use it (bug#14202).
10330 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10332         Reformulate java imenu-generic-expression.
10333         The old expression contained ill formed regexps.
10335         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10336         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10337         (cc-imenu-java-method-arg-regexp): New defconsts.
10338         (cc-imenu-java-build-type-args-regex): New defun.
10339         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10340         handling of spaces in the regexp.
10342 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10344         * textmodes/ispell.el (ispell-command-loop): Remove
10345         flyspell highlight of a word when ispell accepts it (bug #14178).
10347 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10349         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10350         uses code from the previous `ange-ftp-run-real-handler'.
10351         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10352         only in case that function exist.  This is needed for proper
10353         unloading of Tramp.
10355 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10357         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10359         * textmodes/reftex.el (reftex-compile-variables): Use it.
10361 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10363         * files.el (normal-mode): Only use default major-mode if no other mode
10364         was specified.
10366         * emacs-lisp/trace.el (trace-values): New function.
10368         * files.el: Allow : in local variables (bug#14089).
10369         (hack-local-variable-regexp): New var.
10370         (hack-local-variables-prop-line, hack-local-variables): Use it.
10372 2013-04-13  Roland Winkler  <winkler@gnu.org>
10374         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10375         data before it gets modified by bibtex-beginning-of-entry.
10377 2013-04-13  Roland Winkler  <winkler@gnu.org>
10379         * textmodes/bibtex.el (bibtex-url): Doc fix.
10381 2013-04-13  Roland Winkler  <winkler@gnu.org>
10383         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10384         does not visit a BibTeX file, exclude it from the list of buffers
10385         returned by bibtex-initialize.
10387 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10389         * window.el (split-window): Remove interactive form, since as a
10390         command this function is a special case of split-window-below.
10391         Correct doc string.
10393 2013-04-12  Roland Winkler  <winkler@gnu.org>
10395         * faces.el (read-face-name): Do not override value of arg default.
10396         Allow single faces and strings as default values.  Remove those
10397         elements from return value that are not faces.
10398         (describe-face): Simplify.
10399         (face-at-point): New optional args thing and multiple so that this
10400         function can provide the same functionality previously provided by
10401         read-face-name.
10402         (make-face-bold, make-face-unbold, make-face-italic)
10403         (make-face-unitalic, make-face-bold-italic, invert-face)
10404         (modify-face, read-face-and-attribute): Use face-at-point.
10406         * cus-edit.el (customize-face, customize-face-other-window)
10407         * cus-theme.el (custom-theme-add-face)
10408         * face-remap.el (buffer-face-set)
10409         * facemenu.el (facemenu-set-face): Use face-at-point.
10411 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10413         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10415 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10417         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10418         off leading { and trailing } from field values.
10420 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10422         * emacs-lisp/timer.el (timer--check): New function.
10423         (timer--time, timer-set-function, timer-event-handler): Use it.
10424         (timer-set-idle-time): Simplify.
10425         (timer--activate): CSE.
10426         (timer-event-handler): Give more info in error message.
10427         (internal-timer-start-idle): New function, moved from C.
10429         * mpc.el (mpc-proc): Add `restart' argument.
10430         (mpc-proc-cmd): Use it.
10431         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10432         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10433         less often.
10435 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10437         * progmodes/sh-script.el: Implement `sh-mode' own
10438         `add-log-current-defun-function' (bug#14112).
10439         (sh-current-defun-name): New function.
10440         (sh-mode): Use the function.
10442 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10444         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10446 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10448         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10450         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10451         timer (bug#14156).
10453 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10455         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10456         declaration.
10458 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10460         * pcmpl-x.el: New file.
10462 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10464         Do not set x-display-name until X connection is established.
10465         This is needed to prevent from weird situation described at
10466         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10467         * frame.el (make-frame): Set x-display-name after call to
10468         window system initialization function, not before.
10469         * term/x-win.el (x-initialize-window-system): Add optional
10470         display argument and use it.
10471         * term/w32-win.el (w32-initialize-window-system):
10472         * term/ns-win.el (ns-initialize-window-system):
10473         * term/pc-win.el (msdos-initialize-window-system):
10474         Add compatible optional display argument.
10476 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10478         * files.el (normal-backup-enable-predicate): On MS-Windows and
10479         MS-DOS compare truenames of temporary-file-directory and of the
10480         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10481         don't fail comparison by compare-strings.  Also, compare file
10482         names case-insensitively on MS-Windows and MS-DOS.
10484 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10486         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10487         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10489 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10491         * whitespace.el (whitespace-color-on, whitespace-color-off):
10492         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10494 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10496         * ispell.el (ispell-set-spellchecker-params):
10497         Really set `ispell-args' for all equivs.
10499 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10501         * ido.el (ido-completions): Use extra elements of ido-decorations
10502         (bug#14143).
10503         (ido-decorations): Update docstring.
10505 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10507         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10508         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10509         nil during initialization, in order not to miss changes since the
10510         file was opened.  (Bug#14140)
10512 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10514         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10516 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10518         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10520 2013-04-04  Glenn Morris  <rgm@gnu.org>
10522         * electric.el (electric-pair-inhibit-predicate): Add :version.
10524 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10526         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10527         when a package is required several times (bug#14082).
10529 2013-04-04  Roland Winkler  <winkler@gnu.org>
10531         * faces.el (read-face-name): Behave as promised by the docstring.
10532         Assume that arg default is a list of faces.
10533         (describe-face): Call read-face-name with list of default faces.
10535 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10537         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10538         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10539         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10540         the header.
10541         (bookmark-exit-hook-internal): Save even if list is empty.
10543 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10545         * emacs-lisp/package.el (package-pinned-packages): New var.
10546         (package--add-to-archive-contents): Obey it (bug#14118).
10548 2013-04-03  Alan Mackenzie  <acm@muc.de>
10550         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10551         Also adapt to the new values of element 7 of a parse state.
10553         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10554         parameter `not-in-delimiter'.  Handle being inside comment opener.
10555         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10556         character in case we're typing a '*' after a '/'.
10557         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10558         instead by passing the parameter to c-state-pp-to-literal.
10560         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10561         for elt. 7 of a parse state.
10563 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10565         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10566         * international/latin1-disp.el, international/mule-util.el:
10567         * language/cyril-util.el, language/european.el, language/ind-util.el:
10568         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10569         * language/tibetan.el, language/viet-util.el:
10570         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10572 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10574         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10575         (electric-pair-post-self-insert-function): Use it.
10576         (electric-pair-default-inhibit): New function, extracted from
10577         electric-pair-post-self-insert-function.
10579 2013-03-31  Roland Winkler  <winkler@gnu.org>
10581         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10583 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10585         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10587 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10589         Un-indent after "pass" and "return" statements (Bug#13888)
10590         * progmodes/python.el (python-indent-block-enders): New var.
10591         (python-indent-calculate-indentation): Use it.
10593 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10595         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10596         defun.  Defining it as defalias could introduce too eager
10597         byte-compiler optimization.  (Bug#14030)
10599 2013-03-30  Chong Yidong  <cyd@gnu.org>
10601         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10603 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10605         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10606         (kmacro-execute-from-register): Pass the keyboard macro to
10607         kmacro-call-macro or repeating won't work correctly.
10609 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10611         * progmodes/subword.el: Back to using `forward-symbol'.
10613         * subr.el (forward-whitespace, forward-symbol)
10614         (forward-same-syntax): Move from thingatpt.el.
10616 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10618         * kmacro.el (kmacro-to-register): New command.
10619         (kmacro-execute-from-register): New function.
10620         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10622 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10624         * mpc.el: Use defvar-local and setq-local.
10625         (mpc--proc-connect): Connection failures are not bugs.
10626         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10627         (mpc-volume-map): Bind to the up-events.
10629 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10631         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10632         instead of `forward-symbol'.
10634 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10636         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10637         (edebug--recursive-edit): Use it.
10638         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10639         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10641 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10643         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10645 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10647         * facemenu.el (list-colors-callback): New defvar.
10648         (list-colors-redisplay): New function.
10649         (list-colors-display): Install list-colors-redisplay as the
10650         revert-buffer-function.  (Bug#14063)
10652 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10654         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10655         and suffixes don't overlap (bug#14061).
10657         * case-table.el: Use lexical-binding.
10658         (case-table-get-table): New function.
10659         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10661 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10663         * progmodes/subword.el: Add `superword-mode' to do word motion
10664         over symbol_words (parallels and leverages `subword-mode' which
10665         does word motion inside MixedCaseWords).
10667 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10669         * eshell/em-unix.el: Move su and sudo to...
10670         * eshell/em-tramp.el: ...Eshell tramp module.
10672 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10674         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10675         Change return value to be a sexp.  Delay `get-buffer' to after
10676         restoring the desktop (bug#13951).
10678 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10680         * register.el: Move semantic tag handling back to
10681         cedet/semantic/senator.el.  (Bug#14052)
10683 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10685         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10686         into the prompt either (bug#13963).
10688 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10691         part of "(error-foo)".
10693 2013-03-24  Juri Linkov  <juri@jurta.org>
10695         * replace.el (list-matching-lines-prefix-face): New defcustom.
10696         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10697         `occur-engine' if `face-differs-from-default-p' returns t.
10698         (occur-engine): Add `,' inside backquote construct to evaluate
10699         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10700         Pass `prefix-face' to the functions `occur-context-lines' and
10701         `occur-engine-add-prefix'.
10702         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10703         `prefix-face' and propertize the prefix with `prefix-face'.
10704         (Bug#14017)
10706 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10708         * nxml/rng-valid.el (rng-validate-while-idle)
10709         (rng-validate-quick-while-idle): Guard against deleted buffer.
10710         (Bug#13999)
10712         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10713         is the last entry in kill-buffer-hook.
10715         * files.el (kill-buffer-hook): Doc fix.
10717 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10719         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10720         Make it safe-local.
10722         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10724 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10726         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10727         Remove.
10729         * nxml/rng-valid.el (rng-validate-mode)
10730         (rng-after-change-function, rng-do-some-validation):
10731         * nxml/rng-maint.el (rng-validate-buffer):
10732         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10733         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10734         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10735         (nxml-extend-after-change-region): Use with-silent-modifications.
10737         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10738         timer-idle-list.
10740         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10741         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10742         timer-idle-list.  (Bug#13999)
10744 2013-03-23  Juri Linkov  <juri@jurta.org>
10746         * info.el (info-index-match): New face.
10747         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10748         main pattern and add text properties with the new face to matches
10749         in index entries relative to the beginning of the index entry.
10750         (Bug#14015)
10752 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10754         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10755         Inhibit read only while inserting objects.
10757 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10759         * progmodes/cfengine.el: Update docs to mention
10760         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10761         symbol motion.  Remove "_" from the word syntax.
10763 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10765         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10766         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10768 2013-03-20  Juri Linkov  <juri@jurta.org>
10770         * info.el (Info-next-reference-or-link)
10771         (Info-prev-reference-or-link): New functions.
10772         (Info-next-reference, Info-prev-reference): Use them.
10773         (Info-try-follow-nearest-node): Handle footnote navigation.
10774         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10776 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10778         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10779         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10781 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10783         Suppress unnecessary non-ASCII chatter during build process.
10784         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10785         (batch-skkdic-convert): Suppress most of the chatter.
10786         It's not needed so much now that machines are faster,
10787         and its non-ASCII component was confusing; see Dmitry Gutov in
10788         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10790 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10792         * ido.el (ido-chop): Fix bug#10994.
10794 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10796         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10797         Remove vars.
10798         (whitespace-color-on, whitespace-color-off):
10799         Use `font-lock-fontify-buffer' (Bug#13817).
10801 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10803         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10804         remapping in mode-line.
10805         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10807 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10809         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10810         value for `whitespace-line' face (Bug#13875).
10811         (whitespace-font-lock-keywords): Change description.
10812         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10813         the constructed keywords instead.
10814         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10816 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10818         * progmodes/compile.el (compilation-display-error): New command.
10819         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10820         C-o.  (Bug#13992)
10822 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10824         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10826 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10828         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10830 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10832         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10834         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10835         * net/tramp-gvfs.el (top):
10836         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10837         (tramp-handle-shell-command): Use it.
10838         (tramp-dissect-file-name): Raise an error when hostname is a
10839         method name, and neither method nor user is specified.
10841         * net/trampver.el: Update release number.
10843 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10845         Make sure eldoc can be turned off properly.
10846         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10847         eldoc-mode.
10848         (eldoc-display-message-p): Revert last change.
10849         (eldoc-display-message-no-interference-p)
10850         (eldoc-print-current-symbol-info): Tweak.
10852 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10854         * doc-view.el (doc-view-new-window-function): Check the new window
10855         overlay's display property instead the char property of the
10856         buffer's first char.  Use `with-selected-window' instead of
10857         `save-window-excursion' with `select-window'.
10858         (doc-view-document->bitmap): Check the current doc-view overlay's
10859         display property instead the char property of the buffer's first char.
10861 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10863         Automate the build of ja-dic.el (Bug#13984).
10864         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10865         from the input, rather than assume that it's been done for us by the
10866         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10867         the current date into a ja-dic.el comment, as that complicates
10868         regression testing.
10870 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10872         * whitespace.el: Fix double evaluation.
10873         (whitespace-space, whitespace-hspace, whitespace-tab)
10874         (whitespace-newline, whitespace-trailing, whitespace-line)
10875         (whitespace-space-before-tab, whitespace-indentation)
10876         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10877         obsolete defvars.
10878         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10879         (whitespace-color-on): Use a single font-lock-add-keywords call.
10880         Fix double-evaluation of face variables.
10882 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10884         * net/tramp-adb.el (tramp-adb-parse-device-names):
10885         Use `start-process' instead of `call-process'.  Otherwise, the
10886         function might be blocked under MS Windows.  (Bug#13299)
10888 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10890         Extend eldoc to display info in the mode-line.  (Bug#13978)
10891         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10892         (eldoc-mode-line-string): New variable.
10893         (eldoc-minibuffer-message): New function.
10894         (eldoc-message-function): New variable.
10895         (eldoc-message): Use it.
10896         (eldoc-display-message-p)
10897         (eldoc-display-message-no-interference-p):
10898         Support eldoc-post-insert-mode.
10900         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10901         (eval-expression): Run it.
10903 2013-03-17  Roland Winkler  <winkler@gnu.org>
10905         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10906         strings in the list of return values.
10908 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10910         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10911         radix before checking for HMS forms.
10913 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10915         * progmodes/scheme.el: Add indentation and font-locking for λ.
10916         (Bug#13975)
10918 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10920         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10921         token before point (bug#13942).
10923 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10925         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10927 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10929         * startup.el (command-line-normalize-file-name): Fix handling of
10930         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10931         <xfq.free@gmail.com> in
10932         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10934 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10936         Sync with Tramp 2.2.7.
10938         * net/trampver.el: Update release number.
10940 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10942         * doc-view.el: Fix bug#13887.
10943         (doc-view-insert-image): Don't modify overlay associated to
10944         non-live windows, and implement horizontal centering of image in
10945         case it's smaller than the window.
10946         (doc-view-new-window-function): Force redisplay of new windows on
10947         doc-view buffers.
10949 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10951         * saveplace.el (save-place-alist-to-file): Don't sort
10952         `save-place-alist', just pretty-print it (bug#13882).
10954 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10956         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10957         Check whether `default-file-name-coding-system' is bound.
10958         It isn't in XEmacs.
10960 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10962         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10963         backquotes for `obsolete' (bug#13929).
10965         * international/mule.el (find-auto-coding): Include file name in
10966         obsolescence warning (bug#13922).
10968 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
10970         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10971         for CFEngine 3-specific indentation.
10972         (cfengine3-indent-line): Use it.  Fix up category regex.
10973         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10975 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10977         * type-break.el (type-break-file-name):
10978         * textmodes/remember.el (remember-data-file):
10979         * strokes.el (strokes-file):
10980         * shadowfile.el (shadow-initialize):
10981         * saveplace.el (save-place-file):
10982         * ps-bdf.el (bdf-cache-file):
10983         * progmodes/idlwave.el (idlwave-config-directory):
10984         * net/quickurl.el (quickurl-url-file):
10985         * international/kkc.el (kkc-init-file-name):
10986         * ido.el (ido-save-directory-list-file):
10987         * emulation/viper.el (viper-custom-file-name):
10988         * emulation/vip.el (vip-startup-file):
10989         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10990         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10992 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
10994         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10995         * language/thai-word.el: Switch to UTF-8.
10997 See ChangeLog.16 for earlier changes.
10999 ;; Local Variables:
11000 ;; coding: utf-8
11001 ;; End:
11003   Copyright (C) 2011-2013 Free Software Foundation, Inc.
11005   This file is part of GNU Emacs.
11007   GNU Emacs is free software: you can redistribute it and/or modify
11008   it under the terms of the GNU General Public License as published by
11009   the Free Software Foundation, either version 3 of the License, or
11010   (at your option) any later version.
11012   GNU Emacs is distributed in the hope that it will be useful,
11013   but WITHOUT ANY WARRANTY; without even the implied warranty of
11014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11015   GNU General Public License for more details.
11017   You should have received a copy of the GNU General Public License
11018   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.