Remove no more needed bindings of split-height-threshold.
[emacs.git] / lisp / ChangeLog
blob763136cb423856478eb3e92ef3b614cd84af530e
1 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
3         * dired.el (dired-mark-pop-up):
4         * register.el (register-preview): Don't bind
5         split-height-threshold here since it's now done in
6         display-buffer-below-selected.
8 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
10         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
11         xterm-rgb-convert-to-16bit.
12         (rxvt-register-default-colors): Standardize with
13         xterm-register-default-colors (Bug#14078).
15 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17         * simple.el (kill-region): Pass mark first, then point, so that
18         kill-append works right (Bug#12819).
19         (copy-region-as-kill, kill-ring-save): Likewise.
21 2013-12-17  Leo Liu  <sdl.web@gmail.com>
23         * net/rcirc.el (rcirc-add-face):
24         * eshell/em-prompt.el (eshell-emit-prompt):
25         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
26         (Bug#16167)
28 2013-12-17  Chong Yidong  <cyd@gnu.org>
30         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
31         Suggested by Xue Fuqiao.
33 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
35         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
37 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
39         * net/shr.el (shr-insert-document): Remove unused var
40         `shr-preliminary-table-render'.
41         (shr-rescale-image): Remove unused arg `force'.
42         (shr-put-image): Update calls accordingly.
43         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
45 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
47         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
48         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
49         :close-all, to see which indentation method to use (Bug#16116).
50         (smie-rules-function): Document the method :close-all.
52 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
54         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
56         * net/eww.el (eww-display-html): If we can't find the anchor we're
57         looking for, then go to point-min.
59 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
61         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
62         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
63         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
64         Expand dir too, in case it's relative.
66 2013-12-16  Juri Linkov  <juri@jurta.org>
68         * desktop.el (desktop-auto-save-timeout): Change default to
69         `auto-save-timeout'.  Doc fix.
70         (desktop-save): Skip the timestamp in desktop-saved-frameset
71         when checking for auto-save changes.
72         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
73         `desktop-auto-save' is called repeatedly by the idle timer.
74         (desktop-auto-save-set-timer): Replace `run-with-timer' with
75         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
76         (Bug#15331)
78 2013-12-16  Juri Linkov  <juri@jurta.org>
80         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
81         (Bug#16035)
82         (isearch-pre-command-hook): Check `this-command' for symbolp.
84 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
86         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
88 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
90         * progmodes/cfengine.el (cfengine3--current-word): Remove.
91         (cfengine3--current-function): Bring in the current-function
92         functionality from `cfengine3--current-word'.
93         (cfengine3-completion-function): Bring in the
94         bounds-of-current-word functionality from
95         `cfengine3--current-word'.
97 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
99         * window.el (display-buffer-below-selected):
100         Bind split-height-threshold to 0 as suggested by Juri Linkov.
102 2013-12-16  Leo Liu  <sdl.web@gmail.com>
104         * progmodes/compile.el (compile-goto-error): Do not push-mark.
105         Remove NOMSG arg and all uses changed.
107 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
109         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
110         (cua--deactivate-rectangle): Don't deactivate the mark.
111         (cua-set-rectangle-mark): Don't set mark-active since
112         cua--activate-rectangle already does it for us.
113         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
114         non-rectangular region.
116         * emulation/cua-base.el (cua-repeat-replace-region):
117         Use with-current-buffer.
119         * net/gnutls.el: Use cl-lib.
120         (gnutls-negotiate): `mapcan' -> cl-mapcan.
122 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
124         * emacs-lisp/package.el (package-built-in-p): Support both
125         built-in and the package.el converted package descriptions.
126         (package-show-package-list): Allow keywords.
127         (package-keyword-button-action): Use it instead of
128         `finder-list-matches'.
129         (package-menu-filter-interactive): Interactive filtering (by
130         keyword) function.
131         (package-menu--generate): Support keywords and change keymappings
132         and headers when they are given.
133         (package--has-keyword-p): Helper function.
134         (package-menu--refresh): Use it.
135         (package--mapc): Helper function.
136         (package-all-keywords): Use it.
137         (package-menu-mode-map): Set up menu items and keybindings to
138         provide a filtering UI.
140 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
142         * net/gnutls.el (gnutls-verify-error): New defcustom to control
143         the behavior when a certificate fails validation.  Defaults to
144         old behavior: never abort, just warn.
145         (gnutls-negotiate): Use it.
147 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
149         * window.el (display-buffer-below-selected): Never split window
150         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
152 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
154         * emacs-lisp/package.el (package--prepare-dependencies): New function.
155         (package-buffer-info): Use it (bug#15108).
157         * icomplete.el (icomplete-completions): Make sure the prefix is already
158         displayed elsewhere before hiding it.
160 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
162         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
163         open-paren tokens when preceded by a open-paren, too.
164         (ruby-smie-rules): Handle virtual indentation after open-paren
165         tokens specially.  If there is code between it and eol, return the
166         column where is starts (Bug#16118).
168 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
170         * progmodes/cfengine.el: Fix `add-hook' doc.
171         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
172         (cfengine3--current-word): Fix parameters.
173         (cfengine3-make-syntax-cache): Simplify further.
174         (cfengine3-completion-function, cfengine3--current-function):
175         Use `assq' for symbols.
176         (cfengine3--current-function): Fix `cfengine3--current-word' call.
178 2013-12-13  Glenn Morris  <rgm@gnu.org>
180         * loadup.el (load-path): Warn if site-load or site-init changes it.
181         No more need to reset it when bootstrapping.
183 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
185         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
186         locations for cf-promises.
187         (cfengine-mode-syntax-functions-regex): New caching variable.
188         (cfengine3-fallback-syntax): Fallback syntax for cases where
189         cf-promises doesn't run.
190         (cfengine3--current-word): Reimplement using
191         `cfengine-mode-syntax-functions-regex'.
192         (cfengine3-completion-function, cfengine3--current-function):
193         Use `cfengine3-make-syntax-cache' directly.
194         (cfengine3-clear-syntax-cache): New function.
195         (cfengine3-make-syntax-cache): Simplify and create
196         `cfengine-mode-syntax-functions-regex' on demand.
197         (cfengine3-format-function-docstring): Don't call
198         `cfengine3-make-syntax-cache' explicitly.
200 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
202         Fix windmove-find-other-window broken after pixelwise resizing
203         (Bug#16017).
204         * windmove.el (windmove-other-window-loc): Revert change from
205         2013-12-04.
206         (windmove-find-other-window): Call window-in-direction.
207         * window.el (window-in-direction): New arguments SIGN, WRAP and
208         MINI to emulate original windmove-find-other-window behavior.
210 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
212         * simple.el (blink-matching--overlay): New variable.
213         (blink-matching-open): Instead of moving point, highlight the
214         matching paren with an overlay
215         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
217         * faces.el (paren-showing-faces, show-paren-match)
218         (show-paren-mismatch): Move from paren.el.
220 2013-12-13  Leo Liu  <sdl.web@gmail.com>
222         * indent.el (indent-region): Disable progress reporter in
223         minibuffer.  (Bug#16108)
225         * bindings.el (visual-order-cursor-movement): Fix version.
227 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
229         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
230         Also match after beginning of line.
231         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
232         files.  Thanks to Russell Sim. (Bug#15378)
234 2013-12-13  Juri Linkov  <juri@jurta.org>
236         * simple.el <Keypad support>: Remove key bindings duplicated
237         with bindings.el.  (Bug#14397)
239 2013-12-13  Juri Linkov  <juri@jurta.org>
241         * comint.el (comint-mode-map): Replace `delete-char' with
242         `delete-forward-char'.  (Bug#16109)
244 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
246         * progmodes/python.el (python-indent-calculate-indentation):
247         Fix de-denters cornercase. (Bug#15731)
249 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
251         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
252         (advice--make): Pay attention to `depth'.
253         (advice--make-1): Don't autoload commands eagerly.
254         * emacs-lisp/elp.el (elp-instrument-function):
255         * emacs-lisp/trace.el (trace-function-internal):
256         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
258         * iswitchb.el (iswitchb-mode): Don't belittle ido.
260 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
262         * term/w32-win.el (w32-handle-dropped-file):
263         * startup.el (normal-top-level):
264         * net/browse-url.el (browse-url-file-url):
265         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
266         decode file names using 'utf-8' rather than
267         file-name-coding-system.
269 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
271         * progmodes/python.el (python-indent-context)
272         (python-indent-calculate-indentation): Fix auto-identation
273         behavior for comment blocks. (Bug#15916)
275 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
277         * progmodes/python.el (python-indent-calculate-indentation):
278         When determining indentation, don't treat "return", "pass", etc., as
279         operators when they are just string constituents.  (Bug#15812)
281 2013-12-12  Juri Linkov  <juri@jurta.org>
283         * uniquify.el (uniquify-buffer-name-style): Change default to
284         `post-forward-angle-brackets'.
286         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
287         `uniquify'.  Change default to `post-forward-angle-brackets'.
289 2013-12-11  Glenn Morris  <rgm@gnu.org>
291         * emacs-lisp/package.el (finder-list-matches):
292         Autoload rather than falsely declaring.
294 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
296         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
297         (eww-mode-map): Use them.
299 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
301         * window.el (display-buffer-in-side-window): Fix doc-string
302         (Bug#16115).
304 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
306         * vc/vc-git.el: Silence byte-compiler warnings.
307         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
308         (log-edit-set-header): Declare.
310 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
312         * Makefile.in (custom-deps, finder-data): Run output file names
313         through unmsys--file-name.  (Bug#16099)
315 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
317         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
318         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
320         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
321         instead of deleting the selection "by hand" (bug#16098).
322         Rely on insert-for-yank to yank rectangles.
323         (cua-highlight-region-shift-only): Mark obsolete.
324         (cua-mode): Don't enable/disable transient-mark-mode,
325         shift-select-mode (cua-mode works both with and without them), and
326         pc-selection-mode (obsolete).
327         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
328         (cua--deactivate-rectangle): Deactivate it.
330         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
331         (delete-selection-helper): Make sure yank starts at the top of the
332         deleted region.
333         (minibuffer-keyboard-quit): Use region-active-p.
335         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
337         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
338         to `delete' (bug#16109).
340 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
342         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
343         info manual and show keybindings and set `:group' keyword.
345 2013-12-11  Juri Linkov  <juri@jurta.org>
347         * delsel.el (delete-active-region): Let-bind `this-command'
348         to prevent `kill-region' from changing its original value.
349         (delete-selection-helper): Handle `overwrite-mode' for the type
350         `kill' exactly the same way as for the type `t'.
351         (insert-char, quoted-insert, reindent-then-newline-and-indent):
352         Support more commands.  (Bug#13312)
354 2013-12-11  Juri Linkov  <juri@jurta.org>
356         * bindings.el: Map kp keys to non-kp keys systematically
357         with basic modifiers control, meta and shift.  (Bug#14397)
359 2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
361         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
362         "Close browser" menu items.  Fix wrong function of "List
363         bookmarks".
365 2013-12-11  Juri Linkov  <juri@jurta.org>
367         * misearch.el (multi-isearch-buffers): Set the value of
368         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
369         arg of isearch-forward to t.
370         (multi-isearch-buffers-regexp): Set the value of
371         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
372         arg of isearch-forward-regexp to t.
373         (multi-isearch-files): Set the value of
374         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
375         arg of isearch-forward to t.
376         (multi-isearch-files-regexp): Set the value of
377         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
378         arg of isearch-forward-regexp to t.  (Bug#16035)
380         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
381         arg of isearch-forward to t.
382         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
383         arg of isearch-forward-regexp to t.
384         (dired-isearch-filter-filenames): Remove unnecessary check for
385         `dired-isearch-filenames'.
387         * comint.el (comint-history-isearch-backward):
388         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
389         (comint-history-isearch-backward-regexp):
390         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
392 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
394         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
395         unmsys--file-name.  (Bug#16099)
397 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
399         * emacs-lisp/package.el (package-keyword-button-action):
400         Remove finder.el require dependency.
402 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
404         * emacs-lisp/package.el: Require finder.el.
405         (describe-package-1): Add keyword buttons.
406         (package-make-button): New convenience function.
407         (package-keyword-button-action): Keyword button action using
408         `finder-list-matches'
410 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
412         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
413         last commit.
415 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
417         * autorevert.el (auto-revert-notify-add-watch): Do not handle
418         symlinked files.
420 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
422         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
423         after the end of a percent literal.
425 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
427         * progmodes/ruby-mode.el (ruby-forward-string): Document.
428         Handle caret-delimited strings (Bug#16079).
430 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
432         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
433         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
434         `ruby-parse-partial' (Bug#16078).
436 2013-12-09  Leo Liu  <sdl.web@gmail.com>
438         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
440 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
442         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
443         (js-switch-indent-offset): New option.
444         (js--proper-indentation): Use it.  And handle the case when
445         "default" is actually a key in an object literal.
446         (js--same-line): New function.
447         (js--multi-line-declaration-indentation): Use it.
448         (js--indent-in-array-comp, js--array-comp-indentation):
449         New functions.
450         (js--proper-indentation): Use them, to handle array comprehension
451         continuations.
453 2013-12-08  Leo Liu  <sdl.web@gmail.com>
455         * progmodes/flymake.el (flymake-highlight-line): Re-write.
456         (flymake-make-overlay): Remove arg MOUSE-FACE.
457         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
459 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
461         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
462         New function.
463         (redisplay-highlight-region-function): Use it.
465         * emulation/cua-base.el (cua--explicit-region-start)
466         (cua--last-region-shifted): Remove.
467         (cua--deactivate): Use deactivate-mark.
468         (cua--pre-command-handler-1): Don't handle shift-selection.
469         (cua--post-command-handler-1): Don't change transient-mark-mode.
470         (cua--select-keymaps): Use region-active-p rather than
471         cua--explicit-region-start or cua--last-region-shifted.
472         (cua-mode): Enable shift-select-mode.
474 2013-12-08  Leo Liu  <sdl.web@gmail.com>
476         * progmodes/flymake.el (flymake-popup-current-error-menu):
477         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
478         (flymake-posn-at-point-as-event, flymake-popup-menu)
479         (flymake-make-emacs-menu): Remove.  (Bug#16077)
481 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
483         * rect.el (rectangle-mark-mode): Activate mark even if
484         transient-mark-mode is off (bug#16066).
485         (rectangle--highlight-for-redisplay): Fix boundary condition when point
486         is > mark and at bolp.
488         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
489         (region-extract-function): Use it.
490         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
491         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
492         Delete functions.
493         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
494         kill-ring-save, kill-region, delete-char, delete-forward-char.
495         Ignore self-insert-iso.
497         * emulation/cua-gmrk.el (cua--init-global-mark):
498         Ignore `self-insert-iso'.
500         * emulation/cua-base.el (cua--prefix-copy-handler)
501         (cua--prefix-cut-handler): Rely on region-extract-function rather than
502         checking cua--rectangle.
503         (cua-delete-region): Use region-extract-function.
504         (cua-replace-region): Delete function.
505         (cua-copy-region, cua-cut-region): Obey region-extract-function.
506         (cua--pre-command-handler-1): Don't do the delete-selection thing.
507         (cua--self-insert-char-p): Ignore `self-insert-iso'.
508         (cua--init-keymaps): Don't remap delete-selection commands.
509         (cua-mode): Use delete-selection-mode instead of rolling our own
510         (bug#16085).
512         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
513         Obey region-extract-function.
515         Make registers and delete-selection-mode work on rectangles.
516         * register.el (describe-register-1): Don't modify the register's value.
517         (copy-to-register): Obey region-extract-function.
518         * delsel.el (delete-active-region): Obey region-extract-function.
520 2013-12-08  Leo Liu  <sdl.web@gmail.com>
522         * progmodes/flymake.el (flymake, flymake-error-bitmap)
523         (flymake-warning-bitmap, flymake-fringe-indicator-position)
524         (flymake-compilation-prevents-syntax-check)
525         (flymake-start-syntax-check-on-newline)
526         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
527         (flymake-start-syntax-check-on-find-file, flymake-log-level)
528         (flymake-xml-program, flymake-master-file-dirs)
529         (flymake-master-file-count-limit)
530         (flymake-allowed-file-name-masks): Relocate.
531         (flymake-makehash, flymake-float-time)
532         (flymake-replace-regexp-in-string, flymake-split-string)
533         (flymake-get-temp-dir): Remove.
534         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
535         (flymake-current-row, flymake-selected-frame)
536         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
537         related functions.  (Bug#16077)
539 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
541         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
543 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
545         * help-fns.el (describe-function-1): Use new advice-* functions
546         rather than old ad-* functions.  Fix function type description and
547         source links for advised functions and subrs.
549 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
551         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
553 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
555         * progmodes/compile.el (compilation-start):
556         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
558         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
559         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
561 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
563         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
564         Touch up the last change.
566 2013-12-06  Leo Liu  <sdl.web@gmail.com>
568         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
569         (inferior-octave-startup): Always use "octave> " for prompt.
570         (octave-goto-function-definition)
571         (octave-sync-function-file-names)
572         (octave-find-definition-default-filename): Remove redundant backquotes.
574 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
576         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
577         syntax for `?'.
578         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
579         where appropriate already.
580         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
581         end of method names (Bug#15874).
583 2013-12-06  Juri Linkov  <juri@jurta.org>
585         * isearch.el (isearch--saved-overriding-local-map):
586         New internal variable.
587         (isearch-mode): Set it to the initial value of
588         `overriding-terminal-local-map'.
589         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
590         with `isearch--saved-overriding-local-map'.  (Bug#16035)
592 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
594         * progmodes/octave.el (inferior-octave-completion-table):
595         Turn back into function, use `completion-table-with-cache'
596         (Bug#11906).  Update all references.
598         * minibuffer.el (completion-table-with-cache): New function.
600 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
602         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
604 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
606         * net/eww.el (eww-current-source): New variable to store page
607         source.
608         (eww-display-html, eww-mode, eww-save-history)
609         (eww-restore-history): Use it.
610         (eww-view-source): New command to view page source.
611         Opportunistically uses `html-mode' to highlight the buffer.
612         (eww-mode-map): Install it.
614 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
616         * net/dbus.el (dbus-unregister-service)
617         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
618         Fix docstring.
619         (dbus-unregister-service): Skip :serial entries in
620         `dbus-registered-objects-table'.
621         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
623 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
625         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
626         around keywords with extra `split-string' argument.
628 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
630         * windmove.el (windmove-other-window-loc): Handle navigation
631         between windows (excluding the minibuffer window - Bug#16017).
633 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
635         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
636         in D-Bus type syntax.
637         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
638         preserve unibyte strings.  (Bug#16048)
640 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
642         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
643         Call force-mode-line-update is the proper buffer (bug#16042).
645 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
647         * vc/log-edit.el (log-edit-add-new-comment): Rename to
648         `log-edit-remember-comment', make argument optional.  Adjust all
649         callers.
650         (log-edit-mode): Add `log-edit-remember-comment' to
651         `kill-buffer-hook' locally.
652         (log-edit-kill-buffer): Don't remember comment explicitly since
653         the buffer is killed anyway.
655 2013-12-04  Juri Linkov  <juri@jurta.org>
657         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
658         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
660 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
662         * notifications.el (notifications-close-notification): Call the
663         D-Bus method with ID being a `:uint32'.  (Bug#16030)
665 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
667         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
669 2013-12-03  Juri Linkov  <juri@jurta.org>
671         * progmodes/compile.el (compilation-start): Rename window alist
672         entry `no-display-ok' to `allow-no-window'.
674         * simple.el (shell-command): Add window alist entry
675         `allow-no-window' to `display-buffer'.
676         (async-shell-command): Doc fix.
678         * window.el (display-buffer-no-window): New action function.
679         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
681 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
683         * vc/log-edit.el (log-edit-set-header): Extract from
684         `log-edit-toggle-header'.
685         (log-edit-extract-headers): Separate the summary, when extracted
686         from header, from the rest of the message with an empty line.
688         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
689         line, if present, to the Summary header.
691 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
693         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
694         in current-buffer (bug#16029).
696 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
698         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
699         (debugger-mode-map): Bind it.
700         (debugger--backtrace-base): New function.
701         (debugger-eval-expression): Use it.
702         (debugger-frame-number): Skip local vars when present.
703         (debugger--locals-visible-p, debugger--insert-locals)
704         (debugger--show-locals, debugger--hide-locals): New functions.
706 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
708         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
709         "LC_ALL".
710         (tramp-get-remote-locale): New defun.
711         (tramp-open-connection-setup-interactive-shell): Use it.
713 2013-12-02  Leo Liu  <sdl.web@gmail.com>
715         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
717         * progmodes/sh-script.el (sh-shell-process):
718         * progmodes/octave.el (inferior-octave-process-live-p):
719         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
720         (gdb-inferior-io-sentinel):
721         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
723 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
725         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
726         `save-selected-window' to `log-edit-hide-buf'.  This makes
727         `log-edit-show-files' idempotent.
728         (log-edit-show-files): Mark the new window as dedicated.
730 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
732         * vc/log-edit.el (log-edit-mode-map): Add binding for
733         `log-edit-kill-biffer'.
734         (log-edit-hide-buf): Add a FIXME comment.
735         (log-edit-add-new-comment): New function, extracted from
736         `log-edit-done'.
737         (log-edit-done, log-edit-add-to-changelog): Use it.
738         (log-edit-kill-buffer): New command.
740 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
742         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
743         instead of killing the buffer.
745 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
749 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
751         * net/eww.el (eww-form-checkbox-selected-symbol)
752         (eww-form-checkbox-symbol): New customizable variable.
753         (eww-form-checkbox, eww-toggle-checkbox):
754         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
756         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
757         (shr--get-media-pref, shr--extract-best-source): New function.
758         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
759         no :src tag was specified.
761         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
762         (eww-render): Handle `eww-use-external-browser-for-content-type'.
763         Use \\` to match beginning of string instead of ^.
764         (eww-browse-with-external-browser): Provide optional URL parameter.
765         (eww-render): Set `eww-current-title' back to "".
767         * net/shr.el (shr-tag-video): Display content for video if no
768         poster is available.
769         (shr-tag-audio): Add support for <audio> tag.
771         * net/eww.el (eww-text-input-types): : New const.
772         (eww-process-text-input): Treat input types in
773         `eww-text-input-types' as text.
775         * net/shr.el (shr-tag-table): Fix comment typo.
777 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
779         * net/eww.el (eww-follow-link): New command to avoid reloading
780         pages when we follow #target links (bug#15243).
781         (eww-quit): Special mode buffers shouldn't query before exiting.
783 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
785         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
786         forms.
788 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
790         * net/eww.el (eww-restore-history): Update the window title after
791         moving in the history.
792         (eww-current-dom): New variable used to save the current DOM.
794 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
796         * vc/log-edit.el (log-edit-mode-map): Add binding for
797         `log-edit-beginning-of-line'.
798         (log-edit-setup-add-author): New user option.
799         (log-edit-beginning-of-line): New command.
800         (log-edit): Move major mode call above the contents setup so that
801         the local variable values are already applied.
802         (log-edit): Only insert "Author: " when
803         `log-edit-setup-add-author' is non-nil.
804         (log-edit): When SETUP is non-nil, position point after ": "
805         instead of point-min.
807 2013-12-01  Glenn Morris  <rgm@gnu.org>
809         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
811 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
813         * startup.el (fancy-splash-frame): On MS-Windows, trigger
814         redisplay to make sure the initial frame gets a chance to become
815         visible.  (Bug#16014)
817 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
819         Support resizing frames and windows pixelwise.
820         * cus-start.el (frame-resize-pixelwise)
821         (window-resize-pixelwise): New entries.
822         * emacs-lisp/debug.el (debug): Use window-total-height instead
823         of window-total-size.
824         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
825         * help.el (describe-bindings-internal): Call help-buffer
826         (temp-buffer-max-width): New option.
827         (resize-temp-buffer-window, help-window-setup)
828         (with-help-window): Rewrite.
829         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
830         dragging dividers.
831         * window.el (frame-char-size, window-min-pixel-height)
832         (window-safe-min-pixel-height, window-safe-min-pixel-width)
833         (window-min-pixel-width, window-safe-min-pixel-size)
834         (window-combination-p, window-safe-min-size)
835         (window-resizable-p, window--size-to-pixel)
836         (window--pixel-to-size, window--resize-apply-p): New functions.
837         (window-safe-min-height): Fix doc-string.
838         (window-size, window-min-size, window--min-size-1)
839         (window-sizable, window-sizable-p, window--min-delta-1)
840         (window-min-delta, window--max-delta-1, window-max-delta)
841         (window--resizable, window--resizable-p, window-resizable)
842         (window-full-height-p, window-full-width-p, window-at-side-p)
843         (window--in-direction-2, window-in-direction)
844         (window--resize-reset-1, window--resize-mini-window)
845         (window-resize, window-resize-no-error)
846         (window--resize-child-windows-normal)
847         (window--resize-child-windows, window--resize-siblings)
848         (window--resize-this-window, window--resize-root-window)
849         (window--resize-root-window-vertically)
850         (adjust-window-trailing-edge, enlarge-window, shrink-window)
851         (maximize-window, minimize-window, delete-window)
852         (quit-restore-window, window-split-min-size, split-window)
853         (balance-windows-2, balance-windows)
854         (balance-windows-area-adjust, balance-windows-area)
855         (window--state-get-1, window-state-get, window--state-put-1)
856         (window--state-put-2, window-state-put)
857         (display-buffer-record-window, window--display-buffer):
858         Make functions handle pixelwise sizing of windows.
859         (display-buffer--action-function-custom-type)
860         (display-buffer-fallback-action):
861         Add display-buffer-in-previous-window.
862         (display-buffer-use-some-window): Resize window to height it had
863         before.
864         (fit-window-to-buffer-horizontally): New option.
865         (fit-frame-to-buffer): Describe new values.
866         (fit-frame-to-buffer-bottom-margin): Replace with
867         fit-frame-to-buffer-margins.
868         (window--sanitize-margin): New function.
869         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
870         using window-text-pixel-size.
872 2013-11-30  Glenn Morris  <rgm@gnu.org>
874         * emacs-lisp/bytecomp.el (byte-compile-form):
875         Make the `interactive-only' warning like the `obsolete' one.
876         * comint.el (comint-run):
877         * files.el (insert-file-literally, insert-file):
878         * replace.el (replace-string, replace-regexp):
879         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
880         (goto-line, insert-buffer, next-line, previous-line):
881         Tweak `interactive-only' spec.
883         Stop keeping (most) generated cedet grammar files in the repository.
884         * Makefile.in (semantic): New.
885         (compile-main): Depend on semantic.
887 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
889         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
890         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
892         * uniquify.el (uniquify-buffer-name-style): Change default.
894         * loadup.el: Preload "uniquify".
896         * time.el (display-time-update): Update all mode lines (bug#15999).
898         * electric.el (electric-indent-mode): Enable by default.
899         * loadup.el: Preload "electric".
901 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
903         * emacs-lisp/helpers.el (string-empty-p): New function.
904         (string-blank-p): New function.
906 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
908         * imenu.el (imenu--index-alist): Add missing dot to the docstring
909         (Bug#14029).
911 2013-11-29  Andreas Politz  <politza@fh-trier.de>
912         * imenu.el (imenu--subalist-p): Don't error on non-conses and
913         allow non-lambda lists as functions.
914         (imenu--in-alist): Don't recurse into non-subalists.
915         (imenu): Don't pass function itself as an argument (Bug#14029).
917 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
919         * progmodes/python.el (python-mode-map): Remove binding for ":".
920         (python-indent-electric-colon): Remove command.
921         (python-indent-post-self-insert-function): Integrate the previous code
922         of python-indent-electric-colon.  Make it conditional on
923         electric-indent-mode.
924         (python-mode): Add ?: to electric-indent-chars.
925         Move python-indent-post-self-insert-function to the end of
926         post-self-insert-hook.
928 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
930         * doc-view.el (doc-view-goto-page): Update mode-line.
932         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
934 2013-11-27  Glenn Morris  <rgm@gnu.org>
936         * international/charprop.el, international/uni-bidi.el:
937         * international/uni-category.el, international/uni-combining.el:
938         * international/uni-comment.el, international/uni-decimal.el:
939         * international/uni-decomposition.el, international/uni-digit.el:
940         * international/uni-lowercase.el, international/uni-mirrored.el:
941         * international/uni-name.el, international/uni-numeric.el:
942         * international/uni-old-name.el, international/uni-titlecase.el:
943         * international/uni-uppercase.el:
944         Remove generated files from VCS repository.
946 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
948         * filenotify.el (file-notify-add-watch): Don't special-case
949         w32notify when computing the directory to watch.
951 2013-11-27  Glenn Morris  <rgm@gnu.org>
953         Make bootstrap without generated uni-*.el files possible again.
954         * loadup.el: Update command-line-args checking for unidata-gen.
955         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
956         * composite.el, international/characters.el:
957         Handle unicode tables being undefined.
959         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
960         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
961         (compile-main): Depend on leim rule.
962         (leim): New rule.
963         * loadup.el: Move leim-list.el to leim/ subdirectory.
964         * startup.el (normal-top-level): No more leim directory.
965         * international/ja-dic-cnv.el (skkdic-convert):
966         Disable version-control and autoloads in output files.
967         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
968         Disable version-control and autoloads in output files.
969         * leim/quail: Move here from ../leim.
970         * leim/quail/hangul.el (hangul-input-method-activate):
971         Add autoload cookie.
972         (generated-autoload-load-name): Set file-local value.
973         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
974         (generated-autoload-load-name): Set file-local value.
976 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
978         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
979         (eww-add-bookmark): ask confirmation when add to bookmarks
980         (eww-quit): ask confirmation before quitting eww
982 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
984         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
985         reading output from Diff on MS-Windows and MS-DOS.
987 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
989         * emacs-lisp/helpers.el (string-reverse): New function.
991 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
993         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
994         names on MS Windows, like "/[::1]:".
996         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
997         SWITCHES.
999 2013-11-26  Glenn Morris  <rgm@gnu.org>
1001         * progmodes/python.el (python-indent-guess-indent-offset):
1002         Avoid corner-case error.  (Bug#15975)
1004         Preload leim-list.el.  (Bug#4789)
1005         * loadup.el: Load leim-list.el when found.
1006         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1008 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
1010         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1012         * emacs-lisp/helpers.el (string-join): New function.
1014 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
1016         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1017         Mark as obsolete and replace it with a symbol property.
1018         (byte-compile-form): Use new 'interactive-only property.
1019         * comint.el, files.el, replace.el, simple.el:
1020         Apply new 'interactive-only properly.
1022 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
1024         * window.el (display-buffer-at-bottom): Make sure that
1025         split-window-sensibly creates the new window on bottom
1026         (Bug#15961).
1028 2013-11-23  David Kastrup  <dak@gnu.org>
1030         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1031         on the conflict markers when available.
1032         (smerge--get-marker): New function.
1033         (smerge-end-re, smerge-base-re): Add subgroup.
1035 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1037         * frame.el (handle-focus-in, handle-focus-out): Add missing
1038         interactive spec.
1040 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
1042         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1043         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1045 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1047         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
1048         (gomoku--last-pos): New var.
1049         (gomoku--intangible-chars): New const.
1050         (gomoku--intangible): New function.
1051         (gomoku-mode): Use it.  Derive from special-mode.
1052         (gomoku-move-up): Adjust line count.
1053         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1054         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1055         Simplify accordingly.
1057         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1058         Remove blink-cursor code.
1059         (blink-cursor-timer-function, blink-cursor-suspend):
1060         Don't special-case GUIs.
1061         (blink-cursor-mode): Use focus-in/out-hook.
1063 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
1065         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1066         work when annotation is invisible (Bug#13886).
1068 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
1070         * json.el (json-alist-p): Only return non-nil if the alist has
1071         simple keys (Bug#13518).
1073 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
1075         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1076         when control-statement is the first statement in a buffer (Bug#15956).
1078 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
1080         * imenu.el (imenu-generic-skip-comments-and-strings):
1081         New option (Bug#15560).
1082         (imenu--generic-function): Use it.
1084 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
1086         * minibuffer.el (completion--in-region-1): Scroll the correct
1087         window. (Bug#13898)
1089 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
1091         * emacs-lisp/helpers.el: Add some string helpers.
1092         (string-trim-left): Removes leading whitespace.
1093         (string-trim-right): Removes trailing whitespace.
1094         (string-trim): Removes leading and trailing whitespace.
1096         * subr.el (string-suffix-p): New function.
1098 2013-11-23  Glenn Morris  <rgm@gnu.org>
1100         * progmodes/python.el (python-shell-send-file):
1101         Add option to delete file when done.  (Bug#15647)
1102         (python-shell-send-string, python-shell-send-region): Use it.
1104 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1106         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1107         to set buffer-read-only to t, never to nil.  (Bug#15938)
1109         * textmodes/tex-mode.el (latex-noindent-environments):
1110         Add safe-local-variable property.  (Bug#15936)
1112 2013-11-23  Glenn Morris  <rgm@gnu.org>
1114         * textmodes/enriched.el (enriched-mode): Doc fix.
1115         * emacs-lisp/authors.el (authors-renamed-files-alist):
1116         Add enriched.doc -> enriched.txt.
1118         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1120 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1122         * progmodes/octave.el (inferior-octave-startup): Spit out error
1123         message.
1125 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
1127         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1128         Improve docstring.
1129         Add :version.
1130         (ruby-encoding-magic-comment-style): Add :version.
1132 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1134         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1135         (Bug#15076)
1136         (octave-help-mode): Adapt to change to help-mode-finish to use
1137         derived-mode-p on 2013-09-17.
1138         (inferior-octave-prompt): Also match octave-gui.
1139         (octave-kill-process): Don't ask twice.  (Bug#10564)
1141 2013-11-22  Leo Liu  <sdl.web@gmail.com>
1143         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1144         (inferior-octave-startup, inferior-octave-check-process)
1145         (inferior-octave-track-window-width-change)
1146         (octave-completion-at-point, octave-eldoc-function): Use it.
1147         (octave-kill-process): Provide confirmation.  (Bug#10564)
1149 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1151         * progmodes/octave.el (octave-mode, inferior-octave-mode):
1152         Fix obsolete variable comment-use-global-state.
1154 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1156         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1157         Add `octave-source-file'.
1158         (octave-source-file): New function.  (Bug#15935)
1160 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
1162         * net/eww.el (eww-local-regex): New variable.
1163         (eww): Use it to detect localhost and similar.
1165 2013-11-21  Leo Liu  <sdl.web@gmail.com>
1167         Add completion for command `ag'.
1168         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1169         (pcomplete/ag): New function.
1170         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1172 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1174         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1175         (bug#14646).
1176         (make-obsolete): Remove interactive spec.
1178 2013-11-21  Glenn Morris  <rgm@gnu.org>
1180         * startup.el (command-line-1): Use path-separator with -L.
1182 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
1184         * emacs-lisp/package.el (describe-package-1): Add package archive
1185         to shown fields.
1187 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
1189         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1190         Change default to "# encoding: %s" to differentiate it from the
1191         default Ruby encoding comment template.
1193 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
1195         * ses.el (ses-mode): Doc fix.  (Bug#14748)
1197 2013-11-20  Leo Liu  <sdl.web@gmail.com>
1199         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
1201 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
1203         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1204         when rebase or bisect are in progress.
1206 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
1208         * filenotify.el (file-notify-add-watch): Doc fix.
1210 2013-11-19  Leo Liu  <sdl.web@gmail.com>
1212         * obsolete/rcompile.el: Mark obsolete.
1214         * progmodes/compile.el (compilation-start)
1215         (compilation-goto-locus, compilation-find-file):
1216         Pass no-display-ok and handle nil value from display-buffer.
1217         (Bug#13594)
1219         * window.el (display-buffer-alist, display-buffer): Document the
1220         new parameter no-display-ok.  Return either a window or nil
1221         but never a non-window value.
1223 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1225         * electric.el (electric-indent-mode-map): Remove.
1226         (electric-indent-mode): Change the global-map instead (bug#15915).
1228         * textmodes/text-mode.el (paragraph-indent-minor-mode):
1229         Use add-function.
1231 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1233         * emacs-lisp/nadvice.el (remove-function): Align with
1234         add-function's behavior.
1236         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1237         (gdb--string-regexp): New constant.
1238         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1239         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1240         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1241         submatch 1.
1242         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1243         Adjust use accordingly.
1244         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1246 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
1248         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1249         interpolation curlies (Bug#15914).
1251 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1253         * calc/calc.el (calc-context-sensitive-enter): New variable.
1254         (calc-enter): Use `calc-context-sensitive-enter'.
1256 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
1258         * progmodes/cfengine.el: Version bump.
1259         (cfengine-cf-promises): New defcustom to locate cf-promises.
1260         (cfengine3-vartypes): Add new "data" type.
1261         (cfengine3--current-word): New function to get current name-like
1262         word or its bounds.
1263         (cfengine3--current-function): New function to look up a CFEngine
1264         function's definition.
1265         (cfengine3-format-function-docstring): New function.
1266         (cfengine3-make-syntax-cache): New function.
1267         (cfengine3-documentation-function): New function: ElDoc glue.
1268         (cfengine3-completion-function): New function: completion glue.
1269         (cfengine3-mode): Set `compile-command',
1270         `eldoc-documentation-function', and add to
1271         `completion-at-point-functions'.
1273 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
1275         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1276         `tramp-current-connection'.
1278 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
1280         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1281         nil/self/true/false with "end of symbol".
1283 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
1285         * subr.el (version-regexp-alist): Fix a typo.
1287 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
1289         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1290         "en_US.utf8" and "LC_CTYPE" to "".
1291         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1292         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1294 2013-11-15  Leo Liu  <sdl.web@gmail.com>
1296         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
1298 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1300         * progmodes/gud.el (ctl-x-map):
1301         Remove C-x SPC binding.  (Bug#12342)
1302         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1304 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
1306         * subr.el (version-regexp-alist):
1307         Recognize hg, svn and darcs versions as snapshot versions.
1309         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1310         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1311         (ruby--encoding-comment-required-p): Extract from
1312         `ruby-mode-set-encoding'.
1313         (ruby-mode-set-encoding): Add the ability to always insert an
1314         utf-8 encoding comment.  Fix and simplify coding comment update
1315         logic.
1317 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
1319         * net/tramp-gvfs.el (top): Run init code only when
1320         `tramp-gvfs-enabled' is not nil.
1321         (tramp-gvfs-enabled): Check also :system bus.
1323 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1325         Sync with upstream verilog-mode revision 78e66ba.
1326         * progmodes/verilog-mode.el (verilog-end-of-defun)
1327         (verilog-type-completion, verilog-get-list): Remove unused funcs.
1328         (verilog-get-end-of-defun): Remove unused argument.
1329         (verilog-comment-depth): Remove unused local `e'.
1330         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1331         Don't pass arg to verilog-get-end-of-defun.
1333 2013-11-14  Glenn Morris  <rgm@gnu.org>
1335         * obsolete/assoc.el (aget): Prefix dynamic variable.
1337         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1339 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1341         * widget.el, hfy-cmap.el: Remove bogus package version number.
1343 2013-11-13  Glenn Morris  <rgm@gnu.org>
1345         * replace.el (replace-eval-replacement):
1346         Try to give more helpful error message.  (Bug#15836)
1348         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1349         (archive-7z-update): Avoid custom type mismatches.
1351         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1353 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
1355         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1356         address can be empty.
1358         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1359         Accept nil SWITCHES.
1360         (tramp-gvfs-handle-write-region): Implement APPEND.
1362 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
1364         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1365         binary "|" operator and closing block args delimiter.
1366         Remove FIXME comment referring to Ruby 1.8-only syntax.
1367         (ruby-smie--implicit-semi-p): Not after "|" operator.
1368         (ruby-smie--closing-pipe-p): New function.
1369         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1370         (ruby-smie-rules): Indent after "|".
1372 2013-11-12  Glenn Morris  <rgm@gnu.org>
1374         * ps-print.el (ps-face-attribute-list):
1375         Handle anonymous faces.  (Bug#15827)
1377 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
1379         * window.el (display-buffer-other-frame): Fix doc-string.
1380         (Bug#15868)
1382 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1384         * subr.el (force-mode-line-update): Delete, move to buffer.c.
1386 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
1388         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1389         (tramp-sh-handle-file-local-copy): Don't write a message when
1390         saving temporary files.
1392         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1393         both directories are remote.
1394         (tramp-smb-handle-directory-files): Do not return double entries.
1395         Do not expand full file names.
1396         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1397         (tramp-smb-handle-write-region): Implement APPEND.
1398         (tramp-smb-get-stat-capability): Fix a stupid bug.
1400 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1402         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1404 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1406         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1407         throwing error over malformed let/let* (bug#15814).
1409 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1411         * iswitchb.el (iswitchb-mode): Mark obsolete.
1413 2013-11-11  Glenn Morris  <rgm@gnu.org>
1415         * international/uni-bidi.el, international/uni-category.el:
1416         * international/uni-name.el, international/uni-numeric.el:
1417         Regenerate for Unicode 6.3.0.
1419 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1421         * net/tramp.el (tramp-methods):
1422         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1423         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1425 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1427         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1428         Force highlighting text after Summary keyword in doc face for rpm.
1430 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1432         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1433         available and the word has no wildcards, append one to the grep pattern.
1434         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1435         (ispell-complete-word): Call `ispell-lookup-words' with the value
1436         independent of `ispell-look-p'.
1438 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1440         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1441         Not after "||".
1442         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1443         their parent.
1445 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1447         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1448         (ruby-font-lock-keywords): Use backquote.
1450 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1452         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1453         (ruby-smie--backward-token): Only consider full-string matches.
1455 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1457         * faces.el (describe-face): Add distant-foreground.
1459 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1461         * progmodes/ruby-mode.el: Improve encoding comment handling.
1462         (ruby-encoding-magic-comment-style): New option.
1463         (ruby-custom-encoding-magic-comment-template): New option.
1464         (ruby--insert-coding-comment, ruby--detect-encoding):
1465         New functions extracted from `ruby-mode-set-encoding'.
1466         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1467         to control the style of the auto-inserted encoding comment.
1469 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1471         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1472         Use `smie-backward-sexp' with token argument.
1474 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1476         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1477         Remove instrumentation code.
1479 2013-11-08  Glenn Morris  <rgm@gnu.org>
1481         * progmodes/autoconf.el (autoconf-mode):
1482         Tweak comment-start-skip.  (Bug#15822)
1484 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1486         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1487         at bobp (bug#15826).
1488         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1490 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1492         * man.el (Man-start-calling): New macro, extracted from
1493         Man-getpage-in-background.
1494         (Man-getpage-in-background): Use it.
1495         (Man-update-manpage): New command.
1496         (Man-mode-map): Bind it.
1498 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1500         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1501         of "and", "or", "&&" and "||".
1502         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1503         argument.  Prohibit opening curly brace because it could only be a
1504         block opener in that position.
1505         (ruby-smie--forward-token, ruby-smie--backward-token):
1506         Separate "|" from "&" or "*" going after it.  That can happen in block
1507         arguments.
1508         (ruby-smie--indent-to-stmt): New function, seeks the end of
1509         previous statement or beginning of buffer.
1510         (ruby-smie-rules): Use it.
1511         (ruby-smie-rules): Check if there's a ":" before a curly block
1512         opener candidate; if there is, it's a hash.
1514 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1516         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1517         (cl--block-wrapper): Fix last accidental change.
1519 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1521         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1522         Instrument, in order to hunt failure on hydra.
1524 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1526         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1527         malformed bindings form (bug#15814).
1529 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1531         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1532         "." compared to " @ ".  This incidentally fixes some indentation
1533         examples with "do".
1534         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1535         (ruby-smie-grammar): New tokens: "and" and "or".
1536         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1537         Exclude "and" and "or".  Remove "do" in order to work around token
1538         priorities.
1539         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1540         beginning-of-buffer.
1542 2013-11-06  Glenn Morris  <rgm@gnu.org>
1544         * Makefile.in (setwins_almost, setwins_for_subdirs):
1545         Avoid accidental matches.
1547 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1549         * menu-bar.el (popup-menu): Use key-binding.
1551 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1553         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1554         menus, support also the menus produced by minor modes.
1555         (Bug#15817)
1557 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1559         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1560         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1562 2013-11-06  Glenn Morris  <rgm@gnu.org>
1564         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1565         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1566         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1568 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1570         * electric.el (electric-indent-just-newline): New command.
1571         (electric-indent-mode-map): New keymap.
1572         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1573         Re-add :group which weren't redundant.
1575         * electric.el (electric-indent-local-mode): New minor mode.
1576         (electric-indent-functions-without-reindent): New var.
1577         (electric-indent-post-self-insert-function): Use it.
1578         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1580 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1582         * international/quail.el (quail-help): Be more explicit about the
1583         meaning of the labels shown on the keys.  (Bug#15800)
1585         * startup.el (normal-top-level): Load the subdirs.el files before
1586         setting the locale environment.  (Bug#15805)
1588 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1590         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1591         via arguments so as to get the right ones (bug#15418).
1593         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1595 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1597         Fix problems found while writing a test suite.
1599         * net/tramp-compat.el (tramp-compat-load): New defun.
1600         * net/tramp.el (tramp-handle-load): Use it.
1602         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1603         "(numberp ok-if-already-exists)" correctly.
1605 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1607         * international/characters.el (glyphless-char-display-control):
1608         Add usage note.
1610 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1612         * progmodes/python.el (python-mode):
1613         * progmodes/scheme.el (scheme-mode):
1614         * progmodes/prolog.el (prolog-mode):
1615         * progmodes/ruby-mode.el (ruby-mode):
1616         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1617         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1619 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1621         * rect.el (rectangle--highlight-for-redisplay):
1622         * emacs-lisp/smie.el (smie--next-indent-change):
1623         Use buffer-chars-modified-tick.
1625         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1627         * electric.el (electric-indent-post-self-insert-function):
1628         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1630 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1632         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1634 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1636         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1637         (bug#15786).
1639 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1641         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1643         * progmodes/python.el: Fix up last change.
1644         (python-shell--save-temp-file): New function.
1645         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1646         `string' comes from the current buffer.
1647         (python-shell-send-string-no-output): Remove `msg' arg.
1648         (python--use-fake-loc): New var.
1649         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1650         extra coding line added by python-shell--save-temp-file.
1651         (python-shell-send-region): Use python-shell--save-temp-file and
1652         python-shell-send-file directly.  Add `nomain' argument.
1653         (python-shell-send-buffer): Use python-shell-send-region.
1654         (python-electric-pair-string-delimiter): New function.
1655         (python-mode): Use it.
1657 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1659         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1660         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1661         environment and decoding all of the default-directory's to here
1662         from command-line.
1663         (command-line): Decode also argv[0].
1665         * loadup.el: Error out if default-directory is a multibyte string
1666         when we are dumping.
1668         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1670 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1672         * emacs-lisp/package.el (package-menu-mode)
1673         (package-menu--print-info, package-menu--archive-predicate):
1674         Add Archive column to package list.
1676 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1678         Fix problems found while writing a test suite.
1680         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1681         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1682         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1683         to nil when running original file name handler.  Otherwise,
1684         there are problems with constructs like "$$FOO".
1686         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1687         for `localname'.
1689 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1691         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1693         * subr.el (version<, version<=, version=):
1694         Update docstrings with information for snapshot versions.
1696         * helpers.el: New library for misc helper functions.
1697         (hash-table-keys): New function returning a list of hash keys.
1698         (hash-table-values): New function returning a list of hash values.
1700 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1702         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1703         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1705 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1707         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1708         checking whether point is after a 1-letter word.
1710 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1712         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1713         Don't infloop when expanding region over `multiline' syntax-type that
1714         begins a line (bug#15778).
1716 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1718         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1719         Make it into a proper minor mode.
1720         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1721         (rectangle-mark-mode-map): New keymap.
1722         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1724 2013-11-04  Glenn Morris  <rgm@gnu.org>
1726         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1728 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1731         (ruby-smie-rules): Use smie-rule-parent instead.
1733         * emacs-lisp/smie.el (smie-rule-parent): Always call
1734         smie-indent-virtual rather than only for hanging tokens.
1735         (smie--next-indent-change): New helper command.
1737 2013-11-03  Glenn Morris  <rgm@gnu.org>
1739         * Makefile.in (abs_srcdir): Remove.
1740         (emacs): Unset EMACSLOADPATH.
1742 2013-11-02  Glenn Morris  <rgm@gnu.org>
1744         * Makefile.in (EMACS): Use a relative filename.
1745         (abs_top_builddir): Remove.
1746         (custom-deps, finder-data, autoloads): Use --chdir.
1748         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1750         Use relative filenames in TAGS files.
1751         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1752         (lisptagsfiles4, TAGS): Use relative file names.
1753         (TAGS-LISP): Remove.
1754         (maintainer-clean): No more TAGS-LISP file.
1756         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1757         (lisptagsfiles4): Use absolute filenames again.
1758         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1759         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1760         (maintainer-clean): Delete TAGS, TAGS-LISP.
1762 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1764         * emacs-lisp/package.el (package-version-join):
1765         Recognize snapshot versions.
1767 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1769         * subr.el (version-regexp-alist): Add support for snapshot versions.
1771 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1773         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1774         New function, replacement for `smie-rule-parent' for when we want to
1775         skip over our direct parent if it's an assignment token..
1776         (ruby-smie-rules): Use it.
1778 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1780         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1781         unconditionally.  Remove now unnecessary forward declarations.
1782         Remove XEmacs-specific setup.
1783         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1784         (ruby-font-lock-syntactic-keywords)
1785         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1786         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1787         (ruby-here-doc-end-syntax): Remove.
1788         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1789         defined as function.
1791 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1793         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1795 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1797         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1798         table and abbrev table, `define-derived-mode' does that for us
1799         anyway.
1801 2013-11-01  Glenn Morris  <rgm@gnu.org>
1803         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1804         files is atomic for some time, so no parallel compilation issues).
1806 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1808         * faces.el (face-x-resources): Add :distant-foreground.
1809         (region): Use :distant-foreground for gtk and ns.
1811 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1813         Allow multiple bibliographies when BibLaTeX is used rather than
1814         BibTeX.
1815         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1816         (reftex-locate-bibliography-files): Us it.
1818 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1820         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1821         allow comments in pbm files.
1823         * term/w32-win.el (dynamic-library-alist): Support newer versions
1824         of libjpeg starting with v7: look only for the DLL from the
1825         version against which Emacs was built.
1826         Support versions of libpng beyond 1.4.x.
1827         Support libtiff v4.x.
1829 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1831         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1832         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1833         Add property :safe.
1834         (ruby-deep-arglist): Add property :type.
1836 2013-10-31  Glenn Morris  <rgm@gnu.org>
1838         * Makefile.in (custom-deps, finder-data): No need to setq the target
1839         variables, we are in the right directory and the defaults work fine.
1841 2013-10-30  Glenn Morris  <rgm@gnu.org>
1843         * Makefile.in (autoloads): Do not use abs_lisp.
1845         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1846         `newline' does not respect `standard-output', so use `princ'.
1848 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1850         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1851         * buff-menu.el (Buffer-menu--unmark): New function.
1852         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1854 2013-10-30  Glenn Morris  <rgm@gnu.org>
1856         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1858         * emacs-lisp/package.el (lm-homepage): Declare.
1860         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1861         Fix doc typos.
1863         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1865         * Makefile.in (finder-data, autoloads, update-subdirs)
1866         (compile-main, compile-clean, compile-always, bootstrap-clean):
1867         Check return value of cd.
1868         (compile-calc): Remove.
1870 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1872         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1874         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1875         (byte-compile-and-folded): New function.
1876         (=, <, >, <=, >=): Use it.
1878         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1879         (path-separator, null-device, buffer-file-coding-system)
1880         (lpr-headers-switches): Check system-type before modifying them.
1881         (find-buffer-file-type-coding-system): Mark obsolete.
1882         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1883         find-file-not-found-set-buffer-file-coding-system.
1884         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1885         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1886         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1887         (w32-direct-print-region-helper, w32-direct-print-region-function)
1888         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1889         * startup.el (normal-top-level-add-subdirs-to-load-path):
1890         * ps-print.el (ps-print-region-function):
1891         * lpr.el (print-region-function): Use new name.
1893         * subr.el (custom-declare-variable-early): Remove function.
1894         (custom-declare-variable-list): Remove var.
1895         (error, user-error): Remove `while' loop.
1896         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1897         (user-emacs-directory-warning, locate-user-emacs-file):
1898         Move to files.el.
1899         * simple.el (read-quoted-char-radix, read-quoted-char):
1900         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1901         Move from subr.el.
1902         * custom.el (custom-declare-variable-list): Don't process
1903         custom-declare-variable-list.
1905         * progmodes/python.el (python-shell-get-buffer): New function.
1906         (python-shell-get-process): Use it.
1907         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1908         Python which encoding was used.  Don't split-string since we only care
1909         about the first line.  Return the temp-file, if applicable.
1910         (python-shell-send-region): Tell compile.el how to turn locations in
1911         the temp-file into locations in the source buffer.
1913 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1915         * subr.el (undefined): Add missing behavior from the C code for
1916         unbound keys.
1918         * rect.el: Use lexical-binding.  Add new rectangular region support.
1919         (rectangle-mark): New command.
1920         (rectangle--region): New var.
1921         (deactivate-mark-hook): Reset rectangle--region.
1922         (rectangle--extract-region, rectangle--insert-for-yank)
1923         (rectangle--highlight-for-redisplay)
1924         (rectangle--unhighlight-for-redisplay): New functions.
1925         (region-extract-function, redisplay-unhighlight-region-function)
1926         (redisplay-highlight-region-function): Use them to handle
1927         rectangular region.
1928         * simple.el (region-extract-function): New var.
1929         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1930         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1931         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1932         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1933         (redisplay-unhighlight-region-function)
1934         (redisplay-highlight-region-function): New vars.
1935         (redisplay--update-region-highlight): New function.
1936         (pre-redisplay-function): Use it.
1937         (exchange-point-and-mark): Don't deactivate the mark before
1938         reactivate-it anyway.
1939         * comint.el (comint-kill-region): Remove yank-handler argument.
1940         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1941         (delete-char): Remove property, since it's now part of their
1942         default behavior.
1943         (self-insert-iso): Remove property since this command doesn't exist.
1945         * emacs-lisp/package.el (package--download-one-archive)
1946         (describe-package-1): Don't query the user about final newline.
1948 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1950         * net/tramp.el (tramp-methods): Document new functionality.
1951         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1952         tramp-hostname-checker if method provides one instead of scanning
1953         argument list for "%h" to decide hostname acceptability.
1955 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1957         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1958         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1959         Handle COPY-CONTENTS.  (Bug#15737)
1961 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1963         * epa-file.el
1964         (epa-file-cache-passphrase-for-symmetric-encryption):
1965         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1967 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1969         * image.el (defimage):
1970         (image-load-path): Doc fixes.
1972 2013-10-27  Alan Mackenzie  <acm@muc.de>
1974         Indent statements in macros following "##" correctly.
1975         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1976         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1978 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1980         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1982 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1984         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1985         after `=' is probably a new expression.
1987 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1989         * man.el (man-imenu-title): New option.
1990         (Man-mode-map): Add menu.  (Bug#15722)
1991         (Man-mode): Add imenu to menu.
1993 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1995         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1996         specific in what the first arg can be: a non-keyword word,
1997         string/regexp/percent literal opener, opening paren, or unary
1998         operator followed directly by word.
2000 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2002         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2003         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2004         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2005         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2006         Remove vars, they do not apply any more.
2007         (prolog-mode-abbrev-table): Remove redundant declaration.
2008         (prolog-upper-case-string, prolog-lower-case-string): Remove.
2009         (prolog-use-smie): Remove.
2010         (prolog-smie-rules): Add indentation rule for the if-then-else layout
2011         supported by prolog-electric-if-then-else-flag.
2012         (prolog-mode-variables, prolog-menu): Use setq-local.
2013         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2014         Remove binding to `Backspace' since this key doesn't exist anyway.
2015         Remove bindings for electric self-inserting keys.
2016         (prog-mode): Assume it's defined.
2017         (prolog-post-self-insert): New function.
2018         (prolog-mode): Use it.
2019         (prolog-indent-line, prolog-indent-level)
2020         (prolog-find-indent-of-matching-paren)
2021         (prolog-indentation-level-of-line, prolog-goto-comment-column)
2022         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2023         (prolog-goto-next-paren, prolog-in-string-or-comment)
2024         (prolog-tokenize, prolog-inside-mline-comment)
2025         (prolog-find-start-of-mline-comment): Remove functions.
2026         (prolog-find-unmatched-paren, prolog-clause-end)
2027         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2028         (prolog-electric--if-then-else): Rename from
2029         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2030         (prolog-tokenize-searchkey): Remove const.
2031         (prolog-clause-info): Use forward-sexp.
2032         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2033         (prolog-electric-if-then-else): Remove commands.
2034         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2035         for use in post-self-insert-hook.
2036         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2037         for use in post-self-insert-hook.
2038         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2039         for use in post-self-insert-hook.
2040         (prolog-electric--underscore): Rename from prolog-electric--underscore;
2041         adapt it for use in post-self-insert-hook.
2043 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
2045         * emacs-lisp/ert.el (ert-run-tests-interactively):
2046         Use `completing-read'.  (Bug#9756)
2048 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
2050         * simple.el (line-move): Call line-move-1 instead of
2051         line-move-visual when the current window hscroll is zero, but
2052         temporary-goal-column indicates we will need to hscroll as result
2053         of the movement.  (Bug#15712)
2055 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
2057         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2058         capitalization.  Use :visible instead of :active.
2059         Fix `ruby-indent-exp' reference.  Add menu items for the generic
2060         commands that are used with SMIE.
2061         (ruby-do-end-to-brace): Insert space after `{'.
2063 2013-10-25  John Anthony  <john@jo.hnanthony.com>
2065         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
2067         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
2069 2013-10-25  Glenn Morris  <rgm@gnu.org>
2071         * vc/vc.el (vc-print-log): Don't use a working revision unless
2072         one was explicitly specified.  (Bug#15322)
2074 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * subr.el (add-to-list): Preserve return value in compiler-macro
2077         (bug#15692).
2079 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2081         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2082         result.  Ask user to retry using '-all' flag.  (Bug#15701)
2084 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2086         * emacs-lisp/smie.el: New smie-config system.
2087         (smie-config): New defcustom.
2088         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2089         (smie-config-guess, smie-config-save): New commands.
2090         (smie-config--mode-local, smie-config--buffer-local)
2091         (smie-config--trace, smie-config--modefuns): New vars.
2092         (smie-config--advice, smie-config--mode-hook)
2093         (smie-config--setter, smie-config-local, smie-config--get-trace)
2094         (smie-config--guess-value, smie-config--guess): New functions.
2095         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2096         text properties.  Treat "string fence" syntax like string syntax.
2098         * progmodes/sh-script.el (sh-use-smie): Change default.
2099         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2100         (sh-var-value): Simplify by CSE.
2101         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2102         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2103         is used.
2104         (sh-guess-basic-offset): Use cl-incf.
2105         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2107 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
2109         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2110         (bug#15699).
2112 2013-10-24  Glenn Morris  <rgm@gnu.org>
2114         * Makefile.in (abs_top_srcdir): Remove.
2115         (update-subdirs): Use relative path to update-subdirs.
2117 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
2119         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2120         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2121         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2122         Call unmsys--file-name before expand-file-name, not after it.
2124 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
2126         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2127         (ert-test-skipped): New error.
2128         (ert-skip, ert-stats-skipped): New defuns.
2129         (ert--skip-unless): New macro.
2130         (ert-test-skipped): New struct.
2131         (ert--run-test-debugger, ert-test-result-type-p)
2132         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2133         (ert--stats-set-test-and-result, ert-char-for-test-result)
2134         (ert-string-for-test-result, ert-run-tests-batch)
2135         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2136         Handle skipped tests.  (Bug#9803)
2138 2013-10-24  Glenn Morris  <rgm@gnu.org>
2140         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2142         * Makefile.in (abs_top_srcdir): New, set by configure.
2143         (update-subdirs): Correct build-aux location.
2145 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
2147         * vc/vc.el (vc-print-root-log): Always set `default-directory'
2148         value, whether we could auto-deduce `backend', or not.
2150         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2151         with parameters" example.  Simplify the "is it block or is it
2152         hash" check, but also make it more thorough.
2154 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
2156         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
2158 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2160         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2161         { if it is hanging.
2163         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2164         :before ";".
2166 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
2168         * progmodes/compile.el (compilation-directory-matcher)
2169         (compilation-page-delimiter):
2170         Support GNU Make-4.0 directory quoting.  (Bug#15678)
2172 2013-10-23  Leo Liu  <sdl.web@gmail.com>
2174         * ido.el (ido-tidy): Handle read-only text.
2176 2013-10-23  Glenn Morris  <rgm@gnu.org>
2178         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2179         (emacs, compile, compile-always):
2180         Quote entities that might contain whitespace.
2181         (custom-deps, finder-data, autoloads): Use abs_lisp.
2182         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2183         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2184         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2186 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
2188         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2189         Use `following-char'.
2191 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2194         * progmodes/ruby-mode.el (ruby-smie-rules):
2195         Remove corresponding workaround.  Fix indentation rule of ";" so it
2196         also applies when ";" is the parent.
2198 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
2200         * frame.el (display-screens, display-pixel-height)
2201         (display-pixel-width, display-mm-width, display-backing-store)
2202         (display-save-under, display-planes, display-color-cells)
2203         (display-visual-class, display-monitor-attributes-list):
2204         Mention the optional ‘display’ argument in doc strings.
2206 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
2208         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2209         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
2211 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2213         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2214         TODO.  Add "." after " @ ".
2215         (ruby-smie--at-dot-call): New function.  Checks if point at method
2216         call with explicit target.
2217         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2218         to the method name tokens when it precedes them.
2219         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2220         (ruby-smie-rules): Add rule for indentation before and after "."
2221         token.
2223 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2225         * textmodes/remember.el (remember-diary-extract-entries):
2226         Avoid add-to-list.
2228         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2229         an instruction.
2231 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
2233         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2234         (ruby-smie--implicit-semi-p): Add new operator chars.
2236         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2237         `smie-down-list'.
2238         (ruby-smie--args-separator-p): Check that there's no newline
2239         between method call and its arguments.
2241 2013-10-20  Alan Mackenzie  <acm@muc.de>
2243         Allow comma separated lists after Java "implements".
2245         * progmodes/cc-engine.el (c-backward-over-enum-header):
2246         Parse commas.
2247         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2248         from a "disallowed" list in enum fontification.
2250 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
2252         * startup.el (default-frame-background-mode): Remove unused defvar.
2254         * progmodes/verilog-mode.el (verilog-mode): Don't set
2255         comment-indent-function globally.
2257 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
2259         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2260         Move Info menu item creation to ns-win.el.
2262         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2263         in menu bar.
2265         * menu-bar.el: Move GNUStep specific menus...
2267         * term/ns-win.el (ns-initialize-window-system): ... to here.
2269 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2271         * simple.el (newline): Only run post-self-insert-hook when
2272         called interactively.
2274 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
2276         * icomplete.el (icomplete-with-completion-tables): Add :version.
2278 2013-10-19  Alan Mackenzie  <acm@muc.de>
2280         Fix fontification bugs with constructors and const.
2282         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2283         CASE 2) Remove the check for the absence of a suffix construct
2284         after a function declaration with only types (no identifiers) in
2285         the parentheses.  Also, accept a function declaration with just a
2286         type inside the parentheses, if this type can be positively
2287         recognised as such, or if a prefix keyword like "explicit" nails
2288         down the construct as a declaration.
2290 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
2292         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2293         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
2294         the problem whereby selecting a menu item that leads to a
2295         minibuffer prompt moves the cursor out of the minibuffer window,
2296         making it hard to type at the prompt.  Suggested by Stefan Monnier
2297         <monnier@iro.umontreal.ca>.
2299 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
2301         * menu-bar.el: Don't make Services menu.
2303 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2305         * ffap.el: Handle "/usr/include/c++/<version>" directories.
2306         (ffap-alist): Use ffap-c++-mode for c++-mode.
2307         (ffap-c++-path): New variable.
2308         (ffap-c++-mode): New function.
2310 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
2312         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
2314 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
2316         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2317         introduced on 2013-09-08, which results in an infinite loop
2318         requesting a password.
2320 2013-10-18  Glenn Morris  <rgm@gnu.org>
2322         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2324 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
2326         Sync with upstream verilog-mode revision 1a6ecec7.
2327         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2328         (verilog-mode-release-date): Remove.
2329         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2330         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2331         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2332         (verilog-auto-tieoff-ignore-regexp)
2333         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2334         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2335         (verilog-signals-with, verilog-dir-cache-preserving)
2336         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2337         Doc fixes.
2338         (verilog-case-fold): New option, to control case folding in
2339         regexp searches, bug597.
2340         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2341         (verilog-string-match-fold, verilog-in-paren-count)
2342         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2343         (verilog-at-close-struct-p): New functions.
2344         (verilog-beg-block-re-ordered, verilog-extended-case-re)
2345         (verilog-forward-sexp, verilog-set-auto-endcomments):
2346         (verilog-leap-to-case-head): Handle "unique0" case.
2347         (verilog-in-constraint-re): New constant.
2348         (verilog-keywords, verilog-type-font-keywords):
2349         Add some SystemVerilog 1800-2012 keywords.
2350         (verilog-label-be): Remove unimplemented argument, bug669.
2351         (verilog-batch-execute-func): When batch expanding clear
2352         create-lockfiles to prevent spurious user locks when a file ends
2353         up not changing.
2354         (verilog-calculate-indent, verilog-calc-1)
2355         (verilog-at-close-constraint-p, verilog-at-constraint-p)
2356         (verilog-do-indent): Fix indentation of nested constraints
2357         and structures.
2358         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2359         (verilog-auto-inst-param): Use verilog-string-match-fold.
2360         (verilog-read-inst-module-matcher):
2361         Fix AUTOINST on gate primitives with #1.
2362         (verilog-read-decls): Fix double-declaring user-defined typed signals.
2363         Reads all user-defined typed variables.
2364         (verilog-read-defines): Fix reading definitions inside comments, bug647.
2365         (verilog-signals-matching-regexp)
2366         (verilog-signals-not-matching-regexp, verilog-auto):
2367         Respect verilog-case-fold.
2368         (verilog-diff-report): Fix line count.
2369         (verilog-auto-assign-modport): Remove unused local `modi'.
2370         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2371         better handle multidimensional arrays.
2372         Fix packed array ports misadding bit index in AUTOINST, bug637.
2373         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2374         to not double-declare existing outputs and inputs, respectively.
2375         (verilog-template-map): Bind U to verilog-sk-uvm-component.
2376         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2377         (verilog-sk-uvm-component): New skeleton.
2378         (verilog-submit-bug-report): Add verilog-case-fold,
2379         remove verilog-mode-release-date.
2381 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
2383         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2384         as before.
2386 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
2388         * textmodes/remember.el (remember): set buffer-offer-save in
2389         remember buffers (bug#13566).
2391 2013-10-18  Daniel Colascione  <dancol@dancol.org>
2393         When evaluating forms in ielm, direct standard output to ielm
2394         buffer.  Add new ielm-return-for-effect command.  Remove trailing
2395         whitespace throughout.
2397         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2398         (ielm-return-for-effect): New command.
2399         (ielm-send-input): Accept optional `for-effect' parameter.
2400         (ielm-eval-input): Accept optional `for-effect' parameter.
2401         Bind `standard-output' to stream we create using
2402         `ielm-standard-output-impl'.  Suppress printing result when
2403         `for-effect'.
2404         (ielm-standard-output-impl): New function.
2405         (inferior-emacs-lisp-mode): Explain new features in documentation.
2407 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
2409         Code cleanup.
2411         * net/tramp.el (tramp-debug-message): Do not check for connection
2412         buffer.
2413         (tramp-message): Use "vector" connection property.
2415         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2416         (tramp-equal-remote, tramp-eshell-directory-change)
2417         * net/tramp-adb.el (tramp-adb-handle-copy-file)
2418         (tramp-adb-handle-rename-file)
2419         * net/tramp-cmds.el (tramp-list-remote-buffers)
2420         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2421         * net/tramp-compat.el (tramp-compat-process-running-p)
2422         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2423         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2424         (tramp-gvfs-handle-rename-file)
2425         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2426         (tramp-set-file-uid-gid)
2427         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2428         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2429         of `file-remote-p'.
2431         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2432         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2433         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2434         (tramp-gw-open-network-stream): Suppress unrelated traces.
2436         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2437         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2438         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2439         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2440         connection property.
2442         * net/tramp-cache.el (top): Suppress traces when reading
2443         persistency file.
2445         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2446         Refactor common code.  Improve debug message.
2447         (tramp-maybe-open-connection)
2448         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2449         connection buffer too early.
2451         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2452         from `tramp-smb-actions-with-acl'.
2453         (tramp-smb-actions-set-acl): New defconst.
2454         (tramp-smb-handle-copy-directory)
2455         (tramp-smb-action-get-acl): New defun, renamed from
2456         `tramp-smb-action-with-acl'.
2457         (tramp-smb-action-set-acl): New defun.
2458         (tramp-smb-handle-set-file-acl): Rewrite.
2460 2013-10-17  Glenn Morris  <rgm@gnu.org>
2462         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2464 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2466         * skeleton.el (skeleton-newline): Remove.
2467         (skeleton-internal-1): Use (insert "\n") instead.
2469         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2470         let-bindings.
2472         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2473         forward-sexp-function while we redo its job (bug#15613).
2475 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2477         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2478         represented by lists.
2480 2013-10-16  Glenn Morris  <rgm@gnu.org>
2482         * tmm.el (tmm--history): New dynamic variable.
2483         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2485 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2487         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2488         (tramp-smb-errors): Add error messages.
2489         (tramp-smb-actions-with-acl): New defconst.
2490         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2491         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2492         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2493         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2494         (tramp-smb-get-stat-capability): Fix tests.
2496 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2498         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2499         (bug#15580).
2501 2013-10-16  Glenn Morris  <rgm@gnu.org>
2503         * ansi-color.el (ansi-color-drop-regexp):
2504         Add 1J, 1K, 2K.  (Bug#15617)
2506         * files.el (hack-local-variables--warned-lexical): New.
2507         (hack-local-variables):
2508         Warn about misplaced lexical-binding.  (Bug#15616)
2510         * net/eww.el (eww-render): Always set eww-current-url,
2511         and update header line.  (Bug#15622)
2512         (eww-display-html): ... Rather than just doing it here.
2514 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2516         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2517         menu navigations commands.
2519 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2521         * progmodes/subword.el (subword-capitalize): Be careful when
2522         the search for [[:alpha:]] fails (bug#15580).
2524 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2526         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2527         to commands that scroll the menu.
2529 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2531         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2532         Handle methods ending with `?' and `!'.
2534 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2536         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2537         `japanese-cp932' to `cp932' to fix the problem where saving a
2538         source file written in Shift_JIS twice would end up having
2539         `coding: japanese-cp932' which Ruby could not recognize.
2540         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2541         in `ruby-encoding-map'.
2542         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2543         doesn't need to be explicitly declared in magic comment.
2544         (ruby-encoding-map): Add type declaration for better customize UI.
2546 2013-10-13  Glenn Morris  <rgm@gnu.org>
2548         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2549         Occur buffers are read-only.  http://bugs.debian.org/720775
2551         * emacs-lisp/authors.el (authors-fixed-entries):
2552         Comment out old alpha stuff.
2554 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2556         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2557         to `after-save-hook' instead of `before-save-hook'.
2558         (ruby-mode-set-encoding): Use the value of coding system used to
2559         write the file.  Call `basic-save-buffer-1' after modifying the
2560         buffer.
2562 2013-10-13  Alan Mackenzie  <acm@muc.de>
2564         Fix indentation/fontification of Java enum with
2565         "implements"/generic.
2567         * progmodes/cc-engine.el (c-backward-over-enum-header):
2568         Extracted from the three other places and enhanced to handle generics.
2569         (c-inside-bracelist-p): Uses new function above.
2570         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2571         function above.
2572         (c-font-lock-enum-tail): Uses new function above.
2574 2013-10-13  Kenichi Handa  <handa@gnu.org>
2576         * international/mule-cmds.el (select-safe-coding-system): Remove a
2577         superfluous condition in chekcing whether a coding system is safe
2578         or not.
2580 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2582         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2584 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2586         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2588 2013-10-13  Glenn Morris  <rgm@gnu.org>
2590         * menu-bar.el (menu-bar-update-buffers):
2591         Unify Buffers menu prompt string.  (Bug#15576)
2593         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2595         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2596         Add some entries.
2597         (authors-fixed-entries): Use accented form of name.
2599 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2601         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2602         method calls (bug#15594).
2603         (ruby-smie--args-separator-p): New function.
2604         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2605         recognize paren-free method calls.
2607         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2608         internals of universal-argument.
2610 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2612         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2613         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2614         dropped menu on second mouse click on the menu bar.
2616 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2618         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2619         (explicit-shell-file-name): Declare.
2620         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2621         (sh-completion-at-point-function): New function.
2622         (sh-mode): Use it.
2623         (sh-smie--keyword-p): Remove unused argument.
2624         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2625         vars.
2626         (sh-set-shell): Always setup SMIE, even if we use the
2627         old indentation code.
2629 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2631         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2632         cases of ? and =.
2633         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2634         predicate would return nil are almost non-existent.
2635         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2637         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2638         cache also after commands that modify the buffer but don't move
2639         point.
2641 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2643         * env.el (substitute-env-in-file-name): New function.
2644         (substitute-env-vars): Extend the meaning of the optional arg.
2646 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2648         * term/w32-win.el (dynamic-library-alist): Define separate lists
2649         of GIF DLLs for versions before and after 5.0.0 of giflib.
2650         (Bug#15531)
2652 2013-10-10  João Távora  <joaotavora@gmail.com>
2654         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2655         not locked, use last revision and current source as
2656         defaults.  (Bug#15569)
2658 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2660         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2661         menu-bar is hidden.
2663 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2665         * window.el (pop-to-buffer-same-window): Fix doc-string.
2666         (Bug#15492)
2668 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2670         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2672 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2674         * calendar/icalendar.el (icalendar-import-file):
2675         Fix interactive spec.  (Bug#15482)
2677 2013-10-10  Glenn Morris  <rgm@gnu.org>
2679         * desktop.el (desktop-save): Default to saving in .emacs.d,
2680         since PWD is no longer in desktop-path by default.  (Bug#15319)
2682         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2683         now that text mode has a menu with the same entry.
2684         (menu-bar-text-mode-auto-fill): Remove now unused func.
2685         * textmodes/text-mode.el (text-mode-map):
2686         Use auto-fill help text from menu-bar.el.
2688 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2690         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2692 2013-10-09  Juri Linkov  <juri@jurta.org>
2694         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2695         instead of this-command-keys.  Add universal-argument-more and
2696         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2698 2013-10-09  Glenn Morris  <rgm@gnu.org>
2700         * vc/vc-svn.el (vc-svn-create-repo):
2701         Expand paths in file://... url.  (Bug#15446)
2703         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2704         Add some entries.
2705         (authors): Remove unused local variables.
2707 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2709         * profiler.el: Create a more coherent calltree from partial backtraces.
2710         (profiler-format): Hide the tail with `invisible' so that C-s can still
2711         find the hidden elements.
2712         (profiler-calltree-depth): Don't recurse so enthusiastically.
2713         (profiler-function-equal): New hash-table-test.
2714         (profiler-calltree-build-unified): New function.
2715         (profiler-calltree-build): Use it.
2716         (profiler-report-make-name-part): Indent the calltree less.
2717         (profiler-report-mode): Add visibility specs for profiler-format.
2718         (profiler-report-expand-entry, profiler-report-toggle-entry):
2719         Expand the whole subtree when provided with a prefix arg.
2721 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2723         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2724         iuwu-mod token.
2725         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2726         hanging iuwu-mod token.
2727         (ruby-smie--forward-token): Do not include a dot after a token in
2728         that token.
2729         (ruby-smie--backward-token): Likewise.
2731 2013-10-08  Juri Linkov  <juri@jurta.org>
2733         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2734         to isearch-other-control-char.
2735         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2736         and isearch-post-command-hook to post-command-hook.
2737         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2738         and isearch-post-command-hook from post-command-hook.
2739         (isearch-unread-key-sequence)
2740         (isearch-reread-key-sequence-naturally)
2741         (isearch-lookup-scroll-key, isearch-other-control-char)
2742         (isearch-other-meta-char): Remove functions.
2743         (isearch-pre-command-hook, isearch-post-command-hook):
2744         New functions based on isearch-other-meta-char rewritten
2745         relying on the new behavior of overriding-terminal-local-map
2746         that does not replace the local keymaps any more.  (Bug#15200)
2748 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2750         Support menus on text-mode terminals.
2751         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2752         functionality.
2754         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2756         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2757         Move here from mouse.el.
2758         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2759         and arrow keys.
2760         (tty-menu-navigation-map): New map for TTY menu navigation.
2762         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2764         * frame.el (display-mouse-p): Report text-mode mouse as available
2765         on w32.
2766         (display-popup-menus-p): Report availability if mouse is
2767         available; don't condition on window-system.
2769         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2770         (tty-menu-selected-face): New faces.
2772 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2774         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2775         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2776         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2777         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2778         New constants.
2779         (lisp-mode-variables): New `elisp' argument.
2780         (emacs-lisp-mode): Use it.
2781         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2782         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2784         * indent.el: Use lexical-binding.
2785         (indent-region): Add progress reporter.
2786         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2787         last step.
2788         (indent--next-tab-stop): New function to implement this behavior.
2789         (tab-to-tab-stop, move-to-tab-stop): Use it.
2791 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2793         * indent.el (indent-rigidly--current-indentation): New function.
2794         (indent-rigidly-map): New var.
2795         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2797 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2799         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2801 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2803         * progmodes/perl-mode.el: Use lexical-binding.
2804         Remove redundant :group args.
2805         (perl-nochange): Change default to be closer to other major modes's
2806         standard behavior.
2807         (perl-indent-line): Don't consider text on current line as a
2808         valid beginning of function from which to indent.
2810         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2811         with more than one argument (bug#15538).
2813         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2815         * vc/pcvs.el: Use lexical-binding.
2816         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2817         environment of `eval'.
2818         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2819         than a list of expressions.  Adjust callers.
2820         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2822 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2824         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2825         case of the dot in a chained method call being on the following line.
2827 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2829         * electric.el (electric-indent-inhibit): New var.
2830         (electric-indent-post-self-insert-function): Use it.
2831         * progmodes/python.el (python-mode): Set it.
2833         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2834         open braces.
2836         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2838         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2839         (css-mode): Use electric-indent-chars.
2841         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2842         (font-lock-beg, font-lock-end): Move before first use.
2843         (nxml-mode): Use syntax-propertize-function.
2844         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2845         (nxml-extend-after-change-region): Remove.
2846         * nxml/xmltok.el: Use lexical-binding.
2847         (xmltok-save): Use `declare'.
2848         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2849         * nxml/nxml-util.el: Use lexical-binding.
2850         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2851         Use `declare'.
2852         * nxml/nxml-ns.el: Use lexical-binding.
2853         (nxml-ns-save): Use `declare'.
2854         (nxml-ns-prefixes-for): Avoid add-to-list.
2855         * nxml/rng-match.el: Use lexical-binding.
2856         (rng--ipattern): Use cl-defstruct.
2857         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2858         (rng-cons-group-after, rng-subst-group-after)
2859         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2860         Use closures instead of `(lambda...).
2862 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2864         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2865         of BEG and END.
2867         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2868         Use `tramp-handle-insert-file-contents'.
2869         (tramp-gvfs-handle-insert-file-contents): Remove function.
2871         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2872         Use `save-restriction' in order to keep markers.
2874         * net/trampver.el: Update release number.
2876 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2878         * progmodes/compile.el (compilation-parse-errors):
2879         Use compilation--put-prop.
2880         (compilation--ensure-parse): Check compilation-multiline.
2882         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2884         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2885         lexical-binding.
2887         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2889         * progmodes/ruby-mode.el: Fix recently added tests.
2890         (ruby-smie-grammar): Add - and +.
2891         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2892         (ruby-smie--backward-id): New functions.
2893         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2894         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2895         any more.
2897 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2899         * register.el (register-preview-delay)
2900         (register-preview-functions): New variables.
2901         (register-read-with-preview, register-preview)
2902         (register-describe-oneline): New functions.
2903         (point-to-register, window-configuration-to-register)
2904         (frame-configuration-to-register, jump-to-register)
2905         (number-to-register, view-register, insert-register)
2906         (copy-to-register, append-to-register, prepend-to-register)
2907         (copy-rectangle-to-register): Use register-read-with-preview to
2908         read register.  (Bug#15525)
2910 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2912         * net/network-stream.el (network-stream-open-starttls): Don't add
2913         --insecure if it's already present, because that gnutls-cli
2914         rejects getting that parameter twice.
2916 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2918         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2919         keyword, too.
2921 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2923         * newcomment.el (comment-use-global-state): Change default value
2924         to t, mark obsolete (Bug#15251).
2925         (comment-beginning): In addition to `comment-to-syntax', check the
2926         value of `comment-use-global-state'.
2928 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2931         (ruby-comment-column): Follow the global default, by default.
2932         (ruby-smie-grammar): Add assignment syntax.
2933         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2934         open-paren, a comma, or a \.
2935         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2936         and line continuations.
2937         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2938         followed by implicit semi-colons.  Add rule for string concatenation
2939         and for indentation at BOB.
2940         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2942         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2943         calling next-sexp, since next-token may have skipped chars which
2944         next-sexp doesn't know should be skipped!
2946 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2948         * progmodes/octave.el (octave-send-region):
2949         Call compilation-forget-errors.
2951 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2953         * vc/vc-svn.el (vc-svn-find-admin-dir):
2954         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2955         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2956         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2957         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2959 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2961         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2963 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2965         * subr.el (read-passwd): Hide chars even when called within a context
2966         where after-change-functions is disabled (bug#15501).
2967         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2968         until we removed ourself from overriding-terminal-local-map.
2970 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2972         * progmodes/octave.el (inferior-octave-mode):
2973         Call compilation-forget-errors.
2975 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2977         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2979 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2981         * net/secrets.el (secrets-create-collection): Add optional
2982         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2983         dbus-call-method argument.  (Bug#15516)
2985 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2987         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2988         (inferior-octave-compilation-font-lock-keywords): New variables.
2989         (compilation-error-regexp-alist)
2990         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2991         (inferior-octave-mode): Use compilation-shell-minor-mode.
2993 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2995         * minibuffer.el (completion--replace): Be careful that `end' might be
2996         a marker.
2998 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3000         Add support for package signature checking.
3001         * emacs-lisp/package.el (url-http-file-exists-p)
3002         (epg-make-context, epg-context-set-home-directory)
3003         (epg-verify-string, epg-context-result-for)
3004         (epg-signature-status, epg-signature-to-string)
3005         (epg-check-configuration, epg-configuration)
3006         (epg-import-keys-from-file): Declare.
3007         (package-check-signature): New user option.
3008         (package-unsigned-archives): New user option.
3009         (package-desc): Add `signed' field.
3010         (package-load-descriptor): Set `signed' field if .signed file exists.
3011         (package--archive-file-exists-p): New function.
3012         (package--check-signature): New function.
3013         (package-install-from-archive): Check package signature.
3014         (package--download-one-archive): Check archive signature.
3015         (package-delete): Remove .signed file.
3016         (package-import-keyring): New command.
3017         (package-refresh-contents): Import default keyring.
3018         (package-desc-status): Add "unsigned" status.
3019         (describe-package-1, package-menu--print-info)
3020         (package-menu-mark-delete, package-menu--find-upgrades)
3021         (package-menu--status-predicate): Support "unsigned" status.
3023 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3025         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3026         the new compilation scheme using the new byte-codes.
3028         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3029         (byte-pophandler): New byte codes.
3030         (byte-goto-ops): Adjust accordingly.
3031         (byte-compile--use-old-handlers): New var.
3032         (byte-compile-catch): Use new byte codes depending on
3033         byte-compile--use-old-handlers.
3034         (byte-compile-condition-case--old): Rename from
3035         byte-compile-condition-case.
3036         (byte-compile-condition-case--new): New function.
3037         (byte-compile-condition-case): New function that dispatches depending
3038         on byte-compile--use-old-handlers.
3039         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3040         when we can.
3042         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3043         Optimize under `condition-case' and `catch' if
3044         byte-compile--use-old-handlers is nil.
3045         (disassemble-offset): Handle new bytecodes.
3047 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3049         * subr.el (error): Use `declare'.
3050         (decode-char, encode-char): Use advertised-calling-convention instead
3051         of the docstring to discourage use of the `restriction' arg.
3053 2013-10-03  Daiki Ueno  <ueno@gnu.org>
3055         * epg.el (epg-verify-file): Add a comment saying that it does not
3056         notify verification error as a return value nor a signal.
3057         (epg-verify-string): Ditto.
3059 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3061         * progmodes/compile.el (compilation-start): Try globbing the arg to
3062         `cd' (bug#15417).
3064 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
3066         Sync with Tramp 2.2.8.
3068         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3069         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3070         * net/trampver.el: Update release number.
3072 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
3074         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3075         and default-process-coding-system for darwin only.
3077 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3079         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3081 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
3083         * vc/vc-git.el (vc-git-grep): Disable pager.
3085 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3087         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3088         Use :url instead of :homepage, as per
3089         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3091         * newcomment.el (comment-beginning): When `comment-use-syntax' is
3092         non-nil, use `syntax-ppss' (Bug#15251).
3094 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3096         * progmodes/octave.el (inferior-octave-startup-file):
3097         Prefer ~/.emacs.d/init_octave.m.
3099 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
3101         * emacs-lisp/package.el (package-desc-from-define):
3102         Accept additional arguments as plist, convert them to an alist and store
3103         them in the `extras' slot.
3104         (package-generate-description-file): Convert extras alist back to
3105         plist and append to the `define-package' form arguments.
3106         (package--alist-to-plist): New function.
3107         (package--ac-desc): Add `extras' slot.
3108         (package--add-to-archive-contents): Check if the archive-contents
3109         vector is long enough, and if it is, pass its `extras' slot value
3110         to `package-desc-create'.
3111         (package-buffer-info): Call `lm-homepage', pass the returned value
3112         to `package-desc-from-define'.
3113         (describe-package-1): Render the homepage button (Bug#13291).
3115         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3116         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3118 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
3120         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3121         and default-process-coding-system to utf-8-unix (Bug#15402).
3123 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
3125         * subr.el (looking-back): Do not recommend using looking-back.
3127 2013-09-28  Alan Mackenzie  <acm@muc.de>
3129         Fix indentation/fontification of Java enum with "implements".
3131         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3132         regexp which matches "implements", etc., in Java.
3133         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3134         specifier clauses coming after "enum".
3135         * progmodes/cc-fonts.el (c-font-lock-declarations)
3136         (c-font-lock-enum-tail): Check for extra specifier clauses coming
3137         after "enum".
3139 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
3141         * faces.el (region): Change ns_selection_color to
3142         ns_selection_fg_color, add ns_selection_bg_color.
3144 2013-09-28  Leo Liu  <sdl.web@gmail.com>
3146         * progmodes/octave.el (inferior-octave-completion-table)
3147         (inferior-octave-completion-at-point): Minor tweaks.
3149         * textmodes/ispell.el (ispell-lookup-words): Rename from
3150         lookup-words.  (Bug#15460)
3151         (lookup-words): Obsolete.
3152         (ispell-complete-word, ispell-command-loop): All uses changed.
3154 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3156         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3157         (octave-mode-menu): Add octave-send-buffer.
3158         (octave-send-buffer): New function.
3160 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3162         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3163         octave-lookfor.
3164         (octave-mode-menu): Add octave-lookfor.
3165         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3166         octave-lookfor.
3167         (octave-lookfor): New function.
3169 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3171         * emacs-lisp/cl-macs.el:
3172         (cl--loop-destr-temps): Remove.
3173         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3174         its convention.
3175         (cl--loop-set-iterator-function): New function.
3176         (cl-loop): Adjust accordingly, so as not to use cl-subst.
3177         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3178         Bind `it' with `let' instead of substituting it with `cl-subst'.
3179         (cl--unused-var-p): New function.
3180         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3181         Eliminate some unused variable warnings (bug#15326).
3183 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
3185         * doc-view.el (doc-view-scale-reset): Rename from
3186         `doc-view-reset-zoom-level'.
3187         (doc-view-scale-adjust): New command.
3188         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3189         `doc-view-scale-adjust'.
3191 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
3193         * doc-view.el (doc-view-reset-zoom-level): New command.
3194         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3195         zoom commands (bug#15466).
3197 2013-09-26  Kenichi Handa  <handa@gnu.org>
3199         * international/quail.el (quail-help): Make it not a command.
3201 2013-09-26  Leo Liu  <sdl.web@gmail.com>
3203         * minibuffer.el (completion-all-sorted-completions): Make args
3204         optional as they are.
3206 2013-09-25  Daniel Colascione  <dancol@dancol.org>
3208         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3209         specs are and that they're not evaluated.
3211 2013-09-24  Sam Steingold  <sds@gnu.org>
3213         * midnight.el (clean-buffer-list-kill-regexps)
3214         (clean-buffer-list-kill-buffer-names): Update for the new Man
3215         buffer naming which includes the object name.
3217 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3219         * eshell/esh-cmd.el (eshell--sep-terms): New var.
3220         (eshell-parse-command, eshell-parse-pipeline): Use it since
3221         eshell-separate-commands requires a dynamic scoped var.
3222         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3224 2013-09-23  Leo Liu  <sdl.web@gmail.com>
3226         * autoinsert.el (auto-insert-alist): Make the value of
3227         lexical-binding match its file setting.
3229 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
3231         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3233         * autoarg.el (autoarg-kp-digit-argument):
3234         * electric.el (Electric-command-loop):
3235         * kmacro.el (kmacro-step-edit-insert):
3236         Do not set universal-argument-num-events.
3238 2013-09-22  Leo Liu  <sdl.web@gmail.com>
3240         * files.el (interpreter-mode-alist): Add octave.
3242 2013-09-21  Alan Mackenzie  <acm@muc.de>
3244         C++: fontify identifier in declaration following "public:" correctly.
3245         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3246         to match "public", etc.
3247         (c-decl-prefix-re): Add ":" into the C++ value.
3248         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3249         bit.  Add a check for a ":" preceded by "public", etc.
3251 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
3253         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3254         recognized by GDB 7.5 and later.
3256 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
3258         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3260 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3262         * subr.el (internal--call-interactively): New const.
3263         (called-interactively-p): Use it (bug#3984).
3265 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
3267         * vc/pcvs.el (cvs-mode-ignore):
3268         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3269         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3271 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3273         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
3274         (eshell-ls-orig-insert-directory): Remove.
3275         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
3276         (eshell-ls-use-in-dired): Use advice-add/remove.
3277         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3278         Add `orig-fun' arg for use in :around advice.
3279         Make it check (redundantly) eshell-ls-use-in-dired.
3281 2013-09-19  Glenn Morris  <rgm@gnu.org>
3283         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3285         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3287         * emacs-lisp/eieio.el (class-parent): Undo previous change.
3289 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
3291         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3292         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3293         (tramp-get-remote-python): New defuns.
3294         (tramp-get-remote-uid-with-perl)
3295         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
3296         contributed by yary <not.com@gmail.com> (tiny change).
3297         (tramp-get-remote-uid-with-python)
3298         (tramp-get-remote-gid-with-python): New defuns.  Python code
3299         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3300         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3302 2013-09-19  Glenn Morris  <rgm@gnu.org>
3304         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3306         * eshell/em-unix.el (eshell-remove-entries):
3307         Rename argument to avoid name-clash with global `top-level'.
3309         * eshell/esh-proc.el (eshell-kill-process-function):
3310         Remove eshell-reset-after-proc from eshell-kill-hook if present.
3311         (eshell-reset-after-proc): Remove unused arg `proc'.
3313         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3314         (directory-files-and-attributes): Mark unused arg.
3316         * eshell/em-unix.el (eshell-remove-entries):
3317         Remove unused arg `path'.  Update callers.
3319         * eshell/em-hist.el (eshell-hist-parse-arguments):
3320         Remove unused arg `silent'.  Update callers.
3322         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3323         Fix (f)boundp mix-up.
3325         * eshell/em-smart.el (eshell-smart-scroll-window)
3326         (eshell-disable-after-change):
3327         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3329 2013-09-18  Alan Mackenzie  <acm@muc.de>
3331         Fix fontification of type when followed by "const".
3332         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3333         "known" types from fontification.
3335 2013-09-18  Glenn Morris  <rgm@gnu.org>
3337         * emacs-lisp/chart.el (x-display-color-cells): Declare.
3338         (chart-face-list): Drop Emacsen without display-color-p.
3340         * net/eww.el (libxml-parse-html-region): Declare.
3341         (eww-display-html): Explicit error if no libxml2 support.
3343         * doc-view.el (doc-view-mode): Silence --without-x compilation.
3345         * image.el (image-type-from-buffer, image-multi-frame-p):
3346         Remove --without-x warning/error.
3348         * mouse.el (mouse-yank-primary):
3349         * term.el (term-mouse-paste):
3350         Reorder to silence --without-x compilation.
3352         * mpc.el (doc-view-mode): Silence --without-x compilation.
3354         * mail/rmailmm.el (rmail-mime-set-bulk-data):
3355         Silence --without-x compilation.
3357         * progmodes/gud.el (gud-find-file, gud-mode):
3358         Silence --without-x compilation.
3359         (tooltip-mode): Declare.
3361         * wdired.el (dired-backup-overwrite): Remove declaration.
3362         (wdired-mode-map): Add doc string.
3364         * custom.el (x-get-resource): Declare.
3366         * eshell/em-glob.el (ange-cache):
3367         * eshell/em-unix.el (ange-cache): Declare.
3369         * faces.el (x-display-list, x-open-connection, x-get-resource):
3370         Declare.
3372         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3373         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3374         Declare.
3376         * frame.el (x-display-grayscale-p, x-display-name): Declare.
3378         * net/gnutls.el (gnutls-log-level): Declare.
3380         * net/shr.el (image-size, image-animate): Declare.
3382         * simple.el (font-info): Declare.
3384         * subr.el (x-popup-dialog): Declare.
3386         * term/common-win.el (x-select-enable-primary)
3387         (x-last-selected-text-primary, x-last-selected-text-clipboard):
3388         Declare.
3390         * term/ns-win.el (x-handle-args): Declare.
3392         * term/x-win.el (x-select-enable-clipboard): Declare.
3394         * term/w32-win.el (create-default-fontset): Declare.
3396         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3397         Declare.
3399         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3400         (fit-frame-to-buffer): Explicit error if --without-x.
3401         (mouse-autoselect-window-select): Silence compiler.
3403         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3405         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3406         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3407         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3408         * eshell/esh-util.el (eshell-sublist):
3409         Remove unused local variables.
3411         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3413         * textmodes/two-column.el: Make 2C-split work for --without-x.
3414         (scroll-bar-columns): Autoload.
3415         (top-level): Require fringe when compiling.
3417 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3419         * subr.el (add-hook): Robustify to handle closure as well.
3421 2013-09-17  Glenn Morris  <rgm@gnu.org>
3423         * simple.el (messages-buffer-mode-map): Unbind "g".
3425 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3427         * help-mode.el (help-mode-finish): Use derived-mode-p.
3428         Remove obsolete highlighting.
3430         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3431         special-mode.
3432         (life): Let-bind inhibit-read-only.
3433         (life-setup): Avoid `setq'.  Use `life-mode'.
3435         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3436         which should not be needed any more.
3437         (package-menu-refresh, package-menu-describe-package): Use user-error.
3439         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3440         (eshell-post-rewrite-command-hook): Make obsolete.
3441         (eshell-parse-command): Simplify.
3442         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3443         (eshell--cmd): Declare.
3444         (eshell-parse-pipeline): Remove unused var `final-p'.
3445         Pass a dynvar to eshell-post-rewrite-command-hook.
3446         Implement the new eshell-post-rewrite-command-function.
3447         (eshell-invoke-directly): Remove unused arg `input'.
3448         * eshell/esh-io.el (eshell-io-initialize):
3449         Use eshell-post-rewrite-command-function (bug#15399).
3450         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3451         adjust to new calling convention.
3452         (eshell-create-handles): Rename args to avoid clashing with dynvar
3453         `standard-output'.
3455 2013-09-17  Glenn Morris  <rgm@gnu.org>
3457         * simple.el (messages-buffer-mode): New major mode.
3458         (messages-buffer): New function.
3459         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3460         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3461         (ert-run-test): Use `messages-buffer' function.
3462         (ert--force-message-log-buffer-truncation): Ignore read-only.
3463         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3464         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3466 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3468         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3470         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3472 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * icomplete.el (icomplete-in-buffer): New var.
3475         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3476         vars and replace them with functions.
3477         (icomplete-minibuffer-setup): Adjust accordingly.
3478         (icomplete--completion-table, icomplete--completion-predicate)
3479         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3480         New functions.
3481         (icomplete-forward-completions, icomplete-backward-completions)
3482         (icomplete-simple-completing-p, icomplete-exhibit)
3483         (icomplete-completions): Use them.
3484         (icomplete--in-region-buffer): New var.
3485         (icomplete--in-region-setup): New function.
3486         (icomplete-mode): Use it.
3488         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3489         (bug#15379).
3490         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3491         return args and options.
3492         (eshell-eval-using-options): Use the new return value of
3493         eshell--do-opts to set the options's vars in their scope.
3494         (eshell--set-option): Rename from eshell-set-option.
3495         Add arg `opt-vals'.
3496         (eshell--process-option): Rename from eshell-process-option.
3497         Add arg `opt-vals'.
3498         (eshell--process-args): Use an `opt-vals' alist to store the options's
3499         values during their processing and return them additionally to the
3500         remaining args.
3502 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3504         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3505         continuation character an operator, as far as indentation is
3506         concerned (Bug#15369).
3508 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3510         * window.el (window--state-put-2): Don't process buffer state
3511         when buffer doesn't exist any more (Bug#15382).
3513 2013-09-15  Glenn Morris  <rgm@gnu.org>
3515         * eshell/em-unix.el (eshell/rm):
3516         Make -f ignore missing files.  (Bug#15373)
3518         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3519         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3520         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3522 2013-09-14  Glenn Morris  <rgm@gnu.org>
3524         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3526 2013-09-13  Glenn Morris  <rgm@gnu.org>
3528         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3529         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3531 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3533         * frame.el (x-focus-frame): Mark as declared in frame.c.
3535 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3537         * ls-lisp.el: Use advice-add.
3538         (original-insert-directory): Remove.
3539         (ls-lisp--insert-directory): Rename from insert-directory; add
3540         `orig-fun' argument.
3541         (insert-directory): Advise.
3543 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3545         * term.el (term-emulate-terminal): Decode the command string
3546         before passing it to term-command-hook.  (Bug#15337)
3548 2013-09-13  Glenn Morris  <rgm@gnu.org>
3550         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3552         * eshell/esh-ext.el (eshell-search-path): Declare.
3554         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3555         Otherwise an error occurs if eshell-dirs module not loaded.
3557         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3559 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3561         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3562         `tramp-check-proper-host'.  Check for a valid method name.
3564         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3565         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3566         * net/tramp-sh.el (tramp-maybe-open-connection):
3567         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3569         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3570         also for hash values.
3572 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3574         * term/ns-win.el (parameters): Don't declare as dynamic.
3575         (before-make-frame-hook): Don't add ineffective function.
3577         * eshell/*.el: Use lexical-binding (bug#15231).
3579 2013-09-12  Kenichi Handa  <handa@gnu.org>
3581         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3583 2013-09-12  Glenn Morris  <rgm@gnu.org>
3585         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3586         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3588         * subr.el (do-after-load-evaluation): Also give compiler warnings
3589         when obsolete files are used (except by obsolete files).
3591         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3592         in the status output, assume `filename' is the first.  (Bug#15322)
3594         * vc/vc.el (vc-deduce-fileset): Doc fix.
3596         * calc/calc-help.el (Info-goto-node):
3597         * progmodes/cperl-mode.el (Info-find-node):
3598         * vc/ediff.el (Info-goto-node): Update declarations.
3600         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3602         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3603         (vc-bzr-pull): Require vc-dispatcher.
3604         * vc/vc-git.el (vc-compilation-mode): Declare.
3605         (vc-git-pull): Require vc-dispatcher.
3607         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3609         * progmodes/octave.el (help-button-action): Declare.
3611         * shell.el (shell-directory-tracker): Output error as a message
3612         rather than just returning it as a string.
3613         (shell-process-pushd): Remove useless use of message.
3615         * dframe.el (dframe-timer-fn):
3616         * files.el (dir-locals-read-from-file):
3617         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3618         (mpc-format):
3619         * reveal.el (reveal-post-command):
3620         * saveplace.el (load-save-place-alist-from-file):
3621         * shell.el (shell-resync-dirs):
3622         * w32-common-fns.el (x-get-selection-value):
3623         * emacs-lisp/copyright.el (copyright-find-copyright):
3624         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3625         * emulation/tpu-edt.el (tpu-copy-keyfile):
3626         * play/bubbles.el (bubbles--mark-neighbourhood):
3627         * progmodes/executable.el
3628         (executable-make-buffer-file-executable-if-script-p):
3629         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3631 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3633         Cleanup Eshell to rely less on dynamic scoping.
3634         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3635         last-value, and ext-command here.  Bind `args' closer to `body'.
3636         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3637         (eshell--args): Declare new dynamic var.
3638         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3639         last-value, and ext-command.  Pass `args' to `body'.
3640         (eshell-process-args): Bind eshell--args.
3641         (eshell-set-option): Use eshell--args.
3642         * eshell/eshell.el (eshell): Use derived-mode-p.
3643         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3644         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3645         (eshell-glob-function): Declare.
3646         * eshell/esh-util.el: Require cl-lib.
3647         (eshell-read-hosts-file): Avoid add-to-list.
3648         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3649         `err'.
3650         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3651         Declare.
3652         (eshell/diff): Remove unused var `err'.
3653         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3654         `killflag'.
3655         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3656         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3657         first use.
3658         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3659         Move declaration before first use.
3660         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3661         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3662         rely on cl-return.
3664 2013-09-12  Glenn Morris  <rgm@gnu.org>
3666         * term/ns-win.el (global-map): Remove binding for ispell-next,
3667         deleted 1999-05-29.  (Bug#15357)
3669 2013-09-11  Glenn Morris  <rgm@gnu.org>
3671         * echistory.el (electric-command-history): Remove call to deleted func.
3673         * play/landmark.el (landmark-mode): Fix typos.
3675         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3676         Check cvs-sort-ignore-file is bound.
3678         * savehist.el: No need for cl when compiling on Emacs.
3680 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3683         (bug#15338).
3684         (eshell-self-insert-command, eshell-send-invisible):
3685         Remove unused argument.
3686         (eshell-handle-control-codes): Remove unused var `orig'.
3687         Avoid delete-backward-char.
3689         * files.el (set-auto-mode): Simplify a bit further.
3691 2013-09-11  Glenn Morris  <rgm@gnu.org>
3693         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3694         (set-auto-mode): Don't regexp-quote elements.
3695         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3696         * progmodes/cc-mode.el (interpreter-mode-alist):
3697         * progmodes/ruby-mode.el (interpreter-mode-alist):
3698         Revert previous change.
3700 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3702         * play/snake.el (snake-mode):
3703         * play/mpuz.el (mpuz-mode):
3704         * play/landmark.el (lm-mode):
3705         * play/blackbox.el (blackbox-mode):
3706         * play/5x5.el (5x5-mode):
3707         * obsolete/options.el (Edit-options-mode):
3708         * net/quickurl.el (quickurl-list-mode):
3709         * net/newst-treeview.el (newsticker-treeview-mode):
3710         * mail/rmailsum.el (rmail-summary-mode):
3711         * mail/mspools.el (mspools-mode):
3712         * locate.el (locate-mode):
3713         * ibuffer.el (ibuffer-mode):
3714         * emulation/ws-mode.el (wordstar-mode):
3715         * emacs-lisp/debug.el (debugger-mode):
3716         * array.el (array-mode):
3717         * net/eudc.el (eudc-mode): Use define-derived-mode.
3718         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3719         Move initialization into declaration.
3720         (mairix-searches-mode): Use define-derived-mode.
3721         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3722         (eudc-edit-hotlist): Use dolist.
3723         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3724         (Man-mode): Use define-derived-mode.
3725         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3726         (Info-edit-mode): Use define-derived-mode.
3727         (Info-cease-edit): Use Info-mode.
3728         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3729         into declaration.
3730         (eshell-mode): Use define-derived-mode.
3731         * chistory.el (command-history-mode-map): Rename from
3732         command-history-map.
3733         (command-history-mode): Use define-derived-mode.
3734         (Command-history-setup): Remove function.
3735         * calc/calc.el (calc-trail-mode-map): New var.
3736         (calc-trail-mode): Use define-derived-mode.
3737         (calc-trail-buffer): Set calc-main-buffer manually.
3738         * bookmark.el (bookmark-insert-annotation): New function.
3739         (bookmark-edit-annotation): Use it.
3740         (bookmark-edit-annotation-mode): Make it a proper major mode.
3741         (bookmark-send-edited-annotation): Use derived-mode-p.
3742         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3743         closer to its ideal place.  Use \' to match EOS.
3745         * profiler.el (profiler-calltree-find): Use function-equal.
3747 2013-09-10  Glenn Morris  <rgm@gnu.org>
3749         * files.el (interpreter-mode-alist): Convert to regexps.
3750         (set-auto-mode): Adapt for this.  (Bug#15306)
3751         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3752         Comment out unused variable.
3753         * progmodes/cc-mode.el (interpreter-mode-alist):
3754         * progmodes/python.el (interpreter-mode-alist):
3755         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3756         * progmodes/sh-script.el (sh-set-shell):
3757         No longer use interpreter-mode-alist to get list of shells.
3759         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3761 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3763         * simple.el: Use set-temporary-overlay-map for universal-argument.
3764         (universal-argument-map): Don't use default-bindings (bug#15317).
3765         Bind switch-frame explicitly.  Replace universal-argument-minus with
3766         a conditional binding.
3767         (universal-argument-num-events, saved-overriding-map): Remove.
3768         (restore-overriding-map): Remove.
3769         (universal-argument--mode): Rename from save&set-overriding-map,
3770         and rewrite.
3771         (universal-argument, universal-argument-more, negative-argument)
3772         (digit-argument): Adjust accordingly.
3773         (universal-argument-minus): Remove.
3774         (universal-argument-other-key): Remove.
3776         * subr.el (with-demoted-errors): Add `format' argument.
3778 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3780         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3781         `tramp-cleanup-connection'.
3783         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3784         parameters KEEP-DEBUG and KEEP-PASSWORD.
3786         * net/tramp.el (tramp-file-name-handler):
3787         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3788         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3789         (tramp-maybe-open-connection):
3790         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3791         Use `tramp-cleanup-connection'.
3793         * net/tramp-sh.el (tramp-maybe-open-connection):
3794         Catch 'uname-changed inside the progress reporter.
3796 2013-09-10  Glenn Morris  <rgm@gnu.org>
3798         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3800         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3801         returns "alternate access method" in mode (eg "-rw-r--r--.").
3803 2013-09-08  Glenn Morris  <rgm@gnu.org>
3805         * saveplace.el (load-save-place-alist-from-file):
3806         Demote errors.  (Bug#15305)
3808 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3810         Improve compatibility with older Emacsen, and XEmacs.
3812         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3813         only if it is bound.  It isn't for XEmacs.
3814         (with-tramp-progress-reporter): Do not let-bind `result'.
3815         This yields to scoping errors in XEmacs.
3816         (tramp-handle-make-auto-save-file-name): New function, moved from
3817         tramp-sh.el.
3819         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3820         for `make-auto-save-file-name'.
3821         (tramp-adb--gnu-switches-to-ash):
3822         Use `tramp-compat-replace-regexp-in-string'.
3824         * net/tramp-cache.el (tramp-cache-print): Call
3825         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3827         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3828         bound.  It isn't for XEmacs.
3830         * net/tramp-compat.el (tramp-compat-copy-file):
3831         Catch `wrong-number-of-arguments' error.
3832         (tramp-compat-replace-regexp-in-string): New defun.
3834         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3835         for `make-auto-save-file-name'.
3836         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3837         `copy-file'.
3838         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3839         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3840         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3842         * net/tramp-gw.el (tramp-gw-open-network-stream):
3843         Use `tramp-compat-replace-regexp-in-string'.
3845         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3846         Call `tramp-handle-make-auto-save-file-name'.
3847         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3848         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3849         (tramp-sh-file-inotifywait-process-filter):
3850         Use `tramp-compat-replace-regexp-in-string'.
3851         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3853         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3854         for `make-auto-save-file-name'.
3855         (tramp-smb-handle-copy-directory):
3856         Call `tramp-compat-replace-regexp-in-string'.
3857         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3858         (tramp-smb-handle-copy-file): Improve error message.
3859         (tramp-smb-handle-rename-file): Rename directly only in case
3860         `newname' does not exist yet.  This is a restriction of smbclient.
3861         (tramp-smb-maybe-open-connection): Rerun the function only when
3862         `auth-sources' is non-nil.
3864 2013-09-08  Kenichi Handa  <handa@gnu.org>
3866         * international/characters.el: Set category "^" (Combining) for
3867         more characters.
3869 2013-09-07  Alan Mackenzie  <acm@muc.de>
3871         Correctly fontify Java class constructors.
3872         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3873         in Java Mode.
3874         (c-recognize-typeless-decls): Set the Java value to t.
3875         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3876         While handling a "(", add a check for, effectively, Java, and handle a
3877         "typeless" declaration there.
3879 2013-09-07  Roland Winkler  <winkler@gnu.org>
3881         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3882         field subtitle for entry type book.
3884 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3886         * minibuffer.el: Make minibuffer-complete call completion-in-region
3887         rather than other way around.
3888         (completion--some, completion-pcm--find-all-completions):
3889         Don't delay signals when debugging.
3890         (minibuffer-completion-contents): Beware fields within the
3891         minibuffer contents.
3892         (completion-all-sorted-completions): Use defvar-local.
3893         (completion--do-completion, completion--cache-all-sorted-completions)
3894         (completion-all-sorted-completions, minibuffer-force-complete):
3895         Add args `beg' and `end'.
3896         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3897         (minibuffer-complete): Use completion-in-region.
3898         (completion-complete-and-exit): New fun, extracted from
3899         minibuffer-complete-and-exit.
3900         (minibuffer-complete-and-exit): Use it.
3901         (completion--complete-and-exit): Rename from
3902         minibuffer--complete-and-exit.
3903         (completion-in-region--single-word): New function, extracted from
3904         minibuffer-complete-word.
3905         (minibuffer-complete-word): Use it.
3906         (display-completion-list): Make `common-substring' argument obsolete.
3907         (completion--in-region): Call completion--in-region-1 instead of
3908         minibuffer-complete.
3909         (completion-help-at-point): Pass boundaries to
3910         minibuffer-completion-help as args rather than via an overlay.
3911         (completion-pcm--string->pattern): Use `any-delim'.
3912         (completion-pcm--optimize-pattern): New function.
3913         (completion-pcm--pattern->regex): Handle `any-delim'.
3914         * icomplete.el (icomplete-forward-completions)
3915         (icomplete-backward-completions, icomplete-completions):
3916         Adjust calls to completion-all-sorted-completions and
3917         completion--cache-all-sorted-completions.
3918         (icomplete-with-completion-tables): Default to t.
3919         * emacs-lisp/crm.el (crm--current-element): Rename from
3920         crm--select-current-element.  Don't put an overlay but return the
3921         boundaries instead.
3922         (crm--completion-command): Take two new args to bind to the boundaries.
3923         (crm-completion-help): Adjust accordingly.
3924         (crm-complete): Use completion-in-region.
3925         (crm-complete-word): Use completion-in-region--single-word.
3926         (crm-complete-and-exit): Use completion-complete-and-exit.
3928 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3930         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3931         than dynamically.
3933 2013-09-06  Juri Linkov  <juri@jurta.org>
3935         * info.el (Info-display-images-node): When image file doesn't exist
3936         display text version of the image if it's provided in the Info file.
3937         Otherwise, display the location of missing image from SRC attribute.
3938         Add help-echo text property from ALT attribute.  (Bug#15279)
3940 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3942         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3943         (edit-abbrevs-mode): Use define-derived-mode.
3945         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3946         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3947         that it's defined.
3948         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3949         Use define-derived-mode.
3951         * epg.el (epg-start-encrypt): Minor CSE simplification.
3953 2013-09-06  William Xu  <william.xwl@gmail.com>
3955         * arc-mode.el: Add support for 7za (bug#15264).
3956         (archive-7z-program): New var.
3957         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3958         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3959         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3961 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3963         Remove URL syntax.
3965         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3966         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3967         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3968         (tramp-postfix-host-format, tramp-file-name-regexp)
3969         (tramp-completion-file-name-regexp)
3970         (tramp-completion-dissect-file-name)
3971         (tramp-handle-substitute-in-file-name): Remove 'url case.
3972         (tramp-file-name-regexp-url)
3973         (tramp-completion-file-name-regexp-url): Remove constants.
3975 2013-09-06  Glenn Morris  <rgm@gnu.org>
3977         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3979 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3981         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3982         keywords" below "here-doc beginnings" (Bug#15270).
3984 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3986         * subr.el (pop): Use `car-safe'.
3987         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3988         to detect unused `pop' return value.
3990         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3991         var `block-regexp'.
3992         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3993         (python-fill-string): Remove unused var `marker'.
3994         (python-skeleton-add-menu-items): Remove unused var `items'.
3996         * international/mule-cmds.el: Require CL.
3997         (find-coding-systems-for-charsets): Avoid add-to-list.
3998         (sanitize-coding-system-list): New function, extracted from
3999         select-safe-coding-system-interactively.
4000         (select-safe-coding-system-interactively): Use it.
4001         (read-input-method-name): Accept symbols for `default'.
4003         * emacs-lisp/advice.el (defadvice): Add indent rule.
4005 2013-09-05  Daniel Hackney  <dan@haxney.org>
4007         * dired-x.el:
4008         * net/ange-ftp.el:
4009         * net/browse-url.el:
4010         * net/dbus.el:
4011         * net/eudc.el:
4012         * net/eudcb-ldap.el:
4013         * net/eww.el:
4014         * net/imap.el:
4015         * printing.el:
4016         * vc/ediff-diff.el:
4017         * vc/ediff-init.el:
4018         * vc/ediff-merg.el:
4019         * vc/ediff-mult.el:
4020         * vc/ediff-util.el:
4021         * vc/ediff-wind.el:
4022         * vc/ediff.el:
4023         * vc/emerge.el:
4024         * vc/pcvs.el:
4025         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4026         byte compiler.  Remove some unused let-bound variables.
4028 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4031         a "ref-cell", since it gets better optimized (bug#14883).
4033 2013-09-05  Glenn Morris  <rgm@gnu.org>
4035         * progmodes/cc-awk.el (c-forward-sws): Declare.
4037 2013-09-04  Glenn Morris  <rgm@gnu.org>
4039         * generic-x.el [rul-generic-mode]: Require cc-mode.
4040         (c++-mode-syntax-table): Declare.
4041         (rul-generic-mode-syntax-table): Init in the defvar.
4043 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4045         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4046         (vc-do-command, vc-set-async-update):
4047         * vc/vc-mtn.el (vc-mtn-dir-status):
4048         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4049         (vc-hg-pull, vc-hg-merge-branch):
4050         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4051         (vc-git-merge-branch):
4052         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4053         (vc-cvs-dir-status-files):
4054         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4055         (vc-bzr-dir-status-files):
4056         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4057         * vc/vc-annotate.el: Use lexical-binding.
4058         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4059         (vc-sentinel-movepoint): Declare.
4060         (vc-annotate): Don't use `goto-line'.
4061         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4062         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4063         (vc-sentinel-movepoint): Declare.
4064         * vc/vc-svn.el: Use lexical-binding.
4065         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4066         * vc/vc-sccs.el:
4067         * vc/vc-rcs.el: Use lexical-binding.
4069         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4070         `deleted'.  Don't drop errors silently.
4072         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4074 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
4076         * vc/vc.el (vc-ignore): Rewrite.
4077         (vc-default-ignore): New function.
4078         (vc-default-ignore-completion-table): Use find-ignore-file.
4080         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4081         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4082         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4083         Remove.  Most code moved to vc.el.
4085 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4087         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4088         * net/tramp-smb.el (tramp-smb-get-file-entries):
4089         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4090         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4092         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4093         Update call to it.
4094         (eww-change-select): Remove unused var `properties'.
4095         (eww-make-unique-file-name): Remove unused var `base'.
4097         * finder.el (finder-compile-keywords): Don't mess with windows.
4099         * calculator.el (calculator-funcall): Fix typo in last change.
4101         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4103         * emacs-lisp/package.el (package-activate-1): Don't let a missing
4104         <pkg>-autoloads.el file stop us.
4106         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4107         warnings, and factor out common code.
4109 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
4111         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4112         two-character operators and whether the character preceding them
4113         changes their meaning (Bug#15208).
4115 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4117         Format code sent to Python shell for robustness.
4118         * progmodes/python.el (python-shell-buffer-substring):
4119         New function.
4120         (python-shell-send-region, python-shell-send-buffer): Use it.
4122 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
4124         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4125         * net/tramp.el (tramp-user-error): ... here.
4126         (tramp-find-method, tramp-check-proper-host)
4127         (tramp-dissect-file-name, tramp-debug-message)
4128         (tramp-handle-shell-command):
4129         * net/tramp-adb.el (tramp-adb-handle-shell-command):
4130         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4132         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4134 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
4136         * avoid.el (mouse-avoidance-point-position)
4137         (mouse-avoidance-too-close-p): Handle case where posn-at-point
4138         returns nil.
4140 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4142         * progmodes/python.el (python-shell-completion-get-completions):
4143         Drop use of deleted `comint-last-prompt-overlay'.
4144         (python-nav-if-name-main): New command.
4146 2013-09-01  Glenn Morris  <rgm@gnu.org>
4148         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4149         Avoid leading space in $wins.  Otherwise the sed command used by
4150         eg compile-main ends up containing "/*.el".  (Bug#15170)
4152         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
4154 2013-08-30  Glenn Morris  <rgm@gnu.org>
4156         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4157         Fix is-this-a-directory logic.  (Bug#15220)
4159 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4161         * textmodes/css-mode.el: Use SMIE.
4162         (css-smie-grammar): New var.
4163         (css-smie--forward-token, css-smie--backward-token)
4164         (css-smie-rules): New functions.
4165         (css-mode): Use them.
4166         (css-navigation-syntax-table): Remove var.
4167         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4168         (css-indent-calculate, css-indent-line): Remove functions.
4170         Misc changes to reduce use of `(lambda...); and other cleanups.
4171         * cus-edit.el: Use lexical-binding.
4172         (customize-push-and-save, customize-apropos)
4173         (custom-buffer-create-internal): Use closures.
4174         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4175         * progmodes/ada-xref.el: Use setq.
4176         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4177         * dframe.el: Use lexical-binding.
4178         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
4179         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4180         * descr-text.el: Use lexical-binding.
4181         (describe-text-widget, describe-text-sexp, describe-property-list):
4182         Use closures.
4183         * comint.el (comint-history-isearch-push-state): Use a closure.
4184         * calculator.el: Use lexical-binding.
4185         (calculator-number-to-string): Make it work with lexical-binding.
4186         (calculator-funcall): Same and use cl-letf.
4188         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4189         (lisp--company-doc-string, lisp--company-location): New functions.
4190         (lisp-completion-at-point): Use them to improve Company support.
4192         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4193         params of lambda expressions.
4194         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4195         (ruby-smie--opening-pipe-p): New function.
4196         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4197         symbols and matched |...| for formal params.
4198         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4199         from being treated as hanging.  Handle "rescue".
4201 2013-08-29  Glenn Morris  <rgm@gnu.org>
4203         * progmodes/cc-engine.el (c-pull-open-brace):
4204         Move definition before use.
4206 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4208         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4209         are immutable.  Don't use `unsafe' any more.
4210         (cl--defsubst-expand): Don't substitute at the same time as keeping
4211         a residual unused let-binding.  Don't use `unsafe' any more.
4213 2013-08-29  Glenn Morris  <rgm@gnu.org>
4215         * calendar/cal-china.el (calendar-chinese-year-cache):
4216         Recenter on 2015.
4218         * nxml/nxml-util.el (nxml-debug-clear-inside):
4219         Use cl-loop rather than loop.
4221         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4223         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4225 2013-08-28  Glenn Morris  <rgm@gnu.org>
4227         * progmodes/antlr-mode.el: No need to require cc-mode twice.
4229         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4231         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4233 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4235         * simple.el (repeat-complex-command--called-interactively-skip):
4236         New function.
4237         (repeat-complex-command): Use it (bug#14136).
4239         * progmodes/cc-mode.el: Minor cleanup of var declarations.
4240         (c-define-abbrev-table): Add `doc' argument.
4241         (c-mode-abbrev-table, c++-mode-abbrev-table)
4242         (objc-mode-abbrev-table, java-mode-abbrev-table)
4243         (idl-mode-abbrev-table, pike-mode-abbrev-table)
4244         (awk-mode-abbrev-table): Use it.
4245         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4246         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4247         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4248         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4249         Move initialization into the declaration; and remove any
4250         autoload cookie.
4252         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4253         and dynamic let binding.
4255         * vc/smerge-mode.el: Remove redundant :group args.
4257         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4258         to load-path.
4260 2013-08-28  Juri Linkov  <juri@jurta.org>
4262         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4263         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4264         (isearch-other-meta-char): Handle an undefined shifted printing
4265         character by downshifting it.  (Bug#15200)
4267 2013-08-28  Juri Linkov  <juri@jurta.org>
4269         * isearch.el (isearch-search): Change regexp error message for
4270         non-regexp searches.  (Bug#15166)
4272 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
4274         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4275         for portability to hosts where /bin/sh has problems.
4277 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4279         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4281 2013-08-27  Juri Linkov  <juri@jurta.org>
4283         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4284         in the keyboard macro.  (Bug#15126)
4286 2013-08-27  Juri Linkov  <juri@jurta.org>
4288         * isearch.el (isearch-quote-char): Comment out converting unibyte
4289         to multibyte, thus syncing with its `quoted-insert' counterpart.
4290         (Bug#15166)
4292 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
4294         * window.el (display-buffer-use-some-window): Add missing
4295         argument in call of get-largest-window (Bug#15185).
4296         Reported by Stephen Leake.
4298 2013-08-27  Glenn Morris  <rgm@gnu.org>
4300         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4302 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4304         * progmodes/python.el (python-font-lock-keywords): Don't return nil
4305         from a matcher-function unless there's no more matches (bug#15161).
4307 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4309         * minibuffer.el: Revert change from 2013-08-20.
4311         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4312         with text property `tramp-default', if appropriate.
4313         (tramp-check-proper-host): New defun.
4314         (tramp-dissect-file-name): Do not check hostname.  Revert change
4315         of 2013-03-18.
4316         (tramp-backtrace): Make VEC-OR-PROC optional.
4318         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4319         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4320         * net/tramp-sh.el (tramp-maybe-open-connection):
4321         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4322         Apply `tramp-check-proper-host'.
4324 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
4326         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4327         lambda expression in order to have `describe-variable' display it.
4329 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
4331         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4332         BUF can be optional.  (Bug#15186)
4334 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
4336         * progmodes/flymake.el (flymake-get-real-file-name-function):
4337         Fix broken customization.  (Bug#15184)
4339 2013-08-25  Alan Mackenzie  <acm@muc.de>
4341         Improve indentation of bracelists defined by macros (without "=").
4343         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4344         expansion begins with "{", regard it as bracelist when it doesn't
4345         contain a ";".
4347         Parse C++ inher-intro when there's a template split over 2 lines.
4349         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4350         rigorously the search for "class" etc. followed by ":".
4352         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4353         random languages a regexp which never matches rather than nil.
4355         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4357         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4358         (c-awk-regexp-one-line-possibly-open-char-list-re)
4359         (c-awk-one-line-possibly-open-regexp-re)
4360         (c-awk-one-line-non-syn-ws*-re): Remove.
4361         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4362         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4363         (c-awk-space*-unclosed-regexp-/-re): New constants.
4364         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4365         aren't regexp delimiters.
4367         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4368         handling for a rare situation in AWK Mode involving unterminated
4369         strings/regexps.
4371 2013-08-23  Glenn Morris  <rgm@gnu.org>
4373         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4375         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4377         * files.el (create-file-buffer): If the result would begin with
4378         spaces, prepend a "|" instead of removing them.  (Bug#15162)
4380 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4382         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4383         text-properties (bug#15155).
4385         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4386         exist any more.
4387         (calc-keypad-redraw): Remove unused var `pad'.
4388         (calc-keypad-press): Remove unused var `menu'.
4390 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
4392         * window.el (display-buffer-pop-up-frame):
4393         Call pop-up-frame-function with BUFFER current so `make-frame' will
4394         use it as the new frame's buffer (Bug#15133).
4396 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4398         * calendar/timeclock.el: Minor cleanups.
4399         (timeclock-ask-before-exiting, timeclock-use-display-time):
4400         Use `symbol'.
4401         (timeclock-modeline-display): Define as alias before the
4402         actual definition.
4403         (timeclock-mode-line-display): Use define-minor-mode.
4404         (timeclock-day-list-template): Make it a function, add an argument.
4405         (timeclock-day-list-required, timeclock-day-list-length)
4406         (timeclock-day-list-debt, timeclock-day-list-span)
4407         (timeclock-day-list-break): Adjust calls accordingly.
4409 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4411         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4412         Use read--expression so that completion works again.
4414 2013-08-21  Sam Steingold  <sds@gnu.org>
4416         Add rudimentary inferior shell interaction
4417         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4418         (sh-set-shell): Reset it.
4419         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4420         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4422 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4424         * align.el: Use lexical-binding.
4425         (align-region): Simplify accordingly.
4427 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4429         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4431         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4432         `non-essential' up.
4434 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4436         * net/tramp.el:
4437         * net/tramp-adb.el:
4438         * net/tramp-cmds.el:
4439         * net/tramp-ftp.el:
4440         * net/tramp-gvfs.el:
4441         * net/tramp-gw.el:
4442         * net/tramp-sh.el: Don't wrap external variable declarations by
4443         `eval-when-compile'.
4445 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4447         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4448         now that Emacs supports ImageMagick animations.
4450 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4452         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4453         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4455 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4457         * window.el (mouse-autoselect-window-select): Do autoselect when
4458         mouse pointer is on margin.
4460 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4462         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4464 2013-08-16  Glenn Morris  <rgm@gnu.org>
4466         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4467         Handle "Remote Directory" response of some clients.  (Bug#15058)
4469         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4470         Tweak warning.  (Bug#14926)
4472         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4473         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4475         * image-mode.el (image-mode-map): Add menu items to reverse,
4476         increase, decrease, reset animation speed.
4477         (image--set-speed, image-increase-speed, image-decrease-speed)
4478         (image-reverse-speed, image-reset-speed): New functions.
4479         (image-mode-map): Add bindings for speed commands.
4481         * image.el (image-animate-get-speed, image-animate-set-speed):
4482         New functions.
4483         (image-animate-timeout): Respect image :speed property.
4485 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4487         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4488         previous line (bug#15101).
4489         (debugger-eval-expression, debugger-record-expression):
4490         Use read--expression (bug#15102).
4492 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4494         Remove byte compiler warnings, visible when compiling with
4495         `byte-compile-force-lexical-warnings' set to t.
4497         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4498         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4499         (tramp-handle-unhandled-file-name-directory)
4500         (tramp-handle-file-notify-add-watch, tramp-action-login)
4501         (tramp-action-succeed, tramp-action-permission-denied)
4502         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4503         arguments with "_".
4505         * net/tramp-adb.el (tramp-adb-parse-device-names)
4506         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4507         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4508         (tramp-adb-handle-file-truename): Remove unused arguments.
4510         * net/tramp-cache.el (tramp-flush-directory-property)
4511         (tramp-flush-connection-property, tramp-list-connections)
4512         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4514         * net/tramp-compat.el (tramp-compat-make-temp-file):
4515         Rename FILENAME to F.
4517         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4518         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4519         (tramp-zeroconf-parse-workstation-device-names)
4520         (tramp-zeroconf-parse-webdav-device-names)
4521         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4523         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4524         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4526         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4527         arguments.
4528         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4529         (tramp-sh-handle-insert-file-contents-literally)
4530         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4531         with "_".
4532         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4533         Remove unused variables.
4535         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4536         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4537         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4539         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4540         Make them a defconst.
4541         (tramp-uuencode-region): Remove unused variable.
4543 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4545         * frameset.el (frameset--prop-setter): New function.
4546         (frameset-prop): Add gv-setter declaration.
4547         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4548         parameter was already set in FILTERED.  Doc fix.
4549         (frameset--record-minibuffer-relationships): Allow saving a
4550         minibufferless frame without its corresponding minibuffer frame.
4551         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4552         frame, if the frame id matches.
4553         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4554         frames before orphaned ones.
4555         (frameset-restore): Warn about orphaned windows, instead of error out.
4557 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4559         * window.el (window-make-atom): Don't overwrite parameter
4560         already present.
4561         (display-buffer-in-atom-window): Handle special case where we
4562         split an already atomic window.
4563         (window--major-non-side-window, display-buffer-in-side-window)
4564         (window--side-check): Ignore minibuffer window when walking
4565         window tree.
4566         (window-deletable-p): Return 'frame only if no other frame uses
4567         our minibuffer window.
4568         (record-window-buffer): Run buffer-list-update-hook.
4569         (split-window): Make sure window--check-frame won't destroy an
4570         existing atomic window in case the new window gets nested
4571         inside.
4572         (display-buffer-at-bottom): Ignore minibuffer window when
4573         walking window tree.  Don't split a side window.
4574         (pop-to-buffer): Don't set-buffer here, the select-window call
4575         should do that.
4576         (mouse-autoselect-window-select): Autoselect only if we are in the
4577         text portion of the window.
4579 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4581         * net/shr.el (shr-parse-image-data): New function to grab both the
4582         data itself and the Content-Type.
4583         (shr-put-image): Use it.
4585         * net/eww.el (eww-display-image): Ditto.
4587         * image.el (image-content-type-suffixes): New variable.
4589 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4591         * progmodes/python.el (python-imenu--build-tree)
4592         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4594 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4596         * simple.el (backward-word): Mention the optional argument.
4598 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4600         * frameset.el (frameset--make): Rename constructor from make-frameset.
4601         (frameset-p, frameset-valid-p): Don't autoload.
4602         (frameset-valid-p): Use normal accessors.
4604 2013-08-13  Glenn Morris  <rgm@gnu.org>
4606         * progmodes/compile.el (compile-command): Tweak example in doc.
4607         * obsolete/scribe.el (scribe-mode):
4608         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4610         * mail/feedmail.el (feedmail-confirm-outgoing)
4611         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4613         * cus-start.el (truncate-partial-width-windows): Fix type.
4615         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4617         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4619 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4621         * emacs-lisp/timer.el (timer--time-setter): New function.
4622         (timer--time): Use it as gv-setter.
4624         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4625         setter is not a symbol.
4627 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4629         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4630         if sending fails.  This makes debugging easier.
4632 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4634         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4635         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4636         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4638 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4640         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4642 2013-08-12  Glenn Morris  <rgm@gnu.org>
4644         * format.el (format-annotate-function):
4645         Handle read-only text properties in the source.  (Bug#14887)
4647 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4649         * net/eww.el (eww-display-html): Ignore coding system errors.
4650         One web site uses "utf-8lias" as the coding system.
4652 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4654         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4656 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4658         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4659         (tutorial--detailed-help): Remove unused local variables.
4660         (tutorial--save-tutorial-to): Use ignore-errors.
4661         (help-with-tutorial): Use looking-at-p.
4663         * view.el (view-buffer-other-window, view-buffer-other-frame):
4664         Mark unused arguments.
4666         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4667         (woman-select-symbol-fonts, woman, woman-find-file)
4668         (woman-insert-file-contents, woman-non-underline-faces):
4669         Use string-match-p.
4670         (woman1-unquote): Move declaration.
4672         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4673         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4674         argument.  Remove unused local variable.
4675         (xml-parse-elem-type): Use string-match-p.
4676         (xml-substitute-numeric-entities): Use ignore-errors.
4678         * calculator.el (calculator): Mark unused argument.
4679         (calculator-paste, calculator-quit, calculator-integer-p):
4680         Use ignore-errors.
4681         (calculator-string-to-number, calculator-decimal, calculator-exp)
4682         (calculator-op-or-exp): Use string-match-p.
4684         * dired.el (dired-buffer-more-recently-used-p): Declare.
4685         (dired-insert-set-properties, dired-insert-old-subdirs):
4686         Use ignore-errors.
4688         * dired-aux.el (dired-compress): Use ignore-errors.
4689         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4690         (dired-do-async-shell-command, dired-do-shell-command)
4691         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4692         (dired-insert-subdir-validate): Use string-match-p.
4693         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4694         (dired-add-entry): Use string-match-p, looking-at-p.
4695         (dired-insert-subdir-newpos): Remove unused local variable.
4697         * filenotify.el (file-notify-callback): Remove unused local variable.
4699         * filesets.el (filesets-error): Mark unused argument.
4700         (filesets-which-command-p, filesets-filter-dir-names)
4701         (filesets-directory-files, filesets-get-external-viewer)
4702         (filesets-ingroup-get-data): Use string-match-p.
4704         * find-file.el (ff-other-file-name, ff-other-file-name)
4705         (ff-find-the-other-file, ff-cc-hh-converter):
4706         Remove unused local variables.
4707         (ff-get-file-name): Use string-match-p.
4708         (ff-all-dirs-under): Use ignore-errors.
4710         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4711         (follow-select-if-visible): Remove unused local variable.
4713         * forms.el (read-file-filter): Move declaration.
4714         (forms--make-format, forms--make-parser, forms-insert-record):
4715         Quote function with #'.
4716         (forms--update): Use string-match-p.  Quote function with #'.
4718         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4719         (help-make-xrefs): Use looking-at-p.
4720         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4722         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4723         (ibuffer-confirm-operation-on): Use string-match-p.
4725         * msb.el (msb-item-handler, msb-dired-item-handler):
4726         Mark unused arguments.
4728         * ses.el (ses-decode-cell-symbol)
4729         (ses-kill-override): Remove unused local variable.
4730         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4731         (ses-load): Use ignore-errors, looking-at-p.
4732         (ses-jump-safe): Use ignore-errors.
4733         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4735         * tabify.el (untabify, tabify): Mark unused arguments.
4737         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4738         Mark unused argument.
4739         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4740         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4742         * emacs-lisp/timer.el (timer--time): Define setter with
4743         gv-define-setter to avoid deprecation warning.
4745         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4746         (*record-cmpl-statistics-p*): Remove (was commented out).
4747         (cmpl-statistics-block): Remove (body was commented out).
4748         All callers changed.
4749         (add-completions-from-buffer, load-completions-from-file):
4750         Remove unused variables.
4752 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4754         * filecache.el (file-cache-delete-file-list):
4755         Print message only when told so.
4756         (file-cache-files-matching): Use #' in mapconcat argument.
4758         * ffap.el (ffap-url-at-point): Fix reference to variable
4759         thing-at-point-default-mail-uri-scheme.
4761 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4763         * subr.el (define-error): New function.
4764         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4765         error-file-not-found and define with define-error.
4766         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4767         and define with define-error.
4768         * userlock.el (file-locked, file-supersession):
4769         * simple.el (mark-inactive):
4770         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4771         * progmodes/ada-mode.el (ada-mode-errors):
4772         * play/life.el (life-extinct):
4773         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4774         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4775         * nxml/rng-util.el (rng-error):
4776         * nxml/rng-uri.el (rng-uri-error):
4777         * nxml/rng-match.el (rng-compile-error):
4778         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4779         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4780         * nxml/nxml-rap.el (nxml-scan-error):
4781         * nxml/nxml-outln.el (nxml-outline-error):
4782         * net/soap-client.el (soap-error):
4783         * net/gnutls.el (gnutls-error):
4784         * net/ange-ftp.el (ftp-error):
4785         * mpc.el (mpc-proc-error):
4786         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4787         (json-number-format, json-string-escape, json-string-format)
4788         (json-key-format, json-object-format):
4789         * jka-compr.el (compression-error):
4790         * international/quail.el (quail-error):
4791         * international/kkc.el (kkc-error):
4792         * emacs-lisp/ert.el (ert-test-failed):
4793         * calc/calc.el (calc-error, inexact-result, math-overflow)
4794         (math-underflow):
4795         * bookmark.el (bookmark-error-no-filename):
4796         * epg.el (epg-error): Define with define-error.
4798         * time.el (display-time-event-handler)
4799         (display-time-next-load-average): Don't call sit-for since it seems
4800         unnecessary (bug#15045).
4802         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4803         Use #' instead of ' to quote functions.
4804         (checkdoc-output-mode): Use setq-local.
4805         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4806         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4807         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4808         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4809         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4810         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4811         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4812         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4814         * ido.el (ido-completion-help): Fix up compiler warning.
4816 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4818         * frameset.el (frameset-p): Add autoload cookie.
4819         (frameset--jump-to-register): New function, based on code moved from
4820         register.el.
4821         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4823         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4824         (frameset-restore, frameset-save, frameset-session-filter-alist):
4825         Remove declarations.
4826         (register-alist): Doc fix.
4827         (frameset-to-register): Move to frameset.el.
4828         (jump-to-register, describe-register-1): Remove frameset-specific code.
4830 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4832         * allout-widgets.el (allout-widgets-pre-command-business)
4833         (allout-widgets-post-command-business)
4834         (allout-widgets-after-change-handler)
4835         (allout-decorate-item-and-context, allout-set-boundary-marker)
4836         (allout-body-modification-handler)
4837         (allout-graphics-modification-handler): Mark ignored arguments.
4838         (allout-widgets-post-command-business)
4839         (allout-widgets-exposure-change-processor)
4840         (allout-widgets-exposure-undo-processor)
4841         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4842         (allout-parse-item-at-point, allout-decorate-item-guides)
4843         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4844         * allout.el (epa-passphrase-callback-function): Declare.
4845         (allout-overlay-insert-in-front-handler)
4846         (allout-overlay-interior-modification-handler)
4847         (allout-isearch-end-handler, allout-chart-siblings)
4848         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4849         (allout-yank-processing, allout-process-exposed)
4850         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4851         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4852         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4853         (lisp-indent-defform): Mark ignored arguments.
4854         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4855         (calculate-lisp-indent): Remove unused variables.
4856         * international/characters.el (indian-2-column, arabic-2-column)
4857         (tibetan): Mark ignored arguments.
4858         (use-cjk-char-width-table): Mark ignored arguments.
4859         Remove unused variables.
4860         * international/fontset.el (build-default-fontset-data)
4861         (x-compose-font-name, create-fontset-from-fontset-spec):
4862         Mark ignored arguments.
4863         (fontset-plain-name): Remove unused variables.
4864         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4865         (keyboard-coding-system): Mark ignored arguments.
4866         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4867         * help.el (resize-temp-buffer-window):
4868         * window.el (display-buffer-in-major-side-window)
4869         (display-buffer-in-side-window, display-buffer-in-previous-window):
4870         Remove unused variables.
4871         * isearch.el (isearch-forward-symbol):
4872         * version.el (emacs-bzr-version-bzr):
4873         * international/mule-cmds.el (current-language-environment):
4874         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4875         (x-handle-display):
4876         * term/pc-win.el (x-list-fonts, x-display-planes)
4877         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4878         (x-server-version, x-display-screens, x-display-mm-height)
4879         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4880         (x-selection-owner-p, x-own-selection-internal)
4881         (x-disown-selection-internal, x-get-selection-internal)
4882         (msdos-initialize-window-system):
4883         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4884         * term/x-win.el (x-handle-no-bitmap-icon):
4885         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4886         (vc-default-find-file-hook, vc-default-extra-menu):
4887         Mark ignored arguments.
4889 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4891         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4892         break-condition in the context of the debugged code (bug#12685).
4894 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4896         * comint.el:
4897         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4898         (comint-mode): Make comint-last-prompt buffer local.
4899         (comint-last-prompt): New variable.
4900         (comint-last-prompt-overlay): Remove.  Superseded by
4901         comint-last-prompt.
4902         (comint-snapshot-last-prompt, comint-output-filter):
4903         Use comint-last-prompt.
4905 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4907         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4908         (frameset-save): Check validity of the resulting frameset.
4910 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4912         * ido.el (ido-record-command): Add doc string.
4914 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4916         * frameset.el (frameset): Do not disable creation of the default
4917         frameset-p predicate.  Doc fix.
4918         (frameset-valid-p): New function, copied from the old predicate-p.
4919         Add additional checks.
4920         (frameset-restore): Check with frameset-valid-p.
4921         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4922         (frameset-name, frameset-description, frameset-properties)
4923         (frameset-states): Add docstring.
4924         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4925         (frameset-filter-alist): Doc fixes.
4927 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4929         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4931 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4933         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4934         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4935         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4936         (byte-compile-normal-call): Remove obsolescence check.
4938 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4940         * frameset.el (frameset-restore): Doc fix.
4942         * register.el (frameset-frame-id, frameset-frame-with-id)
4943         (frameset-p, frameset-restore, frameset-save): Declare.
4944         (register-alist): Document framesets.
4945         (frameset-session-filter-alist): Declare.
4946         (frameset-to-register): New function.
4947         (jump-to-register): Implement jumping to framesets.  Doc fix.
4948         (describe-register-1): Describe framesets.
4950         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4952 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4954         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4955         Use lexical-binding.
4957         * frameset.el (frameset): Use type vector, not list (incompatible
4958         change).  Do not declare a new constructor, use the default one.
4959         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4960         `name' and `description', respectively, and add read-only slot
4961         `timestamp'.  Doc fixes.
4962         (frameset-copy, frameset-persistent-filter-alist)
4963         (frameset-filter-alist, frameset-switch-to-gui-p)
4964         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4965         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4966         (frameset-filter-iconified, frameset-keep-original-display-p):
4967         Doc fixes.
4968         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4969         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4970         Doc fix.
4971         (frameset-p): Adapt to change to vector and be more thorough.
4972         Change arg name to OBJECT.  Doc fix.
4973         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4974         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4975         All callers changed.
4976         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4977         All callers changed.
4978         (frameset--record-minibuffer-relationships): Rename from
4979         frameset--process-minibuffer-frames.  All callers changed.
4980         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4981         Use new default constructor (again).  Doc fix.
4982         (frameset--find-frame-if): Rename from `frameset--find-frame.
4983         All callers changed.
4984         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4985         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4986         Doc fix.
4987         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4988         PARAMETERS and WINDOW-STATE, respectively.
4989         (frameset-restore): Add new keyword argument PREDICATE.
4990         Reset frameset--target-display to nil.  Doc fix.
4992 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4995         (bat-mode): Use it.
4996         (bat-mode-syntax-table): Mark \n as end-of-comment.
4997         (bat-font-lock-keywords): Remove comment rule.
4999         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
5000         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
5002         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5003         (byte-compile-callargs-warn): Use `push'.
5004         (byte-compile-arglist-warn): Ignore higher-order "calls".
5005         (byte-compile-file-form-autoload): Use `pcase'.
5006         (byte-compile-function-form): If quoting a symbol, check that it exists.
5008 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
5010         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5011         and add a few popular commands found in batch files.
5012         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5013         (dos-mode): Doc fixes.
5015 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5017         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5018         (dos-mode): Use setq-local.  Add space after "rem".
5019         (dos-mode-syntax-table): Don't use "w" for symbol chars.
5020         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5022 2013-08-07  Arni Magnusson  <arnima@hafro.is>
5024         * progmodes/dos.el: New file.
5025         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5026         dos-mode.
5028 2013-08-06  Glenn Morris  <rgm@gnu.org>
5030         * calendar/calendar.el: Add new faces, and day-header-array.
5031         (calendar-weekday-header, calendar-weekend-header)
5032         (calendar-month-header): New faces.
5033         (calendar-day-header-construct): New function.
5034         (calendar-day-header-width): Also :set calendar-day-header-array.
5035         (calendar-american-month-header, calendar-european-month-header)
5036         (calendar-iso-month-header): Use calendar- faces.
5037         (calendar-generate-month):
5038         Use calendar-day-header-array for day headers; apply faces to them.
5039         (calendar-mode): Check calendar-font-lock-keywords non-nil.
5040         (calendar-abbrev-construct): Add optional maxlen argument.
5041         (calendar-day-name-array): Doc fix.
5042         (calendar-day-name-array, calendar-abbrev-length)
5043         (calendar-day-abbrev-array):
5044         Also :set calendar-day-header-array, and maybe redraw.
5045         (calendar-day-header-array): New option.  (Bug#15007)
5046         (calendar-font-lock-keywords): Set to nil and make obsolete.
5047         (calendar-day-name): Add option to use header array.
5049 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5051         * net/shr.el (shr-render-td): Remove debugging.
5052         (shr-render-td): Make width computation consistent by defaulting
5053         all zero-width columns to 10 characters.  This may not be optimal,
5054         but it's at least consistent.
5055         (shr-make-table-1): Redo last change to fix the real problem in
5056         colspan handling.
5058 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5060         * files.el (cache-long-line-scans):
5061         Make obsolete alias to `cache-long-scans'.
5063 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5065         * frameset.el (frameset, frameset-filter-alist)
5066         (frameset-filter-params, frameset-save, frameset--reuse-frame)
5067         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5068         (frameset-compute-pos): Rename from frameset--compute-pos,
5069         and add docstring.
5070         (frameset-move-onscreen): Use frameset-compute-pos.
5071         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5073         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5074         Fix typos in docstrings.
5076 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
5078         * frame.el (get-other-frame): Tiny cleanup.
5080 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
5082         * vc/vc.el (vc-default-ignore-completion-table):
5083         Silence byte-compiler warning.
5085         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5086         slot , which can indeed be nil.
5087         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5088         Move entry for `left' from persistent to live filter alist.
5089         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5090         Doc fixes.
5091         (frameset-filter-params): When restoring a frame, copy items added to
5092         `filtered', to avoid unwittingly modifying the original parameters.
5093         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
5094         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5096         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5097         to use looking-at-p instead of looking-at.  (Bug#15028)
5099 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5101         Revert introduction of isearch-filter-predicates (bug#14714).
5102         Rely on add-function instead.
5103         * isearch.el (isearch-filter-predicates): Rename it back to
5104         isearch-filter-predicate.
5105         (isearch-message-prefix): Use advice-function-mapc and advice
5106         properties to get the isearch-message-prefix.
5107         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5108         instead of run-hook-with-args-until-failure.
5109         (isearch-filter-visible): Not obsolete any more.
5110         * loadup.el: Preload nadvice.
5111         * replace.el (perform-replace): Revert to funcall
5112         instead of run-hook-with-args-until-failure.
5113         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5114         * dired-aux.el (dired-isearch-filenames-mode): Rename from
5115         dired-isearch-filenames-toggle; make it into a proper minor mode.
5116         Use add/remove-function.
5117         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5118         Call the minor-mode rather than add/remove-hook.
5119         (dired-isearch-filter-filenames):
5120         Remove isearch-message-prefix property.
5121         * info.el (Info--search-loop): New function, extracted from Info-search.
5122         Funcall isearch-filter-predicate instead of
5123         run-hook-with-args-until-failure isearch-filter-predicates.
5124         (Info-search): Use it.
5125         (Info-mode): Use isearch-filter-predicate instead of
5126         isearch-filter-predicates.
5128 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5130         Do not call to `selected-window' where it is assumed by default.
5131         Affected functions are `window-minibuffer-p', `window-dedicated-p',
5132         `window-hscroll', `window-width', `window-height', `window-buffer',
5133         `window-frame', `window-start', `window-point', `next-window'
5134         and `window-display-table'.
5135         * abbrev.el (abbrev--default-expand):
5136         * bs.el (bs--show-with-configuration):
5137         * buff-menu.el (Buffer-menu-mouse-select):
5138         * calc/calc.el (calc):
5139         * calendar/calendar.el (calendar-generate-window):
5140         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5141         (diary-make-entry):
5142         * comint.el (send-invisible, comint-dynamic-complete-filename)
5143         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5144         * completion.el (complete):
5145         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5146         * disp-table.el (describe-current-display-table):
5147         * doc-view.el (doc-view-insert-image):
5148         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5149         * ehelp.el (with-electric-help):
5150         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5151         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5152         * emacs-lisp/helper.el (Helper-help-scroller):
5153         * emulation/cua-base.el (cua--post-command-handler-1):
5154         * eshell/esh-mode.el (eshell-output-filter):
5155         * ffap.el (ffap-gnus-wrapper):
5156         * help-macro.el (make-help-screen):
5157         * hilit-chg.el (highlight-compare-buffers):
5158         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5159         * hl-line.el (global-hl-line-highlight):
5160         * icomplete.el (icomplete-simple-completing-p):
5161         * isearch.el (isearch-done):
5162         * jit-lock.el (jit-lock-stealth-fontify):
5163         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5164         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5165         * mpc.el (mpc-tagbrowser, mpc):
5166         * net/rcirc.el (rcirc-any-buffer):
5167         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5168         * play/landmark.el (landmark-max-width, landmark-max-height):
5169         * play/zone.el (zone):
5170         * progmodes/compile.el (compilation-goto-locus):
5171         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5172         * progmodes/etags.el (find-tag-other-window):
5173         * progmodes/fortran.el (fortran-column-ruler):
5174         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5175         * progmodes/verilog-mode.el (verilog-point-text):
5176         * reposition.el (reposition-window):
5177         * rot13.el (toggle-rot13-mode):
5178         * server.el (server-switch-buffer):
5179         * shell.el (shell-dynamic-complete-command)
5180         (shell-dynamic-complete-environment-variable):
5181         * simple.el (insert-buffer, set-selective-display)
5182         (delete-completion-window):
5183         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5184         (speedbar-recenter):
5185         * startup.el (fancy-splash-head):
5186         * textmodes/ispell.el (ispell-command-loop):
5187         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5188         * tutorial.el (help-with-tutorial):
5189         * vc/add-log.el (add-change-log-entry):
5190         * vc/compare-w.el (compare-windows):
5191         * vc/ediff-help.el (ediff-indent-help-message):
5192         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5193         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5194         (ediff-setup-control-frame):
5195         * vc/emerge.el (emerge-position-region):
5196         * vc/pcvs-util.el (cvs-bury-buffer):
5197         * window.el (walk-windows, mouse-autoselect-window-select):
5198         * winner.el (winner-set-conf, winner-undo): Related users changed.
5200 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5202         * frameset.el (frameset--set-id): Doc fix.
5203         (frameset-frame-id, frameset-frame-id-equal-p)
5204         (frameset-locate-frame-id): New functions.
5205         (frameset--process-minibuffer-frames, frameset--reuse-frame)
5206         (frameset-restore): Use them.
5208 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
5210         Do not call to `selected-frame' where it is assumed by default.
5211         Affected functions are `raise-frame', `redraw-frame',
5212         `frame-first-window', `frame-terminal' and `delete-frame'.
5213         * calendar/appt.el (appt-disp-window):
5214         * epg.el (epg-wait-for-completion):
5215         * follow.el (follow-delete-other-windows-and-split)
5216         (follow-avoid-tail-recenter):
5217         * international/mule.el (set-terminal-coding-system):
5218         * mail/rmail.el (rmail-mail-return):
5219         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5220         * progmodes/f90.el (f90-add-imenu-menu):
5221         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5222         * server.el (server-switch-buffer):
5223         * simple.el (delete-completion-window):
5224         * talk.el (talk):
5225         * term/xterm.el (terminal-init-xterm-modify-other-keys)
5226         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5227         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5228         * vc/ediff.el (ediff-documentation): Related users changed.
5229         * frame.el (selected-terminal): Remove the leftover.
5231 2013-08-05  Glenn Morris  <rgm@gnu.org>
5233         * calendar/calendar.el (calendar-generate-month):
5234         Fix for calendar-column-width != 1 + calendar-day-digit-width.
5235         (calendar-generate-month, calendar-font-lock-keywords):
5236         Fix for calendar-day-header-width > length of any day name.
5238 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
5240         * desktop.el (desktop-clear): Use new name of sort predicate.
5242         * frameset.el (frameset): Add docstring.  Move :version property to its
5243         own `version' slot.
5244         (frameset-copy): Rename from copy-frameset.
5245         (frameset-p): Check more thoroughly.
5246         (frameset-prop): Do not check for :version, which is no longer a prop.
5247         (frameset-live-filter-alist, frameset-persistent-filter-alist):
5248         Use new :never value instead of t.
5249         (frameset-filter-alist): Expand and clarify docstring.
5250         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5251         (frameset-filter-minibuffer, frameset-filter-save-param)
5252         (frameset-filter-restore-param, frameset-filter-iconified):
5253         Add pointer to docstring of frameset-filter-alist.
5254         (frameset-filter-params): Rename filter values to be more meaningful:
5255         :never instead of t, and reverse the meanings of :save and :restore.
5256         (frameset--process-minibuffer-frames): Clarify error message.
5257         (frameset-save): Avoid unnecessary and confusing call to framep.
5258         Use new BOA constructor for framesets.
5259         (frameset--reuse-list): Doc fix.
5260         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
5261         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5262         (frameset-minibufferless-first-p): Doc fix.
5263         Rename from frameset-sort-frames-for-deletion.
5264         (frameset-restore): Doc fixes.  Use new function names.
5265         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5267 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5269         * desktop.el (desktop-restore-forces-onscreen)
5270         (desktop-restore-reuses-frames): Document :keyword constant values.
5271         (desktop-filter-parameters-alist): Remove, now identical to
5272         frameset-filter-alist.
5273         (desktop--filter-tty*): Remove, moved to frameset.el.
5274         (desktop-save-frameset, desktop-restore-frameset):
5275         Do not pass :filters argument.
5277         * frameset.el (frameset-live-filter-alist)
5278         (frameset-persistent-filter-alist): New variables.
5279         (frameset-filter-alist): Use them.  Add autoload cookie.
5280         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5281         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5282         `frameset--id' (it's supposed to be internal to frameset.el).
5283         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
5284         (frameset--initial-params): New function.
5285         (frameset--get-frame): Use it.  Doc fix.
5286         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5287         Accept :all, not 'all.
5288         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5289         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
5290         with fbound symbols.  Fix frame id matching, and remove matching ids if
5291         the frame being restored is deleted.  Obey :delete.
5293 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5295         * subr.el (macrop): New function.
5296         (text-clone--maintaining): New var.
5297         (text-clone--maintain): Rename from text-clone-maintain.  Use it
5298         instead of inhibit-modification-hooks.
5300         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5301         a proxy, so as handle autoloads and redefinitions of the target.
5302         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5304         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5305         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
5306         (pcase--mutually-exclusive-p): New function.
5307         (pcase--split-consp): Use it.
5308         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
5309         mutually exclusive with the current predicate.
5311         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5312         (edebug-macrop): Remove.  Use `macrop' instead.
5313         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
5314         (ad-macro-p):
5315         * eshell/esh-cmd.el (eshell-macrop):
5316         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
5318 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5320         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5321         (advice-mapc): New function, using it.
5322         (advice-function-member-p): New function.
5323         (advice--normalize): Store the cdr in advice--saved-rewrite since
5324         that's the part that will be changed.
5325         (advice--symbol-function): New function.
5326         (advice-remove): Handle removal before the function is defined.
5327         Adjust to new advice--saved-rewrite.
5328         (advice-member-p): Use advice-function-member-p and
5329         advice--symbol-function.
5331 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
5333         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5334         (frameset-filter-minibuffer): Doc fix.
5335         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
5336         (frameset--set-id, frameset--process-minibuffer-frames)
5337         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5338         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5340         * desktop.el (desktop-clear): Only delete frames when called
5341         interactively and desktop-restore-frames is non-nil.  Doc fix.
5342         (desktop-read): Set desktop-saved-frameset to nil.
5344 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
5346         * vc/vc.el (vc-ignore): Rewrite.
5347         (vc-default-ignore-completion-table):
5348         (vc--read-lines):
5349         (vc--add-line, vc--remove-regexp): New functions.
5351         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5352         (vc-svn-ignore-completion-table): New function.
5354         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5355         (vc-hg-ignore-completion-table):
5356         (vc-hg-find-ignore-file): New functions.
5358         * vc/vc-git.el (vc-git-ignore): Rewrite.
5359         (vc-git-ignore-completion-table):
5360         (vc-git-find-ignore-file): New functions.
5362         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5364         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5365         (vc-bzr-ignore-completion-table):
5366         (vc-bzr-find-ignore-file): New functions.
5368 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
5370         * frameset.el (frameset-prop): New function and setter.
5371         (frameset-save): Do not modify frame list passed by the caller.
5373 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5375         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5377 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5379         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5380         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5382         * custom.el (custom-initialize-default, custom-initialize-set)
5383         (custom-initialize-reset, custom-initialize-changed): Affect the
5384         toplevel-default-value (bug#6275, bug#14586).
5385         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5386         for bug#6275.
5388 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5390         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5391         Add cl-def* expressions.
5393         * frameset.el (frameset-filter-params): Fix order of arguments.
5395 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
5397         Move code related to saving frames to frameset.el.
5398         * desktop.el: Require frameset.
5399         (desktop-restore-frames): Doc fix.
5400         (desktop-restore-reuses-frames): Rename from
5401         desktop-restoring-reuses-frames.
5402         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5403         (desktop-clear): Clear frames too.
5404         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5405         (desktop--filter-tty*, desktop-save, desktop-read):
5406         Use frameset functions.
5407         (desktop-before-saving-frames-functions, desktop--filter-*-color)
5408         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5409         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5410         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5411         (desktop--process-minibuffer-frames, desktop-save-frames)
5412         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5413         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5414         (desktop--sort-states, desktop-restoring-frames-p)
5415         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
5416         (desktop-restoring-frameset-p, desktop-restore-frameset)
5417         (desktop--check-dont-save, desktop-save-frameset): New functions.
5418         (desktop--app-id): New constant.
5419         (desktop-first-buffer, desktop-buffer-ok-count)
5420         (desktop-buffer-fail-count): Move before first use.
5421         * frameset.el: New file.
5423 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * files.el: Use lexical-binding.
5426         (dir-locals-read-from-file): Remove unused `err' variable.
5427         (hack-dir-local-variables--warned-coding): New var.
5428         (hack-dir-local-variables): Use it to avoid repeated warnings.
5429         (make-backup-file-name--default-function): New function.
5430         (make-backup-file-name-function): Use it as default.
5431         (buffer-stale--default-function): New function.
5432         (buffer-stale-function): Use it as default.
5433         (revert-buffer-insert-file-contents--default-function): New function.
5434         (revert-buffer-insert-file-contents-function): Use it as default.
5435         (insert-directory): Avoid add-to-list.
5437         * autorevert.el (auto-revert-handler): Simplify.
5438         Use buffer-stale--default-function.
5440 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5442         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5444         * whitespace.el (whitespace-ensure-local-variables): New function.
5445         (whitespace-cleanup-region): Call it.
5446         (whitespace-turn-on): Call it.
5448 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5450         Complete file name handlers.
5452         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5453         (tramp-handle-verify-visited-file-modtime)
5454         (tramp-handle-file-notify-rm-watch): New functions.
5455         (tramp-call-process): Do not bind `default-directory'.
5457         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5458         Order alphabetically.
5459         [access-file, add-name-to-file, dired-call-process]:
5460         [dired-compress-file, file-acl, file-notify-rm-watch]:
5461         [file-ownership-preserved-p, file-selinux-context]:
5462         [make-directory-internal, make-symbolic-link, set-file-acl]:
5463         [set-file-selinux-context, set-visited-file-modtime]:
5464         [verify-visited-file-modtime]: Add handler.
5465         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5467         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5468         [file-notify-add-watch, file-notify-rm-watch]:
5469         [set-file-times, set-visited-file-modtime]:
5470         [verify-visited-file-modtime]: Add handler.
5471         (with-tramp-gvfs-error-message)
5472         (tramp-gvfs-handle-set-visited-file-modtime)
5473         (tramp-gvfs-fuse-file-name): Remove.
5474         (tramp-gvfs-handle-file-notify-add-watch)
5475         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5476         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5478         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5479         Order alphabetically.
5480         [file-notify-rm-watch ]: Use default Tramp handler.
5481         [executable-find]: Remove private handler.
5482         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5483         `default-directory'.
5484         (tramp-sh-handle-executable-find)
5485         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5486         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5487         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5488         Do not use `format' in `tramp-message'.
5490         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5491         [file-notify-rm-watch, set-visited-file-modtime]:
5492         [verify-visited-file-modtime]: Add handler.
5493         (tramp-smb-call-winexe): Do not bind `default-directory'.
5495 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5497         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5499 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5501         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5502         use it.
5503         (log-view-diff-changeset): Same.
5504         (log-view-diff-common): Call backend command `previous-revision'
5505         to find out the previous revision, in both cases.  Swap the
5506         variables `to' and `fr', so that `fr' usually refers to the
5507         earlier revision (Bug#14989).
5509 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5511         * ibuf-ext.el (ibuffer-filter-by-filename):
5512         Make it work with dired buffers too.
5514 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5516         * emacs-lisp/re-builder.el (reb-color-display-p):
5517         * files.el (save-buffers-kill-terminal):
5518         * net/browse-url.el (browse-url):
5519         * server.el (server-save-buffers-kill-terminal):
5520         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5521         Prefer nil to selected-frame for the first arg of frame-parameter.
5523 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5525         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5527 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5529         * minibuffer.el (completion--twq-all): Try and preserve each
5530         completion's case choice (bug#14907).
5532 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5534         * net/network-stream.el (open-network-stream): Mention the new
5535         :nogreeting parameter.
5536         (network-stream-open-starttls): Use the :nogreeting parameter
5537         (bug#14938).
5539         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5541         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5542         more natural than popping.
5544         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5545         (shr-urlify): Highlight under mouse.
5547 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5549         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5551         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5553         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5554         buffer for output.
5556         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5557         point-min==1.  Fix search string.  Fix parentheses missing.
5559         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5560         assume point-min==1.  Fix search string.  Fix parentheses missing.
5562         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5564         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5565         buffer for output.
5567 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5569         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5570         initial frame is minibuffer-less.  (Bug#14841)
5572 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5574         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5575         option.
5577         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5578         (tramp-maybe-open-connection): Use it.
5580 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5582         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5583         minimal set of parameters passed when creating a frame, because
5584         the minibuffer status of a frame cannot be changed later.
5586 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5588         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5589         replace-regexp-in-string and inadvertent omissions in previous change.
5590         (todo-filter-items): Ensure only file names are comma-separated in
5591         name of filtered items buffer.
5593 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5595         * desktop.el: Optionally force offscreen frames back onscreen.
5596         (desktop-restoring-reuses-frames): New option.
5597         (desktop--compute-pos, desktop--move-onscreen): New functions.
5598         (desktop--make-frame): Use desktop--move-onscreen.
5600 2013-07-27  Alan Mackenzie  <acm@muc.de>
5602         Fontify a Java generic method as a function.
5603         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5604         value to t.
5606 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5608         * calendar/todo-mode.el: Add command to rename todo files.
5609         (todo-rename-file): New command.
5610         (todo-key-bindings-t): Add key binding for it.  Change the
5611         bindings of todo-filter-regexp-items(-multifile) to use `x'
5612         instead of `r', since the latter is better suited to the new
5613         renaming command.
5615 2013-07-27  Alan Mackenzie  <acm@muc.de>
5617         Make Java try-with-resources statement parse properly.
5618         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5619         (c-block-stmt-1-2-key): New language constants/variables.
5620         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5621         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5622         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5623         with c-block-stmt-1-2-key.
5625 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5627         * desktop.el (desktop--make-frame): Apply most frame parameters after
5628         creating the frame to force (partially or totally) offscreen frames to
5629         be restored as such.
5631 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5633         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5634         (Bug#14948)
5636 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5638         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5639         `base' arg of backtrace-frame.
5641 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5643         * simple.el (list-processes): Doc fix.
5645 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5647         * desktop.el (desktop--select-frame):
5648         Try harder to reuse existing frames.
5650 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5652         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5653         (edebug-eval): Use backtrace-eval.
5654         (edebug--display, edebug--recursive-edit): Don't let-bind the
5655         edebug-outer-* vars that keep track of variables we locally let-bind.
5656         (edebug-outside-excursion): Don't restore outside values of locally
5657         let-bound vars.
5658         (edebug--display): Use user-error.
5659         (cl-lexical-debug, cl-debug-env): Remove.
5661 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5663         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5664         are restored to be sure that they are visible before deleting any
5665         remaining ones.
5667 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5669         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5670         vc-print-root-log.  (Bug#14948)
5672 2013-07-26  Richard Stallman  <rms@gnu.org>
5674         Add aliases for encrypting mail.
5675         * epa.el (epa-mail-aliases): New option.
5676         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5677         Bind inhibit-read-only so read-only text doesn't ruin everything.
5678         (epa-mail-default-recipients): New subroutine broken out.
5679         Handle epa-mail-aliases.
5681 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5683         Add support for lexical variables to the debugger's `e' command.
5684         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5685         vars, except for debugger-outer-match-data.
5686         (debugger-frame-number): Move check for "on a function call" from
5687         callers into it.  Add `skip-base' argument.
5688         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5689         (debugger-env-macro): Only reset the state stored in non-variables,
5690         i.e. current-buffer and match-data.
5691         (debugger-eval-expression): Rewrite using backtrace-eval.
5692         * subr.el (internal--called-interactively-p--get-frame): Remove.
5693         (called-interactively-p):
5694         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5695         `base' arg of backtrace-frame instead.
5697 2013-07-26  Glenn Morris  <rgm@gnu.org>
5699         * align.el (align-regexp): Doc fix.  (Bug#14857)
5700         (align-region): Explicit error if subexpression missing/does not match.
5702         * simple.el (global-visual-line-mode):
5703         Do not duplicate the mode lighter.  (Bug#14858)
5705 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5707         * window.el (display-buffer): In display-buffer bind
5708         split-window-keep-point to t, bug#14829.
5710 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5712         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5713         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5714         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5715         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5716         Change accordingly.
5717         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5718         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5720 2013-07-25  Glenn Morris  <rgm@gnu.org>
5722         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5724 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5726         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5727         parameter to modify-frame-parameters if the value has not changed;
5728         this is a workaround for bug#14949.
5729         (desktop--make-frame): On cl-delete-if call, check parameter name,
5730         not full parameter.
5732 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5734         * vc/vc.el (vc-ignore): New function.
5736         * vc/vc-svn.el (vc-svn-ignore): New function.
5738         * vc/vc-hg.el (vc-hg-ignore): New function.
5740         * vc/vc-git.el (vc-git-ignore): New function.
5742         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5743         (vc-dir-ignore): New function.
5745         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5746         (cvs-append-to-ignore): Move here from pcvs.el.
5748         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5750         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5752 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5754         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5755         (desktop-restore-frames): Warn when deleting an existing frame failed.
5757 2013-07-24  Glenn Morris  <rgm@gnu.org>
5759         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5761 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5763         * filenotify.el (file-notify-supported-p):
5764         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5765         Remove functions.
5767         * autorevert.el (auto-revert-use-notify):
5768         (auto-revert-notify-add-watch):
5769         * net/tramp.el (tramp-file-name-for-operation):
5770         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5771         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5772         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5773         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5774         Remove `file-notify-supported-p' entry.
5776 2013-07-24  Glenn Morris  <rgm@gnu.org>
5778         * printing.el: Replace all uses of deleted ps-windows-system,
5779         ps-lp-system, ps-flatten-list with lpr- versions.
5781 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5783         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5784         checked with memq (bug#14935).
5786         * files.el (revert-buffer-function): Use a non-nil default.
5787         (revert-buffer-preserve-modes): Declare var to
5788         provide access to the `preserve-modes' argument.
5789         (revert-buffer): Let-bind it.
5790         (revert-buffer--default): New function, extracted from revert-buffer.
5792 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5794         * lpr.el: Signal print errors more prominently.
5795         (print-region-function): Don't default to nil.
5796         (lpr-print-region): New function, extracted from print-region-1.
5797         Check lpr's return value and signal an error in case of problem.
5798         (print-region-1): Use it.
5799         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5800         versions instead.
5801         (ps-printer-name): Default to nil.
5802         (ps-printer-name-option): Default to lpr-printer-switch.
5803         (ps-print-region-function): Don't default to nil.
5804         (ps-postscript-code-directory): Simplify default.
5805         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5806         (ps-string-list, ps-eval-switch, ps-flatten-list)
5807         (ps-flatten-list-1): Remove.
5808         (ps-multibyte-buffer): Avoid setq.
5809         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5810         (print-region-function, ps-print-region-function): Don't set them here.
5812 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5814         * ido.el (ido-fractionp):
5815         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5816         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5817         (ido-max-directory-size, ido-max-dir-file-cache)
5818         (ido-decorations): Doc fix.
5820         * ansi-color.el: Fix old URL.
5822 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5824         * progmodes/sql.el: Version 3.3
5825         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5826         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5827         (sql-interactive-remove-continuation-prompt): Rewrite, use
5828         functions above.  Fix continuation prompt and complete output line
5829         handling.
5830         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5831         redirected output buffer.
5832         (sql-mode): Restore deleted code (Bug#13591).
5834 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5836         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5838 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5840         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5842         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5843         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5844         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5846 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5848         * desktop.el (desktop-clear): Simplify; remove useless checks
5849         against invalid buffer names.
5850         (desktop-list*): Use cl-list*.
5851         (desktop-buffer-info, desktop-create-buffer): Simplify.
5853 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5855         * bookmark.el (bookmark-make-record): Restore NAME as a default
5856         value.  (Bug#14933)
5858 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5861         extracted from autoload--insert-text.
5862         (autoload--insert-text): Remove.
5863         (autoload--print-cookie-text): New function, extracted from
5864         autoload--insert-cookie-text.
5865         (autoload--insert-cookie-text): Remove.
5866         (autoload-generate-file-autoloads): Adjust calls accordingly.
5868         * winner.el (winner-hook-installed-p): Remove.
5869         (winner-mode): Simplify accordingly.
5871         * subr.el (add-to-list): Fix compiler-macro when `append' is
5872         not constant.  Don't use `cl-member' for the base case.
5874         * progmodes/subword.el: Fix boundary case (bug#13758).
5875         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5876         own group.
5877         (subword-backward-regexp): Make it a constant.
5878         (subword-forward-internal): Don't treat a trailing capital as the
5879         beginning of a word.
5881 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5883         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5884         global value of tabulated-list-revert-hook (bug#14930).
5886 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5888         * desktop.el: Require 'cl-lib.
5889         (desktop-before-saving-frames-functions): New hook.
5890         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5891         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5892         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5893         Do not save frames with non-nil `desktop-dont-save' parameter.
5894         Filter out deleted frames.
5895         (desktop--find-frame): Use cl-find-if.
5896         (desktop--select-frame): Use cl-(first|second|third) to access values
5897         of desktop-mini.
5898         (desktop--make-frame): Use cl-delete-if.
5899         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5900         (desktop-restore-frames): Use cl-(first|second|third) to access values
5901         of desktop-mini.  Look for visible frame at the end, not while
5902         restoring frames.
5904         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5905         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5906         Use string-match-p, looking-at-p (bug#14927).
5908 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5910         * desktop.el (desktop-saved-frame-states):
5911         Rename from desktop--saved-states; all users changed.
5912         (desktop-save-frames): Rename from desktop--save-frames.
5913         Do not save state to desktop file.
5914         (desktop-save): Save desktop-saved-frame-states to desktop file
5915         and reset to nil.
5916         (desktop-restoring-frames-p): New function.
5917         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5918         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5919         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5921         * desktop.el: Correctly restore iconified frames.
5922         (desktop--filter-iconified-position): New function.
5923         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5925 2013-07-20  Glenn Morris  <rgm@gnu.org>
5927         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5928         Let `message' do the formatting.
5929         (def-gdb-preempt-display-buffer): Add explicit format.
5931         * image-dired.el (image-dired-track-original-file):
5932         Use with-current-buffer.
5933         (image-dired-track-thumbnail): Use with-current-buffer.
5934         Avoid changing point of wrong window.
5936         * image-dired.el (image-dired-track-original-file):
5937         Avoid changing point of wrong window.  (Bug#14909)
5939 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5941         * progmodes/gdb-mi.el (gdb-done-or-error):
5942         Guard against "%" in gdb output.  (Bug#14127)
5944 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5946         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5947         (Bug#14826)
5949         * international/mule.el (coding-system-iso-2022-flags): Fix last
5950         change.
5952 2013-07-20  Kenichi Handa  <handa@gnu.org>
5954         * international/mule.el (coding-system-iso-2022-flags):
5955         Add `8-bit-level-4'.  (Bug#8522)
5957 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5959         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5960         (bug#14815).
5962         * net/eww.el (eww-process-text-input): Allow inputting when the
5963         point is at the start of the line, as the properties aren't
5964         front-sticky.
5966         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5967         degenerate widths.
5969 2013-07-19  Richard Stallman  <rms@gnu.org>
5971         * epa.el (epa-popup-info-window): Doc fix.
5973         * subr.el (split-string): New arg TRIM.
5975 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5977         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5978         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5980 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5982         * filenotify.el (file-notify--library): Rename from
5983         `file-notify-support'.  Do not autoload.  Adapt all uses.
5984         (file-notify-supported-p): New defun.
5986         * autorevert.el (auto-revert-use-notify):
5987         Use `file-notify-supported-p' instead of `file-notify-support'.
5988         Adapt docstring.
5989         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5991         * net/tramp.el (tramp-file-name-for-operation):
5992         Add `file-notify-supported-p'.
5994         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5995         New defun.
5996         (tramp-sh-file-name-handler-alist): Add it as handler for
5997         `file-notify-supported-p '.
5999         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6000         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6001         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6002         Add `ignore' as handler for `file-notify-*' functions.
6004 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
6006         * simple.el (line-move-partial, line-move): Don't start vscroll or
6007         scroll-up if the current line is not taller than the window.
6008         (Bug#14881)
6010 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
6012         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6013         highlight question marks in the method names as strings.
6014         (ruby-block-beg-keywords): Inline.
6015         (ruby-font-lock-keyword-beg-re): Extract from
6016         `ruby-font-lock-keywords'.
6018 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
6020         * frame.el (blink-cursor-blinks): New defcustom.
6021         (blink-cursor-blinks-done): New defvar.
6022         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6023         (blink-cursor-timer-function): Check if number of blinks has been
6024         done on X and NS.
6025         (blink-cursor-suspend, blink-cursor-check): New defuns.
6027 2013-07-15  Glenn Morris  <rgm@gnu.org>
6029         * edmacro.el (edmacro-format-keys): Fix previous change.
6031 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
6033         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6034         The hack didn't work outside English locales anyway.
6036 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
6038         * simple.el (define-alternatives): Rename from alternatives-define,
6039         per RMS' suggestion.
6041 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
6043         * desktop.el (desktop-restore-frames): Change default to t.
6044         (desktop-restore-in-current-display): Now offer more options.
6045         (desktop-restoring-reuses-frames): New customization option.
6046         (desktop--saved-states): Doc fix.
6047         (desktop-filter-parameters-alist): New variable, renamed and expanded
6048         from desktop--excluded-frame-parameters.
6049         (desktop--target-display): New variable.
6050         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6051         (desktop--filter-tty*, desktop--filter-*-color)
6052         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6053         (desktop--filter-save-desktop-parm)
6054         (desktop-restore-in-original-display-p): New functions.
6055         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6056         (desktop--save-minibuffer-frames): New function, inspired by a similar
6057         function from Martin Rudalics.
6058         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6059         (desktop--restore-in-this-display-p): Remove.
6060         (desktop--find-frame): Rename from desktop--find-frame-in-display
6061         and add predicate argument.
6062         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6063         (desktop--reuse-list): New variable.
6064         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6065         New functions.
6066         (desktop--restore-frames): Add support for "minibuffer-special" frames.
6068 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
6070         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6072 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
6074         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6075         Highlight conversion methods on Kernel.
6077 2013-07-13  Alan Mackenzie  <acm@muc.de>
6079         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6080         and comment it out.  This out-commenting enables certain C++
6081         declarations to be parsed correctly.
6083 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
6085         * international/mule.el (define-coding-system): Doc fix.
6087         * simple.el (default-font-height): Don't call font-info if the
6088         frame's default font didn't change since the frame was created.
6089         (Bug#14838)
6091 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6093         * ido.el (ido-read-file-name): Guard against non-symbol value.
6095 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6097         * progmodes/python.el (python-imenu--build-tree): Fix corner case
6098         in nested defuns.
6100 2013-07-13  Leo Liu  <sdl.web@gmail.com>
6102         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6103         ido-set-matches call.  (Bug#6852)
6105 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
6107         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6108         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6109         Ruby 2.0.
6110         (ruby-font-lock-keywords): Distinguish calls to functions with
6111         module-like names from module references.  Highlight character
6112         literals.
6114 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6116         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6117         (gdb-send): Handle continued commands.  (Bug#14847)
6119 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6121         * desktop.el (desktop--v2s): Remove unused local variable.
6122         (desktop-save-buffer): Make defvar-local; adjust docstring.
6123         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6124         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6126 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6128         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6130 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
6132         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6133         (Bug#14842)
6135 2013-07-12  Glenn Morris  <rgm@gnu.org>
6137         * doc-view.el: Require cl-lib at runtime too.
6138         (doc-view-remove-if): Remove.
6139         (doc-view-search-next-match, doc-view-search-previous-match):
6140         Use cl-remove-if.
6142         * edmacro.el: Require cl-lib at runtime too.
6143         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6144         (edmacro-mismatch, edmacro-subseq): Remove.
6146         * shadowfile.el: Require cl-lib.
6147         (shadow-remove-if): Remove.
6148         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6149         Use cl-remove-if.
6151         * wid-edit.el: Require cl-lib.
6152         (widget-choose): Use cl-remove-if.
6153         (widget-remove-if): Remove.
6155         * progmodes/ebrowse.el: Require cl-lib at runtime too.
6156         (ebrowse-delete-if-not): Remove.
6157         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6158         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6159         Use cl-delete-if-not.
6161 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
6163         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6164         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6166 2013-07-12  Leo Liu  <sdl.web@gmail.com>
6168         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
6170 2013-07-11  Glenn Morris  <rgm@gnu.org>
6172         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6173         (edebug-gensym-index, edebug-gensym):
6174         Remove reimplementation of cl-gensym.
6175         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6177         * thumbs.el: Require cl-lib at run-time too.
6178         (thumbs-gensym-counter, thumbs-gensym):
6179         Remove reimplementation of cl-gensym.
6180         (thumbs-temp-file): Use cl-gensym.
6182         * emacs-lisp/ert.el: Require cl-lib at runtime too.
6183         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6184         (ert--intersection, ert--set-difference, ert--set-difference-eq)
6185         (ert--union, ert--gensym-counter, ert--gensym-counter)
6186         (ert--coerce-to-vector, ert--remove*, ert--string-position)
6187         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6188         (ert-make-test-unbound, ert--expand-should-1)
6189         (ert--expand-should, ert--should-error-handle-error)
6190         (should-error, ert--explain-equal-rec)
6191         (ert--plist-difference-explanation, ert-select-tests)
6192         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6193         Use cl-lib functions rather than reimplementations.
6195 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
6197         * net/tramp.el (tramp-methods): Extend docstring.
6198         (tramp-connection-timeout): New defcustom.
6199         (tramp-error-with-buffer): Reset timestamp only when appropriate.
6200         (with-tramp-progress-reporter): Simplify.
6201         (tramp-process-actions): Improve messages.
6203         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6204         * net/tramp-sh.el (tramp-maybe-open-connection):
6205         Use `tramp-connection-timeout'.
6206         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6207         (Bug#14808)
6209 2013-07-11  Leo Liu  <sdl.web@gmail.com>
6211         * ido.el (ido-read-file-name): Conform to the requirements of
6212         read-file-name.  (Bug#11861)
6213         (ido-read-directory-name): Conform to the requirements of
6214         read-directory-name.
6216 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
6218         * subr.el (delay-warning): New function.
6220 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
6222         * simple.el (default-line-height): New function.
6223         (line-move-partial, line-move): Use it instead of computing the
6224         line height inline.
6225         (line-move-partial): Always compute ROWH.  If the last line is
6226         partially-visible, but its text is completely visible, allow
6227         cursor to enter such a partially-visible line.
6229 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
6231         Improve error messages.  (Bug#14808)
6233         * net/tramp.el (tramp-current-connection): New defvar, moved from
6234         tramp-sh.el.
6235         (tramp-message-show-progress-reporter-message): Remove, not
6236         needed anymore.
6237         (tramp-error-with-buffer): Show message in minibuffer.
6238         Discard input before waiting.  Reset connection timestamp.
6239         (with-tramp-progress-reporter): Improve messages.
6240         (tramp-process-actions): Use progress reporter.  Delete process in
6241         case of error.  Improve messages.
6243         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6244         Call `tramp-error-with-buffer' with vector and buffer.
6245         (tramp-current-connection): Remove.
6246         (tramp-maybe-open-connection): The car of
6247         `tramp-current-connection' are the first 3 slots of the vector.
6249 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
6251         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6252         inside continued strings.
6254 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
6256         Timestamp fixes for undo (Bug#14824).
6257         * files.el (clear-visited-file-modtime): Move here from fileio.c.
6259 2013-07-10  Leo Liu  <sdl.web@gmail.com>
6261         * files.el (require-final-newline): Allow safe local value.
6262         (Bug#14834)
6264 2013-07-09  Leo Liu  <sdl.web@gmail.com>
6266         * ido.el (ido-read-directory-name): Handle fallback.
6267         (ido-read-file-name): Update DIR to ido-current-directory.
6268         (Bug#1516)
6269         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
6271 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
6273         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6274         "autoload".  Remove "warn lower camel case" section, previously
6275         commented out.  Highlight negation char.  Do not highlight the
6276         target in singleton method definitions.
6278 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         * faces.el (tty-setup-hook): Declare the hook.
6282         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6283         and detect when a guard/pred depends on local vars (bug#14773).
6284         (pcase--u1): Adjust caller.
6286 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
6288         * simple.el (line-move-partial, line-move): Account for
6289         line-spacing.
6290         (line-move-partial): Avoid setting vscroll when the last
6291         partially-visible line in window is of default height.
6293 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6295         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6296         been used a while.
6298 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
6300         * subr.el (read-quoted-char): Remove unused local variable `char'.
6302 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6304         * ediff.el (ediff-version): Version update.
6305         (ediff-files-command, ediff3-files-command, ediff-merge-command)
6306         (ediff-merge-with-ancestor-command, ediff-directories-command)
6307         (ediff-directories3-command, ediff-merge-directories-command)
6308         (ediff-merge-directories-with-ancestor-command): New functions.
6309         All are command-line interfaces to ediff: to facilitate calling
6310         Emacs with the appropriate ediff functions invoked.
6312         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6313         (viper-save-kill-buffer): Check if buffer is modified.
6315         * viper.el (viper-version): Version update.
6316         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6318 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6320         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6321         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6322         (viper-intercept-ESC-key): Simplify.
6323         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6324         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6325         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6326         (viper-setup-ESC-to-escape): New functions.
6327         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6328         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
6330 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
6332         * simple.el (default-font-height, window-screen-lines):
6333         New functions.
6334         (line-move, line-move-partial): Use them instead of
6335         frame-char-height and window-text-height.  This makes scrolling
6336         text smoother when the buffer's default face uses a font that is
6337         different from the frame's default font.
6339 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
6341         * files.el (write-file): Do not display confirm dialog for NS,
6342         it does its own dialog, which can't be cancelled (Bug#14578).
6344 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
6346         * simple.el (line-move-partial): Adjust the row returned by
6347         posn-at-point for the current window-vscroll.  (Bug#14567)
6349 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
6351         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6352         (tramp-sh-file-inotifywait-process-filter): Handle file names with
6353         spaces.
6355 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
6357         * window.el (window-state-put-stale-windows): New variable.
6358         (window--state-put-2): Save list of windows without matching buffer.
6359         (window-state-put): Remove "bufferless" windows if possible.
6361 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6363         * simple.el (alternatives-define): Remove leftover :group keyword.
6364         Tweak docstring.
6366 2013-07-06  Leo Liu  <sdl.web@gmail.com>
6368         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6369         (ido-enable-virtual-buffers): New variable.
6370         (ido-buffer-internal, ido-toggle-virtual-buffers)
6371         (ido-make-buffer-list): Use it.
6372         (ido-exhibit): Support turning on and off virtual buffers
6373         automatically.
6375 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
6377         * simple.el (alternatives-define): New macro.
6379 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6381         * subr.el (read-quoted-char): Use read-key.
6382         (sit-for): Let read-event decode tty input (bug#14782).
6384 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
6386         * calendar/todo-mode.el: Add handling of file deletion, both by
6387         mode command and externally.  Fix various related bugs.
6388         Clarify Commentary and improve some documentation strings and code.
6389         (todo-delete-file): New command.
6390         (todo-check-file): New function.
6391         (todo-show): Handle external deletion of the file we're trying to
6392         show (bug#14688).  Replace called-interactively-p by an optional
6393         prefix argument to avoid problematic interaction with catch form
6394         when byte compiled (bug#14702).
6395         (todo-quit): Handle external deletion of the archive's todo file.
6396         Make sure the buffer that was visiting the archive file is still
6397         live before trying to bury it.
6398         (todo-category-completions): Handle external deletion of any
6399         category completion files.
6400         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6401         of todo files, in case of external deletion.
6402         (todo-add-file): Replace unnecessary setq by let-binding.
6403         (todo-find-archive): Check whether there are any archives.
6404         Replace unnecessary setq by let-binding.
6405         (todo-archive-done-item): Use find-file-noselect to get the
6406         archive buffer whether or not the archive already exists.
6407         Remove superfluous code.  Use file size instead of buffer-file-name to
6408         check if the archive is new; if it is, update list of archives.
6409         (todo-default-todo-file): Allow nil to be a valid value for when
6410         there are no todo files.
6411         (todo-reevaluate-default-file-defcustom): Use corrected definition
6412         of todo-default-todo-file.
6413         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6414         (todo-delete-category, todo-show-categories-table)
6415         (todo-category-number): Clarify comment.
6416         (todo-filter-items): Clarify documentation string.
6417         (todo-show-current-file, todo-display-as-todo-file)
6418         (todo-reset-and-enable-done-separator): Tweak documentation string.
6419         (todo-done-separator): Make separator length window-width, since
6420         bug#2749 is now fixed.
6422 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6424         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6425         Support both "gvfs-monitor-dir" and "inotifywait".
6426         (tramp-sh-file-inotifywait-process-filter): Rename from
6427         `tramp-sh-file-notify-process-filter'.
6428         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6429         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6431 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6433         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6435 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6437         * frame.el (display-pixel-height, display-pixel-width)
6438         (display-mm-height, display-mm-width): Mention behavior on
6439         multi-monitor setups in docstrings.
6440         (w32-display-monitor-attributes-list): Declare function.
6441         (display-monitor-attributes-list): Use it.
6443 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6445         * filenotify.el: New package.
6447         * autorevert.el (top): Require filenotify.el.
6448         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6449         instead.
6450         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6451         (auto-revert-notify-handler): Use `file-notify-*' functions.
6453         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6455         * net/tramp.el (tramp-file-name-for-operation):
6456         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6458         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6459         for `file-notify-add-watch' and `file-notify-rm-watch'.
6460         (tramp-process-sentinel): Improve trace.
6461         (tramp-sh-handle-file-notify-add-watch)
6462         (tramp-sh-file-notify-process-filter)
6463         (tramp-sh-handle-file-notify-rm-watch)
6464         (tramp-get-remote-inotifywait): New defuns.
6466 2013-07-03  Juri Linkov  <juri@jurta.org>
6468         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6469         call of `occur-read-primary-args' to interactive spec.
6471         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6472         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6474 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6476         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6477         `Buffer-menu-multi-occur'.  Add it to the menu.
6478         (Buffer-menu-mode): Document it in docstring.
6479         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6481 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6483         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6484         keywords and built-ins.
6486 2013-07-03  Glenn Morris  <rgm@gnu.org>
6488         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6490         Make info-xref checks case-sensitive by default
6491         * info.el (Info-find-node, Info-find-in-tag-table)
6492         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6493         Add option for exact case matching of nodes.
6494         * info-xref.el (info-xref): New custom group.
6495         (info-xref-case-fold): New option.
6496         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6498 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6500         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6502 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6504         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6505         middle of block statement initially, lower the depth.  Remove
6506         FIXME comment, not longer valid.  Remove middle of block statement
6507         detection, no need to do that anymore since we've been using
6508         `ruby-parse-region' here.
6510 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6512         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6514 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6516         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6518 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6520         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6521         (desktop-restore-in-current-display): New customization option.
6522         (desktop--excluded-frame-parameters): Add `font'.
6523         (desktop--save-frames): Rename from desktop--save-windows.
6524         (desktop--restore-in-this-display-p): New function.
6525         (desktop--make-full-frame): Remove unwanted width/height from
6526         full(width|height) frames.
6527         (desktop--restore-frames): Rename from desktop--restore-windows.
6528         Obey desktop-restore-current-display.  Do not delete old frames or
6529         select a new frame unless we were able to restore at least one frame.
6531 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6533         * files.el (find-file-noselect): Simplify conditional expression.
6535         * remember.el (remember-append-to-file):
6536         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6538         Add `remember-notes' function to store random notes across Emacs
6539         restarts.
6540         * remember.el (remember-data-file): Add :set callback to affect
6541         notes buffer (if any).
6542         (remember-notes): New command.
6543         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6544         New defcustoms for the `remember-notes' function.
6545         (remember-notes-save-and-bury-buffer): New command.
6546         (remember-notes-mode-map): New variable.
6547         (remember-mode): New minor mode.
6548         (remember-notes--kill-buffer-query): New function.
6549         * startup.el (initial-buffer-choice): Add notes to custom type.
6551 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6553         * bindings.el (right-char, left-char): Don't call sit-for, this is
6554         no longer needed.  Use arithmetic comparison only for numerical
6555         arguments.
6557         * international/mule-cmds.el (select-safe-coding-system):
6558         Handle the case of FROM being a string correctly.  (Bug#14755)
6560 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6562         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6563         progression on degenerate tables.
6564         (shr-rescale-image): ImageMagick animated images currently don't work.
6566 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6568         Some fixes and improvements for desktop frame restoration.
6569         It is still experimental and disabled by default.
6570         * desktop.el (desktop--save-windows): Put the selected frame at
6571         the head of the list.
6572         (desktop--make-full-frame): New function.
6573         (desktop--restore-windows): Try to re-select the frame that was
6574         selected upon saving.  Do not abort if some frames fail to restore,
6575         just show an error message and continue.  Set up maximized frames
6576         so they have default non-maximized dimensions.
6578 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6580         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6581         Don't start heredoc inside a string or comment.
6583 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6585         * bindings.el (visual-order-cursor-movement): New defcustom.
6586         (right-char, left-char): Provide visual-order cursor motion by
6587         calling move-point-visually.  Update the doc strings.
6589 2013-06-28  Kenichi Handa  <handa@gnu.org>
6591         * international/mule.el (define-coding-system): New coding system
6592         properties :inhibit-null-byte-detection,
6593         :inhibit-iso-escape-detection, and :prefer-utf-8.
6594         (set-buffer-file-coding-system): If :charset-list property of
6595         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6596         appropriate for setting.
6598         * international/mule-cmds.el (select-safe-coding-system):
6599         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6600         multibyte characters, return utf-8 (or one of its siblings).
6602         * international/mule-conf.el (prefer-utf-8): New coding system.
6603         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6604         files.
6606 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6608         * net/shr.el (shr-render-region): New function.
6610         * net/eww.el: Autoload `eww-browse-url'.
6612 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6614         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6615         Adapt to `package-desc-version' being a list.
6616         Use `package--ac-desc-version' to retrieve version from a package
6617         archive element.
6619 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6621         New experimental feature to save&restore window and frame setup.
6622         * desktop.el (desktop-save-windows): New defcustom.
6623         (desktop--saved-states): New var.
6624         (desktop--excluded-frame-parameters): New defconst.
6625         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6626         (desktop--restore-windows, desktop--save-windows): New functions.
6627         (desktop-save): Call `desktop--save-windows'.
6628         (desktop-read): Call `desktop--restore-windows'.
6630 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6632         * net/shr.el (add-face-text-property): Remove compat definition.
6634 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6636         * info.el (Info-try-follow-nearest-node): Move search for footnote
6637         above search for node name to prevent missing a footnote (bug#14717).
6639 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6641         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6643 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6645         * net/eww.el (eww-read-bookmarks): Check file size.
6647 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6649         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6650         advice--pending if newdef is nil or an autoload (bug#13820).
6651         (advice-mapc): New function.
6653 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6655         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6656         probably.
6657         (eww-mode-map): Add a menu bar.
6658         (eww-add-bookmark): New command.
6659         (eww-bookmark-mode): New mode and commands.
6660         (eww-add-bookmark): Remove newlines from the title.
6661         (eww-bookmark-browse): Don't bug out if it's the only window.
6663 2013-06-26  Glenn Morris  <rgm@gnu.org>
6665         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6666         (hfy-size): Handle ttys.  (Bug#14668)
6668         * info-xref.el: Update for Texinfo 5 change in *note format.
6669         (info-xref-node-re, info-xref-note-re): New constants.
6670         (info-xref-check-buffer): Use info-xref-note-re.
6672 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6674         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6676         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6677         nil terminate the loop (bug#14718).
6679 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6681         * net/eww.el: Rework history traversal.  When going forward/back,
6682         put these actions into the history, too, so that they can be
6683         replayed.
6684         (eww-render): Move the history reset to the correct buffer.
6686 2013-06-25  Juri Linkov  <juri@jurta.org>
6688         * files-x.el (modify-dir-local-variable): Change the header comment
6689         in the file with directory local variables.  (Bug#14692)
6691         * files-x.el (read-file-local-variable-value): Add `default'.
6692         (Bug#14710)
6694 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6696         * net/eww.el (eww-make-unique-file-name): Create a unique file
6697         name before saving to entering `y' accidentally asynchronously.
6699 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6701         * net/eww.el (eww-download): New command and keystroke.
6703 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6705         * net/eww.el (eww-copy-page-url): Change name of command.
6707         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6708         be more consistent with Info and dired.
6710         * net/eww.el (eww-mode-map): Ditto.
6712 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6714         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6715         packages from archives.
6716         (package-archive-contents): Change format; include obsolete packages.
6717         (package-desc): Use `dir' to mark builtin packages.
6718         (package--from-builtin): Set the `dir' field to `builtin'.
6719         (generated-autoload-file, version-control): Declare.
6720         (package-compute-transaction): Change first arg and return value to be
6721         lists of package-descs.  Adjust to new package-archive-contents format.
6722         (package--add-to-archive-contents): Adjust to new
6723         package-archive-contents format.
6724         (package-download-transaction): Arg is now a list of package-descs.
6725         (package-install): If `pkg' is a package name, pass it as
6726         a requirement, so it is subject to the usual (e.g. disabled) checks.
6727         (describe-package): Accept package-desc as well.
6728         (describe-package-1): Describe a specific package-desc.  Add links to
6729         other package-descs for the same package name.
6730         (package-menu-describe-package): Pass the actual package-desc.
6731         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6732         works correctly.
6733         (package-desc-status): New function.
6734         (package-menu--refresh): New function, extracted
6735         from package-menu--generate.
6736         (package-menu--generate): Use it.
6737         (package-delete): Update package-alist.
6738         (package-menu-execute): Don't call package-initialize.
6740         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6741         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6742         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6743         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6744         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6745         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6747 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6749         * window.el (window--state-get-1): Workaround for bug#14527.
6750         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6752 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6754         * net/eww.el (eww-back-url): Implement the history by stashing all
6755         the data into a list.
6756         (eww-forward-url): Allow going forward in the history, too.
6758 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6760         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6761         for values and use read--expression for expressions (bug#14710).
6762         (read-file-local-variable): Avoid setq.
6763         (read-file-local-variable-mode): Use minor-mode-list.
6765 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6767         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6768         for DOI URLs.
6770 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6772         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6773         Update imenu-support when dialect changes.
6775 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6777         * ido.el (ido-read-internal): Allow forward slash on windows.
6779 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6781         * net/eww.el (eww): Start of strings is \\`, not ^.
6783 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6785         * net/shr.el (shr-browse-url): Fix interactive spec.
6787         * net/eww.el (eww): Add a trailing slash to domain names.
6789 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6791         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6793 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6795         * net/shr.el (shr-browse-url): Use an external browser if given a
6796         prefix.
6798         * net/eww.el (eww-external-browser): Move to shr.
6800 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6802         * net/eww.el (eww): Work more correctly for file: URLs.
6803         (eww-detect-charset): Allow quoted charsets.
6804         (eww-yank-page-url): New command and keystroke.
6806 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6808         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6809         file name of gpg executable.
6810         (epg-context-program): New function.
6811         (epg-context-home-directory): New function.
6812         (epg-context-set-program): New function.
6813         (epg-context-set-home-directory): New function.
6814         (epg--start): Use `epg-context-program' instead of
6815         'epg-gpg-program'.
6816         (epg--list-keys-1): Likewise.
6818 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6820         * ido.el (ido-read-internal): Fix bug#14620.
6822 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6824         * faces.el (face-documentation): Simplify.
6825         (read-face-attribute, tty-find-type, x-resolve-font-name):
6826         Use `string-match-p'.
6827         (list-faces-display): Use `string-match-p'.  Simplify.
6828         (face-spec-recalc): Check face to avoid face alias loops.
6829         (read-color): Use `string-match-p' and non-capturing parenthesis.
6831 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6833         * net/shr.el (shr-rescale-image): Use the new
6834         :max-width/:max-height functionality.
6836 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6838         * net/eww.el (eww-search-prefix): New variable.
6839         (eww): Use it.
6840         (eww-external-browser): New variable.
6841         (eww-mode-map): New keystroke.
6842         (eww-browse-with-external-browser): New command.
6844         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6846 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6848         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6849         Don't skip aligning the next header field when padding is 0;
6850         otherwise, field width is not respected unless the title is as
6851         wide as the field.
6853 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6855         * emacs-lisp/package.el (package-el-version): Remove.
6856         (package-process-define-package): Fix inf-loop.
6857         (package-install): Allow symbols as arguments again.
6859 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6861         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6862         add some more keyword-like methods.
6863         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6865 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6867         * bs.el (bs-buffer-show-mark): Make defvar-local.
6868         (bs-mode): Use setq-local.
6870         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6871         (emacs-lock--try-unlocking): Make defvar-local.
6873 2013-06-22  Glenn Morris  <rgm@gnu.org>
6875         * play/cookie1.el (cookie-apropos): Minor simplification.
6877         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6879 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6881         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6882         `regexp-opt', it breaks the build during dumping.
6884 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6886         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6887         Highlight keyword-like methods on Kernel and Module with
6888         font-lock-builtin-face.
6889         (auto-mode-alist): Consolidate different entries into one regexp
6890         and add more *file-s.
6892 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6894         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6896         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6897         (diary-entry): Use it in the action of this button type instead of
6898         diary-goto-entry.
6900         * calendar/todo-mode.el: New version.
6901         (todo-add-category): Append new category to end of file and give
6902         it the highest number, instead of putting it at the beginning and
6903         giving it 0.  Incorporate noninteractive functionality.
6904         (todo-forward-category): Adapt to 1-based category numbering.
6905         Allow skipping over archived categories.
6906         (todo-backward-category): Derive from todo-forward-category.
6907         (todo-backward-item, todo-forward-item): Make noninteractive and
6908         delegate interactive part to new commands.  Make sensitive to done items.
6909         (todo-categories): Make value an alist of category names and
6910         vectors of item counts.
6911         (todo-category-beg): Make a defconst.
6912         (todo-category-number): Use 1 instead of 0 as initial value.
6913         (todo-category-select): Make sensitive to overlays, optional item
6914         highlighting and done items.
6915         (todo-delete-item): Make sensitive to overlays and marked and done items.
6916         (todo-edit-item): Make sensitive to overlays and editing of
6917         date/time header optional.  Add format checks.
6918         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6919         no-op if point is not on an item.  Advertise using todo-edit-quit.
6920         (todo-edit-mode): Make sensitive to new format, font-locking, and
6921         multiple todo files.
6922         (todo-insert-item, todo-insert-item-here): Derive from
6923         todo-basic-insert-item and extend functionality.
6924         (todo-item-end, todo-item-start): Make sensitive to done items.
6925         (todo-item-string): Don't return text properties.  Restore point.
6926         (todo-jump-to-category): Make sensitive to multiple todo files and
6927         todo archives.  Use extended category completion.
6928         (todo-lower-item, todo-raise-item): Rename to *-priority and
6929         derive from todo-set-item-priority.
6930         (todo-mode): Derive from special-mode.  Make sensitive to new
6931         format, font-locking and multiple todo files.  Make read-only.
6932         (todo-mode-map): Don't suppress digit keys, so they can supply
6933         prefix arguments.  Add many new key bindings.
6934         (todo-prefix): Insert as an overlay instead of file text.
6935         Change semantics from diary date expression to purely visual mark.
6936         (todo-print): Rename to todo-print-buffer.  Make buffer display
6937         features printable.  Remove option to restrict number of items
6938         printed.  Add option to print to file.
6939         (todo-print-function): Rename to todo-print-buffer-function.
6940         (todo-quit): Extend to handle exiting new todo modes.
6941         (todo-remove-item): Make sensitive to overlays.
6942         (todo-save): Extend to buffers of filtered items.
6943         (todo-show): Make sensitive to done items, multiple todo files and
6944         new todo modes.  Offer to convert legacy todo file before creating
6945         first new todo file.
6946         (todo-show-priorities): Rename to todo-top-priorities.
6947         Change semantics of value 0.
6948         (todo-top-priorities): Rename to todo-filter-top-priorities,
6949         derive from todo-filter-items and extend functionality.
6950         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6951         and extend functionality to other types of filtered items.
6952         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6953         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6954         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6955         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6956         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6957         (todo-edit-mode-hook, todo-entry-prefix-function)
6958         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6959         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6960         (todo-initials, todo-insert-threshold, todo-item-string-start)
6961         (todo-line-string, todo-menu, todo-mode-hook)
6962         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6963         (todo-print-priorities, todo-remove-separator)
6964         (todo-save-top-priorities-too, todo-string-count-lines)
6965         (todo-string-multiline-p, todo-time-string-format)
6966         (todo-tmp-buffer-name): Remove.
6967         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6968         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6969         (todo-edit-category-diary-inclusion)
6970         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6971         (todo-edit-file, todo-edit-item-date-day)
6972         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6973         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6974         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6975         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6976         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6977         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6978         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6979         (todo-filter-top-priorities-multifile, todo-find-archive)
6980         (todo-find-filtered-items-file, todo-go-to-source-item)
6981         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6982         (todo-jump-to-archive-category, todo-lower-category)
6983         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6984         (todo-move-category, todo-move-item, todo-next-button)
6985         (todo-next-item, todo-padded-string, todo-powerset)
6986         (todo-previous-button, todo-previous-item)
6987         (todo-print-buffer-to-file, todo-raise-category)
6988         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6989         (todo-set-category-number, todo-set-item-priority)
6990         (todo-set-top-priorities-in-category)
6991         (todo-set-top-priorities-in-file, todo-show-categories-table)
6992         (todo-sort-categories-alphabetically-or-numerically)
6993         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6994         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6995         (todo-toggle-item-header, todo-toggle-item-highlighting)
6996         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6997         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6998         (todo-unarchive-items, todo-unmark-category): New commands.
6999         (todo-absolute-file-name, todo-add-to-buffer-list)
7000         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7001         (todo-basic-insert-item, todo-category-completions)
7002         (todo-category-number, todo-category-string-matcher-1)
7003         (todo-category-string-matcher-2, todo-check-filtered-items-file)
7004         (todo-check-format, todo-clear-matches)
7005         (todo-comment-string-matcher, todo-convert-legacy-date-time)
7006         (todo-current-category, todo-date-string-matcher)
7007         (todo-define-insertion-command, todo-diary-expired-matcher)
7008         (todo-diary-goto-entry, todo-diary-item-p)
7009         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7010         (todo-display-categories, todo-display-sorted, todo-done-item-p)
7011         (todo-done-item-section-p, todo-done-separator)
7012         (todo-done-string-matcher, todo-files, todo-filter-items)
7013         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7014         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7015         (todo-insert-category-line, todo-insert-item-from-calendar)
7016         (todo-insert-sort-button, todo-insert-with-overlays)
7017         (todo-insertion-command-name, todo-insertion-key-bindings)
7018         (todo-label-to-key, todo-longest-category-name-length)
7019         (todo-make-categories-list, todo-mode-external-set)
7020         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7021         (todo-modes-set-3, todo-multiple-filter-files)
7022         (todo-nondiary-marker-matcher, todo-prefix-overlays)
7023         (todo-read-category, todo-read-date, todo-read-dayname)
7024         (todo-read-file-name, todo-read-time)
7025         (todo-reevaluate-category-completions-files-defcustom)
7026         (todo-reevaluate-default-file-defcustom)
7027         (todo-reevaluate-filelist-defcustoms)
7028         (todo-reevaluate-filter-files-defcustom)
7029         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7030         (todo-reset-done-separator, todo-reset-done-separator-string)
7031         (todo-reset-done-string, todo-reset-global-current-todo-file)
7032         (todo-reset-highlight-item, todo-reset-nondiary-marker)
7033         (todo-reset-prefix, todo-set-categories)
7034         (todo-set-date-from-calendar, todo-set-show-current-file)
7035         (todo-set-top-priorities, todo-short-file-name)
7036         (todo-show-current-file, todo-sort, todo-time-string-matcher)
7037         (todo-total-item-counts, todo-update-buffer-list)
7038         (todo-update-categories-display, todo-update-categories-sexp)
7039         (todo-update-count, todo-validate-name, todo-y-or-n-p):
7040         New functions.
7041         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7042         New major modes.
7043         (todo-categories, todo-display, todo-edit, todo-faces)
7044         (todo-filtered): New defgroups.
7045         (todo-archived-only, todo-button, todo-category-string, todo-date)
7046         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7047         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7048         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7049         (todo-add-item-if-new-category, todo-always-add-time-string)
7050         (todo-categories-align, todo-categories-archived-label)
7051         (todo-categories-category-label, todo-categories-diary-label)
7052         (todo-categories-done-label, todo-categories-number-separator)
7053         (todo-categories-todo-label, todo-categories-totals-label)
7054         (todo-category-completions-files, todo-completion-ignore-case)
7055         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7056         (todo-done-separator-string, todo-done-string)
7057         (todo-files-function, todo-filter-done-items, todo-filter-files)
7058         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7059         (todo-initial-category, todo-initial-file, todo-item-mark)
7060         (todo-legacy-date-time-regexp, todo-mode-line-function)
7061         (todo-nondiary-marker, todo-number-prefix)
7062         (todo-print-buffer-function, todo-show-current-file)
7063         (todo-show-done-only, todo-show-first, todo-show-with-done)
7064         (todo-skip-archived-categories, todo-top-priorities-overrides)
7065         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7066         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7067         New defcustoms.
7068         (todo-category-done, todo-date-pattern, todo-date-string-start)
7069         (todo-diary-items-buffer, todo-done-string-start)
7070         (todo-filtered-items-buffer, todo-item-start)
7071         (todo-month-abbrev-array, todo-month-name-array)
7072         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7073         (todo-top-priorities-buffer): New defconsts.
7074         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7075         (todo-categories-with-marks, todo-category-string-face)
7076         (todo-comment-face, todo-comment-string, todo-current-todo-file)
7077         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7078         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7079         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7080         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7081         (todo-font-lock-keywords, todo-global-current-todo-file)
7082         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7083         (todo-insertion-commands-args)
7084         (todo-insertion-commands-args-genlist)
7085         (todo-insertion-commands-names, todo-insertion-map)
7086         (todo-key-bindings-t, todo-key-bindings-t+a)
7087         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7088         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7089         (todo-nondiary-face, todo-print-buffer, todo-time-face)
7090         (todo-visited): New variables.
7092 2013-06-21  Glenn Morris  <rgm@gnu.org>
7094         * play/cookie1.el (cookie-apropos): Add optional display argument.
7095         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7096         (psychoanalyze-pinhead): Use cookie-doctor.
7098 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7100         * emacs-lisp/package.el (tar-get-file-descriptor)
7101         (tar--extract): Declare.
7103 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
7105         Extend flymake's warning predicate to be a function (bug#14217).
7106         * progmodes/flymake.el (flymake-warning-predicate): New.
7107         (flymake-parse-line): Use it.
7108         (flymake-warning-re): Make obsolete alias to
7109         `flymake-warning-predicate'.
7111 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7113         * emacs-lisp/package.el (package-alist): Include obsolete packages.
7114         (package-obsolete-list): Remove.
7115         (package-activate): Remove min-version argument.  Add `force' argument.
7116         Adjust to new package-alist format.
7117         (package-mark-obsolete): Remove.
7118         (package-unpack): Force reload of the package's autoloads.
7119         (package-installed-p): Check builtins if the installed package is not
7120         recent enough.
7121         (package-initialize): Don't reset package-obsolete-list.
7122         Don't specify which package version to activate.
7123         (package-process-define-package, describe-package-1)
7124         (package-menu--generate): Adjust to new package-alist format.
7126 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7128         * allout-widgets.el (allout-widgets-mode-off)
7129         (allout-widgets-mode-on, allout-widgets-pre-command-business)
7130         (allout-widgets-post-command-business)
7131         (allout-widgets-after-copy-or-kill-function)
7132         (allout-widgets-after-undo-function, allout-test-range-overlaps)
7133         (allout-decorate-item-and-context)
7134         (allout-graphics-modification-handler): Fix typos in docstrings.
7135         (allout-get-or-create-parent-widget): Use `looking-at-p'.
7137         * cmuscheme.el (scheme-start-file): Doc fix.
7138         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7139         (scheme-input-filter): Use `string-match-p'.
7141         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7143         * dired-x.el: Use Dired consistently in docstrings.
7145         * dired.el: Use Dired consistently in docstrings.
7146         (dired-readin, dired-mode): Use `setq-local'.
7147         (dired-switches-alist): Make defvar-local.
7148         (dired-buffers-for-dir): Use `zerop'.
7149         (dired-safe-switches-p, dired-switches-escape-p)
7150         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7151         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7152         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7153         (dired-goto-next-nontrivial-file): Use `string-match-p'.
7154         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7155         (dired-toggle-marks, dired-mark-files-containing-regexp)
7156         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7157         (dired-flag-auto-save-files, dired-flag-backup-files):
7158         Use `looking-at-p'.
7159         (dired-mark-files-regexp, dired-build-subdir-alist):
7160         Use `string-match-p', `looking-at-p'.
7162         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7163         (direct-print-region-helper): Use `string-match-p'.
7165 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7167         * comint.el (comint-redirect-results-list-from-process):
7168         Fix infinite loop.
7170 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7172         * net/eww.el (eww-update-header-line-format): Quote % characters.
7174 2013-06-21  Glenn Morris  <rgm@gnu.org>
7176         * play/cookie1.el (cookie): New custom group.
7177         (cookie-file): New option.
7178         (cookie-check-file): New function.
7179         (cookie): Make it interactive.  Make start and end messages optional.
7180         Interactively, display the result.  Default to cookie-file.
7181         (cookie-insert): Default to cookie-file.
7182         (cookie-snarf): Make start and end messages optional.
7183         Default to cookie-file.  Use with-temp-buffer.
7184         (cookie-read): Rename from read-cookie.
7185         Make start and end messages optional.  Default to cookie-file.
7186         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
7187         Do not autoload it.
7188         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7189         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7191 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7193         * progmodes/octave.el (octave-mode): Backward compatibility fix.
7195 2013-06-21  Glenn Morris  <rgm@gnu.org>
7197         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7199 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7200             Daniel Hackney  <dan@haxney.org>
7202         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7203         Consolidate the single-file vs tarball code.
7204         (package-desc-suffix): New function.
7205         (package-desc-full-name): Don't bother inlining it.
7206         (package-load-descriptor): Return the new package-desc.
7207         (package-mark-obsolete): Remove unused arg `package'.
7208         (package-unpack): Make it work for single files as well.
7209         Make it update package-alist.
7210         (package--make-autoloads-and-stuff): Rename from
7211         package--make-autoloads-and-compile.  Don't compile any more.
7212         (package--compile): New function.
7213         (package-generate-description-file): New function, extracted from
7214         package-unpack-single.
7215         (package-unpack-single): Remove.
7216         (package--with-work-buffer): Add indentation and debugging info.
7217         (package-download-single): Remove.
7218         (package-install-from-archive): Rename from package-download-tar, make
7219         it take a pkg-desc, and make it work for single files as well.
7220         (package-download-transaction): Simplify.
7221         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
7222         external tar program.
7223         (package-install-from-buffer): Remove `pkg-desc' argument.
7224         Use package-tar-file-info for tar-mode buffers.
7225         (package-install-file): Simplify accordingly.
7226         (package-archive-base): Change to take a pkg-desc.
7227         * tar-mode.el (tar--check-descriptor): New function, extracted from
7228         tar-get-descriptor.
7229         (tar-get-descriptor): Use it.
7230         (tar-get-file-descriptor): New function.
7231         (tar--extract): New function, extracted from tar-extract.
7232         (tar--extract): Use it.
7233         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7234         case the summary uses non-ascii.  Adjust to new calling convention of
7235         package-tar-file-info.
7237 2013-06-21  Leo Liu  <sdl.web@gmail.com>
7239         * comint.el (comint-redirect-results-list-from-process):
7240         Fix random delay.  (Bug#14681)
7242 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
7244         * profiler.el (profiler-format-number): Use log, not log10.
7246 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7248         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7250 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7252         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7253         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7254         yet available.
7255         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7256         (AUTOGENEL): ... here.
7257         * emacs-lisp/cl-macs.el (cl--sublis): New function.
7258         (cl--defsubst-expand): Use it.
7260 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
7262         * subr.el (log10): Move here from C code, and declare as obsolete.
7263         All uses of (log10 X) replaced with (log X 10).
7265 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7267         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7268         Declare with `defvar-local'.
7269         (tabulated-list-use-header-line, tabulated-list-entries)
7270         (tabulated-list-padding, tabulated-list-printer)
7271         (tabulated-list-sort-key): Declare with `defvar-local'.
7272         (tabulated-list-init-header, tabulated-list-print-fake-header):
7273         Use `setq-local'.
7275 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
7277         * arc-mode.el (archive-mode): Add `archive-write-file' to
7278         `write-contents-functions' also for remote files.  (Bug#14652)
7280 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
7282         * cus-edit.el (custom-commands): Fix typos.
7283         (custom-display): Fix tooltip text.
7284         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7285         Fix typos in docstrings.
7286         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7287         (custom-unlispify-menu-entry, custom-magic-value-create)
7288         (custom-add-see-also, custom-group-value-create): Use ?\s.
7289         (custom-guess-type, customize-apropos, editable-field)
7290         (custom-face-value-create): Use `string-match-p'.
7291         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7293         * custom.el (custom-load-symbol): Use `string-match-p'.
7295         * ansi-color.el: Convert to lexical binding.
7296         (ansi-colors): Fix URL.
7297         (ansi-color-context, ansi-color-context-region): Use defvar-local.
7298         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7299         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7301 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7303         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7305         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7307 2013-06-19  Tom Tromey  <tromey@redhat.com>
7309         * net/eww.el (eww-top-url): Remove.
7310         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7311         (eww-render): Set new variables.  Don't set eww-top-url.
7312         (eww-handle-link): Handle "prev", "home", and "contents".
7313         Downcase the rel text.
7314         (eww-top-url): Choose best top URL.
7316 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7318         * net/eww.el: Rewrite to implement form elements "by hand" instead of
7319         relying in widget.el.  Using widget.el leads to too many
7320         user interface inconsistencies.
7321         (eww-self-insert): Implement entering commands in text fields.
7322         (eww-process-text-input): New function to make text input field editing
7323         work.
7324         (eww-submit): Rewrite to use the new-style form methods.
7325         (eww-select-display): Display the correct selected item.
7326         (eww-change-select): Implement changing the select value.
7327         (eww-toggle-checkbox): Implement radio/checkboxes.
7328         (eww-update-field): Fix compilation error.
7329         (eww-tag-textarea): Implement <textarea>.
7331         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7332         we don't shadow mode-specific bindings.
7334         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7335         nothing to push.
7337         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7339 2013-06-19  Glenn Morris  <rgm@gnu.org>
7341         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7343 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7345         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7346         not needed.
7348         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7350 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7352         * net/browse-url.el (browse-url-browser-function):
7353         `eww-browse-url' has the right calling signature, `eww' does not.
7355 2013-06-19  Glenn Morris  <rgm@gnu.org>
7357         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7358         Only eval autoloaded macros.
7359         (byte-compile-autoload): Only give the macro warning for macros.
7361         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7362         (ps-underlined-faces): Declare.
7364         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7365         (speedbar-add-supported-extension): Declare.
7367         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7368         Don't include a date stamp in the header of the generated file;
7369         it leads to needless differences between output files.
7371 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
7373         * net/secrets.el (secrets-struct-secret-content-type):
7374         Replace check of introspection data by a test call of "CreateItem".
7375         Some servers do not offer introspection.
7377 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7379         * electric.el (electric-pair-mode): Improve interaction with
7380         electric-layout-mode.
7381         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7382         (electric-pair-syntax): Use text-mode-syntax-table in comments
7383         and strings.
7384         (electric-pair--insert): New function.
7385         (electric-pair-post-self-insert-function): Use it and
7386         electric--after-char-pos.
7388 2013-06-19  Leo Liu  <sdl.web@gmail.com>
7390         * progmodes/octave.el (octave-help): Fix regexp.
7392 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7394         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7395         (shr-table-horizontal-line): Allow nil as a value, and change the
7396         default.
7397         (shr-insert-table-ruler): Respect the nil value.
7399 2013-06-18  Tom Tromey  <tromey@barimba>
7401         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7402         New defvars.
7403         (eww-open-file): New defun.
7404         (eww-render): Initialize new variables.
7405         (eww-display-html): Handle "link" and "a".
7406         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7407         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
7408         (eww-back-url): Rename from eww-previous-url.
7409         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7410         New defuns.
7412 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
7414         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7415         Distinguish ternary operator tokens from slash symbol and slash
7416         char literal.
7418 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7420         Convert symbol prettification into minor mode and global minor mode.
7422         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7423         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7424         (prettify-symbols--keywords): Rename from
7425         `prog-prettify-symbols-alist' and make a local defvar.
7426         (prettify-symbols--compose-symbol): Rename from
7427         `prog--prettify-font-lock-compose-symbol'.
7428         (prettify-symbols--make-keywords): Rename from
7429         `prog-prettify-font-lock-symbols-keywords' and simplify.
7430         (prog-prettify-install): Remove.
7431         (prettify-symbols-mode): New minor mode, based on
7432         `prog-prettify-install'.
7433         (turn-on-prettify-symbols-mode): New function.
7434         (global-prettify-symbols-mode): New globalized minor mode.
7436         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7437         * progmodes/cfengine.el (cfengine3-mode):
7438         * progmodes/perl-mode.el (perl-mode): Don't call
7439         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7441 2013-06-18  Juri Linkov  <juri@jurta.org>
7443         * files-x.el (modify-file-local-variable-message): New function.
7444         (modify-file-local-variable)
7445         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7446         and call `modify-file-local-variable-message' when it's non-nil.
7447         (add-file-local-variable, delete-file-local-variable)
7448         (add-file-local-variable-prop-line)
7449         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7450         and use it.  (Bug#9820)
7452 2013-06-18  Juri Linkov  <juri@jurta.org>
7454         * emulation/vi.el (vi-shell-op):
7455         * emulation/vip.el (vip-execute-com, ex-command):
7456         * emulation/viper-cmd.el (viper-exec-bang):
7457         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7458         the call of `shell-command-on-region'.  (Bug#14637)
7460         * simple.el (shell-command-on-region): Doc fix.
7462 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7464         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7465         (bug#14633).
7467 2013-06-18  Glenn Morris  <rgm@gnu.org>
7469         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7471         * newcomment.el (comment-search-forward, comment-search-backward):
7472         Doc fix.  (Bug#14376)
7474 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7476         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7477         (buffer-face-mode-invoke): Doc fix.
7479 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7481         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7482         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7484 2013-06-18  Glenn Morris  <rgm@gnu.org>
7486         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7487         Replace obsolete function generic-make-keywords with its expansion.
7489         * progmodes/python.el (ffap-alist): Declare.
7491         * textmodes/reftex.el (bibtex-mode-map): Declare.
7493 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7495         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7496         (package-unpack, package-unpack-single): Return the pkg-dir.
7497         (package-download-transaction): Use it to update package-alist.
7499 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7501         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7502         possible choice.
7504 2013-06-17  Juri Linkov  <juri@jurta.org>
7506         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7508 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7510         * emacs-lisp/package.el (package-load-descriptor):
7511         Remove `with-syntax-table' call, `read' doesn't need it.
7512         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7514 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7516         * startup.el (command-line): Expand package name returned by
7517         `package--description-file' (bug#14639).
7519 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7521         * emacs-lisp/package.el (package-load-descriptor): Do not call
7522         `emacs-lisp-mode', just use its syntax table.
7524 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7526         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7527         `font-lock-extra-managed-props' if any prettifying keyword is added.
7528         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7529         (prog-mode): Use `setq-local'.
7531 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7533         * international/characters.el (standard-case-table): Set syntax of ?»
7534         and ?« to punctuation.
7536 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7538         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7539         Save relevant match data before calling `syntax-ppss' (bug#14595).
7541 2013-06-15  Juri Linkov  <juri@jurta.org>
7543         * files-x.el (modify-file-local-variable-prop-line): Add local
7544         variables to the end of the existing comment on the first line.
7545         Use `file-auto-mode-skip' to skip interpreter magic line,
7546         and also skip XML declaration.
7548 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7550         * startup.el (package--builtin-versions): New var.
7551         (package-subdirectory-regexp): Remove.
7552         (package--description-file): Hard code its value instead.
7554         * emacs-lisp/package.el: Don't activate packages older than builtin.
7555         (package-obsolete-list): Rename from package-obsolete-alist, and make
7556         it into a simple list of package-desc.
7557         (package-strip-version): Remove.
7558         (package-built-in-p): Use package--builtin-versions.
7559         (package-mark-obsolete): Simplify.
7560         (package-process-define-package): Mark it obsolete if older than the
7561         builtin version.
7562         (package-handle-response): Use line-end-position.
7563         (package-read-archive-contents, package--download-one-archive):
7564         Simplify.
7565         (package--add-to-archive-contents): Skip if older than the builtin or
7566         installed version.
7567         (package-menu-describe-package): Fix last change.
7568         (package-list-unversioned): New var.
7569         (package-menu--generate): Use it.
7571         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7572         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7573         (autoload-builtin-package-versions): New variable.
7574         (autoload-generate-file-autoloads): Use them.
7575         Remove the list of autoloaded functions/macros from the
7576         (autoload...) comments.
7578         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7580 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7582         * simple.el (line-move-partial): Don't jump to the next screen
7583         line as soon as it becomes visible.  Instead, continue enlarging
7584         the vscroll until the portion of a tall screen line that's left on
7585         display is about the height of the frame's default font.
7586         (Bug#14567)
7588 2013-06-15  Glenn Morris  <rgm@gnu.org>
7590         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7591         compilation-error-regexp-alist void, or local while let-bound.
7593         * progmodes/make-mode.el (makefile-mode-syntax-table):
7594         Treat "=" as punctuation.  (Bug#14614)
7596 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7598         * help-fns.el (describe-variable):
7599         Add extra line for permanent-local variables.
7601 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7603         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7604         Add export, import, library.  (Bug#9164)
7605         (library): Set indent function.
7607 2013-06-14  Glenn Morris  <rgm@gnu.org>
7609         * term/xterm.el (xterm--query):
7610         Stop after first matching handler.  (Bug#14615)
7612 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7614         Add support for dired in saveplace.
7615         * dired.el (dired-initial-position-hook): New variable.
7616         (dired-initial-position): Call hook to place cursor position.
7617         * saveplace.el (save-place-to-alist): Add dired position.
7618         (save-place-dired-hook): New function.
7620 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7622         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7623         through a symbol rather than letrec.
7625         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7626         (package-desc): Add `dir' field.
7627         (package-desc-full-name): New function.
7628         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7629         (package-maybe-load-descriptor): Remove.
7630         (package-load-all-descriptors): Just call package-load-descriptor.
7631         (package--disabled-p): New function.
7632         (package-desc-vers, package-desc-doc): Remove aliases.
7633         (package--dir): Remove function.
7634         (package-activate): Check if a package is disabled.
7635         (package-process-define-package): New function, extracted from
7636         define-package.
7637         (define-package): Turn into a place holder.
7638         (package-unpack-single, package-tar-file-info):
7639         Use package--description-file.
7640         (package-compute-transaction): Use package--disabled-p.
7641         (package-download-transaction): Don't call
7642         package-maybe-load-descriptor since they're all loaded anyway.
7643         (package-install): Change argument to be a pkg-desc.
7644         (package-delete): Use a single pkg-desc argument.
7645         (describe-package-1): Use package-desc-dir instead of package--dir.
7646         Use package-desc property instead of package-symbol.
7647         (package-install-button-action): Adjust accordingly.
7648         (package--push): Rewrite.
7649         (package-menu--print-info): Adjust accordingly.  Change the ID format
7650         to be a pkg-desc.
7651         (package-menu-describe-package, package-menu-get-status)
7652         (package-menu--find-upgrades, package-menu-mark-upgrades)
7653         (package-menu-execute, package-menu--name-predicate):
7654         Adjust accordingly.
7655         * startup.el (package--description-file): New function.
7656         (command-line): Use it.
7657         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7658         Use package-desc-version.
7660         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7661         (byte-compile-preprocess): Use it.
7662         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7663         can't quite recognize.
7664         (byte-compile-add-to-list): Remove.
7665         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7666         (cconv-closure-convert): Add assertion.
7668         * emacs-lisp/map-ynp.el: Use lexical-binding.
7669         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7670         Factor out some repeated code.
7672 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7674         * subr.el (with-eval-after-load): New macro.
7675         (eval-after-load): Allow form to be a function.
7676         take advantage of lexical-binding.
7677         (do-after-load-evaluation): Use dolist and adjust to new format.
7678         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7680 2013-06-13  Juri Linkov  <juri@jurta.org>
7682         * replace.el (perform-replace): Display "symbol " and other search
7683         modes from `isearch-message-prefix' in the *Help* buffer.
7685         * isearch.el (isearch-query-replace): Add " symbol" and other
7686         possible search modes from `isearch-message-prefix' to the prompt.
7687         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7688         when reading a regexp to collect.
7690 2013-06-13  Juri Linkov  <juri@jurta.org>
7692         * isearch.el (word-search-regexp): Match whitespace if the search
7693         string begins or ends in whitespace.  The LAX arg is applied to
7694         both ends of the search string.  Use `regexp-quote' and explicit
7695         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7696         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7697         boundaries are replaced with symbol boundaries, and characters
7698         between symbols match non-word non-symbol syntax.  (Bug#14602)
7700 2013-06-13  Juri Linkov  <juri@jurta.org>
7702         * isearch.el (isearch-del-char): Don't exceed the length of
7703         `isearch-string' by the prefix arg.  (Bug#14563)
7705 2013-06-13  Juri Linkov  <juri@jurta.org>
7707         * isearch.el (isearch-yank-word, isearch-yank-line)
7708         (isearch-char-by-name, isearch-quote-char)
7709         (isearch-printing-char, isearch-process-search-char):
7710         Add optional count prefix arg.  (Bug#14563)
7712         * international/isearch-x.el
7713         (isearch-process-search-multibyte-characters):
7714         Add optional count prefix arg.
7716 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7718         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7719         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7720         lexical-binding.
7722 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7724         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7726 2013-06-13  Glenn Morris  <rgm@gnu.org>
7728         * startup.el (tty-handle-args):
7729         Don't just discard "--" and anything after.  (Bug#14608)
7731         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7733 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7735         Implement changes in Secret Service API.  Make it backward compatible.
7736         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7737         (secrets-create-item): Use it.  Prefix properties with interface.
7739 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7741         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7742         (term-emulate-terminal): Respect term-suppress-hard-newline.
7744 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7746         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7747         Only remove a `thumb-file' overlay.  (Bug#14548)
7749 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7751         * mail/reporter.el (reporter-submit-bug-report):
7752         Handle missing package-name.  (Bug#14600)
7754 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7756         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7757         (reftex-citation-prompt, reftex-default-bibliography)
7758         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7759         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7760         (reftex-bib-sort-author, reftex-bib-sort-year)
7761         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7762         (reftex-extract-bib-entries-from-thebibliography)
7763         (reftex-get-bibkey-default, reftex-get-bib-names)
7764         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7765         (reftex-format-bib-entry, reftex-parse-bibitem)
7766         (reftex-format-bibitem, reftex-do-citation)
7767         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7768         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7769         (reftex-insert-bib-matches, reftex-format-citation)
7770         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7771         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7772         existing comments into docstrings.
7774 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7776         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7778 2013-06-12  Andreas Schwab  <schwab@suse.de>
7780         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7781         for auto-save files.
7783 2013-06-12  Glenn Morris  <rgm@gnu.org>
7785         * ido.el (ido-delete-ignored-files): Remove.
7786         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7787         Go back to calling ido-ignore-item-p directly.
7789 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7791         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7793         * ido.el (ido-delete-ignored-files): New function,
7794         split from ido-make-file-list-1.
7795         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7796         (ido-make-file-list-1): Use ido-delete-ignored-files.
7798 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7800         * progmodes/octave.el (inferior-octave-startup)
7801         (inferior-octave-completion-table)
7802         (inferior-octave-track-window-width-change)
7803         (octave-eldoc-function-signatures, octave-help)
7804         (octave-find-definition): Use single quoted strings.
7805         (inferior-octave-startup-args): Change default value.
7806         (inferior-octave-startup): Do not hard code "-i" and
7807         "--no-line-editing".
7808         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7809         (inferior-octave-directory-tracker): Use it.
7810         (octave-goto-function-definition): Robustify.
7811         (octave-help): Support highlighting operators in 'See also'.
7812         (octave-find-definition): Find subfunctions only in Octave mode.
7814 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7816         * help-fns.el (help-fns--compiler-macro): If the handler function is
7817         named, then put a link to it.
7818         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7819         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7820         (cl-typep): Use it.
7821         (cl-eval-when): Simplify debug spec.
7822         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7823         compiler-macro function instead of setting `compiler-macro-file'.
7825 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7827         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7828         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7830 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7831             Daniel Hackney  <dan@haxney.org>
7833         First part of Daniel Hackney's patch to package.el.
7834         * emacs-lisp/package.el: Use defstruct.
7835         (package-desc): New, main struct.
7836         (package--bi-desc, package--ac-desc): New structs, used to describe the
7837         format in external files.
7838         (package-desc-vers): Replace with package-desc-version accessor.
7839         (package-desc-doc): Replace with package-desc-summary accessor.
7840         (package-activate-1): Remove `package' arg since the pkg-vec now
7841         includes the name.
7842         (define-package): Use package-desc-from-define.
7843         (package-unpack-single): Change file-name arg to be a symbol.
7844         (package--add-to-archive-contents): Use package-desc-create and new
7845         accessor functions to package--ac-desc.
7846         (package-buffer-info, package-tar-file-info): Return a package-desc.
7847         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7848         arg to be a package-desc.
7849         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7850         (package--from-builtin): New function.
7851         (describe-package-1, package-menu--generate): Use it.
7852         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7853         (package-generate-autoloads): Idem and return the name of the file.
7854         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7855         Change pkg-info arg to be a package-desc.
7856         Use package-make-ac-desc.
7857         (package-upload-file): Use \' to match EOS.
7858         * finder.el (finder-compile-keywords): Use package-make-builtin.
7860 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7862         * vc/vc.el (vc-deduce-fileset): Change error message.
7863         (vc-read-backend): New function.
7864         (vc-next-action): Use it.
7866         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7868         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7869         (prolog-font-lock-keywords): Use regexp-opt instead.
7870         Don't manually highlight strings.
7871         (prolog-mode-variables): Simplify comment-start-skip.
7872         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7874         * emacs-lisp/generic.el (generic--normalise-comments)
7875         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7876         (generic-mode-set-comments): Use them.
7877         (generic-bracket-support): Use setq-local.
7878         (generic-make-keywords-list): Declare obsolete.
7880 2013-06-11  Glenn Morris  <rgm@gnu.org>
7882         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7883         Prettify after setting font-lock-defaults.  (Bug#14574)
7885 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7887         * replace.el (query-replace, occur-read-regexp-defaults-function)
7888         (replace-search):
7889         * subr.el (declare-function, number-sequence, local-set-key)
7890         (substitute-key-definition, locate-user-emacs-file)
7891         (with-silent-modifications, split-string, eval-after-load):
7892         Fix typos, remove unneeded backslashes and reflow some docstrings.
7894 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7896         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7897         default for Elisp files.
7899 2013-06-11  Glenn Morris  <rgm@gnu.org>
7901         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7902         although define-derived-mode was doing this anyway.  (Bug#14583)
7904 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7906         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7907         Fix make-variable-buffer-local call to refer to the correct variable.
7909 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7911         * eshell/em-term.el (eshell-visual-commands)
7912         (eshell-visual-subcommands, eshell-visual-options):
7913         Add summary line to docstrings.  Add cross-references.
7915 2013-06-10  Glenn Morris  <rgm@gnu.org>
7917         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7918         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7920 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7922         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7923         output redirection to be ignored with visual commands.
7925 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7927         * eshell/em-term.el (eshell-visual-command-p): New function.
7928         (eshell-term-initialize): Move long lambda to separate function
7929         eshell-visual-command-p.
7930         * eshell/em-dirs.el (eshell-dirs-initialise):
7931         * eshell/em-script.el (eshell-script-initialize):
7932         Add missing #' to lambda.
7934 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7936         * progmodes/octave.el (octave-add-log-current-defun): New function.
7937         (octave-mode): Set add-log-current-defun-function.
7938         (octave-goto-function-definition): Do not move point if not found.
7939         (octave-find-definition): Enhance to try subfunctions first.
7941 2013-06-08  Glenn Morris  <rgm@gnu.org>
7943         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7944         (byte-compile-backward-char, byte-compile-backward-word):
7945         Improve previous change, to handle non-explicit nil.
7947 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7949         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7950         (smie--opener/closer-at-point): New function.
7951         (smie--matching-block-data): Use it.  Don't match from right after an
7952         opener or right before a closer.  Obey smie-blink-matching-inners.
7953         Don't signal a mismatch for repeated inners like "switch..case..case".
7955 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7957         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7958         to t.  (Bug#14303)
7959         (octave-function-header-regexp): Fix.  (Bug#14570)
7960         (octave-help-mode-finish-hook, octave-help-mode-finish):
7961         Remove.  Just use temp-buffer-show-hook.
7963         * newcomment.el (comment-search-backward): Revert last change.
7964         (Bug#14434)
7966         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7968 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7970         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7971         through xargs, to avoid failure due to MS-Windows limitations on
7972         command-line length.
7974 2013-06-06  Glenn Morris  <rgm@gnu.org>
7976         * font-lock.el (lisp-font-lock-keywords-2):
7977         Treat user-error like error.
7979         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7980         (byte-compile-backward-char, byte-compile-backward-word):
7981         Handle explicit nil arguments.  (Bug#14565)
7983 2013-06-05  Alan Mackenzie  <acm@muc.de>
7985         * isearch.el (isearch-allow-prefix): New user option.
7986         (isearch-other-meta-char): Don't exit isearch when a prefix
7987         argument is typed whilst `isearch-allow-prefix' is non-nil.
7988         (Bug#9706)
7990 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7992         * autorevert.el (auto-revert-notify-handler): Use memq.
7993         Hide assertion failure.
7995         * skeleton.el: Use cl-lib.
7996         (skeleton-further-elements): Use defvar-local.
7997         (skeleton-insert): Use cl-progv.
7999 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8001         * progmodes/prog-mode.el (prog-prettify-symbols)
8002         (prog-prettify-install): Update docstrings.
8004 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8006         * simple.el: Move all the prog-mode code to prog-mode.el.
8007         * progmodes/prog-mode.el: New file.
8008         * loadup.el: Add prog-mode.el.
8010 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8012         * simple.el (prog-prettify-symbols): Add version.
8013         (prog-prettify-install): Add convenience function to prettify symbols.
8015         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8016         (perl--augmented-font-lock-keywords-1)
8017         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8018         variables and use it.
8020         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8021         (cfengine3-mode): Remove unneeded variable and use it.
8023         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8024         (lisp--augmented-font-lock-keywords-1)
8025         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8026         Remove unneeded variables and use it.
8028 2013-06-05  João Távora  <joaotavora@gmail.com>
8030         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8031         to point when opening the connection.  (Bug#14380)
8033 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8035         * subr.el (load-history-regexp, load-history-filename-element)
8036         (eval-after-load, after-load-functions, do-after-load-evaluation)
8037         (eval-next-after-load, display-delayed-warnings)
8038         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8039         definition of save-match-data.
8040         (overriding-local-map): Remove accidental obsolescence declaration.
8042         * emacs-lisp/edebug.el (edebug-result): Move before first use.
8044 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
8046         Generalize symbol prettify support to prog-mode and implement it
8047         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8048         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8049         (prog--prettify-font-lock-compose-symbol)
8050         (prog-prettify-font-lock-symbols-keywords): New variables and
8051         functions to support symbol prettification.
8052         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8053         (lisp--augmented-font-lock-keywords-1)
8054         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8055         (lisp--prettify-symbols-alist): Implement prettify of lambda.
8056         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8057         (cfengine3--prettify-symbols-alist, cfengine3-mode):
8058         Implement prettify of -> => :: strings.
8059         * progmodes/perl-mode.el (perl-prettify-symbols)
8060         (perl--font-lock-compose-symbol)
8061         (perl--font-lock-symbols-keywords): Move to prog-mode.
8062         (perl--prettify-symbols-alist): Prettify -> => :: strings.
8063         (perl-font-lock-keywords-1)
8064         (perl-font-lock-keywords-2): Remove explicit prettify support.
8065         (perl--augmented-font-lock-keywords)
8066         (perl--augmented-font-lock-keywords-1)
8067         (perl--augmented-font-lock-keywords-2, perl-mode):
8068         Implement prettify support.
8070 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8072         Re-implement smie matching block highlight using
8073         show-paren-data-function.  (Bug#14395)
8074         * emacs-lisp/smie.el (smie-matching-block-highlight)
8075         (smie--highlight-matching-block-overlay)
8076         (smie--highlight-matching-block-lastpos)
8077         (smie-highlight-matching-block)
8078         (smie-highlight-matching-block-mode): Remove.
8079         (smie--matching-block-data-cache): New variable.
8080         (smie--matching-block-data): New function.
8081         (smie-setup): Use smie--matching-block-data for
8082         show-paren-data-function.
8084         * progmodes/octave.el (octave-mode-menu): Fix.
8085         (octave-find-definition): Skip garbage lines.
8087 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8089         Fix compilation error with simultaneous dynamic+lexical scoping.
8090         Add warning when a defvar appears after the first let-binding.
8091         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8092         (byte-compile-close-variables): Initialize it.
8093         (byte-compile--declare-var): New function.
8094         (byte-compile-file-form-defvar)
8095         (byte-compile-file-form-define-abbrev-table)
8096         (byte-compile-file-form-custom-declare-variable): Use it.
8097         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
8098         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8099         (byte-compile-bind): Handle dynamic bindings that shadow
8100         lexical bindings.
8101         (byte-compile-unbind): Make arg non-optional.
8102         (byte-compile-let): Simplify.
8103         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8104         (cconv--analyse-function, cconv-analyse-form): Populate it.
8105         Protect byte-compile-bound-variables to limit the scope of defvars.
8106         (cconv-analyse-form): Add missing rule for (defvar <foo>).
8107         Remove unneeded rule for `declare'.
8109         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8110         so as to avoid depending on cl-adjoin at run-time.
8111         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8113         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8114         (macroexp--warn-and-return): Use it.
8116 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8118         * lisp/subr.el: Convert to lexical binding.
8119         (overriding-local-map): Make obsolete.
8120         (add-to-list): Doc fix.  Add compiler macro.
8121         (read-key): Swap values of local maps.
8123 2013-06-05  Leo Liu  <sdl.web@gmail.com>
8125         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8127 2013-06-04  Leo Liu  <sdl.web@gmail.com>
8129         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8130         (compilation-auto-jump): Suppress the "Mark set" message to give
8131         way to exit message.
8133 2013-06-04  Alan Mackenzie  <acm@muc.de>
8135         Remove faulty optimisation from indentation calculation.
8136         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8137         search limit based on 2000 characters back from indent-point.
8139 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8141         * eshell/em-term.el (cl-lib): Require `cl-lib'.
8143 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8145         * emacs-lisp/lisp.el: Use lexical-binding.
8146         (lisp--local-variables-1, lisp--local-variables): New functions.
8147         (lisp--local-variables-completion-table): New var.
8148         (lisp-completion-at-point): Use it complete let-bound vars.
8150         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8151         eagerly (bug#14422).
8153 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
8155         * autorevert.el (auto-revert-notify-enabled)
8156         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8157         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8158         (auto-revert-notify-handler): Handle also gfilenotify.
8160         * subr.el (file-notify-handle-event): New defun.  Replacing ...
8161         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8162         Remove.
8164 2013-06-03  Juri Linkov  <juri@jurta.org>
8166         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8167         `M-s h .'.  (Bug#14427)
8169         * hi-lock.el (highlight-symbol-at-point): New alias for the new
8170         command `hi-lock-face-symbol-at-point'.
8171         (hi-lock-face-symbol-at-point): New command.
8172         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8173         (hi-lock-menu): Add `highlight-symbol-at-point'.
8174         (hi-lock-mode): Doc fix.
8176         * isearch.el (isearch-forward-symbol-at-point): New command.
8177         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8178         (isearch-highlight-regexp): Add a regexp which matches
8179         words/symbols for word/symbol mode.
8181         * subr.el (find-tag-default-bounds): New function with the body
8182         mostly moved from `find-tag-default'.
8183         (find-tag-default): Move most code to `find-tag-default-bounds',
8184         call it and apply `buffer-substring-no-properties' afterwards.
8186 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
8188         * eshell/em-term.el (eshell-term-initialize):
8189         Use `cl-intersection' rather than `intersection'.
8191 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
8193         * vc/log-view.el: Doc fix.
8194         (log-view-mode-map): Copy keymap from `special-mode-map'.
8196 2013-06-02  Eric Ludlam  <zappo@gnu.org>
8198         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8199         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8200         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8201         (eieio-unbound, eieio-default-superclass)
8202         (eieio--define-field-accessors, method-static, method-before)
8203         (method-primary, method-after, method-num-lists)
8204         (method-generic-before, method-generic-primary)
8205         (method-generic-after, method-num-slots)
8206         (eieio-specialized-key-to-generic-key)
8207         (eieio--check-type, class-v, class-p)
8208         (eieio-class-name, define-obsolete-function-alias)
8209         (eieio-class-parents-fast, eieio-class-children-fast)
8210         (same-class-fast-p, class-constructor, generic-p)
8211         (generic-primary-only-p, generic-primary-only-one-p)
8212         (class-option-assoc, class-option, eieio-object-p)
8213         (class-abstract-p, class-method-invocation-order)
8214         (eieio-defclass-autoload-map, eieio-defclass-autoload)
8215         (eieio-class-un-autoload, eieio-defclass)
8216         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8217         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8218         (eieio--defgeneric-init-form, eieio-defgeneric-form)
8219         (eieio-defgeneric-reset-generic-form)
8220         (eieio-defgeneric-form-primary-only)
8221         (eieio-defgeneric-reset-generic-form-primary-only)
8222         (eieio-defgeneric-form-primary-only-one)
8223         (eieio-defgeneric-reset-generic-form-primary-only-one)
8224         (eieio-unbind-method-implementations)
8225         (eieio--defmethod, eieio--typep)
8226         (eieio-perform-slot-validation, eieio-validate-slot-value)
8227         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8228         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8229         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8230         (eieio-slot-name-index, eieio-class-slot-name-index)
8231         (eieio-set-defaults, eieio-initarg-to-attribute)
8232         (eieio-attribute-to-initarg, eieio-c3-candidate)
8233         (eieio-c3-merge-lists, eieio-class-precedence-c3)
8234         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8235         (eieio-class-precedence-list, eieio-generic-call-methodname)
8236         (eieio-generic-call-arglst, eieio-generic-call-key)
8237         (eieio-generic-call-next-method-list)
8238         (eieio-pre-method-execution-functions, eieio-generic-call)
8239         (eieio-generic-call-primary-only, eieiomt-method-list)
8240         (eieiomt-optimizing-obarray, eieiomt-install)
8241         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8242         (eieio-generic-form, eieio-defmethod, make-obsolete)
8243         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8244         (defclass): Remove `eval-and-compile' from macro.
8245         (call-next-method, shared-initialize): Instead of using
8246         `scoped-class' variable, use new eieio--scoped-class, and
8247         eieio--with-scoped-class.
8248         (initialize-instance): Rename local variable 'scoped-class' to
8249         'this-class' to remove ambiguitity from old global.
8251         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
8252         eieio.el.
8253         (eieio--scoped-class-stack): New variable.
8254         (eieio--scoped-class): New fcn.
8255         (eieio--with-scoped-class): New scoping macro.
8256         (eieio-defclass): Use pushnew instead of add-to-list.
8257         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8258         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8259         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8260         `scoped-class' variable, use new eieio--scoped-class, and
8261         eieio--with-scoped-class.
8263         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8265 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
8267         * eshell/esh-ext.el (eshell-external-command): Pass args to
8268         `eshell-find-interpreter'.
8269         (eshell-find-interpreter): Add new second parameter ARGS.
8271         * eshell/em-script.el (eshell-script-initialize): Add second arg
8272         to the function added as MATCH to `eshell-interpreter-alist'.
8274         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8275         the function added as MATCH to `eshell-interpreter-alist'.
8277         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8278         (eshell-visual-options): New defcustom.
8279         (eshell-escape-control-x): Adapt docstring.
8280         (eshell-term-initialize): Test `eshell-visual-subcommands' and
8281         `eshell-visual-options' in addition to `eshell-visual-commands'.
8282         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8284 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8286         * progmodes/python.el (python-indent-block-enders): Add break,
8287         continue and raise keywords.
8289 2013-06-01  Glenn Morris  <rgm@gnu.org>
8291         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8293         Plain (f)boundp silences compilation warnings since Emacs 22.1.
8294         * progmodes/cc-cmds.el (delete-forward-p):
8295         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8296         * progmodes/cc-engine.el (buffer-syntactic-context):
8297         * progmodes/cc-fonts.el (face-property-instance):
8298         * progmodes/cc-mode.el (set-keymap-parents):
8299         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8300         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8301         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8302         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8303         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8305         * progmodes/cc-vars.el (other): Emacs has this widget since
8306         at least 21.1, so don't (re)define it.
8308         * eshell/em-cmpl.el (eshell-cmpl-initialize):
8309         Replace the obsolete alias pcomplete-arg-quote-list.
8311 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8313         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8314         punctuation syntax.
8315         (inferior-octave-minimal-columns)
8316         (inferior-octave-last-column-width): New variables.
8317         (inferior-octave-track-window-width-change): New function.
8318         (inferior-octave-mode): Adjust column width so that Octave output,
8319         for example from 'ls', can fit into the window nicely.
8321 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8323         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8324         Highlight expansions inside regexp literals.
8326 2013-05-31  Glenn Morris  <rgm@gnu.org>
8328         * obsolete/sym-comp.el (symbol-complete):
8329         Replace obsolete completion-annotate-function.
8331         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8333 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
8335         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8336         New function, checks if point is inside a literal that allows
8337         expression expansion.
8338         (ruby-syntax-propertize-expansion): Use it.
8339         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8340         around the body.
8342 2013-05-30  Juri Linkov  <juri@jurta.org>
8344         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8345         to "\M-si".
8346         (isearch-invisible): New variable.
8347         (isearch-forward): Doc fix.
8348         (isearch-mode): Set `isearch-invisible'
8349         to the value of `search-invisible'.
8350         (isearch-toggle-case-fold): Doc fix.
8351         (isearch-toggle-invisible): New command.
8352         (isearch-query-replace): Let-bind `search-invisible'
8353         to the value of `isearch-invisible'.
8354         (isearch-search): Use `isearch-invisible' instead of
8355         `search-invisible'.  Let-bind `search-invisible'
8356         to the value of `isearch-invisible'.  (Bug#11378)
8358 2013-05-30  Juri Linkov  <juri@jurta.org>
8360         * replace.el (perform-replace): Avoid `isearch-range-invisible'
8361         call when `query-flag' is nil and `search-invisible' is non-nil.
8362         (Bug#11746)
8364 2013-05-30  Glenn Morris  <rgm@gnu.org>
8366         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8368         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8369         (cc-require): Suppress spurious "noruntime" warnings.
8370         (cc-require-when-compile): Use fboundp, for sake of compiler.
8372         * progmodes/cc-mode.el: Move load of cc-vars before that of
8373         cc-langs (which in turn loads cc-vars), to quieten compiler.
8375 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8377         * paren.el: Simplify the code.
8378         (show-paren-mode): Always start the timer.
8379         (show-paren--idle-timer): Rename from show-paren-idle-timer.
8380         (show-paren--overlay, show-paren--overlay-1): Rename from
8381         show-paren-overlay and show-paren-overlay-1, and initialize to an
8382         overlay rather than to nil.
8383         (show-paren-function): Misc cleanup and simplifications.
8385 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8387         * paren.el (show-paren-data-function): New hook.
8388         (show-paren--default): New function, extracted from show-paren-function.
8389         (show-paren-function): Use show-paren-data-function.
8391 2013-05-30  Glenn Morris  <rgm@gnu.org>
8393         * ielm.el (ielm-map, ielm-complete-symbol):
8394         Use completion-at-point rather than obsolete functions.
8395         (inferior-emacs-lisp-mode): Doc fix.
8396         Set completion-at-point-functions, rather than
8397         comint-dynamic-complete-functions.
8399         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8400         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8401         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8403         * image.el (image-animated-p): Tweak definition.
8405         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8406         (rlogin-process-connection-type): Tweak default.  Add set-after.
8407         (rlogin-host): Doc fix.
8408         (rlogin): Tweak prompt.
8409         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8411         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8412         * progmodes/tcl.el (inferior-tcl-mode-map):
8413         Use completion-at-point rather than obsolete alias.
8415         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8417         * minibuffer.el (read-file-name-completion-ignore-case):
8418         Move before completion--in-region, for eager macro expansion.
8420 2013-05-29  Juri Linkov  <juri@jurta.org>
8422         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8423         for total count of matching lines.  Add `global-matches' for total
8424         count of matches.  Rename `matches' to `lines' for count of
8425         matching lines.  Add `matches' for count of matches.
8426         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8427         to `prev-line' for line number of prev match endpt.
8428         Increment `matches' for every match.  Print the number of
8429         matching lines in the header.
8430         (occur-context-lines): Rename `lines' to `curr-line'.
8431         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8433 2013-05-29  Juri Linkov  <juri@jurta.org>
8435         * replace.el (perform-replace): Add `skip-read-only-count',
8436         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8437         Increment them for corresponding conditions and report the number
8438         of skipped occurrences in the final message.  (Bug#11746)
8439         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8440         (replace-string, replace-regexp): Doc fix.
8442 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8444         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8446         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8447         prog-mode-map (bug#14504).
8449 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8451         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8452         (octave-help): Small simplification.
8454         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8455         off the highlight first.
8457 2013-05-29  Glenn Morris  <rgm@gnu.org>
8459         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8460         Handle idlwave-last-system-routine-info-cons-cell being nil.
8462         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8463         (idlwave-write-paths): Simplify via with-temp-buffer.
8465         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8466         * emulation/cua-rect.el: Also load cua-base at run time.
8468         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8469         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8470         (cperl-imenu-on-info): Require imenu.
8472 2013-05-28  Alan Mackenzie  <acm@muc.de>
8474         Handle "capitalised keywords" correctly.
8475         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8477 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8479         * eshell/em-unix.el: Add -r option to cp.
8481 2013-05-28  Glenn Morris  <rgm@gnu.org>
8483         * vc/vc-arch.el (vc-exec-after): Declare.
8484         (vc-switches): Autoload.
8485         * vc/vc-bzr.el: No need to require vc when compiling.
8486         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8487         (vc-resynch-buffer, vc-dir-refresh): Declare.
8488         (vc-setup-buffer, vc-switches): Autoload.
8489         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8490         (vc-resynch-buffer): Declare.
8491         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8492         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8493         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8494         (grep-read-regexp, grep-read-files, grep-expand-template)
8495         (vc-dir-refresh): Declare.
8496         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8497         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8498         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8499         * vc/vc-mtn.el (vc-exec-after): Declare.
8500         (vc-switches): Autoload.
8501         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8502         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8503         (vc-file-tree-walk): Declare.
8504         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8505         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8506         (vc-tag-precondition, vc-rename-master): Autoload.
8507         * vc/vc-svn.el (vc-exec-after): Declare.
8508         (vc-switches, vc-setup-buffer): Autoload.
8509         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8510         Autoload.
8511         (vc-resynch-buffer): Declare.
8513         * obsolete/fast-lock.el (byte-compile-warnings):
8514         Don't warn about obsolete features in this obsolete file.
8516         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8517         Move definition before use.
8519         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8520         (dun-unix-verbs): Remove dun-zippy.
8521         (dun-zippy): Remove function.
8523         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8525 2013-05-27  Juri Linkov  <juri@jurta.org>
8527         * replace.el (replace-search): New function with code moved out
8528         from `perform-replace'.
8529         (replace-highlight, replace-dehighlight): Move function definitions
8530         up closer to `replace-search'.  (Bug#11746)
8532 2013-05-27  Juri Linkov  <juri@jurta.org>
8534         * replace.el (perform-replace): Ignore invisible matches.
8535         In addition to checking `query-replace-skip-read-only', also
8536         filter out matches by calling `run-hook-with-args-until-failure'
8537         on `isearch-filter-predicates', and also check `search-invisible'
8538         for t or call `isearch-range-invisible'.
8539         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8541 2013-05-27  Juri Linkov  <juri@jurta.org>
8543         * isearch.el (isearch-filter-predicates): Rename from
8544         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8545         (isearch-message-prefix): Display text from the property
8546         `isearch-message-prefix' of the currently active filters.
8547         (isearch-search): Don't compare `isearch-filter-predicate' with
8548         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8549         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8550         or call `isearch-range-invisible'.
8551         (isearch-filter-visible): Make obsolete.
8552         (isearch-lazy-highlight-search):
8553         Call `run-hook-with-args-until-failure' on
8554         `isearch-filter-predicates' and use `isearch-range-invisible'.
8556         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8557         `isearch-filter-predicates' instead of `funcall'ing
8558         `isearch-filter-predicate'.
8559         (Info-mode): Set `Info-isearch-filter' to
8560         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8562         * dired-aux.el (dired-isearch-filter-predicate-orig):
8563         Remove variable.
8564         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8565         (dired-isearch-filenames-end): Add and remove
8566         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8567         instead of changing the value of `isearch-filter-predicate'.
8568         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8569         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8570         Put property `isearch-message-prefix' to "filename " on
8571         `dired-isearch-filter-filenames'.
8573         * wdired.el (wdired-change-to-wdired-mode):
8574         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8575         locally instead of changing `isearch-filter-predicate'.
8576         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8578 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8580         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8581         return the commit hash (Bug#14459).  Also set the
8582         `vc-git-detached' property.
8583         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8584         (vc-git-mode-line-string): Use the same help-echo format whether
8585         in detached mode or not, because we know the actual revision now.
8586         When in detached mode, shorten the revision to 7 chars.
8588 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8590         * emacs-lisp/easy-mmode.el (define-minor-mode):
8591         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8592         mode hook and provide a docstring.
8594 2013-05-27  Alan Mackenzie  <acm@muc.de>
8596         Remove spurious syntax-table text properties inserted by C-y.
8597         * progmodes/cc-mode.el (c-after-change): Also clear hard
8598         syntax-table property with value nil.
8600 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8602         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8603         when reading the events; the buffer layout shall not be changed.
8605 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8607         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8608         New variable.
8609         (inferior-octave-directory-tracker): Automatically re-sync
8610         default-directory.
8611         (octave-help): Improve handling of 'See also'.
8613 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8615         * doc-view.el: Minor naming convention tweaks.
8616         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8618         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8619         even if there's no `display' property yet (bug#14435).
8621 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8623         * subr.el (unmsys--file-name): Rename from reveal-filename.
8625         * Makefile.in (custom-deps, finder-data, autoloads)
8626         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8627         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8628         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8630 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8632         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8633         error-completion on the first 2 args of condition-case (bug#14446).
8634         Don't burp at EOB.
8636 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8638         * comint.el (comint-previous-matching-input): Do not flood the
8639         *Messages* buffer with trivial messages.
8641 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8643         * progmodes/flymake.el (flymake-nop): Don't return a string.
8644         (flymake-set-at): Fix typo.
8646         * simple.el (read--expression): New function, extracted from
8647         eval-expression.  Set completion-at-point-functions (bug#14465).
8648         (eval-expression, eval-minibuffer): Use it.
8650 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8652         * progmodes/flymake.el (flymake-save-buffer-in-file)
8653         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8654         (flymake-selected-frame, flymake-log, flymake-ins-after)
8655         (flymake-set-at, flymake-get-buildfile-from-cache)
8656         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8657         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8658         Refine the doc string.
8659         (flymake-get-file-name-mode-and-masks): Reformat.
8660         (flymake-get-real-file-name-function): Fix a minor bug.
8662 2013-05-24  Juri Linkov  <juri@jurta.org>
8664         * progmodes/grep.el (grep-mode-font-lock-keywords):
8665         Support =linenumber= format used by git-grep for lines with
8666         function names.  (Bug#13549)
8668 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8670         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8671         0 after a semi-colon; it works better for smie-auto-fill.
8672         (octave--indent-new-comment-line): New function.
8673         (octave-indent-new-comment-line): Use it (indirectly).
8674         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8675         modify comment-line-break-function.
8677         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8678         (smie-setup): Use add-function to set it.
8680 2013-05-24  Sam Steingold  <sds@gnu.org>
8682         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8683         argument (before the `interactive' argument).
8685 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8687         * image-mode.el (image-mode-winprops): Add winprops to
8688         image-mode-winprops-alist before running
8689         image-mode-new-window-functions.
8690         * doc-view.el (doc-view-new-window-function): Don't delay
8691         doc-view-goto-page via timers (bug#14435).
8693 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8695         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8696         (doc-view-desktop-save-buffer): New function.
8697         (doc-view-restore-desktop-buffer): New function.
8698         (desktop-buffer-mode-handlers):
8699         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8700         handler.
8701         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8702         `desktop-save-buffer' function.
8704 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8706         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8707         (tramp-gvfs-file-name-handler): Raise a user error when
8708         `tramp-gvfs-enabled' is nil.
8709         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8710         Do not raise a user error when loading package.  (Bug#14447)
8712         * net/xesam.el: Move to obsolete/.
8714 2013-05-24  Glenn Morris  <rgm@gnu.org>
8716         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8718         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8720         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8721         (Info-find-node, Man-getpage-in-background): Declare.
8723         * mail/unrmail.el (unrmail):
8724         Replace obsolete detect-coding-with-priority.
8726         * net/socks.el (socks-split-string): Use this rather than split-string.
8727         (socks-nslookup-host): Update for above change.
8728         (dynamic-choice, s5-dynamic-choice-match)
8729         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8730         Comment out unused code.
8732         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8733         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8734         (gud-tooltip-echo-area): Make obsolete.
8735         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8737         * progmodes/js.el (js--optimize-arglist): Declare.
8739         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8741         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8742         (ediff-window-C): Declare.
8744         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8745         Tweak requires to silence compiler.
8747         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8748         (he-search-string, he-tried-table, he-expand-list)
8749         (he-init-string, he-string-member, he-substitute-string)
8750         (he-reset-string): Declare.
8752         * obsolete/options.el (list-options): Use custom-variable-p,
8753         rather than obsolete alias.
8755 2013-05-23  Sam Steingold  <sds@gnu.org>
8757         * simple.el (shell-command-on-region): Pass the `replace' argument
8758         down to `call-process-region' to comply with the doc as reported on
8759         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8761 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8763         * emacs-lisp/smie.el (smie-indent-forward-token)
8764         (smie-indent-backward-token): Handle string tokens (bug#14381).
8766 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8768         * ielm.el (ielm-menu): New menu.
8769         (inferior-emacs-lisp-mode): Set comment-start.
8771 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8773         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8774         Fix deactivate action.
8776         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8777         Add cleveref macros.
8779         * lisp/textmodes/reftex-parse.el
8780         (reftex-locate-bibliography-files): Accept options for
8781         bibliography commands.
8782         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8783         Add addbibresource.  Basic Biblatex support.
8785 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8787         * net/tramp-gvfs.el (top):
8788         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8789         when loading package.  (Bug#14447)
8791 2013-05-23  Glenn Morris  <rgm@gnu.org>
8793         * progmodes/js.el: No need to load comint when compiling.
8794         (ring-insert, comint-send-string, comint-send-input)
8795         (comint-last-input-end, ido-chop): Declare.
8797         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8798         * vc/ediff-mult.el: Adjust requires.
8799         (ediff-directories-internal, ediff-directory-revisions-internal)
8800         (ediff-patch-file-internal): Declare.
8801         * vc/ediff-ptch.el: Adjust requires.
8802         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8803         (ediff-find-file): Autoload.
8804         * vc/ediff-util.el: No need to load ediff when compiling.
8805         (ediff-regions-internal): Declare.
8806         * vc/ediff-wind.el: Adjust requires.
8807         (ediff-compute-toolbar-width): Define when compiling.
8808         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8809         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8810         (dired-get-filename, dired-get-marked-files)
8811         (ediff-last-dir-patch, ediff-patch-default-directory)
8812         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8813         (ediff-patch-buffer-internal): Declare.
8815         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8816         (ispell-process, ispell-buffer-local-words, lm-summary)
8817         (lm-section-start, lm-section-end): Declare.
8818         (checkdoc-ispell-init): Simplify.
8820         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8821         (he-string-member, he-reset-string, he-substitute-string): Declare.
8823         * eshell/em-ls.el: Adjust requires.
8824         (eshell-glob-regexp): Declare.
8825         * eshell/em-tramp.el: Adjust requires.
8826         (eshell-parse-command): Autoload.
8827         * eshell/em-xtra.el: Adjust requires.
8828         (eshell-parse-command): Autoload.
8829         * eshell/esh-ext.el: Adjust requires.
8830         (eshell-parse-command, eshell-close-handles): Autoload.
8831         * eshell/esh-io.el: Adjust requires.
8832         (eshell-output-filter): Autoload.
8833         * eshell/esh-util.el: No need to load tramp when compiling.
8834         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8835         Declare.
8836         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8837         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8838         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8839         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8840         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8841         * eshell/esh-opt.el, eshell/esh-proc.el:
8842         * eshell/esh-var.el: Adjust requires.
8843         * eshell/eshell.el: Do not require esh-util twice.
8844         (eshell-add-input-to-history): Declare.
8845         (eshell-command): Check history module is active before using it.
8847         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8849 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8851         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8853 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8855         * autorevert.el (auto-revert-notify-add-watch)
8856         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8857         it indicates changes in file modification time.
8859 2013-05-22  Glenn Morris  <rgm@gnu.org>
8861         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8862         Always delete the autoloaded function from the noruntime and
8863         unresolved functions lists.
8865         * allout.el: No need to load epa, epg, overlay when compiling.
8866         (epg-context-set-passphrase-callback, epg-list-keys)
8867         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8868         (epg-key-user-id-list): Declare.
8870         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8871         (viper-set-parsing-style-toggling-macro)
8872         (viper-set-emacs-state-searchstyle-macros):
8873         Use called-interactively-p on Emacs.
8874         (viper-looking-back): Make it an obsolete alias.  Update callers.
8875         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8876         Use looking-back rather than viper-looking-back.
8877         (viper-tmp-insert-at-eob, viper-enlarge-region)
8878         (viper-read-string-with-history, viper-register-to-point)
8879         (viper-append-to-register, viper-change-state-to-vi)
8880         (viper-backward-char-carefully, viper-forward-char-carefully)
8881         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8882         (viper-change-state-to-emacs): Declare.
8883         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8884         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8885         * emulation/viper-mous.el: Do not load viper-cmd.
8886         (viper-backward-char-carefully, viper-forward-char-carefully)
8887         (viper-forward-word, viper-adjust-window): Declare.
8889         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8891         * progmodes/idlw-help.el (idlwave-help-fontify):
8892         Use called-interactively-p.
8894         * term/w32console.el (w32-get-console-codepage)
8895         (w32-get-console-output-codepage): Declare.
8897         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8898         Remove unnecessary declarations.
8899         (dframe-message): Doc fix.
8901         * info.el (dframe-select-attached-frame, dframe-current-frame):
8902         Declare.
8904         * speedbar.el (speedbar-message): Make it an obsolete alias.
8905         Update all callers.
8906         (speedbar-with-attached-buffer)
8907         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8908         (speedbar-with-writable): Use backquote.
8909         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8910         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8911         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8912         rather than speedbar- aliases.
8913         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8914         (speedbar-make-specialized-keymap, speedbar-insert-button)
8915         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8916         (speedbar-do-function-pointer): Declare.
8917         (rmail-speedbar-button, rmail-speedbar-find-file)
8918         (rmail-speedbar-move-message):
8919         Use dframe-with-attached-buffer rather than speedbar- alias.
8920         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8921         (dframe-message, speedbar-make-specialized-keymap)
8922         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8923         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8924         (speedbar-insert-button, dframe-select-attached-frame)
8925         (dframe-maybee-jump-to-attached-frame)
8926         (speedbar-change-initial-expansion-list)
8927         (speedbar-previously-used-expansion-list-name): Declare.
8928         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8929         Use dframe-message, dframe-with-attached-buffer rather than
8930         speedbar- aliases.
8931         (gud-sentinel): Silence compiler.
8932         * progmodes/vhdl-mode.el (speedbar-refresh)
8933         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8934         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8935         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8936         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8937         (speedbar-file-lists, speedbar-make-tag-line)
8938         (speedbar-line-directory, speedbar-goto-this-file)
8939         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8940         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8941         (speedbar-make-button, speedbar-reset-scanners)
8942         (speedbar-files-item-info, speedbar-line-text)
8943         (speedbar-find-file-in-frame, speedbar-set-timer)
8944         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8945         (speedbar-with-writable): Do not (re)define it.
8946         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8947         rather than speedbar- alias.
8949 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8951         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8952         menu items.
8953         (octave-mode): Tweak fill-nobreak-predicate.
8954         (inferior-octave-startup): Check process to avoid infinite loop.
8955         (inferior-octave): Pop to buffer first to show abornmal process
8956         exit information.
8958 2013-05-21  Glenn Morris  <rgm@gnu.org>
8960         * printing.el (pr-menu-bar): Define when compiling.
8962 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8964         * progmodes/octave.el (octave-auto-fill): Remove.
8965         (octave-indent-new-comment-line): Improve.
8966         (octave-mode): Use auto fill mode through
8967         comment-line-break-function and fill-nobreak-predicate.
8968         (octave-goto-function-definition): Support DEFUN_DLD.
8969         (octave-beginning-of-defun): Small tweak.
8970         (octave-help): Show parent directory.
8972 2013-05-21  Glenn Morris  <rgm@gnu.org>
8974         * files.el (dired-unmark):
8975         * progmodes/gud.el (gdb-input): Update declarations.
8977         * calculator.el (electric, ehelp): No need to load when compiling.
8978         (Electric-command-loop, electric-describe-mode): Declare.
8980         * doc-view.el (doc-view-current-converter-processes): Move before use.
8982         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8983         Move MODE-set-explicitly definition before use.
8985         * international/mule-diag.el (mule-diag):
8986         Don't use obsolete window-system-version.
8988         * mail/feedmail.el (smtpmail): No need to load when compiling.
8989         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8991         * mail/mail-utils.el (rfc822): No need to load when compiling.
8992         (rfc822-addresses): Autoload it.
8993         (mail-strip-quoted-names): Trivial simplification.
8995         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8996         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8998         * net/snmp-mode.el (tempo): Don't duplicate requires.
9000         * progmodes/prolog.el (info): No need to load when compiling.
9001         (comint): Require before shell requires it.
9002         (Info-goto-node): Autoload it.
9003         (Info-follow-nearest-node): Declare.
9004         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9006         * textmodes/artist.el (picture-mode-exit): Declare.
9008         * textmodes/reftex-parse.el (reftex-parse-from-file):
9009         Trivial rewrite so the compiler can parse it better.
9011 2013-05-20  Leo Liu  <sdl.web@gmail.com>
9013         * progmodes/octave.el (octave-help-mode-map)
9014         (octave-help-mode-finish-hook): New variables.
9015         (octave-help-mode, octave-help-mode-finish): New functions.
9016         (octave-help): Use octave-help-mode.
9018 2013-05-20  Glenn Morris  <rgm@gnu.org>
9020         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
9022 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
9024         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9025         start at point, so that expansion starting right after opening
9026         slash in a regexp is recognized.
9027         (ruby-syntax-before-regexp-re): New defvar, extracted from
9028         ruby-syntax-propertize-function.  Since the value of this regexp
9029         is looked up at runtime now, we should be able to turn
9030         `ruby-syntax-methods-before-regexp' into a defcustom later.
9031         (ruby-syntax-propertize-function): Split regexp matching into two
9032         parts, for opening and closing slashes.  That allows us to skip
9033         over string interpolations and support multiline regexps.
9034         Don't call `ruby-syntax-propertize-expansions', instead use another rule
9035         for them, which calls `ruby-syntax-propertize-expansion'.
9036         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9037         call to `ruby-syntax-propertize-function'.
9038         (ruby-syntax-propertize-expansion): Extracted from
9039         `ruby-syntax-propertize-expansions'.  Handles one expansion.
9040         (ruby-syntax-propertize-percent-literal): Leave point right after
9041         the percent symbol, so that the expression expansion rule can
9042         propertize the contents.
9043         (ruby-syntax-propertize-heredoc): Leave point at bol following the
9044         heredoc openers.
9045         (ruby-syntax-propertize-expansions): Remove.
9047 2013-05-18  Juri Linkov  <juri@jurta.org>
9049         * man.el (Man-default-man-entry): Remove `-' from the end
9050         of the default value.  (Bug#14400)
9052 2013-05-18  Glenn Morris  <rgm@gnu.org>
9054         * comint.el (comint-password-prompt-regexp):
9055         Allow "password for XXX" where XXX contains colons (eg https://...).
9057 2013-05-18  Leo Liu  <sdl.web@gmail.com>
9059         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9060         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
9061         (octave-source-directories): Don't check process.
9062         (octave-source-directories, octave-find-definition): Doc fix.
9064 2013-05-18  Glenn Morris  <rgm@gnu.org>
9066         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9067         Remove backspace/delete bindings.  (Bug#14392)
9069         * cus-dep.el (custom-make-dependencies): Sort the output.
9070         (custom-versions-load-alist): Convert comment to doc.
9072 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9074         * newcomment.el (comment-search-backward): Stricter in finding
9075         comment start.  (Bug#14303)
9077         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9078         (octave-comment-start-skip): Properly anchored.
9080 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9082         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9083         Clean up when turned off.  (Bug#14395)
9084         (smie--highlight-matching-block-overlay): No longer buffer-local.
9085         (smie-highlight-matching-block): Adjust.
9087 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
9089         Doc string fix for "nanoseconds" (Bug#14406).
9090         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9091         Fix doc string typo that had "nanoseconds" instead of "microseconds".
9093 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9095         * calc/calc-units.el (math-extract-units): Preserve powers
9096         of units.
9098 2013-05-17  Leo Liu  <sdl.web@gmail.com>
9100         * subr.el (delete-consecutive-dups): New function.
9101         * ido.el (ido-set-matches-1): Use it.
9102         * progmodes/octave.el (inferior-octave-completion-table): Use it.
9103         * ido.el (ido-remove-consecutive-dups): Remove.
9105 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9107         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9108         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9109         regexp-opt's `words'.
9111 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9113         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9114         (smie--highlight-matching-block-overlay)
9115         (smie--highlight-matching-block-lastpos)
9116         (smie--highlight-matching-block-timer): New variables.
9117         (smie-highlight-matching-block): New function.
9118         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
9119         (smie-setup): Conditionally enable smie-blink-matching-open.
9121 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
9123         Sync with upstream verilog-mode r840.
9124         * progmodes/verilog-mode.el (verilog-mode-version)
9125         (verilog-mode-release-date): Update.
9126         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9127         (verilog-sig-tieoff): Fix string error on
9128         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
9129         (verilog-read-decls): Fix parameters confusing
9130         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
9132 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
9134         * subr.el (reveal-filename): New function.
9136         * loadup.el: Compute Emacs executable versions on MS-Windows,
9137         where executables have the .exe extension.  Add a hard link
9138         emacs-XX.YY.ZZ.exe on MS-Windows.
9140         * Makefile.in (XARGS_LIMIT): New variable.
9141         (custom-deps, finder-data, autoloads)
9142         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9143         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9144         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9145         (compile-main): Limit xargs according to $(XARGS_LIMIT).
9147 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9149         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9150         (octave-mode-menu, octave-mode-map): Remove its uses.
9152 2013-05-16  Reto Zimmermann  <reto@gnu.org>
9154         Sync with upstream vhdl mode v3.34.2.
9155         * progmodes/vhdl-mode.el: Use `push' throughout.
9156         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9157         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9158         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
9159         (vhdl-actual-generic-name): New option to derive actual generic name.
9160         (vhdl-port-paste-signals): Replace formal by actual generics.
9161         (vhdl-beautify): New name for old group vhdl-align.  Update users.
9162         (vhdl-beautify-options): New option.
9163         (vhdl-last-input-event): New compat alias.  Use throughout.
9164         (vhdl-goto-line): Replace user level function `goto-line'.
9165         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9166         vhdl-fix-statement-buffer.
9167         (vhdl-create-mode-menu): Add some entries.
9168         (vhdl-align-region-groups): Respect vhdl-beautify-options.
9169         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9170         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9171         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9172         to force statements on one line.
9173         (vhdl-remove-trailing-spaces-region):
9174         New, split from vhdl-remove-trailing-spaces.
9175         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9176         Respect vhdl-beautify-options.
9177         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9178         (vhdl-update-sensitivity-list): Not add with index if exists without.
9179         Not include array index with signal.  Ignore keywords in comments.
9180         (vhdl-get-visible-signals): Regexp tweaks.
9181         (vhdl-template-component-inst): Handle empty library.
9182         (vhdl-template-type): Add template for 'enum' type.
9183         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9184         Use vhdl-replace-string.
9185         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9186         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9187         (vhdl-speedbar-initialize): Update for above name change.
9188         (vhdl-compose-wire-components): Fix in handling of constants.
9189         (vhdl-error-regexp-emacs-alist): New variable.
9190         (vhdl-error-regexp-add-emacs): New function;
9191         adds support for new compile.el (Emacs 22+)
9192         (vhdl-generate-makefile-1): Change target order for single lib. units.
9193         Allow use of absolute file names.
9195 2013-05-16  Leo Liu  <sdl.web@gmail.com>
9197         * simple.el (prog-indent-sexp): Indent enclosing defun.
9199 2013-05-15  Glenn Morris  <rgm@gnu.org>
9201         * cus-start.el (show-trailing-whitespace): Move to editing basics.
9202         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9203         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9204         (whitespace-highlight): Move to whitespace group.
9206         * comint.el (comint-source):
9207         * pcmpl-linux.el (pcmpl-linux):
9208         * shell.el (shell-faces):
9209         * eshell/esh-opt.el (eshell-opt):
9210         * international/ccl.el (ccl): Remove empty custom groups.
9212         * completion.el (dynamic-completion-mode):
9213         * jit-lock.el (jit-lock-debug-mode):
9214         * minibuffer.el (completion-in-region-mode):
9215         * type-break.el (type-break-mode-line-message-mode)
9216         (type-break-query-mode):
9217         * emulation/tpu-edt.el (tpu-edt-mode):
9218         * progmodes/subword.el (global-subword-mode, global-superword-mode):
9219         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9220         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9222         * term/xterm.el (xterm): Change parent group to terminals.
9224         * master.el (master): Remove empty custom group.
9225         (master-mode): Remove unused :group argument.
9226         * textmodes/refill.el (refill): Remove empty custom group.
9227         (refill-mode): Remove unused :group argument.
9229         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9231         * cus-dep.el: Provide a feature.
9232         (custom-make-dependencies): Ignore dotfiles (dir-locals).
9233         Don't mistakenly ignore files whose basenames match a basename
9234         from preloaded-file-list (eg cedet/ede/simple.el).
9235         Add a fallback method for getting :group.
9237 2013-05-15  Juri Linkov  <juri@jurta.org>
9239         * isearch.el (isearch-char-by-name): Rename from
9240         `isearch-insert-char-by-name'.  Doc fix.
9241         (isearch-forward): Mention `isearch-char-by-name' in
9242         the docstring.  (Bug#13348)
9244         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9245         `exit-minibuffer' instead of
9246         `isearch-nonincremental-exit-minibuffer'.
9247         (isearch-edit-string): Remove mention of
9248         `isearch-nonincremental-exit-minibuffer' from docstring.
9249         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9250         (isearch-forward-exit-minibuffer)
9251         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
9253 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9255         * loadup.el: Just use unversioned DOC.
9257         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9258         literals as extending to EOB.
9259         (nxml-last-fontify-end): Remove unused variable.
9260         (nxml-after-change1): Use with-silent-modifications.
9261         (nxml-extend-after-change-region): Simplify.
9262         (nxml-extend-after-change-region1): Remove function.
9263         (nxml-after-change1): Don't adjust for dependent regions.
9264         (nxml-fontify-matcher): Simplify.
9265         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9266         (xmltok-add-dependent): Remove function.
9267         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9268         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9269         (xmltok-scan-prolog-after-processing-instruction-open): Treat
9270         unclosed <[[, <?, comment, and other literals as extending to EOB.
9271         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9272         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9273         Remove functions.
9274         (rng-do-some-validation-1): Don't mark dependent regions.
9275         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9276         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9277         (nxml-clear-dependent-regions): Remove functions.
9278         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9279         (nxml-ensure-scan-up-to-date):
9280         Don't clear&mark dependent regions.
9282 2013-05-15  Leo Liu  <sdl.web@gmail.com>
9284         * progmodes/octave.el (octave-goto-function-definition):
9285         Improve and fix callers.
9287 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9289         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9290         the setter (bug#14387).
9292         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9293         surrounding group (bug#14402).
9295 2013-05-14  Juri Linkov  <juri@jurta.org>
9297         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9298         (Bug#14390)
9300 2013-05-14  Glenn Morris  <rgm@gnu.org>
9302         * progmodes/f90.el (f90-imenu-generic-expression):
9303         Fix typo in 2013-05-08 change.  (Bug#14402)
9305 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9307         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9308         Remove signals for which replies are never received.
9310 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9312         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9313         (gdb-handler-alist, gdb-handler-number): Remove variables.
9314         (gdb-handler-list): New variable.
9315         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9316         (gdb-pending-handler-p, gdb-handle-reply)
9317         (gdb-remove-all-pending-triggers): New functions.
9318         (gdb-discard-unordered-replies): New defcustom.
9319         (gdb-handler): New defstruct.
9320         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
9321         instead of gdb-pending-triggers.  Update docstring.
9322         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
9323         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9324         (gdb-var-update-handler, def-gdb-auto-update-trigger)
9325         (def-gdb-auto-update-handler, gdb-get-changed-registers)
9326         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9327         (gdb-frame-handler): Pending triggers are now automatically managed.
9328         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9329         Remove argument.
9330         (gdb-input): Automatically handles pending triggers.  Update docstring.
9331         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9332         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9333         Update comments.
9334         (gdb-done-or-error): Now use gdb-handle-reply.
9336 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
9338         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9339         gdb-debug-log.
9341 2013-05-14  Glenn Morris  <rgm@gnu.org>
9343         * subr.el (user-emacs-directory-warning): New option.
9344         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
9346 2013-05-14  Leo Liu  <sdl.web@gmail.com>
9348         * progmodes/octave.el (octave-font-lock-keywords): Fix error
9349         during redisplay.
9350         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9351         (octave-font-lock-texinfo-comment): Fix invalid search bound
9352         error: wrong side of point.
9354 2013-05-14  Glenn Morris  <rgm@gnu.org>
9356         * progmodes/flymake.el (flymake-xml-program): New option.
9357         (flymake-xml-init): Use it.
9359         * term/xterm.el: Provide a feature.
9361         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
9363 2013-05-13  Glenn Morris  <rgm@gnu.org>
9365         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9366         Add compat aliases as a hack workaround.  (Bug#14384)
9368 2013-05-13  Leo Liu  <sdl.web@gmail.com>
9370         * progmodes/octave.el (octave-indent-comment): Fix indentation for
9371         ###, and %!.
9372         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9373         C-M-q.
9374         (octave-comment-start-skip): Include %!.
9375         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9377 2013-05-12  Leo Liu  <sdl.web@gmail.com>
9379         * progmodes/octave.el (inferior-octave-startup): Store the value
9380         of __octave_srcdir__ for octave-source-directories.
9381         (inferior-octave-check-process): New function refactored out of
9382         inferior-octave-send-list-and-digest.
9383         (octave-source-directories)
9384         (octave-find-definition-filename-function): New variables.
9385         (octave-source-directories)
9386         (octave-find-definition-default-filename): New functions.
9387         (octave-find-definition): Improve to find functions implemented in C++.
9389 2013-05-12  Glenn Morris  <rgm@gnu.org>
9391         * calendar/diary-lib.el (diary-outlook-format-1):
9392         Don't include dayname in the output.  (Bug#14349)
9394 2013-05-11  Glenn Morris  <rgm@gnu.org>
9396         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9398         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9399         Treat cc-provide like provide.
9401 2013-05-11  Kevin Ryde  <user42@zip.com.au>
9403         * cus-dep.el (custom-make-dependencies):
9404         Use generated-autoload-load-name for the sake of files such
9405         such cedet/semantic/bovine/c.el, where the base file name
9406         is not in load-path.  (Bug#5277)
9408 2013-05-11  Glenn Morris  <rgm@gnu.org>
9410         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9411         Provide features.
9413 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9415         * progmodes/octave.el (octave-indent-comment): Improve.
9416         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9417         (octave-eldoc-function-signatures, octave-eldoc-function):
9418         New functions.
9419         (octave-mode, inferior-octave-mode): Add eldoc support.
9421 2013-05-11  Richard Stallman  <rms@gnu.org>
9423         * epa.el (epa-decrypt-file): Take output file name as argument
9424         and read it using `interactive'.
9426 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9428         * progmodes/octave.el (octave-beginning-of-line)
9429         (octave-end-of-line): Check before using up-list because it jumps
9430         out of more syntactic contructs since moving to smie.
9431         (octave-indent-comment): New function.
9432         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9433         (octave-begin-keywords, octave-end-keywords)
9434         (octave-reserved-words, octave-smie-bnf-table)
9435         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9437 2013-05-11  Glenn Morris  <rgm@gnu.org>
9439         * faces.el (internal-face-x-get-resource):
9440         * frame.el (ns-display-monitor-attributes-list):
9441         * calc/calc-aent.el (math-to-radians-2):
9442         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9443         Fix declarations.
9445         * calc/calc-menu.el: Make it loadable in isolation.
9447         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9448         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9449         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9450         (eudc-bbdb-query-internal): Require 'bbdb.
9452         * lpr.el (lpr-headers-switches):
9453         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9455         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9457         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9459         * term.el (term-set-escape-char): Make it idempotent.
9461 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9463         * progmodes/octave.el (inferior-octave-completion-table):
9464         No longer a function and all uses changed.  Use cache to speed up
9465         completion due to bug#11906.
9466         (octave-beginning-of-defun): Re-write to be more general.
9468 2013-05-10  Glenn Morris  <rgm@gnu.org>
9470         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9472 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9474         * comint.el (comint-redirect-send-command-to-process): Use :around
9475         rather than :override for comint-redirect-filter.
9476         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9477         Call it instead of comint-redirect-original-filter-function (which
9478         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9480 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9482         * frame.el (display-monitor-attributes-list): Add NS case.
9483         (ns-display-monitor-attributes-list): Declare.
9485 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9487         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9489 2013-05-09  Glenn Morris  <rgm@gnu.org>
9491         * international/fontset.el (vertical-centering-font-regexp):
9492         Set standard-value.
9494         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9496         * bookmark.el (bookmark-search-delay):
9497         * cus-start.el (vertical-centering-font-regexp):
9498         * ps-mule.el (ps-mule-font-info-database-default):
9499         * ps-print.el (ps-default-fg, ps-default-bg):
9500         * type-break.el (type-break-good-break-interval):
9501         * whitespace.el (whitespace-indentation-regexp)
9502         (whitespace-space-after-tab-regexp):
9503         * emacs-lisp/testcover.el (testcover-1value-functions)
9504         (testcover-noreturn-functions, testcover-progn-functions)
9505         (testcover-prog1-functions):
9506         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9507         * eshell/em-glob.el (eshell-glob-translate-alist):
9508         * play/tetris.el (tetris-tty-colors):
9509         * progmodes/cpp.el (cpp-face-default-list):
9510         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9511         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9512         (idlwave-help-browser-generic-args):
9513         * progmodes/make-mode.el (makefile-special-targets-list):
9514         * progmodes/python.el (python-shell-virtualenv-path):
9515         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9516         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9517         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9518         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9519         * textmodes/reftex-vars.el (reftex-format-label-function):
9520         * textmodes/remember.el (remember-diary-file): Fix custom types.
9522         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9523         Add :version.
9525 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9527         * progmodes/octave.el (inferior-octave-completion-at-point):
9528         Restore file completion.  (Bug#14300)
9529         (inferior-octave-startup): Fix incorrect highlighting for the
9530         first prompt.
9532 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9534         * progmodes/ruby-mode.el: First cut at SMIE support.
9535         (ruby-use-smie): New var.
9536         (ruby-smie-grammar): New constant.
9537         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9538         (ruby-smie--forward-token, ruby-smie--backward-token)
9539         (ruby-smie-rules): New functions.
9540         (ruby-mode-variables): Setup SMIE if applicable.
9542 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9544         * simple.el (line-move-visual): Signal beginning/end of buffer
9545         only if vertical-motion moved less than it was requested.  Avoids
9546         silly incorrect error messages when there are display strings with
9547         multiple newlines at EOL.
9549 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9551         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9552         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9553         (prolog-char-quote-workaround):
9554         * progmodes/cperl-mode.el (cperl-under-as-char):
9555         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9556         Mark as obsolete.
9557         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9558         their declaration.
9559         (vhdl-mode-syntax-table-init): Remove.
9561         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9562         last change.
9564         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9565         syntax for "_".
9566         (ld-script-font-lock-keywords):
9567         Change regexps to use things like \_< and \_>.
9569         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9570         Change all regexps to use things like \_< and \_>.
9572         * progmodes/autoconf.el (autoconf-definition-regexp)
9573         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9574         Handle a _ with symbol syntax.
9575         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9577         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9578         Consolidate declaration.
9579         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9580         the declaration.
9581         (ada-create-syntax-table): Remove.
9582         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9583         already has the right syntax nowadays.
9584         (ada-goto-next-word): Don't change the syntax of "_".
9586         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9587         with-wrapper-hook.
9589 2013-05-08  Sam Steingold  <sds@gnu.org>
9591         * thingatpt.el (thing-at-point): Accept optional second argument
9592         NO-PROPERTIES to strip the text properties from the return value.
9593         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9594         to `thing-at-point' instead of stripping the properties ourselves.
9595         Also, when `thing-at-point' fails to find a url, prepend "http://"
9596         to the filename at point on the assumption that the user is
9597         pointing at something like gnu.org/gnu.
9599 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9601         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9602         * faces.el (crm-separator):
9603         Silence byte-compiler.
9605         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9606         (tool-bar-map): Remove unneeded defvars.
9608 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9610         Re-work a fix for bug#10994 based on Le Wang's patch.
9611         * ido.el (ido-remove-consecutive-dups): New helper.
9612         (ido-completing-read): Use it.
9613         (ido-chop): Revert fix for bug#10994.
9615 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9617         * cus-edit.el (custom-save-variables):
9618         Pretty-print long values.  (Bug#14187)
9620 2013-05-08  Glenn Morris  <rgm@gnu.org>
9622         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9623         (m4-mode-syntax-table): Init in the defvar.
9624         (m4-mode-abbrev-table): Let define-derived-mode define it.
9626 2013-05-08  Tom Tromey  <tromey@redhat.com>
9628         * progmodes/m4-mode.el (m4-mode-syntax-table):
9629         Do not treat "_" as word constituent.  (Bug#14167)
9631 2013-05-07  Glenn Morris  <rgm@gnu.org>
9633         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9634         Remove explicit eshell-isearch-cancel-map.
9636         * progmodes/f90.el (f90-smart-end-names): New option.
9637         (f90-smart-end): Doc fix.
9638         (f90-end-block-optional-name): New constant.
9639         (f90-block-match): Respect f90-smart-end-names.
9641 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9643         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9644         about implicit semi-colons (bug#14218).
9646 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9648         * frame.el (display-monitor-attributes-list)
9649         (frame-monitor-attributes): New functions.
9651 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9653         * progmodes/octave.el (octave-syntax-propertize-function): Change
9654         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9655         (octave-font-lock-keywords): Use octave-operator-regexp.
9656         (octave-completion-at-point): Rename from
9657         octave-completion-at-point-function.
9658         (inferior-octave-directory-tracker): Robustify.
9659         (octave-text-functions): Remove and fix its uses.  No such things
9660         any more.
9662 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9664         * emacs-lisp/trace.el (trace--display-buffer): New function.
9665         (trace-make-advice): Use it.
9667 2013-05-06  Juri Linkov  <juri@jurta.org>
9669         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9670         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9671         Doc fix.
9672         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9673         in the help string.  (Bug#12985)
9675 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9677         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9679 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9681         * progmodes/perl-mode.el: Add support for here documents.
9682         (perl-syntax-propertize-function): Match here-doc markers.
9683         (perl-syntax-propertize-special-constructs): Find their end.
9684         (perl-imenu-generic-expression): Use [:alnum:].
9686         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9687         (advice--add-function): Refresh the advice if already present
9688         (bug#14317).
9690 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9692         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9694 2013-05-06  Glenn Morris  <rgm@gnu.org>
9696         * w32-fns.el (w32-charset-info-alist): Declare.
9698         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9699         of its defcustom properties.
9700         (eshell-cmpl-initialize): No need to load pcomplete.
9702         * generic-x.el: No need to require comint when compiling.
9704         * net/eudc-export.el: Make it loadable without bbdb.
9705         (top-level): Use require rather than load-library.
9706         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9707         (eudc-batch-export-records-to-bbdb)
9708         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9709         Require bbdb.
9711 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9713         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9714         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9715         some tweaks, instead.
9717 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9719         * progmodes/octave.el (octave-font-lock-keywords)
9720         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9721         (inferior-octave-send-list-and-digest): Improve error message.
9722         (octave-mode, inferior-octave-mode): Use setq-local.
9723         (octave-help): Set info-lookup-mode.
9725 2013-05-05  Richard Stallman  <rms@gnu.org>
9727         * vc/compare-w.el (compare-windows-whitespace):
9728         Treat no-break space as whitespace.
9730         * mail/rmailsum.el (rmail-summary-rmail-update):
9731         Detect empty summary and don't change selected message.
9732         (rmail-summary-goto-msg): Likewise.
9734         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9735         Doc fixes, rename args.
9737 2013-05-05  Alan Mackenzie  <acm@muc.de>
9739         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9741 2013-05-05  Juri Linkov  <juri@jurta.org>
9743         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9744         to not add the length of the summary segment to the return value.
9745         (Bug#14125)
9747 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9749         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9750         (inferior-octave-output-filter): Remove.
9751         (octave-send-region, inferior-octave-startup): Fix callers.
9752         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9753         (octave-binary-file-extensions): New user variable.
9754         (octave-find-definition): Confirm if opening binary files.
9755         (octave-help-file): Use octave-find-definition to get the binary
9756         confirmation.
9757         (octave-help): Adjust for octave-help-file change.
9759 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9761         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9762         Merge the two entries that handle function definitions.
9763         (pascal--syntax-propertize): New const.
9764         (pascal-mode): Use it.  Use setq-local.
9766 2013-05-04  Glenn Morris  <rgm@gnu.org>
9768         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9769         (diary-from-outlook): Respect diary-from-outlook-function.
9771 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9773         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9774         Move the declaration from C.
9775         (read-minibuffer, eval-minibuffer): Move from C.
9776         (completion-setup-function): Avoid minibuffer-completion-contents.
9778 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9780         * progmodes/octave.el (octave-font-lock-keywords): Do not
9781         dehighlight 'end' in comments or strings.
9782         (octave-completing-read, octave-goto-function-definition):
9783         New helpers.
9784         (octave-help-buffer): New user variable.
9785         (octave-help-file, octave-help-function): New button types.
9786         (octave-help): New command and bind it to C-h ;.
9787         (octave-find-definition): New command and bind it to M-.
9788         (user-error): Alias to error if not defined.
9790 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9792         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9793         for \.  (bug#14332)
9794         (octave-font-lock-keywords): Include [ and {.
9796 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9798         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9799         (inferior-octave): Remove calling comint-mode and return the buffer.
9800         (inferior-octave-startup): Cosmetic changes.
9802 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9804         * progmodes/octave.el (octave-syntax-propertize-function):
9805         Include the case when ' is at line beginning.  (Bug#14336)
9807 2013-05-02  Glenn Morris  <rgm@gnu.org>
9809         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9810         * desktop.el (vc-dir-mode): Just autoload it here.
9812 2013-05-02  Alan Mackenzie  <acm@muc.de>
9814         Eliminate variable c-standard-font-lock-fontify-region-function.
9815         * progmodes/cc-mode.el
9816         (c-standard-font-lock-fontify-region-function): Remove.
9817         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9819 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9821         * progmodes/octave.el: Compatible with older emacs-24 releases.
9822         (inferior-octave-has-built-in-variables): Remove.  Built-in
9823         variables were removed from Octave in 2007.
9824         (inferior-octave-startup): Fix uses.
9825         (comint-line-beginning-position): Remove compatibility code for
9826         emacs 21.
9828 2013-05-01  Juri Linkov  <juri@jurta.org>
9830         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9832 2013-05-01  Juri Linkov  <juri@jurta.org>
9834         * comint.el (comint-previous-matching-input): Don't print message
9835         "History item: %d" when `isearch-mode' is active.
9836         (comint-history-isearch-message): Print message "History item: %d"
9837         when `comint-input-ring-index' is not empty and this function is
9838         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9840 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9842         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9843         definitions.  Use completion-at-point to insert keywords.
9844         (octave-abbrev-start): Remove.
9845         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9847 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9849         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9850         change.
9852 2013-04-30  Alan Mackenzie  <acm@muc.de>
9854         Handle arbitrarily long C++ member initialisation lists.
9855         * progmodes/cc-engine.el (c-back-over-member-initializers):
9856         new function.
9857         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9858         (most) member init lists.
9860 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9862         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9863         variable.
9865 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9867         * progmodes/octave.el (octave-variables): Remove.  No builtin
9868         variables any more.  All converted to functions.
9869         (octave-font-lock-keywords, octave-completion-at-point-function):
9870         Fix uses.
9871         (octave-font-lock-texinfo-comment): New user variable.
9872         (octave-texinfo-font-lock-keywords): New variable for texinfo
9873         comment block.
9874         (octave-function-comment-block): New face.
9875         (octave-font-lock-texinfo-comment): New function.
9876         (octave-mode): Font lock texinfo comment block.
9878 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9880         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9881         indexing expression.
9882         (octave-continuation-string): Do not use \.
9883         (inferior-octave-complete-impossible): Remove.
9884         (inferior-octave-completion-table)
9885         (inferior-octave-completion-at-point): Remove its uses.
9886         (inferior-octave-startup): completion_matches was introduced to
9887         Octave in 1996 so safe to assume it.
9888         (octave-function-file-comment): Improve to follow how Octave does it.
9889         (octave-update-function-file-comment): Tweak.
9891 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9893         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9894         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9895         (octave-function-file-comment): Fix typo.
9896         (octave-sync-function-file-names): Use read-char-choice.
9898 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9900         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9901         to t for the less important warnings.
9903 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9905         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9907 2013-04-27  Glenn Morris  <rgm@gnu.org>
9909         * vc/log-view.el (log-view-current-entry):
9910         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9912 2013-04-27  Juri Linkov  <juri@jurta.org>
9914         * subr.el (read-number): Doc fix about using it by interactive
9915         code letter `n'.  (Bug#14254)
9917 2013-04-27  Juri Linkov  <juri@jurta.org>
9919         * desktop.el (desktop-auto-save-timeout): New option.
9920         (desktop-file-checksum): New variable.
9921         (desktop-save): Add optional arg `auto-save' and don't auto-save
9922         if nothing changed.
9923         (desktop-auto-save-timer): New variable.
9924         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9925         (after-init-hook): Call `desktop-auto-save-set-timer'.
9926         Suggested by Reuben Thomas <rrt@sc3d.org> in
9927         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9929 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9931         * progmodes/octave.el (octave-function-file-p)
9932         (octave-skip-comment-forward, octave-function-file-comment)
9933         (octave-update-function-file-comment): New functions.
9934         (octave-mode-map): Bind C-c ; to
9935         octave-update-function-file-comment.
9936         (octave-mode-menu): Add octave-update-function-file-comment.
9937         (octave-mode, inferior-octave-mode): Fix doc-string.
9938         (octave-insert-defun): Conform to Octave's coding convention.
9939         (Bug#14285)
9941         * files.el (basic-save-buffer): Don't let errors in
9942         before-save-hook prevent saving buffer.
9944 2013-04-20  Roland Winkler  <winkler@gnu.org>
9946         * faces.el (read-face-name): Use completing-read if arg multiple
9947         is nil.
9949 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9951         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9952         displayed, move point to after the totals line.
9953         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9954         for the details.
9956 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9958         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9959         Add current dir to the load-path.
9960         (package-generate-autoloads): Don't rely on
9961         autoload-ensure-default-file.
9963 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9965         * textmodes/remember.el (remember-store-in-files): Document that
9966         the file name format is passed to `format-time-string'.
9968 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9970         * progmodes/octave.el (octave-sync-function-file-names): New function.
9971         (octave-mode): Use it in before-save-hook.
9973 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9976         (bug#14274).
9978         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9979         \n and comment, even if it's not an implicit ; (bug#14218).
9981 2013-04-26  Glenn Morris  <rgm@gnu.org>
9983         * subr.el (read-number): Once more use `read' rather than
9984         `string-to-number', to trap non-numeric input.  (Bug#14254)
9986 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9988         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9989         Use `syntax-multiline' text property consistently instead of
9990         `font-lock-multiline'.  (Bug#14237)
9992 2013-04-26  Glenn Morris  <rgm@gnu.org>
9994         * emacs-lisp/shadow.el (list-load-path-shadows):
9995         No longer necessary to check for duplicate simple.el, since
9996         2012-07-07 change to init_lread to not include installation lisp
9997         directories in load-path when running uninstalled.  (Bug#14270)
9999 2013-04-26  Leo Liu  <sdl.web@gmail.com>
10001         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10002         (octave-mode, inferior-octave-mode): Use setq-local.
10003         (octave-not-in-string-or-comment-p): Rename to
10004         octave-in-string-or-comment-p.
10005         (octave-in-comment-p, octave-in-string-p)
10006         (octave-in-string-or-comment-p): Replace defsubst with defun.
10008 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
10010         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10012 2013-04-25  Bastien Guerry  <bzg@gnu.org>
10014         * textmodes/remember.el (remember-data-directory)
10015         (remember-directory-file-name-format): Fix custom types.
10017 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10019         * progmodes/octave.el (octave-completion-at-point-function):
10020         Make use of inferior octave process.
10021         (octave-initialize-completions): Remove.
10022         (inferior-octave-completion-table): New function.
10023         (inferior-octave-completion-at-point): Use it.
10024         (octave-completion-alist): Remove.
10026 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10028         * progmodes/opascal.el: Use font-lock and syntax-propertize.
10029         (opascal-mode-syntax-table): New var.
10030         (opascal-literal-kind, opascal-is-literal-end)
10031         (opascal-literal-token-at): Rewrite.
10032         (opascal--literal-start-re, opascal-font-lock-keywords)
10033         (opascal--syntax-propertize): New constants.
10034         (opascal-font-lock-defaults): Adjust.
10035         (opascal-mode): Use them.  Set comment-<foo> variables as well.
10036         (delphi-comment-face, opascal-comment-face, delphi-string-face)
10037         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10038         (delphi-other-face, opascal-other-face): Remove face variables.
10039         (opascal-save-state): Remove macro.
10040         (opascal-fontifying-progress-step): Remove constant.
10041         (opascal--ignore-changes): Remove var.
10042         (opascal-set-token-property, opascal-parse-next-literal)
10043         (opascal-is-stable-literal, opascal-complete-literal)
10044         (opascal-is-literal-start, opascal-face-of)
10045         (opascal-parse-region, opascal-parse-region-until-stable)
10046         (opascal-fontify-region, opascal-after-change)
10047         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10048         (opascal-debug-parse-region, opascal-debug-parse-window)
10049         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10050         (opascal-debug-fontify-buffer): Remove.
10051         (opascal-debug-mode-map): Adjust accordingly.
10053 2013-04-25  Leo Liu  <sdl.web@gmail.com>
10055         Merge octave-mod.el and octave-inf.el into octave.el with some
10056         cleanups.
10057         * progmodes/octave.el: New file renamed from octave-mod.el.
10058         * progmodes/octave-inf.el: Merged into octave.el.
10059         * progmodes/octave-mod.el: Renamed to octave.el.
10061 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
10063         * textmodes/reftex-vars.el
10064         (reftex-label-ignored-macros-and-environments): New defcustom.
10066         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10068 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10070         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10071         (smie-indent-keyword): Improve the check to ensure that the next
10072         comment is really on the same line.
10073         (smie-indent-comment): Don't align with a subsequent closer (or eob).
10075         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10076         semi-colons if the line is not otherwise empty (bug#14218).
10078 2013-04-25  Glenn Morris  <rgm@gnu.org>
10080         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10082 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10084         * progmodes/opascal.el (opascal-set-token-property): Rename from
10085         opascal-set-text-properties and only set `token' (bug#14134).
10086         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10087         (opascal-literal-text-properties): Remove.
10088         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10089         Adjust callers.
10091 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
10093         * textmodes/remember.el (remember-handler-functions): Add an
10094         option for a new handler `remember-store-in-files'.
10095         (remember-data-directory, remember-directory-file-name-format):
10096         New options.
10097         (remember-store-in-files): New function to store remember notes
10098         as separate files within a directory.
10100 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
10102         * progmodes/compile.el (compilation-next-error-function):
10103         Pass "formats" to compilation-find-file (bug#11777).
10105 2013-04-24  Glenn Morris  <rgm@gnu.org>
10107         * vc/vc-bzr.el (vc-bzr-print-log):
10108         * vc/vc-hg.el (vc-hg-print-log):
10109         * vc/vc-svn.el (vc-svn-print-log):
10110         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
10112         * vc/vc-bzr.el (vc-bzr-print-log):
10113         * vc/vc-cvs.el (vc-cvs-print-log):
10114         * vc/vc-git.el (vc-git-print-log):
10115         * vc/vc-hg.el (vc-hg-print-log):
10116         * vc/vc-mtn.el (vc-mtn-print-log):
10117         * vc/vc-rcs.el (vc-rcs-print-log):
10118         * vc/vc-sccs.el (vc-sccs-print-log):
10119         * vc/vc-svn.el (vc-svn-print-log):
10120         * vc/vc.el (vc-print-log-internal): Doc fixes.
10122 2013-04-23  Glenn Morris  <rgm@gnu.org>
10124         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10125         Remove venerable code attempting to avoid substitute-command-keys.
10127 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
10129         * textmodes/reftex-vars.el (reftex-label-regexps):
10130         Call `reftex-compile-variables' after changes to this variable.
10132 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10134         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10135         Use lexical-binding.
10136         (jit-lock-force-redisplay): Use markers, check buffer's continued
10137         existence and beware narrowed buffers.
10138         (jit-lock-fontify-now): Adjust call accordingly.
10140 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10142         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10143         to avoid misleading the user.
10145 2013-04-22  Leo Liu  <sdl.web@gmail.com>
10147         * info-look.el: Prefer latex2e.info.  (Bug#14240)
10149 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
10151         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
10153         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10154         * net/tramp.el (tramp-call-process): ... here.
10155         (tramp-set-completion-function, tramp-parse-putty):
10156         * net/tramp-adb.el (tramp-adb-execute-adb-command):
10157         * net/tramp-gvfs.el (tramp-gvfs-send-command):
10158         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10159         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10160         (tramp-call-local-coding-command): Use `tramp-call-process'
10161         instead of `tramp-compat-call-process'.
10163         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10164         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10165         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10166         (tramp-find-inline-compress): Improve traces.
10167         (tramp-maybe-send-script): Check for Perl binary.
10168         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10170 2013-04-22  Daiki Ueno  <ueno@gnu.org>
10172         * epg.el (epg-context-pinentry-mode): New function.
10173         (epg-context-set-pinentry-mode): New function.
10174         (epg--start): Pass --pinentry-mode option to gpg command.
10176 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
10178         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10179         `comint-dynamic-complete' is obsolete since 24.1, replaced by
10180         `completion-at-point'.  (Bug#13774)
10182         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10183         default key binding for `describe-distribution' has been moved to
10184         `C-h C-o'.  (Bug#13970)
10186 2013-04-21  Glenn Morris  <rgm@gnu.org>
10188         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10189         Add doc strings.
10190         (vc-print-log): Clarify interactive prompt.
10192 2013-04-20  Glenn Morris  <rgm@gnu.org>
10194         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10195         No longer include timestamp etc information.
10197 2013-04-20  Roland Winkler  <winkler@gnu.org>
10199         * faces.el (read-face-name): Bug fix, return just one face if arg
10200         multiple is nil.  (Bug#14209)
10202 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10204         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10205         (remove-function): Autoload.
10207         * comint.el (comint-redirect-original-filter-function): Remove.
10208         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10209         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10210         (vc-cvs-annotate-command):
10211         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10212         * progmodes/prolog.el (prolog-consult-compile):
10213         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10214         Use add/remove-function instead.
10215         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10216         (gud-tooltip-process-output, gud-tooltip-tips):
10217         Use add/remove-function instead.
10218         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10219         (scheme-interaction-mode, exit-scheme-interaction-mode):
10220         Use add/remove-function instead.
10222         * vc/vc-dispatcher.el: Use lexical-binding.
10223         (vc--process-sentinel): Rename from vc-process-sentinel.
10224         Change last arg to be the code to run.  Don't use vc-previous-sentinel
10225         and vc-sentinel-commands any more.
10226         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
10227         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10229 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
10231         * progmodes/sh-script.el (sh-imenu-generic-expression):
10232         Handle function names with a single character.   (Bug#14111)
10234 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
10236         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10237         for subroutines defined in an eval (bug#14182).
10239 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10241         * bookmark.el (bookmark-completing-read): Improve handling of empty
10242         string (bug#14176).
10244 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10246         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10248 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10250         New faster Imenu implementation (bug#14058).
10251         * progmodes/python.el:
10252         (python-imenu-prev-index-position):
10253         (python-imenu-format-item-label-function)
10254         (python-imenu-format-parent-item-label-function)
10255         (python-imenu-format-parent-item-jump-label-function):
10256         New vars.
10257         (python-imenu-format-item-label)
10258         (python-imenu-format-parent-item-label)
10259         (python-imenu-format-parent-item-jump-label)
10260         (python-imenu--put-parent, python-imenu--build-tree)
10261         (python-imenu-create-index, python-imenu-create-flat-index)
10262         (python-util-popn): New functions.
10263         (python-mode): Set imenu-create-index-function to
10264         python-imenu-create-index.
10266 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10268         * winner.el (winner-active-region): Use region-active-p, activate-mark
10269         and deactivate-mark (bug#14225).
10271         * simple.el (deactivate-mark): Don't inline it.
10273 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
10275         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10277 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
10279         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10280         file extensions from the archive-mode entry in order to prefer
10281         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10283 2013-04-18  Leo Liu  <sdl.web@gmail.com>
10285         * bindings.el (help-event-list): Add ?\?.
10287 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10289         * subr.el (with-wrapper-hook): Declare obsolete.
10290         * simple.el (filter-buffer-substring-function): New hook.
10291         (filter-buffer-substring): Use it.
10292         (filter-buffer-substring-functions): Mark obsolete.
10293         * minibuffer.el (completion-in-region-function): New hook.
10294         (completion-in-region): Use it.
10295         (completion-in-region-functions): Mark obsolete.
10296         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10297         * abbrev.el (abbrev-expand-function): New hook.
10298         (expand-abbrev): Use it.
10299         (abbrev-expand-functions): Mark obsolete.
10300         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10301         and :filter-return.
10303 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10305         * progmodes/python.el (python-nav--syntactically): Fix cornercases
10306         and do not care about match data.
10308 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10310         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10311         completion tables when completing error conditions and
10312         `declare' arguments.
10313         (lisp-complete-symbol, field-complete): Mark as obsolete.
10314         (check-parens): Unmatched parens are user errors.
10315         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10317 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
10319         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10320         command changed buffer (ie. `flyspell-pre-buffer' is not current
10321         buffer), which prevents making decisions based on invalid value of
10322         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
10323         cause an error when `flyspell-pre-point' was nil after switching
10324         buffers.
10325         (flyspell-post-command-hook): No longer needs to change buffers when
10326         checking pre-word.  While at it remove unnecessary progn.
10328 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
10330         * textmodes/ispell.el (ispell-add-per-file-word-list):
10331         Fix `flyspell-correct-word-before-point' error when accepting
10332         words and `coment-padding' is an integer by using
10333         `comment-normalize-vars' (Bug #14214).
10335 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10337         New defun movement commands.
10338         * progmodes/python.el (python-nav--syntactically)
10339         (python-nav--forward-defun, python-nav-backward-defun)
10340         (python-nav-forward-defun): New functions.
10342 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10344         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10345         (python-syntax-context): Use named compiler-macro for backwards
10346         compatibility with Emacs 24.x.
10348 2013-04-17  Leo Liu  <sdl.web@gmail.com>
10350         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10351         octave-hide-process-buffer.
10353 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10355         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10356         (bug#14216).
10358 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
10360         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10361         Fix adjustment of offset when receiving incomplete responses from GDB
10362         (bug#14129).
10364 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10366         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10367         python-mode-abbrev-table.
10368         (python-skeleton-define): Adjust accordingly.
10369         (python-mode-abbrev-table): New table that inherits from it so that
10370         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10372         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10373         (abbrev-symbol): Use it.
10374         (abbrev--before-point): Use it since we already handle inheritance.
10376 2013-04-16  Leo Liu  <sdl.web@gmail.com>
10378         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10379         binding to info-lookup-symbol.
10381 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
10383         * minibuffer.el (completion--twq-all):
10384         * term/ns-win.el (ns-initialize-window-system):
10385         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10387 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10389         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10390         global bindings.
10392         * doc-view.el (doc-view-start-process): Handle url-handler directories.
10394 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
10396         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10397         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10398         to nil.
10399         (ruby-end-of-defun): Remove the unused arg, change the docstring
10400         to reflect that this function is only used as the value of
10401         `end-of-defun-function'.
10402         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10403         to reflect an earlier change that beginning/end-of-defun functions
10404         jump between methods in a class definition, as well as top-level
10405         functions.
10407 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10409         * minibuffer.el (minibuffer-complete): Don't just scroll
10410         a *Completions* that's been iconified.
10411         (minibuffer-force-complete): Make sure repetitions do cycle when going
10412         through completion-in-region -> minibuffer-complete.
10414 2013-04-15  Alan Mackenzie  <acm@muc.de>
10416         Correct the placement of c-cpp-delimiters when there're #s not at
10417         col 0.
10419         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10420         place a submatch around the #.
10421         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10422         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10423         on the #, not BOL.
10425 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10427         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10428         (advice--member-p): New arg `name'.
10429         (advice--add-function, advice-member-p): Use it (bug#14202).
10431 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10433         Reformulate java imenu-generic-expression.
10434         The old expression contained ill formed regexps.
10436         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10437         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10438         (cc-imenu-java-method-arg-regexp): New defconsts.
10439         (cc-imenu-java-build-type-args-regex): New defun.
10440         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10441         handling of spaces in the regexp.
10443 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10445         * textmodes/ispell.el (ispell-command-loop): Remove
10446         flyspell highlight of a word when ispell accepts it (bug #14178).
10448 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10450         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10451         uses code from the previous `ange-ftp-run-real-handler'.
10452         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10453         only in case that function exist.  This is needed for proper
10454         unloading of Tramp.
10456 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10458         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10460         * textmodes/reftex.el (reftex-compile-variables): Use it.
10462 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10464         * files.el (normal-mode): Only use default major-mode if no other mode
10465         was specified.
10467         * emacs-lisp/trace.el (trace-values): New function.
10469         * files.el: Allow : in local variables (bug#14089).
10470         (hack-local-variable-regexp): New var.
10471         (hack-local-variables-prop-line, hack-local-variables): Use it.
10473 2013-04-13  Roland Winkler  <winkler@gnu.org>
10475         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10476         data before it gets modified by bibtex-beginning-of-entry.
10478 2013-04-13  Roland Winkler  <winkler@gnu.org>
10480         * textmodes/bibtex.el (bibtex-url): Doc fix.
10482 2013-04-13  Roland Winkler  <winkler@gnu.org>
10484         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10485         does not visit a BibTeX file, exclude it from the list of buffers
10486         returned by bibtex-initialize.
10488 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10490         * window.el (split-window): Remove interactive form, since as a
10491         command this function is a special case of split-window-below.
10492         Correct doc string.
10494 2013-04-12  Roland Winkler  <winkler@gnu.org>
10496         * faces.el (read-face-name): Do not override value of arg default.
10497         Allow single faces and strings as default values.  Remove those
10498         elements from return value that are not faces.
10499         (describe-face): Simplify.
10500         (face-at-point): New optional args thing and multiple so that this
10501         function can provide the same functionality previously provided by
10502         read-face-name.
10503         (make-face-bold, make-face-unbold, make-face-italic)
10504         (make-face-unitalic, make-face-bold-italic, invert-face)
10505         (modify-face, read-face-and-attribute): Use face-at-point.
10507         * cus-edit.el (customize-face, customize-face-other-window)
10508         * cus-theme.el (custom-theme-add-face)
10509         * face-remap.el (buffer-face-set)
10510         * facemenu.el (facemenu-set-face): Use face-at-point.
10512 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10514         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10516 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10518         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10519         off leading { and trailing } from field values.
10521 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10523         * emacs-lisp/timer.el (timer--check): New function.
10524         (timer--time, timer-set-function, timer-event-handler): Use it.
10525         (timer-set-idle-time): Simplify.
10526         (timer--activate): CSE.
10527         (timer-event-handler): Give more info in error message.
10528         (internal-timer-start-idle): New function, moved from C.
10530         * mpc.el (mpc-proc): Add `restart' argument.
10531         (mpc-proc-cmd): Use it.
10532         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10533         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10534         less often.
10536 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10538         * progmodes/sh-script.el: Implement `sh-mode' own
10539         `add-log-current-defun-function' (bug#14112).
10540         (sh-current-defun-name): New function.
10541         (sh-mode): Use the function.
10543 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10545         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10547 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10549         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10551         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10552         timer (bug#14156).
10554 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10556         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10557         declaration.
10559 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10561         * pcmpl-x.el: New file.
10563 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10565         Do not set x-display-name until X connection is established.
10566         This is needed to prevent from weird situation described at
10567         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10568         * frame.el (make-frame): Set x-display-name after call to
10569         window system initialization function, not before.
10570         * term/x-win.el (x-initialize-window-system): Add optional
10571         display argument and use it.
10572         * term/w32-win.el (w32-initialize-window-system):
10573         * term/ns-win.el (ns-initialize-window-system):
10574         * term/pc-win.el (msdos-initialize-window-system):
10575         Add compatible optional display argument.
10577 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10579         * files.el (normal-backup-enable-predicate): On MS-Windows and
10580         MS-DOS compare truenames of temporary-file-directory and of the
10581         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10582         don't fail comparison by compare-strings.  Also, compare file
10583         names case-insensitively on MS-Windows and MS-DOS.
10585 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10587         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10588         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10590 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10592         * whitespace.el (whitespace-color-on, whitespace-color-off):
10593         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10595 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10597         * ispell.el (ispell-set-spellchecker-params):
10598         Really set `ispell-args' for all equivs.
10600 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10602         * ido.el (ido-completions): Use extra elements of ido-decorations
10603         (bug#14143).
10604         (ido-decorations): Update docstring.
10606 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10608         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10609         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10610         nil during initialization, in order not to miss changes since the
10611         file was opened.  (Bug#14140)
10613 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10615         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10617 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10619         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10621 2013-04-04  Glenn Morris  <rgm@gnu.org>
10623         * electric.el (electric-pair-inhibit-predicate): Add :version.
10625 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10627         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10628         when a package is required several times (bug#14082).
10630 2013-04-04  Roland Winkler  <winkler@gnu.org>
10632         * faces.el (read-face-name): Behave as promised by the docstring.
10633         Assume that arg default is a list of faces.
10634         (describe-face): Call read-face-name with list of default faces.
10636 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10638         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10639         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10640         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10641         the header.
10642         (bookmark-exit-hook-internal): Save even if list is empty.
10644 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10646         * emacs-lisp/package.el (package-pinned-packages): New var.
10647         (package--add-to-archive-contents): Obey it (bug#14118).
10649 2013-04-03  Alan Mackenzie  <acm@muc.de>
10651         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10652         Also adapt to the new values of element 7 of a parse state.
10654         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10655         parameter `not-in-delimiter'.  Handle being inside comment opener.
10656         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10657         character in case we're typing a '*' after a '/'.
10658         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10659         instead by passing the parameter to c-state-pp-to-literal.
10661         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10662         for elt. 7 of a parse state.
10664 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10666         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10667         * international/latin1-disp.el, international/mule-util.el:
10668         * language/cyril-util.el, language/european.el, language/ind-util.el:
10669         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10670         * language/tibetan.el, language/viet-util.el:
10671         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10673 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10675         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10676         (electric-pair-post-self-insert-function): Use it.
10677         (electric-pair-default-inhibit): New function, extracted from
10678         electric-pair-post-self-insert-function.
10680 2013-03-31  Roland Winkler  <winkler@gnu.org>
10682         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10684 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10686         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10688 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10690         Un-indent after "pass" and "return" statements (Bug#13888)
10691         * progmodes/python.el (python-indent-block-enders): New var.
10692         (python-indent-calculate-indentation): Use it.
10694 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10696         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10697         defun.  Defining it as defalias could introduce too eager
10698         byte-compiler optimization.  (Bug#14030)
10700 2013-03-30  Chong Yidong  <cyd@gnu.org>
10702         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10704 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10706         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10707         (kmacro-execute-from-register): Pass the keyboard macro to
10708         kmacro-call-macro or repeating won't work correctly.
10710 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10712         * progmodes/subword.el: Back to using `forward-symbol'.
10714         * subr.el (forward-whitespace, forward-symbol)
10715         (forward-same-syntax): Move from thingatpt.el.
10717 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10719         * kmacro.el (kmacro-to-register): New command.
10720         (kmacro-execute-from-register): New function.
10721         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10723 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10725         * mpc.el: Use defvar-local and setq-local.
10726         (mpc--proc-connect): Connection failures are not bugs.
10727         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10728         (mpc-volume-map): Bind to the up-events.
10730 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10732         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10733         instead of `forward-symbol'.
10735 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10737         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10738         (edebug--recursive-edit): Use it.
10739         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10740         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10742 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10744         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10746 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10748         * facemenu.el (list-colors-callback): New defvar.
10749         (list-colors-redisplay): New function.
10750         (list-colors-display): Install list-colors-redisplay as the
10751         revert-buffer-function.  (Bug#14063)
10753 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10755         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10756         and suffixes don't overlap (bug#14061).
10758         * case-table.el: Use lexical-binding.
10759         (case-table-get-table): New function.
10760         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10762 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10764         * progmodes/subword.el: Add `superword-mode' to do word motion
10765         over symbol_words (parallels and leverages `subword-mode' which
10766         does word motion inside MixedCaseWords).
10768 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10770         * eshell/em-unix.el: Move su and sudo to...
10771         * eshell/em-tramp.el: ...Eshell tramp module.
10773 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10775         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10776         Change return value to be a sexp.  Delay `get-buffer' to after
10777         restoring the desktop (bug#13951).
10779 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10781         * register.el: Move semantic tag handling back to
10782         cedet/semantic/senator.el.  (Bug#14052)
10784 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10786         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10787         into the prompt either (bug#13963).
10789 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10791         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10792         part of "(error-foo)".
10794 2013-03-24  Juri Linkov  <juri@jurta.org>
10796         * replace.el (list-matching-lines-prefix-face): New defcustom.
10797         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10798         `occur-engine' if `face-differs-from-default-p' returns t.
10799         (occur-engine): Add `,' inside backquote construct to evaluate
10800         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10801         Pass `prefix-face' to the functions `occur-context-lines' and
10802         `occur-engine-add-prefix'.
10803         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10804         `prefix-face' and propertize the prefix with `prefix-face'.
10805         (Bug#14017)
10807 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10809         * nxml/rng-valid.el (rng-validate-while-idle)
10810         (rng-validate-quick-while-idle): Guard against deleted buffer.
10811         (Bug#13999)
10813         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10814         is the last entry in kill-buffer-hook.
10816         * files.el (kill-buffer-hook): Doc fix.
10818 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10820         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10821         Make it safe-local.
10823         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10825 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10827         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10828         Remove.
10830         * nxml/rng-valid.el (rng-validate-mode)
10831         (rng-after-change-function, rng-do-some-validation):
10832         * nxml/rng-maint.el (rng-validate-buffer):
10833         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10834         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10835         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10836         (nxml-extend-after-change-region): Use with-silent-modifications.
10838         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10839         timer-idle-list.
10841         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10842         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10843         timer-idle-list.  (Bug#13999)
10845 2013-03-23  Juri Linkov  <juri@jurta.org>
10847         * info.el (info-index-match): New face.
10848         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10849         main pattern and add text properties with the new face to matches
10850         in index entries relative to the beginning of the index entry.
10851         (Bug#14015)
10853 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10855         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10856         Inhibit read only while inserting objects.
10858 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10860         * progmodes/cfengine.el: Update docs to mention
10861         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10862         symbol motion.  Remove "_" from the word syntax.
10864 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10866         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10867         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10869 2013-03-20  Juri Linkov  <juri@jurta.org>
10871         * info.el (Info-next-reference-or-link)
10872         (Info-prev-reference-or-link): New functions.
10873         (Info-next-reference, Info-prev-reference): Use them.
10874         (Info-try-follow-nearest-node): Handle footnote navigation.
10875         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10877 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10879         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10880         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10882 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10884         Suppress unnecessary non-ASCII chatter during build process.
10885         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10886         (batch-skkdic-convert): Suppress most of the chatter.
10887         It's not needed so much now that machines are faster,
10888         and its non-ASCII component was confusing; see Dmitry Gutov in
10889         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10891 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10893         * ido.el (ido-chop): Fix bug#10994.
10895 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10897         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10898         Remove vars.
10899         (whitespace-color-on, whitespace-color-off):
10900         Use `font-lock-fontify-buffer' (Bug#13817).
10902 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10904         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10905         remapping in mode-line.
10906         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10908 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10910         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10911         value for `whitespace-line' face (Bug#13875).
10912         (whitespace-font-lock-keywords): Change description.
10913         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10914         the constructed keywords instead.
10915         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10917 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10919         * progmodes/compile.el (compilation-display-error): New command.
10920         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10921         C-o.  (Bug#13992)
10923 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10925         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10927 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10929         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10931 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10933         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10935         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10936         * net/tramp-gvfs.el (top):
10937         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10938         (tramp-handle-shell-command): Use it.
10939         (tramp-dissect-file-name): Raise an error when hostname is a
10940         method name, and neither method nor user is specified.
10942         * net/trampver.el: Update release number.
10944 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10946         Make sure eldoc can be turned off properly.
10947         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10948         eldoc-mode.
10949         (eldoc-display-message-p): Revert last change.
10950         (eldoc-display-message-no-interference-p)
10951         (eldoc-print-current-symbol-info): Tweak.
10953 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10955         * doc-view.el (doc-view-new-window-function): Check the new window
10956         overlay's display property instead the char property of the
10957         buffer's first char.  Use `with-selected-window' instead of
10958         `save-window-excursion' with `select-window'.
10959         (doc-view-document->bitmap): Check the current doc-view overlay's
10960         display property instead the char property of the buffer's first char.
10962 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10964         Automate the build of ja-dic.el (Bug#13984).
10965         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10966         from the input, rather than assume that it's been done for us by the
10967         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10968         the current date into a ja-dic.el comment, as that complicates
10969         regression testing.
10971 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10973         * whitespace.el: Fix double evaluation.
10974         (whitespace-space, whitespace-hspace, whitespace-tab)
10975         (whitespace-newline, whitespace-trailing, whitespace-line)
10976         (whitespace-space-before-tab, whitespace-indentation)
10977         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10978         obsolete defvars.
10979         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10980         (whitespace-color-on): Use a single font-lock-add-keywords call.
10981         Fix double-evaluation of face variables.
10983 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10985         * net/tramp-adb.el (tramp-adb-parse-device-names):
10986         Use `start-process' instead of `call-process'.  Otherwise, the
10987         function might be blocked under MS Windows.  (Bug#13299)
10989 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10991         Extend eldoc to display info in the mode-line.  (Bug#13978)
10992         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10993         (eldoc-mode-line-string): New variable.
10994         (eldoc-minibuffer-message): New function.
10995         (eldoc-message-function): New variable.
10996         (eldoc-message): Use it.
10997         (eldoc-display-message-p)
10998         (eldoc-display-message-no-interference-p):
10999         Support eldoc-post-insert-mode.
11001         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11002         (eval-expression): Run it.
11004 2013-03-17  Roland Winkler  <winkler@gnu.org>
11006         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11007         strings in the list of return values.
11009 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11011         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11012         radix before checking for HMS forms.
11014 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11016         * progmodes/scheme.el: Add indentation and font-locking for λ.
11017         (Bug#13975)
11019 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11021         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11022         token before point (bug#13942).
11024 2013-03-16  Leo Liu  <sdl.web@gmail.com>
11026         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
11028 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
11030         * startup.el (command-line-normalize-file-name): Fix handling of
11031         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
11032         <xfq.free@gmail.com> in
11033         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11035 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
11037         Sync with Tramp 2.2.7.
11039         * net/trampver.el: Update release number.
11041 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
11043         * doc-view.el: Fix bug#13887.
11044         (doc-view-insert-image): Don't modify overlay associated to
11045         non-live windows, and implement horizontal centering of image in
11046         case it's smaller than the window.
11047         (doc-view-new-window-function): Force redisplay of new windows on
11048         doc-view buffers.
11050 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
11052         * saveplace.el (save-place-alist-to-file): Don't sort
11053         `save-place-alist', just pretty-print it (bug#13882).
11055 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
11057         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11058         Check whether `default-file-name-coding-system' is bound.
11059         It isn't in XEmacs.
11061 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11064         backquotes for `obsolete' (bug#13929).
11066         * international/mule.el (find-auto-coding): Include file name in
11067         obsolescence warning (bug#13922).
11069 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
11071         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11072         for CFEngine 3-specific indentation.
11073         (cfengine3-indent-line): Use it.  Fix up category regex.
11074         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11076 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11078         * type-break.el (type-break-file-name):
11079         * textmodes/remember.el (remember-data-file):
11080         * strokes.el (strokes-file):
11081         * shadowfile.el (shadow-initialize):
11082         * saveplace.el (save-place-file):
11083         * ps-bdf.el (bdf-cache-file):
11084         * progmodes/idlwave.el (idlwave-config-directory):
11085         * net/quickurl.el (quickurl-url-file):
11086         * international/kkc.el (kkc-init-file-name):
11087         * ido.el (ido-save-directory-list-file):
11088         * emulation/viper.el (viper-custom-file-name):
11089         * emulation/vip.el (vip-startup-file):
11090         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11091         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11093 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
11095         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11096         * language/thai-word.el: Switch to UTF-8.
11098 See ChangeLog.16 for earlier changes.
11100 ;; Local Variables:
11101 ;; coding: utf-8
11102 ;; End:
11104   Copyright (C) 2011-2013 Free Software Foundation, Inc.
11106   This file is part of GNU Emacs.
11108   GNU Emacs is free software: you can redistribute it and/or modify
11109   it under the terms of the GNU General Public License as published by
11110   the Free Software Foundation, either version 3 of the License, or
11111   (at your option) any later version.
11113   GNU Emacs is distributed in the hope that it will be useful,
11114   but WITHOUT ANY WARRANTY; without even the implied warranty of
11115   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11116   GNU General Public License for more details.
11118   You should have received a copy of the GNU General Public License
11119   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.