* lisp/desktop.el (desktop-auto-save-timeout): Change default to
[emacs.git] / lisp / ChangeLog
blob1fe7bd62b04c94d460fde4b47466fd9b8850ee15
1 2013-12-16  Juri Linkov  <juri@jurta.org>
3         * desktop.el (desktop-auto-save-timeout): Change default to
4         `auto-save-timeout'.  Doc fix.
5         (desktop-save): Skip the timestamp in desktop-saved-frameset
6         when checking for auto-save changes.
7         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
8         `desktop-auto-save' is called repeatedly by the idle timer.
9         (desktop-auto-save-set-timer): Replace `run-with-timer' with
10         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
11         (Bug#15331)
13 2013-12-16  Juri Linkov  <juri@jurta.org>
15         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
16         (Bug#16035)
17         (isearch-pre-command-hook): Check `this-command' for symbolp.
19 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
23 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
25         * progmodes/cfengine.el (cfengine3--current-word): Remove.
26         (cfengine3--current-function): Bring in the current-function
27         functionality from `cfengine3--current-word'.
28         (cfengine3-completion-function): Bring in the
29         bounds-of-current-word functionality from
30         `cfengine3--current-word'.
32 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
34         * window.el (display-buffer-below-selected):
35         Bind split-height-threshold to 0 as suggested by Juri Linkov.
37 2013-12-16  Leo Liu  <sdl.web@gmail.com>
39         * progmodes/compile.el (compile-goto-error): Do not push-mark.
40         Remove NOMSG arg and all uses changed.
42 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
44         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
45         (cua--deactivate-rectangle): Don't deactivate the mark.
46         (cua-set-rectangle-mark): Don't set mark-active since
47         cua--activate-rectangle already does it for us.
48         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
49         non-rectangular region.
51         * emulation/cua-base.el (cua-repeat-replace-region):
52         Use with-current-buffer.
54         * net/gnutls.el: Use cl-lib.
55         (gnutls-negotiate): `mapcan' -> cl-mapcan.
57 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
59         * emacs-lisp/package.el (package-built-in-p): Support both
60         built-in and the package.el converted package descriptions.
61         (package-show-package-list): Allow keywords.
62         (package-keyword-button-action): Use it instead of
63         `finder-list-matches'.
64         (package-menu-filter-interactive): Interactive filtering (by
65         keyword) function.
66         (package-menu--generate): Support keywords and change keymappings
67         and headers when they are given.
68         (package--has-keyword-p): Helper function.
69         (package-menu--refresh): Use it.
70         (package--mapc): Helper function.
71         (package-all-keywords): Use it.
72         (package-menu-mode-map): Set up menu items and keybindings to
73         provide a filtering UI.
75 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
77         * net/gnutls.el (gnutls-verify-error): New defcustom to control
78         the behavior when a certificate fails validation.  Defaults to
79         old behavior: never abort, just warn.
80         (gnutls-negotiate): Use it.
82 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
84         * window.el (display-buffer-below-selected): Never split window
85         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
87 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
89         * emacs-lisp/package.el (package--prepare-dependencies): New function.
90         (package-buffer-info): Use it (bug#15108).
92         * icomplete.el (icomplete-completions): Make sure the prefix is already
93         displayed elsewhere before hiding it.
95 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
97         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
98         open-paren tokens when preceded by a open-paren, too.
99         (ruby-smie-rules): Handle virtual indentation after open-paren
100         tokens specially.  If there is code between it and eol, return the
101         column where is starts (Bug#16118).
103 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
105         * progmodes/cfengine.el: Fix `add-hook' doc.
106         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
107         (cfengine3--current-word): Fix parameters.
108         (cfengine3-make-syntax-cache): Simplify further.
109         (cfengine3-completion-function, cfengine3--current-function):
110         Use `assq' for symbols.
111         (cfengine3--current-function): Fix `cfengine3--current-word' call.
113 2013-12-13  Glenn Morris  <rgm@gnu.org>
115         * loadup.el (load-path): Warn if site-load or site-init changes it.
116         No more need to reset it when bootstrapping.
118 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
120         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
121         locations for cf-promises.
122         (cfengine-mode-syntax-functions-regex): New caching variable.
123         (cfengine3-fallback-syntax): Fallback syntax for cases where
124         cf-promises doesn't run.
125         (cfengine3--current-word): Reimplement using
126         `cfengine-mode-syntax-functions-regex'.
127         (cfengine3-completion-function, cfengine3--current-function):
128         Use `cfengine3-make-syntax-cache' directly.
129         (cfengine3-clear-syntax-cache): New function.
130         (cfengine3-make-syntax-cache): Simplify and create
131         `cfengine-mode-syntax-functions-regex' on demand.
132         (cfengine3-format-function-docstring): Don't call
133         `cfengine3-make-syntax-cache' explicitly.
135 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
137         Fix windmove-find-other-window broken after pixelwise resizing
138         (Bug#16017).
139         * windmove.el (windmove-other-window-loc): Revert change from
140         2013-12-04.
141         (windmove-find-other-window): Call window-in-direction.
142         * window.el (window-in-direction): New arguments SIGN, WRAP and
143         MINI to emulate original windmove-find-other-window behavior.
145 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
147         * simple.el (blink-matching--overlay): New variable.
148         (blink-matching-open): Instead of moving point, highlight the
149         matching paren with an overlay
150         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
152         * faces.el (paren-showing-faces, show-paren-match)
153         (show-paren-mismatch): Move from paren.el.
155 2013-12-13  Leo Liu  <sdl.web@gmail.com>
157         * indent.el (indent-region): Disable progress reporter in
158         minibuffer.  (Bug#16108)
160         * bindings.el (visual-order-cursor-movement): Fix version.
162 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
164         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
165         Also match after beginning of line.
166         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
167         files.  Thanks to Russell Sim. (Bug#15378)
169 2013-12-13  Juri Linkov  <juri@jurta.org>
171         * simple.el <Keypad support>: Remove key bindings duplicated
172         with bindings.el.  (Bug#14397)
174 2013-12-13  Juri Linkov  <juri@jurta.org>
176         * comint.el (comint-mode-map): Replace `delete-char' with
177         `delete-forward-char'.  (Bug#16109)
179 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
181         * progmodes/python.el (python-indent-calculate-indentation):
182         Fix de-denters cornercase. (Bug#15731)
184 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
186         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
187         (advice--make): Pay attention to `depth'.
188         (advice--make-1): Don't autoload commands eagerly.
189         * emacs-lisp/elp.el (elp-instrument-function):
190         * emacs-lisp/trace.el (trace-function-internal):
191         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
193         * iswitchb.el (iswitchb-mode): Don't belittle ido.
195 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
197         * term/w32-win.el (w32-handle-dropped-file):
198         * startup.el (normal-top-level):
199         * net/browse-url.el (browse-url-file-url):
200         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
201         decode file names using 'utf-8' rather than
202         file-name-coding-system.
204 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
206         * progmodes/python.el (python-indent-context)
207         (python-indent-calculate-indentation): Fix auto-identation
208         behavior for comment blocks. (Bug#15916)
210 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
212         * progmodes/python.el (python-indent-calculate-indentation):
213         When determining indentation, don't treat "return", "pass", etc., as
214         operators when they are just string constituents.  (Bug#15812)
216 2013-12-12  Juri Linkov  <juri@jurta.org>
218         * uniquify.el (uniquify-buffer-name-style): Change default to
219         `post-forward-angle-brackets'.
221         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
222         `uniquify'.  Change default to `post-forward-angle-brackets'.
224 2013-12-11  Glenn Morris  <rgm@gnu.org>
226         * emacs-lisp/package.el (finder-list-matches):
227         Autoload rather than falsely declaring.
229 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
231         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
232         (eww-mode-map): Use them.
234 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
236         * window.el (display-buffer-in-side-window): Fix doc-string
237         (Bug#16115).
239 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
241         * vc/vc-git.el: Silence byte-compiler warnings.
242         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
243         (log-edit-set-header): Declare.
245 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
247         * Makefile.in (custom-deps, finder-data): Run output file names
248         through unmsys--file-name.  (Bug#16099)
250 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
252         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
253         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
255         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
256         instead of deleting the selection "by hand" (bug#16098).
257         Rely on insert-for-yank to yank rectangles.
258         (cua-highlight-region-shift-only): Mark obsolete.
259         (cua-mode): Don't enable/disable transient-mark-mode,
260         shift-select-mode (cua-mode works both with and without them), and
261         pc-selection-mode (obsolete).
262         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
263         (cua--deactivate-rectangle): Deactivate it.
265         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
266         (delete-selection-helper): Make sure yank starts at the top of the
267         deleted region.
268         (minibuffer-keyboard-quit): Use region-active-p.
270         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
272         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
273         to `delete' (bug#16109).
275 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
277         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
278         info manual and show keybindings and set `:group' keyword.
280 2013-12-11  Juri Linkov  <juri@jurta.org>
282         * delsel.el (delete-active-region): Let-bind `this-command'
283         to prevent `kill-region' from changing its original value.
284         (delete-selection-helper): Handle `overwrite-mode' for the type
285         `kill' exactly the same way as for the type `t'.
286         (insert-char, quoted-insert, reindent-then-newline-and-indent):
287         Support more commands.  (Bug#13312)
289 2013-12-11  Juri Linkov  <juri@jurta.org>
291         * bindings.el: Map kp keys to non-kp keys systematically
292         with basic modifiers control, meta and shift.  (Bug#14397)
294 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
296         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
297         "Close browser" menu items.  Fix wrong function of "List
298         bookmarks".
300 2013-12-11  Juri Linkov  <juri@jurta.org>
302         * misearch.el (multi-isearch-buffers): Set the value of
303         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
304         arg of isearch-forward to t.
305         (multi-isearch-buffers-regexp): Set the value of
306         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
307         arg of isearch-forward-regexp to t.
308         (multi-isearch-files): Set the value of
309         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
310         arg of isearch-forward to t.
311         (multi-isearch-files-regexp): Set the value of
312         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
313         arg of isearch-forward-regexp to t.  (Bug#16035)
315         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
316         arg of isearch-forward to t.
317         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
318         arg of isearch-forward-regexp to t.
319         (dired-isearch-filter-filenames): Remove unnecessary check for
320         `dired-isearch-filenames'.
322         * comint.el (comint-history-isearch-backward):
323         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
324         (comint-history-isearch-backward-regexp):
325         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
327 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
329         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
330         unmsys--file-name.  (Bug#16099)
332 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
334         * emacs-lisp/package.el (package-keyword-button-action):
335         Remove finder.el require dependency.
337 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
339         * emacs-lisp/package.el: Require finder.el.
340         (describe-package-1): Add keyword buttons.
341         (package-make-button): New convenience function.
342         (package-keyword-button-action): Keyword button action using
343         `finder-list-matches'
345 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
347         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
348         last commit.
350 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
352         * autorevert.el (auto-revert-notify-add-watch): Do not handle
353         symlinked files.
355 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
357         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
358         after the end of a percent literal.
360 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
362         * progmodes/ruby-mode.el (ruby-forward-string): Document.
363         Handle caret-delimited strings (Bug#16079).
365 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
367         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
368         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
369         `ruby-parse-partial' (Bug#16078).
371 2013-12-09  Leo Liu  <sdl.web@gmail.com>
373         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
375 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
377         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
378         (js-switch-indent-offset): New option.
379         (js--proper-indentation): Use it.  And handle the case when
380         "default" is actually a key in an object literal.
381         (js--same-line): New function.
382         (js--multi-line-declaration-indentation): Use it.
383         (js--indent-in-array-comp, js--array-comp-indentation):
384         New functions.
385         (js--proper-indentation): Use them, to handle array comprehension
386         continuations.
388 2013-12-08  Leo Liu  <sdl.web@gmail.com>
390         * progmodes/flymake.el (flymake-highlight-line): Re-write.
391         (flymake-make-overlay): Remove arg MOUSE-FACE.
392         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
394 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
396         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
397         New function.
398         (redisplay-highlight-region-function): Use it.
400         * emulation/cua-base.el (cua--explicit-region-start)
401         (cua--last-region-shifted): Remove.
402         (cua--deactivate): Use deactivate-mark.
403         (cua--pre-command-handler-1): Don't handle shift-selection.
404         (cua--post-command-handler-1): Don't change transient-mark-mode.
405         (cua--select-keymaps): Use region-active-p rather than
406         cua--explicit-region-start or cua--last-region-shifted.
407         (cua-mode): Enable shift-select-mode.
409 2013-12-08  Leo Liu  <sdl.web@gmail.com>
411         * progmodes/flymake.el (flymake-popup-current-error-menu):
412         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
413         (flymake-posn-at-point-as-event, flymake-popup-menu)
414         (flymake-make-emacs-menu): Remove.  (Bug#16077)
416 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
418         * rect.el (rectangle-mark-mode): Activate mark even if
419         transient-mark-mode is off (bug#16066).
420         (rectangle--highlight-for-redisplay): Fix boundary condition when point
421         is > mark and at bolp.
423         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
424         (region-extract-function): Use it.
425         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
426         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
427         Delete functions.
428         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
429         kill-ring-save, kill-region, delete-char, delete-forward-char.
430         Ignore self-insert-iso.
432         * emulation/cua-gmrk.el (cua--init-global-mark):
433         Ignore `self-insert-iso'.
435         * emulation/cua-base.el (cua--prefix-copy-handler)
436         (cua--prefix-cut-handler): Rely on region-extract-function rather than
437         checking cua--rectangle.
438         (cua-delete-region): Use region-extract-function.
439         (cua-replace-region): Delete function.
440         (cua-copy-region, cua-cut-region): Obey region-extract-function.
441         (cua--pre-command-handler-1): Don't do the delete-selection thing.
442         (cua--self-insert-char-p): Ignore `self-insert-iso'.
443         (cua--init-keymaps): Don't remap delete-selection commands.
444         (cua-mode): Use delete-selection-mode instead of rolling our own
445         (bug#16085).
447         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
448         Obey region-extract-function.
450         Make registers and delete-selection-mode work on rectangles.
451         * register.el (describe-register-1): Don't modify the register's value.
452         (copy-to-register): Obey region-extract-function.
453         * delsel.el (delete-active-region): Obey region-extract-function.
455 2013-12-08  Leo Liu  <sdl.web@gmail.com>
457         * progmodes/flymake.el (flymake, flymake-error-bitmap)
458         (flymake-warning-bitmap, flymake-fringe-indicator-position)
459         (flymake-compilation-prevents-syntax-check)
460         (flymake-start-syntax-check-on-newline)
461         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
462         (flymake-start-syntax-check-on-find-file, flymake-log-level)
463         (flymake-xml-program, flymake-master-file-dirs)
464         (flymake-master-file-count-limit)
465         (flymake-allowed-file-name-masks): Relocate.
466         (flymake-makehash, flymake-float-time)
467         (flymake-replace-regexp-in-string, flymake-split-string)
468         (flymake-get-temp-dir): Remove.
469         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
470         (flymake-current-row, flymake-selected-frame)
471         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
472         related functions.  (Bug#16077)
474 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
476         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
478 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
480         * help-fns.el (describe-function-1): Use new advice-* functions
481         rather than old ad-* functions.  Fix function type description and
482         source links for advised functions and subrs.
484 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
486         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
488 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
490         * progmodes/compile.el (compilation-start):
491         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
493         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
494         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
496 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
498         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
499         Touch up the last change.
501 2013-12-06  Leo Liu  <sdl.web@gmail.com>
503         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
504         (inferior-octave-startup): Always use "octave> " for prompt.
505         (octave-goto-function-definition)
506         (octave-sync-function-file-names)
507         (octave-find-definition-default-filename): Remove redundant backquotes.
509 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
511         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
512         syntax for `?'.
513         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
514         where appropriate already.
515         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
516         end of method names (Bug#15874).
518 2013-12-06  Juri Linkov  <juri@jurta.org>
520         * isearch.el (isearch--saved-overriding-local-map):
521         New internal variable.
522         (isearch-mode): Set it to the initial value of
523         `overriding-terminal-local-map'.
524         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
525         with `isearch--saved-overriding-local-map'.  (Bug#16035)
527 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
529         * progmodes/octave.el (inferior-octave-completion-table):
530         Turn back into function, use `completion-table-with-cache'
531         (Bug#11906).  Update all references.
533         * minibuffer.el (completion-table-with-cache): New function.
535 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
537         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
539 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
541         * net/eww.el (eww-current-source): New variable to store page
542         source.
543         (eww-display-html, eww-mode, eww-save-history)
544         (eww-restore-history): Use it.
545         (eww-view-source): New command to view page source.
546         Opportunistically uses `html-mode' to highlight the buffer.
547         (eww-mode-map): Install it.
549 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
551         * net/dbus.el (dbus-unregister-service)
552         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
553         Fix docstring.
554         (dbus-unregister-service): Skip :serial entries in
555         `dbus-registered-objects-table'.
556         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
558 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
560         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
561         around keywords with extra `split-string' argument.
563 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
565         * windmove.el (windmove-other-window-loc): Handle navigation
566         between windows (excluding the minibuffer window - Bug#16017).
568 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
570         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
571         in D-Bus type syntax.
572         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
573         preserve unibyte strings.  (Bug#16048)
575 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
577         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
578         Call force-mode-line-update is the proper buffer (bug#16042).
580 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
582         * vc/log-edit.el (log-edit-add-new-comment): Rename to
583         `log-edit-remember-comment', make argument optional.  Adjust all
584         callers.
585         (log-edit-mode): Add `log-edit-remember-comment' to
586         `kill-buffer-hook' locally.
587         (log-edit-kill-buffer): Don't remember comment explicitly since
588         the buffer is killed anyway.
590 2013-12-04  Juri Linkov  <juri@jurta.org>
592         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
593         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
595 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
597         * notifications.el (notifications-close-notification): Call the
598         D-Bus method with ID being a `:uint32'.  (Bug#16030)
600 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
602         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
604 2013-12-03  Juri Linkov  <juri@jurta.org>
606         * progmodes/compile.el (compilation-start): Rename window alist
607         entry `no-display-ok' to `allow-no-window'.
609         * simple.el (shell-command): Add window alist entry
610         `allow-no-window' to `display-buffer'.
611         (async-shell-command): Doc fix.
613         * window.el (display-buffer-no-window): New action function.
614         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
616 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
618         * vc/log-edit.el (log-edit-set-header): Extract from
619         `log-edit-toggle-header'.
620         (log-edit-extract-headers): Separate the summary, when extracted
621         from header, from the rest of the message with an empty line.
623         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
624         line, if present, to the Summary header.
626 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
628         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
629         in current-buffer (bug#16029).
631 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
633         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
634         (debugger-mode-map): Bind it.
635         (debugger--backtrace-base): New function.
636         (debugger-eval-expression): Use it.
637         (debugger-frame-number): Skip local vars when present.
638         (debugger--locals-visible-p, debugger--insert-locals)
639         (debugger--show-locals, debugger--hide-locals): New functions.
641 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
643         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
644         "LC_ALL".
645         (tramp-get-remote-locale): New defun.
646         (tramp-open-connection-setup-interactive-shell): Use it.
648 2013-12-02  Leo Liu  <sdl.web@gmail.com>
650         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
652         * progmodes/sh-script.el (sh-shell-process):
653         * progmodes/octave.el (inferior-octave-process-live-p):
654         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
655         (gdb-inferior-io-sentinel):
656         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
658 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
660         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
661         `save-selected-window' to `log-edit-hide-buf'.  This makes
662         `log-edit-show-files' idempotent.
663         (log-edit-show-files): Mark the new window as dedicated.
665 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
667         * vc/log-edit.el (log-edit-mode-map): Add binding for
668         `log-edit-kill-biffer'.
669         (log-edit-hide-buf): Add a FIXME comment.
670         (log-edit-add-new-comment): New function, extracted from
671         `log-edit-done'.
672         (log-edit-done, log-edit-add-to-changelog): Use it.
673         (log-edit-kill-buffer): New command.
675 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
677         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
678         instead of killing the buffer.
680 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
684 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
686         * net/eww.el (eww-form-checkbox-selected-symbol)
687         (eww-form-checkbox-symbol): New customizable variable.
688         (eww-form-checkbox, eww-toggle-checkbox):
689         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
691         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
692         (shr--get-media-pref, shr--extract-best-source): New function.
693         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
694         no :src tag was specified.
696         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
697         (eww-render): Handle `eww-use-external-browser-for-content-type'.
698         Use \\` to match beginning of string instead of ^.
699         (eww-browse-with-external-browser): Provide optional URL parameter.
700         (eww-render): Set `eww-current-title' back to "".
702         * net/shr.el (shr-tag-video): Display content for video if no
703         poster is available.
704         (shr-tag-audio): Add support for <audio> tag.
706         * net/eww.el (eww-text-input-types): : New const.
707         (eww-process-text-input): Treat input types in
708         `eww-text-input-types' as text.
710         * net/shr.el (shr-tag-table): Fix comment typo.
712 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
714         * net/eww.el (eww-follow-link): New command to avoid reloading
715         pages when we follow #target links (bug#15243).
716         (eww-quit): Special mode buffers shouldn't query before exiting.
718 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
720         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
721         forms.
723 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
725         * net/eww.el (eww-restore-history): Update the window title after
726         moving in the history.
727         (eww-current-dom): New variable used to save the current DOM.
729 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
731         * vc/log-edit.el (log-edit-mode-map): Add binding for
732         `log-edit-beginning-of-line'.
733         (log-edit-setup-add-author): New user option.
734         (log-edit-beginning-of-line): New command.
735         (log-edit): Move major mode call above the contents setup so that
736         the local variable values are already applied.
737         (log-edit): Only insert "Author: " when
738         `log-edit-setup-add-author' is non-nil.
739         (log-edit): When SETUP is non-nil, position point after ": "
740         instead of point-min.
742 2013-12-01  Glenn Morris  <rgm@gnu.org>
744         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
746 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
748         * startup.el (fancy-splash-frame): On MS-Windows, trigger
749         redisplay to make sure the initial frame gets a chance to become
750         visible.  (Bug#16014)
752 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
754         Support resizing frames and windows pixelwise.
755         * cus-start.el (frame-resize-pixelwise)
756         (window-resize-pixelwise): New entries.
757         * emacs-lisp/debug.el (debug): Use window-total-height instead
758         of window-total-size.
759         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
760         * help.el (describe-bindings-internal): Call help-buffer
761         (temp-buffer-max-width): New option.
762         (resize-temp-buffer-window, help-window-setup)
763         (with-help-window): Rewrite.
764         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
765         dragging dividers.
766         * window.el (frame-char-size, window-min-pixel-height)
767         (window-safe-min-pixel-height, window-safe-min-pixel-width)
768         (window-min-pixel-width, window-safe-min-pixel-size)
769         (window-combination-p, window-safe-min-size)
770         (window-resizable-p, window--size-to-pixel)
771         (window--pixel-to-size, window--resize-apply-p): New functions.
772         (window-safe-min-height): Fix doc-string.
773         (window-size, window-min-size, window--min-size-1)
774         (window-sizable, window-sizable-p, window--min-delta-1)
775         (window-min-delta, window--max-delta-1, window-max-delta)
776         (window--resizable, window--resizable-p, window-resizable)
777         (window-full-height-p, window-full-width-p, window-at-side-p)
778         (window--in-direction-2, window-in-direction)
779         (window--resize-reset-1, window--resize-mini-window)
780         (window-resize, window-resize-no-error)
781         (window--resize-child-windows-normal)
782         (window--resize-child-windows, window--resize-siblings)
783         (window--resize-this-window, window--resize-root-window)
784         (window--resize-root-window-vertically)
785         (adjust-window-trailing-edge, enlarge-window, shrink-window)
786         (maximize-window, minimize-window, delete-window)
787         (quit-restore-window, window-split-min-size, split-window)
788         (balance-windows-2, balance-windows)
789         (balance-windows-area-adjust, balance-windows-area)
790         (window--state-get-1, window-state-get, window--state-put-1)
791         (window--state-put-2, window-state-put)
792         (display-buffer-record-window, window--display-buffer):
793         Make functions handle pixelwise sizing of windows.
794         (display-buffer--action-function-custom-type)
795         (display-buffer-fallback-action):
796         Add display-buffer-in-previous-window.
797         (display-buffer-use-some-window): Resize window to height it had
798         before.
799         (fit-window-to-buffer-horizontally): New option.
800         (fit-frame-to-buffer): Describe new values.
801         (fit-frame-to-buffer-bottom-margin): Replace with
802         fit-frame-to-buffer-margins.
803         (window--sanitize-margin): New function.
804         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
805         using window-text-pixel-size.
807 2013-11-30  Glenn Morris  <rgm@gnu.org>
809         * emacs-lisp/bytecomp.el (byte-compile-form):
810         Make the `interactive-only' warning like the `obsolete' one.
811         * comint.el (comint-run):
812         * files.el (insert-file-literally, insert-file):
813         * replace.el (replace-string, replace-regexp):
814         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
815         (goto-line, insert-buffer, next-line, previous-line):
816         Tweak `interactive-only' spec.
818         Stop keeping (most) generated cedet grammar files in the repository.
819         * Makefile.in (semantic): New.
820         (compile-main): Depend on semantic.
822 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
824         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
825         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
827         * uniquify.el (uniquify-buffer-name-style): Change default.
829         * loadup.el: Preload "uniquify".
831         * time.el (display-time-update): Update all mode lines (bug#15999).
833         * electric.el (electric-indent-mode): Enable by default.
834         * loadup.el: Preload "electric".
836 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
838         * emacs-lisp/helpers.el (string-empty-p): New function.
839         (string-blank-p): New function.
841 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
843         * imenu.el (imenu--index-alist): Add missing dot to the docstring
844         (Bug#14029).
846 2013-11-29  Andreas Politz  <politza@fh-trier.de>
847         * imenu.el (imenu--subalist-p): Don't error on non-conses and
848         allow non-lambda lists as functions.
849         (imenu--in-alist): Don't recurse into non-subalists.
850         (imenu): Don't pass function itself as an argument (Bug#14029).
852 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
854         * progmodes/python.el (python-mode-map): Remove binding for ":".
855         (python-indent-electric-colon): Remove command.
856         (python-indent-post-self-insert-function): Integrate the previous code
857         of python-indent-electric-colon.  Make it conditional on
858         electric-indent-mode.
859         (python-mode): Add ?: to electric-indent-chars.
860         Move python-indent-post-self-insert-function to the end of
861         post-self-insert-hook.
863 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
865         * doc-view.el (doc-view-goto-page): Update mode-line.
867         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
869 2013-11-27  Glenn Morris  <rgm@gnu.org>
871         * international/charprop.el, international/uni-bidi.el:
872         * international/uni-category.el, international/uni-combining.el:
873         * international/uni-comment.el, international/uni-decimal.el:
874         * international/uni-decomposition.el, international/uni-digit.el:
875         * international/uni-lowercase.el, international/uni-mirrored.el:
876         * international/uni-name.el, international/uni-numeric.el:
877         * international/uni-old-name.el, international/uni-titlecase.el:
878         * international/uni-uppercase.el:
879         Remove generated files from VCS repository.
881 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
883         * filenotify.el (file-notify-add-watch): Don't special-case
884         w32notify when computing the directory to watch.
886 2013-11-27  Glenn Morris  <rgm@gnu.org>
888         Make bootstrap without generated uni-*.el files possible again.
889         * loadup.el: Update command-line-args checking for unidata-gen.
890         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
891         * composite.el, international/characters.el:
892         Handle unicode tables being undefined.
894         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
895         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
896         (compile-main): Depend on leim rule.
897         (leim): New rule.
898         * loadup.el: Move leim-list.el to leim/ subdirectory.
899         * startup.el (normal-top-level): No more leim directory.
900         * international/ja-dic-cnv.el (skkdic-convert):
901         Disable version-control and autoloads in output files.
902         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
903         Disable version-control and autoloads in output files.
904         * leim/quail: Move here from ../leim.
905         * leim/quail/hangul.el (hangul-input-method-activate):
906         Add autoload cookie.
907         (generated-autoload-load-name): Set file-local value.
908         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
909         (generated-autoload-load-name): Set file-local value.
911 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
913         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
914         (eww-add-bookmark): ask confirmation when add to bookmarks
915         (eww-quit): ask confirmation before quitting eww
917 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
919         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
920         reading output from Diff on MS-Windows and MS-DOS.
922 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
924         * emacs-lisp/helpers.el (string-reverse): New function.
926 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
928         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
929         names on MS Windows, like "/[::1]:".
931         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
932         SWITCHES.
934 2013-11-26  Glenn Morris  <rgm@gnu.org>
936         * progmodes/python.el (python-indent-guess-indent-offset):
937         Avoid corner-case error.  (Bug#15975)
939         Preload leim-list.el.  (Bug#4789)
940         * loadup.el: Load leim-list.el when found.
941         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
943 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
945         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
947         * emacs-lisp/helpers.el (string-join): New function.
949 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
951         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
952         Mark as obsolete and replace it with a symbol property.
953         (byte-compile-form): Use new 'interactive-only property.
954         * comint.el, files.el, replace.el, simple.el:
955         Apply new 'interactive-only properly.
957 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
959         * window.el (display-buffer-at-bottom): Make sure that
960         split-window-sensibly creates the new window on bottom
961         (Bug#15961).
963 2013-11-23  David Kastrup  <dak@gnu.org>
965         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
966         on the conflict markers when available.
967         (smerge--get-marker): New function.
968         (smerge-end-re, smerge-base-re): Add subgroup.
970 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * frame.el (handle-focus-in, handle-focus-out): Add missing
973         interactive spec.
975 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
977         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
978         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
980 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
982         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
983         (gomoku--last-pos): New var.
984         (gomoku--intangible-chars): New const.
985         (gomoku--intangible): New function.
986         (gomoku-mode): Use it.  Derive from special-mode.
987         (gomoku-move-up): Adjust line count.
988         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
989         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
990         Simplify accordingly.
992         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
993         Remove blink-cursor code.
994         (blink-cursor-timer-function, blink-cursor-suspend):
995         Don't special-case GUIs.
996         (blink-cursor-mode): Use focus-in/out-hook.
998 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
1000         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1001         work when annotation is invisible (Bug#13886).
1003 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1005         * json.el (json-alist-p): Only return non-nil if the alist has
1006         simple keys (Bug#13518).
1008 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1010         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1011         when control-statement is the first statement in a buffer (Bug#15956).
1013 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
1015         * imenu.el (imenu-generic-skip-comments-and-strings):
1016         New option (Bug#15560).
1017         (imenu--generic-function): Use it.
1019 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
1021         * minibuffer.el (completion--in-region-1): Scroll the correct
1022         window. (Bug#13898)
1024 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
1026         * emacs-lisp/helpers.el: Add some string helpers.
1027         (string-trim-left): Removes leading whitespace.
1028         (string-trim-right): Removes trailing whitespace.
1029         (string-trim): Removes leading and trailing whitespace.
1031         * subr.el (string-suffix-p): New function.
1033 2013-11-23  Glenn Morris  <rgm@gnu.org>
1035         * progmodes/python.el (python-shell-send-file):
1036         Add option to delete file when done.  (Bug#15647)
1037         (python-shell-send-string, python-shell-send-region): Use it.
1039 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1041         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1042         to set buffer-read-only to t, never to nil.  (Bug#15938)
1044         * textmodes/tex-mode.el (latex-noindent-environments):
1045         Add safe-local-variable property.  (Bug#15936)
1047 2013-11-23  Glenn Morris  <rgm@gnu.org>
1049         * textmodes/enriched.el (enriched-mode): Doc fix.
1050         * emacs-lisp/authors.el (authors-renamed-files-alist):
1051         Add enriched.doc -> enriched.txt.
1053         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1055 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1057         * progmodes/octave.el (inferior-octave-startup): Spit out error
1058         message.
1060 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1062         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1063         Improve docstring.
1064         Add :version.
1065         (ruby-encoding-magic-comment-style): Add :version.
1067 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1069         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1070         (Bug#15076)
1071         (octave-help-mode): Adapt to change to help-mode-finish to use
1072         derived-mode-p on 2013-09-17.
1073         (inferior-octave-prompt): Also match octave-gui.
1074         (octave-kill-process): Don't ask twice.  (Bug#10564)
1076 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1078         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1079         (inferior-octave-startup, inferior-octave-check-process)
1080         (inferior-octave-track-window-width-change)
1081         (octave-completion-at-point, octave-eldoc-function): Use it.
1082         (octave-kill-process): Provide confirmation.  (Bug#10564)
1084 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1086         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1087         Fix obsolete variable comment-use-global-state.
1089 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1091         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1092         Add `octave-source-file'.
1093         (octave-source-file): New function.  (Bug#15935)
1095 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
1097         * net/eww.el (eww-local-regex): New variable.
1098         (eww): Use it to detect localhost and similar.
1100 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1102         Add completion for command `ag'.
1103         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1104         (pcomplete/ag): New function.
1105         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1107 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1109         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1110         (bug#14646).
1111         (make-obsolete): Remove interactive spec.
1113 2013-11-21  Glenn Morris  <rgm@gnu.org>
1115         * startup.el (command-line-1): Use path-separator with -L.
1117 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1119         * emacs-lisp/package.el (describe-package-1): Add package archive
1120         to shown fields.
1122 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1124         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1125         Change default to "# encoding: %s" to differentiate it from the
1126         default Ruby encoding comment template.
1128 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1130         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1132 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1134         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1136 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1138         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1139         when rebase or bisect are in progress.
1141 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1143         * filenotify.el (file-notify-add-watch): Doc fix.
1145 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1147         * obsolete/rcompile.el: Mark obsolete.
1149         * progmodes/compile.el (compilation-start)
1150         (compilation-goto-locus, compilation-find-file):
1151         Pass no-display-ok and handle nil value from display-buffer.
1152         (Bug#13594)
1154         * window.el (display-buffer-alist, display-buffer): Document the
1155         new parameter no-display-ok.  Return either a window or nil
1156         but never a non-window value.
1158 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1160         * electric.el (electric-indent-mode-map): Remove.
1161         (electric-indent-mode): Change the global-map instead (bug#15915).
1163         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1164         Use add-function.
1166 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1168         * emacs-lisp/nadvice.el (remove-function): Align with
1169         add-function's behavior.
1171         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1172         (gdb--string-regexp): New constant.
1173         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1174         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1175         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1176         submatch 1.
1177         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1178         Adjust use accordingly.
1179         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1181 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1183         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1184         interpolation curlies (Bug#15914).
1186 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1188         * calc/calc.el (calc-context-sensitive-enter): New variable.
1189         (calc-enter): Use `calc-context-sensitive-enter'.
1191 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1193         * progmodes/cfengine.el: Version bump.
1194         (cfengine-cf-promises): New defcustom to locate cf-promises.
1195         (cfengine3-vartypes): Add new "data" type.
1196         (cfengine3--current-word): New function to get current name-like
1197         word or its bounds.
1198         (cfengine3--current-function): New function to look up a CFEngine
1199         function's definition.
1200         (cfengine3-format-function-docstring): New function.
1201         (cfengine3-make-syntax-cache): New function.
1202         (cfengine3-documentation-function): New function: ElDoc glue.
1203         (cfengine3-completion-function): New function: completion glue.
1204         (cfengine3-mode): Set `compile-command',
1205         `eldoc-documentation-function', and add to
1206         `completion-at-point-functions'.
1208 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1210         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1211         `tramp-current-connection'.
1213 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1215         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1216         nil/self/true/false with "end of symbol".
1218 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1220         * subr.el (version-regexp-alist): Fix a typo.
1222 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1224         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1225         "en_US.utf8" and "LC_CTYPE" to "".
1226         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1227         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1229 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1231         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1233 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1235         * progmodes/gud.el (ctl-x-map):
1236         Remove C-x SPC binding.  (Bug#12342)
1237         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1239 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1241         * subr.el (version-regexp-alist):
1242         Recognize hg, svn and darcs versions as snapshot versions.
1244         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1245         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1246         (ruby--encoding-comment-required-p): Extract from
1247         `ruby-mode-set-encoding'.
1248         (ruby-mode-set-encoding): Add the ability to always insert an
1249         utf-8 encoding comment.  Fix and simplify coding comment update
1250         logic.
1252 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1254         * net/tramp-gvfs.el (top): Run init code only when
1255         `tramp-gvfs-enabled' is not nil.
1256         (tramp-gvfs-enabled): Check also :system bus.
1258 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1260         Sync with upstream verilog-mode revision 78e66ba.
1261         * progmodes/verilog-mode.el (verilog-end-of-defun)
1262         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1263         (verilog-get-end-of-defun): Remove unused argument.
1264         (verilog-comment-depth): Remove unused local `e'.
1265         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1266         Don't pass arg to verilog-get-end-of-defun.
1268 2013-11-14  Glenn Morris  <rgm@gnu.org>
1270         * obsolete/assoc.el (aget): Prefix dynamic variable.
1272         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1274 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1276         * widget.el, hfy-cmap.el: Remove bogus package version number.
1278 2013-11-13  Glenn Morris  <rgm@gnu.org>
1280         * replace.el (replace-eval-replacement):
1281         Try to give more helpful error message.  (Bug#15836)
1283         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1284         (archive-7z-update): Avoid custom type mismatches.
1286         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1288 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1290         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1291         address can be empty.
1293         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1294         Accept nil SWITCHES.
1295         (tramp-gvfs-handle-write-region): Implement APPEND.
1297 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1299         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1300         binary "|" operator and closing block args delimiter.
1301         Remove FIXME comment referring to Ruby 1.8-only syntax.
1302         (ruby-smie--implicit-semi-p): Not after "|" operator.
1303         (ruby-smie--closing-pipe-p): New function.
1304         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1305         (ruby-smie-rules): Indent after "|".
1307 2013-11-12  Glenn Morris  <rgm@gnu.org>
1309         * ps-print.el (ps-face-attribute-list):
1310         Handle anonymous faces.  (Bug#15827)
1312 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1314         * window.el (display-buffer-other-frame): Fix doc-string.
1315         (Bug#15868)
1317 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1319         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1321 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1323         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1324         (tramp-sh-handle-file-local-copy): Don't write a message when
1325         saving temporary files.
1327         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1328         both directories are remote.
1329         (tramp-smb-handle-directory-files): Do not return double entries.
1330         Do not expand full file names.
1331         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1332         (tramp-smb-handle-write-region): Implement APPEND.
1333         (tramp-smb-get-stat-capability): Fix a stupid bug.
1335 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1337         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1339 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1341         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1342         throwing error over malformed let/let* (bug#15814).
1344 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1346         * iswitchb.el (iswitchb-mode): Mark obsolete.
1348 2013-11-11  Glenn Morris  <rgm@gnu.org>
1350         * international/uni-bidi.el, international/uni-category.el:
1351         * international/uni-name.el, international/uni-numeric.el:
1352         Regenerate for Unicode 6.3.0.
1354 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1356         * net/tramp.el (tramp-methods):
1357         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1358         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1360 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1362         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1363         Force highlighting text after Summary keyword in doc face for rpm.
1365 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1367         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1368         available and the word has no wildcards, append one to the grep pattern.
1369         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1370         (ispell-complete-word): Call `ispell-lookup-words' with the value
1371         independent of `ispell-look-p'.
1373 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1375         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1376         Not after "||".
1377         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1378         their parent.
1380 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1383         (ruby-font-lock-keywords): Use backquote.
1385 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1387         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1388         (ruby-smie--backward-token): Only consider full-string matches.
1390 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1392         * faces.el (describe-face): Add distant-foreground.
1394 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1396         * progmodes/ruby-mode.el: Improve encoding comment handling.
1397         (ruby-encoding-magic-comment-style): New option.
1398         (ruby-custom-encoding-magic-comment-template): New option.
1399         (ruby--insert-coding-comment, ruby--detect-encoding):
1400         New functions extracted from `ruby-mode-set-encoding'.
1401         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1402         to control the style of the auto-inserted encoding comment.
1404 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1406         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1407         Use `smie-backward-sexp' with token argument.
1409 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1411         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1412         Remove instrumentation code.
1414 2013-11-08  Glenn Morris  <rgm@gnu.org>
1416         * progmodes/autoconf.el (autoconf-mode):
1417         Tweak comment-start-skip.  (Bug#15822)
1419 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1421         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1422         at bobp (bug#15826).
1423         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1425 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1427         * man.el (Man-start-calling): New macro, extracted from
1428         Man-getpage-in-background.
1429         (Man-getpage-in-background): Use it.
1430         (Man-update-manpage): New command.
1431         (Man-mode-map): Bind it.
1433 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1435         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1436         of "and", "or", "&&" and "||".
1437         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1438         argument.  Prohibit opening curly brace because it could only be a
1439         block opener in that position.
1440         (ruby-smie--forward-token, ruby-smie--backward-token):
1441         Separate "|" from "&" or "*" going after it.  That can happen in block
1442         arguments.
1443         (ruby-smie--indent-to-stmt): New function, seeks the end of
1444         previous statement or beginning of buffer.
1445         (ruby-smie-rules): Use it.
1446         (ruby-smie-rules): Check if there's a ":" before a curly block
1447         opener candidate; if there is, it's a hash.
1449 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1451         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1452         (cl--block-wrapper): Fix last accidental change.
1454 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1456         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1457         Instrument, in order to hunt failure on hydra.
1459 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1461         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1462         malformed bindings form (bug#15814).
1464 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1466         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1467         "." compared to " @ ".  This incidentally fixes some indentation
1468         examples with "do".
1469         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1470         (ruby-smie-grammar): New tokens: "and" and "or".
1471         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1472         Exclude "and" and "or".  Remove "do" in order to work around token
1473         priorities.
1474         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1475         beginning-of-buffer.
1477 2013-11-06  Glenn Morris  <rgm@gnu.org>
1479         * Makefile.in (setwins_almost, setwins_for_subdirs):
1480         Avoid accidental matches.
1482 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * menu-bar.el (popup-menu): Use key-binding.
1486 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1488         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1489         menus, support also the menus produced by minor modes.
1490         (Bug#15817)
1492 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1494         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1495         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1497 2013-11-06  Glenn Morris  <rgm@gnu.org>
1499         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1500         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1501         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1503 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1505         * electric.el (electric-indent-just-newline): New command.
1506         (electric-indent-mode-map): New keymap.
1507         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1508         Re-add :group which weren't redundant.
1510         * electric.el (electric-indent-local-mode): New minor mode.
1511         (electric-indent-functions-without-reindent): New var.
1512         (electric-indent-post-self-insert-function): Use it.
1513         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1515 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1517         * international/quail.el (quail-help): Be more explicit about the
1518         meaning of the labels shown on the keys.  (Bug#15800)
1520         * startup.el (normal-top-level): Load the subdirs.el files before
1521         setting the locale environment.  (Bug#15805)
1523 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1525         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1526         via arguments so as to get the right ones (bug#15418).
1528         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1530 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1532         Fix problems found while writing a test suite.
1534         * net/tramp-compat.el (tramp-compat-load): New defun.
1535         * net/tramp.el (tramp-handle-load): Use it.
1537         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1538         "(numberp ok-if-already-exists)" correctly.
1540 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1542         * international/characters.el (glyphless-char-display-control):
1543         Add usage note.
1545 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1547         * progmodes/python.el (python-mode):
1548         * progmodes/scheme.el (scheme-mode):
1549         * progmodes/prolog.el (prolog-mode):
1550         * progmodes/ruby-mode.el (ruby-mode):
1551         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1552         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1554 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * rect.el (rectangle--highlight-for-redisplay):
1557         * emacs-lisp/smie.el (smie--next-indent-change):
1558         Use buffer-chars-modified-tick.
1560         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1562         * electric.el (electric-indent-post-self-insert-function):
1563         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1565 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1567         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1569 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1571         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1572         (bug#15786).
1574 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1576         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1578         * progmodes/python.el: Fix up last change.
1579         (python-shell--save-temp-file): New function.
1580         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1581         `string' comes from the current buffer.
1582         (python-shell-send-string-no-output): Remove `msg' arg.
1583         (python--use-fake-loc): New var.
1584         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1585         extra coding line added by python-shell--save-temp-file.
1586         (python-shell-send-region): Use python-shell--save-temp-file and
1587         python-shell-send-file directly.  Add `nomain' argument.
1588         (python-shell-send-buffer): Use python-shell-send-region.
1589         (python-electric-pair-string-delimiter): New function.
1590         (python-mode): Use it.
1592 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1594         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1595         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1596         environment and decoding all of the default-directory's to here
1597         from command-line.
1598         (command-line): Decode also argv[0].
1600         * loadup.el: Error out if default-directory is a multibyte string
1601         when we are dumping.
1603         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1605 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1607         * emacs-lisp/package.el (package-menu-mode)
1608         (package-menu--print-info, package-menu--archive-predicate):
1609         Add Archive column to package list.
1611 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1613         Fix problems found while writing a test suite.
1615         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1616         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1617         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1618         to nil when running original file name handler.  Otherwise,
1619         there are problems with constructs like "$$FOO".
1621         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1622         for `localname'.
1624 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1626         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1628         * subr.el (version<, version<=, version=):
1629         Update docstrings with information for snapshot versions.
1631         * helpers.el: New library for misc helper functions.
1632         (hash-table-keys): New function returning a list of hash keys.
1633         (hash-table-values): New function returning a list of hash values.
1635 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1637         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1638         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1640 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1642         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1643         checking whether point is after a 1-letter word.
1645 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1647         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1648         Don't infloop when expanding region over `multiline' syntax-type that
1649         begins a line (bug#15778).
1651 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1654         Make it into a proper minor mode.
1655         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1656         (rectangle-mark-mode-map): New keymap.
1657         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1659 2013-11-04  Glenn Morris  <rgm@gnu.org>
1661         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1663 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1665         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1666         (ruby-smie-rules): Use smie-rule-parent instead.
1668         * emacs-lisp/smie.el (smie-rule-parent): Always call
1669         smie-indent-virtual rather than only for hanging tokens.
1670         (smie--next-indent-change): New helper command.
1672 2013-11-03  Glenn Morris  <rgm@gnu.org>
1674         * Makefile.in (abs_srcdir): Remove.
1675         (emacs): Unset EMACSLOADPATH.
1677 2013-11-02  Glenn Morris  <rgm@gnu.org>
1679         * Makefile.in (EMACS): Use a relative filename.
1680         (abs_top_builddir): Remove.
1681         (custom-deps, finder-data, autoloads): Use --chdir.
1683         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1685         Use relative filenames in TAGS files.
1686         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1687         (lisptagsfiles4, TAGS): Use relative file names.
1688         (TAGS-LISP): Remove.
1689         (maintainer-clean): No more TAGS-LISP file.
1691         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1692         (lisptagsfiles4): Use absolute filenames again.
1693         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1694         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1695         (maintainer-clean): Delete TAGS, TAGS-LISP.
1697 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1699         * emacs-lisp/package.el (package-version-join):
1700         Recognize snapshot versions.
1702 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1704         * subr.el (version-regexp-alist): Add support for snapshot versions.
1706 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1708         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1709         New function, replacement for `smie-rule-parent' for when we want to
1710         skip over our direct parent if it's an assignment token..
1711         (ruby-smie-rules): Use it.
1713 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1715         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1716         unconditionally.  Remove now unnecessary forward declarations.
1717         Remove XEmacs-specific setup.
1718         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1719         (ruby-font-lock-syntactic-keywords)
1720         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1721         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1722         (ruby-here-doc-end-syntax): Remove.
1723         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1724         defined as function.
1726 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1728         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1730 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1732         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1733         table and abbrev table, `define-derived-mode' does that for us
1734         anyway.
1736 2013-11-01  Glenn Morris  <rgm@gnu.org>
1738         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1739         files is atomic for some time, so no parallel compilation issues).
1741 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1743         * faces.el (face-x-resources): Add :distant-foreground.
1744         (region): Use :distant-foreground for gtk and ns.
1746 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1748         Allow multiple bibliographies when BibLaTeX is used rather than
1749         BibTeX.
1750         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1751         (reftex-locate-bibliography-files): Us it.
1753 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1755         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1756         allow comments in pbm files.
1758         * term/w32-win.el (dynamic-library-alist): Support newer versions
1759         of libjpeg starting with v7: look only for the DLL from the
1760         version against which Emacs was built.
1761         Support versions of libpng beyond 1.4.x.
1762         Support libtiff v4.x.
1764 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1766         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1767         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1768         Add property :safe.
1769         (ruby-deep-arglist): Add property :type.
1771 2013-10-31  Glenn Morris  <rgm@gnu.org>
1773         * Makefile.in (custom-deps, finder-data): No need to setq the target
1774         variables, we are in the right directory and the defaults work fine.
1776 2013-10-30  Glenn Morris  <rgm@gnu.org>
1778         * Makefile.in (autoloads): Do not use abs_lisp.
1780         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1781         `newline' does not respect `standard-output', so use `princ'.
1783 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1785         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1786         * buff-menu.el (Buffer-menu--unmark): New function.
1787         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1789 2013-10-30  Glenn Morris  <rgm@gnu.org>
1791         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1793         * emacs-lisp/package.el (lm-homepage): Declare.
1795         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1796         Fix doc typos.
1798         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1800         * Makefile.in (finder-data, autoloads, update-subdirs)
1801         (compile-main, compile-clean, compile-always, bootstrap-clean):
1802         Check return value of cd.
1803         (compile-calc): Remove.
1805 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1809         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1810         (byte-compile-and-folded): New function.
1811         (=, <, >, <=, >=): Use it.
1813         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1814         (path-separator, null-device, buffer-file-coding-system)
1815         (lpr-headers-switches): Check system-type before modifying them.
1816         (find-buffer-file-type-coding-system): Mark obsolete.
1817         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1818         find-file-not-found-set-buffer-file-coding-system.
1819         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1820         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1821         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1822         (w32-direct-print-region-helper, w32-direct-print-region-function)
1823         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1824         * startup.el (normal-top-level-add-subdirs-to-load-path):
1825         * ps-print.el (ps-print-region-function):
1826         * lpr.el (print-region-function): Use new name.
1828         * subr.el (custom-declare-variable-early): Remove function.
1829         (custom-declare-variable-list): Remove var.
1830         (error, user-error): Remove `while' loop.
1831         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1832         (user-emacs-directory-warning, locate-user-emacs-file):
1833         Move to files.el.
1834         * simple.el (read-quoted-char-radix, read-quoted-char):
1835         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1836         Move from subr.el.
1837         * custom.el (custom-declare-variable-list): Don't process
1838         custom-declare-variable-list.
1840         * progmodes/python.el (python-shell-get-buffer): New function.
1841         (python-shell-get-process): Use it.
1842         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1843         Python which encoding was used.  Don't split-string since we only care
1844         about the first line.  Return the temp-file, if applicable.
1845         (python-shell-send-region): Tell compile.el how to turn locations in
1846         the temp-file into locations in the source buffer.
1848 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1850         * subr.el (undefined): Add missing behavior from the C code for
1851         unbound keys.
1853         * rect.el: Use lexical-binding.  Add new rectangular region support.
1854         (rectangle-mark): New command.
1855         (rectangle--region): New var.
1856         (deactivate-mark-hook): Reset rectangle--region.
1857         (rectangle--extract-region, rectangle--insert-for-yank)
1858         (rectangle--highlight-for-redisplay)
1859         (rectangle--unhighlight-for-redisplay): New functions.
1860         (region-extract-function, redisplay-unhighlight-region-function)
1861         (redisplay-highlight-region-function): Use them to handle
1862         rectangular region.
1863         * simple.el (region-extract-function): New var.
1864         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1865         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1866         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1867         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1868         (redisplay-unhighlight-region-function)
1869         (redisplay-highlight-region-function): New vars.
1870         (redisplay--update-region-highlight): New function.
1871         (pre-redisplay-function): Use it.
1872         (exchange-point-and-mark): Don't deactivate the mark before
1873         reactivate-it anyway.
1874         * comint.el (comint-kill-region): Remove yank-handler argument.
1875         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1876         (delete-char): Remove property, since it's now part of their
1877         default behavior.
1878         (self-insert-iso): Remove property since this command doesn't exist.
1880         * emacs-lisp/package.el (package--download-one-archive)
1881         (describe-package-1): Don't query the user about final newline.
1883 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1885         * net/tramp.el (tramp-methods): Document new functionality.
1886         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1887         tramp-hostname-checker if method provides one instead of scanning
1888         argument list for "%h" to decide hostname acceptability.
1890 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1892         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1893         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1894         Handle COPY-CONTENTS.  (Bug#15737)
1896 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1898         * epa-file.el
1899         (epa-file-cache-passphrase-for-symmetric-encryption):
1900         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1902 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1904         * image.el (defimage):
1905         (image-load-path): Doc fixes.
1907 2013-10-27  Alan Mackenzie  <acm@muc.de>
1909         Indent statements in macros following "##" correctly.
1910         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1911         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1913 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1915         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1917 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1919         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1920         after `=' is probably a new expression.
1922 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1924         * man.el (man-imenu-title): New option.
1925         (Man-mode-map): Add menu.  (Bug#15722)
1926         (Man-mode): Add imenu to menu.
1928 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1930         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1931         specific in what the first arg can be: a non-keyword word,
1932         string/regexp/percent literal opener, opening paren, or unary
1933         operator followed directly by word.
1935 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1937         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1938         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1939         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1940         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1941         Remove vars, they do not apply any more.
1942         (prolog-mode-abbrev-table): Remove redundant declaration.
1943         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1944         (prolog-use-smie): Remove.
1945         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1946         supported by prolog-electric-if-then-else-flag.
1947         (prolog-mode-variables, prolog-menu): Use setq-local.
1948         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1949         Remove binding to `Backspace' since this key doesn't exist anyway.
1950         Remove bindings for electric self-inserting keys.
1951         (prog-mode): Assume it's defined.
1952         (prolog-post-self-insert): New function.
1953         (prolog-mode): Use it.
1954         (prolog-indent-line, prolog-indent-level)
1955         (prolog-find-indent-of-matching-paren)
1956         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1957         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1958         (prolog-goto-next-paren, prolog-in-string-or-comment)
1959         (prolog-tokenize, prolog-inside-mline-comment)
1960         (prolog-find-start-of-mline-comment): Remove functions.
1961         (prolog-find-unmatched-paren, prolog-clause-end)
1962         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1963         (prolog-electric--if-then-else): Rename from
1964         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1965         (prolog-tokenize-searchkey): Remove const.
1966         (prolog-clause-info): Use forward-sexp.
1967         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1968         (prolog-electric-if-then-else): Remove commands.
1969         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1970         for use in post-self-insert-hook.
1971         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1972         for use in post-self-insert-hook.
1973         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1974         for use in post-self-insert-hook.
1975         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1976         adapt it for use in post-self-insert-hook.
1978 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1980         * emacs-lisp/ert.el (ert-run-tests-interactively):
1981         Use `completing-read'.  (Bug#9756)
1983 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1985         * simple.el (line-move): Call line-move-1 instead of
1986         line-move-visual when the current window hscroll is zero, but
1987         temporary-goal-column indicates we will need to hscroll as result
1988         of the movement.  (Bug#15712)
1990 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1992         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1993         capitalization.  Use :visible instead of :active.
1994         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1995         commands that are used with SMIE.
1996         (ruby-do-end-to-brace): Insert space after `{'.
1998 2013-10-25  John Anthony  <john@jo.hnanthony.com>
2000         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
2002         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
2004 2013-10-25  Glenn Morris  <rgm@gnu.org>
2006         * vc/vc.el (vc-print-log): Don't use a working revision unless
2007         one was explicitly specified.  (Bug#15322)
2009 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2011         * subr.el (add-to-list): Preserve return value in compiler-macro
2012         (bug#15692).
2014 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2016         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2017         result.  Ask user to retry using '-all' flag.  (Bug#15701)
2019 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2021         * emacs-lisp/smie.el: New smie-config system.
2022         (smie-config): New defcustom.
2023         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2024         (smie-config-guess, smie-config-save): New commands.
2025         (smie-config--mode-local, smie-config--buffer-local)
2026         (smie-config--trace, smie-config--modefuns): New vars.
2027         (smie-config--advice, smie-config--mode-hook)
2028         (smie-config--setter, smie-config-local, smie-config--get-trace)
2029         (smie-config--guess-value, smie-config--guess): New functions.
2030         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2031         text properties.  Treat "string fence" syntax like string syntax.
2033         * progmodes/sh-script.el (sh-use-smie): Change default.
2034         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2035         (sh-var-value): Simplify by CSE.
2036         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2037         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2038         is used.
2039         (sh-guess-basic-offset): Use cl-incf.
2040         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2042 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2044         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2045         (bug#15699).
2047 2013-10-24  Glenn Morris  <rgm@gnu.org>
2049         * Makefile.in (abs_top_srcdir): Remove.
2050         (update-subdirs): Use relative path to update-subdirs.
2052 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2054         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2055         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2056         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2057         Call unmsys--file-name before expand-file-name, not after it.
2059 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2061         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2062         (ert-test-skipped): New error.
2063         (ert-skip, ert-stats-skipped): New defuns.
2064         (ert--skip-unless): New macro.
2065         (ert-test-skipped): New struct.
2066         (ert--run-test-debugger, ert-test-result-type-p)
2067         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2068         (ert--stats-set-test-and-result, ert-char-for-test-result)
2069         (ert-string-for-test-result, ert-run-tests-batch)
2070         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2071         Handle skipped tests.  (Bug#9803)
2073 2013-10-24  Glenn Morris  <rgm@gnu.org>
2075         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2077         * Makefile.in (abs_top_srcdir): New, set by configure.
2078         (update-subdirs): Correct build-aux location.
2080 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2082         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2083         value, whether we could auto-deduce `backend', or not.
2085         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2086         with parameters" example.  Simplify the "is it block or is it
2087         hash" check, but also make it more thorough.
2089 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2091         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2093 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2095         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2096         { if it is hanging.
2098         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2099         :before ";".
2101 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2103         * progmodes/compile.el (compilation-directory-matcher)
2104         (compilation-page-delimiter):
2105         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2107 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2109         * ido.el (ido-tidy): Handle read-only text.
2111 2013-10-23  Glenn Morris  <rgm@gnu.org>
2113         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2114         (emacs, compile, compile-always):
2115         Quote entities that might contain whitespace.
2116         (custom-deps, finder-data, autoloads): Use abs_lisp.
2117         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2118         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2119         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2121 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2123         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2124         Use `following-char'.
2126 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2128         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2129         * progmodes/ruby-mode.el (ruby-smie-rules):
2130         Remove corresponding workaround.  Fix indentation rule of ";" so it
2131         also applies when ";" is the parent.
2133 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2135         * frame.el (display-screens, display-pixel-height)
2136         (display-pixel-width, display-mm-width, display-backing-store)
2137         (display-save-under, display-planes, display-color-cells)
2138         (display-visual-class, display-monitor-attributes-list):
2139         Mention the optional ‘display’ argument in doc strings.
2141 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2143         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2144         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2146 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2148         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2149         TODO.  Add "." after " @ ".
2150         (ruby-smie--at-dot-call): New function.  Checks if point at method
2151         call with explicit target.
2152         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2153         to the method name tokens when it precedes them.
2154         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2155         (ruby-smie-rules): Add rule for indentation before and after "."
2156         token.
2158 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2160         * textmodes/remember.el (remember-diary-extract-entries):
2161         Avoid add-to-list.
2163         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2164         an instruction.
2166 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2168         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2169         (ruby-smie--implicit-semi-p): Add new operator chars.
2171         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2172         `smie-down-list'.
2173         (ruby-smie--args-separator-p): Check that there's no newline
2174         between method call and its arguments.
2176 2013-10-20  Alan Mackenzie  <acm@muc.de>
2178         Allow comma separated lists after Java "implements".
2180         * progmodes/cc-engine.el (c-backward-over-enum-header):
2181         Parse commas.
2182         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2183         from a "disallowed" list in enum fontification.
2185 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2187         * startup.el (default-frame-background-mode): Remove unused defvar.
2189         * progmodes/verilog-mode.el (verilog-mode): Don't set
2190         comment-indent-function globally.
2192 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2194         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2195         Move Info menu item creation to ns-win.el.
2197         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2198         in menu bar.
2200         * menu-bar.el: Move GNUStep specific menus...
2202         * term/ns-win.el (ns-initialize-window-system): ... to here.
2204 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2206         * simple.el (newline): Only run post-self-insert-hook when
2207         called interactively.
2209 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2211         * icomplete.el (icomplete-with-completion-tables): Add :version.
2213 2013-10-19  Alan Mackenzie  <acm@muc.de>
2215         Fix fontification bugs with constructors and const.
2217         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2218         CASE 2) Remove the check for the absence of a suffix construct
2219         after a function declaration with only types (no identifiers) in
2220         the parentheses.  Also, accept a function declaration with just a
2221         type inside the parentheses, if this type can be positively
2222         recognised as such, or if a prefix keyword like "explicit" nails
2223         down the construct as a declaration.
2225 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2227         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2228         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2229         the problem whereby selecting a menu item that leads to a
2230         minibuffer prompt moves the cursor out of the minibuffer window,
2231         making it hard to type at the prompt.  Suggested by Stefan Monnier
2232         <monnier@iro.umontreal.ca>.
2234 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2236         * menu-bar.el: Don't make Services menu.
2238 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2240         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2241         (ffap-alist): Use ffap-c++-mode for c++-mode.
2242         (ffap-c++-path): New variable.
2243         (ffap-c++-mode): New function.
2245 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2247         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2249 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2251         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2252         introduced on 2013-09-08, which results in an infinite loop
2253         requesting a password.
2255 2013-10-18  Glenn Morris  <rgm@gnu.org>
2257         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2259 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2261         Sync with upstream verilog-mode revision 1a6ecec7.
2262         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2263         (verilog-mode-release-date): Remove.
2264         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2265         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2266         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2267         (verilog-auto-tieoff-ignore-regexp)
2268         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2269         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2270         (verilog-signals-with, verilog-dir-cache-preserving)
2271         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2272         Doc fixes.
2273         (verilog-case-fold): New option, to control case folding in
2274         regexp searches, bug597.
2275         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2276         (verilog-string-match-fold, verilog-in-paren-count)
2277         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2278         (verilog-at-close-struct-p): New functions.
2279         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2280         (verilog-forward-sexp, verilog-set-auto-endcomments):
2281         (verilog-leap-to-case-head): Handle "unique0" case.
2282         (verilog-in-constraint-re): New constant.
2283         (verilog-keywords, verilog-type-font-keywords):
2284         Add some SystemVerilog 1800-2012 keywords.
2285         (verilog-label-be): Remove unimplemented argument, bug669.
2286         (verilog-batch-execute-func): When batch expanding clear
2287         create-lockfiles to prevent spurious user locks when a file ends
2288         up not changing.
2289         (verilog-calculate-indent, verilog-calc-1)
2290         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2291         (verilog-do-indent): Fix indentation of nested constraints
2292         and structures.
2293         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2294         (verilog-auto-inst-param): Use verilog-string-match-fold.
2295         (verilog-read-inst-module-matcher):
2296         Fix AUTOINST on gate primitives with #1.
2297         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2298         Reads all user-defined typed variables.
2299         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2300         (verilog-signals-matching-regexp)
2301         (verilog-signals-not-matching-regexp, verilog-auto):
2302         Respect verilog-case-fold.
2303         (verilog-diff-report): Fix line count.
2304         (verilog-auto-assign-modport): Remove unused local `modi'.
2305         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2306         better handle multidimensional arrays.
2307         Fix packed array ports misadding bit index in AUTOINST, bug637.
2308         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2309         to not double-declare existing outputs and inputs, respectively.
2310         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2311         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2312         (verilog-sk-uvm-component): New skeleton.
2313         (verilog-submit-bug-report): Add verilog-case-fold,
2314         remove verilog-mode-release-date.
2316 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2318         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2319         as before.
2321 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2323         * textmodes/remember.el (remember): set buffer-offer-save in
2324         remember buffers (bug#13566).
2326 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2328         When evaluating forms in ielm, direct standard output to ielm
2329         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2330         whitespace throughout.
2332         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2333         (ielm-return-for-effect): New command.
2334         (ielm-send-input): Accept optional `for-effect' parameter.
2335         (ielm-eval-input): Accept optional `for-effect' parameter.
2336         Bind `standard-output' to stream we create using
2337         `ielm-standard-output-impl'.  Suppress printing result when
2338         `for-effect'.
2339         (ielm-standard-output-impl): New function.
2340         (inferior-emacs-lisp-mode): Explain new features in documentation.
2342 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2344         Code cleanup.
2346         * net/tramp.el (tramp-debug-message): Do not check for connection
2347         buffer.
2348         (tramp-message): Use "vector" connection property.
2350         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2351         (tramp-equal-remote, tramp-eshell-directory-change)
2352         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2353         (tramp-adb-handle-rename-file)
2354         * net/tramp-cmds.el (tramp-list-remote-buffers)
2355         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2356         * net/tramp-compat.el (tramp-compat-process-running-p)
2357         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2358         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2359         (tramp-gvfs-handle-rename-file)
2360         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2361         (tramp-set-file-uid-gid)
2362         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2363         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2364         of `file-remote-p'.
2366         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2367         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2368         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2369         (tramp-gw-open-network-stream): Suppress unrelated traces.
2371         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2372         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2373         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2374         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2375         connection property.
2377         * net/tramp-cache.el (top): Suppress traces when reading
2378         persistency file.
2380         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2381         Refactor common code.  Improve debug message.
2382         (tramp-maybe-open-connection)
2383         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2384         connection buffer too early.
2386         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2387         from `tramp-smb-actions-with-acl'.
2388         (tramp-smb-actions-set-acl): New defconst.
2389         (tramp-smb-handle-copy-directory)
2390         (tramp-smb-action-get-acl): New defun, renamed from
2391         `tramp-smb-action-with-acl'.
2392         (tramp-smb-action-set-acl): New defun.
2393         (tramp-smb-handle-set-file-acl): Rewrite.
2395 2013-10-17  Glenn Morris  <rgm@gnu.org>
2397         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2399 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2401         * skeleton.el (skeleton-newline): Remove.
2402         (skeleton-internal-1): Use (insert "\n") instead.
2404         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2405         let-bindings.
2407         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2408         forward-sexp-function while we redo its job (bug#15613).
2410 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2412         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2413         represented by lists.
2415 2013-10-16  Glenn Morris  <rgm@gnu.org>
2417         * tmm.el (tmm--history): New dynamic variable.
2418         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2420 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2422         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2423         (tramp-smb-errors): Add error messages.
2424         (tramp-smb-actions-with-acl): New defconst.
2425         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2426         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2427         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2428         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2429         (tramp-smb-get-stat-capability): Fix tests.
2431 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2433         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2434         (bug#15580).
2436 2013-10-16  Glenn Morris  <rgm@gnu.org>
2438         * ansi-color.el (ansi-color-drop-regexp):
2439         Add 1J, 1K, 2K.  (Bug#15617)
2441         * files.el (hack-local-variables--warned-lexical): New.
2442         (hack-local-variables):
2443         Warn about misplaced lexical-binding.  (Bug#15616)
2445         * net/eww.el (eww-render): Always set eww-current-url,
2446         and update header line.  (Bug#15622)
2447         (eww-display-html): ... Rather than just doing it here.
2449 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2451         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2452         menu navigations commands.
2454 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2456         * progmodes/subword.el (subword-capitalize): Be careful when
2457         the search for [[:alpha:]] fails (bug#15580).
2459 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2461         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2462         to commands that scroll the menu.
2464 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2466         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2467         Handle methods ending with `?' and `!'.
2469 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2471         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2472         `japanese-cp932' to `cp932' to fix the problem where saving a
2473         source file written in Shift_JIS twice would end up having
2474         `coding: japanese-cp932' which Ruby could not recognize.
2475         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2476         in `ruby-encoding-map'.
2477         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2478         doesn't need to be explicitly declared in magic comment.
2479         (ruby-encoding-map): Add type declaration for better customize UI.
2481 2013-10-13  Glenn Morris  <rgm@gnu.org>
2483         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2484         Occur buffers are read-only.  http://bugs.debian.org/720775
2486         * emacs-lisp/authors.el (authors-fixed-entries):
2487         Comment out old alpha stuff.
2489 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2491         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2492         to `after-save-hook' instead of `before-save-hook'.
2493         (ruby-mode-set-encoding): Use the value of coding system used to
2494         write the file.  Call `basic-save-buffer-1' after modifying the
2495         buffer.
2497 2013-10-13  Alan Mackenzie  <acm@muc.de>
2499         Fix indentation/fontification of Java enum with
2500         "implements"/generic.
2502         * progmodes/cc-engine.el (c-backward-over-enum-header):
2503         Extracted from the three other places and enhanced to handle generics.
2504         (c-inside-bracelist-p): Uses new function above.
2505         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2506         function above.
2507         (c-font-lock-enum-tail): Uses new function above.
2509 2013-10-13  Kenichi Handa  <handa@gnu.org>
2511         * international/mule-cmds.el (select-safe-coding-system): Remove a
2512         superfluous condition in chekcing whether a coding system is safe
2513         or not.
2515 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2517         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2519 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2521         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2523 2013-10-13  Glenn Morris  <rgm@gnu.org>
2525         * menu-bar.el (menu-bar-update-buffers):
2526         Unify Buffers menu prompt string.  (Bug#15576)
2528         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2530         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2531         Add some entries.
2532         (authors-fixed-entries): Use accented form of name.
2534 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2536         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2537         method calls (bug#15594).
2538         (ruby-smie--args-separator-p): New function.
2539         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2540         recognize paren-free method calls.
2542         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2543         internals of universal-argument.
2545 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2547         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2548         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2549         dropped menu on second mouse click on the menu bar.
2551 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2553         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2554         (explicit-shell-file-name): Declare.
2555         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2556         (sh-completion-at-point-function): New function.
2557         (sh-mode): Use it.
2558         (sh-smie--keyword-p): Remove unused argument.
2559         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2560         vars.
2561         (sh-set-shell): Always setup SMIE, even if we use the
2562         old indentation code.
2564 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2566         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2567         cases of ? and =.
2568         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2569         predicate would return nil are almost non-existent.
2570         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2572         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2573         cache also after commands that modify the buffer but don't move
2574         point.
2576 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2578         * env.el (substitute-env-in-file-name): New function.
2579         (substitute-env-vars): Extend the meaning of the optional arg.
2581 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2583         * term/w32-win.el (dynamic-library-alist): Define separate lists
2584         of GIF DLLs for versions before and after 5.0.0 of giflib.
2585         (Bug#15531)
2587 2013-10-10  João Távora  <joaotavora@gmail.com>
2589         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2590         not locked, use last revision and current source as
2591         defaults.  (Bug#15569)
2593 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2595         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2596         menu-bar is hidden.
2598 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2600         * window.el (pop-to-buffer-same-window): Fix doc-string.
2601         (Bug#15492)
2603 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2605         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2607 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2609         * calendar/icalendar.el (icalendar-import-file):
2610         Fix interactive spec.  (Bug#15482)
2612 2013-10-10  Glenn Morris  <rgm@gnu.org>
2614         * desktop.el (desktop-save): Default to saving in .emacs.d,
2615         since PWD is no longer in desktop-path by default.  (Bug#15319)
2617         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2618         now that text mode has a menu with the same entry.
2619         (menu-bar-text-mode-auto-fill): Remove now unused func.
2620         * textmodes/text-mode.el (text-mode-map):
2621         Use auto-fill help text from menu-bar.el.
2623 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2625         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2627 2013-10-09  Juri Linkov  <juri@jurta.org>
2629         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2630         instead of this-command-keys.  Add universal-argument-more and
2631         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2633 2013-10-09  Glenn Morris  <rgm@gnu.org>
2635         * vc/vc-svn.el (vc-svn-create-repo):
2636         Expand paths in file://... url.  (Bug#15446)
2638         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2639         Add some entries.
2640         (authors): Remove unused local variables.
2642 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * profiler.el: Create a more coherent calltree from partial backtraces.
2645         (profiler-format): Hide the tail with `invisible' so that C-s can still
2646         find the hidden elements.
2647         (profiler-calltree-depth): Don't recurse so enthusiastically.
2648         (profiler-function-equal): New hash-table-test.
2649         (profiler-calltree-build-unified): New function.
2650         (profiler-calltree-build): Use it.
2651         (profiler-report-make-name-part): Indent the calltree less.
2652         (profiler-report-mode): Add visibility specs for profiler-format.
2653         (profiler-report-expand-entry, profiler-report-toggle-entry):
2654         Expand the whole subtree when provided with a prefix arg.
2656 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2658         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2659         iuwu-mod token.
2660         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2661         hanging iuwu-mod token.
2662         (ruby-smie--forward-token): Do not include a dot after a token in
2663         that token.
2664         (ruby-smie--backward-token): Likewise.
2666 2013-10-08  Juri Linkov  <juri@jurta.org>
2668         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2669         to isearch-other-control-char.
2670         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2671         and isearch-post-command-hook to post-command-hook.
2672         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2673         and isearch-post-command-hook from post-command-hook.
2674         (isearch-unread-key-sequence)
2675         (isearch-reread-key-sequence-naturally)
2676         (isearch-lookup-scroll-key, isearch-other-control-char)
2677         (isearch-other-meta-char): Remove functions.
2678         (isearch-pre-command-hook, isearch-post-command-hook):
2679         New functions based on isearch-other-meta-char rewritten
2680         relying on the new behavior of overriding-terminal-local-map
2681         that does not replace the local keymaps any more.  (Bug#15200)
2683 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2685         Support menus on text-mode terminals.
2686         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2687         functionality.
2689         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2691         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2692         Move here from mouse.el.
2693         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2694         and arrow keys.
2695         (tty-menu-navigation-map): New map for TTY menu navigation.
2697         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2699         * frame.el (display-mouse-p): Report text-mode mouse as available
2700         on w32.
2701         (display-popup-menus-p): Report availability if mouse is
2702         available; don't condition on window-system.
2704         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2705         (tty-menu-selected-face): New faces.
2707 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2709         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2710         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2711         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2712         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2713         New constants.
2714         (lisp-mode-variables): New `elisp' argument.
2715         (emacs-lisp-mode): Use it.
2716         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2717         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2719         * indent.el: Use lexical-binding.
2720         (indent-region): Add progress reporter.
2721         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2722         last step.
2723         (indent--next-tab-stop): New function to implement this behavior.
2724         (tab-to-tab-stop, move-to-tab-stop): Use it.
2726 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2728         * indent.el (indent-rigidly--current-indentation): New function.
2729         (indent-rigidly-map): New var.
2730         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2732 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2734         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2736 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2738         * progmodes/perl-mode.el: Use lexical-binding.
2739         Remove redundant :group args.
2740         (perl-nochange): Change default to be closer to other major modes's
2741         standard behavior.
2742         (perl-indent-line): Don't consider text on current line as a
2743         valid beginning of function from which to indent.
2745         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2746         with more than one argument (bug#15538).
2748         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2750         * vc/pcvs.el: Use lexical-binding.
2751         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2752         environment of `eval'.
2753         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2754         than a list of expressions.  Adjust callers.
2755         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2757 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2759         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2760         case of the dot in a chained method call being on the following line.
2762 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2764         * electric.el (electric-indent-inhibit): New var.
2765         (electric-indent-post-self-insert-function): Use it.
2766         * progmodes/python.el (python-mode): Set it.
2768         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2769         open braces.
2771         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2773         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2774         (css-mode): Use electric-indent-chars.
2776         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2777         (font-lock-beg, font-lock-end): Move before first use.
2778         (nxml-mode): Use syntax-propertize-function.
2779         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2780         (nxml-extend-after-change-region): Remove.
2781         * nxml/xmltok.el: Use lexical-binding.
2782         (xmltok-save): Use `declare'.
2783         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2784         * nxml/nxml-util.el: Use lexical-binding.
2785         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2786         Use `declare'.
2787         * nxml/nxml-ns.el: Use lexical-binding.
2788         (nxml-ns-save): Use `declare'.
2789         (nxml-ns-prefixes-for): Avoid add-to-list.
2790         * nxml/rng-match.el: Use lexical-binding.
2791         (rng--ipattern): Use cl-defstruct.
2792         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2793         (rng-cons-group-after, rng-subst-group-after)
2794         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2795         Use closures instead of `(lambda...).
2797 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2799         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2800         of BEG and END.
2802         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2803         Use `tramp-handle-insert-file-contents'.
2804         (tramp-gvfs-handle-insert-file-contents): Remove function.
2806         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2807         Use `save-restriction' in order to keep markers.
2809         * net/trampver.el: Update release number.
2811 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2813         * progmodes/compile.el (compilation-parse-errors):
2814         Use compilation--put-prop.
2815         (compilation--ensure-parse): Check compilation-multiline.
2817         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2819         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2820         lexical-binding.
2822         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2824         * progmodes/ruby-mode.el: Fix recently added tests.
2825         (ruby-smie-grammar): Add - and +.
2826         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2827         (ruby-smie--backward-id): New functions.
2828         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2829         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2830         any more.
2832 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2834         * register.el (register-preview-delay)
2835         (register-preview-functions): New variables.
2836         (register-read-with-preview, register-preview)
2837         (register-describe-oneline): New functions.
2838         (point-to-register, window-configuration-to-register)
2839         (frame-configuration-to-register, jump-to-register)
2840         (number-to-register, view-register, insert-register)
2841         (copy-to-register, append-to-register, prepend-to-register)
2842         (copy-rectangle-to-register): Use register-read-with-preview to
2843         read register.  (Bug#15525)
2845 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2847         * net/network-stream.el (network-stream-open-starttls): Don't add
2848         --insecure if it's already present, because that gnutls-cli
2849         rejects getting that parameter twice.
2851 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2853         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2854         keyword, too.
2856 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2858         * newcomment.el (comment-use-global-state): Change default value
2859         to t, mark obsolete (Bug#15251).
2860         (comment-beginning): In addition to `comment-to-syntax', check the
2861         value of `comment-use-global-state'.
2863 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2865         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2866         (ruby-comment-column): Follow the global default, by default.
2867         (ruby-smie-grammar): Add assignment syntax.
2868         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2869         open-paren, a comma, or a \.
2870         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2871         and line continuations.
2872         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2873         followed by implicit semi-colons.  Add rule for string concatenation
2874         and for indentation at BOB.
2875         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2877         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2878         calling next-sexp, since next-token may have skipped chars which
2879         next-sexp doesn't know should be skipped!
2881 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2883         * progmodes/octave.el (octave-send-region):
2884         Call compilation-forget-errors.
2886 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2888         * vc/vc-svn.el (vc-svn-find-admin-dir):
2889         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2890         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2891         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2892         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2894 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2896         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2898 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2900         * subr.el (read-passwd): Hide chars even when called within a context
2901         where after-change-functions is disabled (bug#15501).
2902         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2903         until we removed ourself from overriding-terminal-local-map.
2905 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2907         * progmodes/octave.el (inferior-octave-mode):
2908         Call compilation-forget-errors.
2910 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2912         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2914 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2916         * net/secrets.el (secrets-create-collection): Add optional
2917         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2918         dbus-call-method argument.  (Bug#15516)
2920 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2922         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2923         (inferior-octave-compilation-font-lock-keywords): New variables.
2924         (compilation-error-regexp-alist)
2925         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2926         (inferior-octave-mode): Use compilation-shell-minor-mode.
2928 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2930         * minibuffer.el (completion--replace): Be careful that `end' might be
2931         a marker.
2933 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2935         Add support for package signature checking.
2936         * emacs-lisp/package.el (url-http-file-exists-p)
2937         (epg-make-context, epg-context-set-home-directory)
2938         (epg-verify-string, epg-context-result-for)
2939         (epg-signature-status, epg-signature-to-string)
2940         (epg-check-configuration, epg-configuration)
2941         (epg-import-keys-from-file): Declare.
2942         (package-check-signature): New user option.
2943         (package-unsigned-archives): New user option.
2944         (package-desc): Add `signed' field.
2945         (package-load-descriptor): Set `signed' field if .signed file exists.
2946         (package--archive-file-exists-p): New function.
2947         (package--check-signature): New function.
2948         (package-install-from-archive): Check package signature.
2949         (package--download-one-archive): Check archive signature.
2950         (package-delete): Remove .signed file.
2951         (package-import-keyring): New command.
2952         (package-refresh-contents): Import default keyring.
2953         (package-desc-status): Add "unsigned" status.
2954         (describe-package-1, package-menu--print-info)
2955         (package-menu-mark-delete, package-menu--find-upgrades)
2956         (package-menu--status-predicate): Support "unsigned" status.
2958 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2960         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2961         the new compilation scheme using the new byte-codes.
2963         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2964         (byte-pophandler): New byte codes.
2965         (byte-goto-ops): Adjust accordingly.
2966         (byte-compile--use-old-handlers): New var.
2967         (byte-compile-catch): Use new byte codes depending on
2968         byte-compile--use-old-handlers.
2969         (byte-compile-condition-case--old): Rename from
2970         byte-compile-condition-case.
2971         (byte-compile-condition-case--new): New function.
2972         (byte-compile-condition-case): New function that dispatches depending
2973         on byte-compile--use-old-handlers.
2974         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2975         when we can.
2977         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2978         Optimize under `condition-case' and `catch' if
2979         byte-compile--use-old-handlers is nil.
2980         (disassemble-offset): Handle new bytecodes.
2982 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * subr.el (error): Use `declare'.
2985         (decode-char, encode-char): Use advertised-calling-convention instead
2986         of the docstring to discourage use of the `restriction' arg.
2988 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2990         * epg.el (epg-verify-file): Add a comment saying that it does not
2991         notify verification error as a return value nor a signal.
2992         (epg-verify-string): Ditto.
2994 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2996         * progmodes/compile.el (compilation-start): Try globbing the arg to
2997         `cd' (bug#15417).
2999 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
3001         Sync with Tramp 2.2.8.
3003         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3004         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3005         * net/trampver.el: Update release number.
3007 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
3009         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3010         and default-process-coding-system for darwin only.
3012 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3014         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3016 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
3018         * vc/vc-git.el (vc-git-grep): Disable pager.
3020 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3022         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3023         Use :url instead of :homepage, as per
3024         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3026         * newcomment.el (comment-beginning): When `comment-use-syntax' is
3027         non-nil, use `syntax-ppss' (Bug#15251).
3029 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3031         * progmodes/octave.el (inferior-octave-startup-file):
3032         Prefer ~/.emacs.d/init_octave.m.
3034 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3036         * emacs-lisp/package.el (package-desc-from-define):
3037         Accept additional arguments as plist, convert them to an alist and store
3038         them in the `extras' slot.
3039         (package-generate-description-file): Convert extras alist back to
3040         plist and append to the `define-package' form arguments.
3041         (package--alist-to-plist): New function.
3042         (package--ac-desc): Add `extras' slot.
3043         (package--add-to-archive-contents): Check if the archive-contents
3044         vector is long enough, and if it is, pass its `extras' slot value
3045         to `package-desc-create'.
3046         (package-buffer-info): Call `lm-homepage', pass the returned value
3047         to `package-desc-from-define'.
3048         (describe-package-1): Render the homepage button (Bug#13291).
3050         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3051         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3053 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3055         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3056         and default-process-coding-system to utf-8-unix (Bug#15402).
3058 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3060         * subr.el (looking-back): Do not recommend using looking-back.
3062 2013-09-28  Alan Mackenzie  <acm@muc.de>
3064         Fix indentation/fontification of Java enum with "implements".
3066         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3067         regexp which matches "implements", etc., in Java.
3068         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3069         specifier clauses coming after "enum".
3070         * progmodes/cc-fonts.el (c-font-lock-declarations)
3071         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3072         after "enum".
3074 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3076         * faces.el (region): Change ns_selection_color to
3077         ns_selection_fg_color, add ns_selection_bg_color.
3079 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3081         * progmodes/octave.el (inferior-octave-completion-table)
3082         (inferior-octave-completion-at-point): Minor tweaks.
3084         * textmodes/ispell.el (ispell-lookup-words): Rename from
3085         lookup-words.  (Bug#15460)
3086         (lookup-words): Obsolete.
3087         (ispell-complete-word, ispell-command-loop): All uses changed.
3089 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3091         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3092         (octave-mode-menu): Add octave-send-buffer.
3093         (octave-send-buffer): New function.
3095 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3097         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3098         octave-lookfor.
3099         (octave-mode-menu): Add octave-lookfor.
3100         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3101         octave-lookfor.
3102         (octave-lookfor): New function.
3104 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3106         * emacs-lisp/cl-macs.el:
3107         (cl--loop-destr-temps): Remove.
3108         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3109         its convention.
3110         (cl--loop-set-iterator-function): New function.
3111         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3112         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3113         Bind `it' with `let' instead of substituting it with `cl-subst'.
3114         (cl--unused-var-p): New function.
3115         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3116         Eliminate some unused variable warnings (bug#15326).
3118 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3120         * doc-view.el (doc-view-scale-reset): Rename from
3121         `doc-view-reset-zoom-level'.
3122         (doc-view-scale-adjust): New command.
3123         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3124         `doc-view-scale-adjust'.
3126 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3128         * doc-view.el (doc-view-reset-zoom-level): New command.
3129         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3130         zoom commands (bug#15466).
3132 2013-09-26  Kenichi Handa  <handa@gnu.org>
3134         * international/quail.el (quail-help): Make it not a command.
3136 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3138         * minibuffer.el (completion-all-sorted-completions): Make args
3139         optional as they are.
3141 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3143         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3144         specs are and that they're not evaluated.
3146 2013-09-24  Sam Steingold  <sds@gnu.org>
3148         * midnight.el (clean-buffer-list-kill-regexps)
3149         (clean-buffer-list-kill-buffer-names): Update for the new Man
3150         buffer naming which includes the object name.
3152 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3154         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3155         (eshell-parse-command, eshell-parse-pipeline): Use it since
3156         eshell-separate-commands requires a dynamic scoped var.
3157         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3159 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3161         * autoinsert.el (auto-insert-alist): Make the value of
3162         lexical-binding match its file setting.
3164 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3166         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3168         * autoarg.el (autoarg-kp-digit-argument):
3169         * electric.el (Electric-command-loop):
3170         * kmacro.el (kmacro-step-edit-insert):
3171         Do not set universal-argument-num-events.
3173 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3175         * files.el (interpreter-mode-alist): Add octave.
3177 2013-09-21  Alan Mackenzie  <acm@muc.de>
3179         C++: fontify identifier in declaration following "public:" correctly.
3180         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3181         to match "public", etc.
3182         (c-decl-prefix-re): Add ":" into the C++ value.
3183         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3184         bit.  Add a check for a ":" preceded by "public", etc.
3186 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3188         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3189         recognized by GDB 7.5 and later.
3191 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3193         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3195 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3197         * subr.el (internal--call-interactively): New const.
3198         (called-interactively-p): Use it (bug#3984).
3200 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3202         * vc/pcvs.el (cvs-mode-ignore):
3203         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3204         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3206 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3208         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3209         (eshell-ls-orig-insert-directory): Remove.
3210         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3211         (eshell-ls-use-in-dired): Use advice-add/remove.
3212         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3213         Add `orig-fun' arg for use in :around advice.
3214         Make it check (redundantly) eshell-ls-use-in-dired.
3216 2013-09-19  Glenn Morris  <rgm@gnu.org>
3218         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3220         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3222         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3224 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3226         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3227         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3228         (tramp-get-remote-python): New defuns.
3229         (tramp-get-remote-uid-with-perl)
3230         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3231         contributed by yary <not.com@gmail.com> (tiny change).
3232         (tramp-get-remote-uid-with-python)
3233         (tramp-get-remote-gid-with-python): New defuns.  Python code
3234         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3235         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3237 2013-09-19  Glenn Morris  <rgm@gnu.org>
3239         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3241         * eshell/em-unix.el (eshell-remove-entries):
3242         Rename argument to avoid name-clash with global `top-level'.
3244         * eshell/esh-proc.el (eshell-kill-process-function):
3245         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3246         (eshell-reset-after-proc): Remove unused arg `proc'.
3248         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3249         (directory-files-and-attributes): Mark unused arg.
3251         * eshell/em-unix.el (eshell-remove-entries):
3252         Remove unused arg `path'.  Update callers.
3254         * eshell/em-hist.el (eshell-hist-parse-arguments):
3255         Remove unused arg `silent'.  Update callers.
3257         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3258         Fix (f)boundp mix-up.
3260         * eshell/em-smart.el (eshell-smart-scroll-window)
3261         (eshell-disable-after-change):
3262         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3264 2013-09-18  Alan Mackenzie  <acm@muc.de>
3266         Fix fontification of type when followed by "const".
3267         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3268         "known" types from fontification.
3270 2013-09-18  Glenn Morris  <rgm@gnu.org>
3272         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3273         (chart-face-list): Drop Emacsen without display-color-p.
3275         * net/eww.el (libxml-parse-html-region): Declare.
3276         (eww-display-html): Explicit error if no libxml2 support.
3278         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3280         * image.el (image-type-from-buffer, image-multi-frame-p):
3281         Remove --without-x warning/error.
3283         * mouse.el (mouse-yank-primary):
3284         * term.el (term-mouse-paste):
3285         Reorder to silence --without-x compilation.
3287         * mpc.el (doc-view-mode): Silence --without-x compilation.
3289         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3290         Silence --without-x compilation.
3292         * progmodes/gud.el (gud-find-file, gud-mode):
3293         Silence --without-x compilation.
3294         (tooltip-mode): Declare.
3296         * wdired.el (dired-backup-overwrite): Remove declaration.
3297         (wdired-mode-map): Add doc string.
3299         * custom.el (x-get-resource): Declare.
3301         * eshell/em-glob.el (ange-cache):
3302         * eshell/em-unix.el (ange-cache): Declare.
3304         * faces.el (x-display-list, x-open-connection, x-get-resource):
3305         Declare.
3307         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3308         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3309         Declare.
3311         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3313         * net/gnutls.el (gnutls-log-level): Declare.
3315         * net/shr.el (image-size, image-animate): Declare.
3317         * simple.el (font-info): Declare.
3319         * subr.el (x-popup-dialog): Declare.
3321         * term/common-win.el (x-select-enable-primary)
3322         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3323         Declare.
3325         * term/ns-win.el (x-handle-args): Declare.
3327         * term/x-win.el (x-select-enable-clipboard): Declare.
3329         * term/w32-win.el (create-default-fontset): Declare.
3331         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3332         Declare.
3334         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3335         (fit-frame-to-buffer): Explicit error if --without-x.
3336         (mouse-autoselect-window-select): Silence compiler.
3338         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3340         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3341         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3342         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3343         * eshell/esh-util.el (eshell-sublist):
3344         Remove unused local variables.
3346         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3348         * textmodes/two-column.el: Make 2C-split work for --without-x.
3349         (scroll-bar-columns): Autoload.
3350         (top-level): Require fringe when compiling.
3352 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3354         * subr.el (add-hook): Robustify to handle closure as well.
3356 2013-09-17  Glenn Morris  <rgm@gnu.org>
3358         * simple.el (messages-buffer-mode-map): Unbind "g".
3360 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3362         * help-mode.el (help-mode-finish): Use derived-mode-p.
3363         Remove obsolete highlighting.
3365         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3366         special-mode.
3367         (life): Let-bind inhibit-read-only.
3368         (life-setup): Avoid `setq'.  Use `life-mode'.
3370         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3371         which should not be needed any more.
3372         (package-menu-refresh, package-menu-describe-package): Use user-error.
3374         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3375         (eshell-post-rewrite-command-hook): Make obsolete.
3376         (eshell-parse-command): Simplify.
3377         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3378         (eshell--cmd): Declare.
3379         (eshell-parse-pipeline): Remove unused var `final-p'.
3380         Pass a dynvar to eshell-post-rewrite-command-hook.
3381         Implement the new eshell-post-rewrite-command-function.
3382         (eshell-invoke-directly): Remove unused arg `input'.
3383         * eshell/esh-io.el (eshell-io-initialize):
3384         Use eshell-post-rewrite-command-function (bug#15399).
3385         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3386         adjust to new calling convention.
3387         (eshell-create-handles): Rename args to avoid clashing with dynvar
3388         `standard-output'.
3390 2013-09-17  Glenn Morris  <rgm@gnu.org>
3392         * simple.el (messages-buffer-mode): New major mode.
3393         (messages-buffer): New function.
3394         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3395         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3396         (ert-run-test): Use `messages-buffer' function.
3397         (ert--force-message-log-buffer-truncation): Ignore read-only.
3398         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3399         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3401 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3403         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3405         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3407 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3409         * icomplete.el (icomplete-in-buffer): New var.
3410         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3411         vars and replace them with functions.
3412         (icomplete-minibuffer-setup): Adjust accordingly.
3413         (icomplete--completion-table, icomplete--completion-predicate)
3414         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3415         New functions.
3416         (icomplete-forward-completions, icomplete-backward-completions)
3417         (icomplete-simple-completing-p, icomplete-exhibit)
3418         (icomplete-completions): Use them.
3419         (icomplete--in-region-buffer): New var.
3420         (icomplete--in-region-setup): New function.
3421         (icomplete-mode): Use it.
3423         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3424         (bug#15379).
3425         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3426         return args and options.
3427         (eshell-eval-using-options): Use the new return value of
3428         eshell--do-opts to set the options's vars in their scope.
3429         (eshell--set-option): Rename from eshell-set-option.
3430         Add arg `opt-vals'.
3431         (eshell--process-option): Rename from eshell-process-option.
3432         Add arg `opt-vals'.
3433         (eshell--process-args): Use an `opt-vals' alist to store the options's
3434         values during their processing and return them additionally to the
3435         remaining args.
3437 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3439         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3440         continuation character an operator, as far as indentation is
3441         concerned (Bug#15369).
3443 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3445         * window.el (window--state-put-2): Don't process buffer state
3446         when buffer doesn't exist any more (Bug#15382).
3448 2013-09-15  Glenn Morris  <rgm@gnu.org>
3450         * eshell/em-unix.el (eshell/rm):
3451         Make -f ignore missing files.  (Bug#15373)
3453         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3454         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3455         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3457 2013-09-14  Glenn Morris  <rgm@gnu.org>
3459         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3461 2013-09-13  Glenn Morris  <rgm@gnu.org>
3463         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3464         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3466 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3468         * frame.el (x-focus-frame): Mark as declared in frame.c.
3470 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3472         * ls-lisp.el: Use advice-add.
3473         (original-insert-directory): Remove.
3474         (ls-lisp--insert-directory): Rename from insert-directory; add
3475         `orig-fun' argument.
3476         (insert-directory): Advise.
3478 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3480         * term.el (term-emulate-terminal): Decode the command string
3481         before passing it to term-command-hook.  (Bug#15337)
3483 2013-09-13  Glenn Morris  <rgm@gnu.org>
3485         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3487         * eshell/esh-ext.el (eshell-search-path): Declare.
3489         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3490         Otherwise an error occurs if eshell-dirs module not loaded.
3492         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3494 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3496         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3497         `tramp-check-proper-host'.  Check for a valid method name.
3499         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3500         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3501         * net/tramp-sh.el (tramp-maybe-open-connection):
3502         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3504         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3505         also for hash values.
3507 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3509         * term/ns-win.el (parameters): Don't declare as dynamic.
3510         (before-make-frame-hook): Don't add ineffective function.
3512         * eshell/*.el: Use lexical-binding (bug#15231).
3514 2013-09-12  Kenichi Handa  <handa@gnu.org>
3516         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3518 2013-09-12  Glenn Morris  <rgm@gnu.org>
3520         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3521         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3523         * subr.el (do-after-load-evaluation): Also give compiler warnings
3524         when obsolete files are used (except by obsolete files).
3526         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3527         in the status output, assume `filename' is the first.  (Bug#15322)
3529         * vc/vc.el (vc-deduce-fileset): Doc fix.
3531         * calc/calc-help.el (Info-goto-node):
3532         * progmodes/cperl-mode.el (Info-find-node):
3533         * vc/ediff.el (Info-goto-node): Update declarations.
3535         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3537         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3538         (vc-bzr-pull): Require vc-dispatcher.
3539         * vc/vc-git.el (vc-compilation-mode): Declare.
3540         (vc-git-pull): Require vc-dispatcher.
3542         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3544         * progmodes/octave.el (help-button-action): Declare.
3546         * shell.el (shell-directory-tracker): Output error as a message
3547         rather than just returning it as a string.
3548         (shell-process-pushd): Remove useless use of message.
3550         * dframe.el (dframe-timer-fn):
3551         * files.el (dir-locals-read-from-file):
3552         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3553         (mpc-format):
3554         * reveal.el (reveal-post-command):
3555         * saveplace.el (load-save-place-alist-from-file):
3556         * shell.el (shell-resync-dirs):
3557         * w32-common-fns.el (x-get-selection-value):
3558         * emacs-lisp/copyright.el (copyright-find-copyright):
3559         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3560         * emulation/tpu-edt.el (tpu-copy-keyfile):
3561         * play/bubbles.el (bubbles--mark-neighbourhood):
3562         * progmodes/executable.el
3563         (executable-make-buffer-file-executable-if-script-p):
3564         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3566 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3568         Cleanup Eshell to rely less on dynamic scoping.
3569         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3570         last-value, and ext-command here.  Bind `args' closer to `body'.
3571         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3572         (eshell--args): Declare new dynamic var.
3573         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3574         last-value, and ext-command.  Pass `args' to `body'.
3575         (eshell-process-args): Bind eshell--args.
3576         (eshell-set-option): Use eshell--args.
3577         * eshell/eshell.el (eshell): Use derived-mode-p.
3578         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3579         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3580         (eshell-glob-function): Declare.
3581         * eshell/esh-util.el: Require cl-lib.
3582         (eshell-read-hosts-file): Avoid add-to-list.
3583         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3584         `err'.
3585         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3586         Declare.
3587         (eshell/diff): Remove unused var `err'.
3588         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3589         `killflag'.
3590         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3591         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3592         first use.
3593         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3594         Move declaration before first use.
3595         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3596         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3597         rely on cl-return.
3599 2013-09-12  Glenn Morris  <rgm@gnu.org>
3601         * term/ns-win.el (global-map): Remove binding for ispell-next,
3602         deleted 1999-05-29.  (Bug#15357)
3604 2013-09-11  Glenn Morris  <rgm@gnu.org>
3606         * echistory.el (electric-command-history): Remove call to deleted func.
3608         * play/landmark.el (landmark-mode): Fix typos.
3610         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3611         Check cvs-sort-ignore-file is bound.
3613         * savehist.el: No need for cl when compiling on Emacs.
3615 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3617         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3618         (bug#15338).
3619         (eshell-self-insert-command, eshell-send-invisible):
3620         Remove unused argument.
3621         (eshell-handle-control-codes): Remove unused var `orig'.
3622         Avoid delete-backward-char.
3624         * files.el (set-auto-mode): Simplify a bit further.
3626 2013-09-11  Glenn Morris  <rgm@gnu.org>
3628         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3629         (set-auto-mode): Don't regexp-quote elements.
3630         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3631         * progmodes/cc-mode.el (interpreter-mode-alist):
3632         * progmodes/ruby-mode.el (interpreter-mode-alist):
3633         Revert previous change.
3635 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3637         * play/snake.el (snake-mode):
3638         * play/mpuz.el (mpuz-mode):
3639         * play/landmark.el (lm-mode):
3640         * play/blackbox.el (blackbox-mode):
3641         * play/5x5.el (5x5-mode):
3642         * obsolete/options.el (Edit-options-mode):
3643         * net/quickurl.el (quickurl-list-mode):
3644         * net/newst-treeview.el (newsticker-treeview-mode):
3645         * mail/rmailsum.el (rmail-summary-mode):
3646         * mail/mspools.el (mspools-mode):
3647         * locate.el (locate-mode):
3648         * ibuffer.el (ibuffer-mode):
3649         * emulation/ws-mode.el (wordstar-mode):
3650         * emacs-lisp/debug.el (debugger-mode):
3651         * array.el (array-mode):
3652         * net/eudc.el (eudc-mode): Use define-derived-mode.
3653         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3654         Move initialization into declaration.
3655         (mairix-searches-mode): Use define-derived-mode.
3656         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3657         (eudc-edit-hotlist): Use dolist.
3658         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3659         (Man-mode): Use define-derived-mode.
3660         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3661         (Info-edit-mode): Use define-derived-mode.
3662         (Info-cease-edit): Use Info-mode.
3663         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3664         into declaration.
3665         (eshell-mode): Use define-derived-mode.
3666         * chistory.el (command-history-mode-map): Rename from
3667         command-history-map.
3668         (command-history-mode): Use define-derived-mode.
3669         (Command-history-setup): Remove function.
3670         * calc/calc.el (calc-trail-mode-map): New var.
3671         (calc-trail-mode): Use define-derived-mode.
3672         (calc-trail-buffer): Set calc-main-buffer manually.
3673         * bookmark.el (bookmark-insert-annotation): New function.
3674         (bookmark-edit-annotation): Use it.
3675         (bookmark-edit-annotation-mode): Make it a proper major mode.
3676         (bookmark-send-edited-annotation): Use derived-mode-p.
3677         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3678         closer to its ideal place.  Use \' to match EOS.
3680         * profiler.el (profiler-calltree-find): Use function-equal.
3682 2013-09-10  Glenn Morris  <rgm@gnu.org>
3684         * files.el (interpreter-mode-alist): Convert to regexps.
3685         (set-auto-mode): Adapt for this.  (Bug#15306)
3686         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3687         Comment out unused variable.
3688         * progmodes/cc-mode.el (interpreter-mode-alist):
3689         * progmodes/python.el (interpreter-mode-alist):
3690         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3691         * progmodes/sh-script.el (sh-set-shell):
3692         No longer use interpreter-mode-alist to get list of shells.
3694         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3696 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3698         * simple.el: Use set-temporary-overlay-map for universal-argument.
3699         (universal-argument-map): Don't use default-bindings (bug#15317).
3700         Bind switch-frame explicitly.  Replace universal-argument-minus with
3701         a conditional binding.
3702         (universal-argument-num-events, saved-overriding-map): Remove.
3703         (restore-overriding-map): Remove.
3704         (universal-argument--mode): Rename from save&set-overriding-map,
3705         and rewrite.
3706         (universal-argument, universal-argument-more, negative-argument)
3707         (digit-argument): Adjust accordingly.
3708         (universal-argument-minus): Remove.
3709         (universal-argument-other-key): Remove.
3711         * subr.el (with-demoted-errors): Add `format' argument.
3713 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3715         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3716         `tramp-cleanup-connection'.
3718         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3719         parameters KEEP-DEBUG and KEEP-PASSWORD.
3721         * net/tramp.el (tramp-file-name-handler):
3722         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3723         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3724         (tramp-maybe-open-connection):
3725         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3726         Use `tramp-cleanup-connection'.
3728         * net/tramp-sh.el (tramp-maybe-open-connection):
3729         Catch 'uname-changed inside the progress reporter.
3731 2013-09-10  Glenn Morris  <rgm@gnu.org>
3733         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3735         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3736         returns "alternate access method" in mode (eg "-rw-r--r--.").
3738 2013-09-08  Glenn Morris  <rgm@gnu.org>
3740         * saveplace.el (load-save-place-alist-from-file):
3741         Demote errors.  (Bug#15305)
3743 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3745         Improve compatibility with older Emacsen, and XEmacs.
3747         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3748         only if it is bound.  It isn't for XEmacs.
3749         (with-tramp-progress-reporter): Do not let-bind `result'.
3750         This yields to scoping errors in XEmacs.
3751         (tramp-handle-make-auto-save-file-name): New function, moved from
3752         tramp-sh.el.
3754         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3755         for `make-auto-save-file-name'.
3756         (tramp-adb--gnu-switches-to-ash):
3757         Use `tramp-compat-replace-regexp-in-string'.
3759         * net/tramp-cache.el (tramp-cache-print): Call
3760         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3762         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3763         bound.  It isn't for XEmacs.
3765         * net/tramp-compat.el (tramp-compat-copy-file):
3766         Catch `wrong-number-of-arguments' error.
3767         (tramp-compat-replace-regexp-in-string): New defun.
3769         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3770         for `make-auto-save-file-name'.
3771         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3772         `copy-file'.
3773         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3774         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3775         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3777         * net/tramp-gw.el (tramp-gw-open-network-stream):
3778         Use `tramp-compat-replace-regexp-in-string'.
3780         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3781         Call `tramp-handle-make-auto-save-file-name'.
3782         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3783         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3784         (tramp-sh-file-inotifywait-process-filter):
3785         Use `tramp-compat-replace-regexp-in-string'.
3786         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3788         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3789         for `make-auto-save-file-name'.
3790         (tramp-smb-handle-copy-directory):
3791         Call `tramp-compat-replace-regexp-in-string'.
3792         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3793         (tramp-smb-handle-copy-file): Improve error message.
3794         (tramp-smb-handle-rename-file): Rename directly only in case
3795         `newname' does not exist yet.  This is a restriction of smbclient.
3796         (tramp-smb-maybe-open-connection): Rerun the function only when
3797         `auth-sources' is non-nil.
3799 2013-09-08  Kenichi Handa  <handa@gnu.org>
3801         * international/characters.el: Set category "^" (Combining) for
3802         more characters.
3804 2013-09-07  Alan Mackenzie  <acm@muc.de>
3806         Correctly fontify Java class constructors.
3807         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3808         in Java Mode.
3809         (c-recognize-typeless-decls): Set the Java value to t.
3810         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3811         While handling a "(", add a check for, effectively, Java, and handle a
3812         "typeless" declaration there.
3814 2013-09-07  Roland Winkler  <winkler@gnu.org>
3816         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3817         field subtitle for entry type book.
3819 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3821         * minibuffer.el: Make minibuffer-complete call completion-in-region
3822         rather than other way around.
3823         (completion--some, completion-pcm--find-all-completions):
3824         Don't delay signals when debugging.
3825         (minibuffer-completion-contents): Beware fields within the
3826         minibuffer contents.
3827         (completion-all-sorted-completions): Use defvar-local.
3828         (completion--do-completion, completion--cache-all-sorted-completions)
3829         (completion-all-sorted-completions, minibuffer-force-complete):
3830         Add args `beg' and `end'.
3831         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3832         (minibuffer-complete): Use completion-in-region.
3833         (completion-complete-and-exit): New fun, extracted from
3834         minibuffer-complete-and-exit.
3835         (minibuffer-complete-and-exit): Use it.
3836         (completion--complete-and-exit): Rename from
3837         minibuffer--complete-and-exit.
3838         (completion-in-region--single-word): New function, extracted from
3839         minibuffer-complete-word.
3840         (minibuffer-complete-word): Use it.
3841         (display-completion-list): Make `common-substring' argument obsolete.
3842         (completion--in-region): Call completion--in-region-1 instead of
3843         minibuffer-complete.
3844         (completion-help-at-point): Pass boundaries to
3845         minibuffer-completion-help as args rather than via an overlay.
3846         (completion-pcm--string->pattern): Use `any-delim'.
3847         (completion-pcm--optimize-pattern): New function.
3848         (completion-pcm--pattern->regex): Handle `any-delim'.
3849         * icomplete.el (icomplete-forward-completions)
3850         (icomplete-backward-completions, icomplete-completions):
3851         Adjust calls to completion-all-sorted-completions and
3852         completion--cache-all-sorted-completions.
3853         (icomplete-with-completion-tables): Default to t.
3854         * emacs-lisp/crm.el (crm--current-element): Rename from
3855         crm--select-current-element.  Don't put an overlay but return the
3856         boundaries instead.
3857         (crm--completion-command): Take two new args to bind to the boundaries.
3858         (crm-completion-help): Adjust accordingly.
3859         (crm-complete): Use completion-in-region.
3860         (crm-complete-word): Use completion-in-region--single-word.
3861         (crm-complete-and-exit): Use completion-complete-and-exit.
3863 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3865         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3866         than dynamically.
3868 2013-09-06  Juri Linkov  <juri@jurta.org>
3870         * info.el (Info-display-images-node): When image file doesn't exist
3871         display text version of the image if it's provided in the Info file.
3872         Otherwise, display the location of missing image from SRC attribute.
3873         Add help-echo text property from ALT attribute.  (Bug#15279)
3875 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3877         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3878         (edit-abbrevs-mode): Use define-derived-mode.
3880         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3881         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3882         that it's defined.
3883         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3884         Use define-derived-mode.
3886         * epg.el (epg-start-encrypt): Minor CSE simplification.
3888 2013-09-06  William Xu  <william.xwl@gmail.com>
3890         * arc-mode.el: Add support for 7za (bug#15264).
3891         (archive-7z-program): New var.
3892         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3893         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3894         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3896 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3898         Remove URL syntax.
3900         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3901         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3902         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3903         (tramp-postfix-host-format, tramp-file-name-regexp)
3904         (tramp-completion-file-name-regexp)
3905         (tramp-completion-dissect-file-name)
3906         (tramp-handle-substitute-in-file-name): Remove 'url case.
3907         (tramp-file-name-regexp-url)
3908         (tramp-completion-file-name-regexp-url): Remove constants.
3910 2013-09-06  Glenn Morris  <rgm@gnu.org>
3912         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3914 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3916         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3917         keywords" below "here-doc beginnings" (Bug#15270).
3919 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3921         * subr.el (pop): Use `car-safe'.
3922         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3923         to detect unused `pop' return value.
3925         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3926         var `block-regexp'.
3927         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3928         (python-fill-string): Remove unused var `marker'.
3929         (python-skeleton-add-menu-items): Remove unused var `items'.
3931         * international/mule-cmds.el: Require CL.
3932         (find-coding-systems-for-charsets): Avoid add-to-list.
3933         (sanitize-coding-system-list): New function, extracted from
3934         select-safe-coding-system-interactively.
3935         (select-safe-coding-system-interactively): Use it.
3936         (read-input-method-name): Accept symbols for `default'.
3938         * emacs-lisp/advice.el (defadvice): Add indent rule.
3940 2013-09-05  Daniel Hackney  <dan@haxney.org>
3942         * dired-x.el:
3943         * net/ange-ftp.el:
3944         * net/browse-url.el:
3945         * net/dbus.el:
3946         * net/eudc.el:
3947         * net/eudcb-ldap.el:
3948         * net/eww.el:
3949         * net/imap.el:
3950         * printing.el:
3951         * vc/ediff-diff.el:
3952         * vc/ediff-init.el:
3953         * vc/ediff-merg.el:
3954         * vc/ediff-mult.el:
3955         * vc/ediff-util.el:
3956         * vc/ediff-wind.el:
3957         * vc/ediff.el:
3958         * vc/emerge.el:
3959         * vc/pcvs.el:
3960         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3961         byte compiler.  Remove some unused let-bound variables.
3963 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3966         a "ref-cell", since it gets better optimized (bug#14883).
3968 2013-09-05  Glenn Morris  <rgm@gnu.org>
3970         * progmodes/cc-awk.el (c-forward-sws): Declare.
3972 2013-09-04  Glenn Morris  <rgm@gnu.org>
3974         * generic-x.el [rul-generic-mode]: Require cc-mode.
3975         (c++-mode-syntax-table): Declare.
3976         (rul-generic-mode-syntax-table): Init in the defvar.
3978 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3980         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3981         (vc-do-command, vc-set-async-update):
3982         * vc/vc-mtn.el (vc-mtn-dir-status):
3983         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3984         (vc-hg-pull, vc-hg-merge-branch):
3985         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3986         (vc-git-merge-branch):
3987         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3988         (vc-cvs-dir-status-files):
3989         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3990         (vc-bzr-dir-status-files):
3991         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3992         * vc/vc-annotate.el: Use lexical-binding.
3993         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3994         (vc-sentinel-movepoint): Declare.
3995         (vc-annotate): Don't use `goto-line'.
3996         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3997         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3998         (vc-sentinel-movepoint): Declare.
3999         * vc/vc-svn.el: Use lexical-binding.
4000         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4001         * vc/vc-sccs.el:
4002         * vc/vc-rcs.el: Use lexical-binding.
4004         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4005         `deleted'.  Don't drop errors silently.
4007         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4009 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
4011         * vc/vc.el (vc-ignore): Rewrite.
4012         (vc-default-ignore): New function.
4013         (vc-default-ignore-completion-table): Use find-ignore-file.
4015         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4016         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4017         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4018         Remove.  Most code moved to vc.el.
4020 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4022         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4023         * net/tramp-smb.el (tramp-smb-get-file-entries):
4024         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4025         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4027         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4028         Update call to it.
4029         (eww-change-select): Remove unused var `properties'.
4030         (eww-make-unique-file-name): Remove unused var `base'.
4032         * finder.el (finder-compile-keywords): Don't mess with windows.
4034         * calculator.el (calculator-funcall): Fix typo in last change.
4036         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4038         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4039         <pkg>-autoloads.el file stop us.
4041         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4042         warnings, and factor out common code.
4044 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4046         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4047         two-character operators and whether the character preceding them
4048         changes their meaning (Bug#15208).
4050 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4052         Format code sent to Python shell for robustness.
4053         * progmodes/python.el (python-shell-buffer-substring):
4054         New function.
4055         (python-shell-send-region, python-shell-send-buffer): Use it.
4057 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4059         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4060         * net/tramp.el (tramp-user-error): ... here.
4061         (tramp-find-method, tramp-check-proper-host)
4062         (tramp-dissect-file-name, tramp-debug-message)
4063         (tramp-handle-shell-command):
4064         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4065         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4067         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4069 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4071         * avoid.el (mouse-avoidance-point-position)
4072         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4073         returns nil.
4075 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4077         * progmodes/python.el (python-shell-completion-get-completions):
4078         Drop use of deleted `comint-last-prompt-overlay'.
4079         (python-nav-if-name-main): New command.
4081 2013-09-01  Glenn Morris  <rgm@gnu.org>
4083         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4084         Avoid leading space in $wins.  Otherwise the sed command used by
4085         eg compile-main ends up containing "/*.el".  (Bug#15170)
4087         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4089 2013-08-30  Glenn Morris  <rgm@gnu.org>
4091         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4092         Fix is-this-a-directory logic.  (Bug#15220)
4094 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4096         * textmodes/css-mode.el: Use SMIE.
4097         (css-smie-grammar): New var.
4098         (css-smie--forward-token, css-smie--backward-token)
4099         (css-smie-rules): New functions.
4100         (css-mode): Use them.
4101         (css-navigation-syntax-table): Remove var.
4102         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4103         (css-indent-calculate, css-indent-line): Remove functions.
4105         Misc changes to reduce use of `(lambda...); and other cleanups.
4106         * cus-edit.el: Use lexical-binding.
4107         (customize-push-and-save, customize-apropos)
4108         (custom-buffer-create-internal): Use closures.
4109         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4110         * progmodes/ada-xref.el: Use setq.
4111         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4112         * dframe.el: Use lexical-binding.
4113         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4114         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4115         * descr-text.el: Use lexical-binding.
4116         (describe-text-widget, describe-text-sexp, describe-property-list):
4117         Use closures.
4118         * comint.el (comint-history-isearch-push-state): Use a closure.
4119         * calculator.el: Use lexical-binding.
4120         (calculator-number-to-string): Make it work with lexical-binding.
4121         (calculator-funcall): Same and use cl-letf.
4123         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4124         (lisp--company-doc-string, lisp--company-location): New functions.
4125         (lisp-completion-at-point): Use them to improve Company support.
4127         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4128         params of lambda expressions.
4129         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4130         (ruby-smie--opening-pipe-p): New function.
4131         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4132         symbols and matched |...| for formal params.
4133         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4134         from being treated as hanging.  Handle "rescue".
4136 2013-08-29  Glenn Morris  <rgm@gnu.org>
4138         * progmodes/cc-engine.el (c-pull-open-brace):
4139         Move definition before use.
4141 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4143         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4144         are immutable.  Don't use `unsafe' any more.
4145         (cl--defsubst-expand): Don't substitute at the same time as keeping
4146         a residual unused let-binding.  Don't use `unsafe' any more.
4148 2013-08-29  Glenn Morris  <rgm@gnu.org>
4150         * calendar/cal-china.el (calendar-chinese-year-cache):
4151         Recenter on 2015.
4153         * nxml/nxml-util.el (nxml-debug-clear-inside):
4154         Use cl-loop rather than loop.
4156         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4158         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4160 2013-08-28  Glenn Morris  <rgm@gnu.org>
4162         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4164         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4166         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4168 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4170         * simple.el (repeat-complex-command--called-interactively-skip):
4171         New function.
4172         (repeat-complex-command): Use it (bug#14136).
4174         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4175         (c-define-abbrev-table): Add `doc' argument.
4176         (c-mode-abbrev-table, c++-mode-abbrev-table)
4177         (objc-mode-abbrev-table, java-mode-abbrev-table)
4178         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4179         (awk-mode-abbrev-table): Use it.
4180         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4181         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4182         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4183         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4184         Move initialization into the declaration; and remove any
4185         autoload cookie.
4187         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4188         and dynamic let binding.
4190         * vc/smerge-mode.el: Remove redundant :group args.
4192         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4193         to load-path.
4195 2013-08-28  Juri Linkov  <juri@jurta.org>
4197         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4198         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4199         (isearch-other-meta-char): Handle an undefined shifted printing
4200         character by downshifting it.  (Bug#15200)
4202 2013-08-28  Juri Linkov  <juri@jurta.org>
4204         * isearch.el (isearch-search): Change regexp error message for
4205         non-regexp searches.  (Bug#15166)
4207 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4209         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4210         for portability to hosts where /bin/sh has problems.
4212 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4214         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4216 2013-08-27  Juri Linkov  <juri@jurta.org>
4218         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4219         in the keyboard macro.  (Bug#15126)
4221 2013-08-27  Juri Linkov  <juri@jurta.org>
4223         * isearch.el (isearch-quote-char): Comment out converting unibyte
4224         to multibyte, thus syncing with its `quoted-insert' counterpart.
4225         (Bug#15166)
4227 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4229         * window.el (display-buffer-use-some-window): Add missing
4230         argument in call of get-largest-window (Bug#15185).
4231         Reported by Stephen Leake.
4233 2013-08-27  Glenn Morris  <rgm@gnu.org>
4235         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4237 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4239         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4240         from a matcher-function unless there's no more matches (bug#15161).
4242 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4244         * minibuffer.el: Revert change from 2013-08-20.
4246         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4247         with text property `tramp-default', if appropriate.
4248         (tramp-check-proper-host): New defun.
4249         (tramp-dissect-file-name): Do not check hostname.  Revert change
4250         of 2013-03-18.
4251         (tramp-backtrace): Make VEC-OR-PROC optional.
4253         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4254         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4255         * net/tramp-sh.el (tramp-maybe-open-connection):
4256         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4257         Apply `tramp-check-proper-host'.
4259 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4261         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4262         lambda expression in order to have `describe-variable' display it.
4264 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4266         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4267         BUF can be optional.  (Bug#15186)
4269 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4271         * progmodes/flymake.el (flymake-get-real-file-name-function):
4272         Fix broken customization.  (Bug#15184)
4274 2013-08-25  Alan Mackenzie  <acm@muc.de>
4276         Improve indentation of bracelists defined by macros (without "=").
4278         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4279         expansion begins with "{", regard it as bracelist when it doesn't
4280         contain a ";".
4282         Parse C++ inher-intro when there's a template split over 2 lines.
4284         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4285         rigorously the search for "class" etc. followed by ":".
4287         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4288         random languages a regexp which never matches rather than nil.
4290         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4292         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4293         (c-awk-regexp-one-line-possibly-open-char-list-re)
4294         (c-awk-one-line-possibly-open-regexp-re)
4295         (c-awk-one-line-non-syn-ws*-re): Remove.
4296         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4297         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4298         (c-awk-space*-unclosed-regexp-/-re): New constants.
4299         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4300         aren't regexp delimiters.
4302         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4303         handling for a rare situation in AWK Mode involving unterminated
4304         strings/regexps.
4306 2013-08-23  Glenn Morris  <rgm@gnu.org>
4308         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4310         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4312         * files.el (create-file-buffer): If the result would begin with
4313         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4315 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4317         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4318         text-properties (bug#15155).
4320         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4321         exist any more.
4322         (calc-keypad-redraw): Remove unused var `pad'.
4323         (calc-keypad-press): Remove unused var `menu'.
4325 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4327         * window.el (display-buffer-pop-up-frame):
4328         Call pop-up-frame-function with BUFFER current so `make-frame' will
4329         use it as the new frame's buffer (Bug#15133).
4331 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4333         * calendar/timeclock.el: Minor cleanups.
4334         (timeclock-ask-before-exiting, timeclock-use-display-time):
4335         Use `symbol'.
4336         (timeclock-modeline-display): Define as alias before the
4337         actual definition.
4338         (timeclock-mode-line-display): Use define-minor-mode.
4339         (timeclock-day-list-template): Make it a function, add an argument.
4340         (timeclock-day-list-required, timeclock-day-list-length)
4341         (timeclock-day-list-debt, timeclock-day-list-span)
4342         (timeclock-day-list-break): Adjust calls accordingly.
4344 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4346         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4347         Use read--expression so that completion works again.
4349 2013-08-21  Sam Steingold  <sds@gnu.org>
4351         Add rudimentary inferior shell interaction
4352         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4353         (sh-set-shell): Reset it.
4354         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4355         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4357 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4359         * align.el: Use lexical-binding.
4360         (align-region): Simplify accordingly.
4362 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4364         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4366         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4367         `non-essential' up.
4369 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4371         * net/tramp.el:
4372         * net/tramp-adb.el:
4373         * net/tramp-cmds.el:
4374         * net/tramp-ftp.el:
4375         * net/tramp-gvfs.el:
4376         * net/tramp-gw.el:
4377         * net/tramp-sh.el: Don't wrap external variable declarations by
4378         `eval-when-compile'.
4380 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4382         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4383         now that Emacs supports ImageMagick animations.
4385 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4387         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4388         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4390 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4392         * window.el (mouse-autoselect-window-select): Do autoselect when
4393         mouse pointer is on margin.
4395 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4397         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4399 2013-08-16  Glenn Morris  <rgm@gnu.org>
4401         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4402         Handle "Remote Directory" response of some clients.  (Bug#15058)
4404         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4405         Tweak warning.  (Bug#14926)
4407         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4408         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4410         * image-mode.el (image-mode-map): Add menu items to reverse,
4411         increase, decrease, reset animation speed.
4412         (image--set-speed, image-increase-speed, image-decrease-speed)
4413         (image-reverse-speed, image-reset-speed): New functions.
4414         (image-mode-map): Add bindings for speed commands.
4416         * image.el (image-animate-get-speed, image-animate-set-speed):
4417         New functions.
4418         (image-animate-timeout): Respect image :speed property.
4420 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4422         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4423         previous line (bug#15101).
4424         (debugger-eval-expression, debugger-record-expression):
4425         Use read--expression (bug#15102).
4427 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4429         Remove byte compiler warnings, visible when compiling with
4430         `byte-compile-force-lexical-warnings' set to t.
4432         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4433         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4434         (tramp-handle-unhandled-file-name-directory)
4435         (tramp-handle-file-notify-add-watch, tramp-action-login)
4436         (tramp-action-succeed, tramp-action-permission-denied)
4437         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4438         arguments with "_".
4440         * net/tramp-adb.el (tramp-adb-parse-device-names)
4441         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4442         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4443         (tramp-adb-handle-file-truename): Remove unused arguments.
4445         * net/tramp-cache.el (tramp-flush-directory-property)
4446         (tramp-flush-connection-property, tramp-list-connections)
4447         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4449         * net/tramp-compat.el (tramp-compat-make-temp-file):
4450         Rename FILENAME to F.
4452         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4453         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4454         (tramp-zeroconf-parse-workstation-device-names)
4455         (tramp-zeroconf-parse-webdav-device-names)
4456         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4458         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4459         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4461         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4462         arguments.
4463         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4464         (tramp-sh-handle-insert-file-contents-literally)
4465         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4466         with "_".
4467         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4468         Remove unused variables.
4470         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4471         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4472         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4474         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4475         Make them a defconst.
4476         (tramp-uuencode-region): Remove unused variable.
4478 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4480         * frameset.el (frameset--prop-setter): New function.
4481         (frameset-prop): Add gv-setter declaration.
4482         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4483         parameter was already set in FILTERED.  Doc fix.
4484         (frameset--record-minibuffer-relationships): Allow saving a
4485         minibufferless frame without its corresponding minibuffer frame.
4486         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4487         frame, if the frame id matches.
4488         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4489         frames before orphaned ones.
4490         (frameset-restore): Warn about orphaned windows, instead of error out.
4492 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4494         * window.el (window-make-atom): Don't overwrite parameter
4495         already present.
4496         (display-buffer-in-atom-window): Handle special case where we
4497         split an already atomic window.
4498         (window--major-non-side-window, display-buffer-in-side-window)
4499         (window--side-check): Ignore minibuffer window when walking
4500         window tree.
4501         (window-deletable-p): Return 'frame only if no other frame uses
4502         our minibuffer window.
4503         (record-window-buffer): Run buffer-list-update-hook.
4504         (split-window): Make sure window--check-frame won't destroy an
4505         existing atomic window in case the new window gets nested
4506         inside.
4507         (display-buffer-at-bottom): Ignore minibuffer window when
4508         walking window tree.  Don't split a side window.
4509         (pop-to-buffer): Don't set-buffer here, the select-window call
4510         should do that.
4511         (mouse-autoselect-window-select): Autoselect only if we are in the
4512         text portion of the window.
4514 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4516         * net/shr.el (shr-parse-image-data): New function to grab both the
4517         data itself and the Content-Type.
4518         (shr-put-image): Use it.
4520         * net/eww.el (eww-display-image): Ditto.
4522         * image.el (image-content-type-suffixes): New variable.
4524 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4526         * progmodes/python.el (python-imenu--build-tree)
4527         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4529 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4531         * simple.el (backward-word): Mention the optional argument.
4533 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4535         * frameset.el (frameset--make): Rename constructor from make-frameset.
4536         (frameset-p, frameset-valid-p): Don't autoload.
4537         (frameset-valid-p): Use normal accessors.
4539 2013-08-13  Glenn Morris  <rgm@gnu.org>
4541         * progmodes/compile.el (compile-command): Tweak example in doc.
4542         * obsolete/scribe.el (scribe-mode):
4543         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4545         * mail/feedmail.el (feedmail-confirm-outgoing)
4546         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4548         * cus-start.el (truncate-partial-width-windows): Fix type.
4550         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4552         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4554 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * emacs-lisp/timer.el (timer--time-setter): New function.
4557         (timer--time): Use it as gv-setter.
4559         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4560         setter is not a symbol.
4562 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4564         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4565         if sending fails.  This makes debugging easier.
4567 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4569         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4570         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4571         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4573 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4575         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4577 2013-08-12  Glenn Morris  <rgm@gnu.org>
4579         * format.el (format-annotate-function):
4580         Handle read-only text properties in the source.  (Bug#14887)
4582 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4584         * net/eww.el (eww-display-html): Ignore coding system errors.
4585         One web site uses "utf-8lias" as the coding system.
4587 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4589         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4591 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4593         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4594         (tutorial--detailed-help): Remove unused local variables.
4595         (tutorial--save-tutorial-to): Use ignore-errors.
4596         (help-with-tutorial): Use looking-at-p.
4598         * view.el (view-buffer-other-window, view-buffer-other-frame):
4599         Mark unused arguments.
4601         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4602         (woman-select-symbol-fonts, woman, woman-find-file)
4603         (woman-insert-file-contents, woman-non-underline-faces):
4604         Use string-match-p.
4605         (woman1-unquote): Move declaration.
4607         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4608         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4609         argument.  Remove unused local variable.
4610         (xml-parse-elem-type): Use string-match-p.
4611         (xml-substitute-numeric-entities): Use ignore-errors.
4613         * calculator.el (calculator): Mark unused argument.
4614         (calculator-paste, calculator-quit, calculator-integer-p):
4615         Use ignore-errors.
4616         (calculator-string-to-number, calculator-decimal, calculator-exp)
4617         (calculator-op-or-exp): Use string-match-p.
4619         * dired.el (dired-buffer-more-recently-used-p): Declare.
4620         (dired-insert-set-properties, dired-insert-old-subdirs):
4621         Use ignore-errors.
4623         * dired-aux.el (dired-compress): Use ignore-errors.
4624         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4625         (dired-do-async-shell-command, dired-do-shell-command)
4626         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4627         (dired-insert-subdir-validate): Use string-match-p.
4628         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4629         (dired-add-entry): Use string-match-p, looking-at-p.
4630         (dired-insert-subdir-newpos): Remove unused local variable.
4632         * filenotify.el (file-notify-callback): Remove unused local variable.
4634         * filesets.el (filesets-error): Mark unused argument.
4635         (filesets-which-command-p, filesets-filter-dir-names)
4636         (filesets-directory-files, filesets-get-external-viewer)
4637         (filesets-ingroup-get-data): Use string-match-p.
4639         * find-file.el (ff-other-file-name, ff-other-file-name)
4640         (ff-find-the-other-file, ff-cc-hh-converter):
4641         Remove unused local variables.
4642         (ff-get-file-name): Use string-match-p.
4643         (ff-all-dirs-under): Use ignore-errors.
4645         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4646         (follow-select-if-visible): Remove unused local variable.
4648         * forms.el (read-file-filter): Move declaration.
4649         (forms--make-format, forms--make-parser, forms-insert-record):
4650         Quote function with #'.
4651         (forms--update): Use string-match-p.  Quote function with #'.
4653         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4654         (help-make-xrefs): Use looking-at-p.
4655         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4657         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4658         (ibuffer-confirm-operation-on): Use string-match-p.
4660         * msb.el (msb-item-handler, msb-dired-item-handler):
4661         Mark unused arguments.
4663         * ses.el (ses-decode-cell-symbol)
4664         (ses-kill-override): Remove unused local variable.
4665         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4666         (ses-load): Use ignore-errors, looking-at-p.
4667         (ses-jump-safe): Use ignore-errors.
4668         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4670         * tabify.el (untabify, tabify): Mark unused arguments.
4672         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4673         Mark unused argument.
4674         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4675         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4677         * emacs-lisp/timer.el (timer--time): Define setter with
4678         gv-define-setter to avoid deprecation warning.
4680         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4681         (*record-cmpl-statistics-p*): Remove (was commented out).
4682         (cmpl-statistics-block): Remove (body was commented out).
4683         All callers changed.
4684         (add-completions-from-buffer, load-completions-from-file):
4685         Remove unused variables.
4687 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4689         * filecache.el (file-cache-delete-file-list):
4690         Print message only when told so.
4691         (file-cache-files-matching): Use #' in mapconcat argument.
4693         * ffap.el (ffap-url-at-point): Fix reference to variable
4694         thing-at-point-default-mail-uri-scheme.
4696 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4698         * subr.el (define-error): New function.
4699         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4700         error-file-not-found and define with define-error.
4701         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4702         and define with define-error.
4703         * userlock.el (file-locked, file-supersession):
4704         * simple.el (mark-inactive):
4705         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4706         * progmodes/ada-mode.el (ada-mode-errors):
4707         * play/life.el (life-extinct):
4708         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4709         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4710         * nxml/rng-util.el (rng-error):
4711         * nxml/rng-uri.el (rng-uri-error):
4712         * nxml/rng-match.el (rng-compile-error):
4713         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4714         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4715         * nxml/nxml-rap.el (nxml-scan-error):
4716         * nxml/nxml-outln.el (nxml-outline-error):
4717         * net/soap-client.el (soap-error):
4718         * net/gnutls.el (gnutls-error):
4719         * net/ange-ftp.el (ftp-error):
4720         * mpc.el (mpc-proc-error):
4721         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4722         (json-number-format, json-string-escape, json-string-format)
4723         (json-key-format, json-object-format):
4724         * jka-compr.el (compression-error):
4725         * international/quail.el (quail-error):
4726         * international/kkc.el (kkc-error):
4727         * emacs-lisp/ert.el (ert-test-failed):
4728         * calc/calc.el (calc-error, inexact-result, math-overflow)
4729         (math-underflow):
4730         * bookmark.el (bookmark-error-no-filename):
4731         * epg.el (epg-error): Define with define-error.
4733         * time.el (display-time-event-handler)
4734         (display-time-next-load-average): Don't call sit-for since it seems
4735         unnecessary (bug#15045).
4737         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4738         Use #' instead of ' to quote functions.
4739         (checkdoc-output-mode): Use setq-local.
4740         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4741         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4742         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4743         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4744         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4745         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4746         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4747         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4749         * ido.el (ido-completion-help): Fix up compiler warning.
4751 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4753         * frameset.el (frameset-p): Add autoload cookie.
4754         (frameset--jump-to-register): New function, based on code moved from
4755         register.el.
4756         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4758         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4759         (frameset-restore, frameset-save, frameset-session-filter-alist):
4760         Remove declarations.
4761         (register-alist): Doc fix.
4762         (frameset-to-register): Move to frameset.el.
4763         (jump-to-register, describe-register-1): Remove frameset-specific code.
4765 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4767         * allout-widgets.el (allout-widgets-pre-command-business)
4768         (allout-widgets-post-command-business)
4769         (allout-widgets-after-change-handler)
4770         (allout-decorate-item-and-context, allout-set-boundary-marker)
4771         (allout-body-modification-handler)
4772         (allout-graphics-modification-handler): Mark ignored arguments.
4773         (allout-widgets-post-command-business)
4774         (allout-widgets-exposure-change-processor)
4775         (allout-widgets-exposure-undo-processor)
4776         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4777         (allout-parse-item-at-point, allout-decorate-item-guides)
4778         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4779         * allout.el (epa-passphrase-callback-function): Declare.
4780         (allout-overlay-insert-in-front-handler)
4781         (allout-overlay-interior-modification-handler)
4782         (allout-isearch-end-handler, allout-chart-siblings)
4783         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4784         (allout-yank-processing, allout-process-exposed)
4785         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4786         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4787         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4788         (lisp-indent-defform): Mark ignored arguments.
4789         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4790         (calculate-lisp-indent): Remove unused variables.
4791         * international/characters.el (indian-2-column, arabic-2-column)
4792         (tibetan): Mark ignored arguments.
4793         (use-cjk-char-width-table): Mark ignored arguments.
4794         Remove unused variables.
4795         * international/fontset.el (build-default-fontset-data)
4796         (x-compose-font-name, create-fontset-from-fontset-spec):
4797         Mark ignored arguments.
4798         (fontset-plain-name): Remove unused variables.
4799         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4800         (keyboard-coding-system): Mark ignored arguments.
4801         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4802         * help.el (resize-temp-buffer-window):
4803         * window.el (display-buffer-in-major-side-window)
4804         (display-buffer-in-side-window, display-buffer-in-previous-window):
4805         Remove unused variables.
4806         * isearch.el (isearch-forward-symbol):
4807         * version.el (emacs-bzr-version-bzr):
4808         * international/mule-cmds.el (current-language-environment):
4809         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4810         (x-handle-display):
4811         * term/pc-win.el (x-list-fonts, x-display-planes)
4812         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4813         (x-server-version, x-display-screens, x-display-mm-height)
4814         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4815         (x-selection-owner-p, x-own-selection-internal)
4816         (x-disown-selection-internal, x-get-selection-internal)
4817         (msdos-initialize-window-system):
4818         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4819         * term/x-win.el (x-handle-no-bitmap-icon):
4820         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4821         (vc-default-find-file-hook, vc-default-extra-menu):
4822         Mark ignored arguments.
4824 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4826         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4827         break-condition in the context of the debugged code (bug#12685).
4829 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4831         * comint.el:
4832         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4833         (comint-mode): Make comint-last-prompt buffer local.
4834         (comint-last-prompt): New variable.
4835         (comint-last-prompt-overlay): Remove.  Superseded by
4836         comint-last-prompt.
4837         (comint-snapshot-last-prompt, comint-output-filter):
4838         Use comint-last-prompt.
4840 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4842         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4843         (frameset-save): Check validity of the resulting frameset.
4845 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4847         * ido.el (ido-record-command): Add doc string.
4849 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4851         * frameset.el (frameset): Do not disable creation of the default
4852         frameset-p predicate.  Doc fix.
4853         (frameset-valid-p): New function, copied from the old predicate-p.
4854         Add additional checks.
4855         (frameset-restore): Check with frameset-valid-p.
4856         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4857         (frameset-name, frameset-description, frameset-properties)
4858         (frameset-states): Add docstring.
4859         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4860         (frameset-filter-alist): Doc fixes.
4862 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4864         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4866 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4868         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4869         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4870         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4871         (byte-compile-normal-call): Remove obsolescence check.
4873 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4875         * frameset.el (frameset-restore): Doc fix.
4877         * register.el (frameset-frame-id, frameset-frame-with-id)
4878         (frameset-p, frameset-restore, frameset-save): Declare.
4879         (register-alist): Document framesets.
4880         (frameset-session-filter-alist): Declare.
4881         (frameset-to-register): New function.
4882         (jump-to-register): Implement jumping to framesets.  Doc fix.
4883         (describe-register-1): Describe framesets.
4885         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4887 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4889         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4890         Use lexical-binding.
4892         * frameset.el (frameset): Use type vector, not list (incompatible
4893         change).  Do not declare a new constructor, use the default one.
4894         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4895         `name' and `description', respectively, and add read-only slot
4896         `timestamp'.  Doc fixes.
4897         (frameset-copy, frameset-persistent-filter-alist)
4898         (frameset-filter-alist, frameset-switch-to-gui-p)
4899         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4900         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4901         (frameset-filter-iconified, frameset-keep-original-display-p):
4902         Doc fixes.
4903         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4904         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4905         Doc fix.
4906         (frameset-p): Adapt to change to vector and be more thorough.
4907         Change arg name to OBJECT.  Doc fix.
4908         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4909         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4910         All callers changed.
4911         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4912         All callers changed.
4913         (frameset--record-minibuffer-relationships): Rename from
4914         frameset--process-minibuffer-frames.  All callers changed.
4915         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4916         Use new default constructor (again).  Doc fix.
4917         (frameset--find-frame-if): Rename from `frameset--find-frame.
4918         All callers changed.
4919         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4920         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4921         Doc fix.
4922         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4923         PARAMETERS and WINDOW-STATE, respectively.
4924         (frameset-restore): Add new keyword argument PREDICATE.
4925         Reset frameset--target-display to nil.  Doc fix.
4927 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4929         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4930         (bat-mode): Use it.
4931         (bat-mode-syntax-table): Mark \n as end-of-comment.
4932         (bat-font-lock-keywords): Remove comment rule.
4934         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4935         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4937         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4938         (byte-compile-callargs-warn): Use `push'.
4939         (byte-compile-arglist-warn): Ignore higher-order "calls".
4940         (byte-compile-file-form-autoload): Use `pcase'.
4941         (byte-compile-function-form): If quoting a symbol, check that it exists.
4943 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4945         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4946         and add a few popular commands found in batch files.
4947         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4948         (dos-mode): Doc fixes.
4950 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4952         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4953         (dos-mode): Use setq-local.  Add space after "rem".
4954         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4955         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4957 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4959         * progmodes/dos.el: New file.
4960         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4961         dos-mode.
4963 2013-08-06  Glenn Morris  <rgm@gnu.org>
4965         * calendar/calendar.el: Add new faces, and day-header-array.
4966         (calendar-weekday-header, calendar-weekend-header)
4967         (calendar-month-header): New faces.
4968         (calendar-day-header-construct): New function.
4969         (calendar-day-header-width): Also :set calendar-day-header-array.
4970         (calendar-american-month-header, calendar-european-month-header)
4971         (calendar-iso-month-header): Use calendar- faces.
4972         (calendar-generate-month):
4973         Use calendar-day-header-array for day headers; apply faces to them.
4974         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4975         (calendar-abbrev-construct): Add optional maxlen argument.
4976         (calendar-day-name-array): Doc fix.
4977         (calendar-day-name-array, calendar-abbrev-length)
4978         (calendar-day-abbrev-array):
4979         Also :set calendar-day-header-array, and maybe redraw.
4980         (calendar-day-header-array): New option.  (Bug#15007)
4981         (calendar-font-lock-keywords): Set to nil and make obsolete.
4982         (calendar-day-name): Add option to use header array.
4984 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4986         * net/shr.el (shr-render-td): Remove debugging.
4987         (shr-render-td): Make width computation consistent by defaulting
4988         all zero-width columns to 10 characters.  This may not be optimal,
4989         but it's at least consistent.
4990         (shr-make-table-1): Redo last change to fix the real problem in
4991         colspan handling.
4993 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4995         * files.el (cache-long-line-scans):
4996         Make obsolete alias to `cache-long-scans'.
4998 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5000         * frameset.el (frameset, frameset-filter-alist)
5001         (frameset-filter-params, frameset-save, frameset--reuse-frame)
5002         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5003         (frameset-compute-pos): Rename from frameset--compute-pos,
5004         and add docstring.
5005         (frameset-move-onscreen): Use frameset-compute-pos.
5006         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5008         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5009         Fix typos in docstrings.
5011 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5013         * frame.el (get-other-frame): Tiny cleanup.
5015 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5017         * vc/vc.el (vc-default-ignore-completion-table):
5018         Silence byte-compiler warning.
5020         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5021         slot , which can indeed be nil.
5022         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5023         Move entry for `left' from persistent to live filter alist.
5024         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5025         Doc fixes.
5026         (frameset-filter-params): When restoring a frame, copy items added to
5027         `filtered', to avoid unwittingly modifying the original parameters.
5028         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
5029         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5031         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5032         to use looking-at-p instead of looking-at.  (Bug#15028)
5034 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5036         Revert introduction of isearch-filter-predicates (bug#14714).
5037         Rely on add-function instead.
5038         * isearch.el (isearch-filter-predicates): Rename it back to
5039         isearch-filter-predicate.
5040         (isearch-message-prefix): Use advice-function-mapc and advice
5041         properties to get the isearch-message-prefix.
5042         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5043         instead of run-hook-with-args-until-failure.
5044         (isearch-filter-visible): Not obsolete any more.
5045         * loadup.el: Preload nadvice.
5046         * replace.el (perform-replace): Revert to funcall
5047         instead of run-hook-with-args-until-failure.
5048         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5049         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5050         dired-isearch-filenames-toggle; make it into a proper minor mode.
5051         Use add/remove-function.
5052         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5053         Call the minor-mode rather than add/remove-hook.
5054         (dired-isearch-filter-filenames):
5055         Remove isearch-message-prefix property.
5056         * info.el (Info--search-loop): New function, extracted from Info-search.
5057         Funcall isearch-filter-predicate instead of
5058         run-hook-with-args-until-failure isearch-filter-predicates.
5059         (Info-search): Use it.
5060         (Info-mode): Use isearch-filter-predicate instead of
5061         isearch-filter-predicates.
5063 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5065         Do not call to `selected-window' where it is assumed by default.
5066         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5067         `window-hscroll', `window-width', `window-height', `window-buffer',
5068         `window-frame', `window-start', `window-point', `next-window'
5069         and `window-display-table'.
5070         * abbrev.el (abbrev--default-expand):
5071         * bs.el (bs--show-with-configuration):
5072         * buff-menu.el (Buffer-menu-mouse-select):
5073         * calc/calc.el (calc):
5074         * calendar/calendar.el (calendar-generate-window):
5075         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5076         (diary-make-entry):
5077         * comint.el (send-invisible, comint-dynamic-complete-filename)
5078         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5079         * completion.el (complete):
5080         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5081         * disp-table.el (describe-current-display-table):
5082         * doc-view.el (doc-view-insert-image):
5083         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5084         * ehelp.el (with-electric-help):
5085         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5086         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5087         * emacs-lisp/helper.el (Helper-help-scroller):
5088         * emulation/cua-base.el (cua--post-command-handler-1):
5089         * eshell/esh-mode.el (eshell-output-filter):
5090         * ffap.el (ffap-gnus-wrapper):
5091         * help-macro.el (make-help-screen):
5092         * hilit-chg.el (highlight-compare-buffers):
5093         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5094         * hl-line.el (global-hl-line-highlight):
5095         * icomplete.el (icomplete-simple-completing-p):
5096         * isearch.el (isearch-done):
5097         * jit-lock.el (jit-lock-stealth-fontify):
5098         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5099         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5100         * mpc.el (mpc-tagbrowser, mpc):
5101         * net/rcirc.el (rcirc-any-buffer):
5102         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5103         * play/landmark.el (landmark-max-width, landmark-max-height):
5104         * play/zone.el (zone):
5105         * progmodes/compile.el (compilation-goto-locus):
5106         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5107         * progmodes/etags.el (find-tag-other-window):
5108         * progmodes/fortran.el (fortran-column-ruler):
5109         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5110         * progmodes/verilog-mode.el (verilog-point-text):
5111         * reposition.el (reposition-window):
5112         * rot13.el (toggle-rot13-mode):
5113         * server.el (server-switch-buffer):
5114         * shell.el (shell-dynamic-complete-command)
5115         (shell-dynamic-complete-environment-variable):
5116         * simple.el (insert-buffer, set-selective-display)
5117         (delete-completion-window):
5118         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5119         (speedbar-recenter):
5120         * startup.el (fancy-splash-head):
5121         * textmodes/ispell.el (ispell-command-loop):
5122         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5123         * tutorial.el (help-with-tutorial):
5124         * vc/add-log.el (add-change-log-entry):
5125         * vc/compare-w.el (compare-windows):
5126         * vc/ediff-help.el (ediff-indent-help-message):
5127         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5128         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5129         (ediff-setup-control-frame):
5130         * vc/emerge.el (emerge-position-region):
5131         * vc/pcvs-util.el (cvs-bury-buffer):
5132         * window.el (walk-windows, mouse-autoselect-window-select):
5133         * winner.el (winner-set-conf, winner-undo): Related users changed.
5135 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5137         * frameset.el (frameset--set-id): Doc fix.
5138         (frameset-frame-id, frameset-frame-id-equal-p)
5139         (frameset-locate-frame-id): New functions.
5140         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5141         (frameset-restore): Use them.
5143 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5145         Do not call to `selected-frame' where it is assumed by default.
5146         Affected functions are `raise-frame', `redraw-frame',
5147         `frame-first-window', `frame-terminal' and `delete-frame'.
5148         * calendar/appt.el (appt-disp-window):
5149         * epg.el (epg-wait-for-completion):
5150         * follow.el (follow-delete-other-windows-and-split)
5151         (follow-avoid-tail-recenter):
5152         * international/mule.el (set-terminal-coding-system):
5153         * mail/rmail.el (rmail-mail-return):
5154         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5155         * progmodes/f90.el (f90-add-imenu-menu):
5156         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5157         * server.el (server-switch-buffer):
5158         * simple.el (delete-completion-window):
5159         * talk.el (talk):
5160         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5161         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5162         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5163         * vc/ediff.el (ediff-documentation): Related users changed.
5164         * frame.el (selected-terminal): Remove the leftover.
5166 2013-08-05  Glenn Morris  <rgm@gnu.org>
5168         * calendar/calendar.el (calendar-generate-month):
5169         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5170         (calendar-generate-month, calendar-font-lock-keywords):
5171         Fix for calendar-day-header-width > length of any day name.
5173 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5175         * desktop.el (desktop-clear): Use new name of sort predicate.
5177         * frameset.el (frameset): Add docstring.  Move :version property to its
5178         own `version' slot.
5179         (frameset-copy): Rename from copy-frameset.
5180         (frameset-p): Check more thoroughly.
5181         (frameset-prop): Do not check for :version, which is no longer a prop.
5182         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5183         Use new :never value instead of t.
5184         (frameset-filter-alist): Expand and clarify docstring.
5185         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5186         (frameset-filter-minibuffer, frameset-filter-save-param)
5187         (frameset-filter-restore-param, frameset-filter-iconified):
5188         Add pointer to docstring of frameset-filter-alist.
5189         (frameset-filter-params): Rename filter values to be more meaningful:
5190         :never instead of t, and reverse the meanings of :save and :restore.
5191         (frameset--process-minibuffer-frames): Clarify error message.
5192         (frameset-save): Avoid unnecessary and confusing call to framep.
5193         Use new BOA constructor for framesets.
5194         (frameset--reuse-list): Doc fix.
5195         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5196         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5197         (frameset-minibufferless-first-p): Doc fix.
5198         Rename from frameset-sort-frames-for-deletion.
5199         (frameset-restore): Doc fixes.  Use new function names.
5200         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5202 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5204         * desktop.el (desktop-restore-forces-onscreen)
5205         (desktop-restore-reuses-frames): Document :keyword constant values.
5206         (desktop-filter-parameters-alist): Remove, now identical to
5207         frameset-filter-alist.
5208         (desktop--filter-tty*): Remove, moved to frameset.el.
5209         (desktop-save-frameset, desktop-restore-frameset):
5210         Do not pass :filters argument.
5212         * frameset.el (frameset-live-filter-alist)
5213         (frameset-persistent-filter-alist): New variables.
5214         (frameset-filter-alist): Use them.  Add autoload cookie.
5215         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5216         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5217         `frameset--id' (it's supposed to be internal to frameset.el).
5218         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5219         (frameset--initial-params): New function.
5220         (frameset--get-frame): Use it.  Doc fix.
5221         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5222         Accept :all, not 'all.
5223         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5224         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5225         with fbound symbols.  Fix frame id matching, and remove matching ids if
5226         the frame being restored is deleted.  Obey :delete.
5228 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5230         * subr.el (macrop): New function.
5231         (text-clone--maintaining): New var.
5232         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5233         instead of inhibit-modification-hooks.
5235         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5236         a proxy, so as handle autoloads and redefinitions of the target.
5237         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5239         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5240         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5241         (pcase--mutually-exclusive-p): New function.
5242         (pcase--split-consp): Use it.
5243         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5244         mutually exclusive with the current predicate.
5246         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5247         (edebug-macrop): Remove.  Use `macrop' instead.
5248         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5249         (ad-macro-p):
5250         * eshell/esh-cmd.el (eshell-macrop):
5251         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5253 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5255         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5256         (advice-mapc): New function, using it.
5257         (advice-function-member-p): New function.
5258         (advice--normalize): Store the cdr in advice--saved-rewrite since
5259         that's the part that will be changed.
5260         (advice--symbol-function): New function.
5261         (advice-remove): Handle removal before the function is defined.
5262         Adjust to new advice--saved-rewrite.
5263         (advice-member-p): Use advice-function-member-p and
5264         advice--symbol-function.
5266 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5268         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5269         (frameset-filter-minibuffer): Doc fix.
5270         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5271         (frameset--set-id, frameset--process-minibuffer-frames)
5272         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5273         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5275         * desktop.el (desktop-clear): Only delete frames when called
5276         interactively and desktop-restore-frames is non-nil.  Doc fix.
5277         (desktop-read): Set desktop-saved-frameset to nil.
5279 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5281         * vc/vc.el (vc-ignore): Rewrite.
5282         (vc-default-ignore-completion-table):
5283         (vc--read-lines):
5284         (vc--add-line, vc--remove-regexp): New functions.
5286         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5287         (vc-svn-ignore-completion-table): New function.
5289         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5290         (vc-hg-ignore-completion-table):
5291         (vc-hg-find-ignore-file): New functions.
5293         * vc/vc-git.el (vc-git-ignore): Rewrite.
5294         (vc-git-ignore-completion-table):
5295         (vc-git-find-ignore-file): New functions.
5297         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5299         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5300         (vc-bzr-ignore-completion-table):
5301         (vc-bzr-find-ignore-file): New functions.
5303 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5305         * frameset.el (frameset-prop): New function and setter.
5306         (frameset-save): Do not modify frame list passed by the caller.
5308 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5310         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5312 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5314         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5315         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5317         * custom.el (custom-initialize-default, custom-initialize-set)
5318         (custom-initialize-reset, custom-initialize-changed): Affect the
5319         toplevel-default-value (bug#6275, bug#14586).
5320         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5321         for bug#6275.
5323 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5325         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5326         Add cl-def* expressions.
5328         * frameset.el (frameset-filter-params): Fix order of arguments.
5330 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5332         Move code related to saving frames to frameset.el.
5333         * desktop.el: Require frameset.
5334         (desktop-restore-frames): Doc fix.
5335         (desktop-restore-reuses-frames): Rename from
5336         desktop-restoring-reuses-frames.
5337         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5338         (desktop-clear): Clear frames too.
5339         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5340         (desktop--filter-tty*, desktop-save, desktop-read):
5341         Use frameset functions.
5342         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5343         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5344         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5345         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5346         (desktop--process-minibuffer-frames, desktop-save-frames)
5347         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5348         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5349         (desktop--sort-states, desktop-restoring-frames-p)
5350         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5351         (desktop-restoring-frameset-p, desktop-restore-frameset)
5352         (desktop--check-dont-save, desktop-save-frameset): New functions.
5353         (desktop--app-id): New constant.
5354         (desktop-first-buffer, desktop-buffer-ok-count)
5355         (desktop-buffer-fail-count): Move before first use.
5356         * frameset.el: New file.
5358 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5360         * files.el: Use lexical-binding.
5361         (dir-locals-read-from-file): Remove unused `err' variable.
5362         (hack-dir-local-variables--warned-coding): New var.
5363         (hack-dir-local-variables): Use it to avoid repeated warnings.
5364         (make-backup-file-name--default-function): New function.
5365         (make-backup-file-name-function): Use it as default.
5366         (buffer-stale--default-function): New function.
5367         (buffer-stale-function): Use it as default.
5368         (revert-buffer-insert-file-contents--default-function): New function.
5369         (revert-buffer-insert-file-contents-function): Use it as default.
5370         (insert-directory): Avoid add-to-list.
5372         * autorevert.el (auto-revert-handler): Simplify.
5373         Use buffer-stale--default-function.
5375 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5377         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5379         * whitespace.el (whitespace-ensure-local-variables): New function.
5380         (whitespace-cleanup-region): Call it.
5381         (whitespace-turn-on): Call it.
5383 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5385         Complete file name handlers.
5387         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5388         (tramp-handle-verify-visited-file-modtime)
5389         (tramp-handle-file-notify-rm-watch): New functions.
5390         (tramp-call-process): Do not bind `default-directory'.
5392         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5393         Order alphabetically.
5394         [access-file, add-name-to-file, dired-call-process]:
5395         [dired-compress-file, file-acl, file-notify-rm-watch]:
5396         [file-ownership-preserved-p, file-selinux-context]:
5397         [make-directory-internal, make-symbolic-link, set-file-acl]:
5398         [set-file-selinux-context, set-visited-file-modtime]:
5399         [verify-visited-file-modtime]: Add handler.
5400         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5402         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5403         [file-notify-add-watch, file-notify-rm-watch]:
5404         [set-file-times, set-visited-file-modtime]:
5405         [verify-visited-file-modtime]: Add handler.
5406         (with-tramp-gvfs-error-message)
5407         (tramp-gvfs-handle-set-visited-file-modtime)
5408         (tramp-gvfs-fuse-file-name): Remove.
5409         (tramp-gvfs-handle-file-notify-add-watch)
5410         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5411         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5413         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5414         Order alphabetically.
5415         [file-notify-rm-watch ]: Use default Tramp handler.
5416         [executable-find]: Remove private handler.
5417         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5418         `default-directory'.
5419         (tramp-sh-handle-executable-find)
5420         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5421         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5422         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5423         Do not use `format' in `tramp-message'.
5425         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5426         [file-notify-rm-watch, set-visited-file-modtime]:
5427         [verify-visited-file-modtime]: Add handler.
5428         (tramp-smb-call-winexe): Do not bind `default-directory'.
5430 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5432         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5434 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5436         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5437         use it.
5438         (log-view-diff-changeset): Same.
5439         (log-view-diff-common): Call backend command `previous-revision'
5440         to find out the previous revision, in both cases.  Swap the
5441         variables `to' and `fr', so that `fr' usually refers to the
5442         earlier revision (Bug#14989).
5444 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5446         * ibuf-ext.el (ibuffer-filter-by-filename):
5447         Make it work with dired buffers too.
5449 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5451         * emacs-lisp/re-builder.el (reb-color-display-p):
5452         * files.el (save-buffers-kill-terminal):
5453         * net/browse-url.el (browse-url):
5454         * server.el (server-save-buffers-kill-terminal):
5455         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5456         Prefer nil to selected-frame for the first arg of frame-parameter.
5458 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5460         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5462 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5464         * minibuffer.el (completion--twq-all): Try and preserve each
5465         completion's case choice (bug#14907).
5467 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5469         * net/network-stream.el (open-network-stream): Mention the new
5470         :nogreeting parameter.
5471         (network-stream-open-starttls): Use the :nogreeting parameter
5472         (bug#14938).
5474         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5476         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5477         more natural than popping.
5479         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5480         (shr-urlify): Highlight under mouse.
5482 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5484         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5486         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5488         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5489         buffer for output.
5491         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5492         point-min==1.  Fix search string.  Fix parentheses missing.
5494         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5495         assume point-min==1.  Fix search string.  Fix parentheses missing.
5497         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5499         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5500         buffer for output.
5502 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5504         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5505         initial frame is minibuffer-less.  (Bug#14841)
5507 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5509         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5510         option.
5512         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5513         (tramp-maybe-open-connection): Use it.
5515 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5517         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5518         minimal set of parameters passed when creating a frame, because
5519         the minibuffer status of a frame cannot be changed later.
5521 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5523         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5524         replace-regexp-in-string and inadvertent omissions in previous change.
5525         (todo-filter-items): Ensure only file names are comma-separated in
5526         name of filtered items buffer.
5528 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5530         * desktop.el: Optionally force offscreen frames back onscreen.
5531         (desktop-restoring-reuses-frames): New option.
5532         (desktop--compute-pos, desktop--move-onscreen): New functions.
5533         (desktop--make-frame): Use desktop--move-onscreen.
5535 2013-07-27  Alan Mackenzie  <acm@muc.de>
5537         Fontify a Java generic method as a function.
5538         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5539         value to t.
5541 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5543         * calendar/todo-mode.el: Add command to rename todo files.
5544         (todo-rename-file): New command.
5545         (todo-key-bindings-t): Add key binding for it.  Change the
5546         bindings of todo-filter-regexp-items(-multifile) to use `x'
5547         instead of `r', since the latter is better suited to the new
5548         renaming command.
5550 2013-07-27  Alan Mackenzie  <acm@muc.de>
5552         Make Java try-with-resources statement parse properly.
5553         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5554         (c-block-stmt-1-2-key): New language constants/variables.
5555         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5556         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5557         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5558         with c-block-stmt-1-2-key.
5560 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5562         * desktop.el (desktop--make-frame): Apply most frame parameters after
5563         creating the frame to force (partially or totally) offscreen frames to
5564         be restored as such.
5566 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5568         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5569         (Bug#14948)
5571 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5573         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5574         `base' arg of backtrace-frame.
5576 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5578         * simple.el (list-processes): Doc fix.
5580 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5582         * desktop.el (desktop--select-frame):
5583         Try harder to reuse existing frames.
5585 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5587         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5588         (edebug-eval): Use backtrace-eval.
5589         (edebug--display, edebug--recursive-edit): Don't let-bind the
5590         edebug-outer-* vars that keep track of variables we locally let-bind.
5591         (edebug-outside-excursion): Don't restore outside values of locally
5592         let-bound vars.
5593         (edebug--display): Use user-error.
5594         (cl-lexical-debug, cl-debug-env): Remove.
5596 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5598         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5599         are restored to be sure that they are visible before deleting any
5600         remaining ones.
5602 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5604         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5605         vc-print-root-log.  (Bug#14948)
5607 2013-07-26  Richard Stallman  <rms@gnu.org>
5609         Add aliases for encrypting mail.
5610         * epa.el (epa-mail-aliases): New option.
5611         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5612         Bind inhibit-read-only so read-only text doesn't ruin everything.
5613         (epa-mail-default-recipients): New subroutine broken out.
5614         Handle epa-mail-aliases.
5616 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5618         Add support for lexical variables to the debugger's `e' command.
5619         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5620         vars, except for debugger-outer-match-data.
5621         (debugger-frame-number): Move check for "on a function call" from
5622         callers into it.  Add `skip-base' argument.
5623         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5624         (debugger-env-macro): Only reset the state stored in non-variables,
5625         i.e. current-buffer and match-data.
5626         (debugger-eval-expression): Rewrite using backtrace-eval.
5627         * subr.el (internal--called-interactively-p--get-frame): Remove.
5628         (called-interactively-p):
5629         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5630         `base' arg of backtrace-frame instead.
5632 2013-07-26  Glenn Morris  <rgm@gnu.org>
5634         * align.el (align-regexp): Doc fix.  (Bug#14857)
5635         (align-region): Explicit error if subexpression missing/does not match.
5637         * simple.el (global-visual-line-mode):
5638         Do not duplicate the mode lighter.  (Bug#14858)
5640 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5642         * window.el (display-buffer): In display-buffer bind
5643         split-window-keep-point to t, bug#14829.
5645 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5647         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5648         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5649         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5650         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5651         Change accordingly.
5652         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5653         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5655 2013-07-25  Glenn Morris  <rgm@gnu.org>
5657         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5659 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5661         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5662         parameter to modify-frame-parameters if the value has not changed;
5663         this is a workaround for bug#14949.
5664         (desktop--make-frame): On cl-delete-if call, check parameter name,
5665         not full parameter.
5667 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5669         * vc/vc.el (vc-ignore): New function.
5671         * vc/vc-svn.el (vc-svn-ignore): New function.
5673         * vc/vc-hg.el (vc-hg-ignore): New function.
5675         * vc/vc-git.el (vc-git-ignore): New function.
5677         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5678         (vc-dir-ignore): New function.
5680         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5681         (cvs-append-to-ignore): Move here from pcvs.el.
5683         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5685         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5687 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5689         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5690         (desktop-restore-frames): Warn when deleting an existing frame failed.
5692 2013-07-24  Glenn Morris  <rgm@gnu.org>
5694         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5696 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5698         * filenotify.el (file-notify-supported-p):
5699         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5700         Remove functions.
5702         * autorevert.el (auto-revert-use-notify):
5703         (auto-revert-notify-add-watch):
5704         * net/tramp.el (tramp-file-name-for-operation):
5705         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5706         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5707         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5708         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5709         Remove `file-notify-supported-p' entry.
5711 2013-07-24  Glenn Morris  <rgm@gnu.org>
5713         * printing.el: Replace all uses of deleted ps-windows-system,
5714         ps-lp-system, ps-flatten-list with lpr- versions.
5716 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5718         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5719         checked with memq (bug#14935).
5721         * files.el (revert-buffer-function): Use a non-nil default.
5722         (revert-buffer-preserve-modes): Declare var to
5723         provide access to the `preserve-modes' argument.
5724         (revert-buffer): Let-bind it.
5725         (revert-buffer--default): New function, extracted from revert-buffer.
5727 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5729         * lpr.el: Signal print errors more prominently.
5730         (print-region-function): Don't default to nil.
5731         (lpr-print-region): New function, extracted from print-region-1.
5732         Check lpr's return value and signal an error in case of problem.
5733         (print-region-1): Use it.
5734         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5735         versions instead.
5736         (ps-printer-name): Default to nil.
5737         (ps-printer-name-option): Default to lpr-printer-switch.
5738         (ps-print-region-function): Don't default to nil.
5739         (ps-postscript-code-directory): Simplify default.
5740         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5741         (ps-string-list, ps-eval-switch, ps-flatten-list)
5742         (ps-flatten-list-1): Remove.
5743         (ps-multibyte-buffer): Avoid setq.
5744         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5745         (print-region-function, ps-print-region-function): Don't set them here.
5747 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5749         * ido.el (ido-fractionp):
5750         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5751         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5752         (ido-max-directory-size, ido-max-dir-file-cache)
5753         (ido-decorations): Doc fix.
5755         * ansi-color.el: Fix old URL.
5757 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5759         * progmodes/sql.el: Version 3.3
5760         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5761         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5762         (sql-interactive-remove-continuation-prompt): Rewrite, use
5763         functions above.  Fix continuation prompt and complete output line
5764         handling.
5765         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5766         redirected output buffer.
5767         (sql-mode): Restore deleted code (Bug#13591).
5769 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5771         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5773 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5775         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5777         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5778         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5779         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5781 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5783         * desktop.el (desktop-clear): Simplify; remove useless checks
5784         against invalid buffer names.
5785         (desktop-list*): Use cl-list*.
5786         (desktop-buffer-info, desktop-create-buffer): Simplify.
5788 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5790         * bookmark.el (bookmark-make-record): Restore NAME as a default
5791         value.  (Bug#14933)
5793 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5795         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5796         extracted from autoload--insert-text.
5797         (autoload--insert-text): Remove.
5798         (autoload--print-cookie-text): New function, extracted from
5799         autoload--insert-cookie-text.
5800         (autoload--insert-cookie-text): Remove.
5801         (autoload-generate-file-autoloads): Adjust calls accordingly.
5803         * winner.el (winner-hook-installed-p): Remove.
5804         (winner-mode): Simplify accordingly.
5806         * subr.el (add-to-list): Fix compiler-macro when `append' is
5807         not constant.  Don't use `cl-member' for the base case.
5809         * progmodes/subword.el: Fix boundary case (bug#13758).
5810         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5811         own group.
5812         (subword-backward-regexp): Make it a constant.
5813         (subword-forward-internal): Don't treat a trailing capital as the
5814         beginning of a word.
5816 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5818         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5819         global value of tabulated-list-revert-hook (bug#14930).
5821 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5823         * desktop.el: Require 'cl-lib.
5824         (desktop-before-saving-frames-functions): New hook.
5825         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5826         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5827         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5828         Do not save frames with non-nil `desktop-dont-save' parameter.
5829         Filter out deleted frames.
5830         (desktop--find-frame): Use cl-find-if.
5831         (desktop--select-frame): Use cl-(first|second|third) to access values
5832         of desktop-mini.
5833         (desktop--make-frame): Use cl-delete-if.
5834         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5835         (desktop-restore-frames): Use cl-(first|second|third) to access values
5836         of desktop-mini.  Look for visible frame at the end, not while
5837         restoring frames.
5839         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5840         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5841         Use string-match-p, looking-at-p (bug#14927).
5843 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5845         * desktop.el (desktop-saved-frame-states):
5846         Rename from desktop--saved-states; all users changed.
5847         (desktop-save-frames): Rename from desktop--save-frames.
5848         Do not save state to desktop file.
5849         (desktop-save): Save desktop-saved-frame-states to desktop file
5850         and reset to nil.
5851         (desktop-restoring-frames-p): New function.
5852         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5853         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5854         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5856         * desktop.el: Correctly restore iconified frames.
5857         (desktop--filter-iconified-position): New function.
5858         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5860 2013-07-20  Glenn Morris  <rgm@gnu.org>
5862         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5863         Let `message' do the formatting.
5864         (def-gdb-preempt-display-buffer): Add explicit format.
5866         * image-dired.el (image-dired-track-original-file):
5867         Use with-current-buffer.
5868         (image-dired-track-thumbnail): Use with-current-buffer.
5869         Avoid changing point of wrong window.
5871         * image-dired.el (image-dired-track-original-file):
5872         Avoid changing point of wrong window.  (Bug#14909)
5874 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5876         * progmodes/gdb-mi.el (gdb-done-or-error):
5877         Guard against "%" in gdb output.  (Bug#14127)
5879 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5881         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5882         (Bug#14826)
5884         * international/mule.el (coding-system-iso-2022-flags): Fix last
5885         change.
5887 2013-07-20  Kenichi Handa  <handa@gnu.org>
5889         * international/mule.el (coding-system-iso-2022-flags):
5890         Add `8-bit-level-4'.  (Bug#8522)
5892 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5894         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5895         (bug#14815).
5897         * net/eww.el (eww-process-text-input): Allow inputting when the
5898         point is at the start of the line, as the properties aren't
5899         front-sticky.
5901         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5902         degenerate widths.
5904 2013-07-19  Richard Stallman  <rms@gnu.org>
5906         * epa.el (epa-popup-info-window): Doc fix.
5908         * subr.el (split-string): New arg TRIM.
5910 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5912         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5913         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5915 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5917         * filenotify.el (file-notify--library): Rename from
5918         `file-notify-support'.  Do not autoload.  Adapt all uses.
5919         (file-notify-supported-p): New defun.
5921         * autorevert.el (auto-revert-use-notify):
5922         Use `file-notify-supported-p' instead of `file-notify-support'.
5923         Adapt docstring.
5924         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5926         * net/tramp.el (tramp-file-name-for-operation):
5927         Add `file-notify-supported-p'.
5929         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5930         New defun.
5931         (tramp-sh-file-name-handler-alist): Add it as handler for
5932         `file-notify-supported-p '.
5934         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5935         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5936         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5937         Add `ignore' as handler for `file-notify-*' functions.
5939 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5941         * simple.el (line-move-partial, line-move): Don't start vscroll or
5942         scroll-up if the current line is not taller than the window.
5943         (Bug#14881)
5945 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5947         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5948         highlight question marks in the method names as strings.
5949         (ruby-block-beg-keywords): Inline.
5950         (ruby-font-lock-keyword-beg-re): Extract from
5951         `ruby-font-lock-keywords'.
5953 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5955         * frame.el (blink-cursor-blinks): New defcustom.
5956         (blink-cursor-blinks-done): New defvar.
5957         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5958         (blink-cursor-timer-function): Check if number of blinks has been
5959         done on X and NS.
5960         (blink-cursor-suspend, blink-cursor-check): New defuns.
5962 2013-07-15  Glenn Morris  <rgm@gnu.org>
5964         * edmacro.el (edmacro-format-keys): Fix previous change.
5966 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5968         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5969         The hack didn't work outside English locales anyway.
5971 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5973         * simple.el (define-alternatives): Rename from alternatives-define,
5974         per RMS' suggestion.
5976 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5978         * desktop.el (desktop-restore-frames): Change default to t.
5979         (desktop-restore-in-current-display): Now offer more options.
5980         (desktop-restoring-reuses-frames): New customization option.
5981         (desktop--saved-states): Doc fix.
5982         (desktop-filter-parameters-alist): New variable, renamed and expanded
5983         from desktop--excluded-frame-parameters.
5984         (desktop--target-display): New variable.
5985         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5986         (desktop--filter-tty*, desktop--filter-*-color)
5987         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5988         (desktop--filter-save-desktop-parm)
5989         (desktop-restore-in-original-display-p): New functions.
5990         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5991         (desktop--save-minibuffer-frames): New function, inspired by a similar
5992         function from Martin Rudalics.
5993         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5994         (desktop--restore-in-this-display-p): Remove.
5995         (desktop--find-frame): Rename from desktop--find-frame-in-display
5996         and add predicate argument.
5997         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5998         (desktop--reuse-list): New variable.
5999         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6000         New functions.
6001         (desktop--restore-frames): Add support for "minibuffer-special" frames.
6003 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
6005         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6007 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
6009         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6010         Highlight conversion methods on Kernel.
6012 2013-07-13  Alan Mackenzie  <acm@muc.de>
6014         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6015         and comment it out.  This out-commenting enables certain C++
6016         declarations to be parsed correctly.
6018 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
6020         * international/mule.el (define-coding-system): Doc fix.
6022         * simple.el (default-font-height): Don't call font-info if the
6023         frame's default font didn't change since the frame was created.
6024         (Bug#14838)
6026 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6028         * ido.el (ido-read-file-name): Guard against non-symbol value.
6030 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6032         * progmodes/python.el (python-imenu--build-tree): Fix corner case
6033         in nested defuns.
6035 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6037         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6038         ido-set-matches call.  (Bug#6852)
6040 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6042         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6043         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6044         Ruby 2.0.
6045         (ruby-font-lock-keywords): Distinguish calls to functions with
6046         module-like names from module references.  Highlight character
6047         literals.
6049 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6051         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6052         (gdb-send): Handle continued commands.  (Bug#14847)
6054 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6056         * desktop.el (desktop--v2s): Remove unused local variable.
6057         (desktop-save-buffer): Make defvar-local; adjust docstring.
6058         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6059         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6061 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6063         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6065 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6067         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6068         (Bug#14842)
6070 2013-07-12  Glenn Morris  <rgm@gnu.org>
6072         * doc-view.el: Require cl-lib at runtime too.
6073         (doc-view-remove-if): Remove.
6074         (doc-view-search-next-match, doc-view-search-previous-match):
6075         Use cl-remove-if.
6077         * edmacro.el: Require cl-lib at runtime too.
6078         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6079         (edmacro-mismatch, edmacro-subseq): Remove.
6081         * shadowfile.el: Require cl-lib.
6082         (shadow-remove-if): Remove.
6083         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6084         Use cl-remove-if.
6086         * wid-edit.el: Require cl-lib.
6087         (widget-choose): Use cl-remove-if.
6088         (widget-remove-if): Remove.
6090         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6091         (ebrowse-delete-if-not): Remove.
6092         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6093         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6094         Use cl-delete-if-not.
6096 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6098         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6099         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6101 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6103         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6105 2013-07-11  Glenn Morris  <rgm@gnu.org>
6107         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6108         (edebug-gensym-index, edebug-gensym):
6109         Remove reimplementation of cl-gensym.
6110         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6112         * thumbs.el: Require cl-lib at run-time too.
6113         (thumbs-gensym-counter, thumbs-gensym):
6114         Remove reimplementation of cl-gensym.
6115         (thumbs-temp-file): Use cl-gensym.
6117         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6118         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6119         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6120         (ert--union, ert--gensym-counter, ert--gensym-counter)
6121         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6122         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6123         (ert-make-test-unbound, ert--expand-should-1)
6124         (ert--expand-should, ert--should-error-handle-error)
6125         (should-error, ert--explain-equal-rec)
6126         (ert--plist-difference-explanation, ert-select-tests)
6127         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6128         Use cl-lib functions rather than reimplementations.
6130 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6132         * net/tramp.el (tramp-methods): Extend docstring.
6133         (tramp-connection-timeout): New defcustom.
6134         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6135         (with-tramp-progress-reporter): Simplify.
6136         (tramp-process-actions): Improve messages.
6138         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6139         * net/tramp-sh.el (tramp-maybe-open-connection):
6140         Use `tramp-connection-timeout'.
6141         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6142         (Bug#14808)
6144 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6146         * ido.el (ido-read-file-name): Conform to the requirements of
6147         read-file-name.  (Bug#11861)
6148         (ido-read-directory-name): Conform to the requirements of
6149         read-directory-name.
6151 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6153         * subr.el (delay-warning): New function.
6155 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6157         * simple.el (default-line-height): New function.
6158         (line-move-partial, line-move): Use it instead of computing the
6159         line height inline.
6160         (line-move-partial): Always compute ROWH.  If the last line is
6161         partially-visible, but its text is completely visible, allow
6162         cursor to enter such a partially-visible line.
6164 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6166         Improve error messages.  (Bug#14808)
6168         * net/tramp.el (tramp-current-connection): New defvar, moved from
6169         tramp-sh.el.
6170         (tramp-message-show-progress-reporter-message): Remove, not
6171         needed anymore.
6172         (tramp-error-with-buffer): Show message in minibuffer.
6173         Discard input before waiting.  Reset connection timestamp.
6174         (with-tramp-progress-reporter): Improve messages.
6175         (tramp-process-actions): Use progress reporter.  Delete process in
6176         case of error.  Improve messages.
6178         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6179         Call `tramp-error-with-buffer' with vector and buffer.
6180         (tramp-current-connection): Remove.
6181         (tramp-maybe-open-connection): The car of
6182         `tramp-current-connection' are the first 3 slots of the vector.
6184 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6186         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6187         inside continued strings.
6189 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6191         Timestamp fixes for undo (Bug#14824).
6192         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6194 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6196         * files.el (require-final-newline): Allow safe local value.
6197         (Bug#14834)
6199 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6201         * ido.el (ido-read-directory-name): Handle fallback.
6202         (ido-read-file-name): Update DIR to ido-current-directory.
6203         (Bug#1516)
6204         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6206 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6208         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6209         "autoload".  Remove "warn lower camel case" section, previously
6210         commented out.  Highlight negation char.  Do not highlight the
6211         target in singleton method definitions.
6213 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6215         * faces.el (tty-setup-hook): Declare the hook.
6217         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6218         and detect when a guard/pred depends on local vars (bug#14773).
6219         (pcase--u1): Adjust caller.
6221 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6223         * simple.el (line-move-partial, line-move): Account for
6224         line-spacing.
6225         (line-move-partial): Avoid setting vscroll when the last
6226         partially-visible line in window is of default height.
6228 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6230         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6231         been used a while.
6233 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6235         * subr.el (read-quoted-char): Remove unused local variable `char'.
6237 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6239         * ediff.el (ediff-version): Version update.
6240         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6241         (ediff-merge-with-ancestor-command, ediff-directories-command)
6242         (ediff-directories3-command, ediff-merge-directories-command)
6243         (ediff-merge-directories-with-ancestor-command): New functions.
6244         All are command-line interfaces to ediff: to facilitate calling
6245         Emacs with the appropriate ediff functions invoked.
6247         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6248         (viper-save-kill-buffer): Check if buffer is modified.
6250         * viper.el (viper-version): Version update.
6251         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6253 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6255         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6256         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6257         (viper-intercept-ESC-key): Simplify.
6258         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6259         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6260         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6261         (viper-setup-ESC-to-escape): New functions.
6262         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6263         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6265 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6267         * simple.el (default-font-height, window-screen-lines):
6268         New functions.
6269         (line-move, line-move-partial): Use them instead of
6270         frame-char-height and window-text-height.  This makes scrolling
6271         text smoother when the buffer's default face uses a font that is
6272         different from the frame's default font.
6274 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6276         * files.el (write-file): Do not display confirm dialog for NS,
6277         it does its own dialog, which can't be cancelled (Bug#14578).
6279 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6281         * simple.el (line-move-partial): Adjust the row returned by
6282         posn-at-point for the current window-vscroll.  (Bug#14567)
6284 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6286         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6287         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6288         spaces.
6290 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6292         * window.el (window-state-put-stale-windows): New variable.
6293         (window--state-put-2): Save list of windows without matching buffer.
6294         (window-state-put): Remove "bufferless" windows if possible.
6296 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6298         * simple.el (alternatives-define): Remove leftover :group keyword.
6299         Tweak docstring.
6301 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6303         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6304         (ido-enable-virtual-buffers): New variable.
6305         (ido-buffer-internal, ido-toggle-virtual-buffers)
6306         (ido-make-buffer-list): Use it.
6307         (ido-exhibit): Support turning on and off virtual buffers
6308         automatically.
6310 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6312         * simple.el (alternatives-define): New macro.
6314 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6316         * subr.el (read-quoted-char): Use read-key.
6317         (sit-for): Let read-event decode tty input (bug#14782).
6319 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6321         * calendar/todo-mode.el: Add handling of file deletion, both by
6322         mode command and externally.  Fix various related bugs.
6323         Clarify Commentary and improve some documentation strings and code.
6324         (todo-delete-file): New command.
6325         (todo-check-file): New function.
6326         (todo-show): Handle external deletion of the file we're trying to
6327         show (bug#14688).  Replace called-interactively-p by an optional
6328         prefix argument to avoid problematic interaction with catch form
6329         when byte compiled (bug#14702).
6330         (todo-quit): Handle external deletion of the archive's todo file.
6331         Make sure the buffer that was visiting the archive file is still
6332         live before trying to bury it.
6333         (todo-category-completions): Handle external deletion of any
6334         category completion files.
6335         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6336         of todo files, in case of external deletion.
6337         (todo-add-file): Replace unnecessary setq by let-binding.
6338         (todo-find-archive): Check whether there are any archives.
6339         Replace unnecessary setq by let-binding.
6340         (todo-archive-done-item): Use find-file-noselect to get the
6341         archive buffer whether or not the archive already exists.
6342         Remove superfluous code.  Use file size instead of buffer-file-name to
6343         check if the archive is new; if it is, update list of archives.
6344         (todo-default-todo-file): Allow nil to be a valid value for when
6345         there are no todo files.
6346         (todo-reevaluate-default-file-defcustom): Use corrected definition
6347         of todo-default-todo-file.
6348         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6349         (todo-delete-category, todo-show-categories-table)
6350         (todo-category-number): Clarify comment.
6351         (todo-filter-items): Clarify documentation string.
6352         (todo-show-current-file, todo-display-as-todo-file)
6353         (todo-reset-and-enable-done-separator): Tweak documentation string.
6354         (todo-done-separator): Make separator length window-width, since
6355         bug#2749 is now fixed.
6357 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6359         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6360         Support both "gvfs-monitor-dir" and "inotifywait".
6361         (tramp-sh-file-inotifywait-process-filter): Rename from
6362         `tramp-sh-file-notify-process-filter'.
6363         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6364         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6366 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6368         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6370 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6372         * frame.el (display-pixel-height, display-pixel-width)
6373         (display-mm-height, display-mm-width): Mention behavior on
6374         multi-monitor setups in docstrings.
6375         (w32-display-monitor-attributes-list): Declare function.
6376         (display-monitor-attributes-list): Use it.
6378 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6380         * filenotify.el: New package.
6382         * autorevert.el (top): Require filenotify.el.
6383         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6384         instead.
6385         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6386         (auto-revert-notify-handler): Use `file-notify-*' functions.
6388         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6390         * net/tramp.el (tramp-file-name-for-operation):
6391         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6393         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6394         for `file-notify-add-watch' and `file-notify-rm-watch'.
6395         (tramp-process-sentinel): Improve trace.
6396         (tramp-sh-handle-file-notify-add-watch)
6397         (tramp-sh-file-notify-process-filter)
6398         (tramp-sh-handle-file-notify-rm-watch)
6399         (tramp-get-remote-inotifywait): New defuns.
6401 2013-07-03  Juri Linkov  <juri@jurta.org>
6403         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6404         call of `occur-read-primary-args' to interactive spec.
6406         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6407         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6409 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6411         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6412         `Buffer-menu-multi-occur'.  Add it to the menu.
6413         (Buffer-menu-mode): Document it in docstring.
6414         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6416 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6418         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6419         keywords and built-ins.
6421 2013-07-03  Glenn Morris  <rgm@gnu.org>
6423         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6425         Make info-xref checks case-sensitive by default
6426         * info.el (Info-find-node, Info-find-in-tag-table)
6427         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6428         Add option for exact case matching of nodes.
6429         * info-xref.el (info-xref): New custom group.
6430         (info-xref-case-fold): New option.
6431         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6433 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6435         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6437 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6439         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6440         middle of block statement initially, lower the depth.  Remove
6441         FIXME comment, not longer valid.  Remove middle of block statement
6442         detection, no need to do that anymore since we've been using
6443         `ruby-parse-region' here.
6445 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6447         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6449 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6451         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6453 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6455         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6456         (desktop-restore-in-current-display): New customization option.
6457         (desktop--excluded-frame-parameters): Add `font'.
6458         (desktop--save-frames): Rename from desktop--save-windows.
6459         (desktop--restore-in-this-display-p): New function.
6460         (desktop--make-full-frame): Remove unwanted width/height from
6461         full(width|height) frames.
6462         (desktop--restore-frames): Rename from desktop--restore-windows.
6463         Obey desktop-restore-current-display.  Do not delete old frames or
6464         select a new frame unless we were able to restore at least one frame.
6466 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6468         * files.el (find-file-noselect): Simplify conditional expression.
6470         * remember.el (remember-append-to-file):
6471         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6473         Add `remember-notes' function to store random notes across Emacs
6474         restarts.
6475         * remember.el (remember-data-file): Add :set callback to affect
6476         notes buffer (if any).
6477         (remember-notes): New command.
6478         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6479         New defcustoms for the `remember-notes' function.
6480         (remember-notes-save-and-bury-buffer): New command.
6481         (remember-notes-mode-map): New variable.
6482         (remember-mode): New minor mode.
6483         (remember-notes--kill-buffer-query): New function.
6484         * startup.el (initial-buffer-choice): Add notes to custom type.
6486 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6488         * bindings.el (right-char, left-char): Don't call sit-for, this is
6489         no longer needed.  Use arithmetic comparison only for numerical
6490         arguments.
6492         * international/mule-cmds.el (select-safe-coding-system):
6493         Handle the case of FROM being a string correctly.  (Bug#14755)
6495 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6497         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6498         progression on degenerate tables.
6499         (shr-rescale-image): ImageMagick animated images currently don't work.
6501 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6503         Some fixes and improvements for desktop frame restoration.
6504         It is still experimental and disabled by default.
6505         * desktop.el (desktop--save-windows): Put the selected frame at
6506         the head of the list.
6507         (desktop--make-full-frame): New function.
6508         (desktop--restore-windows): Try to re-select the frame that was
6509         selected upon saving.  Do not abort if some frames fail to restore,
6510         just show an error message and continue.  Set up maximized frames
6511         so they have default non-maximized dimensions.
6513 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6515         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6516         Don't start heredoc inside a string or comment.
6518 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6520         * bindings.el (visual-order-cursor-movement): New defcustom.
6521         (right-char, left-char): Provide visual-order cursor motion by
6522         calling move-point-visually.  Update the doc strings.
6524 2013-06-28  Kenichi Handa  <handa@gnu.org>
6526         * international/mule.el (define-coding-system): New coding system
6527         properties :inhibit-null-byte-detection,
6528         :inhibit-iso-escape-detection, and :prefer-utf-8.
6529         (set-buffer-file-coding-system): If :charset-list property of
6530         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6531         appropriate for setting.
6533         * international/mule-cmds.el (select-safe-coding-system):
6534         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6535         multibyte characters, return utf-8 (or one of its siblings).
6537         * international/mule-conf.el (prefer-utf-8): New coding system.
6538         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6539         files.
6541 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6543         * net/shr.el (shr-render-region): New function.
6545         * net/eww.el: Autoload `eww-browse-url'.
6547 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6549         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6550         Adapt to `package-desc-version' being a list.
6551         Use `package--ac-desc-version' to retrieve version from a package
6552         archive element.
6554 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6556         New experimental feature to save&restore window and frame setup.
6557         * desktop.el (desktop-save-windows): New defcustom.
6558         (desktop--saved-states): New var.
6559         (desktop--excluded-frame-parameters): New defconst.
6560         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6561         (desktop--restore-windows, desktop--save-windows): New functions.
6562         (desktop-save): Call `desktop--save-windows'.
6563         (desktop-read): Call `desktop--restore-windows'.
6565 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6567         * net/shr.el (add-face-text-property): Remove compat definition.
6569 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6571         * info.el (Info-try-follow-nearest-node): Move search for footnote
6572         above search for node name to prevent missing a footnote (bug#14717).
6574 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6576         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6578 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6580         * net/eww.el (eww-read-bookmarks): Check file size.
6582 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6584         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6585         advice--pending if newdef is nil or an autoload (bug#13820).
6586         (advice-mapc): New function.
6588 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6590         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6591         probably.
6592         (eww-mode-map): Add a menu bar.
6593         (eww-add-bookmark): New command.
6594         (eww-bookmark-mode): New mode and commands.
6595         (eww-add-bookmark): Remove newlines from the title.
6596         (eww-bookmark-browse): Don't bug out if it's the only window.
6598 2013-06-26  Glenn Morris  <rgm@gnu.org>
6600         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6601         (hfy-size): Handle ttys.  (Bug#14668)
6603         * info-xref.el: Update for Texinfo 5 change in *note format.
6604         (info-xref-node-re, info-xref-note-re): New constants.
6605         (info-xref-check-buffer): Use info-xref-note-re.
6607 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6609         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6611         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6612         nil terminate the loop (bug#14718).
6614 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6616         * net/eww.el: Rework history traversal.  When going forward/back,
6617         put these actions into the history, too, so that they can be
6618         replayed.
6619         (eww-render): Move the history reset to the correct buffer.
6621 2013-06-25  Juri Linkov  <juri@jurta.org>
6623         * files-x.el (modify-dir-local-variable): Change the header comment
6624         in the file with directory local variables.  (Bug#14692)
6626         * files-x.el (read-file-local-variable-value): Add `default'.
6627         (Bug#14710)
6629 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6631         * net/eww.el (eww-make-unique-file-name): Create a unique file
6632         name before saving to entering `y' accidentally asynchronously.
6634 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6636         * net/eww.el (eww-download): New command and keystroke.
6638 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6640         * net/eww.el (eww-copy-page-url): Change name of command.
6642         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6643         be more consistent with Info and dired.
6645         * net/eww.el (eww-mode-map): Ditto.
6647 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6649         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6650         packages from archives.
6651         (package-archive-contents): Change format; include obsolete packages.
6652         (package-desc): Use `dir' to mark builtin packages.
6653         (package--from-builtin): Set the `dir' field to `builtin'.
6654         (generated-autoload-file, version-control): Declare.
6655         (package-compute-transaction): Change first arg and return value to be
6656         lists of package-descs.  Adjust to new package-archive-contents format.
6657         (package--add-to-archive-contents): Adjust to new
6658         package-archive-contents format.
6659         (package-download-transaction): Arg is now a list of package-descs.
6660         (package-install): If `pkg' is a package name, pass it as
6661         a requirement, so it is subject to the usual (e.g. disabled) checks.
6662         (describe-package): Accept package-desc as well.
6663         (describe-package-1): Describe a specific package-desc.  Add links to
6664         other package-descs for the same package name.
6665         (package-menu-describe-package): Pass the actual package-desc.
6666         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6667         works correctly.
6668         (package-desc-status): New function.
6669         (package-menu--refresh): New function, extracted
6670         from package-menu--generate.
6671         (package-menu--generate): Use it.
6672         (package-delete): Update package-alist.
6673         (package-menu-execute): Don't call package-initialize.
6675         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6676         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6677         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6678         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6679         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6680         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6682 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6684         * window.el (window--state-get-1): Workaround for bug#14527.
6685         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6687 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6689         * net/eww.el (eww-back-url): Implement the history by stashing all
6690         the data into a list.
6691         (eww-forward-url): Allow going forward in the history, too.
6693 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6695         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6696         for values and use read--expression for expressions (bug#14710).
6697         (read-file-local-variable): Avoid setq.
6698         (read-file-local-variable-mode): Use minor-mode-list.
6700 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6702         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6703         for DOI URLs.
6705 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6707         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6708         Update imenu-support when dialect changes.
6710 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6712         * ido.el (ido-read-internal): Allow forward slash on windows.
6714 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6716         * net/eww.el (eww): Start of strings is \\`, not ^.
6718 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6720         * net/shr.el (shr-browse-url): Fix interactive spec.
6722         * net/eww.el (eww): Add a trailing slash to domain names.
6724 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6726         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6728 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6730         * net/shr.el (shr-browse-url): Use an external browser if given a
6731         prefix.
6733         * net/eww.el (eww-external-browser): Move to shr.
6735 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6737         * net/eww.el (eww): Work more correctly for file: URLs.
6738         (eww-detect-charset): Allow quoted charsets.
6739         (eww-yank-page-url): New command and keystroke.
6741 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6743         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6744         file name of gpg executable.
6745         (epg-context-program): New function.
6746         (epg-context-home-directory): New function.
6747         (epg-context-set-program): New function.
6748         (epg-context-set-home-directory): New function.
6749         (epg--start): Use `epg-context-program' instead of
6750         'epg-gpg-program'.
6751         (epg--list-keys-1): Likewise.
6753 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6755         * ido.el (ido-read-internal): Fix bug#14620.
6757 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6759         * faces.el (face-documentation): Simplify.
6760         (read-face-attribute, tty-find-type, x-resolve-font-name):
6761         Use `string-match-p'.
6762         (list-faces-display): Use `string-match-p'.  Simplify.
6763         (face-spec-recalc): Check face to avoid face alias loops.
6764         (read-color): Use `string-match-p' and non-capturing parenthesis.
6766 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6768         * net/shr.el (shr-rescale-image): Use the new
6769         :max-width/:max-height functionality.
6771 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6773         * net/eww.el (eww-search-prefix): New variable.
6774         (eww): Use it.
6775         (eww-external-browser): New variable.
6776         (eww-mode-map): New keystroke.
6777         (eww-browse-with-external-browser): New command.
6779         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6781 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6783         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6784         Don't skip aligning the next header field when padding is 0;
6785         otherwise, field width is not respected unless the title is as
6786         wide as the field.
6788 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6790         * emacs-lisp/package.el (package-el-version): Remove.
6791         (package-process-define-package): Fix inf-loop.
6792         (package-install): Allow symbols as arguments again.
6794 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6796         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6797         add some more keyword-like methods.
6798         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6800 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6802         * bs.el (bs-buffer-show-mark): Make defvar-local.
6803         (bs-mode): Use setq-local.
6805         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6806         (emacs-lock--try-unlocking): Make defvar-local.
6808 2013-06-22  Glenn Morris  <rgm@gnu.org>
6810         * play/cookie1.el (cookie-apropos): Minor simplification.
6812         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6814 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6816         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6817         `regexp-opt', it breaks the build during dumping.
6819 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6821         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6822         Highlight keyword-like methods on Kernel and Module with
6823         font-lock-builtin-face.
6824         (auto-mode-alist): Consolidate different entries into one regexp
6825         and add more *file-s.
6827 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6829         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6831         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6832         (diary-entry): Use it in the action of this button type instead of
6833         diary-goto-entry.
6835         * calendar/todo-mode.el: New version.
6836         (todo-add-category): Append new category to end of file and give
6837         it the highest number, instead of putting it at the beginning and
6838         giving it 0.  Incorporate noninteractive functionality.
6839         (todo-forward-category): Adapt to 1-based category numbering.
6840         Allow skipping over archived categories.
6841         (todo-backward-category): Derive from todo-forward-category.
6842         (todo-backward-item, todo-forward-item): Make noninteractive and
6843         delegate interactive part to new commands.  Make sensitive to done items.
6844         (todo-categories): Make value an alist of category names and
6845         vectors of item counts.
6846         (todo-category-beg): Make a defconst.
6847         (todo-category-number): Use 1 instead of 0 as initial value.
6848         (todo-category-select): Make sensitive to overlays, optional item
6849         highlighting and done items.
6850         (todo-delete-item): Make sensitive to overlays and marked and done items.
6851         (todo-edit-item): Make sensitive to overlays and editing of
6852         date/time header optional.  Add format checks.
6853         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6854         no-op if point is not on an item.  Advertise using todo-edit-quit.
6855         (todo-edit-mode): Make sensitive to new format, font-locking, and
6856         multiple todo files.
6857         (todo-insert-item, todo-insert-item-here): Derive from
6858         todo-basic-insert-item and extend functionality.
6859         (todo-item-end, todo-item-start): Make sensitive to done items.
6860         (todo-item-string): Don't return text properties.  Restore point.
6861         (todo-jump-to-category): Make sensitive to multiple todo files and
6862         todo archives.  Use extended category completion.
6863         (todo-lower-item, todo-raise-item): Rename to *-priority and
6864         derive from todo-set-item-priority.
6865         (todo-mode): Derive from special-mode.  Make sensitive to new
6866         format, font-locking and multiple todo files.  Make read-only.
6867         (todo-mode-map): Don't suppress digit keys, so they can supply
6868         prefix arguments.  Add many new key bindings.
6869         (todo-prefix): Insert as an overlay instead of file text.
6870         Change semantics from diary date expression to purely visual mark.
6871         (todo-print): Rename to todo-print-buffer.  Make buffer display
6872         features printable.  Remove option to restrict number of items
6873         printed.  Add option to print to file.
6874         (todo-print-function): Rename to todo-print-buffer-function.
6875         (todo-quit): Extend to handle exiting new todo modes.
6876         (todo-remove-item): Make sensitive to overlays.
6877         (todo-save): Extend to buffers of filtered items.
6878         (todo-show): Make sensitive to done items, multiple todo files and
6879         new todo modes.  Offer to convert legacy todo file before creating
6880         first new todo file.
6881         (todo-show-priorities): Rename to todo-top-priorities.
6882         Change semantics of value 0.
6883         (todo-top-priorities): Rename to todo-filter-top-priorities,
6884         derive from todo-filter-items and extend functionality.
6885         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6886         and extend functionality to other types of filtered items.
6887         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6888         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6889         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6890         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6891         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6892         (todo-edit-mode-hook, todo-entry-prefix-function)
6893         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6894         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6895         (todo-initials, todo-insert-threshold, todo-item-string-start)
6896         (todo-line-string, todo-menu, todo-mode-hook)
6897         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6898         (todo-print-priorities, todo-remove-separator)
6899         (todo-save-top-priorities-too, todo-string-count-lines)
6900         (todo-string-multiline-p, todo-time-string-format)
6901         (todo-tmp-buffer-name): Remove.
6902         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6903         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6904         (todo-edit-category-diary-inclusion)
6905         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6906         (todo-edit-file, todo-edit-item-date-day)
6907         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6908         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6909         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6910         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6911         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6912         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6913         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6914         (todo-filter-top-priorities-multifile, todo-find-archive)
6915         (todo-find-filtered-items-file, todo-go-to-source-item)
6916         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6917         (todo-jump-to-archive-category, todo-lower-category)
6918         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6919         (todo-move-category, todo-move-item, todo-next-button)
6920         (todo-next-item, todo-padded-string, todo-powerset)
6921         (todo-previous-button, todo-previous-item)
6922         (todo-print-buffer-to-file, todo-raise-category)
6923         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6924         (todo-set-category-number, todo-set-item-priority)
6925         (todo-set-top-priorities-in-category)
6926         (todo-set-top-priorities-in-file, todo-show-categories-table)
6927         (todo-sort-categories-alphabetically-or-numerically)
6928         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6929         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6930         (todo-toggle-item-header, todo-toggle-item-highlighting)
6931         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6932         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6933         (todo-unarchive-items, todo-unmark-category): New commands.
6934         (todo-absolute-file-name, todo-add-to-buffer-list)
6935         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6936         (todo-basic-insert-item, todo-category-completions)
6937         (todo-category-number, todo-category-string-matcher-1)
6938         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6939         (todo-check-format, todo-clear-matches)
6940         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6941         (todo-current-category, todo-date-string-matcher)
6942         (todo-define-insertion-command, todo-diary-expired-matcher)
6943         (todo-diary-goto-entry, todo-diary-item-p)
6944         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6945         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6946         (todo-done-item-section-p, todo-done-separator)
6947         (todo-done-string-matcher, todo-files, todo-filter-items)
6948         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6949         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6950         (todo-insert-category-line, todo-insert-item-from-calendar)
6951         (todo-insert-sort-button, todo-insert-with-overlays)
6952         (todo-insertion-command-name, todo-insertion-key-bindings)
6953         (todo-label-to-key, todo-longest-category-name-length)
6954         (todo-make-categories-list, todo-mode-external-set)
6955         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6956         (todo-modes-set-3, todo-multiple-filter-files)
6957         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6958         (todo-read-category, todo-read-date, todo-read-dayname)
6959         (todo-read-file-name, todo-read-time)
6960         (todo-reevaluate-category-completions-files-defcustom)
6961         (todo-reevaluate-default-file-defcustom)
6962         (todo-reevaluate-filelist-defcustoms)
6963         (todo-reevaluate-filter-files-defcustom)
6964         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6965         (todo-reset-done-separator, todo-reset-done-separator-string)
6966         (todo-reset-done-string, todo-reset-global-current-todo-file)
6967         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6968         (todo-reset-prefix, todo-set-categories)
6969         (todo-set-date-from-calendar, todo-set-show-current-file)
6970         (todo-set-top-priorities, todo-short-file-name)
6971         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6972         (todo-total-item-counts, todo-update-buffer-list)
6973         (todo-update-categories-display, todo-update-categories-sexp)
6974         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6975         New functions.
6976         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6977         New major modes.
6978         (todo-categories, todo-display, todo-edit, todo-faces)
6979         (todo-filtered): New defgroups.
6980         (todo-archived-only, todo-button, todo-category-string, todo-date)
6981         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6982         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6983         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6984         (todo-add-item-if-new-category, todo-always-add-time-string)
6985         (todo-categories-align, todo-categories-archived-label)
6986         (todo-categories-category-label, todo-categories-diary-label)
6987         (todo-categories-done-label, todo-categories-number-separator)
6988         (todo-categories-todo-label, todo-categories-totals-label)
6989         (todo-category-completions-files, todo-completion-ignore-case)
6990         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6991         (todo-done-separator-string, todo-done-string)
6992         (todo-files-function, todo-filter-done-items, todo-filter-files)
6993         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6994         (todo-initial-category, todo-initial-file, todo-item-mark)
6995         (todo-legacy-date-time-regexp, todo-mode-line-function)
6996         (todo-nondiary-marker, todo-number-prefix)
6997         (todo-print-buffer-function, todo-show-current-file)
6998         (todo-show-done-only, todo-show-first, todo-show-with-done)
6999         (todo-skip-archived-categories, todo-top-priorities-overrides)
7000         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7001         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7002         New defcustoms.
7003         (todo-category-done, todo-date-pattern, todo-date-string-start)
7004         (todo-diary-items-buffer, todo-done-string-start)
7005         (todo-filtered-items-buffer, todo-item-start)
7006         (todo-month-abbrev-array, todo-month-name-array)
7007         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7008         (todo-top-priorities-buffer): New defconsts.
7009         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7010         (todo-categories-with-marks, todo-category-string-face)
7011         (todo-comment-face, todo-comment-string, todo-current-todo-file)
7012         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7013         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7014         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7015         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7016         (todo-font-lock-keywords, todo-global-current-todo-file)
7017         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7018         (todo-insertion-commands-args)
7019         (todo-insertion-commands-args-genlist)
7020         (todo-insertion-commands-names, todo-insertion-map)
7021         (todo-key-bindings-t, todo-key-bindings-t+a)
7022         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7023         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7024         (todo-nondiary-face, todo-print-buffer, todo-time-face)
7025         (todo-visited): New variables.
7027 2013-06-21  Glenn Morris  <rgm@gnu.org>
7029         * play/cookie1.el (cookie-apropos): Add optional display argument.
7030         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7031         (psychoanalyze-pinhead): Use cookie-doctor.
7033 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7035         * emacs-lisp/package.el (tar-get-file-descriptor)
7036         (tar--extract): Declare.
7038 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7040         Extend flymake's warning predicate to be a function (bug#14217).
7041         * progmodes/flymake.el (flymake-warning-predicate): New.
7042         (flymake-parse-line): Use it.
7043         (flymake-warning-re): Make obsolete alias to
7044         `flymake-warning-predicate'.
7046 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7048         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7049         (package-obsolete-list): Remove.
7050         (package-activate): Remove min-version argument.  Add `force' argument.
7051         Adjust to new package-alist format.
7052         (package-mark-obsolete): Remove.
7053         (package-unpack): Force reload of the package's autoloads.
7054         (package-installed-p): Check builtins if the installed package is not
7055         recent enough.
7056         (package-initialize): Don't reset package-obsolete-list.
7057         Don't specify which package version to activate.
7058         (package-process-define-package, describe-package-1)
7059         (package-menu--generate): Adjust to new package-alist format.
7061 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7063         * allout-widgets.el (allout-widgets-mode-off)
7064         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7065         (allout-widgets-post-command-business)
7066         (allout-widgets-after-copy-or-kill-function)
7067         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7068         (allout-decorate-item-and-context)
7069         (allout-graphics-modification-handler): Fix typos in docstrings.
7070         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7072         * cmuscheme.el (scheme-start-file): Doc fix.
7073         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7074         (scheme-input-filter): Use `string-match-p'.
7076         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7078         * dired-x.el: Use Dired consistently in docstrings.
7080         * dired.el: Use Dired consistently in docstrings.
7081         (dired-readin, dired-mode): Use `setq-local'.
7082         (dired-switches-alist): Make defvar-local.
7083         (dired-buffers-for-dir): Use `zerop'.
7084         (dired-safe-switches-p, dired-switches-escape-p)
7085         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7086         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7087         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7088         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7089         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7090         (dired-toggle-marks, dired-mark-files-containing-regexp)
7091         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7092         (dired-flag-auto-save-files, dired-flag-backup-files):
7093         Use `looking-at-p'.
7094         (dired-mark-files-regexp, dired-build-subdir-alist):
7095         Use `string-match-p', `looking-at-p'.
7097         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7098         (direct-print-region-helper): Use `string-match-p'.
7100 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7102         * comint.el (comint-redirect-results-list-from-process):
7103         Fix infinite loop.
7105 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7107         * net/eww.el (eww-update-header-line-format): Quote % characters.
7109 2013-06-21  Glenn Morris  <rgm@gnu.org>
7111         * play/cookie1.el (cookie): New custom group.
7112         (cookie-file): New option.
7113         (cookie-check-file): New function.
7114         (cookie): Make it interactive.  Make start and end messages optional.
7115         Interactively, display the result.  Default to cookie-file.
7116         (cookie-insert): Default to cookie-file.
7117         (cookie-snarf): Make start and end messages optional.
7118         Default to cookie-file.  Use with-temp-buffer.
7119         (cookie-read): Rename from read-cookie.
7120         Make start and end messages optional.  Default to cookie-file.
7121         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7122         Do not autoload it.
7123         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7124         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7126 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7128         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7130 2013-06-21  Glenn Morris  <rgm@gnu.org>
7132         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7134 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7135             Daniel Hackney  <dan@haxney.org>
7137         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7138         Consolidate the single-file vs tarball code.
7139         (package-desc-suffix): New function.
7140         (package-desc-full-name): Don't bother inlining it.
7141         (package-load-descriptor): Return the new package-desc.
7142         (package-mark-obsolete): Remove unused arg `package'.
7143         (package-unpack): Make it work for single files as well.
7144         Make it update package-alist.
7145         (package--make-autoloads-and-stuff): Rename from
7146         package--make-autoloads-and-compile.  Don't compile any more.
7147         (package--compile): New function.
7148         (package-generate-description-file): New function, extracted from
7149         package-unpack-single.
7150         (package-unpack-single): Remove.
7151         (package--with-work-buffer): Add indentation and debugging info.
7152         (package-download-single): Remove.
7153         (package-install-from-archive): Rename from package-download-tar, make
7154         it take a pkg-desc, and make it work for single files as well.
7155         (package-download-transaction): Simplify.
7156         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7157         external tar program.
7158         (package-install-from-buffer): Remove `pkg-desc' argument.
7159         Use package-tar-file-info for tar-mode buffers.
7160         (package-install-file): Simplify accordingly.
7161         (package-archive-base): Change to take a pkg-desc.
7162         * tar-mode.el (tar--check-descriptor): New function, extracted from
7163         tar-get-descriptor.
7164         (tar-get-descriptor): Use it.
7165         (tar-get-file-descriptor): New function.
7166         (tar--extract): New function, extracted from tar-extract.
7167         (tar--extract): Use it.
7168         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7169         case the summary uses non-ascii.  Adjust to new calling convention of
7170         package-tar-file-info.
7172 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7174         * comint.el (comint-redirect-results-list-from-process):
7175         Fix random delay.  (Bug#14681)
7177 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7179         * profiler.el (profiler-format-number): Use log, not log10.
7181 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7183         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7185 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7187         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7188         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7189         yet available.
7190         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7191         (AUTOGENEL): ... here.
7192         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7193         (cl--defsubst-expand): Use it.
7195 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7197         * subr.el (log10): Move here from C code, and declare as obsolete.
7198         All uses of (log10 X) replaced with (log X 10).
7200 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7202         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7203         Declare with `defvar-local'.
7204         (tabulated-list-use-header-line, tabulated-list-entries)
7205         (tabulated-list-padding, tabulated-list-printer)
7206         (tabulated-list-sort-key): Declare with `defvar-local'.
7207         (tabulated-list-init-header, tabulated-list-print-fake-header):
7208         Use `setq-local'.
7210 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7212         * arc-mode.el (archive-mode): Add `archive-write-file' to
7213         `write-contents-functions' also for remote files.  (Bug#14652)
7215 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7217         * cus-edit.el (custom-commands): Fix typos.
7218         (custom-display): Fix tooltip text.
7219         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7220         Fix typos in docstrings.
7221         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7222         (custom-unlispify-menu-entry, custom-magic-value-create)
7223         (custom-add-see-also, custom-group-value-create): Use ?\s.
7224         (custom-guess-type, customize-apropos, editable-field)
7225         (custom-face-value-create): Use `string-match-p'.
7226         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7228         * custom.el (custom-load-symbol): Use `string-match-p'.
7230         * ansi-color.el: Convert to lexical binding.
7231         (ansi-colors): Fix URL.
7232         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7233         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7234         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7236 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7238         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7240         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7242 2013-06-19  Tom Tromey  <tromey@redhat.com>
7244         * net/eww.el (eww-top-url): Remove.
7245         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7246         (eww-render): Set new variables.  Don't set eww-top-url.
7247         (eww-handle-link): Handle "prev", "home", and "contents".
7248         Downcase the rel text.
7249         (eww-top-url): Choose best top URL.
7251 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7253         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7254         relying in widget.el.  Using widget.el leads to too many
7255         user interface inconsistencies.
7256         (eww-self-insert): Implement entering commands in text fields.
7257         (eww-process-text-input): New function to make text input field editing
7258         work.
7259         (eww-submit): Rewrite to use the new-style form methods.
7260         (eww-select-display): Display the correct selected item.
7261         (eww-change-select): Implement changing the select value.
7262         (eww-toggle-checkbox): Implement radio/checkboxes.
7263         (eww-update-field): Fix compilation error.
7264         (eww-tag-textarea): Implement <textarea>.
7266         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7267         we don't shadow mode-specific bindings.
7269         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7270         nothing to push.
7272         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7274 2013-06-19  Glenn Morris  <rgm@gnu.org>
7276         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7278 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7280         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7281         not needed.
7283         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7285 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7287         * net/browse-url.el (browse-url-browser-function):
7288         `eww-browse-url' has the right calling signature, `eww' does not.
7290 2013-06-19  Glenn Morris  <rgm@gnu.org>
7292         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7293         Only eval autoloaded macros.
7294         (byte-compile-autoload): Only give the macro warning for macros.
7296         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7297         (ps-underlined-faces): Declare.
7299         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7300         (speedbar-add-supported-extension): Declare.
7302         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7303         Don't include a date stamp in the header of the generated file;
7304         it leads to needless differences between output files.
7306 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7308         * net/secrets.el (secrets-struct-secret-content-type):
7309         Replace check of introspection data by a test call of "CreateItem".
7310         Some servers do not offer introspection.
7312 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7314         * electric.el (electric-pair-mode): Improve interaction with
7315         electric-layout-mode.
7316         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7317         (electric-pair-syntax): Use text-mode-syntax-table in comments
7318         and strings.
7319         (electric-pair--insert): New function.
7320         (electric-pair-post-self-insert-function): Use it and
7321         electric--after-char-pos.
7323 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7325         * progmodes/octave.el (octave-help): Fix regexp.
7327 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7329         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7330         (shr-table-horizontal-line): Allow nil as a value, and change the
7331         default.
7332         (shr-insert-table-ruler): Respect the nil value.
7334 2013-06-18  Tom Tromey  <tromey@barimba>
7336         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7337         New defvars.
7338         (eww-open-file): New defun.
7339         (eww-render): Initialize new variables.
7340         (eww-display-html): Handle "link" and "a".
7341         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7342         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7343         (eww-back-url): Rename from eww-previous-url.
7344         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7345         New defuns.
7347 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7349         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7350         Distinguish ternary operator tokens from slash symbol and slash
7351         char literal.
7353 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7355         Convert symbol prettification into minor mode and global minor mode.
7357         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7358         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7359         (prettify-symbols--keywords): Rename from
7360         `prog-prettify-symbols-alist' and make a local defvar.
7361         (prettify-symbols--compose-symbol): Rename from
7362         `prog--prettify-font-lock-compose-symbol'.
7363         (prettify-symbols--make-keywords): Rename from
7364         `prog-prettify-font-lock-symbols-keywords' and simplify.
7365         (prog-prettify-install): Remove.
7366         (prettify-symbols-mode): New minor mode, based on
7367         `prog-prettify-install'.
7368         (turn-on-prettify-symbols-mode): New function.
7369         (global-prettify-symbols-mode): New globalized minor mode.
7371         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7372         * progmodes/cfengine.el (cfengine3-mode):
7373         * progmodes/perl-mode.el (perl-mode): Don't call
7374         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7376 2013-06-18  Juri Linkov  <juri@jurta.org>
7378         * files-x.el (modify-file-local-variable-message): New function.
7379         (modify-file-local-variable)
7380         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7381         and call `modify-file-local-variable-message' when it's non-nil.
7382         (add-file-local-variable, delete-file-local-variable)
7383         (add-file-local-variable-prop-line)
7384         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7385         and use it.  (Bug#9820)
7387 2013-06-18  Juri Linkov  <juri@jurta.org>
7389         * emulation/vi.el (vi-shell-op):
7390         * emulation/vip.el (vip-execute-com, ex-command):
7391         * emulation/viper-cmd.el (viper-exec-bang):
7392         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7393         the call of `shell-command-on-region'.  (Bug#14637)
7395         * simple.el (shell-command-on-region): Doc fix.
7397 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7399         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7400         (bug#14633).
7402 2013-06-18  Glenn Morris  <rgm@gnu.org>
7404         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7406         * newcomment.el (comment-search-forward, comment-search-backward):
7407         Doc fix.  (Bug#14376)
7409 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7411         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7412         (buffer-face-mode-invoke): Doc fix.
7414 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7416         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7417         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7419 2013-06-18  Glenn Morris  <rgm@gnu.org>
7421         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7422         Replace obsolete function generic-make-keywords with its expansion.
7424         * progmodes/python.el (ffap-alist): Declare.
7426         * textmodes/reftex.el (bibtex-mode-map): Declare.
7428 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7430         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7431         (package-unpack, package-unpack-single): Return the pkg-dir.
7432         (package-download-transaction): Use it to update package-alist.
7434 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7436         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7437         possible choice.
7439 2013-06-17  Juri Linkov  <juri@jurta.org>
7441         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7443 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7445         * emacs-lisp/package.el (package-load-descriptor):
7446         Remove `with-syntax-table' call, `read' doesn't need it.
7447         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7449 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7451         * startup.el (command-line): Expand package name returned by
7452         `package--description-file' (bug#14639).
7454 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7456         * emacs-lisp/package.el (package-load-descriptor): Do not call
7457         `emacs-lisp-mode', just use its syntax table.
7459 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7461         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7462         `font-lock-extra-managed-props' if any prettifying keyword is added.
7463         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7464         (prog-mode): Use `setq-local'.
7466 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7468         * international/characters.el (standard-case-table): Set syntax of ?»
7469         and ?« to punctuation.
7471 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7473         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7474         Save relevant match data before calling `syntax-ppss' (bug#14595).
7476 2013-06-15  Juri Linkov  <juri@jurta.org>
7478         * files-x.el (modify-file-local-variable-prop-line): Add local
7479         variables to the end of the existing comment on the first line.
7480         Use `file-auto-mode-skip' to skip interpreter magic line,
7481         and also skip XML declaration.
7483 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7485         * startup.el (package--builtin-versions): New var.
7486         (package-subdirectory-regexp): Remove.
7487         (package--description-file): Hard code its value instead.
7489         * emacs-lisp/package.el: Don't activate packages older than builtin.
7490         (package-obsolete-list): Rename from package-obsolete-alist, and make
7491         it into a simple list of package-desc.
7492         (package-strip-version): Remove.
7493         (package-built-in-p): Use package--builtin-versions.
7494         (package-mark-obsolete): Simplify.
7495         (package-process-define-package): Mark it obsolete if older than the
7496         builtin version.
7497         (package-handle-response): Use line-end-position.
7498         (package-read-archive-contents, package--download-one-archive):
7499         Simplify.
7500         (package--add-to-archive-contents): Skip if older than the builtin or
7501         installed version.
7502         (package-menu-describe-package): Fix last change.
7503         (package-list-unversioned): New var.
7504         (package-menu--generate): Use it.
7506         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7507         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7508         (autoload-builtin-package-versions): New variable.
7509         (autoload-generate-file-autoloads): Use them.
7510         Remove the list of autoloaded functions/macros from the
7511         (autoload...) comments.
7513         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7515 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7517         * simple.el (line-move-partial): Don't jump to the next screen
7518         line as soon as it becomes visible.  Instead, continue enlarging
7519         the vscroll until the portion of a tall screen line that's left on
7520         display is about the height of the frame's default font.
7521         (Bug#14567)
7523 2013-06-15  Glenn Morris  <rgm@gnu.org>
7525         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7526         compilation-error-regexp-alist void, or local while let-bound.
7528         * progmodes/make-mode.el (makefile-mode-syntax-table):
7529         Treat "=" as punctuation.  (Bug#14614)
7531 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7533         * help-fns.el (describe-variable):
7534         Add extra line for permanent-local variables.
7536 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7538         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7539         Add export, import, library.  (Bug#9164)
7540         (library): Set indent function.
7542 2013-06-14  Glenn Morris  <rgm@gnu.org>
7544         * term/xterm.el (xterm--query):
7545         Stop after first matching handler.  (Bug#14615)
7547 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7549         Add support for dired in saveplace.
7550         * dired.el (dired-initial-position-hook): New variable.
7551         (dired-initial-position): Call hook to place cursor position.
7552         * saveplace.el (save-place-to-alist): Add dired position.
7553         (save-place-dired-hook): New function.
7555 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7557         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7558         through a symbol rather than letrec.
7560         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7561         (package-desc): Add `dir' field.
7562         (package-desc-full-name): New function.
7563         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7564         (package-maybe-load-descriptor): Remove.
7565         (package-load-all-descriptors): Just call package-load-descriptor.
7566         (package--disabled-p): New function.
7567         (package-desc-vers, package-desc-doc): Remove aliases.
7568         (package--dir): Remove function.
7569         (package-activate): Check if a package is disabled.
7570         (package-process-define-package): New function, extracted from
7571         define-package.
7572         (define-package): Turn into a place holder.
7573         (package-unpack-single, package-tar-file-info):
7574         Use package--description-file.
7575         (package-compute-transaction): Use package--disabled-p.
7576         (package-download-transaction): Don't call
7577         package-maybe-load-descriptor since they're all loaded anyway.
7578         (package-install): Change argument to be a pkg-desc.
7579         (package-delete): Use a single pkg-desc argument.
7580         (describe-package-1): Use package-desc-dir instead of package--dir.
7581         Use package-desc property instead of package-symbol.
7582         (package-install-button-action): Adjust accordingly.
7583         (package--push): Rewrite.
7584         (package-menu--print-info): Adjust accordingly.  Change the ID format
7585         to be a pkg-desc.
7586         (package-menu-describe-package, package-menu-get-status)
7587         (package-menu--find-upgrades, package-menu-mark-upgrades)
7588         (package-menu-execute, package-menu--name-predicate):
7589         Adjust accordingly.
7590         * startup.el (package--description-file): New function.
7591         (command-line): Use it.
7592         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7593         Use package-desc-version.
7595         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7596         (byte-compile-preprocess): Use it.
7597         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7598         can't quite recognize.
7599         (byte-compile-add-to-list): Remove.
7600         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7601         (cconv-closure-convert): Add assertion.
7603         * emacs-lisp/map-ynp.el: Use lexical-binding.
7604         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7605         Factor out some repeated code.
7607 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7609         * subr.el (with-eval-after-load): New macro.
7610         (eval-after-load): Allow form to be a function.
7611         take advantage of lexical-binding.
7612         (do-after-load-evaluation): Use dolist and adjust to new format.
7613         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7615 2013-06-13  Juri Linkov  <juri@jurta.org>
7617         * replace.el (perform-replace): Display "symbol " and other search
7618         modes from `isearch-message-prefix' in the *Help* buffer.
7620         * isearch.el (isearch-query-replace): Add " symbol" and other
7621         possible search modes from `isearch-message-prefix' to the prompt.
7622         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7623         when reading a regexp to collect.
7625 2013-06-13  Juri Linkov  <juri@jurta.org>
7627         * isearch.el (word-search-regexp): Match whitespace if the search
7628         string begins or ends in whitespace.  The LAX arg is applied to
7629         both ends of the search string.  Use `regexp-quote' and explicit
7630         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7631         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7632         boundaries are replaced with symbol boundaries, and characters
7633         between symbols match non-word non-symbol syntax.  (Bug#14602)
7635 2013-06-13  Juri Linkov  <juri@jurta.org>
7637         * isearch.el (isearch-del-char): Don't exceed the length of
7638         `isearch-string' by the prefix arg.  (Bug#14563)
7640 2013-06-13  Juri Linkov  <juri@jurta.org>
7642         * isearch.el (isearch-yank-word, isearch-yank-line)
7643         (isearch-char-by-name, isearch-quote-char)
7644         (isearch-printing-char, isearch-process-search-char):
7645         Add optional count prefix arg.  (Bug#14563)
7647         * international/isearch-x.el
7648         (isearch-process-search-multibyte-characters):
7649         Add optional count prefix arg.
7651 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7653         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7654         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7655         lexical-binding.
7657 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7659         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7661 2013-06-13  Glenn Morris  <rgm@gnu.org>
7663         * startup.el (tty-handle-args):
7664         Don't just discard "--" and anything after.  (Bug#14608)
7666         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7668 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7670         Implement changes in Secret Service API.  Make it backward compatible.
7671         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7672         (secrets-create-item): Use it.  Prefix properties with interface.
7674 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7676         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7677         (term-emulate-terminal): Respect term-suppress-hard-newline.
7679 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7681         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7682         Only remove a `thumb-file' overlay.  (Bug#14548)
7684 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7686         * mail/reporter.el (reporter-submit-bug-report):
7687         Handle missing package-name.  (Bug#14600)
7689 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7691         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7692         (reftex-citation-prompt, reftex-default-bibliography)
7693         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7694         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7695         (reftex-bib-sort-author, reftex-bib-sort-year)
7696         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7697         (reftex-extract-bib-entries-from-thebibliography)
7698         (reftex-get-bibkey-default, reftex-get-bib-names)
7699         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7700         (reftex-format-bib-entry, reftex-parse-bibitem)
7701         (reftex-format-bibitem, reftex-do-citation)
7702         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7703         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7704         (reftex-insert-bib-matches, reftex-format-citation)
7705         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7706         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7707         existing comments into docstrings.
7709 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7711         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7713 2013-06-12  Andreas Schwab  <schwab@suse.de>
7715         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7716         for auto-save files.
7718 2013-06-12  Glenn Morris  <rgm@gnu.org>
7720         * ido.el (ido-delete-ignored-files): Remove.
7721         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7722         Go back to calling ido-ignore-item-p directly.
7724 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7726         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7728         * ido.el (ido-delete-ignored-files): New function,
7729         split from ido-make-file-list-1.
7730         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7731         (ido-make-file-list-1): Use ido-delete-ignored-files.
7733 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7735         * progmodes/octave.el (inferior-octave-startup)
7736         (inferior-octave-completion-table)
7737         (inferior-octave-track-window-width-change)
7738         (octave-eldoc-function-signatures, octave-help)
7739         (octave-find-definition): Use single quoted strings.
7740         (inferior-octave-startup-args): Change default value.
7741         (inferior-octave-startup): Do not hard code "-i" and
7742         "--no-line-editing".
7743         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7744         (inferior-octave-directory-tracker): Use it.
7745         (octave-goto-function-definition): Robustify.
7746         (octave-help): Support highlighting operators in 'See also'.
7747         (octave-find-definition): Find subfunctions only in Octave mode.
7749 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7751         * help-fns.el (help-fns--compiler-macro): If the handler function is
7752         named, then put a link to it.
7753         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7754         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7755         (cl-typep): Use it.
7756         (cl-eval-when): Simplify debug spec.
7757         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7758         compiler-macro function instead of setting `compiler-macro-file'.
7760 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7762         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7763         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7765 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7766             Daniel Hackney  <dan@haxney.org>
7768         First part of Daniel Hackney's patch to package.el.
7769         * emacs-lisp/package.el: Use defstruct.
7770         (package-desc): New, main struct.
7771         (package--bi-desc, package--ac-desc): New structs, used to describe the
7772         format in external files.
7773         (package-desc-vers): Replace with package-desc-version accessor.
7774         (package-desc-doc): Replace with package-desc-summary accessor.
7775         (package-activate-1): Remove `package' arg since the pkg-vec now
7776         includes the name.
7777         (define-package): Use package-desc-from-define.
7778         (package-unpack-single): Change file-name arg to be a symbol.
7779         (package--add-to-archive-contents): Use package-desc-create and new
7780         accessor functions to package--ac-desc.
7781         (package-buffer-info, package-tar-file-info): Return a package-desc.
7782         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7783         arg to be a package-desc.
7784         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7785         (package--from-builtin): New function.
7786         (describe-package-1, package-menu--generate): Use it.
7787         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7788         (package-generate-autoloads): Idem and return the name of the file.
7789         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7790         Change pkg-info arg to be a package-desc.
7791         Use package-make-ac-desc.
7792         (package-upload-file): Use \' to match EOS.
7793         * finder.el (finder-compile-keywords): Use package-make-builtin.
7795 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7797         * vc/vc.el (vc-deduce-fileset): Change error message.
7798         (vc-read-backend): New function.
7799         (vc-next-action): Use it.
7801         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7803         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7804         (prolog-font-lock-keywords): Use regexp-opt instead.
7805         Don't manually highlight strings.
7806         (prolog-mode-variables): Simplify comment-start-skip.
7807         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7809         * emacs-lisp/generic.el (generic--normalise-comments)
7810         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7811         (generic-mode-set-comments): Use them.
7812         (generic-bracket-support): Use setq-local.
7813         (generic-make-keywords-list): Declare obsolete.
7815 2013-06-11  Glenn Morris  <rgm@gnu.org>
7817         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7818         Prettify after setting font-lock-defaults.  (Bug#14574)
7820 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7822         * replace.el (query-replace, occur-read-regexp-defaults-function)
7823         (replace-search):
7824         * subr.el (declare-function, number-sequence, local-set-key)
7825         (substitute-key-definition, locate-user-emacs-file)
7826         (with-silent-modifications, split-string, eval-after-load):
7827         Fix typos, remove unneeded backslashes and reflow some docstrings.
7829 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7831         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7832         default for Elisp files.
7834 2013-06-11  Glenn Morris  <rgm@gnu.org>
7836         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7837         although define-derived-mode was doing this anyway.  (Bug#14583)
7839 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7841         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7842         Fix make-variable-buffer-local call to refer to the correct variable.
7844 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7846         * eshell/em-term.el (eshell-visual-commands)
7847         (eshell-visual-subcommands, eshell-visual-options):
7848         Add summary line to docstrings.  Add cross-references.
7850 2013-06-10  Glenn Morris  <rgm@gnu.org>
7852         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7853         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7855 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7857         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7858         output redirection to be ignored with visual commands.
7860 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7862         * eshell/em-term.el (eshell-visual-command-p): New function.
7863         (eshell-term-initialize): Move long lambda to separate function
7864         eshell-visual-command-p.
7865         * eshell/em-dirs.el (eshell-dirs-initialise):
7866         * eshell/em-script.el (eshell-script-initialize):
7867         Add missing #' to lambda.
7869 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7871         * progmodes/octave.el (octave-add-log-current-defun): New function.
7872         (octave-mode): Set add-log-current-defun-function.
7873         (octave-goto-function-definition): Do not move point if not found.
7874         (octave-find-definition): Enhance to try subfunctions first.
7876 2013-06-08  Glenn Morris  <rgm@gnu.org>
7878         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7879         (byte-compile-backward-char, byte-compile-backward-word):
7880         Improve previous change, to handle non-explicit nil.
7882 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7885         (smie--opener/closer-at-point): New function.
7886         (smie--matching-block-data): Use it.  Don't match from right after an
7887         opener or right before a closer.  Obey smie-blink-matching-inners.
7888         Don't signal a mismatch for repeated inners like "switch..case..case".
7890 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7892         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7893         to t.  (Bug#14303)
7894         (octave-function-header-regexp): Fix.  (Bug#14570)
7895         (octave-help-mode-finish-hook, octave-help-mode-finish):
7896         Remove.  Just use temp-buffer-show-hook.
7898         * newcomment.el (comment-search-backward): Revert last change.
7899         (Bug#14434)
7901         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7903 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7905         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7906         through xargs, to avoid failure due to MS-Windows limitations on
7907         command-line length.
7909 2013-06-06  Glenn Morris  <rgm@gnu.org>
7911         * font-lock.el (lisp-font-lock-keywords-2):
7912         Treat user-error like error.
7914         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7915         (byte-compile-backward-char, byte-compile-backward-word):
7916         Handle explicit nil arguments.  (Bug#14565)
7918 2013-06-05  Alan Mackenzie  <acm@muc.de>
7920         * isearch.el (isearch-allow-prefix): New user option.
7921         (isearch-other-meta-char): Don't exit isearch when a prefix
7922         argument is typed whilst `isearch-allow-prefix' is non-nil.
7923         (Bug#9706)
7925 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7927         * autorevert.el (auto-revert-notify-handler): Use memq.
7928         Hide assertion failure.
7930         * skeleton.el: Use cl-lib.
7931         (skeleton-further-elements): Use defvar-local.
7932         (skeleton-insert): Use cl-progv.
7934 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7936         * progmodes/prog-mode.el (prog-prettify-symbols)
7937         (prog-prettify-install): Update docstrings.
7939 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7941         * simple.el: Move all the prog-mode code to prog-mode.el.
7942         * progmodes/prog-mode.el: New file.
7943         * loadup.el: Add prog-mode.el.
7945 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7947         * simple.el (prog-prettify-symbols): Add version.
7948         (prog-prettify-install): Add convenience function to prettify symbols.
7950         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7951         (perl--augmented-font-lock-keywords-1)
7952         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7953         variables and use it.
7955         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7956         (cfengine3-mode): Remove unneeded variable and use it.
7958         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7959         (lisp--augmented-font-lock-keywords-1)
7960         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7961         Remove unneeded variables and use it.
7963 2013-06-05  João Távora  <joaotavora@gmail.com>
7965         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7966         to point when opening the connection.  (Bug#14380)
7968 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7970         * subr.el (load-history-regexp, load-history-filename-element)
7971         (eval-after-load, after-load-functions, do-after-load-evaluation)
7972         (eval-next-after-load, display-delayed-warnings)
7973         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7974         definition of save-match-data.
7975         (overriding-local-map): Remove accidental obsolescence declaration.
7977         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7979 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7981         Generalize symbol prettify support to prog-mode and implement it
7982         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7983         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7984         (prog--prettify-font-lock-compose-symbol)
7985         (prog-prettify-font-lock-symbols-keywords): New variables and
7986         functions to support symbol prettification.
7987         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7988         (lisp--augmented-font-lock-keywords-1)
7989         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7990         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7991         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7992         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7993         Implement prettify of -> => :: strings.
7994         * progmodes/perl-mode.el (perl-prettify-symbols)
7995         (perl--font-lock-compose-symbol)
7996         (perl--font-lock-symbols-keywords): Move to prog-mode.
7997         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7998         (perl-font-lock-keywords-1)
7999         (perl-font-lock-keywords-2): Remove explicit prettify support.
8000         (perl--augmented-font-lock-keywords)
8001         (perl--augmented-font-lock-keywords-1)
8002         (perl--augmented-font-lock-keywords-2, perl-mode):
8003         Implement prettify support.
8005 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8007         Re-implement smie matching block highlight using
8008         show-paren-data-function.  (Bug#14395)
8009         * emacs-lisp/smie.el (smie-matching-block-highlight)
8010         (smie--highlight-matching-block-overlay)
8011         (smie--highlight-matching-block-lastpos)
8012         (smie-highlight-matching-block)
8013         (smie-highlight-matching-block-mode): Remove.
8014         (smie--matching-block-data-cache): New variable.
8015         (smie--matching-block-data): New function.
8016         (smie-setup): Use smie--matching-block-data for
8017         show-paren-data-function.
8019         * progmodes/octave.el (octave-mode-menu): Fix.
8020         (octave-find-definition): Skip garbage lines.
8022 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8024         Fix compilation error with simultaneous dynamic+lexical scoping.
8025         Add warning when a defvar appears after the first let-binding.
8026         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8027         (byte-compile-close-variables): Initialize it.
8028         (byte-compile--declare-var): New function.
8029         (byte-compile-file-form-defvar)
8030         (byte-compile-file-form-define-abbrev-table)
8031         (byte-compile-file-form-custom-declare-variable): Use it.
8032         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
8033         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8034         (byte-compile-bind): Handle dynamic bindings that shadow
8035         lexical bindings.
8036         (byte-compile-unbind): Make arg non-optional.
8037         (byte-compile-let): Simplify.
8038         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8039         (cconv--analyse-function, cconv-analyse-form): Populate it.
8040         Protect byte-compile-bound-variables to limit the scope of defvars.
8041         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8042         Remove unneeded rule for `declare'.
8044         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8045         so as to avoid depending on cl-adjoin at run-time.
8046         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8048         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8049         (macroexp--warn-and-return): Use it.
8051 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8053         * lisp/subr.el: Convert to lexical binding.
8054         (overriding-local-map): Make obsolete.
8055         (add-to-list): Doc fix.  Add compiler macro.
8056         (read-key): Swap values of local maps.
8058 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8060         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8062 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8064         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8065         (compilation-auto-jump): Suppress the "Mark set" message to give
8066         way to exit message.
8068 2013-06-04  Alan Mackenzie  <acm@muc.de>
8070         Remove faulty optimisation from indentation calculation.
8071         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8072         search limit based on 2000 characters back from indent-point.
8074 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8076         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8078 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8080         * emacs-lisp/lisp.el: Use lexical-binding.
8081         (lisp--local-variables-1, lisp--local-variables): New functions.
8082         (lisp--local-variables-completion-table): New var.
8083         (lisp-completion-at-point): Use it complete let-bound vars.
8085         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8086         eagerly (bug#14422).
8088 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8090         * autorevert.el (auto-revert-notify-enabled)
8091         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8092         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8093         (auto-revert-notify-handler): Handle also gfilenotify.
8095         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8096         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8097         Remove.
8099 2013-06-03  Juri Linkov  <juri@jurta.org>
8101         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8102         `M-s h .'.  (Bug#14427)
8104         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8105         command `hi-lock-face-symbol-at-point'.
8106         (hi-lock-face-symbol-at-point): New command.
8107         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8108         (hi-lock-menu): Add `highlight-symbol-at-point'.
8109         (hi-lock-mode): Doc fix.
8111         * isearch.el (isearch-forward-symbol-at-point): New command.
8112         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8113         (isearch-highlight-regexp): Add a regexp which matches
8114         words/symbols for word/symbol mode.
8116         * subr.el (find-tag-default-bounds): New function with the body
8117         mostly moved from `find-tag-default'.
8118         (find-tag-default): Move most code to `find-tag-default-bounds',
8119         call it and apply `buffer-substring-no-properties' afterwards.
8121 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8123         * eshell/em-term.el (eshell-term-initialize):
8124         Use `cl-intersection' rather than `intersection'.
8126 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8128         * vc/log-view.el: Doc fix.
8129         (log-view-mode-map): Copy keymap from `special-mode-map'.
8131 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8133         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8134         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8135         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8136         (eieio-unbound, eieio-default-superclass)
8137         (eieio--define-field-accessors, method-static, method-before)
8138         (method-primary, method-after, method-num-lists)
8139         (method-generic-before, method-generic-primary)
8140         (method-generic-after, method-num-slots)
8141         (eieio-specialized-key-to-generic-key)
8142         (eieio--check-type, class-v, class-p)
8143         (eieio-class-name, define-obsolete-function-alias)
8144         (eieio-class-parents-fast, eieio-class-children-fast)
8145         (same-class-fast-p, class-constructor, generic-p)
8146         (generic-primary-only-p, generic-primary-only-one-p)
8147         (class-option-assoc, class-option, eieio-object-p)
8148         (class-abstract-p, class-method-invocation-order)
8149         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8150         (eieio-class-un-autoload, eieio-defclass)
8151         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8152         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8153         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8154         (eieio-defgeneric-reset-generic-form)
8155         (eieio-defgeneric-form-primary-only)
8156         (eieio-defgeneric-reset-generic-form-primary-only)
8157         (eieio-defgeneric-form-primary-only-one)
8158         (eieio-defgeneric-reset-generic-form-primary-only-one)
8159         (eieio-unbind-method-implementations)
8160         (eieio--defmethod, eieio--typep)
8161         (eieio-perform-slot-validation, eieio-validate-slot-value)
8162         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8163         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8164         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8165         (eieio-slot-name-index, eieio-class-slot-name-index)
8166         (eieio-set-defaults, eieio-initarg-to-attribute)
8167         (eieio-attribute-to-initarg, eieio-c3-candidate)
8168         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8169         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8170         (eieio-class-precedence-list, eieio-generic-call-methodname)
8171         (eieio-generic-call-arglst, eieio-generic-call-key)
8172         (eieio-generic-call-next-method-list)
8173         (eieio-pre-method-execution-functions, eieio-generic-call)
8174         (eieio-generic-call-primary-only, eieiomt-method-list)
8175         (eieiomt-optimizing-obarray, eieiomt-install)
8176         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8177         (eieio-generic-form, eieio-defmethod, make-obsolete)
8178         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8179         (defclass): Remove `eval-and-compile' from macro.
8180         (call-next-method, shared-initialize): Instead of using
8181         `scoped-class' variable, use new eieio--scoped-class, and
8182         eieio--with-scoped-class.
8183         (initialize-instance): Rename local variable 'scoped-class' to
8184         'this-class' to remove ambiguitity from old global.
8186         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8187         eieio.el.
8188         (eieio--scoped-class-stack): New variable.
8189         (eieio--scoped-class): New fcn.
8190         (eieio--with-scoped-class): New scoping macro.
8191         (eieio-defclass): Use pushnew instead of add-to-list.
8192         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8193         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8194         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8195         `scoped-class' variable, use new eieio--scoped-class, and
8196         eieio--with-scoped-class.
8198         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8200 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8202         * eshell/esh-ext.el (eshell-external-command): Pass args to
8203         `eshell-find-interpreter'.
8204         (eshell-find-interpreter): Add new second parameter ARGS.
8206         * eshell/em-script.el (eshell-script-initialize): Add second arg
8207         to the function added as MATCH to `eshell-interpreter-alist'.
8209         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8210         the function added as MATCH to `eshell-interpreter-alist'.
8212         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8213         (eshell-visual-options): New defcustom.
8214         (eshell-escape-control-x): Adapt docstring.
8215         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8216         `eshell-visual-options' in addition to `eshell-visual-commands'.
8217         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8219 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8221         * progmodes/python.el (python-indent-block-enders): Add break,
8222         continue and raise keywords.
8224 2013-06-01  Glenn Morris  <rgm@gnu.org>
8226         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8228         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8229         * progmodes/cc-cmds.el (delete-forward-p):
8230         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8231         * progmodes/cc-engine.el (buffer-syntactic-context):
8232         * progmodes/cc-fonts.el (face-property-instance):
8233         * progmodes/cc-mode.el (set-keymap-parents):
8234         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8235         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8236         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8237         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8238         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8240         * progmodes/cc-vars.el (other): Emacs has this widget since
8241         at least 21.1, so don't (re)define it.
8243         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8244         Replace the obsolete alias pcomplete-arg-quote-list.
8246 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8248         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8249         punctuation syntax.
8250         (inferior-octave-minimal-columns)
8251         (inferior-octave-last-column-width): New variables.
8252         (inferior-octave-track-window-width-change): New function.
8253         (inferior-octave-mode): Adjust column width so that Octave output,
8254         for example from 'ls', can fit into the window nicely.
8256 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8258         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8259         Highlight expansions inside regexp literals.
8261 2013-05-31  Glenn Morris  <rgm@gnu.org>
8263         * obsolete/sym-comp.el (symbol-complete):
8264         Replace obsolete completion-annotate-function.
8266         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8268 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8270         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8271         New function, checks if point is inside a literal that allows
8272         expression expansion.
8273         (ruby-syntax-propertize-expansion): Use it.
8274         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8275         around the body.
8277 2013-05-30  Juri Linkov  <juri@jurta.org>
8279         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8280         to "\M-si".
8281         (isearch-invisible): New variable.
8282         (isearch-forward): Doc fix.
8283         (isearch-mode): Set `isearch-invisible'
8284         to the value of `search-invisible'.
8285         (isearch-toggle-case-fold): Doc fix.
8286         (isearch-toggle-invisible): New command.
8287         (isearch-query-replace): Let-bind `search-invisible'
8288         to the value of `isearch-invisible'.
8289         (isearch-search): Use `isearch-invisible' instead of
8290         `search-invisible'.  Let-bind `search-invisible'
8291         to the value of `isearch-invisible'.  (Bug#11378)
8293 2013-05-30  Juri Linkov  <juri@jurta.org>
8295         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8296         call when `query-flag' is nil and `search-invisible' is non-nil.
8297         (Bug#11746)
8299 2013-05-30  Glenn Morris  <rgm@gnu.org>
8301         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8303         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8304         (cc-require): Suppress spurious "noruntime" warnings.
8305         (cc-require-when-compile): Use fboundp, for sake of compiler.
8307         * progmodes/cc-mode.el: Move load of cc-vars before that of
8308         cc-langs (which in turn loads cc-vars), to quieten compiler.
8310 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8312         * paren.el: Simplify the code.
8313         (show-paren-mode): Always start the timer.
8314         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8315         (show-paren--overlay, show-paren--overlay-1): Rename from
8316         show-paren-overlay and show-paren-overlay-1, and initialize to an
8317         overlay rather than to nil.
8318         (show-paren-function): Misc cleanup and simplifications.
8320 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8322         * paren.el (show-paren-data-function): New hook.
8323         (show-paren--default): New function, extracted from show-paren-function.
8324         (show-paren-function): Use show-paren-data-function.
8326 2013-05-30  Glenn Morris  <rgm@gnu.org>
8328         * ielm.el (ielm-map, ielm-complete-symbol):
8329         Use completion-at-point rather than obsolete functions.
8330         (inferior-emacs-lisp-mode): Doc fix.
8331         Set completion-at-point-functions, rather than
8332         comint-dynamic-complete-functions.
8334         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8335         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8336         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8338         * image.el (image-animated-p): Tweak definition.
8340         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8341         (rlogin-process-connection-type): Tweak default.  Add set-after.
8342         (rlogin-host): Doc fix.
8343         (rlogin): Tweak prompt.
8344         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8346         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8347         * progmodes/tcl.el (inferior-tcl-mode-map):
8348         Use completion-at-point rather than obsolete alias.
8350         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8352         * minibuffer.el (read-file-name-completion-ignore-case):
8353         Move before completion--in-region, for eager macro expansion.
8355 2013-05-29  Juri Linkov  <juri@jurta.org>
8357         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8358         for total count of matching lines.  Add `global-matches' for total
8359         count of matches.  Rename `matches' to `lines' for count of
8360         matching lines.  Add `matches' for count of matches.
8361         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8362         to `prev-line' for line number of prev match endpt.
8363         Increment `matches' for every match.  Print the number of
8364         matching lines in the header.
8365         (occur-context-lines): Rename `lines' to `curr-line'.
8366         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8368 2013-05-29  Juri Linkov  <juri@jurta.org>
8370         * replace.el (perform-replace): Add `skip-read-only-count',
8371         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8372         Increment them for corresponding conditions and report the number
8373         of skipped occurrences in the final message.  (Bug#11746)
8374         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8375         (replace-string, replace-regexp): Doc fix.
8377 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8381         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8382         prog-mode-map (bug#14504).
8384 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8386         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8387         (octave-help): Small simplification.
8389         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8390         off the highlight first.
8392 2013-05-29  Glenn Morris  <rgm@gnu.org>
8394         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8395         Handle idlwave-last-system-routine-info-cons-cell being nil.
8397         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8398         (idlwave-write-paths): Simplify via with-temp-buffer.
8400         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8401         * emulation/cua-rect.el: Also load cua-base at run time.
8403         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8404         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8405         (cperl-imenu-on-info): Require imenu.
8407 2013-05-28  Alan Mackenzie  <acm@muc.de>
8409         Handle "capitalised keywords" correctly.
8410         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8412 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8414         * eshell/em-unix.el: Add -r option to cp.
8416 2013-05-28  Glenn Morris  <rgm@gnu.org>
8418         * vc/vc-arch.el (vc-exec-after): Declare.
8419         (vc-switches): Autoload.
8420         * vc/vc-bzr.el: No need to require vc when compiling.
8421         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8422         (vc-resynch-buffer, vc-dir-refresh): Declare.
8423         (vc-setup-buffer, vc-switches): Autoload.
8424         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8425         (vc-resynch-buffer): Declare.
8426         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8427         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8428         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8429         (grep-read-regexp, grep-read-files, grep-expand-template)
8430         (vc-dir-refresh): Declare.
8431         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8432         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8433         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8434         * vc/vc-mtn.el (vc-exec-after): Declare.
8435         (vc-switches): Autoload.
8436         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8437         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8438         (vc-file-tree-walk): Declare.
8439         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8440         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8441         (vc-tag-precondition, vc-rename-master): Autoload.
8442         * vc/vc-svn.el (vc-exec-after): Declare.
8443         (vc-switches, vc-setup-buffer): Autoload.
8444         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8445         Autoload.
8446         (vc-resynch-buffer): Declare.
8448         * obsolete/fast-lock.el (byte-compile-warnings):
8449         Don't warn about obsolete features in this obsolete file.
8451         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8452         Move definition before use.
8454         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8455         (dun-unix-verbs): Remove dun-zippy.
8456         (dun-zippy): Remove function.
8458         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8460 2013-05-27  Juri Linkov  <juri@jurta.org>
8462         * replace.el (replace-search): New function with code moved out
8463         from `perform-replace'.
8464         (replace-highlight, replace-dehighlight): Move function definitions
8465         up closer to `replace-search'.  (Bug#11746)
8467 2013-05-27  Juri Linkov  <juri@jurta.org>
8469         * replace.el (perform-replace): Ignore invisible matches.
8470         In addition to checking `query-replace-skip-read-only', also
8471         filter out matches by calling `run-hook-with-args-until-failure'
8472         on `isearch-filter-predicates', and also check `search-invisible'
8473         for t or call `isearch-range-invisible'.
8474         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8476 2013-05-27  Juri Linkov  <juri@jurta.org>
8478         * isearch.el (isearch-filter-predicates): Rename from
8479         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8480         (isearch-message-prefix): Display text from the property
8481         `isearch-message-prefix' of the currently active filters.
8482         (isearch-search): Don't compare `isearch-filter-predicate' with
8483         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8484         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8485         or call `isearch-range-invisible'.
8486         (isearch-filter-visible): Make obsolete.
8487         (isearch-lazy-highlight-search):
8488         Call `run-hook-with-args-until-failure' on
8489         `isearch-filter-predicates' and use `isearch-range-invisible'.
8491         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8492         `isearch-filter-predicates' instead of `funcall'ing
8493         `isearch-filter-predicate'.
8494         (Info-mode): Set `Info-isearch-filter' to
8495         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8497         * dired-aux.el (dired-isearch-filter-predicate-orig):
8498         Remove variable.
8499         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8500         (dired-isearch-filenames-end): Add and remove
8501         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8502         instead of changing the value of `isearch-filter-predicate'.
8503         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8504         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8505         Put property `isearch-message-prefix' to "filename " on
8506         `dired-isearch-filter-filenames'.
8508         * wdired.el (wdired-change-to-wdired-mode):
8509         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8510         locally instead of changing `isearch-filter-predicate'.
8511         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8513 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8515         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8516         return the commit hash (Bug#14459).  Also set the
8517         `vc-git-detached' property.
8518         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8519         (vc-git-mode-line-string): Use the same help-echo format whether
8520         in detached mode or not, because we know the actual revision now.
8521         When in detached mode, shorten the revision to 7 chars.
8523 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8525         * emacs-lisp/easy-mmode.el (define-minor-mode):
8526         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8527         mode hook and provide a docstring.
8529 2013-05-27  Alan Mackenzie  <acm@muc.de>
8531         Remove spurious syntax-table text properties inserted by C-y.
8532         * progmodes/cc-mode.el (c-after-change): Also clear hard
8533         syntax-table property with value nil.
8535 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8537         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8538         when reading the events; the buffer layout shall not be changed.
8540 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8542         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8543         New variable.
8544         (inferior-octave-directory-tracker): Automatically re-sync
8545         default-directory.
8546         (octave-help): Improve handling of 'See also'.
8548 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8550         * doc-view.el: Minor naming convention tweaks.
8551         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8553         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8554         even if there's no `display' property yet (bug#14435).
8556 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8558         * subr.el (unmsys--file-name): Rename from reveal-filename.
8560         * Makefile.in (custom-deps, finder-data, autoloads)
8561         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8562         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8563         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8565 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8567         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8568         error-completion on the first 2 args of condition-case (bug#14446).
8569         Don't burp at EOB.
8571 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8573         * comint.el (comint-previous-matching-input): Do not flood the
8574         *Messages* buffer with trivial messages.
8576 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8578         * progmodes/flymake.el (flymake-nop): Don't return a string.
8579         (flymake-set-at): Fix typo.
8581         * simple.el (read--expression): New function, extracted from
8582         eval-expression.  Set completion-at-point-functions (bug#14465).
8583         (eval-expression, eval-minibuffer): Use it.
8585 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8587         * progmodes/flymake.el (flymake-save-buffer-in-file)
8588         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8589         (flymake-selected-frame, flymake-log, flymake-ins-after)
8590         (flymake-set-at, flymake-get-buildfile-from-cache)
8591         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8592         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8593         Refine the doc string.
8594         (flymake-get-file-name-mode-and-masks): Reformat.
8595         (flymake-get-real-file-name-function): Fix a minor bug.
8597 2013-05-24  Juri Linkov  <juri@jurta.org>
8599         * progmodes/grep.el (grep-mode-font-lock-keywords):
8600         Support =linenumber= format used by git-grep for lines with
8601         function names.  (Bug#13549)
8603 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8605         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8606         0 after a semi-colon; it works better for smie-auto-fill.
8607         (octave--indent-new-comment-line): New function.
8608         (octave-indent-new-comment-line): Use it (indirectly).
8609         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8610         modify comment-line-break-function.
8612         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8613         (smie-setup): Use add-function to set it.
8615 2013-05-24  Sam Steingold  <sds@gnu.org>
8617         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8618         argument (before the `interactive' argument).
8620 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8622         * image-mode.el (image-mode-winprops): Add winprops to
8623         image-mode-winprops-alist before running
8624         image-mode-new-window-functions.
8625         * doc-view.el (doc-view-new-window-function): Don't delay
8626         doc-view-goto-page via timers (bug#14435).
8628 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8630         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8631         (doc-view-desktop-save-buffer): New function.
8632         (doc-view-restore-desktop-buffer): New function.
8633         (desktop-buffer-mode-handlers):
8634         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8635         handler.
8636         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8637         `desktop-save-buffer' function.
8639 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8641         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8642         (tramp-gvfs-file-name-handler): Raise a user error when
8643         `tramp-gvfs-enabled' is nil.
8644         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8645         Do not raise a user error when loading package.  (Bug#14447)
8647         * net/xesam.el: Move to obsolete/.
8649 2013-05-24  Glenn Morris  <rgm@gnu.org>
8651         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8653         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8655         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8656         (Info-find-node, Man-getpage-in-background): Declare.
8658         * mail/unrmail.el (unrmail):
8659         Replace obsolete detect-coding-with-priority.
8661         * net/socks.el (socks-split-string): Use this rather than split-string.
8662         (socks-nslookup-host): Update for above change.
8663         (dynamic-choice, s5-dynamic-choice-match)
8664         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8665         Comment out unused code.
8667         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8668         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8669         (gud-tooltip-echo-area): Make obsolete.
8670         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8672         * progmodes/js.el (js--optimize-arglist): Declare.
8674         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8676         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8677         (ediff-window-C): Declare.
8679         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8680         Tweak requires to silence compiler.
8682         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8683         (he-search-string, he-tried-table, he-expand-list)
8684         (he-init-string, he-string-member, he-substitute-string)
8685         (he-reset-string): Declare.
8687         * obsolete/options.el (list-options): Use custom-variable-p,
8688         rather than obsolete alias.
8690 2013-05-23  Sam Steingold  <sds@gnu.org>
8692         * simple.el (shell-command-on-region): Pass the `replace' argument
8693         down to `call-process-region' to comply with the doc as reported on
8694         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8696 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8698         * emacs-lisp/smie.el (smie-indent-forward-token)
8699         (smie-indent-backward-token): Handle string tokens (bug#14381).
8701 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8703         * ielm.el (ielm-menu): New menu.
8704         (inferior-emacs-lisp-mode): Set comment-start.
8706 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8708         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8709         Fix deactivate action.
8711         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8712         Add cleveref macros.
8714         * lisp/textmodes/reftex-parse.el
8715         (reftex-locate-bibliography-files): Accept options for
8716         bibliography commands.
8717         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8718         Add addbibresource.  Basic Biblatex support.
8720 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8722         * net/tramp-gvfs.el (top):
8723         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8724         when loading package.  (Bug#14447)
8726 2013-05-23  Glenn Morris  <rgm@gnu.org>
8728         * progmodes/js.el: No need to load comint when compiling.
8729         (ring-insert, comint-send-string, comint-send-input)
8730         (comint-last-input-end, ido-chop): Declare.
8732         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8733         * vc/ediff-mult.el: Adjust requires.
8734         (ediff-directories-internal, ediff-directory-revisions-internal)
8735         (ediff-patch-file-internal): Declare.
8736         * vc/ediff-ptch.el: Adjust requires.
8737         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8738         (ediff-find-file): Autoload.
8739         * vc/ediff-util.el: No need to load ediff when compiling.
8740         (ediff-regions-internal): Declare.
8741         * vc/ediff-wind.el: Adjust requires.
8742         (ediff-compute-toolbar-width): Define when compiling.
8743         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8744         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8745         (dired-get-filename, dired-get-marked-files)
8746         (ediff-last-dir-patch, ediff-patch-default-directory)
8747         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8748         (ediff-patch-buffer-internal): Declare.
8750         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8751         (ispell-process, ispell-buffer-local-words, lm-summary)
8752         (lm-section-start, lm-section-end): Declare.
8753         (checkdoc-ispell-init): Simplify.
8755         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8756         (he-string-member, he-reset-string, he-substitute-string): Declare.
8758         * eshell/em-ls.el: Adjust requires.
8759         (eshell-glob-regexp): Declare.
8760         * eshell/em-tramp.el: Adjust requires.
8761         (eshell-parse-command): Autoload.
8762         * eshell/em-xtra.el: Adjust requires.
8763         (eshell-parse-command): Autoload.
8764         * eshell/esh-ext.el: Adjust requires.
8765         (eshell-parse-command, eshell-close-handles): Autoload.
8766         * eshell/esh-io.el: Adjust requires.
8767         (eshell-output-filter): Autoload.
8768         * eshell/esh-util.el: No need to load tramp when compiling.
8769         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8770         Declare.
8771         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8772         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8773         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8774         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8775         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8776         * eshell/esh-opt.el, eshell/esh-proc.el:
8777         * eshell/esh-var.el: Adjust requires.
8778         * eshell/eshell.el: Do not require esh-util twice.
8779         (eshell-add-input-to-history): Declare.
8780         (eshell-command): Check history module is active before using it.
8782         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8784 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8786         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8788 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8790         * autorevert.el (auto-revert-notify-add-watch)
8791         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8792         it indicates changes in file modification time.
8794 2013-05-22  Glenn Morris  <rgm@gnu.org>
8796         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8797         Always delete the autoloaded function from the noruntime and
8798         unresolved functions lists.
8800         * allout.el: No need to load epa, epg, overlay when compiling.
8801         (epg-context-set-passphrase-callback, epg-list-keys)
8802         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8803         (epg-key-user-id-list): Declare.
8805         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8806         (viper-set-parsing-style-toggling-macro)
8807         (viper-set-emacs-state-searchstyle-macros):
8808         Use called-interactively-p on Emacs.
8809         (viper-looking-back): Make it an obsolete alias.  Update callers.
8810         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8811         Use looking-back rather than viper-looking-back.
8812         (viper-tmp-insert-at-eob, viper-enlarge-region)
8813         (viper-read-string-with-history, viper-register-to-point)
8814         (viper-append-to-register, viper-change-state-to-vi)
8815         (viper-backward-char-carefully, viper-forward-char-carefully)
8816         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8817         (viper-change-state-to-emacs): Declare.
8818         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8819         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8820         * emulation/viper-mous.el: Do not load viper-cmd.
8821         (viper-backward-char-carefully, viper-forward-char-carefully)
8822         (viper-forward-word, viper-adjust-window): Declare.
8824         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8826         * progmodes/idlw-help.el (idlwave-help-fontify):
8827         Use called-interactively-p.
8829         * term/w32console.el (w32-get-console-codepage)
8830         (w32-get-console-output-codepage): Declare.
8832         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8833         Remove unnecessary declarations.
8834         (dframe-message): Doc fix.
8836         * info.el (dframe-select-attached-frame, dframe-current-frame):
8837         Declare.
8839         * speedbar.el (speedbar-message): Make it an obsolete alias.
8840         Update all callers.
8841         (speedbar-with-attached-buffer)
8842         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8843         (speedbar-with-writable): Use backquote.
8844         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8845         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8846         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8847         rather than speedbar- aliases.
8848         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8849         (speedbar-make-specialized-keymap, speedbar-insert-button)
8850         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8851         (speedbar-do-function-pointer): Declare.
8852         (rmail-speedbar-button, rmail-speedbar-find-file)
8853         (rmail-speedbar-move-message):
8854         Use dframe-with-attached-buffer rather than speedbar- alias.
8855         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8856         (dframe-message, speedbar-make-specialized-keymap)
8857         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8858         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8859         (speedbar-insert-button, dframe-select-attached-frame)
8860         (dframe-maybee-jump-to-attached-frame)
8861         (speedbar-change-initial-expansion-list)
8862         (speedbar-previously-used-expansion-list-name): Declare.
8863         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8864         Use dframe-message, dframe-with-attached-buffer rather than
8865         speedbar- aliases.
8866         (gud-sentinel): Silence compiler.
8867         * progmodes/vhdl-mode.el (speedbar-refresh)
8868         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8869         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8870         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8871         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8872         (speedbar-file-lists, speedbar-make-tag-line)
8873         (speedbar-line-directory, speedbar-goto-this-file)
8874         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8875         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8876         (speedbar-make-button, speedbar-reset-scanners)
8877         (speedbar-files-item-info, speedbar-line-text)
8878         (speedbar-find-file-in-frame, speedbar-set-timer)
8879         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8880         (speedbar-with-writable): Do not (re)define it.
8881         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8882         rather than speedbar- alias.
8884 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8886         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8887         menu items.
8888         (octave-mode): Tweak fill-nobreak-predicate.
8889         (inferior-octave-startup): Check process to avoid infinite loop.
8890         (inferior-octave): Pop to buffer first to show abornmal process
8891         exit information.
8893 2013-05-21  Glenn Morris  <rgm@gnu.org>
8895         * printing.el (pr-menu-bar): Define when compiling.
8897 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8899         * progmodes/octave.el (octave-auto-fill): Remove.
8900         (octave-indent-new-comment-line): Improve.
8901         (octave-mode): Use auto fill mode through
8902         comment-line-break-function and fill-nobreak-predicate.
8903         (octave-goto-function-definition): Support DEFUN_DLD.
8904         (octave-beginning-of-defun): Small tweak.
8905         (octave-help): Show parent directory.
8907 2013-05-21  Glenn Morris  <rgm@gnu.org>
8909         * files.el (dired-unmark):
8910         * progmodes/gud.el (gdb-input): Update declarations.
8912         * calculator.el (electric, ehelp): No need to load when compiling.
8913         (Electric-command-loop, electric-describe-mode): Declare.
8915         * doc-view.el (doc-view-current-converter-processes): Move before use.
8917         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8918         Move MODE-set-explicitly definition before use.
8920         * international/mule-diag.el (mule-diag):
8921         Don't use obsolete window-system-version.
8923         * mail/feedmail.el (smtpmail): No need to load when compiling.
8924         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8926         * mail/mail-utils.el (rfc822): No need to load when compiling.
8927         (rfc822-addresses): Autoload it.
8928         (mail-strip-quoted-names): Trivial simplification.
8930         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8931         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8933         * net/snmp-mode.el (tempo): Don't duplicate requires.
8935         * progmodes/prolog.el (info): No need to load when compiling.
8936         (comint): Require before shell requires it.
8937         (Info-goto-node): Autoload it.
8938         (Info-follow-nearest-node): Declare.
8939         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8941         * textmodes/artist.el (picture-mode-exit): Declare.
8943         * textmodes/reftex-parse.el (reftex-parse-from-file):
8944         Trivial rewrite so the compiler can parse it better.
8946 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8948         * progmodes/octave.el (octave-help-mode-map)
8949         (octave-help-mode-finish-hook): New variables.
8950         (octave-help-mode, octave-help-mode-finish): New functions.
8951         (octave-help): Use octave-help-mode.
8953 2013-05-20  Glenn Morris  <rgm@gnu.org>
8955         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8957 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8959         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8960         start at point, so that expansion starting right after opening
8961         slash in a regexp is recognized.
8962         (ruby-syntax-before-regexp-re): New defvar, extracted from
8963         ruby-syntax-propertize-function.  Since the value of this regexp
8964         is looked up at runtime now, we should be able to turn
8965         `ruby-syntax-methods-before-regexp' into a defcustom later.
8966         (ruby-syntax-propertize-function): Split regexp matching into two
8967         parts, for opening and closing slashes.  That allows us to skip
8968         over string interpolations and support multiline regexps.
8969         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8970         for them, which calls `ruby-syntax-propertize-expansion'.
8971         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8972         call to `ruby-syntax-propertize-function'.
8973         (ruby-syntax-propertize-expansion): Extracted from
8974         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8975         (ruby-syntax-propertize-percent-literal): Leave point right after
8976         the percent symbol, so that the expression expansion rule can
8977         propertize the contents.
8978         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8979         heredoc openers.
8980         (ruby-syntax-propertize-expansions): Remove.
8982 2013-05-18  Juri Linkov  <juri@jurta.org>
8984         * man.el (Man-default-man-entry): Remove `-' from the end
8985         of the default value.  (Bug#14400)
8987 2013-05-18  Glenn Morris  <rgm@gnu.org>
8989         * comint.el (comint-password-prompt-regexp):
8990         Allow "password for XXX" where XXX contains colons (eg https://...).
8992 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8994         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8995         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8996         (octave-source-directories): Don't check process.
8997         (octave-source-directories, octave-find-definition): Doc fix.
8999 2013-05-18  Glenn Morris  <rgm@gnu.org>
9001         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9002         Remove backspace/delete bindings.  (Bug#14392)
9004         * cus-dep.el (custom-make-dependencies): Sort the output.
9005         (custom-versions-load-alist): Convert comment to doc.
9007 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9009         * newcomment.el (comment-search-backward): Stricter in finding
9010         comment start.  (Bug#14303)
9012         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9013         (octave-comment-start-skip): Properly anchored.
9015 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9017         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9018         Clean up when turned off.  (Bug#14395)
9019         (smie--highlight-matching-block-overlay): No longer buffer-local.
9020         (smie-highlight-matching-block): Adjust.
9022 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
9024         Doc string fix for "nanoseconds" (Bug#14406).
9025         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9026         Fix doc string typo that had "nanoseconds" instead of "microseconds".
9028 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9030         * calc/calc-units.el (math-extract-units): Preserve powers
9031         of units.
9033 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9035         * subr.el (delete-consecutive-dups): New function.
9036         * ido.el (ido-set-matches-1): Use it.
9037         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9038         * ido.el (ido-remove-consecutive-dups): Remove.
9040 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9042         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9043         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9044         regexp-opt's `words'.
9046 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9048         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9049         (smie--highlight-matching-block-overlay)
9050         (smie--highlight-matching-block-lastpos)
9051         (smie--highlight-matching-block-timer): New variables.
9052         (smie-highlight-matching-block): New function.
9053         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9054         (smie-setup): Conditionally enable smie-blink-matching-open.
9056 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9058         Sync with upstream verilog-mode r840.
9059         * progmodes/verilog-mode.el (verilog-mode-version)
9060         (verilog-mode-release-date): Update.
9061         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9062         (verilog-sig-tieoff): Fix string error on
9063         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9064         (verilog-read-decls): Fix parameters confusing
9065         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9067 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9069         * subr.el (reveal-filename): New function.
9071         * loadup.el: Compute Emacs executable versions on MS-Windows,
9072         where executables have the .exe extension.  Add a hard link
9073         emacs-XX.YY.ZZ.exe on MS-Windows.
9075         * Makefile.in (XARGS_LIMIT): New variable.
9076         (custom-deps, finder-data, autoloads)
9077         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9078         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9079         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9080         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9082 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9084         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9085         (octave-mode-menu, octave-mode-map): Remove its uses.
9087 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9089         Sync with upstream vhdl mode v3.34.2.
9090         * progmodes/vhdl-mode.el: Use `push' throughout.
9091         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9092         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9093         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9094         (vhdl-actual-generic-name): New option to derive actual generic name.
9095         (vhdl-port-paste-signals): Replace formal by actual generics.
9096         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9097         (vhdl-beautify-options): New option.
9098         (vhdl-last-input-event): New compat alias.  Use throughout.
9099         (vhdl-goto-line): Replace user level function `goto-line'.
9100         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9101         vhdl-fix-statement-buffer.
9102         (vhdl-create-mode-menu): Add some entries.
9103         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9104         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9105         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9106         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9107         to force statements on one line.
9108         (vhdl-remove-trailing-spaces-region):
9109         New, split from vhdl-remove-trailing-spaces.
9110         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9111         Respect vhdl-beautify-options.
9112         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9113         (vhdl-update-sensitivity-list): Not add with index if exists without.
9114         Not include array index with signal.  Ignore keywords in comments.
9115         (vhdl-get-visible-signals): Regexp tweaks.
9116         (vhdl-template-component-inst): Handle empty library.
9117         (vhdl-template-type): Add template for 'enum' type.
9118         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9119         Use vhdl-replace-string.
9120         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9121         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9122         (vhdl-speedbar-initialize): Update for above name change.
9123         (vhdl-compose-wire-components): Fix in handling of constants.
9124         (vhdl-error-regexp-emacs-alist): New variable.
9125         (vhdl-error-regexp-add-emacs): New function;
9126         adds support for new compile.el (Emacs 22+)
9127         (vhdl-generate-makefile-1): Change target order for single lib. units.
9128         Allow use of absolute file names.
9130 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9132         * simple.el (prog-indent-sexp): Indent enclosing defun.
9134 2013-05-15  Glenn Morris  <rgm@gnu.org>
9136         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9137         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9138         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9139         (whitespace-highlight): Move to whitespace group.
9141         * comint.el (comint-source):
9142         * pcmpl-linux.el (pcmpl-linux):
9143         * shell.el (shell-faces):
9144         * eshell/esh-opt.el (eshell-opt):
9145         * international/ccl.el (ccl): Remove empty custom groups.
9147         * completion.el (dynamic-completion-mode):
9148         * jit-lock.el (jit-lock-debug-mode):
9149         * minibuffer.el (completion-in-region-mode):
9150         * type-break.el (type-break-mode-line-message-mode)
9151         (type-break-query-mode):
9152         * emulation/tpu-edt.el (tpu-edt-mode):
9153         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9154         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9155         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9157         * term/xterm.el (xterm): Change parent group to terminals.
9159         * master.el (master): Remove empty custom group.
9160         (master-mode): Remove unused :group argument.
9161         * textmodes/refill.el (refill): Remove empty custom group.
9162         (refill-mode): Remove unused :group argument.
9164         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9166         * cus-dep.el: Provide a feature.
9167         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9168         Don't mistakenly ignore files whose basenames match a basename
9169         from preloaded-file-list (eg cedet/ede/simple.el).
9170         Add a fallback method for getting :group.
9172 2013-05-15  Juri Linkov  <juri@jurta.org>
9174         * isearch.el (isearch-char-by-name): Rename from
9175         `isearch-insert-char-by-name'.  Doc fix.
9176         (isearch-forward): Mention `isearch-char-by-name' in
9177         the docstring.  (Bug#13348)
9179         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9180         `exit-minibuffer' instead of
9181         `isearch-nonincremental-exit-minibuffer'.
9182         (isearch-edit-string): Remove mention of
9183         `isearch-nonincremental-exit-minibuffer' from docstring.
9184         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9185         (isearch-forward-exit-minibuffer)
9186         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9188 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9190         * loadup.el: Just use unversioned DOC.
9192         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9193         literals as extending to EOB.
9194         (nxml-last-fontify-end): Remove unused variable.
9195         (nxml-after-change1): Use with-silent-modifications.
9196         (nxml-extend-after-change-region): Simplify.
9197         (nxml-extend-after-change-region1): Remove function.
9198         (nxml-after-change1): Don't adjust for dependent regions.
9199         (nxml-fontify-matcher): Simplify.
9200         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9201         (xmltok-add-dependent): Remove function.
9202         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9203         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9204         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9205         unclosed <[[, <?, comment, and other literals as extending to EOB.
9206         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9207         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9208         Remove functions.
9209         (rng-do-some-validation-1): Don't mark dependent regions.
9210         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9211         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9212         (nxml-clear-dependent-regions): Remove functions.
9213         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9214         (nxml-ensure-scan-up-to-date):
9215         Don't clear&mark dependent regions.
9217 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9219         * progmodes/octave.el (octave-goto-function-definition):
9220         Improve and fix callers.
9222 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9224         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9225         the setter (bug#14387).
9227         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9228         surrounding group (bug#14402).
9230 2013-05-14  Juri Linkov  <juri@jurta.org>
9232         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9233         (Bug#14390)
9235 2013-05-14  Glenn Morris  <rgm@gnu.org>
9237         * progmodes/f90.el (f90-imenu-generic-expression):
9238         Fix typo in 2013-05-08 change.  (Bug#14402)
9240 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9242         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9243         Remove signals for which replies are never received.
9245 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9247         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9248         (gdb-handler-alist, gdb-handler-number): Remove variables.
9249         (gdb-handler-list): New variable.
9250         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9251         (gdb-pending-handler-p, gdb-handle-reply)
9252         (gdb-remove-all-pending-triggers): New functions.
9253         (gdb-discard-unordered-replies): New defcustom.
9254         (gdb-handler): New defstruct.
9255         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9256         instead of gdb-pending-triggers.  Update docstring.
9257         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9258         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9259         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9260         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9261         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9262         (gdb-frame-handler): Pending triggers are now automatically managed.
9263         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9264         Remove argument.
9265         (gdb-input): Automatically handles pending triggers.  Update docstring.
9266         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9267         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9268         Update comments.
9269         (gdb-done-or-error): Now use gdb-handle-reply.
9271 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9273         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9274         gdb-debug-log.
9276 2013-05-14  Glenn Morris  <rgm@gnu.org>
9278         * subr.el (user-emacs-directory-warning): New option.
9279         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9281 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9283         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9284         during redisplay.
9285         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9286         (octave-font-lock-texinfo-comment): Fix invalid search bound
9287         error: wrong side of point.
9289 2013-05-14  Glenn Morris  <rgm@gnu.org>
9291         * progmodes/flymake.el (flymake-xml-program): New option.
9292         (flymake-xml-init): Use it.
9294         * term/xterm.el: Provide a feature.
9296         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9298 2013-05-13  Glenn Morris  <rgm@gnu.org>
9300         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9301         Add compat aliases as a hack workaround.  (Bug#14384)
9303 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9305         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9306         ###, and %!.
9307         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9308         C-M-q.
9309         (octave-comment-start-skip): Include %!.
9310         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9312 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9314         * progmodes/octave.el (inferior-octave-startup): Store the value
9315         of __octave_srcdir__ for octave-source-directories.
9316         (inferior-octave-check-process): New function refactored out of
9317         inferior-octave-send-list-and-digest.
9318         (octave-source-directories)
9319         (octave-find-definition-filename-function): New variables.
9320         (octave-source-directories)
9321         (octave-find-definition-default-filename): New functions.
9322         (octave-find-definition): Improve to find functions implemented in C++.
9324 2013-05-12  Glenn Morris  <rgm@gnu.org>
9326         * calendar/diary-lib.el (diary-outlook-format-1):
9327         Don't include dayname in the output.  (Bug#14349)
9329 2013-05-11  Glenn Morris  <rgm@gnu.org>
9331         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9333         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9334         Treat cc-provide like provide.
9336 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9338         * cus-dep.el (custom-make-dependencies):
9339         Use generated-autoload-load-name for the sake of files such
9340         such cedet/semantic/bovine/c.el, where the base file name
9341         is not in load-path.  (Bug#5277)
9343 2013-05-11  Glenn Morris  <rgm@gnu.org>
9345         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9346         Provide features.
9348 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9350         * progmodes/octave.el (octave-indent-comment): Improve.
9351         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9352         (octave-eldoc-function-signatures, octave-eldoc-function):
9353         New functions.
9354         (octave-mode, inferior-octave-mode): Add eldoc support.
9356 2013-05-11  Richard Stallman  <rms@gnu.org>
9358         * epa.el (epa-decrypt-file): Take output file name as argument
9359         and read it using `interactive'.
9361 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9363         * progmodes/octave.el (octave-beginning-of-line)
9364         (octave-end-of-line): Check before using up-list because it jumps
9365         out of more syntactic contructs since moving to smie.
9366         (octave-indent-comment): New function.
9367         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9368         (octave-begin-keywords, octave-end-keywords)
9369         (octave-reserved-words, octave-smie-bnf-table)
9370         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9372 2013-05-11  Glenn Morris  <rgm@gnu.org>
9374         * faces.el (internal-face-x-get-resource):
9375         * frame.el (ns-display-monitor-attributes-list):
9376         * calc/calc-aent.el (math-to-radians-2):
9377         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9378         Fix declarations.
9380         * calc/calc-menu.el: Make it loadable in isolation.
9382         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9383         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9384         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9385         (eudc-bbdb-query-internal): Require 'bbdb.
9387         * lpr.el (lpr-headers-switches):
9388         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9390         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9392         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9394         * term.el (term-set-escape-char): Make it idempotent.
9396 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9398         * progmodes/octave.el (inferior-octave-completion-table):
9399         No longer a function and all uses changed.  Use cache to speed up
9400         completion due to bug#11906.
9401         (octave-beginning-of-defun): Re-write to be more general.
9403 2013-05-10  Glenn Morris  <rgm@gnu.org>
9405         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9407 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9409         * comint.el (comint-redirect-send-command-to-process): Use :around
9410         rather than :override for comint-redirect-filter.
9411         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9412         Call it instead of comint-redirect-original-filter-function (which
9413         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9415 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9417         * frame.el (display-monitor-attributes-list): Add NS case.
9418         (ns-display-monitor-attributes-list): Declare.
9420 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9422         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9424 2013-05-09  Glenn Morris  <rgm@gnu.org>
9426         * international/fontset.el (vertical-centering-font-regexp):
9427         Set standard-value.
9429         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9431         * bookmark.el (bookmark-search-delay):
9432         * cus-start.el (vertical-centering-font-regexp):
9433         * ps-mule.el (ps-mule-font-info-database-default):
9434         * ps-print.el (ps-default-fg, ps-default-bg):
9435         * type-break.el (type-break-good-break-interval):
9436         * whitespace.el (whitespace-indentation-regexp)
9437         (whitespace-space-after-tab-regexp):
9438         * emacs-lisp/testcover.el (testcover-1value-functions)
9439         (testcover-noreturn-functions, testcover-progn-functions)
9440         (testcover-prog1-functions):
9441         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9442         * eshell/em-glob.el (eshell-glob-translate-alist):
9443         * play/tetris.el (tetris-tty-colors):
9444         * progmodes/cpp.el (cpp-face-default-list):
9445         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9446         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9447         (idlwave-help-browser-generic-args):
9448         * progmodes/make-mode.el (makefile-special-targets-list):
9449         * progmodes/python.el (python-shell-virtualenv-path):
9450         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9451         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9452         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9453         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9454         * textmodes/reftex-vars.el (reftex-format-label-function):
9455         * textmodes/remember.el (remember-diary-file): Fix custom types.
9457         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9458         Add :version.
9460 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9462         * progmodes/octave.el (inferior-octave-completion-at-point):
9463         Restore file completion.  (Bug#14300)
9464         (inferior-octave-startup): Fix incorrect highlighting for the
9465         first prompt.
9467 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9469         * progmodes/ruby-mode.el: First cut at SMIE support.
9470         (ruby-use-smie): New var.
9471         (ruby-smie-grammar): New constant.
9472         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9473         (ruby-smie--forward-token, ruby-smie--backward-token)
9474         (ruby-smie-rules): New functions.
9475         (ruby-mode-variables): Setup SMIE if applicable.
9477 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9479         * simple.el (line-move-visual): Signal beginning/end of buffer
9480         only if vertical-motion moved less than it was requested.  Avoids
9481         silly incorrect error messages when there are display strings with
9482         multiple newlines at EOL.
9484 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9486         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9487         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9488         (prolog-char-quote-workaround):
9489         * progmodes/cperl-mode.el (cperl-under-as-char):
9490         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9491         Mark as obsolete.
9492         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9493         their declaration.
9494         (vhdl-mode-syntax-table-init): Remove.
9496         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9497         last change.
9499         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9500         syntax for "_".
9501         (ld-script-font-lock-keywords):
9502         Change regexps to use things like \_< and \_>.
9504         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9505         Change all regexps to use things like \_< and \_>.
9507         * progmodes/autoconf.el (autoconf-definition-regexp)
9508         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9509         Handle a _ with symbol syntax.
9510         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9512         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9513         Consolidate declaration.
9514         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9515         the declaration.
9516         (ada-create-syntax-table): Remove.
9517         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9518         already has the right syntax nowadays.
9519         (ada-goto-next-word): Don't change the syntax of "_".
9521         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9522         with-wrapper-hook.
9524 2013-05-08  Sam Steingold  <sds@gnu.org>
9526         * thingatpt.el (thing-at-point): Accept optional second argument
9527         NO-PROPERTIES to strip the text properties from the return value.
9528         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9529         to `thing-at-point' instead of stripping the properties ourselves.
9530         Also, when `thing-at-point' fails to find a url, prepend "http://"
9531         to the filename at point on the assumption that the user is
9532         pointing at something like gnu.org/gnu.
9534 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9536         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9537         * faces.el (crm-separator):
9538         Silence byte-compiler.
9540         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9541         (tool-bar-map): Remove unneeded defvars.
9543 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9545         Re-work a fix for bug#10994 based on Le Wang's patch.
9546         * ido.el (ido-remove-consecutive-dups): New helper.
9547         (ido-completing-read): Use it.
9548         (ido-chop): Revert fix for bug#10994.
9550 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9552         * cus-edit.el (custom-save-variables):
9553         Pretty-print long values.  (Bug#14187)
9555 2013-05-08  Glenn Morris  <rgm@gnu.org>
9557         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9558         (m4-mode-syntax-table): Init in the defvar.
9559         (m4-mode-abbrev-table): Let define-derived-mode define it.
9561 2013-05-08  Tom Tromey  <tromey@redhat.com>
9563         * progmodes/m4-mode.el (m4-mode-syntax-table):
9564         Do not treat "_" as word constituent.  (Bug#14167)
9566 2013-05-07  Glenn Morris  <rgm@gnu.org>
9568         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9569         Remove explicit eshell-isearch-cancel-map.
9571         * progmodes/f90.el (f90-smart-end-names): New option.
9572         (f90-smart-end): Doc fix.
9573         (f90-end-block-optional-name): New constant.
9574         (f90-block-match): Respect f90-smart-end-names.
9576 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9578         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9579         about implicit semi-colons (bug#14218).
9581 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9583         * frame.el (display-monitor-attributes-list)
9584         (frame-monitor-attributes): New functions.
9586 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9588         * progmodes/octave.el (octave-syntax-propertize-function): Change
9589         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9590         (octave-font-lock-keywords): Use octave-operator-regexp.
9591         (octave-completion-at-point): Rename from
9592         octave-completion-at-point-function.
9593         (inferior-octave-directory-tracker): Robustify.
9594         (octave-text-functions): Remove and fix its uses.  No such things
9595         any more.
9597 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * emacs-lisp/trace.el (trace--display-buffer): New function.
9600         (trace-make-advice): Use it.
9602 2013-05-06  Juri Linkov  <juri@jurta.org>
9604         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9605         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9606         Doc fix.
9607         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9608         in the help string.  (Bug#12985)
9610 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9612         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9614 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9616         * progmodes/perl-mode.el: Add support for here documents.
9617         (perl-syntax-propertize-function): Match here-doc markers.
9618         (perl-syntax-propertize-special-constructs): Find their end.
9619         (perl-imenu-generic-expression): Use [:alnum:].
9621         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9622         (advice--add-function): Refresh the advice if already present
9623         (bug#14317).
9625 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9627         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9629 2013-05-06  Glenn Morris  <rgm@gnu.org>
9631         * w32-fns.el (w32-charset-info-alist): Declare.
9633         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9634         of its defcustom properties.
9635         (eshell-cmpl-initialize): No need to load pcomplete.
9637         * generic-x.el: No need to require comint when compiling.
9639         * net/eudc-export.el: Make it loadable without bbdb.
9640         (top-level): Use require rather than load-library.
9641         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9642         (eudc-batch-export-records-to-bbdb)
9643         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9644         Require bbdb.
9646 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9648         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9649         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9650         some tweaks, instead.
9652 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9654         * progmodes/octave.el (octave-font-lock-keywords)
9655         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9656         (inferior-octave-send-list-and-digest): Improve error message.
9657         (octave-mode, inferior-octave-mode): Use setq-local.
9658         (octave-help): Set info-lookup-mode.
9660 2013-05-05  Richard Stallman  <rms@gnu.org>
9662         * vc/compare-w.el (compare-windows-whitespace):
9663         Treat no-break space as whitespace.
9665         * mail/rmailsum.el (rmail-summary-rmail-update):
9666         Detect empty summary and don't change selected message.
9667         (rmail-summary-goto-msg): Likewise.
9669         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9670         Doc fixes, rename args.
9672 2013-05-05  Alan Mackenzie  <acm@muc.de>
9674         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9676 2013-05-05  Juri Linkov  <juri@jurta.org>
9678         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9679         to not add the length of the summary segment to the return value.
9680         (Bug#14125)
9682 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9684         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9685         (inferior-octave-output-filter): Remove.
9686         (octave-send-region, inferior-octave-startup): Fix callers.
9687         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9688         (octave-binary-file-extensions): New user variable.
9689         (octave-find-definition): Confirm if opening binary files.
9690         (octave-help-file): Use octave-find-definition to get the binary
9691         confirmation.
9692         (octave-help): Adjust for octave-help-file change.
9694 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9696         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9697         Merge the two entries that handle function definitions.
9698         (pascal--syntax-propertize): New const.
9699         (pascal-mode): Use it.  Use setq-local.
9701 2013-05-04  Glenn Morris  <rgm@gnu.org>
9703         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9704         (diary-from-outlook): Respect diary-from-outlook-function.
9706 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9708         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9709         Move the declaration from C.
9710         (read-minibuffer, eval-minibuffer): Move from C.
9711         (completion-setup-function): Avoid minibuffer-completion-contents.
9713 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9715         * progmodes/octave.el (octave-font-lock-keywords): Do not
9716         dehighlight 'end' in comments or strings.
9717         (octave-completing-read, octave-goto-function-definition):
9718         New helpers.
9719         (octave-help-buffer): New user variable.
9720         (octave-help-file, octave-help-function): New button types.
9721         (octave-help): New command and bind it to C-h ;.
9722         (octave-find-definition): New command and bind it to M-.
9723         (user-error): Alias to error if not defined.
9725 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9727         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9728         for \.  (bug#14332)
9729         (octave-font-lock-keywords): Include [ and {.
9731 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9733         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9734         (inferior-octave): Remove calling comint-mode and return the buffer.
9735         (inferior-octave-startup): Cosmetic changes.
9737 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9739         * progmodes/octave.el (octave-syntax-propertize-function):
9740         Include the case when ' is at line beginning.  (Bug#14336)
9742 2013-05-02  Glenn Morris  <rgm@gnu.org>
9744         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9745         * desktop.el (vc-dir-mode): Just autoload it here.
9747 2013-05-02  Alan Mackenzie  <acm@muc.de>
9749         Eliminate variable c-standard-font-lock-fontify-region-function.
9750         * progmodes/cc-mode.el
9751         (c-standard-font-lock-fontify-region-function): Remove.
9752         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9754 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9756         * progmodes/octave.el: Compatible with older emacs-24 releases.
9757         (inferior-octave-has-built-in-variables): Remove.  Built-in
9758         variables were removed from Octave in 2007.
9759         (inferior-octave-startup): Fix uses.
9760         (comint-line-beginning-position): Remove compatibility code for
9761         emacs 21.
9763 2013-05-01  Juri Linkov  <juri@jurta.org>
9765         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9767 2013-05-01  Juri Linkov  <juri@jurta.org>
9769         * comint.el (comint-previous-matching-input): Don't print message
9770         "History item: %d" when `isearch-mode' is active.
9771         (comint-history-isearch-message): Print message "History item: %d"
9772         when `comint-input-ring-index' is not empty and this function is
9773         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9775 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9777         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9778         definitions.  Use completion-at-point to insert keywords.
9779         (octave-abbrev-start): Remove.
9780         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9782 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9784         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9785         change.
9787 2013-04-30  Alan Mackenzie  <acm@muc.de>
9789         Handle arbitrarily long C++ member initialisation lists.
9790         * progmodes/cc-engine.el (c-back-over-member-initializers):
9791         new function.
9792         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9793         (most) member init lists.
9795 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9797         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9798         variable.
9800 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9802         * progmodes/octave.el (octave-variables): Remove.  No builtin
9803         variables any more.  All converted to functions.
9804         (octave-font-lock-keywords, octave-completion-at-point-function):
9805         Fix uses.
9806         (octave-font-lock-texinfo-comment): New user variable.
9807         (octave-texinfo-font-lock-keywords): New variable for texinfo
9808         comment block.
9809         (octave-function-comment-block): New face.
9810         (octave-font-lock-texinfo-comment): New function.
9811         (octave-mode): Font lock texinfo comment block.
9813 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9815         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9816         indexing expression.
9817         (octave-continuation-string): Do not use \.
9818         (inferior-octave-complete-impossible): Remove.
9819         (inferior-octave-completion-table)
9820         (inferior-octave-completion-at-point): Remove its uses.
9821         (inferior-octave-startup): completion_matches was introduced to
9822         Octave in 1996 so safe to assume it.
9823         (octave-function-file-comment): Improve to follow how Octave does it.
9824         (octave-update-function-file-comment): Tweak.
9826 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9828         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9829         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9830         (octave-function-file-comment): Fix typo.
9831         (octave-sync-function-file-names): Use read-char-choice.
9833 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9835         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9836         to t for the less important warnings.
9838 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9840         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9842 2013-04-27  Glenn Morris  <rgm@gnu.org>
9844         * vc/log-view.el (log-view-current-entry):
9845         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9847 2013-04-27  Juri Linkov  <juri@jurta.org>
9849         * subr.el (read-number): Doc fix about using it by interactive
9850         code letter `n'.  (Bug#14254)
9852 2013-04-27  Juri Linkov  <juri@jurta.org>
9854         * desktop.el (desktop-auto-save-timeout): New option.
9855         (desktop-file-checksum): New variable.
9856         (desktop-save): Add optional arg `auto-save' and don't auto-save
9857         if nothing changed.
9858         (desktop-auto-save-timer): New variable.
9859         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9860         (after-init-hook): Call `desktop-auto-save-set-timer'.
9861         Suggested by Reuben Thomas <rrt@sc3d.org> in
9862         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9864 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9866         * progmodes/octave.el (octave-function-file-p)
9867         (octave-skip-comment-forward, octave-function-file-comment)
9868         (octave-update-function-file-comment): New functions.
9869         (octave-mode-map): Bind C-c ; to
9870         octave-update-function-file-comment.
9871         (octave-mode-menu): Add octave-update-function-file-comment.
9872         (octave-mode, inferior-octave-mode): Fix doc-string.
9873         (octave-insert-defun): Conform to Octave's coding convention.
9874         (Bug#14285)
9876         * files.el (basic-save-buffer): Don't let errors in
9877         before-save-hook prevent saving buffer.
9879 2013-04-20  Roland Winkler  <winkler@gnu.org>
9881         * faces.el (read-face-name): Use completing-read if arg multiple
9882         is nil.
9884 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9886         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9887         displayed, move point to after the totals line.
9888         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9889         for the details.
9891 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9893         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9894         Add current dir to the load-path.
9895         (package-generate-autoloads): Don't rely on
9896         autoload-ensure-default-file.
9898 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9900         * textmodes/remember.el (remember-store-in-files): Document that
9901         the file name format is passed to `format-time-string'.
9903 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9905         * progmodes/octave.el (octave-sync-function-file-names): New function.
9906         (octave-mode): Use it in before-save-hook.
9908 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9910         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9911         (bug#14274).
9913         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9914         \n and comment, even if it's not an implicit ; (bug#14218).
9916 2013-04-26  Glenn Morris  <rgm@gnu.org>
9918         * subr.el (read-number): Once more use `read' rather than
9919         `string-to-number', to trap non-numeric input.  (Bug#14254)
9921 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9923         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9924         Use `syntax-multiline' text property consistently instead of
9925         `font-lock-multiline'.  (Bug#14237)
9927 2013-04-26  Glenn Morris  <rgm@gnu.org>
9929         * emacs-lisp/shadow.el (list-load-path-shadows):
9930         No longer necessary to check for duplicate simple.el, since
9931         2012-07-07 change to init_lread to not include installation lisp
9932         directories in load-path when running uninstalled.  (Bug#14270)
9934 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9936         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9937         (octave-mode, inferior-octave-mode): Use setq-local.
9938         (octave-not-in-string-or-comment-p): Rename to
9939         octave-in-string-or-comment-p.
9940         (octave-in-comment-p, octave-in-string-p)
9941         (octave-in-string-or-comment-p): Replace defsubst with defun.
9943 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9945         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9947 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9949         * textmodes/remember.el (remember-data-directory)
9950         (remember-directory-file-name-format): Fix custom types.
9952 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9954         * progmodes/octave.el (octave-completion-at-point-function):
9955         Make use of inferior octave process.
9956         (octave-initialize-completions): Remove.
9957         (inferior-octave-completion-table): New function.
9958         (inferior-octave-completion-at-point): Use it.
9959         (octave-completion-alist): Remove.
9961 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9963         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9964         (opascal-mode-syntax-table): New var.
9965         (opascal-literal-kind, opascal-is-literal-end)
9966         (opascal-literal-token-at): Rewrite.
9967         (opascal--literal-start-re, opascal-font-lock-keywords)
9968         (opascal--syntax-propertize): New constants.
9969         (opascal-font-lock-defaults): Adjust.
9970         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9971         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9972         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9973         (delphi-other-face, opascal-other-face): Remove face variables.
9974         (opascal-save-state): Remove macro.
9975         (opascal-fontifying-progress-step): Remove constant.
9976         (opascal--ignore-changes): Remove var.
9977         (opascal-set-token-property, opascal-parse-next-literal)
9978         (opascal-is-stable-literal, opascal-complete-literal)
9979         (opascal-is-literal-start, opascal-face-of)
9980         (opascal-parse-region, opascal-parse-region-until-stable)
9981         (opascal-fontify-region, opascal-after-change)
9982         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9983         (opascal-debug-parse-region, opascal-debug-parse-window)
9984         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9985         (opascal-debug-fontify-buffer): Remove.
9986         (opascal-debug-mode-map): Adjust accordingly.
9988 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9990         Merge octave-mod.el and octave-inf.el into octave.el with some
9991         cleanups.
9992         * progmodes/octave.el: New file renamed from octave-mod.el.
9993         * progmodes/octave-inf.el: Merged into octave.el.
9994         * progmodes/octave-mod.el: Renamed to octave.el.
9996 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9998         * textmodes/reftex-vars.el
9999         (reftex-label-ignored-macros-and-environments): New defcustom.
10001         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10003 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10006         (smie-indent-keyword): Improve the check to ensure that the next
10007         comment is really on the same line.
10008         (smie-indent-comment): Don't align with a subsequent closer (or eob).
10010         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10011         semi-colons if the line is not otherwise empty (bug#14218).
10013 2013-04-25  Glenn Morris  <rgm@gnu.org>
10015         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10017 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10019         * progmodes/opascal.el (opascal-set-token-property): Rename from
10020         opascal-set-text-properties and only set `token' (bug#14134).
10021         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10022         (opascal-literal-text-properties): Remove.
10023         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10024         Adjust callers.
10026 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
10028         * textmodes/remember.el (remember-handler-functions): Add an
10029         option for a new handler `remember-store-in-files'.
10030         (remember-data-directory, remember-directory-file-name-format):
10031         New options.
10032         (remember-store-in-files): New function to store remember notes
10033         as separate files within a directory.
10035 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10037         * progmodes/compile.el (compilation-next-error-function):
10038         Pass "formats" to compilation-find-file (bug#11777).
10040 2013-04-24  Glenn Morris  <rgm@gnu.org>
10042         * vc/vc-bzr.el (vc-bzr-print-log):
10043         * vc/vc-hg.el (vc-hg-print-log):
10044         * vc/vc-svn.el (vc-svn-print-log):
10045         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10047         * vc/vc-bzr.el (vc-bzr-print-log):
10048         * vc/vc-cvs.el (vc-cvs-print-log):
10049         * vc/vc-git.el (vc-git-print-log):
10050         * vc/vc-hg.el (vc-hg-print-log):
10051         * vc/vc-mtn.el (vc-mtn-print-log):
10052         * vc/vc-rcs.el (vc-rcs-print-log):
10053         * vc/vc-sccs.el (vc-sccs-print-log):
10054         * vc/vc-svn.el (vc-svn-print-log):
10055         * vc/vc.el (vc-print-log-internal): Doc fixes.
10057 2013-04-23  Glenn Morris  <rgm@gnu.org>
10059         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10060         Remove venerable code attempting to avoid substitute-command-keys.
10062 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10064         * textmodes/reftex-vars.el (reftex-label-regexps):
10065         Call `reftex-compile-variables' after changes to this variable.
10067 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10069         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10070         Use lexical-binding.
10071         (jit-lock-force-redisplay): Use markers, check buffer's continued
10072         existence and beware narrowed buffers.
10073         (jit-lock-fontify-now): Adjust call accordingly.
10075 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10077         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10078         to avoid misleading the user.
10080 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10082         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10084 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10086         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10088         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10089         * net/tramp.el (tramp-call-process): ... here.
10090         (tramp-set-completion-function, tramp-parse-putty):
10091         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10092         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10093         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10094         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10095         (tramp-call-local-coding-command): Use `tramp-call-process'
10096         instead of `tramp-compat-call-process'.
10098         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10099         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10100         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10101         (tramp-find-inline-compress): Improve traces.
10102         (tramp-maybe-send-script): Check for Perl binary.
10103         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10105 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10107         * epg.el (epg-context-pinentry-mode): New function.
10108         (epg-context-set-pinentry-mode): New function.
10109         (epg--start): Pass --pinentry-mode option to gpg command.
10111 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10113         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10114         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10115         `completion-at-point'.  (Bug#13774)
10117         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10118         default key binding for `describe-distribution' has been moved to
10119         `C-h C-o'.  (Bug#13970)
10121 2013-04-21  Glenn Morris  <rgm@gnu.org>
10123         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10124         Add doc strings.
10125         (vc-print-log): Clarify interactive prompt.
10127 2013-04-20  Glenn Morris  <rgm@gnu.org>
10129         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10130         No longer include timestamp etc information.
10132 2013-04-20  Roland Winkler  <winkler@gnu.org>
10134         * faces.el (read-face-name): Bug fix, return just one face if arg
10135         multiple is nil.  (Bug#14209)
10137 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10139         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10140         (remove-function): Autoload.
10142         * comint.el (comint-redirect-original-filter-function): Remove.
10143         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10144         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10145         (vc-cvs-annotate-command):
10146         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10147         * progmodes/prolog.el (prolog-consult-compile):
10148         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10149         Use add/remove-function instead.
10150         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10151         (gud-tooltip-process-output, gud-tooltip-tips):
10152         Use add/remove-function instead.
10153         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10154         (scheme-interaction-mode, exit-scheme-interaction-mode):
10155         Use add/remove-function instead.
10157         * vc/vc-dispatcher.el: Use lexical-binding.
10158         (vc--process-sentinel): Rename from vc-process-sentinel.
10159         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10160         and vc-sentinel-commands any more.
10161         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10162         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10164 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10166         * progmodes/sh-script.el (sh-imenu-generic-expression):
10167         Handle function names with a single character.   (Bug#14111)
10169 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10171         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10172         for subroutines defined in an eval (bug#14182).
10174 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10176         * bookmark.el (bookmark-completing-read): Improve handling of empty
10177         string (bug#14176).
10179 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10181         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10183 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10185         New faster Imenu implementation (bug#14058).
10186         * progmodes/python.el:
10187         (python-imenu-prev-index-position):
10188         (python-imenu-format-item-label-function)
10189         (python-imenu-format-parent-item-label-function)
10190         (python-imenu-format-parent-item-jump-label-function):
10191         New vars.
10192         (python-imenu-format-item-label)
10193         (python-imenu-format-parent-item-label)
10194         (python-imenu-format-parent-item-jump-label)
10195         (python-imenu--put-parent, python-imenu--build-tree)
10196         (python-imenu-create-index, python-imenu-create-flat-index)
10197         (python-util-popn): New functions.
10198         (python-mode): Set imenu-create-index-function to
10199         python-imenu-create-index.
10201 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10203         * winner.el (winner-active-region): Use region-active-p, activate-mark
10204         and deactivate-mark (bug#14225).
10206         * simple.el (deactivate-mark): Don't inline it.
10208 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10210         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10212 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10214         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10215         file extensions from the archive-mode entry in order to prefer
10216         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10218 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10220         * bindings.el (help-event-list): Add ?\?.
10222 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10224         * subr.el (with-wrapper-hook): Declare obsolete.
10225         * simple.el (filter-buffer-substring-function): New hook.
10226         (filter-buffer-substring): Use it.
10227         (filter-buffer-substring-functions): Mark obsolete.
10228         * minibuffer.el (completion-in-region-function): New hook.
10229         (completion-in-region): Use it.
10230         (completion-in-region-functions): Mark obsolete.
10231         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10232         * abbrev.el (abbrev-expand-function): New hook.
10233         (expand-abbrev): Use it.
10234         (abbrev-expand-functions): Mark obsolete.
10235         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10236         and :filter-return.
10238 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10240         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10241         and do not care about match data.
10243 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10245         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10246         completion tables when completing error conditions and
10247         `declare' arguments.
10248         (lisp-complete-symbol, field-complete): Mark as obsolete.
10249         (check-parens): Unmatched parens are user errors.
10250         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10252 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10254         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10255         command changed buffer (ie. `flyspell-pre-buffer' is not current
10256         buffer), which prevents making decisions based on invalid value of
10257         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10258         cause an error when `flyspell-pre-point' was nil after switching
10259         buffers.
10260         (flyspell-post-command-hook): No longer needs to change buffers when
10261         checking pre-word.  While at it remove unnecessary progn.
10263 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10265         * textmodes/ispell.el (ispell-add-per-file-word-list):
10266         Fix `flyspell-correct-word-before-point' error when accepting
10267         words and `coment-padding' is an integer by using
10268         `comment-normalize-vars' (Bug #14214).
10270 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10272         New defun movement commands.
10273         * progmodes/python.el (python-nav--syntactically)
10274         (python-nav--forward-defun, python-nav-backward-defun)
10275         (python-nav-forward-defun): New functions.
10277 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10279         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10280         (python-syntax-context): Use named compiler-macro for backwards
10281         compatibility with Emacs 24.x.
10283 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10285         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10286         octave-hide-process-buffer.
10288 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10290         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10291         (bug#14216).
10293 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10295         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10296         Fix adjustment of offset when receiving incomplete responses from GDB
10297         (bug#14129).
10299 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10301         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10302         python-mode-abbrev-table.
10303         (python-skeleton-define): Adjust accordingly.
10304         (python-mode-abbrev-table): New table that inherits from it so that
10305         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10307         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10308         (abbrev-symbol): Use it.
10309         (abbrev--before-point): Use it since we already handle inheritance.
10311 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10313         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10314         binding to info-lookup-symbol.
10316 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10318         * minibuffer.el (completion--twq-all):
10319         * term/ns-win.el (ns-initialize-window-system):
10320         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10322 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10324         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10325         global bindings.
10327         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10329 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10331         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10332         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10333         to nil.
10334         (ruby-end-of-defun): Remove the unused arg, change the docstring
10335         to reflect that this function is only used as the value of
10336         `end-of-defun-function'.
10337         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10338         to reflect an earlier change that beginning/end-of-defun functions
10339         jump between methods in a class definition, as well as top-level
10340         functions.
10342 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10344         * minibuffer.el (minibuffer-complete): Don't just scroll
10345         a *Completions* that's been iconified.
10346         (minibuffer-force-complete): Make sure repetitions do cycle when going
10347         through completion-in-region -> minibuffer-complete.
10349 2013-04-15  Alan Mackenzie  <acm@muc.de>
10351         Correct the placement of c-cpp-delimiters when there're #s not at
10352         col 0.
10354         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10355         place a submatch around the #.
10356         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10357         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10358         on the #, not BOL.
10360 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10362         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10363         (advice--member-p): New arg `name'.
10364         (advice--add-function, advice-member-p): Use it (bug#14202).
10366 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10368         Reformulate java imenu-generic-expression.
10369         The old expression contained ill formed regexps.
10371         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10372         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10373         (cc-imenu-java-method-arg-regexp): New defconsts.
10374         (cc-imenu-java-build-type-args-regex): New defun.
10375         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10376         handling of spaces in the regexp.
10378 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10380         * textmodes/ispell.el (ispell-command-loop): Remove
10381         flyspell highlight of a word when ispell accepts it (bug #14178).
10383 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10385         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10386         uses code from the previous `ange-ftp-run-real-handler'.
10387         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10388         only in case that function exist.  This is needed for proper
10389         unloading of Tramp.
10391 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10393         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10395         * textmodes/reftex.el (reftex-compile-variables): Use it.
10397 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10399         * files.el (normal-mode): Only use default major-mode if no other mode
10400         was specified.
10402         * emacs-lisp/trace.el (trace-values): New function.
10404         * files.el: Allow : in local variables (bug#14089).
10405         (hack-local-variable-regexp): New var.
10406         (hack-local-variables-prop-line, hack-local-variables): Use it.
10408 2013-04-13  Roland Winkler  <winkler@gnu.org>
10410         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10411         data before it gets modified by bibtex-beginning-of-entry.
10413 2013-04-13  Roland Winkler  <winkler@gnu.org>
10415         * textmodes/bibtex.el (bibtex-url): Doc fix.
10417 2013-04-13  Roland Winkler  <winkler@gnu.org>
10419         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10420         does not visit a BibTeX file, exclude it from the list of buffers
10421         returned by bibtex-initialize.
10423 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10425         * window.el (split-window): Remove interactive form, since as a
10426         command this function is a special case of split-window-below.
10427         Correct doc string.
10429 2013-04-12  Roland Winkler  <winkler@gnu.org>
10431         * faces.el (read-face-name): Do not override value of arg default.
10432         Allow single faces and strings as default values.  Remove those
10433         elements from return value that are not faces.
10434         (describe-face): Simplify.
10435         (face-at-point): New optional args thing and multiple so that this
10436         function can provide the same functionality previously provided by
10437         read-face-name.
10438         (make-face-bold, make-face-unbold, make-face-italic)
10439         (make-face-unitalic, make-face-bold-italic, invert-face)
10440         (modify-face, read-face-and-attribute): Use face-at-point.
10442         * cus-edit.el (customize-face, customize-face-other-window)
10443         * cus-theme.el (custom-theme-add-face)
10444         * face-remap.el (buffer-face-set)
10445         * facemenu.el (facemenu-set-face): Use face-at-point.
10447 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10449         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10451 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10453         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10454         off leading { and trailing } from field values.
10456 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10458         * emacs-lisp/timer.el (timer--check): New function.
10459         (timer--time, timer-set-function, timer-event-handler): Use it.
10460         (timer-set-idle-time): Simplify.
10461         (timer--activate): CSE.
10462         (timer-event-handler): Give more info in error message.
10463         (internal-timer-start-idle): New function, moved from C.
10465         * mpc.el (mpc-proc): Add `restart' argument.
10466         (mpc-proc-cmd): Use it.
10467         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10468         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10469         less often.
10471 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10473         * progmodes/sh-script.el: Implement `sh-mode' own
10474         `add-log-current-defun-function' (bug#14112).
10475         (sh-current-defun-name): New function.
10476         (sh-mode): Use the function.
10478 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10480         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10482 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10484         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10486         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10487         timer (bug#14156).
10489 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10491         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10492         declaration.
10494 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10496         * pcmpl-x.el: New file.
10498 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10500         Do not set x-display-name until X connection is established.
10501         This is needed to prevent from weird situation described at
10502         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10503         * frame.el (make-frame): Set x-display-name after call to
10504         window system initialization function, not before.
10505         * term/x-win.el (x-initialize-window-system): Add optional
10506         display argument and use it.
10507         * term/w32-win.el (w32-initialize-window-system):
10508         * term/ns-win.el (ns-initialize-window-system):
10509         * term/pc-win.el (msdos-initialize-window-system):
10510         Add compatible optional display argument.
10512 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10514         * files.el (normal-backup-enable-predicate): On MS-Windows and
10515         MS-DOS compare truenames of temporary-file-directory and of the
10516         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10517         don't fail comparison by compare-strings.  Also, compare file
10518         names case-insensitively on MS-Windows and MS-DOS.
10520 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10523         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10525 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10527         * whitespace.el (whitespace-color-on, whitespace-color-off):
10528         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10530 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10532         * ispell.el (ispell-set-spellchecker-params):
10533         Really set `ispell-args' for all equivs.
10535 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10537         * ido.el (ido-completions): Use extra elements of ido-decorations
10538         (bug#14143).
10539         (ido-decorations): Update docstring.
10541 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10543         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10544         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10545         nil during initialization, in order not to miss changes since the
10546         file was opened.  (Bug#14140)
10548 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10550         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10552 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10554         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10556 2013-04-04  Glenn Morris  <rgm@gnu.org>
10558         * electric.el (electric-pair-inhibit-predicate): Add :version.
10560 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10562         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10563         when a package is required several times (bug#14082).
10565 2013-04-04  Roland Winkler  <winkler@gnu.org>
10567         * faces.el (read-face-name): Behave as promised by the docstring.
10568         Assume that arg default is a list of faces.
10569         (describe-face): Call read-face-name with list of default faces.
10571 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10573         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10574         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10575         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10576         the header.
10577         (bookmark-exit-hook-internal): Save even if list is empty.
10579 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10581         * emacs-lisp/package.el (package-pinned-packages): New var.
10582         (package--add-to-archive-contents): Obey it (bug#14118).
10584 2013-04-03  Alan Mackenzie  <acm@muc.de>
10586         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10587         Also adapt to the new values of element 7 of a parse state.
10589         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10590         parameter `not-in-delimiter'.  Handle being inside comment opener.
10591         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10592         character in case we're typing a '*' after a '/'.
10593         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10594         instead by passing the parameter to c-state-pp-to-literal.
10596         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10597         for elt. 7 of a parse state.
10599 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10601         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10602         * international/latin1-disp.el, international/mule-util.el:
10603         * language/cyril-util.el, language/european.el, language/ind-util.el:
10604         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10605         * language/tibetan.el, language/viet-util.el:
10606         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10608 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10611         (electric-pair-post-self-insert-function): Use it.
10612         (electric-pair-default-inhibit): New function, extracted from
10613         electric-pair-post-self-insert-function.
10615 2013-03-31  Roland Winkler  <winkler@gnu.org>
10617         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10619 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10621         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10623 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10625         Un-indent after "pass" and "return" statements (Bug#13888)
10626         * progmodes/python.el (python-indent-block-enders): New var.
10627         (python-indent-calculate-indentation): Use it.
10629 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10631         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10632         defun.  Defining it as defalias could introduce too eager
10633         byte-compiler optimization.  (Bug#14030)
10635 2013-03-30  Chong Yidong  <cyd@gnu.org>
10637         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10639 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10641         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10642         (kmacro-execute-from-register): Pass the keyboard macro to
10643         kmacro-call-macro or repeating won't work correctly.
10645 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10647         * progmodes/subword.el: Back to using `forward-symbol'.
10649         * subr.el (forward-whitespace, forward-symbol)
10650         (forward-same-syntax): Move from thingatpt.el.
10652 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10654         * kmacro.el (kmacro-to-register): New command.
10655         (kmacro-execute-from-register): New function.
10656         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10658 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10660         * mpc.el: Use defvar-local and setq-local.
10661         (mpc--proc-connect): Connection failures are not bugs.
10662         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10663         (mpc-volume-map): Bind to the up-events.
10665 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10667         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10668         instead of `forward-symbol'.
10670 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10672         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10673         (edebug--recursive-edit): Use it.
10674         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10675         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10677 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10679         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10681 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10683         * facemenu.el (list-colors-callback): New defvar.
10684         (list-colors-redisplay): New function.
10685         (list-colors-display): Install list-colors-redisplay as the
10686         revert-buffer-function.  (Bug#14063)
10688 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10691         and suffixes don't overlap (bug#14061).
10693         * case-table.el: Use lexical-binding.
10694         (case-table-get-table): New function.
10695         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10697 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10699         * progmodes/subword.el: Add `superword-mode' to do word motion
10700         over symbol_words (parallels and leverages `subword-mode' which
10701         does word motion inside MixedCaseWords).
10703 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10705         * eshell/em-unix.el: Move su and sudo to...
10706         * eshell/em-tramp.el: ...Eshell tramp module.
10708 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10711         Change return value to be a sexp.  Delay `get-buffer' to after
10712         restoring the desktop (bug#13951).
10714 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10716         * register.el: Move semantic tag handling back to
10717         cedet/semantic/senator.el.  (Bug#14052)
10719 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10721         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10722         into the prompt either (bug#13963).
10724 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10726         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10727         part of "(error-foo)".
10729 2013-03-24  Juri Linkov  <juri@jurta.org>
10731         * replace.el (list-matching-lines-prefix-face): New defcustom.
10732         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10733         `occur-engine' if `face-differs-from-default-p' returns t.
10734         (occur-engine): Add `,' inside backquote construct to evaluate
10735         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10736         Pass `prefix-face' to the functions `occur-context-lines' and
10737         `occur-engine-add-prefix'.
10738         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10739         `prefix-face' and propertize the prefix with `prefix-face'.
10740         (Bug#14017)
10742 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10744         * nxml/rng-valid.el (rng-validate-while-idle)
10745         (rng-validate-quick-while-idle): Guard against deleted buffer.
10746         (Bug#13999)
10748         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10749         is the last entry in kill-buffer-hook.
10751         * files.el (kill-buffer-hook): Doc fix.
10753 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10755         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10756         Make it safe-local.
10758         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10760 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10762         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10763         Remove.
10765         * nxml/rng-valid.el (rng-validate-mode)
10766         (rng-after-change-function, rng-do-some-validation):
10767         * nxml/rng-maint.el (rng-validate-buffer):
10768         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10769         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10770         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10771         (nxml-extend-after-change-region): Use with-silent-modifications.
10773         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10774         timer-idle-list.
10776         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10777         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10778         timer-idle-list.  (Bug#13999)
10780 2013-03-23  Juri Linkov  <juri@jurta.org>
10782         * info.el (info-index-match): New face.
10783         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10784         main pattern and add text properties with the new face to matches
10785         in index entries relative to the beginning of the index entry.
10786         (Bug#14015)
10788 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10790         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10791         Inhibit read only while inserting objects.
10793 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10795         * progmodes/cfengine.el: Update docs to mention
10796         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10797         symbol motion.  Remove "_" from the word syntax.
10799 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10801         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10802         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10804 2013-03-20  Juri Linkov  <juri@jurta.org>
10806         * info.el (Info-next-reference-or-link)
10807         (Info-prev-reference-or-link): New functions.
10808         (Info-next-reference, Info-prev-reference): Use them.
10809         (Info-try-follow-nearest-node): Handle footnote navigation.
10810         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10812 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10814         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10815         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10817 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10819         Suppress unnecessary non-ASCII chatter during build process.
10820         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10821         (batch-skkdic-convert): Suppress most of the chatter.
10822         It's not needed so much now that machines are faster,
10823         and its non-ASCII component was confusing; see Dmitry Gutov in
10824         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10826 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10828         * ido.el (ido-chop): Fix bug#10994.
10830 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10832         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10833         Remove vars.
10834         (whitespace-color-on, whitespace-color-off):
10835         Use `font-lock-fontify-buffer' (Bug#13817).
10837 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10839         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10840         remapping in mode-line.
10841         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10843 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10845         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10846         value for `whitespace-line' face (Bug#13875).
10847         (whitespace-font-lock-keywords): Change description.
10848         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10849         the constructed keywords instead.
10850         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10852 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10854         * progmodes/compile.el (compilation-display-error): New command.
10855         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10856         C-o.  (Bug#13992)
10858 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10860         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10862 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10864         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10866 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10868         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10870         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10871         * net/tramp-gvfs.el (top):
10872         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10873         (tramp-handle-shell-command): Use it.
10874         (tramp-dissect-file-name): Raise an error when hostname is a
10875         method name, and neither method nor user is specified.
10877         * net/trampver.el: Update release number.
10879 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10881         Make sure eldoc can be turned off properly.
10882         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10883         eldoc-mode.
10884         (eldoc-display-message-p): Revert last change.
10885         (eldoc-display-message-no-interference-p)
10886         (eldoc-print-current-symbol-info): Tweak.
10888 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10890         * doc-view.el (doc-view-new-window-function): Check the new window
10891         overlay's display property instead the char property of the
10892         buffer's first char.  Use `with-selected-window' instead of
10893         `save-window-excursion' with `select-window'.
10894         (doc-view-document->bitmap): Check the current doc-view overlay's
10895         display property instead the char property of the buffer's first char.
10897 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10899         Automate the build of ja-dic.el (Bug#13984).
10900         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10901         from the input, rather than assume that it's been done for us by the
10902         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10903         the current date into a ja-dic.el comment, as that complicates
10904         regression testing.
10906 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10908         * whitespace.el: Fix double evaluation.
10909         (whitespace-space, whitespace-hspace, whitespace-tab)
10910         (whitespace-newline, whitespace-trailing, whitespace-line)
10911         (whitespace-space-before-tab, whitespace-indentation)
10912         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10913         obsolete defvars.
10914         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10915         (whitespace-color-on): Use a single font-lock-add-keywords call.
10916         Fix double-evaluation of face variables.
10918 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10920         * net/tramp-adb.el (tramp-adb-parse-device-names):
10921         Use `start-process' instead of `call-process'.  Otherwise, the
10922         function might be blocked under MS Windows.  (Bug#13299)
10924 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10926         Extend eldoc to display info in the mode-line.  (Bug#13978)
10927         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10928         (eldoc-mode-line-string): New variable.
10929         (eldoc-minibuffer-message): New function.
10930         (eldoc-message-function): New variable.
10931         (eldoc-message): Use it.
10932         (eldoc-display-message-p)
10933         (eldoc-display-message-no-interference-p):
10934         Support eldoc-post-insert-mode.
10936         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10937         (eval-expression): Run it.
10939 2013-03-17  Roland Winkler  <winkler@gnu.org>
10941         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10942         strings in the list of return values.
10944 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10946         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10947         radix before checking for HMS forms.
10949 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10951         * progmodes/scheme.el: Add indentation and font-locking for λ.
10952         (Bug#13975)
10954 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10957         token before point (bug#13942).
10959 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10961         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10963 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10965         * startup.el (command-line-normalize-file-name): Fix handling of
10966         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10967         <xfq.free@gmail.com> in
10968         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10970 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10972         Sync with Tramp 2.2.7.
10974         * net/trampver.el: Update release number.
10976 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10978         * doc-view.el: Fix bug#13887.
10979         (doc-view-insert-image): Don't modify overlay associated to
10980         non-live windows, and implement horizontal centering of image in
10981         case it's smaller than the window.
10982         (doc-view-new-window-function): Force redisplay of new windows on
10983         doc-view buffers.
10985 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10987         * saveplace.el (save-place-alist-to-file): Don't sort
10988         `save-place-alist', just pretty-print it (bug#13882).
10990 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10992         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10993         Check whether `default-file-name-coding-system' is bound.
10994         It isn't in XEmacs.
10996 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10998         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10999         backquotes for `obsolete' (bug#13929).
11001         * international/mule.el (find-auto-coding): Include file name in
11002         obsolescence warning (bug#13922).
11004 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
11006         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11007         for CFEngine 3-specific indentation.
11008         (cfengine3-indent-line): Use it.  Fix up category regex.
11009         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11011 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11013         * type-break.el (type-break-file-name):
11014         * textmodes/remember.el (remember-data-file):
11015         * strokes.el (strokes-file):
11016         * shadowfile.el (shadow-initialize):
11017         * saveplace.el (save-place-file):
11018         * ps-bdf.el (bdf-cache-file):
11019         * progmodes/idlwave.el (idlwave-config-directory):
11020         * net/quickurl.el (quickurl-url-file):
11021         * international/kkc.el (kkc-init-file-name):
11022         * ido.el (ido-save-directory-list-file):
11023         * emulation/viper.el (viper-custom-file-name):
11024         * emulation/vip.el (vip-startup-file):
11025         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11026         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11028 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
11030         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11031         * language/thai-word.el: Switch to UTF-8.
11033 See ChangeLog.16 for earlier changes.
11035 ;; Local Variables:
11036 ;; coding: utf-8
11037 ;; End:
11039   Copyright (C) 2011-2013 Free Software Foundation, Inc.
11041   This file is part of GNU Emacs.
11043   GNU Emacs is free software: you can redistribute it and/or modify
11044   it under the terms of the GNU General Public License as published by
11045   the Free Software Foundation, either version 3 of the License, or
11046   (at your option) any later version.
11048   GNU Emacs is distributed in the hope that it will be useful,
11049   but WITHOUT ANY WARRANTY; without even the implied warranty of
11050   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11051   GNU General Public License for more details.
11053   You should have received a copy of the GNU General Public License
11054   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.