* lisp/progmodes/verilog-mode.el (verilog-mode): Don't set
[emacs.git] / lisp / ChangeLog
blobfb8a4e21d3b18be5376a05f215d0ef8bbd05062e
1 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
3         * progmodes/verilog-mode.el (verilog-mode): Don't set
4         comment-indent-function globally.
6 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
8         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9         Move Info menu item creation to ns-win.el.
11         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12         in menu bar.
14         * menu-bar.el: Move GNUStep specific menus...
16         * term/ns-win.el (ns-initialize-window-system): ... to here.
18 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * simple.el (newline): Only run post-self-insert-hook when
21         called interactively.
23 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
25         * icomplete.el (icomplete-with-completion-tables): Add :version.
27 2013-10-19  Alan Mackenzie  <acm@muc.de>
29         Fix fontification bugs with constructors and const.
31         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
32         CASE 2) Remove the check for the absence of a suffix construct
33         after a function declaration with only types (no identifiers) in
34         the parentheses.  Also, accept a function declaration with just a
35         type inside the parentheses, if this type can be positively
36         recognised as such, or if a prefix keyword like "explicit" nails
37         down the construct as a declaration.
39 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
41         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
42         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
43         the problem whereby selecting a menu item that leads to a
44         minibuffer prompt moves the cursor out of the minibuffer window,
45         making it hard to type at the prompt.  Suggested by Stefan Monnier
46         <monnier@iro.umontreal.ca>.
48 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
50         * menu-bar.el: Don't make Services menu.
52 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
54         * ffap.el: Handle "/usr/include/c++/<version>" directories.
55         (ffap-alist): Use ffap-c++-mode for c++-mode.
56         (ffap-c++-path): New variable.
57         (ffap-c++-mode): New function.
59 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
61         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
63 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
65         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
66         introduced on 2013-09-08, which results in an infinite loop
67         requesting a password.
69 2013-10-18  Glenn Morris  <rgm@gnu.org>
71         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
73 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
75         Sync with upstream verilog-mode revision 1a6ecec7.
76         * progmodes/verilog-mode.el (verilog-mode-version): Update.
77         (verilog-mode-release-date): Remove.
78         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
79         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
80         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
81         (verilog-auto-tieoff-ignore-regexp)
82         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
83         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
84         (verilog-signals-with, verilog-dir-cache-preserving)
85         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
86         Doc fixes.
87         (verilog-case-fold): New option, to control case folding in
88         regexp searches, bug597.
89         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
90         (verilog-string-match-fold, verilog-in-paren-count)
91         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
92         (verilog-at-close-struct-p): New functions.
93         (verilog-beg-block-re-ordered, verilog-extended-case-re)
94         (verilog-forward-sexp, verilog-set-auto-endcomments):
95         (verilog-leap-to-case-head): Handle "unique0" case.
96         (verilog-in-constraint-re): New constant.
97         (verilog-keywords, verilog-type-font-keywords):
98         Add some SystemVerilog 1800-2012 keywords.
99         (verilog-label-be): Remove unimplemented argument, bug669.
100         (verilog-batch-execute-func): When batch expanding clear
101         create-lockfiles to prevent spurious user locks when a file ends
102         up not changing.
103         (verilog-calculate-indent, verilog-calc-1)
104         (verilog-at-close-constraint-p, verilog-at-constraint-p)
105         (verilog-do-indent): Fix indentation of nested constraints
106         and structures.
107         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
108         (verilog-auto-inst-param): Use verilog-string-match-fold.
109         (verilog-read-inst-module-matcher):
110         Fix AUTOINST on gate primitives with #1.
111         (verilog-read-decls): Fix double-declaring user-defined typed signals.
112         Reads all user-defined typed variables.
113         (verilog-read-defines): Fix reading definitions inside comments, bug647.
114         (verilog-signals-matching-regexp)
115         (verilog-signals-not-matching-regexp, verilog-auto):
116         Respect verilog-case-fold.
117         (verilog-diff-report): Fix line count.
118         (verilog-auto-assign-modport): Remove unused local `modi'.
119         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
120         better handle multidimensional arrays.
121         Fix packed array ports misadding bit index in AUTOINST, bug637.
122         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
123         to not double-declare existing outputs and inputs, respectively.
124         (verilog-template-map): Bind U to verilog-sk-uvm-component.
125         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
126         (verilog-sk-uvm-component): New skeleton.
127         (verilog-submit-bug-report): Add verilog-case-fold,
128         remove verilog-mode-release-date.
130 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
132         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
133         as before.
135 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
137         * textmodes/remember.el (remember): set buffer-offer-save in
138         remember buffers (bug#13566).
140 2013-10-18  Daniel Colascione  <dancol@dancol.org>
142         When evaluating forms in ielm, direct standard output to ielm
143         buffer.  Add new ielm-return-for-effect command.  Remove trailing
144         whitespace throughout.
146         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
147         (ielm-return-for-effect): New command.
148         (ielm-send-input): Accept optional `for-effect' parameter.
149         (ielm-eval-input): Accept optional `for-effect' parameter.  Bind
150         `standard-output' to stream we create using
151         `ielm-standard-output-impl'.  Suppress printing result when
152         `for-effect'.
153         (ielm-standard-output-impl): New function.
154         (inferior-emacs-lisp-mode): Explain new features in documentation.
156 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
158         Code cleanup.
160         * net/tramp.el (tramp-debug-message): Do not check for connection
161         buffer.
162         (tramp-message): Use "vector" connection property.
164         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
165         (tramp-equal-remote, tramp-eshell-directory-change)
166         * net/tramp-adb.el (tramp-adb-handle-copy-file)
167         (tramp-adb-handle-rename-file)
168         * net/tramp-cmds.el (tramp-list-remote-buffers)
169         (tramp-cleanup-connection, tramp-cleanup-this-connection)
170         * net/tramp-compat.el (tramp-compat-process-running-p)
171         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
172         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
173         (tramp-gvfs-handle-rename-file)
174         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
175         (tramp-set-file-uid-gid)
176         * net/tramp-smb.el (tramp-smb-handle-copy-file)
177         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
178         of `file-remote-p'.
180         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
181         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
182         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
183         (tramp-gw-open-network-stream): Suppress unrelated traces.
185         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
186         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
187         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
188         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
189         connection property.
191         * net/tramp-cache.el (top): Suppress traces when reading
192         persistency file.
194         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
195         Refactor common code.  Improve debug message.
196         (tramp-maybe-open-connection)
197         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
198         connection buffer too early.
200         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
201         from `tramp-smb-actions-with-acl'.
202         (tramp-smb-actions-set-acl): New defconst.
203         (tramp-smb-handle-copy-directory)
204         (tramp-smb-action-get-acl): New defun, renamed from
205         `tramp-smb-action-with-acl'.
206         (tramp-smb-action-set-acl): New defun.
207         (tramp-smb-handle-set-file-acl): Rewrite.
209 2013-10-17  Glenn Morris  <rgm@gnu.org>
211         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
213 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
215         * skeleton.el (skeleton-newline): Remove.
216         (skeleton-internal-1): Use (insert "\n") instead.
218         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
219         let-bindings.
221         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
222         forward-sexp-function while we redo its job (bug#15613).
224 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
226         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
227         represented by lists.
229 2013-10-16  Glenn Morris  <rgm@gnu.org>
231         * tmm.el (tmm--history): New dynamic variable.
232         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
234 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
236         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
237         (tramp-smb-errors): Add error messages.
238         (tramp-smb-actions-with-acl): New defconst.
239         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
240         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
241         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
242         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
243         (tramp-smb-get-stat-capability): Fix tests.
245 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
247         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
248         (bug#15580).
250 2013-10-16  Glenn Morris  <rgm@gnu.org>
252         * ansi-color.el (ansi-color-drop-regexp):
253         Add 1J, 1K, 2K.  (Bug#15617)
255         * files.el (hack-local-variables--warned-lexical): New.
256         (hack-local-variables):
257         Warn about misplaced lexical-binding.  (Bug#15616)
259         * net/eww.el (eww-render): Always set eww-current-url,
260         and update header line.  (Bug#15622)
261         (eww-display-html): ... Rather than just doing it here.
263 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
265         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
266         menu navigations commands.
268 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
270         * progmodes/subword.el (subword-capitalize): Be careful when
271         the search for [[:alpha:]] fails (bug#15580).
273 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
275         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
276         to commands that scroll the menu.
278 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
280         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
281         Handle methods ending with `?' and `!'.
283 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
285         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
286         `japanese-cp932' to `cp932' to fix the problem where saving a
287         source file written in Shift_JIS twice would end up having
288         `coding: japanese-cp932' which Ruby could not recognize.
289         (ruby-mode-set-encoding): Add support for encodings mapped to nil
290         in `ruby-encoding-map'.
291         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
292         doesn't need to be explicitly declared in magic comment.
293         (ruby-encoding-map): Add type declaration for better customize UI.
295 2013-10-13  Glenn Morris  <rgm@gnu.org>
297         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
298         Occur buffers are read-only.  http://bugs.debian.org/720775
300         * emacs-lisp/authors.el (authors-fixed-entries):
301         Comment out old alpha stuff.
303 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
305         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
306         to `after-save-hook' instead of `before-save-hook'.
307         (ruby-mode-set-encoding): Use the value of coding system used to
308         write the file.  Call `basic-save-buffer-1' after modifying the
309         buffer.
311 2013-10-13  Alan Mackenzie  <acm@muc.de>
313         Fix indentation/fontification of Java enum with
314         "implements"/generic.
316         * progmodes/cc-engine.el (c-backward-over-enum-header):
317         Extracted from the three other places and enhanced to handle generics.
318         (c-inside-bracelist-p): Uses new function above.
319         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
320         function above.
321         (c-font-lock-enum-tail): Uses new function above.
323 2013-10-13  Kenichi Handa  <handa@gnu.org>
325         * international/mule-cmds.el (select-safe-coding-system): Remove a
326         superfluous condition in chekcing whether a coding system is safe
327         or not.
329 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
331         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
333 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
335         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
337 2013-10-13  Glenn Morris  <rgm@gnu.org>
339         * menu-bar.el (menu-bar-update-buffers):
340         Unify Buffers menu prompt string.  (Bug#15576)
342         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
344         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
345         Add some entries.
346         (authors-fixed-entries): Use accented form of name.
348 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
350         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
351         method calls (bug#15594).
352         (ruby-smie--args-separator-p): New function.
353         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
354         recognize paren-free method calls.
356         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
357         internals of universal-argument.
359 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
361         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
362         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
363         dropped menu on second mouse click on the menu bar.
365 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
367         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
368         (explicit-shell-file-name): Declare.
369         (sh--vars-before-point, sh--cmd-completion-table): New functions.
370         (sh-completion-at-point-function): New function.
371         (sh-mode): Use it.
372         (sh-smie--keyword-p): Remove unused argument.
373         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
374         vars.
375         (sh-set-shell): Always setup SMIE, even if we use the
376         old indentation code.
378 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
380         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
381         cases of ? and =.
382         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
383         predicate would return nil are almost non-existent.
384         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
386         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
387         cache also after commands that modify the buffer but don't move
388         point.
390 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
392         * env.el (substitute-env-in-file-name): New function.
393         (substitute-env-vars): Extend the meaning of the optional arg.
395 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
397         * term/w32-win.el (dynamic-library-alist): Define separate lists
398         of GIF DLLs for versions before and after 5.0.0 of giflib.
399         (Bug#15531)
401 2013-10-10  João Távora <joaotavora@gmail.com>
403         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
404         not locked, use last revision and current source as
405         defaults.  (Bug#15569)
407 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
409         * menu-bar.el (menu-bar-open): Don't use popup-menu if
410         menu-bar is hidden.
412 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
414         * window.el (pop-to-buffer-same-window): Fix doc-string.
415         (Bug#15492)
417 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
421 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
423         * calendar/icalendar.el (icalendar-import-file):
424         Fix interactive spec.  (Bug#15482)
426 2013-10-10  Glenn Morris  <rgm@gnu.org>
428         * desktop.el (desktop-save): Default to saving in .emacs.d,
429         since PWD is no longer in desktop-path by default.  (Bug#15319)
431         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
432         now that text mode has a menu with the same entry.
433         (menu-bar-text-mode-auto-fill): Remove now unused func.
434         * textmodes/text-mode.el (text-mode-map):
435         Use auto-fill help text from menu-bar.el.
437 2013-10-10  John Anthony  <john@jo.hnanthony.com>  (tiny change)
439         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
441 2013-10-09  Juri Linkov  <juri@jurta.org>
443         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
444         instead of this-command-keys.  Add universal-argument-more and
445         universal-argument-minus to the list of prefix commands.  (Bug#15568)
447 2013-10-09  Glenn Morris  <rgm@gnu.org>
449         * vc/vc-svn.el (vc-svn-create-repo):
450         Expand paths in file://... url.  (Bug#15446)
452         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
453         Add some entries.
454         (authors): Remove unused local variables.
456 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
458         * profiler.el: Create a more coherent calltree from partial backtraces.
459         (profiler-format): Hide the tail with `invisible' so that C-s can still
460         find the hidden elements.
461         (profiler-calltree-depth): Don't recurse so enthusiastically.
462         (profiler-function-equal): New hash-table-test.
463         (profiler-calltree-build-unified): New function.
464         (profiler-calltree-build): Use it.
465         (profiler-report-make-name-part): Indent the calltree less.
466         (profiler-report-mode): Add visibility specs for profiler-format.
467         (profiler-report-expand-entry, profiler-report-toggle-entry):
468         Expand the whole subtree when provided with a prefix arg.
470 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
472         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
473         iuwu-mod token.
474         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
475         hanging iuwu-mod token.
476         (ruby-smie--forward-token): Do not include a dot after a token in
477         that token.
478         (ruby-smie--backward-token): Likewise.
480 2013-10-08  Juri Linkov  <juri@jurta.org>
482         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
483         to isearch-other-control-char.
484         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
485         and isearch-post-command-hook to post-command-hook.
486         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
487         and isearch-post-command-hook from post-command-hook.
488         (isearch-unread-key-sequence)
489         (isearch-reread-key-sequence-naturally)
490         (isearch-lookup-scroll-key, isearch-other-control-char)
491         (isearch-other-meta-char): Remove functions.
492         (isearch-pre-command-hook, isearch-post-command-hook):
493         New functions based on isearch-other-meta-char rewritten
494         relying on the new behavior of overriding-terminal-local-map
495         that does not replace the local keymaps any more.  (Bug#15200)
497 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
499         Support menus on text-mode terminals.
500         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
501         functionality.
503         * tooltip.el (tooltip-mode): Don't error out on TTYs.
505         * menu-bar.el (popup-menu, popup-menu-normalize-position):
506         Move here from mouse.el.
507         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
508         and arrow keys.
509         (tty-menu-navigation-map): New map for TTY menu navigation.
511         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
513         * frame.el (display-mouse-p): Report text-mode mouse as available
514         on w32.
515         (display-popup-menus-p): Report availability if mouse is
516         available; don't condition on window-system.
518         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
519         (tty-menu-selected-face): New faces.
521 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
523         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
524         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
525         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
526         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
527         New constants.
528         (lisp-mode-variables): New `elisp' argument.
529         (emacs-lisp-mode): Use it.
530         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
531         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
533         * indent.el: Use lexical-binding.
534         (indent-region): Add progress reporter.
535         (tab-stop-list): Make it implicitly extend to infinity by repeating the
536         last step.
537         (indent--next-tab-stop): New function to implement this behavior.
538         (tab-to-tab-stop, move-to-tab-stop): Use it.
540 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
542         * indent.el (indent-rigidly--current-indentation): New function.
543         (indent-rigidly-map): New var.
544         (indent-rigidly): Use it to provide interactive mode (bug#8196).
546 2013-10-08  Bastien Guerry  <bzg@gnu.org>
548         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
550 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
552         * progmodes/perl-mode.el: Use lexical-binding.
553         Remove redundant :group args.
554         (perl-nochange): Change default to be closer to other major modes's
555         standard behavior.
556         (perl-indent-line): Don't consider text on current line as a
557         valid beginning of function from which to indent.
559         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
560         with more than one argument (bug#15538).
562         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
564         * vc/pcvs.el: Use lexical-binding.
565         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
566         environment of `eval'.
567         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
568         than a list of expressions.  Adjust callers.
569         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
571 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
573         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
574         case of the dot in a chained method call being on the following line.
576 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
578         * electric.el (electric-indent-inhibit): New var.
579         (electric-indent-post-self-insert-function): Use it.
580         * progmodes/python.el (python-mode): Set it.
582         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
583         open braces.
585         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
587         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
588         (css-mode): Use electric-indent-chars.
590         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
591         (font-lock-beg, font-lock-end): Move before first use.
592         (nxml-mode): Use syntax-propertize-function.
593         (nxml-after-change, nxml-after-change1): Adjust accordingly.
594         (nxml-extend-after-change-region): Remove.
595         * nxml/xmltok.el: Use lexical-binding.
596         (xmltok-save): Use `declare'.
597         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
598         * nxml/nxml-util.el: Use lexical-binding.
599         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
600         Use `declare'.
601         * nxml/nxml-ns.el: Use lexical-binding.
602         (nxml-ns-save): Use `declare'.
603         (nxml-ns-prefixes-for): Avoid add-to-list.
604         * nxml/rng-match.el: Use lexical-binding.
605         (rng--ipattern): Use cl-defstruct.
606         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
607         (rng-cons-group-after, rng-subst-group-after)
608         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
609         Use closures instead of `(lambda...).
611 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
613         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
614         of BEG and END.
616         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
617         Use `tramp-handle-insert-file-contents'.
618         (tramp-gvfs-handle-insert-file-contents): Remove function.
620         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
621         Use `save-restriction' in order to keep markers.
623         * net/trampver.el: Update release number.
625 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
627         * progmodes/compile.el (compilation-parse-errors):
628         Use compilation--put-prop.
629         (compilation--ensure-parse): Check compilation-multiline.
631         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
633         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
634         lexical-binding.
636         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
638         * progmodes/ruby-mode.el: Fix recently added tests.
639         (ruby-smie-grammar): Add - and +.
640         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
641         (ruby-smie--backward-id): New functions.
642         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
643         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
644         any more.
646 2013-10-07  Leo Liu  <sdl.web@gmail.com>
648         * register.el (register-preview-delay)
649         (register-preview-functions): New variables.
650         (register-read-with-preview, register-preview)
651         (register-describe-oneline): New functions.
652         (point-to-register, window-configuration-to-register)
653         (frame-configuration-to-register, jump-to-register)
654         (number-to-register, view-register, insert-register)
655         (copy-to-register, append-to-register, prepend-to-register)
656         (copy-rectangle-to-register): Use register-read-with-preview to
657         read register.  (Bug#15525)
659 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
661         * net/network-stream.el (network-stream-open-starttls): Don't add
662         --insecure if it's already present, because that gnutls-cli
663         rejects getting that parameter twice.
665 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
667         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
668         keyword, too.
670 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
672         * newcomment.el (comment-use-global-state): Change default value
673         to t, mark obsolete (Bug#15251).
674         (comment-beginning): In addition to `comment-to-syntax', check the
675         value of `comment-use-global-state'.
677 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
679         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
680         (ruby-comment-column): Follow the global default, by default.
681         (ruby-smie-grammar): Add assignment syntax.
682         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
683         open-paren, a comma, or a \.
684         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
685         and line continuations.
686         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
687         followed by implicit semi-colons.  Add rule for string concatenation
688         and for indentation at BOB.
689         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
691         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
692         calling next-sexp, since next-token may have skipped chars which
693         next-sexp doesn't know should be skipped!
695 2013-10-05  Leo Liu  <sdl.web@gmail.com>
697         * progmodes/octave.el (octave-send-region):
698         Call compilation-forget-errors.
700 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
702         * vc/vc-svn.el (vc-svn-find-admin-dir):
703         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
704         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
705         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
706         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
708 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
710         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
712 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * subr.el (read-passwd): Hide chars even when called within a context
715         where after-change-functions is disabled (bug#15501).
716         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
717         until we removed ourself from overriding-terminal-local-map.
719 2013-10-04  Leo Liu  <sdl.web@gmail.com>
721         * progmodes/octave.el (inferior-octave-mode):
722         Call compilation-forget-errors.
724 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
726         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
728 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
730         * net/secrets.el (secrets-create-collection): Add optional
731         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
732         dbus-call-method argument.  (Bug#15516)
734 2013-10-04  Leo Liu  <sdl.web@gmail.com>
736         * progmodes/octave.el (inferior-octave-error-regexp-alist)
737         (inferior-octave-compilation-font-lock-keywords): New variables.
738         (compilation-error-regexp-alist)
739         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
740         (inferior-octave-mode): Use compilation-shell-minor-mode.
742 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
744         * minibuffer.el (completion--replace): Be careful that `end' might be
745         a marker.
747 2013-10-03  Daiki Ueno  <ueno@gnu.org>
749         Add support for package signature checking.
750         * emacs-lisp/package.el (url-http-file-exists-p)
751         (epg-make-context, epg-context-set-home-directory)
752         (epg-verify-string, epg-context-result-for)
753         (epg-signature-status, epg-signature-to-string)
754         (epg-check-configuration, epg-configuration)
755         (epg-import-keys-from-file): Declare.
756         (package-check-signature): New user option.
757         (package-unsigned-archives): New user option.
758         (package-desc): Add `signed' field.
759         (package-load-descriptor): Set `signed' field if .signed file exists.
760         (package--archive-file-exists-p): New function.
761         (package--check-signature): New function.
762         (package-install-from-archive): Check package signature.
763         (package--download-one-archive): Check archive signature.
764         (package-delete): Remove .signed file.
765         (package-import-keyring): New command.
766         (package-refresh-contents): Import default keyring.
767         (package-desc-status): Add "unsigned" status.
768         (describe-package-1, package-menu--print-info)
769         (package-menu-mark-delete, package-menu--find-upgrades)
770         (package-menu--status-predicate): Support "unsigned" status.
772 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
774         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
775         the new compilation scheme using the new byte-codes.
777         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
778         (byte-pophandler): New byte codes.
779         (byte-goto-ops): Adjust accordingly.
780         (byte-compile--use-old-handlers): New var.
781         (byte-compile-catch): Use new byte codes depending on
782         byte-compile--use-old-handlers.
783         (byte-compile-condition-case--old): Rename from
784         byte-compile-condition-case.
785         (byte-compile-condition-case--new): New function.
786         (byte-compile-condition-case): New function that dispatches depending
787         on byte-compile--use-old-handlers.
788         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
789         when we can.
791         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
792         Optimize under `condition-case' and `catch' if
793         byte-compile--use-old-handlers is nil.
794         (disassemble-offset): Handle new bytecodes.
796 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
798         * subr.el (error): Use `declare'.
799         (decode-char, encode-char): Use advertised-calling-convention instead
800         of the docstring to discourage use of the `restriction' arg.
802 2013-10-03  Daiki Ueno  <ueno@gnu.org>
804         * epg.el (epg-verify-file): Add a comment saying that it does not
805         notify verification error as a return value nor a signal.
806         (epg-verify-string): Ditto.
808 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
810         * progmodes/compile.el (compilation-start): Try globbing the arg to
811         `cd' (bug#15417).
813 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
815         Sync with Tramp 2.2.8.
817         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
818         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
819         * net/trampver.el: Update release number.
821 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
823         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
824         and default-process-coding-system for darwin only.
826 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
830 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
832         * vc/vc-git.el (vc-git-grep): Disable pager.
834 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
836         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
837         Use :url instead of :homepage, as per
838         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
840         * newcomment.el (comment-beginning): When `comment-use-syntax' is
841         non-nil, use `syntax-ppss' (Bug#15251).
843 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
845         * progmodes/octave.el (inferior-octave-startup-file):
846         Prefer ~/.emacs.d/init_octave.m.
848 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
850         * emacs-lisp/package.el (package-desc-from-define):
851         Accept additional arguments as plist, convert them to an alist and store
852         them in the `extras' slot.
853         (package-generate-description-file): Convert extras alist back to
854         plist and append to the `define-package' form arguments.
855         (package--alist-to-plist): New function.
856         (package--ac-desc): Add `extras' slot.
857         (package--add-to-archive-contents): Check if the archive-contents
858         vector is long enough, and if it is, pass its `extras' slot value
859         to `package-desc-create'.
860         (package-buffer-info): Call `lm-homepage', pass the returned value
861         to `package-desc-from-define'.
862         (describe-package-1): Render the homepage button (Bug#13291).
864         * emacs-lisp/package-x.el (package-upload-buffer-internal):
865         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
867 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
869         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
870         and default-process-coding-system to utf-8-unix (Bug#15402).
872 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
874         * subr.el (looking-back): Do not recommend using looking-back.
876 2013-09-28  Alan Mackenzie  <acm@muc.de>
878         Fix indentation/fontification of Java enum with "implements".
880         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
881         regexp which matches "implements", etc., in Java.
882         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
883         specifier clauses coming after "enum".
884         * progmodes/cc-fonts.el (c-font-lock-declarations)
885         (c-font-lock-enum-tail): Check for extra specifier clauses coming
886         after "enum".
888 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
890         * faces.el (region): Change ns_selection_color to
891         ns_selection_fg_color, add ns_selection_bg_color.
893 2013-09-28  Leo Liu  <sdl.web@gmail.com>
895         * progmodes/octave.el (inferior-octave-completion-table)
896         (inferior-octave-completion-at-point): Minor tweaks.
898         * textmodes/ispell.el (ispell-lookup-words): Rename from
899         lookup-words.  (Bug#15460)
900         (lookup-words): Obsolete.
901         (ispell-complete-word, ispell-command-loop): All uses changed.
903 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
905         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
906         (octave-mode-menu): Add octave-send-buffer.
907         (octave-send-buffer): New function.
909 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
911         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
912         octave-lookfor.
913         (octave-mode-menu): Add octave-lookfor.
914         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
915         octave-lookfor.
916         (octave-lookfor): New function.
918 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
920         * emacs-lisp/cl-macs.el:
921         (cl--loop-destr-temps): Remove.
922         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
923         its convention.
924         (cl--loop-set-iterator-function): New function.
925         (cl-loop): Adjust accordingly, so as not to use cl-subst.
926         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
927         Bind `it' with `let' instead of substituting it with `cl-subst'.
928         (cl--unused-var-p): New function.
929         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
930         Eliminate some unused variable warnings (bug#15326).
932 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
934         * doc-view.el (doc-view-scale-reset): Rename from
935         `doc-view-reset-zoom-level'.
936         (doc-view-scale-adjust): New command.
937         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
938         `doc-view-scale-adjust'.
940 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
942         * doc-view.el (doc-view-reset-zoom-level): New command.
943         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
944         zoom commands (bug#15466).
946 2013-09-26  Kenichi Handa  <handa@gnu.org>
948         * international/quail.el (quail-help): Make it not a command.
950 2013-09-26  Leo Liu  <sdl.web@gmail.com>
952         * minibuffer.el (completion-all-sorted-completions): Make args
953         optional as they are.
955 2013-09-25  Daniel Colascione  <dancol@dancol.org>
957         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
958         specs are and that they're not evaluated.
960 2013-09-24  Sam Steingold  <sds@gnu.org>
962         * midnight.el (clean-buffer-list-kill-regexps)
963         (clean-buffer-list-kill-buffer-names): Update for the new Man
964         buffer naming which includes the object name.
966 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
968         * eshell/esh-cmd.el (eshell--sep-terms): New var.
969         (eshell-parse-command, eshell-parse-pipeline): Use it since
970         eshell-separate-commands requires a dynamic scoped var.
971         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
973 2013-09-23  Leo Liu  <sdl.web@gmail.com>
975         * autoinsert.el (auto-insert-alist): Make the value of
976         lexical-binding match its file setting.
978 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
980         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
982         * autoarg.el (autoarg-kp-digit-argument):
983         * electric.el (Electric-command-loop):
984         * kmacro.el (kmacro-step-edit-insert):
985         Do not set universal-argument-num-events.
987 2013-09-22  Leo Liu  <sdl.web@gmail.com>
989         * files.el (interpreter-mode-alist): Add octave.
991 2013-09-21  Alan Mackenzie  <acm@muc.de>
993         C++: fontify identifier in declaration following "public:" correctly.
994         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
995         to match "public", etc.
996         (c-decl-prefix-re): Add ":" into the C++ value.
997         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
998         bit.  Add a check for a ":" preceded by "public", etc.
1000 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
1002         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1003         recognized by GDB 7.5 and later.
1005 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
1007         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1009 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1011         * subr.el (internal--call-interactively): New const.
1012         (called-interactively-p): Use it (bug#3984).
1014 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
1016         * vc/pcvs.el (cvs-mode-ignore):
1017         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1018         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1020 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1022         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
1023         (eshell-ls-orig-insert-directory): Remove.
1024         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
1025         (eshell-ls-use-in-dired): Use advice-add/remove.
1026         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1027         Add `orig-fun' arg for use in :around advice.
1028         Make it check (redundantly) eshell-ls-use-in-dired.
1030 2013-09-19  Glenn Morris  <rgm@gnu.org>
1032         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1034         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1036         * emacs-lisp/eieio.el (class-parent): Undo previous change.
1038 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
1040         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1041         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1042         (tramp-get-remote-python): New defuns.
1043         (tramp-get-remote-uid-with-perl)
1044         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
1045         contributed by yary <not.com@gmail.com> (tiny change).
1046         (tramp-get-remote-uid-with-python)
1047         (tramp-get-remote-gid-with-python): New defuns.  Python code
1048         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1049         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1051 2013-09-19  Glenn Morris  <rgm@gnu.org>
1053         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1055         * eshell/em-unix.el (eshell-remove-entries):
1056         Rename argument to avoid name-clash with global `top-level'.
1058         * eshell/esh-proc.el (eshell-kill-process-function):
1059         Remove eshell-reset-after-proc from eshell-kill-hook if present.
1060         (eshell-reset-after-proc): Remove unused arg `proc'.
1062         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1063         (directory-files-and-attributes): Mark unused arg.
1065         * eshell/em-unix.el (eshell-remove-entries):
1066         Remove unused arg `path'.  Update callers.
1068         * eshell/em-hist.el (eshell-hist-parse-arguments):
1069         Remove unused arg `silent'.  Update callers.
1071         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1072         Fix (f)boundp mix-up.
1074         * eshell/em-smart.el (eshell-smart-scroll-window)
1075         (eshell-disable-after-change):
1076         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1078 2013-09-18  Alan Mackenzie  <acm@muc.de>
1080         Fix fontification of type when followed by "const".
1081         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1082         "known" types from fontification.
1084 2013-09-18  Glenn Morris  <rgm@gnu.org>
1086         * emacs-lisp/chart.el (x-display-color-cells): Declare.
1087         (chart-face-list): Drop Emacsen without display-color-p.
1089         * net/eww.el (libxml-parse-html-region): Declare.
1090         (eww-display-html): Explicit error if no libxml2 support.
1092         * doc-view.el (doc-view-mode): Silence --without-x compilation.
1094         * image.el (image-type-from-buffer, image-multi-frame-p):
1095         Remove --without-x warning/error.
1097         * mouse.el (mouse-yank-primary):
1098         * term.el (term-mouse-paste):
1099         Reorder to silence --without-x compilation.
1101         * mpc.el (doc-view-mode): Silence --without-x compilation.
1103         * mail/rmailmm.el (rmail-mime-set-bulk-data):
1104         Silence --without-x compilation.
1106         * progmodes/gud.el (gud-find-file, gud-mode):
1107         Silence --without-x compilation.
1108         (tooltip-mode): Declare.
1110         * wdired.el (dired-backup-overwrite): Remove declaration.
1111         (wdired-mode-map): Add doc string.
1113         * custom.el (x-get-resource): Declare.
1115         * eshell/em-glob.el (ange-cache):
1116         * eshell/em-unix.el (ange-cache): Declare.
1118         * faces.el (x-display-list, x-open-connection, x-get-resource):
1119         Declare.
1121         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1122         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1123         Declare.
1125         * frame.el (x-display-grayscale-p, x-display-name): Declare.
1127         * net/gnutls.el (gnutls-log-level): Declare.
1129         * net/shr.el (image-size, image-animate): Declare.
1131         * simple.el (font-info): Declare.
1133         * subr.el (x-popup-dialog): Declare.
1135         * term/common-win.el (x-select-enable-primary)
1136         (x-last-selected-text-primary, x-last-selected-text-clipboard):
1137         Declare.
1139         * term/ns-win.el (x-handle-args): Declare.
1141         * term/x-win.el (x-select-enable-clipboard): Declare.
1143         * term/w32-win.el (create-default-fontset): Declare.
1145         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1146         Declare.
1148         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1149         (fit-frame-to-buffer): Explicit error if --without-x.
1150         (mouse-autoselect-window-select): Silence compiler.
1152         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1154         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1155         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1156         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1157         * eshell/esh-util.el (eshell-sublist):
1158         Remove unused local variables.
1160         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1162         * textmodes/two-column.el: Make 2C-split work for --without-x.
1163         (scroll-bar-columns): Autoload.
1164         (top-level): Require fringe when compiling.
1166 2013-09-18  Leo Liu  <sdl.web@gmail.com>
1168         * subr.el (add-hook): Robustify to handle closure as well.
1170 2013-09-17  Glenn Morris  <rgm@gnu.org>
1172         * simple.el (messages-buffer-mode-map): Unbind "g".
1174 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1176         * help-mode.el (help-mode-finish): Use derived-mode-p.
1177         Remove obsolete highlighting.
1179         * play/life.el (life-mode): Use define-derived-mode.  Derive from
1180         special-mode.
1181         (life): Let-bind inhibit-read-only.
1182         (life-setup): Avoid `setq'.  Use `life-mode'.
1184         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1185         which should not be needed any more.
1186         (package-menu-refresh, package-menu-describe-package): Use user-error.
1188         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1189         (eshell-post-rewrite-command-hook): Make obsolete.
1190         (eshell-parse-command): Simplify.
1191         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1192         (eshell--cmd): Declare.
1193         (eshell-parse-pipeline): Remove unused var `final-p'.
1194         Pass a dynvar to eshell-post-rewrite-command-hook.
1195         Implement the new eshell-post-rewrite-command-function.
1196         (eshell-invoke-directly): Remove unused arg `input'.
1197         * eshell/esh-io.el (eshell-io-initialize):
1198         Use eshell-post-rewrite-command-function (bug#15399).
1199         (eshell--apply-redirections): Rename from eshell-apply-redirections;
1200         adjust to new calling convention.
1201         (eshell-create-handles): Rename args to avoid clashing with dynvar
1202         `standard-output'.
1204 2013-09-17  Glenn Morris  <rgm@gnu.org>
1206         * simple.el (messages-buffer-mode): New major mode.
1207         (messages-buffer): New function.
1208         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1209         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1210         (ert-run-test): Use `messages-buffer' function.
1211         (ert--force-message-log-buffer-truncation): Ignore read-only.
1212         * help.el (view-echo-area-messages): Use `messages-buffer' function.
1213         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1215 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1217         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1219         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1221 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1223         * icomplete.el (icomplete-in-buffer): New var.
1224         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1225         vars and replace them with functions.
1226         (icomplete-minibuffer-setup): Adjust accordingly.
1227         (icomplete--completion-table, icomplete--completion-predicate)
1228         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1229         New functions.
1230         (icomplete-forward-completions, icomplete-backward-completions)
1231         (icomplete-simple-completing-p, icomplete-exhibit)
1232         (icomplete-completions): Use them.
1233         (icomplete--in-region-buffer): New var.
1234         (icomplete--in-region-setup): New function.
1235         (icomplete-mode): Use it.
1237         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1238         (bug#15379).
1239         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1240         return args and options.
1241         (eshell-eval-using-options): Use the new return value of
1242         eshell--do-opts to set the options's vars in their scope.
1243         (eshell--set-option): Rename from eshell-set-option.
1244         Add arg `opt-vals'.
1245         (eshell--process-option): Rename from eshell-process-option.
1246         Add arg `opt-vals'.
1247         (eshell--process-args): Use an `opt-vals' alist to store the options's
1248         values during their processing and return them additionally to the
1249         remaining args.
1251 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
1253         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1254         continuation character an operator, as far as indentation is
1255         concerned (Bug#15369).
1257 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
1259         * window.el (window--state-put-2): Don't process buffer state
1260         when buffer doesn't exist any more (Bug#15382).
1262 2013-09-15  Glenn Morris  <rgm@gnu.org>
1264         * eshell/em-unix.el (eshell/rm):
1265         Make -f ignore missing files.  (Bug#15373)
1267         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
1268         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1269         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1271 2013-09-14  Glenn Morris  <rgm@gnu.org>
1273         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1275 2013-09-13  Glenn Morris  <rgm@gnu.org>
1277         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1278         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
1280 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
1282         * frame.el (x-focus-frame): Mark as declared in frame.c.
1284 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * ls-lisp.el: Use advice-add.
1287         (original-insert-directory): Remove.
1288         (ls-lisp--insert-directory): Rename from insert-directory; add
1289         `orig-fun' argument.
1290         (insert-directory): Advise.
1292 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
1294         * term.el (term-emulate-terminal): Decode the command string
1295         before passing it to term-command-hook.  (Bug#15337)
1297 2013-09-13  Glenn Morris  <rgm@gnu.org>
1299         * eshell/esh-util.el (ange-cache): Move declaration earlier.
1301         * eshell/esh-ext.el (eshell-search-path): Declare.
1303         * eshell/em-prompt.el (eshell/pwd): Autoload it.
1304         Otherwise an error occurs if eshell-dirs module not loaded.
1306         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1308 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
1310         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1311         `tramp-check-proper-host'.  Check for a valid method name.
1313         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1314         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1315         * net/tramp-sh.el (tramp-maybe-open-connection):
1316         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1318         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1319         also for hash values.
1321 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1323         * term/ns-win.el (parameters): Don't declare as dynamic.
1324         (before-make-frame-hook): Don't add ineffective function.
1326         * eshell/*.el: Use lexical-binding (bug#15231).
1328 2013-09-12  Kenichi Handa  <handa@gnu.org>
1330         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1332 2013-09-12  Glenn Morris  <rgm@gnu.org>
1334         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1335         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1337         * subr.el (do-after-load-evaluation): Also give compiler warnings
1338         when obsolete files are used (except by obsolete files).
1340         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1341         in the status output, assume `filename' is the first.  (Bug#15322)
1343         * vc/vc.el (vc-deduce-fileset): Doc fix.
1345         * calc/calc-help.el (Info-goto-node):
1346         * progmodes/cperl-mode.el (Info-find-node):
1347         * vc/ediff.el (Info-goto-node): Update declarations.
1349         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1351         * vc/vc-bzr.el (vc-compilation-mode): Declare.
1352         (vc-bzr-pull): Require vc-dispatcher.
1353         * vc/vc-git.el (vc-compilation-mode): Declare.
1354         (vc-git-pull): Require vc-dispatcher.
1356         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1358         * progmodes/octave.el (help-button-action): Declare.
1360         * shell.el (shell-directory-tracker): Output error as a message
1361         rather than just returning it as a string.
1362         (shell-process-pushd): Remove useless use of message.
1364         * dframe.el (dframe-timer-fn):
1365         * files.el (dir-locals-read-from-file):
1366         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1367         (mpc-format):
1368         * reveal.el (reveal-post-command):
1369         * saveplace.el (load-save-place-alist-from-file):
1370         * shell.el (shell-resync-dirs):
1371         * w32-common-fns.el (x-get-selection-value):
1372         * emacs-lisp/copyright.el (copyright-find-copyright):
1373         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1374         * emulation/tpu-edt.el (tpu-copy-keyfile):
1375         * play/bubbles.el (bubbles--mark-neighbourhood):
1376         * progmodes/executable.el
1377         (executable-make-buffer-file-executable-if-script-p):
1378         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1380 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         Cleanup Eshell to rely less on dynamic scoping.
1383         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1384         last-value, and ext-command here.  Bind `args' closer to `body'.
1385         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1386         (eshell--args): Declare new dynamic var.
1387         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
1388         last-value, and ext-command.  Pass `args' to `body'.
1389         (eshell-process-args): Bind eshell--args.
1390         (eshell-set-option): Use eshell--args.
1391         * eshell/eshell.el (eshell): Use derived-mode-p.
1392         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1393         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1394         (eshell-glob-function): Declare.
1395         * eshell/esh-util.el: Require cl-lib.
1396         (eshell-read-hosts-file): Avoid add-to-list.
1397         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1398         `err'.
1399         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1400         Declare.
1401         (eshell/diff): Remove unused var `err'.
1402         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1403         `killflag'.
1404         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1405         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1406         first use.
1407         * eshell/em-glob.el (eshell-glob-matches, message-shown):
1408         Move declaration before first use.
1409         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1410         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1411         rely on cl-return.
1413 2013-09-12  Glenn Morris  <rgm@gnu.org>
1415         * term/ns-win.el (global-map): Remove binding for ispell-next,
1416         deleted 1999-05-29.  (Bug#15357)
1418 2013-09-11  Glenn Morris  <rgm@gnu.org>
1420         * echistory.el (electric-command-history): Remove call to deleted func.
1422         * play/landmark.el (landmark-mode): Fix typos.
1424         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1425         Check cvs-sort-ignore-file is bound.
1427         * savehist.el: No need for cl when compiling on Emacs.
1429 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1432         (bug#15338).
1433         (eshell-self-insert-command, eshell-send-invisible):
1434         Remove unused argument.
1435         (eshell-handle-control-codes): Remove unused var `orig'.
1436         Avoid delete-backward-char.
1438         * files.el (set-auto-mode): Simplify a bit further.
1440 2013-09-11  Glenn Morris  <rgm@gnu.org>
1442         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1443         (set-auto-mode): Don't regexp-quote elements.
1444         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1445         * progmodes/cc-mode.el (interpreter-mode-alist):
1446         * progmodes/ruby-mode.el (interpreter-mode-alist):
1447         Revert previous change.
1449 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1451         * play/snake.el (snake-mode):
1452         * play/mpuz.el (mpuz-mode):
1453         * play/landmark.el (lm-mode):
1454         * play/blackbox.el (blackbox-mode):
1455         * play/5x5.el (5x5-mode):
1456         * obsolete/options.el (Edit-options-mode):
1457         * net/quickurl.el (quickurl-list-mode):
1458         * net/newst-treeview.el (newsticker-treeview-mode):
1459         * mail/rmailsum.el (rmail-summary-mode):
1460         * mail/mspools.el (mspools-mode):
1461         * locate.el (locate-mode):
1462         * ibuffer.el (ibuffer-mode):
1463         * emulation/ws-mode.el (wordstar-mode):
1464         * emacs-lisp/debug.el (debugger-mode):
1465         * array.el (array-mode):
1466         * net/eudc.el (eudc-mode): Use define-derived-mode.
1467         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1468         Move initialization into declaration.
1469         (mairix-searches-mode): Use define-derived-mode.
1470         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1471         (eudc-edit-hotlist): Use dolist.
1472         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1473         (Man-mode): Use define-derived-mode.
1474         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1475         (Info-edit-mode): Use define-derived-mode.
1476         (Info-cease-edit): Use Info-mode.
1477         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1478         into declaration.
1479         (eshell-mode): Use define-derived-mode.
1480         * chistory.el (command-history-mode-map): Rename from
1481         command-history-map.
1482         (command-history-mode): Use define-derived-mode.
1483         (Command-history-setup): Remove function.
1484         * calc/calc.el (calc-trail-mode-map): New var.
1485         (calc-trail-mode): Use define-derived-mode.
1486         (calc-trail-buffer): Set calc-main-buffer manually.
1487         * bookmark.el (bookmark-insert-annotation): New function.
1488         (bookmark-edit-annotation): Use it.
1489         (bookmark-edit-annotation-mode): Make it a proper major mode.
1490         (bookmark-send-edited-annotation): Use derived-mode-p.
1491         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1492         closer to its ideal place.  Use \' to match EOS.
1494         * profiler.el (profiler-calltree-find): Use function-equal.
1496 2013-09-10  Glenn Morris  <rgm@gnu.org>
1498         * files.el (interpreter-mode-alist): Convert to regexps.
1499         (set-auto-mode): Adapt for this.  (Bug#15306)
1500         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1501         Comment out unused variable.
1502         * progmodes/cc-mode.el (interpreter-mode-alist):
1503         * progmodes/python.el (interpreter-mode-alist):
1504         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1505         * progmodes/sh-script.el (sh-set-shell):
1506         No longer use interpreter-mode-alist to get list of shells.
1508         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1510 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1512         * simple.el: Use set-temporary-overlay-map for universal-argument.
1513         (universal-argument-map): Don't use default-bindings (bug#15317).
1514         Bind switch-frame explicitly.  Replace universal-argument-minus with
1515         a conditional binding.
1516         (universal-argument-num-events, saved-overriding-map): Remove.
1517         (restore-overriding-map): Remove.
1518         (universal-argument--mode): Rename from save&set-overriding-map,
1519         and rewrite.
1520         (universal-argument, universal-argument-more, negative-argument)
1521         (digit-argument): Adjust accordingly.
1522         (universal-argument-minus): Remove.
1523         (universal-argument-other-key): Remove.
1525         * subr.el (with-demoted-errors): Add `format' argument.
1527 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
1529         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
1530         `tramp-cleanup-connection'.
1532         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1533         parameters KEEP-DEBUG and KEEP-PASSWORD.
1535         * net/tramp.el (tramp-file-name-handler):
1536         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1537         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1538         (tramp-maybe-open-connection):
1539         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1540         Use `tramp-cleanup-connection'.
1542         * net/tramp-sh.el (tramp-maybe-open-connection):
1543         Catch 'uname-changed inside the progress reporter.
1545 2013-09-10  Glenn Morris  <rgm@gnu.org>
1547         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
1549         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1550         returns "alternate access method" in mode (eg "-rw-r--r--.").
1552 2013-09-08  Glenn Morris  <rgm@gnu.org>
1554         * saveplace.el (load-save-place-alist-from-file):
1555         Demote errors.  (Bug#15305)
1557 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
1559         Improve compatibility with older Emacsen, and XEmacs.
1561         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1562         only if it is bound.  It isn't for XEmacs.
1563         (with-tramp-progress-reporter): Do not let-bind `result'.
1564         This yields to scoping errors in XEmacs.
1565         (tramp-handle-make-auto-save-file-name): New function, moved from
1566         tramp-sh.el.
1568         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1569         for `make-auto-save-file-name'.
1570         (tramp-adb--gnu-switches-to-ash):
1571         Use `tramp-compat-replace-regexp-in-string'.
1573         * net/tramp-cache.el (tramp-cache-print): Call
1574         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
1576         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1577         bound.  It isn't for XEmacs.
1579         * net/tramp-compat.el (tramp-compat-copy-file):
1580         Catch `wrong-number-of-arguments' error.
1581         (tramp-compat-replace-regexp-in-string): New defun.
1583         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1584         for `make-auto-save-file-name'.
1585         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1586         `copy-file'.
1587         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1588         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1589         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1591         * net/tramp-gw.el (tramp-gw-open-network-stream):
1592         Use `tramp-compat-replace-regexp-in-string'.
1594         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1595         Call `tramp-handle-make-auto-save-file-name'.
1596         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1597         (tramp-sh-file-gvfs-monitor-dir-process-filter)
1598         (tramp-sh-file-inotifywait-process-filter):
1599         Use `tramp-compat-replace-regexp-in-string'.
1600         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1602         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1603         for `make-auto-save-file-name'.
1604         (tramp-smb-handle-copy-directory):
1605         Call `tramp-compat-replace-regexp-in-string'.
1606         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1607         (tramp-smb-handle-copy-file): Improve error message.
1608         (tramp-smb-handle-rename-file): Rename directly only in case
1609         `newname' does not exist yet.  This is a restriction of smbclient.
1610         (tramp-smb-maybe-open-connection): Rerun the function only when
1611         `auth-sources' is non-nil.
1613 2013-09-08  Kenichi Handa  <handa@gnu.org>
1615         * international/characters.el: Set category "^" (Combining) for
1616         more characters.
1618 2013-09-07  Alan Mackenzie  <acm@muc.de>
1620         Correctly fontify Java class constructors.
1621         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1622         in Java Mode.
1623         (c-recognize-typeless-decls): Set the Java value to t.
1624         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1625         While handling a "(", add a check for, effectively, Java, and handle a
1626         "typeless" declaration there.
1628 2013-09-07  Roland Winkler  <winkler@gnu.org>
1630         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1631         field subtitle for entry type book.
1633 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * minibuffer.el: Make minibuffer-complete call completion-in-region
1636         rather than other way around.
1637         (completion--some, completion-pcm--find-all-completions):
1638         Don't delay signals when debugging.
1639         (minibuffer-completion-contents): Beware fields within the
1640         minibuffer contents.
1641         (completion-all-sorted-completions): Use defvar-local.
1642         (completion--do-completion, completion--cache-all-sorted-completions)
1643         (completion-all-sorted-completions, minibuffer-force-complete):
1644         Add args `beg' and `end'.
1645         (completion--in-region-1): New fun, extracted from minibuffer-complete.
1646         (minibuffer-complete): Use completion-in-region.
1647         (completion-complete-and-exit): New fun, extracted from
1648         minibuffer-complete-and-exit.
1649         (minibuffer-complete-and-exit): Use it.
1650         (completion--complete-and-exit): Rename from
1651         minibuffer--complete-and-exit.
1652         (completion-in-region--single-word): New function, extracted from
1653         minibuffer-complete-word.
1654         (minibuffer-complete-word): Use it.
1655         (display-completion-list): Make `common-substring' argument obsolete.
1656         (completion--in-region): Call completion--in-region-1 instead of
1657         minibuffer-complete.
1658         (completion-help-at-point): Pass boundaries to
1659         minibuffer-completion-help as args rather than via an overlay.
1660         (completion-pcm--string->pattern): Use `any-delim'.
1661         (completion-pcm--optimize-pattern): New function.
1662         (completion-pcm--pattern->regex): Handle `any-delim'.
1663         * icomplete.el (icomplete-forward-completions)
1664         (icomplete-backward-completions, icomplete-completions):
1665         Adjust calls to completion-all-sorted-completions and
1666         completion--cache-all-sorted-completions.
1667         (icomplete-with-completion-tables): Default to t.
1668         * emacs-lisp/crm.el (crm--current-element): Rename from
1669         crm--select-current-element.  Don't put an overlay but return the
1670         boundaries instead.
1671         (crm--completion-command): Take two new args to bind to the boundaries.
1672         (crm-completion-help): Adjust accordingly.
1673         (crm-complete): Use completion-in-region.
1674         (crm-complete-word): Use completion-in-region--single-word.
1675         (crm-complete-and-exit): Use completion-complete-and-exit.
1677 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1679         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1680         than dynamically.
1682 2013-09-06  Juri Linkov  <juri@jurta.org>
1684         * info.el (Info-display-images-node): When image file doesn't exist
1685         display text version of the image if it's provided in the Info file.
1686         Otherwise, display the location of missing image from SRC attribute.
1687         Add help-echo text property from ALT attribute.  (Bug#15279)
1689 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1691         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1692         (edit-abbrevs-mode): Use define-derived-mode.
1694         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1695         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1696         that it's defined.
1697         (epa-key-list-mode, epa-key-mode, epa-info-mode):
1698         Use define-derived-mode.
1700         * epg.el (epg-start-encrypt): Minor CSE simplification.
1702 2013-09-06  William Xu  <william.xwl@gmail.com>
1704         * arc-mode.el: Add support for 7za (bug#15264).
1705         (archive-7z-program): New var.
1706         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1707         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1708         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1710 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
1712         Remove URL syntax.
1714         * net/tramp.el (tramp-syntax, tramp-prefix-format)
1715         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1716         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1717         (tramp-postfix-host-format, tramp-file-name-regexp)
1718         (tramp-completion-file-name-regexp)
1719         (tramp-completion-dissect-file-name)
1720         (tramp-handle-substitute-in-file-name): Remove 'url case.
1721         (tramp-file-name-regexp-url)
1722         (tramp-completion-file-name-regexp-url): Remove constants.
1724 2013-09-06  Glenn Morris  <rgm@gnu.org>
1726         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
1728 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
1730         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1731         keywords" below "here-doc beginnings" (Bug#15270).
1733 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1735         * subr.el (pop): Use `car-safe'.
1736         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1737         to detect unused `pop' return value.
1739         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1740         var `block-regexp'.
1741         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1742         (python-fill-string): Remove unused var `marker'.
1743         (python-skeleton-add-menu-items): Remove unused var `items'.
1745         * international/mule-cmds.el: Require CL.
1746         (find-coding-systems-for-charsets): Avoid add-to-list.
1747         (sanitize-coding-system-list): New function, extracted from
1748         select-safe-coding-system-interactively.
1749         (select-safe-coding-system-interactively): Use it.
1750         (read-input-method-name): Accept symbols for `default'.
1752         * emacs-lisp/advice.el (defadvice): Add indent rule.
1754 2013-09-05  Daniel Hackney  <dan@haxney.org>
1756         * dired-x.el:
1757         * net/ange-ftp.el:
1758         * net/browse-url.el:
1759         * net/dbus.el:
1760         * net/eudc.el:
1761         * net/eudcb-ldap.el:
1762         * net/eww.el:
1763         * net/imap.el:
1764         * printing.el:
1765         * vc/ediff-diff.el:
1766         * vc/ediff-init.el:
1767         * vc/ediff-merg.el:
1768         * vc/ediff-mult.el:
1769         * vc/ediff-util.el:
1770         * vc/ediff-wind.el:
1771         * vc/ediff.el:
1772         * vc/emerge.el:
1773         * vc/pcvs.el:
1774         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1775         byte compiler.  Remove some unused let-bound variables.
1777 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1779         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1780         a "ref-cell", since it gets better optimized (bug#14883).
1782 2013-09-05  Glenn Morris  <rgm@gnu.org>
1784         * progmodes/cc-awk.el (c-forward-sws): Declare.
1786 2013-09-04  Glenn Morris  <rgm@gnu.org>
1788         * generic-x.el [rul-generic-mode]: Require cc-mode.
1789         (c++-mode-syntax-table): Declare.
1790         (rul-generic-mode-syntax-table): Init in the defvar.
1792 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1794         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1795         (vc-do-command, vc-set-async-update):
1796         * vc/vc-mtn.el (vc-mtn-dir-status):
1797         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1798         (vc-hg-pull, vc-hg-merge-branch):
1799         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1800         (vc-git-merge-branch):
1801         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1802         (vc-cvs-dir-status-files):
1803         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1804         (vc-bzr-dir-status-files):
1805         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1806         * vc/vc-annotate.el: Use lexical-binding.
1807         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1808         (vc-sentinel-movepoint): Declare.
1809         (vc-annotate): Don't use `goto-line'.
1810         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1811         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1812         (vc-sentinel-movepoint): Declare.
1813         * vc/vc-svn.el: Use lexical-binding.
1814         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1815         * vc/vc-sccs.el:
1816         * vc/vc-rcs.el: Use lexical-binding.
1818         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1819         `deleted'.  Don't drop errors silently.
1821         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1823 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
1825         * vc/vc.el (vc-ignore): Rewrite.
1826         (vc-default-ignore): New function.
1827         (vc-default-ignore-completion-table): Use find-ignore-file.
1829         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1830         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1831         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1832         Remove.  Most code moved to vc.el.
1834 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1836         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1837         * net/tramp-smb.el (tramp-smb-get-file-entries):
1838         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1839         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1841         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1842         Update call to it.
1843         (eww-change-select): Remove unused var `properties'.
1844         (eww-make-unique-file-name): Remove unused var `base'.
1846         * finder.el (finder-compile-keywords): Don't mess with windows.
1848         * calculator.el (calculator-funcall): Fix typo in last change.
1850         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1852         * emacs-lisp/package.el (package-activate-1): Don't let a missing
1853         <pkg>-autoloads.el file stop us.
1855         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1856         warnings, and factor out common code.
1858 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
1860         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1861         two-character operators and whether the character preceding them
1862         changes their meaning (Bug#15208).
1864 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1866         Format code sent to Python shell for robustness.
1867         * progmodes/python.el (python-shell-buffer-substring):
1868         New function.
1869         (python-shell-send-region, python-shell-send-buffer): Use it.
1871 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
1873         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1874         * net/tramp.el (tramp-user-error): ... here.
1875         (tramp-find-method, tramp-check-proper-host)
1876         (tramp-dissect-file-name, tramp-debug-message)
1877         (tramp-handle-shell-command):
1878         * net/tramp-adb.el (tramp-adb-handle-shell-command):
1879         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1881         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1883 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
1885         * avoid.el (mouse-avoidance-point-position)
1886         (mouse-avoidance-too-close-p): Handle case where posn-at-point
1887         returns nil.
1889 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1891         * progmodes/python.el (python-shell-completion-get-completions):
1892         Drop use of deleted `comint-last-prompt-overlay'.
1893         (python-nav-if-name-main): New command.
1895 2013-09-01  Glenn Morris  <rgm@gnu.org>
1897         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1898         Avoid leading space in $wins.  Otherwise the sed command used by
1899         eg compile-main ends up containing "/*.el".  (Bug#15170)
1901         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
1903 2013-08-30  Glenn Morris  <rgm@gnu.org>
1905         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1906         Fix is-this-a-directory logic.  (Bug#15220)
1908 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1910         * textmodes/css-mode.el: Use SMIE.
1911         (css-smie-grammar): New var.
1912         (css-smie--forward-token, css-smie--backward-token)
1913         (css-smie-rules): New functions.
1914         (css-mode): Use them.
1915         (css-navigation-syntax-table): Remove var.
1916         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1917         (css-indent-calculate, css-indent-line): Remove functions.
1919         Misc changes to reduce use of `(lambda...); and other cleanups.
1920         * cus-edit.el: Use lexical-binding.
1921         (customize-push-and-save, customize-apropos)
1922         (custom-buffer-create-internal): Use closures.
1923         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1924         * progmodes/ada-xref.el: Use setq.
1925         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1926         * dframe.el: Use lexical-binding.
1927         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
1928         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1929         * descr-text.el: Use lexical-binding.
1930         (describe-text-widget, describe-text-sexp, describe-property-list):
1931         Use closures.
1932         * comint.el (comint-history-isearch-push-state): Use a closure.
1933         * calculator.el: Use lexical-binding.
1934         (calculator-number-to-string): Make it work with lexical-binding.
1935         (calculator-funcall): Same and use cl-letf.
1937         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1938         (lisp--company-doc-string, lisp--company-location): New functions.
1939         (lisp-completion-at-point): Use them to improve Company support.
1941         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1942         params of lambda expressions.
1943         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1944         (ruby-smie--opening-pipe-p): New function.
1945         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1946         symbols and matched |...| for formal params.
1947         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1948         from being treated as hanging.  Handle "rescue".
1950 2013-08-29  Glenn Morris  <rgm@gnu.org>
1952         * progmodes/cc-engine.el (c-pull-open-brace):
1953         Move definition before use.
1955 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1957         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1958         are immutable.  Don't use `unsafe' any more.
1959         (cl--defsubst-expand): Don't substitute at the same time as keeping
1960         a residual unused let-binding.  Don't use `unsafe' any more.
1962 2013-08-29  Glenn Morris  <rgm@gnu.org>
1964         * calendar/cal-china.el (calendar-chinese-year-cache):
1965         Recenter on 2015.
1967         * nxml/nxml-util.el (nxml-debug-clear-inside):
1968         Use cl-loop rather than loop.
1970         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1972         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1974 2013-08-28  Glenn Morris  <rgm@gnu.org>
1976         * progmodes/antlr-mode.el: No need to require cc-mode twice.
1978         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1980         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1982 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1984         * simple.el (repeat-complex-command--called-interactively-skip):
1985         New function.
1986         (repeat-complex-command): Use it (bug#14136).
1988         * progmodes/cc-mode.el: Minor cleanup of var declarations.
1989         (c-define-abbrev-table): Add `doc' argument.
1990         (c-mode-abbrev-table, c++-mode-abbrev-table)
1991         (objc-mode-abbrev-table, java-mode-abbrev-table)
1992         (idl-mode-abbrev-table, pike-mode-abbrev-table)
1993         (awk-mode-abbrev-table): Use it.
1994         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1995         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1996         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1997         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1998         Move initialization into the declaration; and remove any
1999         autoload cookie.
2001         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2002         and dynamic let binding.
2004         * vc/smerge-mode.el: Remove redundant :group args.
2006         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2007         to load-path.
2009 2013-08-28  Juri Linkov  <juri@jurta.org>
2011         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2012         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2013         (isearch-other-meta-char): Handle an undefined shifted printing
2014         character by downshifting it.  (Bug#15200)
2016 2013-08-28  Juri Linkov  <juri@jurta.org>
2018         * isearch.el (isearch-search): Change regexp error message for
2019         non-regexp searches.  (Bug#15166)
2021 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
2023         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2024         for portability to hosts where /bin/sh has problems.
2026 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2028         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2030 2013-08-27  Juri Linkov  <juri@jurta.org>
2032         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2033         in the keyboard macro.  (Bug#15126)
2035 2013-08-27  Juri Linkov  <juri@jurta.org>
2037         * isearch.el (isearch-quote-char): Comment out converting unibyte
2038         to multibyte, thus syncing with its `quoted-insert' counterpart.
2039         (Bug#15166)
2041 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
2043         * window.el (display-buffer-use-some-window): Add missing
2044         argument in call of get-largest-window (Bug#15185).
2045         Reported by Stephen Leake.
2047 2013-08-27  Glenn Morris  <rgm@gnu.org>
2049         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2051 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2053         * progmodes/python.el (python-font-lock-keywords): Don't return nil
2054         from a matcher-function unless there's no more matches (bug#15161).
2056 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2058         * minibuffer.el: Revert change from 2013-08-20.
2060         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2061         with text property `tramp-default', if appropriate.
2062         (tramp-check-proper-host): New defun.
2063         (tramp-dissect-file-name): Do not check hostname.  Revert change
2064         of 2013-03-18.
2065         (tramp-backtrace): Make VEC-OR-PROC optional.
2067         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2068         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2069         * net/tramp-sh.el (tramp-maybe-open-connection):
2070         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2071         Apply `tramp-check-proper-host'.
2073 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
2075         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2076         lambda expression in order to have `describe-variable' display it.
2078 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2080         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2081         BUF can be optional.  (Bug#15186)
2083 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
2085         * progmodes/flymake.el (flymake-get-real-file-name-function):
2086         Fix broken customization.  (Bug#15184)
2088 2013-08-25  Alan Mackenzie  <acm@muc.de>
2090         Improve indentation of bracelists defined by macros (without "=").
2092         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2093         expansion begins with "{", regard it as bracelist when it doesn't
2094         contain a ";".
2096         Parse C++ inher-intro when there's a template split over 2 lines.
2098         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2099         rigorously the search for "class" etc. followed by ":".
2101         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2102         random languages a regexp which never matches rather than nil.
2104         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2106         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2107         (c-awk-regexp-one-line-possibly-open-char-list-re)
2108         (c-awk-one-line-possibly-open-regexp-re)
2109         (c-awk-one-line-non-syn-ws*-re): Remove.
2110         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2111         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2112         (c-awk-space*-unclosed-regexp-/-re): New constants.
2113         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2114         aren't regexp delimiters.
2116         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2117         handling for a rare situation in AWK Mode involving unterminated
2118         strings/regexps.
2120 2013-08-23  Glenn Morris  <rgm@gnu.org>
2122         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2124         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2126         * files.el (create-file-buffer): If the result would begin with
2127         spaces, prepend a "|" instead of removing them.  (Bug#15162)
2129 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2131         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2132         text-properties (bug#15155).
2134         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2135         exist any more.
2136         (calc-keypad-redraw): Remove unused var `pad'.
2137         (calc-keypad-press): Remove unused var `menu'.
2139 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
2141         * window.el (display-buffer-pop-up-frame):
2142         Call pop-up-frame-function with BUFFER current so `make-frame' will
2143         use it as the new frame's buffer (Bug#15133).
2145 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2147         * calendar/timeclock.el: Minor cleanups.
2148         (timeclock-ask-before-exiting, timeclock-use-display-time):
2149         Use `symbol'.
2150         (timeclock-modeline-display): Define as alias before the
2151         actual definition.
2152         (timeclock-mode-line-display): Use define-minor-mode.
2153         (timeclock-day-list-template): Make it a function, add an argument.
2154         (timeclock-day-list-required, timeclock-day-list-length)
2155         (timeclock-day-list-debt, timeclock-day-list-span)
2156         (timeclock-day-list-break): Adjust calls accordingly.
2158 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2160         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2161         Use read--expression so that completion works again.
2163 2013-08-21  Sam Steingold  <sds@gnu.org>
2165         Add rudimentary inferior shell interaction
2166         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2167         (sh-set-shell): Reset it.
2168         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2169         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2171 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2173         * align.el: Use lexical-binding.
2174         (align-region): Simplify accordingly.
2176 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
2178         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2180         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2181         `non-essential' up.
2183 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
2185         * net/tramp.el:
2186         * net/tramp-adb.el:
2187         * net/tramp-cmds.el:
2188         * net/tramp-ftp.el:
2189         * net/tramp-gvfs.el:
2190         * net/tramp-gw.el:
2191         * net/tramp-sh.el: Don't wrap external variable declarations by
2192         `eval-when-compile'.
2194 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2196         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2197         now that Emacs supports ImageMagick animations.
2199 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
2201         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2202         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2204 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
2206         * window.el (mouse-autoselect-window-select): Do autoselect when
2207         mouse pointer is on margin.
2209 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
2211         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
2213 2013-08-16  Glenn Morris  <rgm@gnu.org>
2215         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2216         Handle "Remote Directory" response of some clients.  (Bug#15058)
2218         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2219         Tweak warning.  (Bug#14926)
2221         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2222         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
2224         * image-mode.el (image-mode-map): Add menu items to reverse,
2225         increase, decrease, reset animation speed.
2226         (image--set-speed, image-increase-speed, image-decrease-speed)
2227         (image-reverse-speed, image-reset-speed): New functions.
2228         (image-mode-map): Add bindings for speed commands.
2230         * image.el (image-animate-get-speed, image-animate-set-speed):
2231         New functions.
2232         (image-animate-timeout): Respect image :speed property.
2234 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2236         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2237         previous line (bug#15101).
2238         (debugger-eval-expression, debugger-record-expression):
2239         Use read--expression (bug#15102).
2241 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
2243         Remove byte compiler warnings, visible when compiling with
2244         `byte-compile-force-lexical-warnings' set to t.
2246         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2247         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2248         (tramp-handle-unhandled-file-name-directory)
2249         (tramp-handle-file-notify-add-watch, tramp-action-login)
2250         (tramp-action-succeed, tramp-action-permission-denied)
2251         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2252         arguments with "_".
2254         * net/tramp-adb.el (tramp-adb-parse-device-names)
2255         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2256         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2257         (tramp-adb-handle-file-truename): Remove unused arguments.
2259         * net/tramp-cache.el (tramp-flush-directory-property)
2260         (tramp-flush-connection-property, tramp-list-connections)
2261         (tramp-parse-connection-properties): Prefix unused arguments with "_".
2263         * net/tramp-compat.el (tramp-compat-make-temp-file):
2264         Rename FILENAME to F.
2266         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2267         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2268         (tramp-zeroconf-parse-workstation-device-names)
2269         (tramp-zeroconf-parse-webdav-device-names)
2270         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2272         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2273         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2275         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2276         arguments.
2277         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2278         (tramp-sh-handle-insert-file-contents-literally)
2279         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2280         with "_".
2281         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2282         Remove unused variables.
2284         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2285         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2286         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2288         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2289         Make them a defconst.
2290         (tramp-uuencode-region): Remove unused variable.
2292 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
2294         * frameset.el (frameset--prop-setter): New function.
2295         (frameset-prop): Add gv-setter declaration.
2296         (frameset-filter-minibuffer): Deal with the case that the minibuffer
2297         parameter was already set in FILTERED.  Doc fix.
2298         (frameset--record-minibuffer-relationships): Allow saving a
2299         minibufferless frame without its corresponding minibuffer frame.
2300         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2301         frame, if the frame id matches.
2302         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2303         frames before orphaned ones.
2304         (frameset-restore): Warn about orphaned windows, instead of error out.
2306 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
2308         * window.el (window-make-atom): Don't overwrite parameter
2309         already present.
2310         (display-buffer-in-atom-window): Handle special case where we
2311         split an already atomic window.
2312         (window--major-non-side-window, display-buffer-in-side-window)
2313         (window--side-check): Ignore minibuffer window when walking
2314         window tree.
2315         (window-deletable-p): Return 'frame only if no other frame uses
2316         our minibuffer window.
2317         (record-window-buffer): Run buffer-list-update-hook.
2318         (split-window): Make sure window--check-frame won't destroy an
2319         existing atomic window in case the new window gets nested
2320         inside.
2321         (display-buffer-at-bottom): Ignore minibuffer window when
2322         walking window tree.  Don't split a side window.
2323         (pop-to-buffer): Don't set-buffer here, the select-window call
2324         should do that.
2325         (mouse-autoselect-window-select): Autoselect only if we are in the
2326         text portion of the window.
2328 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2330         * net/shr.el (shr-parse-image-data): New function to grab both the
2331         data itself and the Content-Type.
2332         (shr-put-image): Use it.
2334         * net/eww.el (eww-display-image): Ditto.
2336         * image.el (image-content-type-suffixes): New variable.
2338 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2340         * progmodes/python.el (python-imenu--build-tree)
2341         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2343 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
2345         * simple.el (backward-word): Mention the optional argument.
2347 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2349         * frameset.el (frameset--make): Rename constructor from make-frameset.
2350         (frameset-p, frameset-valid-p): Don't autoload.
2351         (frameset-valid-p): Use normal accessors.
2353 2013-08-13  Glenn Morris  <rgm@gnu.org>
2355         * progmodes/compile.el (compile-command): Tweak example in doc.
2356         * obsolete/scribe.el (scribe-mode):
2357         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
2359         * mail/feedmail.el (feedmail-confirm-outgoing)
2360         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2362         * cus-start.el (truncate-partial-width-windows): Fix type.
2364         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2366         * net/shr.el (shr-table-horizontal-line): Fix custom type.
2368 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2370         * emacs-lisp/timer.el (timer--time-setter): New function.
2371         (timer--time): Use it as gv-setter.
2373         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2374         setter is not a symbol.
2376 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
2378         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2379         if sending fails.  This makes debugging easier.
2381 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
2383         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2384         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2385         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2387 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
2389         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2391 2013-08-12  Glenn Morris  <rgm@gnu.org>
2393         * format.el (format-annotate-function):
2394         Handle read-only text properties in the source.  (Bug#14887)
2396 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2398         * net/eww.el (eww-display-html): Ignore coding system errors.
2399         One web site uses "utf-8lias" as the coding system.
2401 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
2403         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2405 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
2407         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2408         (tutorial--detailed-help): Remove unused local variables.
2409         (tutorial--save-tutorial-to): Use ignore-errors.
2410         (help-with-tutorial): Use looking-at-p.
2412         * view.el (view-buffer-other-window, view-buffer-other-frame):
2413         Mark unused arguments.
2415         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2416         (woman-select-symbol-fonts, woman, woman-find-file)
2417         (woman-insert-file-contents, woman-non-underline-faces):
2418         Use string-match-p.
2419         (woman1-unquote): Move declaration.
2421         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2422         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
2423         argument.  Remove unused local variable.
2424         (xml-parse-elem-type): Use string-match-p.
2425         (xml-substitute-numeric-entities): Use ignore-errors.
2427         * calculator.el (calculator): Mark unused argument.
2428         (calculator-paste, calculator-quit, calculator-integer-p):
2429         Use ignore-errors.
2430         (calculator-string-to-number, calculator-decimal, calculator-exp)
2431         (calculator-op-or-exp): Use string-match-p.
2433         * dired.el (dired-buffer-more-recently-used-p): Declare.
2434         (dired-insert-set-properties, dired-insert-old-subdirs):
2435         Use ignore-errors.
2437         * dired-aux.el (dired-compress): Use ignore-errors.
2438         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2439         (dired-do-async-shell-command, dired-do-shell-command)
2440         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2441         (dired-insert-subdir-validate): Use string-match-p.
2442         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2443         (dired-add-entry): Use string-match-p, looking-at-p.
2444         (dired-insert-subdir-newpos): Remove unused local variable.
2446         * filenotify.el (file-notify-callback): Remove unused local variable.
2448         * filesets.el (filesets-error): Mark unused argument.
2449         (filesets-which-command-p, filesets-filter-dir-names)
2450         (filesets-directory-files, filesets-get-external-viewer)
2451         (filesets-ingroup-get-data): Use string-match-p.
2453         * find-file.el (ff-other-file-name, ff-other-file-name)
2454         (ff-find-the-other-file, ff-cc-hh-converter):
2455         Remove unused local variables.
2456         (ff-get-file-name): Use string-match-p.
2457         (ff-all-dirs-under): Use ignore-errors.
2459         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2460         (follow-select-if-visible): Remove unused local variable.
2462         * forms.el (read-file-filter): Move declaration.
2463         (forms--make-format, forms--make-parser, forms-insert-record):
2464         Quote function with #'.
2465         (forms--update): Use string-match-p.  Quote function with #'.
2467         * help-mode.el (help-dir-local-var-def): Mark unused argument.
2468         (help-make-xrefs): Use looking-at-p.
2469         (help-xref-on-pp): Use looking-at-p, ignore-errors.
2471         * ibuffer.el (ibuffer-ext-visible-p): Declare.
2472         (ibuffer-confirm-operation-on): Use string-match-p.
2474         * msb.el (msb-item-handler, msb-dired-item-handler):
2475         Mark unused arguments.
2477         * ses.el (ses-decode-cell-symbol)
2478         (ses-kill-override): Remove unused local variable.
2479         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2480         (ses-load): Use ignore-errors, looking-at-p.
2481         (ses-jump-safe): Use ignore-errors.
2482         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2484         * tabify.el (untabify, tabify): Mark unused arguments.
2486         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2487         Mark unused argument.
2488         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2489         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2491         * emacs-lisp/timer.el (timer--time): Define setter with
2492         gv-define-setter to avoid deprecation warning.
2494         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2495         (*record-cmpl-statistics-p*): Remove (was commented out).
2496         (cmpl-statistics-block): Remove (body was commented out).
2497         All callers changed.
2498         (add-completions-from-buffer, load-completions-from-file):
2499         Remove unused variables.
2501 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
2503         * filecache.el (file-cache-delete-file-list):
2504         Print message only when told so.
2505         (file-cache-files-matching): Use #' in mapconcat argument.
2507         * ffap.el (ffap-url-at-point): Fix reference to variable
2508         thing-at-point-default-mail-uri-scheme.
2510 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2512         * subr.el (define-error): New function.
2513         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2514         error-file-not-found and define with define-error.
2515         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2516         and define with define-error.
2517         * userlock.el (file-locked, file-supersession):
2518         * simple.el (mark-inactive):
2519         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2520         * progmodes/ada-mode.el (ada-mode-errors):
2521         * play/life.el (life-extinct):
2522         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2523         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2524         * nxml/rng-util.el (rng-error):
2525         * nxml/rng-uri.el (rng-uri-error):
2526         * nxml/rng-match.el (rng-compile-error):
2527         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2528         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2529         * nxml/nxml-rap.el (nxml-scan-error):
2530         * nxml/nxml-outln.el (nxml-outline-error):
2531         * net/soap-client.el (soap-error):
2532         * net/gnutls.el (gnutls-error):
2533         * net/ange-ftp.el (ftp-error):
2534         * mpc.el (mpc-proc-error):
2535         * json.el (json-error, json-readtable-error, json-unknown-keyword)
2536         (json-number-format, json-string-escape, json-string-format)
2537         (json-key-format, json-object-format):
2538         * jka-compr.el (compression-error):
2539         * international/quail.el (quail-error):
2540         * international/kkc.el (kkc-error):
2541         * emacs-lisp/ert.el (ert-test-failed):
2542         * calc/calc.el (calc-error, inexact-result, math-overflow)
2543         (math-underflow):
2544         * bookmark.el (bookmark-error-no-filename):
2545         * epg.el (epg-error): Define with define-error.
2547         * time.el (display-time-event-handler)
2548         (display-time-next-load-average): Don't call sit-for since it seems
2549         unnecessary (bug#15045).
2551         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2552         Use #' instead of ' to quote functions.
2553         (checkdoc-output-mode): Use setq-local.
2554         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2555         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2556         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2557         (checkdoc-ispell, checkdoc-ispell-current-buffer)
2558         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2559         (checkdoc-ispell-message-text, checkdoc-ispell-start)
2560         (checkdoc-ispell-continue, checkdoc-ispell-comments)
2561         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2563         * ido.el (ido-completion-help): Fix up compiler warning.
2565 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
2567         * frameset.el (frameset-p): Add autoload cookie.
2568         (frameset--jump-to-register): New function, based on code moved from
2569         register.el.
2570         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
2572         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2573         (frameset-restore, frameset-save, frameset-session-filter-alist):
2574         Remove declarations.
2575         (register-alist): Doc fix.
2576         (frameset-to-register): Move to frameset.el.
2577         (jump-to-register, describe-register-1): Remove frameset-specific code.
2579 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
2581         * allout-widgets.el (allout-widgets-pre-command-business)
2582         (allout-widgets-post-command-business)
2583         (allout-widgets-after-change-handler)
2584         (allout-decorate-item-and-context, allout-set-boundary-marker)
2585         (allout-body-modification-handler)
2586         (allout-graphics-modification-handler): Mark ignored arguments.
2587         (allout-widgets-post-command-business)
2588         (allout-widgets-exposure-change-processor)
2589         (allout-widgets-exposure-undo-processor)
2590         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2591         (allout-parse-item-at-point, allout-decorate-item-guides)
2592         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2593         * allout.el (epa-passphrase-callback-function): Declare.
2594         (allout-overlay-insert-in-front-handler)
2595         (allout-overlay-interior-modification-handler)
2596         (allout-isearch-end-handler, allout-chart-siblings)
2597         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2598         (allout-yank-processing, allout-process-exposed)
2599         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2600         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2601         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2602         (lisp-indent-defform): Mark ignored arguments.
2603         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
2604         (calculate-lisp-indent): Remove unused variables.
2605         * international/characters.el (indian-2-column, arabic-2-column)
2606         (tibetan): Mark ignored arguments.
2607         (use-cjk-char-width-table): Mark ignored arguments.
2608         Remove unused variables.
2609         * international/fontset.el (build-default-fontset-data)
2610         (x-compose-font-name, create-fontset-from-fontset-spec):
2611         Mark ignored arguments.
2612         (fontset-plain-name): Remove unused variables.
2613         * international/mule.el (charset-id, charset-bytes, generic-char-p)
2614         (keyboard-coding-system): Mark ignored arguments.
2615         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
2616         * help.el (resize-temp-buffer-window):
2617         * window.el (display-buffer-in-major-side-window)
2618         (display-buffer-in-side-window, display-buffer-in-previous-window):
2619         Remove unused variables.
2620         * isearch.el (isearch-forward-symbol):
2621         * version.el (emacs-bzr-version-bzr):
2622         * international/mule-cmds.el (current-language-environment):
2623         * term/common-win.el (x-handle-iconic, x-handle-geometry)
2624         (x-handle-display):
2625         * term/pc-win.el (x-list-fonts, x-display-planes)
2626         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2627         (x-server-version, x-display-screens, x-display-mm-height)
2628         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2629         (x-selection-owner-p, x-own-selection-internal)
2630         (x-disown-selection-internal, x-get-selection-internal)
2631         (msdos-initialize-window-system):
2632         * term/tty-colors.el (tty-color-alist, tty-color-clear):
2633         * term/x-win.el (x-handle-no-bitmap-icon):
2634         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2635         (vc-default-find-file-hook, vc-default-extra-menu):
2636         Mark ignored arguments.
2638 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2640         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2641         break-condition in the context of the debugged code (bug#12685).
2643 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
2645         * comint.el:
2646         Do not use an overlay to highlight the last prompt.  (Bug#14744)
2647         (comint-mode): Make comint-last-prompt buffer local.
2648         (comint-last-prompt): New variable.
2649         (comint-last-prompt-overlay): Remove.  Superseded by
2650         comint-last-prompt.
2651         (comint-snapshot-last-prompt, comint-output-filter):
2652         Use comint-last-prompt.
2654 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
2656         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
2657         (frameset-save): Check validity of the resulting frameset.
2659 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
2661         * ido.el (ido-record-command): Add doc string.
2663 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
2665         * frameset.el (frameset): Do not disable creation of the default
2666         frameset-p predicate.  Doc fix.
2667         (frameset-valid-p): New function, copied from the old predicate-p.
2668         Add additional checks.
2669         (frameset-restore): Check with frameset-valid-p.
2670         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2671         (frameset-name, frameset-description, frameset-properties)
2672         (frameset-states): Add docstring.
2673         (frameset-session-filter-alist, frameset-persistent-filter-alist)
2674         (frameset-filter-alist): Doc fixes.
2676 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
2678         * frameset.el (frameset-p, frameset-prop): Doc fixes.
2680 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2683         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2684         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2685         (byte-compile-normal-call): Remove obsolescence check.
2687 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
2689         * frameset.el (frameset-restore): Doc fix.
2691         * register.el (frameset-frame-id, frameset-frame-with-id)
2692         (frameset-p, frameset-restore, frameset-save): Declare.
2693         (register-alist): Document framesets.
2694         (frameset-session-filter-alist): Declare.
2695         (frameset-to-register): New function.
2696         (jump-to-register): Implement jumping to framesets.  Doc fix.
2697         (describe-register-1): Describe framesets.
2699         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2701 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
2703         * desktop.el (desktop-save-frameset): Use new frameset-save args.
2704         Use lexical-binding.
2706         * frameset.el (frameset): Use type vector, not list (incompatible
2707         change).  Do not declare a new constructor, use the default one.
2708         Upgrade suggested properties `app', `name' and `desc' to slots `app',
2709         `name' and `description', respectively, and add read-only slot
2710         `timestamp'.  Doc fixes.
2711         (frameset-copy, frameset-persistent-filter-alist)
2712         (frameset-filter-alist, frameset-switch-to-gui-p)
2713         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2714         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2715         (frameset-filter-iconified, frameset-keep-original-display-p):
2716         Doc fixes.
2717         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2718         Rename from frameset-filter-(save|restore)-param.  All callers changed.
2719         Doc fix.
2720         (frameset-p): Adapt to change to vector and be more thorough.
2721         Change arg name to OBJECT.  Doc fix.
2722         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
2723         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2724         All callers changed.
2725         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2726         All callers changed.
2727         (frameset--record-minibuffer-relationships): Rename from
2728         frameset--process-minibuffer-frames.  All callers changed.
2729         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2730         Use new default constructor (again).  Doc fix.
2731         (frameset--find-frame-if): Rename from `frameset--find-frame.
2732         All callers changed.
2733         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2734         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2735         Doc fix.
2736         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2737         PARAMETERS and WINDOW-STATE, respectively.
2738         (frameset-restore): Add new keyword argument PREDICATE.
2739         Reset frameset--target-display to nil.  Doc fix.
2741 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2744         (bat-mode): Use it.
2745         (bat-mode-syntax-table): Mark \n as end-of-comment.
2746         (bat-font-lock-keywords): Remove comment rule.
2748         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
2749         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
2751         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2752         (byte-compile-callargs-warn): Use `push'.
2753         (byte-compile-arglist-warn): Ignore higher-order "calls".
2754         (byte-compile-file-form-autoload): Use `pcase'.
2755         (byte-compile-function-form): If quoting a symbol, check that it exists.
2757 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
2759         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2760         and add a few popular commands found in batch files.
2761         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2762         (dos-mode): Doc fixes.
2764 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2766         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2767         (dos-mode): Use setq-local.  Add space after "rem".
2768         (dos-mode-syntax-table): Don't use "w" for symbol chars.
2769         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2771 2013-08-07  Arni Magnusson  <arnima@hafro.is>
2773         * progmodes/dos.el: New file.
2774         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2775         dos-mode.
2777 2013-08-06  Glenn Morris  <rgm@gnu.org>
2779         * calendar/calendar.el: Add new faces, and day-header-array.
2780         (calendar-weekday-header, calendar-weekend-header)
2781         (calendar-month-header): New faces.
2782         (calendar-day-header-construct): New function.
2783         (calendar-day-header-width): Also :set calendar-day-header-array.
2784         (calendar-american-month-header, calendar-european-month-header)
2785         (calendar-iso-month-header): Use calendar- faces.
2786         (calendar-generate-month):
2787         Use calendar-day-header-array for day headers; apply faces to them.
2788         (calendar-mode): Check calendar-font-lock-keywords non-nil.
2789         (calendar-abbrev-construct): Add optional maxlen argument.
2790         (calendar-day-name-array): Doc fix.
2791         (calendar-day-name-array, calendar-abbrev-length)
2792         (calendar-day-abbrev-array):
2793         Also :set calendar-day-header-array, and maybe redraw.
2794         (calendar-day-header-array): New option.  (Bug#15007)
2795         (calendar-font-lock-keywords): Set to nil and make obsolete.
2796         (calendar-day-name): Add option to use header array.
2798 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2800         * net/shr.el (shr-render-td): Remove debugging.
2801         (shr-render-td): Make width computation consistent by defaulting
2802         all zero-width columns to 10 characters.  This may not be optimal,
2803         but it's at least consistent.
2804         (shr-make-table-1): Redo last change to fix the real problem in
2805         colspan handling.
2807 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
2809         * files.el (cache-long-line-scans):
2810         Make obsolete alias to `cache-long-scans'.
2812 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
2814         * frameset.el (frameset, frameset-filter-alist)
2815         (frameset-filter-params, frameset-save, frameset--reuse-frame)
2816         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2817         (frameset-compute-pos): Rename from frameset--compute-pos,
2818         and add docstring.
2819         (frameset-move-onscreen): Use frameset-compute-pos.
2820         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2822         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2823         Fix typos in docstrings.
2825 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
2827         * frame.el (get-other-frame): Tiny cleanup.
2829 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
2831         * vc/vc.el (vc-default-ignore-completion-table):
2832         Silence byte-compiler warning.
2834         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2835         slot , which can indeed be nil.
2836         (frameset-live-filter-alist, frameset-persistent-filter-alist):
2837         Move entry for `left' from persistent to live filter alist.
2838         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2839         Doc fixes.
2840         (frameset-filter-params): When restoring a frame, copy items added to
2841         `filtered', to avoid unwittingly modifying the original parameters.
2842         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
2843         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2845         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2846         to use looking-at-p instead of looking-at.  (Bug#15028)
2848 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         Revert introduction of isearch-filter-predicates (bug#14714).
2851         Rely on add-function instead.
2852         * isearch.el (isearch-filter-predicates): Rename it back to
2853         isearch-filter-predicate.
2854         (isearch-message-prefix): Use advice-function-mapc and advice
2855         properties to get the isearch-message-prefix.
2856         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2857         instead of run-hook-with-args-until-failure.
2858         (isearch-filter-visible): Not obsolete any more.
2859         * loadup.el: Preload nadvice.
2860         * replace.el (perform-replace): Revert to funcall
2861         instead of run-hook-with-args-until-failure.
2862         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2863         * dired-aux.el (dired-isearch-filenames-mode): Rename from
2864         dired-isearch-filenames-toggle; make it into a proper minor mode.
2865         Use add/remove-function.
2866         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2867         Call the minor-mode rather than add/remove-hook.
2868         (dired-isearch-filter-filenames):
2869         Remove isearch-message-prefix property.
2870         * info.el (Info--search-loop): New function, extracted from Info-search.
2871         Funcall isearch-filter-predicate instead of
2872         run-hook-with-args-until-failure isearch-filter-predicates.
2873         (Info-search): Use it.
2874         (Info-mode): Use isearch-filter-predicate instead of
2875         isearch-filter-predicates.
2877 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
2879         Do not call to `selected-window' where it is assumed by default.
2880         Affected functions are `window-minibuffer-p', `window-dedicated-p',
2881         `window-hscroll', `window-width', `window-height', `window-buffer',
2882         `window-frame', `window-start', `window-point', `next-window'
2883         and `window-display-table'.
2884         * abbrev.el (abbrev--default-expand):
2885         * bs.el (bs--show-with-configuration):
2886         * buff-menu.el (Buffer-menu-mouse-select):
2887         * calc/calc.el (calc):
2888         * calendar/calendar.el (calendar-generate-window):
2889         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2890         (diary-make-entry):
2891         * comint.el (send-invisible, comint-dynamic-complete-filename)
2892         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2893         * completion.el (complete):
2894         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2895         * disp-table.el (describe-current-display-table):
2896         * doc-view.el (doc-view-insert-image):
2897         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2898         * ehelp.el (with-electric-help):
2899         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2900         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2901         * emacs-lisp/helper.el (Helper-help-scroller):
2902         * emulation/cua-base.el (cua--post-command-handler-1):
2903         * eshell/esh-mode.el (eshell-output-filter):
2904         * ffap.el (ffap-gnus-wrapper):
2905         * help-macro.el (make-help-screen):
2906         * hilit-chg.el (highlight-compare-buffers):
2907         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2908         * hl-line.el (global-hl-line-highlight):
2909         * icomplete.el (icomplete-simple-completing-p):
2910         * isearch.el (isearch-done):
2911         * jit-lock.el (jit-lock-stealth-fontify):
2912         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2913         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2914         * mpc.el (mpc-tagbrowser, mpc):
2915         * net/rcirc.el (rcirc-any-buffer):
2916         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2917         * play/landmark.el (landmark-max-width, landmark-max-height):
2918         * play/zone.el (zone):
2919         * progmodes/compile.el (compilation-goto-locus):
2920         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2921         * progmodes/etags.el (find-tag-other-window):
2922         * progmodes/fortran.el (fortran-column-ruler):
2923         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2924         * progmodes/verilog-mode.el (verilog-point-text):
2925         * reposition.el (reposition-window):
2926         * rot13.el (toggle-rot13-mode):
2927         * server.el (server-switch-buffer):
2928         * shell.el (shell-dynamic-complete-command)
2929         (shell-dynamic-complete-environment-variable):
2930         * simple.el (insert-buffer, set-selective-display)
2931         (delete-completion-window):
2932         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2933         (speedbar-recenter):
2934         * startup.el (fancy-splash-head):
2935         * textmodes/ispell.el (ispell-command-loop):
2936         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2937         * tutorial.el (help-with-tutorial):
2938         * vc/add-log.el (add-change-log-entry):
2939         * vc/compare-w.el (compare-windows):
2940         * vc/ediff-help.el (ediff-indent-help-message):
2941         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2942         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2943         (ediff-setup-control-frame):
2944         * vc/emerge.el (emerge-position-region):
2945         * vc/pcvs-util.el (cvs-bury-buffer):
2946         * window.el (walk-windows, mouse-autoselect-window-select):
2947         * winner.el (winner-set-conf, winner-undo): Related users changed.
2949 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
2951         * frameset.el (frameset--set-id): Doc fix.
2952         (frameset-frame-id, frameset-frame-id-equal-p)
2953         (frameset-locate-frame-id): New functions.
2954         (frameset--process-minibuffer-frames, frameset--reuse-frame)
2955         (frameset-restore): Use them.
2957 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
2959         Do not call to `selected-frame' where it is assumed by default.
2960         Affected functions are `raise-frame', `redraw-frame',
2961         `frame-first-window', `frame-terminal' and `delete-frame'.
2962         * calendar/appt.el (appt-disp-window):
2963         * epg.el (epg-wait-for-completion):
2964         * follow.el (follow-delete-other-windows-and-split)
2965         (follow-avoid-tail-recenter):
2966         * international/mule.el (set-terminal-coding-system):
2967         * mail/rmail.el (rmail-mail-return):
2968         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2969         * progmodes/f90.el (f90-add-imenu-menu):
2970         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2971         * server.el (server-switch-buffer):
2972         * simple.el (delete-completion-window):
2973         * talk.el (talk):
2974         * term/xterm.el (terminal-init-xterm-modify-other-keys)
2975         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2976         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2977         * vc/ediff.el (ediff-documentation): Related users changed.
2978         * frame.el (selected-terminal): Remove the leftover.
2980 2013-08-05  Glenn Morris  <rgm@gnu.org>
2982         * calendar/calendar.el (calendar-generate-month):
2983         Fix for calendar-column-width != 1 + calendar-day-digit-width.
2984         (calendar-generate-month, calendar-font-lock-keywords):
2985         Fix for calendar-day-header-width > length of any day name.
2987 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
2989         * desktop.el (desktop-clear): Use new name of sort predicate.
2991         * frameset.el (frameset): Add docstring.  Move :version property to its
2992         own `version' slot.
2993         (frameset-copy): Rename from copy-frameset.
2994         (frameset-p): Check more thoroughly.
2995         (frameset-prop): Do not check for :version, which is no longer a prop.
2996         (frameset-live-filter-alist, frameset-persistent-filter-alist):
2997         Use new :never value instead of t.
2998         (frameset-filter-alist): Expand and clarify docstring.
2999         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3000         (frameset-filter-minibuffer, frameset-filter-save-param)
3001         (frameset-filter-restore-param, frameset-filter-iconified):
3002         Add pointer to docstring of frameset-filter-alist.
3003         (frameset-filter-params): Rename filter values to be more meaningful:
3004         :never instead of t, and reverse the meanings of :save and :restore.
3005         (frameset--process-minibuffer-frames): Clarify error message.
3006         (frameset-save): Avoid unnecessary and confusing call to framep.
3007         Use new BOA constructor for framesets.
3008         (frameset--reuse-list): Doc fix.
3009         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
3010         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3011         (frameset-minibufferless-first-p): Doc fix.
3012         Rename from frameset-sort-frames-for-deletion.
3013         (frameset-restore): Doc fixes.  Use new function names.
3014         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3016 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3018         * desktop.el (desktop-restore-forces-onscreen)
3019         (desktop-restore-reuses-frames): Document :keyword constant values.
3020         (desktop-filter-parameters-alist): Remove, now identical to
3021         frameset-filter-alist.
3022         (desktop--filter-tty*): Remove, moved to frameset.el.
3023         (desktop-save-frameset, desktop-restore-frameset):
3024         Do not pass :filters argument.
3026         * frameset.el (frameset-live-filter-alist)
3027         (frameset-persistent-filter-alist): New variables.
3028         (frameset-filter-alist): Use them.  Add autoload cookie.
3029         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3030         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3031         `frameset--id' (it's supposed to be internal to frameset.el).
3032         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
3033         (frameset--initial-params): New function.
3034         (frameset--get-frame): Use it.  Doc fix.
3035         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3036         Accept :all, not 'all.
3037         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3038         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
3039         with fbound symbols.  Fix frame id matching, and remove matching ids if
3040         the frame being restored is deleted.  Obey :delete.
3042 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3044         * subr.el (macrop): New function.
3045         (text-clone--maintaining): New var.
3046         (text-clone--maintain): Rename from text-clone-maintain.  Use it
3047         instead of inhibit-modification-hooks.
3049         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3050         a proxy, so as handle autoloads and redefinitions of the target.
3051         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3053         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3054         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
3055         (pcase--mutually-exclusive-p): New function.
3056         (pcase--split-consp): Use it.
3057         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
3058         mutually exclusive with the current predicate.
3060         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3061         (edebug-macrop): Remove.  Use `macrop' instead.
3062         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
3063         (ad-macro-p):
3064         * eshell/esh-cmd.el (eshell-macrop):
3065         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
3067 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3070         (advice-mapc): New function, using it.
3071         (advice-function-member-p): New function.
3072         (advice--normalize): Store the cdr in advice--saved-rewrite since
3073         that's the part that will be changed.
3074         (advice--symbol-function): New function.
3075         (advice-remove): Handle removal before the function is defined.
3076         Adjust to new advice--saved-rewrite.
3077         (advice-member-p): Use advice-function-member-p and
3078         advice--symbol-function.
3080 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3082         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3083         (frameset-filter-minibuffer): Doc fix.
3084         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
3085         (frameset--set-id, frameset--process-minibuffer-frames)
3086         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3087         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3089         * desktop.el (desktop-clear): Only delete frames when called
3090         interactively and desktop-restore-frames is non-nil.  Doc fix.
3091         (desktop-read): Set desktop-saved-frameset to nil.
3093 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
3095         * vc/vc.el (vc-ignore): Rewrite.
3096         (vc-default-ignore-completion-table):
3097         (vc--read-lines):
3098         (vc--add-line, vc--remove-regexp): New functions.
3100         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3101         (vc-svn-ignore-completion-table): New function.
3103         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3104         (vc-hg-ignore-completion-table):
3105         (vc-hg-find-ignore-file): New functions.
3107         * vc/vc-git.el (vc-git-ignore): Rewrite.
3108         (vc-git-ignore-completion-table):
3109         (vc-git-find-ignore-file): New functions.
3111         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3113         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3114         (vc-bzr-ignore-completion-table):
3115         (vc-bzr-find-ignore-file): New functions.
3117 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
3119         * frameset.el (frameset-prop): New function and setter.
3120         (frameset-save): Do not modify frame list passed by the caller.
3122 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3124         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3126 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3128         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3129         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3131         * custom.el (custom-initialize-default, custom-initialize-set)
3132         (custom-initialize-reset, custom-initialize-changed): Affect the
3133         toplevel-default-value (bug#6275, bug#14586).
3134         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3135         for bug#6275.
3137 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3139         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3140         Add cl-def* expressions.
3142         * frameset.el (frameset-filter-params): Fix order of arguments.
3144 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3146         Move code related to saving frames to frameset.el.
3147         * desktop.el: Require frameset.
3148         (desktop-restore-frames): Doc fix.
3149         (desktop-restore-reuses-frames): Rename from
3150         desktop-restoring-reuses-frames.
3151         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3152         (desktop-clear): Clear frames too.
3153         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3154         (desktop--filter-tty*, desktop-save, desktop-read):
3155         Use frameset functions.
3156         (desktop-before-saving-frames-functions, desktop--filter-*-color)
3157         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3158         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3159         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3160         (desktop--process-minibuffer-frames, desktop-save-frames)
3161         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3162         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3163         (desktop--sort-states, desktop-restoring-frames-p)
3164         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
3165         (desktop-restoring-frameset-p, desktop-restore-frameset)
3166         (desktop--check-dont-save, desktop-save-frameset): New functions.
3167         (desktop--app-id): New constant.
3168         (desktop-first-buffer, desktop-buffer-ok-count)
3169         (desktop-buffer-fail-count): Move before first use.
3170         * frameset.el: New file.
3172 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3174         * files.el: Use lexical-binding.
3175         (dir-locals-read-from-file): Remove unused `err' variable.
3176         (hack-dir-local-variables--warned-coding): New var.
3177         (hack-dir-local-variables): Use it to avoid repeated warnings.
3178         (make-backup-file-name--default-function): New function.
3179         (make-backup-file-name-function): Use it as default.
3180         (buffer-stale--default-function): New function.
3181         (buffer-stale-function): Use it as default.
3182         (revert-buffer-insert-file-contents--default-function): New function.
3183         (revert-buffer-insert-file-contents-function): Use it as default.
3184         (insert-directory): Avoid add-to-list.
3186         * autorevert.el (auto-revert-handler): Simplify.
3187         Use buffer-stale--default-function.
3189 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
3191         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3193         * whitespace.el (whitespace-ensure-local-variables): New function.
3194         (whitespace-cleanup-region): Call it.
3195         (whitespace-turn-on): Call it.
3197 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
3199         Complete file name handlers.
3201         * net/tramp.el (tramp-handle-set-visited-file-modtime)
3202         (tramp-handle-verify-visited-file-modtime)
3203         (tramp-handle-file-notify-rm-watch): New functions.
3204         (tramp-call-process): Do not bind `default-directory'.
3206         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3207         Order alphabetically.
3208         [access-file, add-name-to-file, dired-call-process]:
3209         [dired-compress-file, file-acl, file-notify-rm-watch]:
3210         [file-ownership-preserved-p, file-selinux-context]:
3211         [make-directory-internal, make-symbolic-link, set-file-acl]:
3212         [set-file-selinux-context, set-visited-file-modtime]:
3213         [verify-visited-file-modtime]: Add handler.
3214         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3216         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3217         [file-notify-add-watch, file-notify-rm-watch]:
3218         [set-file-times, set-visited-file-modtime]:
3219         [verify-visited-file-modtime]: Add handler.
3220         (with-tramp-gvfs-error-message)
3221         (tramp-gvfs-handle-set-visited-file-modtime)
3222         (tramp-gvfs-fuse-file-name): Remove.
3223         (tramp-gvfs-handle-file-notify-add-watch)
3224         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3225         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3227         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3228         Order alphabetically.
3229         [file-notify-rm-watch ]: Use default Tramp handler.
3230         [executable-find]: Remove private handler.
3231         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3232         `default-directory'.
3233         (tramp-sh-handle-executable-find)
3234         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3235         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3236         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3237         Do not use `format' in `tramp-message'.
3239         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3240         [file-notify-rm-watch, set-visited-file-modtime]:
3241         [verify-visited-file-modtime]: Add handler.
3242         (tramp-smb-call-winexe): Do not bind `default-directory'.
3244 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
3246         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3248 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
3250         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3251         use it.
3252         (log-view-diff-changeset): Same.
3253         (log-view-diff-common): Call backend command `previous-revision'
3254         to find out the previous revision, in both cases.  Swap the
3255         variables `to' and `fr', so that `fr' usually refers to the
3256         earlier revision (Bug#14989).
3258 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
3260         * ibuf-ext.el (ibuffer-filter-by-filename):
3261         Make it work with dired buffers too.
3263 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
3265         * emacs-lisp/re-builder.el (reb-color-display-p):
3266         * files.el (save-buffers-kill-terminal):
3267         * net/browse-url.el (browse-url):
3268         * server.el (server-save-buffers-kill-terminal):
3269         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3270         Prefer nil to selected-frame for the first arg of frame-parameter.
3272 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
3274         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3276 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
3278         * minibuffer.el (completion--twq-all): Try and preserve each
3279         completion's case choice (bug#14907).
3281 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3283         * net/network-stream.el (open-network-stream): Mention the new
3284         :nogreeting parameter.
3285         (network-stream-open-starttls): Use the :nogreeting parameter
3286         (bug#14938).
3288         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3290         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3291         more natural than popping.
3293         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3294         (shr-urlify): Highlight under mouse.
3296 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
3298         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3300         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3302         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
3303         buffer for output.
3305         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
3306         point-min==1.  Fix search string.  Fix parentheses missing.
3308         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
3309         assume point-min==1.  Fix search string.  Fix parentheses missing.
3311         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3313         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
3314         buffer for output.
3316 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
3318         * frame.el (frame-notice-user-settings): Avoid inflooping when the
3319         initial frame is minibuffer-less.  (Bug#14841)
3321 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
3323         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3324         option.
3326         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3327         (tramp-maybe-open-connection): Use it.
3329 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
3331         * desktop.el (desktop--make-frame): Include `minibuffer' in the
3332         minimal set of parameters passed when creating a frame, because
3333         the minibuffer status of a frame cannot be changed later.
3335 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
3337         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3338         replace-regexp-in-string and inadvertent omissions in previous change.
3339         (todo-filter-items): Ensure only file names are comma-separated in
3340         name of filtered items buffer.
3342 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
3344         * desktop.el: Optionally force offscreen frames back onscreen.
3345         (desktop-restoring-reuses-frames): New option.
3346         (desktop--compute-pos, desktop--move-onscreen): New functions.
3347         (desktop--make-frame): Use desktop--move-onscreen.
3349 2013-07-27  Alan Mackenzie  <acm@muc.de>
3351         Fontify a Java generic method as a function.
3352         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3353         value to t.
3355 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
3357         * calendar/todo-mode.el: Add command to rename todo files.
3358         (todo-rename-file): New command.
3359         (todo-key-bindings-t): Add key binding for it.  Change the
3360         bindings of todo-filter-regexp-items(-multifile) to use `x'
3361         instead of `r', since the latter is better suited to the new
3362         renaming command.
3364 2013-07-27  Alan Mackenzie  <acm@muc.de>
3366         Make Java try-with-resources statement parse properly.
3367         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3368         (c-block-stmt-1-2-key): New language constants/variables.
3369         * progmodes/cc-engine.el (c-beginning-of-statement-1)
3370         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3371         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3372         with c-block-stmt-1-2-key.
3374 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
3376         * desktop.el (desktop--make-frame): Apply most frame parameters after
3377         creating the frame to force (partially or totally) offscreen frames to
3378         be restored as such.
3380 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
3382         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3383         (Bug#14948)
3385 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3387         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3388         `base' arg of backtrace-frame.
3390 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
3392         * simple.el (list-processes): Doc fix.
3394 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
3396         * desktop.el (desktop--select-frame):
3397         Try harder to reuse existing frames.
3399 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3401         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3402         (edebug-eval): Use backtrace-eval.
3403         (edebug--display, edebug--recursive-edit): Don't let-bind the
3404         edebug-outer-* vars that keep track of variables we locally let-bind.
3405         (edebug-outside-excursion): Don't restore outside values of locally
3406         let-bound vars.
3407         (edebug--display): Use user-error.
3408         (cl-lexical-debug, cl-debug-env): Remove.
3410 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
3412         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3413         are restored to be sure that they are visible before deleting any
3414         remaining ones.
3416 2013-07-26  Matthias Meulien  <orontee@gmail.com>
3418         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3419         vc-print-root-log.  (Bug#14948)
3421 2013-07-26  Richard Stallman  <rms@gnu.org>
3423         Add aliases for encrypting mail.
3424         * epa.el (epa-mail-aliases): New option.
3425         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3426         Bind inhibit-read-only so read-only text doesn't ruin everything.
3427         (epa-mail-default-recipients): New subroutine broken out.
3428         Handle epa-mail-aliases.
3430 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3432         Add support for lexical variables to the debugger's `e' command.
3433         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3434         vars, except for debugger-outer-match-data.
3435         (debugger-frame-number): Move check for "on a function call" from
3436         callers into it.  Add `skip-base' argument.
3437         (debugger-frame, debugger-frame-clear): Simplify accordingly.
3438         (debugger-env-macro): Only reset the state stored in non-variables,
3439         i.e. current-buffer and match-data.
3440         (debugger-eval-expression): Rewrite using backtrace-eval.
3441         * subr.el (internal--called-interactively-p--get-frame): Remove.
3442         (called-interactively-p):
3443         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3444         `base' arg of backtrace-frame instead.
3446 2013-07-26  Glenn Morris  <rgm@gnu.org>
3448         * align.el (align-regexp): Doc fix.  (Bug#14857)
3449         (align-region): Explicit error if subexpression missing/does not match.
3451         * simple.el (global-visual-line-mode):
3452         Do not duplicate the mode lighter.  (Bug#14858)
3454 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
3456         * window.el (display-buffer): In display-buffer bind
3457         split-window-keep-point to t, bug#14829.
3459 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
3461         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3462         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3463         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3464         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3465         Change accordingly.
3466         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3467         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3469 2013-07-25  Glenn Morris  <rgm@gnu.org>
3471         * dired-x.el (dired-mark-extension): Convert comment to doc string.
3473 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
3475         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3476         parameter to modify-frame-parameters if the value has not changed;
3477         this is a workaround for bug#14949.
3478         (desktop--make-frame): On cl-delete-if call, check parameter name,
3479         not full parameter.
3481 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
3483         * vc/vc.el (vc-ignore): New function.
3485         * vc/vc-svn.el (vc-svn-ignore): New function.
3487         * vc/vc-hg.el (vc-hg-ignore): New function.
3489         * vc/vc-git.el (vc-git-ignore): New function.
3491         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3492         (vc-dir-ignore): New function.
3494         * vc/vc-cvs.el (vc-cvs-ignore): New function.
3495         (cvs-append-to-ignore): Move here from pcvs.el.
3497         * vc/vc-bzr.el (vc-bzr-ignore): New function.
3499         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3501 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
3503         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3504         (desktop-restore-frames): Warn when deleting an existing frame failed.
3506 2013-07-24  Glenn Morris  <rgm@gnu.org>
3508         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
3510 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
3512         * filenotify.el (file-notify-supported-p):
3513         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3514         Remove functions.
3516         * autorevert.el (auto-revert-use-notify):
3517         (auto-revert-notify-add-watch):
3518         * net/tramp.el (tramp-file-name-for-operation):
3519         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3520         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3521         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3522         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3523         Remove `file-notify-supported-p' entry.
3525 2013-07-24  Glenn Morris  <rgm@gnu.org>
3527         * printing.el: Replace all uses of deleted ps-windows-system,
3528         ps-lp-system, ps-flatten-list with lpr- versions.
3530 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3533         checked with memq (bug#14935).
3535         * files.el (revert-buffer-function): Use a non-nil default.
3536         (revert-buffer-preserve-modes): Declare var to
3537         provide access to the `preserve-modes' argument.
3538         (revert-buffer): Let-bind it.
3539         (revert-buffer--default): New function, extracted from revert-buffer.
3541 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3543         * lpr.el: Signal print errors more prominently.
3544         (print-region-function): Don't default to nil.
3545         (lpr-print-region): New function, extracted from print-region-1.
3546         Check lpr's return value and signal an error in case of problem.
3547         (print-region-1): Use it.
3548         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
3549         versions instead.
3550         (ps-printer-name): Default to nil.
3551         (ps-printer-name-option): Default to lpr-printer-switch.
3552         (ps-print-region-function): Don't default to nil.
3553         (ps-postscript-code-directory): Simplify default.
3554         (ps-do-despool): Use lpr-print-region to properly check the outcome.
3555         (ps-string-list, ps-eval-switch, ps-flatten-list)
3556         (ps-flatten-list-1): Remove.
3557         (ps-multibyte-buffer): Avoid setq.
3558         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3559         (print-region-function, ps-print-region-function): Don't set them here.
3561 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
3563         * ido.el (ido-fractionp):
3564         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3565         (ido-max-file-prompt-width, ido-unc-hosts-cache)
3566         (ido-max-directory-size, ido-max-dir-file-cache)
3567         (ido-decorations): Doc fix.
3569         * ansi-color.el: Fix old URL.
3571 2013-07-23  Michael R. Mauger  <michael@mauger.com>
3573         * progmodes/sql.el: Version 3.3
3574         (sql-product-alist): Improve oracle :prompt-cont-regexp.
3575         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3576         (sql-interactive-remove-continuation-prompt): Rewrite, use
3577         functions above.  Fix continuation prompt and complete output line
3578         handling.
3579         (sql-redirect-one, sql-execute): Use `read-only-mode' on
3580         redirected output buffer.
3581         (sql-mode): Restore deleted code (Bug#13591).
3583 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
3585         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3587 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
3589         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3591         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3592         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3593         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3595 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
3597         * desktop.el (desktop-clear): Simplify; remove useless checks
3598         against invalid buffer names.
3599         (desktop-list*): Use cl-list*.
3600         (desktop-buffer-info, desktop-create-buffer): Simplify.
3602 2013-07-23  Leo Liu  <sdl.web@gmail.com>
3604         * bookmark.el (bookmark-make-record): Restore NAME as a default
3605         value.  (Bug#14933)
3607 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3609         * emacs-lisp/autoload.el (autoload--setup-output): New function,
3610         extracted from autoload--insert-text.
3611         (autoload--insert-text): Remove.
3612         (autoload--print-cookie-text): New function, extracted from
3613         autoload--insert-cookie-text.
3614         (autoload--insert-cookie-text): Remove.
3615         (autoload-generate-file-autoloads): Adjust calls accordingly.
3617         * winner.el (winner-hook-installed-p): Remove.
3618         (winner-mode): Simplify accordingly.
3620         * subr.el (add-to-list): Fix compiler-macro when `append' is
3621         not constant.  Don't use `cl-member' for the base case.
3623         * progmodes/subword.el: Fix boundary case (bug#13758).
3624         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
3625         own group.
3626         (subword-backward-regexp): Make it a constant.
3627         (subword-forward-internal): Don't treat a trailing capital as the
3628         beginning of a word.
3630 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
3632         * emacs-lisp/package.el (package-menu-mode): Don't modify the
3633         global value of tabulated-list-revert-hook (bug#14930).
3635 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
3637         * desktop.el: Require 'cl-lib.
3638         (desktop-before-saving-frames-functions): New hook.
3639         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3640         for frames being saved.  Rename from desktop--save-minibuffer-frames.
3641         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3642         Do not save frames with non-nil `desktop-dont-save' parameter.
3643         Filter out deleted frames.
3644         (desktop--find-frame): Use cl-find-if.
3645         (desktop--select-frame): Use cl-(first|second|third) to access values
3646         of desktop-mini.
3647         (desktop--make-frame): Use cl-delete-if.
3648         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3649         (desktop-restore-frames): Use cl-(first|second|third) to access values
3650         of desktop-mini.  Look for visible frame at the end, not while
3651         restoring frames.
3653         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3654         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3655         Use string-match-p, looking-at-p (bug#14927).
3657 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
3659         * desktop.el (desktop-saved-frame-states):
3660         Rename from desktop--saved-states; all users changed.
3661         (desktop-save-frames): Rename from desktop--save-frames.
3662         Do not save state to desktop file.
3663         (desktop-save): Save desktop-saved-frame-states to desktop file
3664         and reset to nil.
3665         (desktop-restoring-frames-p): New function.
3666         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
3667         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
3668         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
3670         * desktop.el: Correctly restore iconified frames.
3671         (desktop--filter-iconified-position): New function.
3672         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3674 2013-07-20  Glenn Morris  <rgm@gnu.org>
3676         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3677         Let `message' do the formatting.
3678         (def-gdb-preempt-display-buffer): Add explicit format.
3680         * image-dired.el (image-dired-track-original-file):
3681         Use with-current-buffer.
3682         (image-dired-track-thumbnail): Use with-current-buffer.
3683         Avoid changing point of wrong window.
3685         * image-dired.el (image-dired-track-original-file):
3686         Avoid changing point of wrong window.  (Bug#14909)
3688 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
3690         * progmodes/gdb-mi.el (gdb-done-or-error):
3691         Guard against "%" in gdb output.  (Bug#14127)
3693 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
3695         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3696         (Bug#14826)
3698         * international/mule.el (coding-system-iso-2022-flags): Fix last
3699         change.
3701 2013-07-20  Kenichi Handa  <handa@gnu.org>
3703         * international/mule.el (coding-system-iso-2022-flags):
3704         Add `8-bit-level-4'.  (Bug#8522)
3706 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3708         * net/shr.el (shr-mouse-browse-url): New command and keystroke
3709         (bug#14815).
3711         * net/eww.el (eww-process-text-input): Allow inputting when the
3712         point is at the start of the line, as the properties aren't
3713         front-sticky.
3715         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3716         degenerate widths.
3718 2013-07-19  Richard Stallman  <rms@gnu.org>
3720         * epa.el (epa-popup-info-window): Doc fix.
3722         * subr.el (split-string): New arg TRIM.
3724 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
3726         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3727         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3729 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
3731         * filenotify.el (file-notify--library): Rename from
3732         `file-notify-support'.  Do not autoload.  Adapt all uses.
3733         (file-notify-supported-p): New defun.
3735         * autorevert.el (auto-revert-use-notify):
3736         Use `file-notify-supported-p' instead of `file-notify-support'.
3737         Adapt docstring.
3738         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3740         * net/tramp.el (tramp-file-name-for-operation):
3741         Add `file-notify-supported-p'.
3743         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3744         New defun.
3745         (tramp-sh-file-name-handler-alist): Add it as handler for
3746         `file-notify-supported-p '.
3748         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3749         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3750         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3751         Add `ignore' as handler for `file-notify-*' functions.
3753 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
3755         * simple.el (line-move-partial, line-move): Don't start vscroll or
3756         scroll-up if the current line is not taller than the window.
3757         (Bug#14881)
3759 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
3761         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3762         highlight question marks in the method names as strings.
3763         (ruby-block-beg-keywords): Inline.
3764         (ruby-font-lock-keyword-beg-re): Extract from
3765         `ruby-font-lock-keywords'.
3767 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
3769         * frame.el (blink-cursor-blinks): New defcustom.
3770         (blink-cursor-blinks-done): New defvar.
3771         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3772         (blink-cursor-timer-function): Check if number of blinks has been
3773         done on X and NS.
3774         (blink-cursor-suspend, blink-cursor-check): New defuns.
3776 2013-07-15  Glenn Morris  <rgm@gnu.org>
3778         * edmacro.el (edmacro-format-keys): Fix previous change.
3780 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
3782         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3783         The hack didn't work outside English locales anyway.
3785 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
3787         * simple.el (define-alternatives): Rename from alternatives-define,
3788         per RMS' suggestion.
3790 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
3792         * desktop.el (desktop-restore-frames): Change default to t.
3793         (desktop-restore-in-current-display): Now offer more options.
3794         (desktop-restoring-reuses-frames): New customization option.
3795         (desktop--saved-states): Doc fix.
3796         (desktop-filter-parameters-alist): New variable, renamed and expanded
3797         from desktop--excluded-frame-parameters.
3798         (desktop--target-display): New variable.
3799         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3800         (desktop--filter-tty*, desktop--filter-*-color)
3801         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3802         (desktop--filter-save-desktop-parm)
3803         (desktop-restore-in-original-display-p): New functions.
3804         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3805         (desktop--save-minibuffer-frames): New function, inspired by a similar
3806         function from Martin Rudalics.
3807         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3808         (desktop--restore-in-this-display-p): Remove.
3809         (desktop--find-frame): Rename from desktop--find-frame-in-display
3810         and add predicate argument.
3811         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3812         (desktop--reuse-list): New variable.
3813         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3814         New functions.
3815         (desktop--restore-frames): Add support for "minibuffer-special" frames.
3817 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
3819         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3821 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
3823         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3824         Highlight conversion methods on Kernel.
3826 2013-07-13  Alan Mackenzie  <acm@muc.de>
3828         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3829         and comment it out.  This out-commenting enables certain C++
3830         declarations to be parsed correctly.
3832 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
3834         * international/mule.el (define-coding-system): Doc fix.
3836         * simple.el (default-font-height): Don't call font-info if the
3837         frame's default font didn't change since the frame was created.
3838         (Bug#14838)
3840 2013-07-13  Leo Liu  <sdl.web@gmail.com>
3842         * ido.el (ido-read-file-name): Guard against non-symbol value.
3844 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3846         * progmodes/python.el (python-imenu--build-tree): Fix corner case
3847         in nested defuns.
3849 2013-07-13  Leo Liu  <sdl.web@gmail.com>
3851         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3852         ido-set-matches call.  (Bug#6852)
3854 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
3856         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3857         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3858         Ruby 2.0.
3859         (ruby-font-lock-keywords): Distinguish calls to functions with
3860         module-like names from module references.  Highlight character
3861         literals.
3863 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
3865         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3866         (gdb-send): Handle continued commands.  (Bug#14847)
3868 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
3870         * desktop.el (desktop--v2s): Remove unused local variable.
3871         (desktop-save-buffer): Make defvar-local; adjust docstring.
3872         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3873         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3875 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3877         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3879 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
3881         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3882         (Bug#14842)
3884 2013-07-12  Glenn Morris  <rgm@gnu.org>
3886         * doc-view.el: Require cl-lib at runtime too.
3887         (doc-view-remove-if): Remove.
3888         (doc-view-search-next-match, doc-view-search-previous-match):
3889         Use cl-remove-if.
3891         * edmacro.el: Require cl-lib at runtime too.
3892         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3893         (edmacro-mismatch, edmacro-subseq): Remove.
3895         * shadowfile.el: Require cl-lib.
3896         (shadow-remove-if): Remove.
3897         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3898         Use cl-remove-if.
3900         * wid-edit.el: Require cl-lib.
3901         (widget-choose): Use cl-remove-if.
3902         (widget-remove-if): Remove.
3904         * progmodes/ebrowse.el: Require cl-lib at runtime too.
3905         (ebrowse-delete-if-not): Remove.
3906         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3907         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3908         Use cl-delete-if-not.
3910 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
3912         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3913         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3915 2013-07-12  Leo Liu  <sdl.web@gmail.com>
3917         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
3919 2013-07-11  Glenn Morris  <rgm@gnu.org>
3921         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3922         (edebug-gensym-index, edebug-gensym):
3923         Remove reimplementation of cl-gensym.
3924         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3926         * thumbs.el: Require cl-lib at run-time too.
3927         (thumbs-gensym-counter, thumbs-gensym):
3928         Remove reimplementation of cl-gensym.
3929         (thumbs-temp-file): Use cl-gensym.
3931         * emacs-lisp/ert.el: Require cl-lib at runtime too.
3932         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3933         (ert--intersection, ert--set-difference, ert--set-difference-eq)
3934         (ert--union, ert--gensym-counter, ert--gensym-counter)
3935         (ert--coerce-to-vector, ert--remove*, ert--string-position)
3936         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3937         (ert-make-test-unbound, ert--expand-should-1)
3938         (ert--expand-should, ert--should-error-handle-error)
3939         (should-error, ert--explain-equal-rec)
3940         (ert--plist-difference-explanation, ert-select-tests)
3941         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3942         Use cl-lib functions rather than reimplementations.
3944 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
3946         * net/tramp.el (tramp-methods): Extend docstring.
3947         (tramp-connection-timeout): New defcustom.
3948         (tramp-error-with-buffer): Reset timestamp only when appropriate.
3949         (with-tramp-progress-reporter): Simplify.
3950         (tramp-process-actions): Improve messages.
3952         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3953         * net/tramp-sh.el (tramp-maybe-open-connection):
3954         Use `tramp-connection-timeout'.
3955         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3956         (Bug#14808)
3958 2013-07-11  Leo Liu  <sdl.web@gmail.com>
3960         * ido.el (ido-read-file-name): Conform to the requirements of
3961         read-file-name.  (Bug#11861)
3962         (ido-read-directory-name): Conform to the requirements of
3963         read-directory-name.
3965 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
3967         * subr.el (delay-warning): New function.
3969 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
3971         * simple.el (default-line-height): New function.
3972         (line-move-partial, line-move): Use it instead of computing the
3973         line height inline.
3974         (line-move-partial): Always compute ROWH.  If the last line is
3975         partially-visible, but its text is completely visible, allow
3976         cursor to enter such a partially-visible line.
3978 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
3980         Improve error messages.  (Bug#14808)
3982         * net/tramp.el (tramp-current-connection): New defvar, moved from
3983         tramp-sh.el.
3984         (tramp-message-show-progress-reporter-message): Remove, not
3985         needed anymore.
3986         (tramp-error-with-buffer): Show message in minibuffer.
3987         Discard input before waiting.  Reset connection timestamp.
3988         (with-tramp-progress-reporter): Improve messages.
3989         (tramp-process-actions): Use progress reporter.  Delete process in
3990         case of error.  Improve messages.
3992         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3993         Call `tramp-error-with-buffer' with vector and buffer.
3994         (tramp-current-connection): Remove.
3995         (tramp-maybe-open-connection): The car of
3996         `tramp-current-connection' are the first 3 slots of the vector.
3998 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
4000         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4001         inside continued strings.
4003 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
4005         Timestamp fixes for undo (Bug#14824).
4006         * files.el (clear-visited-file-modtime): Move here from fileio.c.
4008 2013-07-10  Leo Liu  <sdl.web@gmail.com>
4010         * files.el (require-final-newline): Allow safe local value.
4011         (Bug#14834)
4013 2013-07-09  Leo Liu  <sdl.web@gmail.com>
4015         * ido.el (ido-read-directory-name): Handle fallback.
4016         (ido-read-file-name): Update DIR to ido-current-directory.
4017         (Bug#1516)
4018         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
4020 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
4022         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4023         "autoload".  Remove "warn lower camel case" section, previously
4024         commented out.  Highlight negation char.  Do not highlight the
4025         target in singleton method definitions.
4027 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4029         * faces.el (tty-setup-hook): Declare the hook.
4031         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4032         and detect when a guard/pred depends on local vars (bug#14773).
4033         (pcase--u1): Adjust caller.
4035 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
4037         * simple.el (line-move-partial, line-move): Account for
4038         line-spacing.
4039         (line-move-partial): Avoid setting vscroll when the last
4040         partially-visible line in window is of default height.
4042 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4044         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4045         been used a while.
4047 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
4049         * subr.el (read-quoted-char): Remove unused local variable `char'.
4051 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
4053         * ediff.el (ediff-version): Version update.
4054         (ediff-files-command, ediff3-files-command, ediff-merge-command)
4055         (ediff-merge-with-ancestor-command, ediff-directories-command)
4056         (ediff-directories3-command, ediff-merge-directories-command)
4057         (ediff-merge-directories-with-ancestor-command): New functions.
4058         All are command-line interfaces to ediff: to facilitate calling
4059         Emacs with the appropriate ediff functions invoked.
4061         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4062         (viper-save-kill-buffer): Check if buffer is modified.
4064         * viper.el (viper-version): Version update.
4065         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4067 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4069         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4070         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4071         (viper-intercept-ESC-key): Simplify.
4072         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4073         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4074         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4075         (viper-setup-ESC-to-escape): New functions.
4076         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4077         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
4079 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
4081         * simple.el (default-font-height, window-screen-lines):
4082         New functions.
4083         (line-move, line-move-partial): Use them instead of
4084         frame-char-height and window-text-height.  This makes scrolling
4085         text smoother when the buffer's default face uses a font that is
4086         different from the frame's default font.
4088 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
4090         * files.el (write-file): Do not display confirm dialog for NS,
4091         it does its own dialog, which can't be cancelled (Bug#14578).
4093 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
4095         * simple.el (line-move-partial): Adjust the row returned by
4096         posn-at-point for the current window-vscroll.  (Bug#14567)
4098 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
4100         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4101         (tramp-sh-file-inotifywait-process-filter): Handle file names with
4102         spaces.
4104 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
4106         * window.el (window-state-put-stale-windows): New variable.
4107         (window--state-put-2): Save list of windows without matching buffer.
4108         (window-state-put): Remove "bufferless" windows if possible.
4110 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4112         * simple.el (alternatives-define): Remove leftover :group keyword.
4113         Tweak docstring.
4115 2013-07-06  Leo Liu  <sdl.web@gmail.com>
4117         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4118         (ido-enable-virtual-buffers): New variable.
4119         (ido-buffer-internal, ido-toggle-virtual-buffers)
4120         (ido-make-buffer-list): Use it.
4121         (ido-exhibit): Support turning on and off virtual buffers
4122         automatically.
4124 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4126         * simple.el (alternatives-define): New macro.
4128 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4130         * subr.el (read-quoted-char): Use read-key.
4131         (sit-for): Let read-event decode tty input (bug#14782).
4133 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
4135         * calendar/todo-mode.el: Add handling of file deletion, both by
4136         mode command and externally.  Fix various related bugs.
4137         Clarify Commentary and improve some documentation strings and code.
4138         (todo-delete-file): New command.
4139         (todo-check-file): New function.
4140         (todo-show): Handle external deletion of the file we're trying to
4141         show (bug#14688).  Replace called-interactively-p by an optional
4142         prefix argument to avoid problematic interaction with catch form
4143         when byte compiled (bug#14702).
4144         (todo-quit): Handle external deletion of the archive's todo file.
4145         Make sure the buffer that was visiting the archive file is still
4146         live before trying to bury it.
4147         (todo-category-completions): Handle external deletion of any
4148         category completion files.
4149         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4150         of todo files, in case of external deletion.
4151         (todo-add-file): Replace unnecessary setq by let-binding.
4152         (todo-find-archive): Check whether there are any archives.
4153         Replace unnecessary setq by let-binding.
4154         (todo-archive-done-item): Use find-file-noselect to get the
4155         archive buffer whether or not the archive already exists.
4156         Remove superfluous code.  Use file size instead of buffer-file-name to
4157         check if the archive is new; if it is, update list of archives.
4158         (todo-default-todo-file): Allow nil to be a valid value for when
4159         there are no todo files.
4160         (todo-reevaluate-default-file-defcustom): Use corrected definition
4161         of todo-default-todo-file.
4162         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4163         (todo-delete-category, todo-show-categories-table)
4164         (todo-category-number): Clarify comment.
4165         (todo-filter-items): Clarify documentation string.
4166         (todo-show-current-file, todo-display-as-todo-file)
4167         (todo-reset-and-enable-done-separator): Tweak documentation string.
4168         (todo-done-separator): Make separator length window-width, since
4169         bug#2749 is now fixed.
4171 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
4173         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4174         Support both "gvfs-monitor-dir" and "inotifywait".
4175         (tramp-sh-file-inotifywait-process-filter): Rename from
4176         `tramp-sh-file-notify-process-filter'.
4177         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4178         (tramp-get-remote-gvfs-monitor-dir): New defuns.
4180 2013-07-05  Leo Liu  <sdl.web@gmail.com>
4182         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4184 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4186         * frame.el (display-pixel-height, display-pixel-width)
4187         (display-mm-height, display-mm-width): Mention behavior on
4188         multi-monitor setups in docstrings.
4189         (w32-display-monitor-attributes-list): Declare function.
4190         (display-monitor-attributes-list): Use it.
4192 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
4194         * filenotify.el: New package.
4196         * autorevert.el (top): Require filenotify.el.
4197         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
4198         instead.
4199         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4200         (auto-revert-notify-handler): Use `file-notify-*' functions.
4202         * subr.el (file-notify-handle-event): Move function to filenotify.el.
4204         * net/tramp.el (tramp-file-name-for-operation):
4205         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4207         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4208         for `file-notify-add-watch' and `file-notify-rm-watch'.
4209         (tramp-process-sentinel): Improve trace.
4210         (tramp-sh-handle-file-notify-add-watch)
4211         (tramp-sh-file-notify-process-filter)
4212         (tramp-sh-handle-file-notify-rm-watch)
4213         (tramp-get-remote-inotifywait): New defuns.
4215 2013-07-03  Juri Linkov  <juri@jurta.org>
4217         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4218         call of `occur-read-primary-args' to interactive spec.
4220         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4221         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
4223 2013-07-03  Matthias Meulien  <orontee@gmail.com>
4225         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4226         `Buffer-menu-multi-occur'.  Add it to the menu.
4227         (Buffer-menu-mode): Document it in docstring.
4228         (Buffer-menu-multi-occur): New command.  (Bug#14673)
4230 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
4232         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4233         keywords and built-ins.
4235 2013-07-03  Glenn Morris  <rgm@gnu.org>
4237         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
4239         Make info-xref checks case-sensitive by default
4240         * info.el (Info-find-node, Info-find-in-tag-table)
4241         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4242         Add option for exact case matching of nodes.
4243         * info-xref.el (info-xref): New custom group.
4244         (info-xref-case-fold): New option.
4245         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4247 2013-07-03  Leo Liu  <sdl.web@gmail.com>
4249         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4251 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
4253         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4254         middle of block statement initially, lower the depth.  Remove
4255         FIXME comment, not longer valid.  Remove middle of block statement
4256         detection, no need to do that anymore since we've been using
4257         `ruby-parse-region' here.
4259 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
4261         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4263 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4265         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4267 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
4269         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4270         (desktop-restore-in-current-display): New customization option.
4271         (desktop--excluded-frame-parameters): Add `font'.
4272         (desktop--save-frames): Rename from desktop--save-windows.
4273         (desktop--restore-in-this-display-p): New function.
4274         (desktop--make-full-frame): Remove unwanted width/height from
4275         full(width|height) frames.
4276         (desktop--restore-frames): Rename from desktop--restore-windows.
4277         Obey desktop-restore-current-display.  Do not delete old frames or
4278         select a new frame unless we were able to restore at least one frame.
4280 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
4282         * files.el (find-file-noselect): Simplify conditional expression.
4284         * remember.el (remember-append-to-file):
4285         Don't mix `find-buffer-visiting' and `get-file-buffer'.
4287         Add `remember-notes' function to store random notes across Emacs
4288         restarts.
4289         * remember.el (remember-data-file): Add :set callback to affect
4290         notes buffer (if any).
4291         (remember-notes): New command.
4292         (remember-notes-buffer-name, bury-remember-notes-on-kill):
4293         New defcustoms for the `remember-notes' function.
4294         (remember-notes-save-and-bury-buffer): New command.
4295         (remember-notes-mode-map): New variable.
4296         (remember-mode): New minor mode.
4297         (remember-notes--kill-buffer-query): New function.
4298         * startup.el (initial-buffer-choice): Add notes to custom type.
4300 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
4302         * bindings.el (right-char, left-char): Don't call sit-for, this is
4303         no longer needed.  Use arithmetic comparison only for numerical
4304         arguments.
4306         * international/mule-cmds.el (select-safe-coding-system):
4307         Handle the case of FROM being a string correctly.  (Bug#14755)
4309 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4311         * net/shr.el (shr-make-table-1): Add a sanity check that allows
4312         progression on degenerate tables.
4313         (shr-rescale-image): ImageMagick animated images currently don't work.
4315 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
4317         Some fixes and improvements for desktop frame restoration.
4318         It is still experimental and disabled by default.
4319         * desktop.el (desktop--save-windows): Put the selected frame at
4320         the head of the list.
4321         (desktop--make-full-frame): New function.
4322         (desktop--restore-windows): Try to re-select the frame that was
4323         selected upon saving.  Do not abort if some frames fail to restore,
4324         just show an error message and continue.  Set up maximized frames
4325         so they have default non-maximized dimensions.
4327 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4329         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4330         Don't start heredoc inside a string or comment.
4332 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
4334         * bindings.el (visual-order-cursor-movement): New defcustom.
4335         (right-char, left-char): Provide visual-order cursor motion by
4336         calling move-point-visually.  Update the doc strings.
4338 2013-06-28  Kenichi Handa  <handa@gnu.org>
4340         * international/mule.el (define-coding-system): New coding system
4341         properties :inhibit-null-byte-detection,
4342         :inhibit-iso-escape-detection, and :prefer-utf-8.
4343         (set-buffer-file-coding-system): If :charset-list property of
4344         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4345         appropriate for setting.
4347         * international/mule-cmds.el (select-safe-coding-system):
4348         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4349         multibyte characters, return utf-8 (or one of its siblings).
4351         * international/mule-conf.el (prefer-utf-8): New coding system.
4352         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4353         files.
4355 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
4357         * net/shr.el (shr-render-region): New function.
4359         * net/eww.el: Autoload `eww-browse-url'.
4361 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
4363         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4364         Adapt to `package-desc-version' being a list.
4365         Use `package--ac-desc-version' to retrieve version from a package
4366         archive element.
4368 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
4370         New experimental feature to save&restore window and frame setup.
4371         * desktop.el (desktop-save-windows): New defcustom.
4372         (desktop--saved-states): New var.
4373         (desktop--excluded-frame-parameters): New defconst.
4374         (desktop--filter-frame-parms, desktop--find-frame-in-display)
4375         (desktop--restore-windows, desktop--save-windows): New functions.
4376         (desktop-save): Call `desktop--save-windows'.
4377         (desktop-read): Call `desktop--restore-windows'.
4379 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4381         * net/shr.el (add-face-text-property): Remove compat definition.
4383 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
4385         * info.el (Info-try-follow-nearest-node): Move search for footnote
4386         above search for node name to prevent missing a footnote (bug#14717).
4388 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
4390         * obsolete/otodo-mode.el: Add obsolescence info to file header.
4392 2013-06-27  Leo Liu  <sdl.web@gmail.com>
4394         * net/eww.el (eww-read-bookmarks): Check file size.
4396 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4398         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4399         advice--pending if newdef is nil or an autoload (bug#13820).
4400         (advice-mapc): New function.
4402 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4404         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4405         probably.
4406         (eww-mode-map): Add a menu bar.
4407         (eww-add-bookmark): New command.
4408         (eww-bookmark-mode): New mode and commands.
4409         (eww-add-bookmark): Remove newlines from the title.
4410         (eww-bookmark-browse): Don't bug out if it's the only window.
4412 2013-06-26  Glenn Morris  <rgm@gnu.org>
4414         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4415         (hfy-size): Handle ttys.  (Bug#14668)
4417         * info-xref.el: Update for Texinfo 5 change in *note format.
4418         (info-xref-node-re, info-xref-note-re): New constants.
4419         (info-xref-check-buffer): Use info-xref-note-re.
4421 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4423         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4425         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4426         nil terminate the loop (bug#14718).
4428 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4430         * net/eww.el: Rework history traversal.  When going forward/back,
4431         put these actions into the history, too, so that they can be
4432         replayed.
4433         (eww-render): Move the history reset to the correct buffer.
4435 2013-06-25  Juri Linkov  <juri@jurta.org>
4437         * files-x.el (modify-dir-local-variable): Change the header comment
4438         in the file with directory local variables.  (Bug#14692)
4440         * files-x.el (read-file-local-variable-value): Add `default'.
4441         (Bug#14710)
4443 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4445         * net/eww.el (eww-make-unique-file-name): Create a unique file
4446         name before saving to entering `y' accidentally asynchronously.
4448 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
4450         * net/eww.el (eww-download): New command and keystroke.
4452 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4454         * net/eww.el (eww-copy-page-url): Change name of command.
4456         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4457         be more consistent with Info and dired.
4459         * net/eww.el (eww-mode-map): Ditto.
4461 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4463         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
4464         packages from archives.
4465         (package-archive-contents): Change format; include obsolete packages.
4466         (package-desc): Use `dir' to mark builtin packages.
4467         (package--from-builtin): Set the `dir' field to `builtin'.
4468         (generated-autoload-file, version-control): Declare.
4469         (package-compute-transaction): Change first arg and return value to be
4470         lists of package-descs.  Adjust to new package-archive-contents format.
4471         (package--add-to-archive-contents): Adjust to new
4472         package-archive-contents format.
4473         (package-download-transaction): Arg is now a list of package-descs.
4474         (package-install): If `pkg' is a package name, pass it as
4475         a requirement, so it is subject to the usual (e.g. disabled) checks.
4476         (describe-package): Accept package-desc as well.
4477         (describe-package-1): Describe a specific package-desc.  Add links to
4478         other package-descs for the same package name.
4479         (package-menu-describe-package): Pass the actual package-desc.
4480         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4481         works correctly.
4482         (package-desc-status): New function.
4483         (package-menu--refresh): New function, extracted
4484         from package-menu--generate.
4485         (package-menu--generate): Use it.
4486         (package-delete): Update package-alist.
4487         (package-menu-execute): Don't call package-initialize.
4489         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4490         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4491         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4492         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4493         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4494         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4496 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
4498         * window.el (window--state-get-1): Workaround for bug#14527.
4499         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4501 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4503         * net/eww.el (eww-back-url): Implement the history by stashing all
4504         the data into a list.
4505         (eww-forward-url): Allow going forward in the history, too.
4507 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4509         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4510         for values and use read--expression for expressions (bug#14710).
4511         (read-file-local-variable): Avoid setq.
4512         (read-file-local-variable-mode): Use minor-mode-list.
4514 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4516         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4517         for DOI URLs.
4519 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4521         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4522         Update imenu-support when dialect changes.
4524 2013-06-25  Leo Liu  <sdl.web@gmail.com>
4526         * ido.el (ido-read-internal): Allow forward slash on windows.
4528 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4530         * net/eww.el (eww): Start of strings is \\`, not ^.
4532 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
4534         * net/shr.el (shr-browse-url): Fix interactive spec.
4536         * net/eww.el (eww): Add a trailing slash to domain names.
4538 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
4540         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4542 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4544         * net/shr.el (shr-browse-url): Use an external browser if given a
4545         prefix.
4547         * net/eww.el (eww-external-browser): Move to shr.
4549 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
4551         * net/eww.el (eww): Work more correctly for file: URLs.
4552         (eww-detect-charset): Allow quoted charsets.
4553         (eww-yank-page-url): New command and keystroke.
4555 2013-06-24  Daiki Ueno  <ueno@gnu.org>
4557         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4558         file name of gpg executable.
4559         (epg-context-program): New function.
4560         (epg-context-home-directory): New function.
4561         (epg-context-set-program): New function.
4562         (epg-context-set-home-directory): New function.
4563         (epg--start): Use `epg-context-program' instead of
4564         'epg-gpg-program'.
4565         (epg--list-keys-1): Likewise.
4567 2013-06-24  Leo Liu  <sdl.web@gmail.com>
4569         * ido.el (ido-read-internal): Fix bug#14620.
4571 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
4573         * faces.el (face-documentation): Simplify.
4574         (read-face-attribute, tty-find-type, x-resolve-font-name):
4575         Use `string-match-p'.
4576         (list-faces-display): Use `string-match-p'.  Simplify.
4577         (face-spec-recalc): Check face to avoid face alias loops.
4578         (read-color): Use `string-match-p' and non-capturing parenthesis.
4580 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4582         * net/shr.el (shr-rescale-image): Use the new
4583         :max-width/:max-height functionality.
4585 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
4587         * net/eww.el (eww-search-prefix): New variable.
4588         (eww): Use it.
4589         (eww-external-browser): New variable.
4590         (eww-mode-map): New keystroke.
4591         (eww-browse-with-external-browser): New command.
4593         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4595 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
4597         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4598         Don't skip aligning the next header field when padding is 0;
4599         otherwise, field width is not respected unless the title is as
4600         wide as the field.
4602 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4604         * emacs-lisp/package.el (package-el-version): Remove.
4605         (package-process-define-package): Fix inf-loop.
4606         (package-install): Allow symbols as arguments again.
4608 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
4610         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4611         add some more keyword-like methods.
4612         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4614 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
4616         * bs.el (bs-buffer-show-mark): Make defvar-local.
4617         (bs-mode): Use setq-local.
4619         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4620         (emacs-lock--try-unlocking): Make defvar-local.
4622 2013-06-22  Glenn Morris  <rgm@gnu.org>
4624         * play/cookie1.el (cookie-apropos): Minor simplification.
4626         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4628 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
4630         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4631         `regexp-opt', it breaks the build during dumping.
4633 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
4635         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4636         Highlight keyword-like methods on Kernel and Module with
4637         font-lock-builtin-face.
4638         (auto-mode-alist): Consolidate different entries into one regexp
4639         and add more *file-s.
4641 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
4643         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4645         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4646         (diary-entry): Use it in the action of this button type instead of
4647         diary-goto-entry.
4649         * calendar/todo-mode.el: New version.
4650         (todo-add-category): Append new category to end of file and give
4651         it the highest number, instead of putting it at the beginning and
4652         giving it 0.  Incorporate noninteractive functionality.
4653         (todo-forward-category): Adapt to 1-based category numbering.
4654         Allow skipping over archived categories.
4655         (todo-backward-category): Derive from todo-forward-category.
4656         (todo-backward-item, todo-forward-item): Make noninteractive and
4657         delegate interactive part to new commands.  Make sensitive to done items.
4658         (todo-categories): Make value an alist of category names and
4659         vectors of item counts.
4660         (todo-category-beg): Make a defconst.
4661         (todo-category-number): Use 1 instead of 0 as initial value.
4662         (todo-category-select): Make sensitive to overlays, optional item
4663         highlighting and done items.
4664         (todo-delete-item): Make sensitive to overlays and marked and done items.
4665         (todo-edit-item): Make sensitive to overlays and editing of
4666         date/time header optional.  Add format checks.
4667         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
4668         no-op if point is not on an item.  Advertise using todo-edit-quit.
4669         (todo-edit-mode): Make sensitive to new format, font-locking, and
4670         multiple todo files.
4671         (todo-insert-item, todo-insert-item-here): Derive from
4672         todo-basic-insert-item and extend functionality.
4673         (todo-item-end, todo-item-start): Make sensitive to done items.
4674         (todo-item-string): Don't return text properties.  Restore point.
4675         (todo-jump-to-category): Make sensitive to multiple todo files and
4676         todo archives.  Use extended category completion.
4677         (todo-lower-item, todo-raise-item): Rename to *-priority and
4678         derive from todo-set-item-priority.
4679         (todo-mode): Derive from special-mode.  Make sensitive to new
4680         format, font-locking and multiple todo files.  Make read-only.
4681         (todo-mode-map): Don't suppress digit keys, so they can supply
4682         prefix arguments.  Add many new key bindings.
4683         (todo-prefix): Insert as an overlay instead of file text.
4684         Change semantics from diary date expression to purely visual mark.
4685         (todo-print): Rename to todo-print-buffer.  Make buffer display
4686         features printable.  Remove option to restrict number of items
4687         printed.  Add option to print to file.
4688         (todo-print-function): Rename to todo-print-buffer-function.
4689         (todo-quit): Extend to handle exiting new todo modes.
4690         (todo-remove-item): Make sensitive to overlays.
4691         (todo-save): Extend to buffers of filtered items.
4692         (todo-show): Make sensitive to done items, multiple todo files and
4693         new todo modes.  Offer to convert legacy todo file before creating
4694         first new todo file.
4695         (todo-show-priorities): Rename to todo-top-priorities.
4696         Change semantics of value 0.
4697         (todo-top-priorities): Rename to todo-filter-top-priorities,
4698         derive from todo-filter-items and extend functionality.
4699         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4700         and extend functionality to other types of filtered items.
4701         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4702         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4703         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4704         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4705         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4706         (todo-edit-mode-hook, todo-entry-prefix-function)
4707         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4708         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4709         (todo-initials, todo-insert-threshold, todo-item-string-start)
4710         (todo-line-string, todo-menu, todo-mode-hook)
4711         (todo-more-important-p, todo-previous-answer, todo-previous-line)
4712         (todo-print-priorities, todo-remove-separator)
4713         (todo-save-top-priorities-too, todo-string-count-lines)
4714         (todo-string-multiline-p, todo-time-string-format)
4715         (todo-tmp-buffer-name): Remove.
4716         (todo-add-file, todo-archive-done-item, todo-choose-archive)
4717         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4718         (todo-edit-category-diary-inclusion)
4719         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4720         (todo-edit-file, todo-edit-item-date-day)
4721         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4722         (todo-edit-item-date-month, todo-edit-item-date-to-today)
4723         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4724         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4725         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4726         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4727         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4728         (todo-filter-top-priorities-multifile, todo-find-archive)
4729         (todo-find-filtered-items-file, todo-go-to-source-item)
4730         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4731         (todo-jump-to-archive-category, todo-lower-category)
4732         (todo-mark-category, todo-marked-item-p, todo-merge-category)
4733         (todo-move-category, todo-move-item, todo-next-button)
4734         (todo-next-item, todo-padded-string, todo-powerset)
4735         (todo-previous-button, todo-previous-item)
4736         (todo-print-buffer-to-file, todo-raise-category)
4737         (todo-rename-category, todo-repair-categories-sexp, todo-search)
4738         (todo-set-category-number, todo-set-item-priority)
4739         (todo-set-top-priorities-in-category)
4740         (todo-set-top-priorities-in-file, todo-show-categories-table)
4741         (todo-sort-categories-alphabetically-or-numerically)
4742         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4743         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4744         (todo-toggle-item-header, todo-toggle-item-highlighting)
4745         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4746         (todo-toggle-view-done-items, todo-toggle-view-done-only)
4747         (todo-unarchive-items, todo-unmark-category): New commands.
4748         (todo-absolute-file-name, todo-add-to-buffer-list)
4749         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4750         (todo-basic-insert-item, todo-category-completions)
4751         (todo-category-number, todo-category-string-matcher-1)
4752         (todo-category-string-matcher-2, todo-check-filtered-items-file)
4753         (todo-check-format, todo-clear-matches)
4754         (todo-comment-string-matcher, todo-convert-legacy-date-time)
4755         (todo-current-category, todo-date-string-matcher)
4756         (todo-define-insertion-command, todo-diary-expired-matcher)
4757         (todo-diary-goto-entry, todo-diary-item-p)
4758         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4759         (todo-display-categories, todo-display-sorted, todo-done-item-p)
4760         (todo-done-item-section-p, todo-done-separator)
4761         (todo-done-string-matcher, todo-files, todo-filter-items)
4762         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4763         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4764         (todo-insert-category-line, todo-insert-item-from-calendar)
4765         (todo-insert-sort-button, todo-insert-with-overlays)
4766         (todo-insertion-command-name, todo-insertion-key-bindings)
4767         (todo-label-to-key, todo-longest-category-name-length)
4768         (todo-make-categories-list, todo-mode-external-set)
4769         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4770         (todo-modes-set-3, todo-multiple-filter-files)
4771         (todo-nondiary-marker-matcher, todo-prefix-overlays)
4772         (todo-read-category, todo-read-date, todo-read-dayname)
4773         (todo-read-file-name, todo-read-time)
4774         (todo-reevaluate-category-completions-files-defcustom)
4775         (todo-reevaluate-default-file-defcustom)
4776         (todo-reevaluate-filelist-defcustoms)
4777         (todo-reevaluate-filter-files-defcustom)
4778         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4779         (todo-reset-done-separator, todo-reset-done-separator-string)
4780         (todo-reset-done-string, todo-reset-global-current-todo-file)
4781         (todo-reset-highlight-item, todo-reset-nondiary-marker)
4782         (todo-reset-prefix, todo-set-categories)
4783         (todo-set-date-from-calendar, todo-set-show-current-file)
4784         (todo-set-top-priorities, todo-short-file-name)
4785         (todo-show-current-file, todo-sort, todo-time-string-matcher)
4786         (todo-total-item-counts, todo-update-buffer-list)
4787         (todo-update-categories-display, todo-update-categories-sexp)
4788         (todo-update-count, todo-validate-name, todo-y-or-n-p):
4789         New functions.
4790         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4791         New major modes.
4792         (todo-categories, todo-display, todo-edit, todo-faces)
4793         (todo-filtered): New defgroups.
4794         (todo-archived-only, todo-button, todo-category-string, todo-date)
4795         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4796         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4797         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4798         (todo-add-item-if-new-category, todo-always-add-time-string)
4799         (todo-categories-align, todo-categories-archived-label)
4800         (todo-categories-category-label, todo-categories-diary-label)
4801         (todo-categories-done-label, todo-categories-number-separator)
4802         (todo-categories-todo-label, todo-categories-totals-label)
4803         (todo-category-completions-files, todo-completion-ignore-case)
4804         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4805         (todo-done-separator-string, todo-done-string)
4806         (todo-files-function, todo-filter-done-items, todo-filter-files)
4807         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4808         (todo-initial-category, todo-initial-file, todo-item-mark)
4809         (todo-legacy-date-time-regexp, todo-mode-line-function)
4810         (todo-nondiary-marker, todo-number-prefix)
4811         (todo-print-buffer-function, todo-show-current-file)
4812         (todo-show-done-only, todo-show-first, todo-show-with-done)
4813         (todo-skip-archived-categories, todo-top-priorities-overrides)
4814         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4815         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4816         New defcustoms.
4817         (todo-category-done, todo-date-pattern, todo-date-string-start)
4818         (todo-diary-items-buffer, todo-done-string-start)
4819         (todo-filtered-items-buffer, todo-item-start)
4820         (todo-month-abbrev-array, todo-month-name-array)
4821         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4822         (todo-top-priorities-buffer): New defconsts.
4823         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4824         (todo-categories-with-marks, todo-category-string-face)
4825         (todo-comment-face, todo-comment-string, todo-current-todo-file)
4826         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4827         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4828         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4829         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4830         (todo-font-lock-keywords, todo-global-current-todo-file)
4831         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4832         (todo-insertion-commands-args)
4833         (todo-insertion-commands-args-genlist)
4834         (todo-insertion-commands-names, todo-insertion-map)
4835         (todo-key-bindings-t, todo-key-bindings-t+a)
4836         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4837         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4838         (todo-nondiary-face, todo-print-buffer, todo-time-face)
4839         (todo-visited): New variables.
4841 2013-06-21  Glenn Morris  <rgm@gnu.org>
4843         * play/cookie1.el (cookie-apropos): Add optional display argument.
4844         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4845         (psychoanalyze-pinhead): Use cookie-doctor.
4847 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
4849         * emacs-lisp/package.el (tar-get-file-descriptor)
4850         (tar--extract): Declare.
4852 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
4854         Extend flymake's warning predicate to be a function (bug#14217).
4855         * progmodes/flymake.el (flymake-warning-predicate): New.
4856         (flymake-parse-line): Use it.
4857         (flymake-warning-re): Make obsolete alias to
4858         `flymake-warning-predicate'.
4860 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4862         * emacs-lisp/package.el (package-alist): Include obsolete packages.
4863         (package-obsolete-list): Remove.
4864         (package-activate): Remove min-version argument.  Add `force' argument.
4865         Adjust to new package-alist format.
4866         (package-mark-obsolete): Remove.
4867         (package-unpack): Force reload of the package's autoloads.
4868         (package-installed-p): Check builtins if the installed package is not
4869         recent enough.
4870         (package-initialize): Don't reset package-obsolete-list.
4871         Don't specify which package version to activate.
4872         (package-process-define-package, describe-package-1)
4873         (package-menu--generate): Adjust to new package-alist format.
4875 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
4877         * allout-widgets.el (allout-widgets-mode-off)
4878         (allout-widgets-mode-on, allout-widgets-pre-command-business)
4879         (allout-widgets-post-command-business)
4880         (allout-widgets-after-copy-or-kill-function)
4881         (allout-widgets-after-undo-function, allout-test-range-overlaps)
4882         (allout-decorate-item-and-context)
4883         (allout-graphics-modification-handler): Fix typos in docstrings.
4884         (allout-get-or-create-parent-widget): Use `looking-at-p'.
4886         * cmuscheme.el (scheme-start-file): Doc fix.
4887         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4888         (scheme-input-filter): Use `string-match-p'.
4890         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4892         * dired-x.el: Use Dired consistently in docstrings.
4894         * dired.el: Use Dired consistently in docstrings.
4895         (dired-readin, dired-mode): Use `setq-local'.
4896         (dired-switches-alist): Make defvar-local.
4897         (dired-buffers-for-dir): Use `zerop'.
4898         (dired-safe-switches-p, dired-switches-escape-p)
4899         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4900         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4901         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4902         (dired-goto-next-nontrivial-file): Use `string-match-p'.
4903         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4904         (dired-toggle-marks, dired-mark-files-containing-regexp)
4905         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4906         (dired-flag-auto-save-files, dired-flag-backup-files):
4907         Use `looking-at-p'.
4908         (dired-mark-files-regexp, dired-build-subdir-alist):
4909         Use `string-match-p', `looking-at-p'.
4911         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4912         (direct-print-region-helper): Use `string-match-p'.
4914 2013-06-21  Leo Liu  <sdl.web@gmail.com>
4916         * comint.el (comint-redirect-results-list-from-process):
4917         Fix infinite loop.
4919 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4921         * net/eww.el (eww-update-header-line-format): Quote % characters.
4923 2013-06-21  Glenn Morris  <rgm@gnu.org>
4925         * play/cookie1.el (cookie): New custom group.
4926         (cookie-file): New option.
4927         (cookie-check-file): New function.
4928         (cookie): Make it interactive.  Make start and end messages optional.
4929         Interactively, display the result.  Default to cookie-file.
4930         (cookie-insert): Default to cookie-file.
4931         (cookie-snarf): Make start and end messages optional.
4932         Default to cookie-file.  Use with-temp-buffer.
4933         (cookie-read): Rename from read-cookie.
4934         Make start and end messages optional.  Default to cookie-file.
4935         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
4936         Do not autoload it.
4937         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4938         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4940 2013-06-21  Leo Liu  <sdl.web@gmail.com>
4942         * progmodes/octave.el (octave-mode): Backward compatibility fix.
4944 2013-06-21  Glenn Morris  <rgm@gnu.org>
4946         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4948 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4949             Daniel Hackney  <dan@haxney.org>
4951         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4952         Consolidate the single-file vs tarball code.
4953         (package-desc-suffix): New function.
4954         (package-desc-full-name): Don't bother inlining it.
4955         (package-load-descriptor): Return the new package-desc.
4956         (package-mark-obsolete): Remove unused arg `package'.
4957         (package-unpack): Make it work for single files as well.
4958         Make it update package-alist.
4959         (package--make-autoloads-and-stuff): Rename from
4960         package--make-autoloads-and-compile.  Don't compile any more.
4961         (package--compile): New function.
4962         (package-generate-description-file): New function, extracted from
4963         package-unpack-single.
4964         (package-unpack-single): Remove.
4965         (package--with-work-buffer): Add indentation and debugging info.
4966         (package-download-single): Remove.
4967         (package-install-from-archive): Rename from package-download-tar, make
4968         it take a pkg-desc, and make it work for single files as well.
4969         (package-download-transaction): Simplify.
4970         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
4971         external tar program.
4972         (package-install-from-buffer): Remove `pkg-desc' argument.
4973         Use package-tar-file-info for tar-mode buffers.
4974         (package-install-file): Simplify accordingly.
4975         (package-archive-base): Change to take a pkg-desc.
4976         * tar-mode.el (tar--check-descriptor): New function, extracted from
4977         tar-get-descriptor.
4978         (tar-get-descriptor): Use it.
4979         (tar-get-file-descriptor): New function.
4980         (tar--extract): New function, extracted from tar-extract.
4981         (tar--extract): Use it.
4982         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4983         case the summary uses non-ascii.  Adjust to new calling convention of
4984         package-tar-file-info.
4986 2013-06-21  Leo Liu  <sdl.web@gmail.com>
4988         * comint.el (comint-redirect-results-list-from-process):
4989         Fix random delay.  (Bug#14681)
4991 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
4993         * profiler.el (profiler-format-number): Use log, not log10.
4995 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
4997         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4999 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5001         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5002         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5003         yet available.
5004         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5005         (AUTOGENEL): ... here.
5006         * emacs-lisp/cl-macs.el (cl--sublis): New function.
5007         (cl--defsubst-expand): Use it.
5009 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
5011         * subr.el (log10): Move here from C code, and declare as obsolete.
5012         All uses of (log10 X) replaced with (log X 10).
5014 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5016         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5017         Declare with `defvar-local'.
5018         (tabulated-list-use-header-line, tabulated-list-entries)
5019         (tabulated-list-padding, tabulated-list-printer)
5020         (tabulated-list-sort-key): Declare with `defvar-local'.
5021         (tabulated-list-init-header, tabulated-list-print-fake-header):
5022         Use `setq-local'.
5024 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
5026         * arc-mode.el (archive-mode): Add `archive-write-file' to
5027         `write-contents-functions' also for remote files.  (Bug#14652)
5029 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5031         * cus-edit.el (custom-commands): Fix typos.
5032         (custom-display): Fix tooltip text.
5033         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5034         Fix typos in docstrings.
5035         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5036         (custom-unlispify-menu-entry, custom-magic-value-create)
5037         (custom-add-see-also, custom-group-value-create): Use ?\s.
5038         (custom-guess-type, customize-apropos, editable-field)
5039         (custom-face-value-create): Use `string-match-p'.
5040         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5042         * custom.el (custom-load-symbol): Use `string-match-p'.
5044         * ansi-color.el: Convert to lexical binding.
5045         (ansi-colors): Fix URL.
5046         (ansi-color-context, ansi-color-context-region): Use defvar-local.
5047         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5048         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5050 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5052         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5054         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5056 2013-06-19  Tom Tromey  <tromey@redhat.com>
5058         * net/eww.el (eww-top-url): Remove.
5059         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5060         (eww-render): Set new variables.  Don't set eww-top-url.
5061         (eww-handle-link): Handle "prev", "home", and "contents".
5062         Downcase the rel text.
5063         (eww-top-url): Choose best top URL.
5065 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5067         * net/eww.el: Rewrite to implement form elements "by hand" instead of
5068         relying in widget.el.  Using widget.el leads to too many
5069         user interface inconsistencies.
5070         (eww-self-insert): Implement entering commands in text fields.
5071         (eww-process-text-input): New function to make text input field editing
5072         work.
5073         (eww-submit): Rewrite to use the new-style form methods.
5074         (eww-select-display): Display the correct selected item.
5075         (eww-change-select): Implement changing the select value.
5076         (eww-toggle-checkbox): Implement radio/checkboxes.
5077         (eww-update-field): Fix compilation error.
5078         (eww-tag-textarea): Implement <textarea>.
5080         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5081         we don't shadow mode-specific bindings.
5083         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5084         nothing to push.
5086         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5088 2013-06-19  Glenn Morris  <rgm@gnu.org>
5090         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5092 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5094         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5095         not needed.
5097         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5099 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5101         * net/browse-url.el (browse-url-browser-function):
5102         `eww-browse-url' has the right calling signature, `eww' does not.
5104 2013-06-19  Glenn Morris  <rgm@gnu.org>
5106         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5107         Only eval autoloaded macros.
5108         (byte-compile-autoload): Only give the macro warning for macros.
5110         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5111         (ps-underlined-faces): Declare.
5113         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5114         (speedbar-add-supported-extension): Declare.
5116         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5117         Don't include a date stamp in the header of the generated file;
5118         it leads to needless differences between output files.
5120 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5122         * net/secrets.el (secrets-struct-secret-content-type):
5123         Replace check of introspection data by a test call of "CreateItem".
5124         Some servers do not offer introspection.
5126 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5128         * electric.el (electric-pair-mode): Improve interaction with
5129         electric-layout-mode.
5130         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5131         (electric-pair-syntax): Use text-mode-syntax-table in comments
5132         and strings.
5133         (electric-pair--insert): New function.
5134         (electric-pair-post-self-insert-function): Use it and
5135         electric--after-char-pos.
5137 2013-06-19  Leo Liu  <sdl.web@gmail.com>
5139         * progmodes/octave.el (octave-help): Fix regexp.
5141 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5143         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5144         (shr-table-horizontal-line): Allow nil as a value, and change the
5145         default.
5146         (shr-insert-table-ruler): Respect the nil value.
5148 2013-06-18  Tom Tromey  <tromey@barimba>
5150         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5151         New defvars.
5152         (eww-open-file): New defun.
5153         (eww-render): Initialize new variables.
5154         (eww-display-html): Handle "link" and "a".
5155         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5156         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
5157         (eww-back-url): Rename from eww-previous-url.
5158         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5159         New defuns.
5161 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
5163         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5164         Distinguish ternary operator tokens from slash symbol and slash
5165         char literal.
5167 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
5169         Convert symbol prettification into minor mode and global minor mode.
5171         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5172         `prog-prettify-symbols', and make a local defvar instead of defcustom.
5173         (prettify-symbols--keywords): Rename from
5174         `prog-prettify-symbols-alist' and make a local defvar.
5175         (prettify-symbols--compose-symbol): Rename from
5176         `prog--prettify-font-lock-compose-symbol'.
5177         (prettify-symbols--make-keywords): Rename from
5178         `prog-prettify-font-lock-symbols-keywords' and simplify.
5179         (prog-prettify-install): Remove.
5180         (prettify-symbols-mode): New minor mode, based on
5181         `prog-prettify-install'.
5182         (turn-on-prettify-symbols-mode): New function.
5183         (global-prettify-symbols-mode): New globalized minor mode.
5185         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5186         * progmodes/cfengine.el (cfengine3-mode):
5187         * progmodes/perl-mode.el (perl-mode): Don't call
5188         `prog-prettify-install'; set `prettify-symbols-alist' instead.
5190 2013-06-18  Juri Linkov  <juri@jurta.org>
5192         * files-x.el (modify-file-local-variable-message): New function.
5193         (modify-file-local-variable)
5194         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5195         and call `modify-file-local-variable-message' when it's non-nil.
5196         (add-file-local-variable, delete-file-local-variable)
5197         (add-file-local-variable-prop-line)
5198         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5199         and use it.  (Bug#9820)
5201 2013-06-18  Juri Linkov  <juri@jurta.org>
5203         * emulation/vi.el (vi-shell-op):
5204         * emulation/vip.el (vip-execute-com, ex-command):
5205         * emulation/viper-cmd.el (viper-exec-bang):
5206         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5207         the call of `shell-command-on-region'.  (Bug#14637)
5209         * simple.el (shell-command-on-region): Doc fix.
5211 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5213         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5214         (bug#14633).
5216 2013-06-18  Glenn Morris  <rgm@gnu.org>
5218         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5220         * newcomment.el (comment-search-forward, comment-search-backward):
5221         Doc fix.  (Bug#14376)
5223 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
5225         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5226         (buffer-face-mode-invoke): Doc fix.
5228 2013-06-18  Matthias Meulien  <orontee@gmail.com>
5230         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5231         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5233 2013-06-18  Glenn Morris  <rgm@gnu.org>
5235         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5236         Replace obsolete function generic-make-keywords with its expansion.
5238         * progmodes/python.el (ffap-alist): Declare.
5240         * textmodes/reftex.el (bibtex-mode-map): Declare.
5242 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5244         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5245         (package-unpack, package-unpack-single): Return the pkg-dir.
5246         (package-download-transaction): Use it to update package-alist.
5248 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5250         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5251         possible choice.
5253 2013-06-17  Juri Linkov  <juri@jurta.org>
5255         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5257 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
5259         * emacs-lisp/package.el (package-load-descriptor):
5260         Remove `with-syntax-table' call, `read' doesn't need it.
5261         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5263 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
5265         * startup.el (command-line): Expand package name returned by
5266         `package--description-file' (bug#14639).
5268 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
5270         * emacs-lisp/package.el (package-load-descriptor): Do not call
5271         `emacs-lisp-mode', just use its syntax table.
5273 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
5275         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5276         `font-lock-extra-managed-props' if any prettifying keyword is added.
5277         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5278         (prog-mode): Use `setq-local'.
5280 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * international/characters.el (standard-case-table): Set syntax of ?»
5283         and ?« to punctuation.
5285 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
5287         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5288         Save relevant match data before calling `syntax-ppss' (bug#14595).
5290 2013-06-15  Juri Linkov  <juri@jurta.org>
5292         * files-x.el (modify-file-local-variable-prop-line): Add local
5293         variables to the end of the existing comment on the first line.
5294         Use `file-auto-mode-skip' to skip interpreter magic line,
5295         and also skip XML declaration.
5297 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5299         * startup.el (package--builtin-versions): New var.
5300         (package-subdirectory-regexp): Remove.
5301         (package--description-file): Hard code its value instead.
5303         * emacs-lisp/package.el: Don't activate packages older than builtin.
5304         (package-obsolete-list): Rename from package-obsolete-alist, and make
5305         it into a simple list of package-desc.
5306         (package-strip-version): Remove.
5307         (package-built-in-p): Use package--builtin-versions.
5308         (package-mark-obsolete): Simplify.
5309         (package-process-define-package): Mark it obsolete if older than the
5310         builtin version.
5311         (package-handle-response): Use line-end-position.
5312         (package-read-archive-contents, package--download-one-archive):
5313         Simplify.
5314         (package--add-to-archive-contents): Skip if older than the builtin or
5315         installed version.
5316         (package-menu-describe-package): Fix last change.
5317         (package-list-unversioned): New var.
5318         (package-menu--generate): Use it.
5320         * emacs-lisp/autoload.el: Manage package--builtin-versions.
5321         (autoload--insert-text, autoload--insert-cookie-text): New functions.
5322         (autoload-builtin-package-versions): New variable.
5323         (autoload-generate-file-autoloads): Use them.
5324         Remove the list of autoloaded functions/macros from the
5325         (autoload...) comments.
5327         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5329 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
5331         * simple.el (line-move-partial): Don't jump to the next screen
5332         line as soon as it becomes visible.  Instead, continue enlarging
5333         the vscroll until the portion of a tall screen line that's left on
5334         display is about the height of the frame's default font.
5335         (Bug#14567)
5337 2013-06-15  Glenn Morris  <rgm@gnu.org>
5339         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5340         compilation-error-regexp-alist void, or local while let-bound.
5342         * progmodes/make-mode.el (makefile-mode-syntax-table):
5343         Treat "=" as punctuation.  (Bug#14614)
5345 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
5347         * help-fns.el (describe-variable):
5348         Add extra line for permanent-local variables.
5350 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
5352         * progmodes/scheme.el (scheme-font-lock-keywords-2):
5353         Add export, import, library.  (Bug#9164)
5354         (library): Set indent function.
5356 2013-06-14  Glenn Morris  <rgm@gnu.org>
5358         * term/xterm.el (xterm--query):
5359         Stop after first matching handler.  (Bug#14615)
5361 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
5363         Add support for dired in saveplace.
5364         * dired.el (dired-initial-position-hook): New variable.
5365         (dired-initial-position): Call hook to place cursor position.
5366         * saveplace.el (save-place-to-alist): Add dired position.
5367         (save-place-dired-hook): New function.
5369 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5371         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5372         through a symbol rather than letrec.
5374         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
5375         (package-desc): Add `dir' field.
5376         (package-desc-full-name): New function.
5377         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
5378         (package-maybe-load-descriptor): Remove.
5379         (package-load-all-descriptors): Just call package-load-descriptor.
5380         (package--disabled-p): New function.
5381         (package-desc-vers, package-desc-doc): Remove aliases.
5382         (package--dir): Remove function.
5383         (package-activate): Check if a package is disabled.
5384         (package-process-define-package): New function, extracted from
5385         define-package.
5386         (define-package): Turn into a place holder.
5387         (package-unpack-single, package-tar-file-info):
5388         Use package--description-file.
5389         (package-compute-transaction): Use package--disabled-p.
5390         (package-download-transaction): Don't call
5391         package-maybe-load-descriptor since they're all loaded anyway.
5392         (package-install): Change argument to be a pkg-desc.
5393         (package-delete): Use a single pkg-desc argument.
5394         (describe-package-1): Use package-desc-dir instead of package--dir.
5395         Use package-desc property instead of package-symbol.
5396         (package-install-button-action): Adjust accordingly.
5397         (package--push): Rewrite.
5398         (package-menu--print-info): Adjust accordingly.  Change the ID format
5399         to be a pkg-desc.
5400         (package-menu-describe-package, package-menu-get-status)
5401         (package-menu--find-upgrades, package-menu-mark-upgrades)
5402         (package-menu-execute, package-menu--name-predicate):
5403         Adjust accordingly.
5404         * startup.el (package--description-file): New function.
5405         (command-line): Use it.
5406         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5407         Use package-desc-version.
5409         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5410         (byte-compile-preprocess): Use it.
5411         (byte-compile-file-form-defalias): Try a bit harder to use macros we
5412         can't quite recognize.
5413         (byte-compile-add-to-list): Remove.
5414         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5415         (cconv-closure-convert): Add assertion.
5417         * emacs-lisp/map-ynp.el: Use lexical-binding.
5418         (map-y-or-n-p): Remove unused vars `tail' and `object'.
5419         Factor out some repeated code.
5421 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5423         * subr.el (with-eval-after-load): New macro.
5424         (eval-after-load): Allow form to be a function.
5425         take advantage of lexical-binding.
5426         (do-after-load-evaluation): Use dolist and adjust to new format.
5427         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5429 2013-06-13  Juri Linkov  <juri@jurta.org>
5431         * replace.el (perform-replace): Display "symbol " and other search
5432         modes from `isearch-message-prefix' in the *Help* buffer.
5434         * isearch.el (isearch-query-replace): Add " symbol" and other
5435         possible search modes from `isearch-message-prefix' to the prompt.
5436         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5437         when reading a regexp to collect.
5439 2013-06-13  Juri Linkov  <juri@jurta.org>
5441         * isearch.el (word-search-regexp): Match whitespace if the search
5442         string begins or ends in whitespace.  The LAX arg is applied to
5443         both ends of the search string.  Use `regexp-quote' and explicit
5444         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
5445         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5446         boundaries are replaced with symbol boundaries, and characters
5447         between symbols match non-word non-symbol syntax.  (Bug#14602)
5449 2013-06-13  Juri Linkov  <juri@jurta.org>
5451         * isearch.el (isearch-del-char): Don't exceed the length of
5452         `isearch-string' by the prefix arg.  (Bug#14563)
5454 2013-06-13  Juri Linkov  <juri@jurta.org>
5456         * isearch.el (isearch-yank-word, isearch-yank-line)
5457         (isearch-char-by-name, isearch-quote-char)
5458         (isearch-printing-char, isearch-process-search-char):
5459         Add optional count prefix arg.  (Bug#14563)
5461         * international/isearch-x.el
5462         (isearch-process-search-multibyte-characters):
5463         Add optional count prefix arg.
5465 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5467         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5468         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5469         lexical-binding.
5471 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
5473         * subr.el (set-temporary-overlay-map): Add on-exit argument.
5475 2013-06-13  Glenn Morris  <rgm@gnu.org>
5477         * startup.el (tty-handle-args):
5478         Don't just discard "--" and anything after.  (Bug#14608)
5480         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5482 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
5484         Implement changes in Secret Service API.  Make it backward compatible.
5485         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5486         (secrets-create-item): Use it.  Prefix properties with interface.
5488 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
5490         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
5491         (term-emulate-terminal): Respect term-suppress-hard-newline.
5493 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
5495         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5496         Only remove a `thumb-file' overlay.  (Bug#14548)
5498 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
5500         * mail/reporter.el (reporter-submit-bug-report):
5501         Handle missing package-name.  (Bug#14600)
5503 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5505         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5506         (reftex-citation-prompt, reftex-default-bibliography)
5507         (reftex-bib-or-thebib, reftex-get-bibfile-list)
5508         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5509         (reftex-bib-sort-author, reftex-bib-sort-year)
5510         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5511         (reftex-extract-bib-entries-from-thebibliography)
5512         (reftex-get-bibkey-default, reftex-get-bib-names)
5513         (reftex-parse-bibtex-entry, reftex-get-bib-field)
5514         (reftex-format-bib-entry, reftex-parse-bibitem)
5515         (reftex-format-bibitem, reftex-do-citation)
5516         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5517         (reftex-restrict-bib-matches, reftex-extract-bib-file)
5518         (reftex-insert-bib-matches, reftex-format-citation)
5519         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5520         (reftex-create-bibtex-file): Add docstrings, mostly by converting
5521         existing comments into docstrings.
5523 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
5525         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5527 2013-06-12  Andreas Schwab  <schwab@suse.de>
5529         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5530         for auto-save files.
5532 2013-06-12  Glenn Morris  <rgm@gnu.org>
5534         * ido.el (ido-delete-ignored-files): Remove.
5535         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5536         Go back to calling ido-ignore-item-p directly.
5538 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
5540         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5542         * ido.el (ido-delete-ignored-files): New function,
5543         split from ido-make-file-list-1.
5544         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
5545         (ido-make-file-list-1): Use ido-delete-ignored-files.
5547 2013-06-12  Leo Liu  <sdl.web@gmail.com>
5549         * progmodes/octave.el (inferior-octave-startup)
5550         (inferior-octave-completion-table)
5551         (inferior-octave-track-window-width-change)
5552         (octave-eldoc-function-signatures, octave-help)
5553         (octave-find-definition): Use single quoted strings.
5554         (inferior-octave-startup-args): Change default value.
5555         (inferior-octave-startup): Do not hard code "-i" and
5556         "--no-line-editing".
5557         (inferior-octave-resync-dirs): Add optional arg NOERROR.
5558         (inferior-octave-directory-tracker): Use it.
5559         (octave-goto-function-definition): Robustify.
5560         (octave-help): Support highlighting operators in 'See also'.
5561         (octave-find-definition): Find subfunctions only in Octave mode.
5563 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5565         * help-fns.el (help-fns--compiler-macro): If the handler function is
5566         named, then put a link to it.
5567         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5568         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5569         (cl-typep): Use it.
5570         (cl-eval-when): Simplify debug spec.
5571         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
5572         compiler-macro function instead of setting `compiler-macro-file'.
5574 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
5576         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5577         * vc/vc-hooks.el (vc-stay-local): Doc fix.
5579 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5580             Daniel Hackney  <dan@haxney.org>
5582         First part of Daniel Hackney's patch to package.el.
5583         * emacs-lisp/package.el: Use defstruct.
5584         (package-desc): New, main struct.
5585         (package--bi-desc, package--ac-desc): New structs, used to describe the
5586         format in external files.
5587         (package-desc-vers): Replace with package-desc-version accessor.
5588         (package-desc-doc): Replace with package-desc-summary accessor.
5589         (package-activate-1): Remove `package' arg since the pkg-vec now
5590         includes the name.
5591         (define-package): Use package-desc-from-define.
5592         (package-unpack-single): Change file-name arg to be a symbol.
5593         (package--add-to-archive-contents): Use package-desc-create and new
5594         accessor functions to package--ac-desc.
5595         (package-buffer-info, package-tar-file-info): Return a package-desc.
5596         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
5597         arg to be a package-desc.
5598         (package-install-file): Adjust accordingly.  Use \' to match EOS.
5599         (package--from-builtin): New function.
5600         (describe-package-1, package-menu--generate): Use it.
5601         (package--make-autoloads-and-compile): Change name arg to be a symbol.
5602         (package-generate-autoloads): Idem and return the name of the file.
5603         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5604         Change pkg-info arg to be a package-desc.
5605         Use package-make-ac-desc.
5606         (package-upload-file): Use \' to match EOS.
5607         * finder.el (finder-compile-keywords): Use package-make-builtin.
5609 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5611         * vc/vc.el (vc-deduce-fileset): Change error message.
5612         (vc-read-backend): New function.
5613         (vc-next-action): Use it.
5615         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5617         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5618         (prolog-font-lock-keywords): Use regexp-opt instead.
5619         Don't manually highlight strings.
5620         (prolog-mode-variables): Simplify comment-start-skip.
5621         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
5623         * emacs-lisp/generic.el (generic--normalise-comments)
5624         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5625         (generic-mode-set-comments): Use them.
5626         (generic-bracket-support): Use setq-local.
5627         (generic-make-keywords-list): Declare obsolete.
5629 2013-06-11  Glenn Morris  <rgm@gnu.org>
5631         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5632         Prettify after setting font-lock-defaults.  (Bug#14574)
5634 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
5636         * replace.el (query-replace, occur-read-regexp-defaults-function)
5637         (replace-search):
5638         * subr.el (declare-function, number-sequence, local-set-key)
5639         (substitute-key-definition, locate-user-emacs-file)
5640         (with-silent-modifications, split-string, eval-after-load):
5641         Fix typos, remove unneeded backslashes and reflow some docstrings.
5643 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5645         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5646         default for Elisp files.
5648 2013-06-11  Glenn Morris  <rgm@gnu.org>
5650         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5651         although define-derived-mode was doing this anyway.  (Bug#14583)
5653 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
5655         * allout.el (allout-encryption-plaintext-sanitization-regexps):
5656         Fix make-variable-buffer-local call to refer to the correct variable.
5658 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
5660         * eshell/em-term.el (eshell-visual-commands)
5661         (eshell-visual-subcommands, eshell-visual-options):
5662         Add summary line to docstrings.  Add cross-references.
5664 2013-06-10  Glenn Morris  <rgm@gnu.org>
5666         * epa.el (epa-read-file-name): New function.  (Bug#14510)
5667         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
5669 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
5671         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5672         output redirection to be ignored with visual commands.
5674 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
5676         * eshell/em-term.el (eshell-visual-command-p): New function.
5677         (eshell-term-initialize): Move long lambda to separate function
5678         eshell-visual-command-p.
5679         * eshell/em-dirs.el (eshell-dirs-initialise):
5680         * eshell/em-script.el (eshell-script-initialize):
5681         Add missing #' to lambda.
5683 2013-06-08  Leo Liu  <sdl.web@gmail.com>
5685         * progmodes/octave.el (octave-add-log-current-defun): New function.
5686         (octave-mode): Set add-log-current-defun-function.
5687         (octave-goto-function-definition): Do not move point if not found.
5688         (octave-find-definition): Enhance to try subfunctions first.
5690 2013-06-08  Glenn Morris  <rgm@gnu.org>
5692         * emacs-lisp/bytecomp.el (byte-compile-char-before)
5693         (byte-compile-backward-char, byte-compile-backward-word):
5694         Improve previous change, to handle non-explicit nil.
5696 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5698         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5699         (smie--opener/closer-at-point): New function.
5700         (smie--matching-block-data): Use it.  Don't match from right after an
5701         opener or right before a closer.  Obey smie-blink-matching-inners.
5702         Don't signal a mismatch for repeated inners like "switch..case..case".
5704 2013-06-07  Leo Liu  <sdl.web@gmail.com>
5706         * progmodes/octave.el (octave-mode): Set comment-use-global-state
5707         to t.  (Bug#14303)
5708         (octave-function-header-regexp): Fix.  (Bug#14570)
5709         (octave-help-mode-finish-hook, octave-help-mode-finish):
5710         Remove.  Just use temp-buffer-show-hook.
5712         * newcomment.el (comment-search-backward): Revert last change.
5713         (Bug#14434)
5715         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5717 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
5719         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5720         through xargs, to avoid failure due to MS-Windows limitations on
5721         command-line length.
5723 2013-06-06  Glenn Morris  <rgm@gnu.org>
5725         * font-lock.el (lisp-font-lock-keywords-2):
5726         Treat user-error like error.
5728         * emacs-lisp/bytecomp.el (byte-compile-char-before)
5729         (byte-compile-backward-char, byte-compile-backward-word):
5730         Handle explicit nil arguments.  (Bug#14565)
5732 2013-06-05  Alan Mackenzie  <acm@muc.de>
5734         * isearch.el (isearch-allow-prefix): New user option.
5735         (isearch-other-meta-char): Don't exit isearch when a prefix
5736         argument is typed whilst `isearch-allow-prefix' is non-nil.
5737         (Bug#9706)
5739 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5741         * autorevert.el (auto-revert-notify-handler): Use memq.
5742         Hide assertion failure.
5744         * skeleton.el: Use cl-lib.
5745         (skeleton-further-elements): Use defvar-local.
5746         (skeleton-insert): Use cl-progv.
5748 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
5750         * progmodes/prog-mode.el (prog-prettify-symbols)
5751         (prog-prettify-install): Update docstrings.
5753 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5755         * simple.el: Move all the prog-mode code to prog-mode.el.
5756         * progmodes/prog-mode.el: New file.
5757         * loadup.el: Add prog-mode.el.
5759 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
5761         * simple.el (prog-prettify-symbols): Add version.
5762         (prog-prettify-install): Add convenience function to prettify symbols.
5764         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5765         (perl--augmented-font-lock-keywords-1)
5766         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5767         variables and use it.
5769         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5770         (cfengine3-mode): Remove unneeded variable and use it.
5772         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5773         (lisp--augmented-font-lock-keywords-1)
5774         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5775         Remove unneeded variables and use it.
5777 2013-06-05  João Távora  <joaotavora@gmail.com>
5779         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5780         to point when opening the connection.  (Bug#14380)
5782 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5784         * subr.el (load-history-regexp, load-history-filename-element)
5785         (eval-after-load, after-load-functions, do-after-load-evaluation)
5786         (eval-next-after-load, display-delayed-warnings)
5787         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5788         definition of save-match-data.
5789         (overriding-local-map): Remove accidental obsolescence declaration.
5791         * emacs-lisp/edebug.el (edebug-result): Move before first use.
5793 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
5795         Generalize symbol prettify support to prog-mode and implement it
5796         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5797         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5798         (prog--prettify-font-lock-compose-symbol)
5799         (prog-prettify-font-lock-symbols-keywords): New variables and
5800         functions to support symbol prettification.
5801         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5802         (lisp--augmented-font-lock-keywords-1)
5803         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5804         (lisp--prettify-symbols-alist): Implement prettify of lambda.
5805         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5806         (cfengine3--prettify-symbols-alist, cfengine3-mode):
5807         Implement prettify of -> => :: strings.
5808         * progmodes/perl-mode.el (perl-prettify-symbols)
5809         (perl--font-lock-compose-symbol)
5810         (perl--font-lock-symbols-keywords): Move to prog-mode.
5811         (perl--prettify-symbols-alist): Prettify -> => :: strings.
5812         (perl-font-lock-keywords-1)
5813         (perl-font-lock-keywords-2): Remove explicit prettify support.
5814         (perl--augmented-font-lock-keywords)
5815         (perl--augmented-font-lock-keywords-1)
5816         (perl--augmented-font-lock-keywords-2, perl-mode):
5817         Implement prettify support.
5819 2013-06-05  Leo Liu  <sdl.web@gmail.com>
5821         Re-implement smie matching block highlight using
5822         show-paren-data-function.  (Bug#14395)
5823         * emacs-lisp/smie.el (smie-matching-block-highlight)
5824         (smie--highlight-matching-block-overlay)
5825         (smie--highlight-matching-block-lastpos)
5826         (smie-highlight-matching-block)
5827         (smie-highlight-matching-block-mode): Remove.
5828         (smie--matching-block-data-cache): New variable.
5829         (smie--matching-block-data): New function.
5830         (smie-setup): Use smie--matching-block-data for
5831         show-paren-data-function.
5833         * progmodes/octave.el (octave-mode-menu): Fix.
5834         (octave-find-definition): Skip garbage lines.
5836 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5838         Fix compilation error with simultaneous dynamic+lexical scoping.
5839         Add warning when a defvar appears after the first let-binding.
5840         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5841         (byte-compile-close-variables): Initialize it.
5842         (byte-compile--declare-var): New function.
5843         (byte-compile-file-form-defvar)
5844         (byte-compile-file-form-define-abbrev-table)
5845         (byte-compile-file-form-custom-declare-variable): Use it.
5846         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
5847         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5848         (byte-compile-bind): Handle dynamic bindings that shadow
5849         lexical bindings.
5850         (byte-compile-unbind): Make arg non-optional.
5851         (byte-compile-let): Simplify.
5852         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5853         (cconv--analyse-function, cconv-analyse-form): Populate it.
5854         Protect byte-compile-bound-variables to limit the scope of defvars.
5855         (cconv-analyse-form): Add missing rule for (defvar <foo>).
5856         Remove unneeded rule for `declare'.
5858         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5859         so as to avoid depending on cl-adjoin at run-time.
5860         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5862         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5863         (macroexp--warn-and-return): Use it.
5865 2013-06-05  Leo Liu  <sdl.web@gmail.com>
5867         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5869 2013-06-04  Leo Liu  <sdl.web@gmail.com>
5871         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5872         (compilation-auto-jump): Suppress the "Mark set" message to give
5873         way to exit message.
5875 2013-06-04  Alan Mackenzie  <acm@muc.de>
5877         Remove faulty optimisation from indentation calculation.
5878         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5879         search limit based on 2000 characters back from indent-point.
5881 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
5883         * eshell/em-term.el (cl-lib): Require `cl-lib'.
5885 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5887         * emacs-lisp/lisp.el: Use lexical-binding.
5888         (lisp--local-variables-1, lisp--local-variables): New functions.
5889         (lisp--local-variables-completion-table): New var.
5890         (lisp-completion-at-point): Use it complete let-bound vars.
5892         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5893         eagerly (bug#14422).
5895 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
5897         * autorevert.el (auto-revert-notify-enabled)
5898         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5899         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5900         (auto-revert-notify-handler): Handle also gfilenotify.
5902         * subr.el (file-notify-handle-event): New defun.  Replacing ...
5903         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5904         Remove.
5906 2013-06-03  Juri Linkov  <juri@jurta.org>
5908         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5909         `M-s h .'.  (Bug#14427)
5911         * hi-lock.el (highlight-symbol-at-point): New alias for the new
5912         command `hi-lock-face-symbol-at-point'.
5913         (hi-lock-face-symbol-at-point): New command.
5914         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5915         (hi-lock-menu): Add `highlight-symbol-at-point'.
5916         (hi-lock-mode): Doc fix.
5918         * isearch.el (isearch-forward-symbol-at-point): New command.
5919         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5920         (isearch-highlight-regexp): Add a regexp which matches
5921         words/symbols for word/symbol mode.
5923         * subr.el (find-tag-default-bounds): New function with the body
5924         mostly moved from `find-tag-default'.
5925         (find-tag-default): Move most code to `find-tag-default-bounds',
5926         call it and apply `buffer-substring-no-properties' afterwards.
5928 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
5930         * eshell/em-term.el (eshell-term-initialize):
5931         Use `cl-intersection' rather than `intersection'.
5933 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
5935         * vc/log-view.el: Doc fix.
5936         (log-view-mode-map): Copy keymap from `special-mode-map'.
5938 2013-06-02  Eric Ludlam  <zappo@gnu.org>
5940         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5941         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5942         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5943         (eieio-unbound, eieio-default-superclass)
5944         (eieio--define-field-accessors, method-static, method-before)
5945         (method-primary, method-after, method-num-lists)
5946         (method-generic-before, method-generic-primary)
5947         (method-generic-after, method-num-slots)
5948         (eieio-specialized-key-to-generic-key)
5949         (eieio--check-type, class-v, class-p)
5950         (eieio-class-name, define-obsolete-function-alias)
5951         (eieio-class-parents-fast, eieio-class-children-fast)
5952         (same-class-fast-p, class-constructor, generic-p)
5953         (generic-primary-only-p, generic-primary-only-one-p)
5954         (class-option-assoc, class-option, eieio-object-p)
5955         (class-abstract-p, class-method-invocation-order)
5956         (eieio-defclass-autoload-map, eieio-defclass-autoload)
5957         (eieio-class-un-autoload, eieio-defclass)
5958         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5959         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5960         (eieio--defgeneric-init-form, eieio-defgeneric-form)
5961         (eieio-defgeneric-reset-generic-form)
5962         (eieio-defgeneric-form-primary-only)
5963         (eieio-defgeneric-reset-generic-form-primary-only)
5964         (eieio-defgeneric-form-primary-only-one)
5965         (eieio-defgeneric-reset-generic-form-primary-only-one)
5966         (eieio-unbind-method-implementations)
5967         (eieio--defmethod, eieio--typep)
5968         (eieio-perform-slot-validation, eieio-validate-slot-value)
5969         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5970         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5971         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5972         (eieio-slot-name-index, eieio-class-slot-name-index)
5973         (eieio-set-defaults, eieio-initarg-to-attribute)
5974         (eieio-attribute-to-initarg, eieio-c3-candidate)
5975         (eieio-c3-merge-lists, eieio-class-precedence-c3)
5976         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5977         (eieio-class-precedence-list, eieio-generic-call-methodname)
5978         (eieio-generic-call-arglst, eieio-generic-call-key)
5979         (eieio-generic-call-next-method-list)
5980         (eieio-pre-method-execution-functions, eieio-generic-call)
5981         (eieio-generic-call-primary-only, eieiomt-method-list)
5982         (eieiomt-optimizing-obarray, eieiomt-install)
5983         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5984         (eieio-generic-form, eieio-defmethod, make-obsolete)
5985         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5986         (defclass): Remove `eval-and-compile' from macro.
5987         (call-next-method, shared-initialize): Instead of using
5988         `scoped-class' variable, use new eieio--scoped-class, and
5989         eieio--with-scoped-class.
5990         (initialize-instance): Rename local variable 'scoped-class' to
5991         'this-class' to remove ambiguitity from old global.
5993         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
5994         eieio.el.
5995         (eieio--scoped-class-stack): New variable.
5996         (eieio--scoped-class): New fcn.
5997         (eieio--with-scoped-class): New scoping macro.
5998         (eieio-defclass): Use pushnew instead of add-to-list.
5999         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6000         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6001         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6002         `scoped-class' variable, use new eieio--scoped-class, and
6003         eieio--with-scoped-class.
6005         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6007 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
6009         * eshell/esh-ext.el (eshell-external-command): Pass args to
6010         `eshell-find-interpreter'.
6011         (eshell-find-interpreter): Add new second parameter ARGS.
6013         * eshell/em-script.el (eshell-script-initialize): Add second arg
6014         to the function added as MATCH to `eshell-interpreter-alist'.
6016         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6017         the function added as MATCH to `eshell-interpreter-alist'.
6019         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6020         (eshell-visual-options): New defcustom.
6021         (eshell-escape-control-x): Adapt docstring.
6022         (eshell-term-initialize): Test `eshell-visual-subcommands' and
6023         `eshell-visual-options' in addition to `eshell-visual-commands'.
6024         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6026 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6028         * progmodes/python.el (python-indent-block-enders): Add break,
6029         continue and raise keywords.
6031 2013-06-01  Glenn Morris  <rgm@gnu.org>
6033         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6035         Plain (f)boundp silences compilation warnings since Emacs 22.1.
6036         * progmodes/cc-cmds.el (delete-forward-p):
6037         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6038         * progmodes/cc-engine.el (buffer-syntactic-context):
6039         * progmodes/cc-fonts.el (face-property-instance):
6040         * progmodes/cc-mode.el (set-keymap-parents):
6041         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6042         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6043         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6044         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6045         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6047         * progmodes/cc-vars.el (other): Emacs has this widget since
6048         at least 21.1, so don't (re)define it.
6050         * eshell/em-cmpl.el (eshell-cmpl-initialize):
6051         Replace the obsolete alias pcomplete-arg-quote-list.
6053 2013-06-01  Leo Liu  <sdl.web@gmail.com>
6055         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6056         punctuation syntax.
6057         (inferior-octave-minimal-columns)
6058         (inferior-octave-last-column-width): New variables.
6059         (inferior-octave-track-window-width-change): New function.
6060         (inferior-octave-mode): Adjust column width so that Octave output,
6061         for example from 'ls', can fit into the window nicely.
6063 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6065         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6066         Highlight expansions inside regexp literals.
6068 2013-05-31  Glenn Morris  <rgm@gnu.org>
6070         * obsolete/sym-comp.el (symbol-complete):
6071         Replace obsolete completion-annotate-function.
6073         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6075 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6077         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6078         New function, checks if point is inside a literal that allows
6079         expression expansion.
6080         (ruby-syntax-propertize-expansion): Use it.
6081         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6082         around the body.
6084 2013-05-30  Juri Linkov  <juri@jurta.org>
6086         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6087         to "\M-si".
6088         (isearch-invisible): New variable.
6089         (isearch-forward): Doc fix.
6090         (isearch-mode): Set `isearch-invisible'
6091         to the value of `search-invisible'.
6092         (isearch-toggle-case-fold): Doc fix.
6093         (isearch-toggle-invisible): New command.
6094         (isearch-query-replace): Let-bind `search-invisible'
6095         to the value of `isearch-invisible'.
6096         (isearch-search): Use `isearch-invisible' instead of
6097         `search-invisible'.  Let-bind `search-invisible'
6098         to the value of `isearch-invisible'.  (Bug#11378)
6100 2013-05-30  Juri Linkov  <juri@jurta.org>
6102         * replace.el (perform-replace): Avoid `isearch-range-invisible'
6103         call when `query-flag' is nil and `search-invisible' is non-nil.
6104         (Bug#11746)
6106 2013-05-30  Glenn Morris  <rgm@gnu.org>
6108         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6110         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6111         (cc-require): Suppress spurious "noruntime" warnings.
6112         (cc-require-when-compile): Use fboundp, for sake of compiler.
6114         * progmodes/cc-mode.el: Move load of cc-vars before that of
6115         cc-langs (which in turn loads cc-vars), to quieten compiler.
6117 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6119         * paren.el: Simplify the code.
6120         (show-paren-mode): Always start the timer.
6121         (show-paren--idle-timer): Rename from show-paren-idle-timer.
6122         (show-paren--overlay, show-paren--overlay-1): Rename from
6123         show-paren-overlay and show-paren-overlay-1, and initialize to an
6124         overlay rather than to nil.
6125         (show-paren-function): Misc cleanup and simplifications.
6127 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6129         * paren.el (show-paren-data-function): New hook.
6130         (show-paren--default): New function, extracted from show-paren-function.
6131         (show-paren-function): Use show-paren-data-function.
6133 2013-05-30  Glenn Morris  <rgm@gnu.org>
6135         * ielm.el (ielm-map, ielm-complete-symbol):
6136         Use completion-at-point rather than obsolete functions.
6137         (inferior-emacs-lisp-mode): Doc fix.
6138         Set completion-at-point-functions, rather than
6139         comint-dynamic-complete-functions.
6141         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6142         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6143         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6145         * image.el (image-animated-p): Tweak definition.
6147         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6148         (rlogin-process-connection-type): Tweak default.  Add set-after.
6149         (rlogin-host): Doc fix.
6150         (rlogin): Tweak prompt.
6151         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6153         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6154         * progmodes/tcl.el (inferior-tcl-mode-map):
6155         Use completion-at-point rather than obsolete alias.
6157         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6159         * minibuffer.el (read-file-name-completion-ignore-case):
6160         Move before completion--in-region, for eager macro expansion.
6162 2013-05-29  Juri Linkov  <juri@jurta.org>
6164         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6165         for total count of matching lines.  Add `global-matches' for total
6166         count of matches.  Rename `matches' to `lines' for count of
6167         matching lines.  Add `matches' for count of matches.
6168         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
6169         to `prev-line' for line number of prev match endpt.
6170         Increment `matches' for every match.  Print the number of
6171         matching lines in the header.
6172         (occur-context-lines): Rename `lines' to `curr-line'.
6173         Rename `prev-lines' to `prev-line'.  (Bug#14017)
6175 2013-05-29  Juri Linkov  <juri@jurta.org>
6177         * replace.el (perform-replace): Add `skip-read-only-count',
6178         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6179         Increment them for corresponding conditions and report the number
6180         of skipped occurrences in the final message.  (Bug#11746)
6181         (query-replace, query-replace-regexp, query-replace-regexp-eval)
6182         (replace-string, replace-regexp): Doc fix.
6184 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6186         * emacs-lisp/trace.el (trace--read-args): Provide a default.
6188         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6189         prog-mode-map (bug#14504).
6191 2013-05-29  Leo Liu  <sdl.web@gmail.com>
6193         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6194         (octave-help): Small simplification.
6196         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6197         off the highlight first.
6199 2013-05-29  Glenn Morris  <rgm@gnu.org>
6201         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6202         Handle idlwave-last-system-routine-info-cons-cell being nil.
6204         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6205         (idlwave-write-paths): Simplify via with-temp-buffer.
6207         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6208         * emulation/cua-rect.el: Also load cua-base at run time.
6210         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6211         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6212         (cperl-imenu-on-info): Require imenu.
6214 2013-05-28  Alan Mackenzie  <acm@muc.de>
6216         Handle "capitalised keywords" correctly.
6217         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6219 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
6221         * eshell/em-unix.el: Add -r option to cp.
6223 2013-05-28  Glenn Morris  <rgm@gnu.org>
6225         * vc/vc-arch.el (vc-exec-after): Declare.
6226         (vc-switches): Autoload.
6227         * vc/vc-bzr.el: No need to require vc when compiling.
6228         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6229         (vc-resynch-buffer, vc-dir-refresh): Declare.
6230         (vc-setup-buffer, vc-switches): Autoload.
6231         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6232         (vc-resynch-buffer): Declare.
6233         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6234         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6235         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6236         (grep-read-regexp, grep-read-files, grep-expand-template)
6237         (vc-dir-refresh): Declare.
6238         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6239         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6240         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6241         * vc/vc-mtn.el (vc-exec-after): Declare.
6242         (vc-switches): Autoload.
6243         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6244         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6245         (vc-file-tree-walk): Declare.
6246         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6247         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6248         (vc-tag-precondition, vc-rename-master): Autoload.
6249         * vc/vc-svn.el (vc-exec-after): Declare.
6250         (vc-switches, vc-setup-buffer): Autoload.
6251         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6252         Autoload.
6253         (vc-resynch-buffer): Declare.
6255         * obsolete/fast-lock.el (byte-compile-warnings):
6256         Don't warn about obsolete features in this obsolete file.
6258         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6259         Move definition before use.
6261         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6262         (dun-unix-verbs): Remove dun-zippy.
6263         (dun-zippy): Remove function.
6265         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6267 2013-05-27  Juri Linkov  <juri@jurta.org>
6269         * replace.el (replace-search): New function with code moved out
6270         from `perform-replace'.
6271         (replace-highlight, replace-dehighlight): Move function definitions
6272         up closer to `replace-search'.  (Bug#11746)
6274 2013-05-27  Juri Linkov  <juri@jurta.org>
6276         * replace.el (perform-replace): Ignore invisible matches.
6277         In addition to checking `query-replace-skip-read-only', also
6278         filter out matches by calling `run-hook-with-args-until-failure'
6279         on `isearch-filter-predicates', and also check `search-invisible'
6280         for t or call `isearch-range-invisible'.
6281         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
6283 2013-05-27  Juri Linkov  <juri@jurta.org>
6285         * isearch.el (isearch-filter-predicates): Rename from
6286         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
6287         (isearch-message-prefix): Display text from the property
6288         `isearch-message-prefix' of the currently active filters.
6289         (isearch-search): Don't compare `isearch-filter-predicate' with
6290         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
6291         on `isearch-filter-predicates'.  Also check `search-invisible' for t
6292         or call `isearch-range-invisible'.
6293         (isearch-filter-visible): Make obsolete.
6294         (isearch-lazy-highlight-search):
6295         Call `run-hook-with-args-until-failure' on
6296         `isearch-filter-predicates' and use `isearch-range-invisible'.
6298         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6299         `isearch-filter-predicates' instead of `funcall'ing
6300         `isearch-filter-predicate'.
6301         (Info-mode): Set `Info-isearch-filter' to
6302         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6304         * dired-aux.el (dired-isearch-filter-predicate-orig):
6305         Remove variable.
6306         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6307         (dired-isearch-filenames-end): Add and remove
6308         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6309         instead of changing the value of `isearch-filter-predicate'.
6310         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6311         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6312         Put property `isearch-message-prefix' to "filename " on
6313         `dired-isearch-filter-filenames'.
6315         * wdired.el (wdired-change-to-wdired-mode):
6316         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6317         locally instead of changing `isearch-filter-predicate'.
6318         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6320 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
6322         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6323         return the commit hash (Bug#14459).  Also set the
6324         `vc-git-detached' property.
6325         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6326         (vc-git-mode-line-string): Use the same help-echo format whether
6327         in detached mode or not, because we know the actual revision now.
6328         When in detached mode, shorten the revision to 7 chars.
6330 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6332         * emacs-lisp/easy-mmode.el (define-minor-mode):
6333         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6334         mode hook and provide a docstring.
6336 2013-05-27  Alan Mackenzie  <acm@muc.de>
6338         Remove spurious syntax-table text properties inserted by C-y.
6339         * progmodes/cc-mode.el (c-after-change): Also clear hard
6340         syntax-table property with value nil.
6342 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
6344         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6345         when reading the events; the buffer layout shall not be changed.
6347 2013-05-27  Leo Liu  <sdl.web@gmail.com>
6349         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6350         New variable.
6351         (inferior-octave-directory-tracker): Automatically re-sync
6352         default-directory.
6353         (octave-help): Improve handling of 'See also'.
6355 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6357         * doc-view.el: Minor naming convention tweaks.
6358         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6360         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6361         even if there's no `display' property yet (bug#14435).
6363 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
6365         * subr.el (unmsys--file-name): Rename from reveal-filename.
6367         * Makefile.in (custom-deps, finder-data, autoloads)
6368         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6369         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6370         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6372 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6374         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6375         error-completion on the first 2 args of condition-case (bug#14446).
6376         Don't burp at EOB.
6378 2013-05-25  Leo Liu  <sdl.web@gmail.com>
6380         * comint.el (comint-previous-matching-input): Do not flood the
6381         *Messages* buffer with trivial messages.
6383 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6385         * progmodes/flymake.el (flymake-nop): Don't return a string.
6386         (flymake-set-at): Fix typo.
6388         * simple.el (read--expression): New function, extracted from
6389         eval-expression.  Set completion-at-point-functions (bug#14465).
6390         (eval-expression, eval-minibuffer): Use it.
6392 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
6394         * progmodes/flymake.el (flymake-save-buffer-in-file)
6395         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6396         (flymake-selected-frame, flymake-log, flymake-ins-after)
6397         (flymake-set-at, flymake-get-buildfile-from-cache)
6398         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6399         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6400         Refine the doc string.
6401         (flymake-get-file-name-mode-and-masks): Reformat.
6402         (flymake-get-real-file-name-function): Fix a minor bug.
6404 2013-05-24  Juri Linkov  <juri@jurta.org>
6406         * progmodes/grep.el (grep-mode-font-lock-keywords):
6407         Support =linenumber= format used by git-grep for lines with
6408         function names.  (Bug#13549)
6410 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6412         * progmodes/octave.el (octave-smie-rules): Return nil rather than
6413         0 after a semi-colon; it works better for smie-auto-fill.
6414         (octave--indent-new-comment-line): New function.
6415         (octave-indent-new-comment-line): Use it (indirectly).
6416         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
6417         modify comment-line-break-function.
6419         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6420         (smie-setup): Use add-function to set it.
6422 2013-05-24  Sam Steingold  <sds@gnu.org>
6424         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6425         argument (before the `interactive' argument).
6427 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6429         * image-mode.el (image-mode-winprops): Add winprops to
6430         image-mode-winprops-alist before running
6431         image-mode-new-window-functions.
6432         * doc-view.el (doc-view-new-window-function): Don't delay
6433         doc-view-goto-page via timers (bug#14435).
6435 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
6437         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
6438         (doc-view-desktop-save-buffer): New function.
6439         (doc-view-restore-desktop-buffer): New function.
6440         (desktop-buffer-mode-handlers):
6441         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6442         handler.
6443         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6444         `desktop-save-buffer' function.
6446 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
6448         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6449         (tramp-gvfs-file-name-handler): Raise a user error when
6450         `tramp-gvfs-enabled' is nil.
6451         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6452         Do not raise a user error when loading package.  (Bug#14447)
6454         * net/xesam.el: Move to obsolete/.
6456 2013-05-24  Glenn Morris  <rgm@gnu.org>
6458         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6460         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6462         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6463         (Info-find-node, Man-getpage-in-background): Declare.
6465         * mail/unrmail.el (unrmail):
6466         Replace obsolete detect-coding-with-priority.
6468         * net/socks.el (socks-split-string): Use this rather than split-string.
6469         (socks-nslookup-host): Update for above change.
6470         (dynamic-choice, s5-dynamic-choice-match)
6471         (s5-dynamic-choice-match-inline, s5-widget-value-create):
6472         Comment out unused code.
6474         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6475         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6476         (gud-tooltip-echo-area): Make obsolete.
6477         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6479         * progmodes/js.el (js--optimize-arglist): Declare.
6481         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6483         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6484         (ediff-window-C): Declare.
6486         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6487         Tweak requires to silence compiler.
6489         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6490         (he-search-string, he-tried-table, he-expand-list)
6491         (he-init-string, he-string-member, he-substitute-string)
6492         (he-reset-string): Declare.
6494         * obsolete/options.el (list-options): Use custom-variable-p,
6495         rather than obsolete alias.
6497 2013-05-23  Sam Steingold  <sds@gnu.org>
6499         * simple.el (shell-command-on-region): Pass the `replace' argument
6500         down to `call-process-region' to comply with the doc as reported on
6501         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6503 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6505         * emacs-lisp/smie.el (smie-indent-forward-token)
6506         (smie-indent-backward-token): Handle string tokens (bug#14381).
6508 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6510         * ielm.el (ielm-menu): New menu.
6511         (inferior-emacs-lisp-mode): Set comment-start.
6513 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6515         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6516         Fix deactivate action.
6518         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6519         Add cleveref macros.
6521         * lisp/textmodes/reftex-parse.el
6522         (reftex-locate-bibliography-files): Accept options for
6523         bibliography commands.
6524         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6525         Add addbibresource.  Basic Biblatex support.
6527 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
6529         * net/tramp-gvfs.el (top):
6530         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6531         when loading package.  (Bug#14447)
6533 2013-05-23  Glenn Morris  <rgm@gnu.org>
6535         * progmodes/js.el: No need to load comint when compiling.
6536         (ring-insert, comint-send-string, comint-send-input)
6537         (comint-last-input-end, ido-chop): Declare.
6539         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6540         * vc/ediff-mult.el: Adjust requires.
6541         (ediff-directories-internal, ediff-directory-revisions-internal)
6542         (ediff-patch-file-internal): Declare.
6543         * vc/ediff-ptch.el: Adjust requires.
6544         (ediff-use-last-dir, ediff-buffers-internal): Declare.
6545         (ediff-find-file): Autoload.
6546         * vc/ediff-util.el: No need to load ediff when compiling.
6547         (ediff-regions-internal): Declare.
6548         * vc/ediff-wind.el: Adjust requires.
6549         (ediff-compute-toolbar-width): Define when compiling.
6550         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6551         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6552         (dired-get-filename, dired-get-marked-files)
6553         (ediff-last-dir-patch, ediff-patch-default-directory)
6554         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6555         (ediff-patch-buffer-internal): Declare.
6557         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6558         (ispell-process, ispell-buffer-local-words, lm-summary)
6559         (lm-section-start, lm-section-end): Declare.
6560         (checkdoc-ispell-init): Simplify.
6562         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6563         (he-string-member, he-reset-string, he-substitute-string): Declare.
6565         * eshell/em-ls.el: Adjust requires.
6566         (eshell-glob-regexp): Declare.
6567         * eshell/em-tramp.el: Adjust requires.
6568         (eshell-parse-command): Autoload.
6569         * eshell/em-xtra.el: Adjust requires.
6570         (eshell-parse-command): Autoload.
6571         * eshell/esh-ext.el: Adjust requires.
6572         (eshell-parse-command, eshell-close-handles): Autoload.
6573         * eshell/esh-io.el: Adjust requires.
6574         (eshell-output-filter): Autoload.
6575         * eshell/esh-util.el: No need to load tramp when compiling.
6576         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6577         Declare.
6578         (eshell-parse-ange-ls): Require ange-ftp and tramp.
6579         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6580         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6581         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6582         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6583         * eshell/esh-opt.el, eshell/esh-proc.el:
6584         * eshell/esh-var.el: Adjust requires.
6585         * eshell/eshell.el: Do not require esh-util twice.
6586         (eshell-add-input-to-history): Declare.
6587         (eshell-command): Check history module is active before using it.
6589         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6591 2013-05-22  Leo Liu  <sdl.web@gmail.com>
6593         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6595 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
6597         * autorevert.el (auto-revert-notify-add-watch)
6598         (auto-revert-notify-handler): Add `attrib' for the inotify case,
6599         it indicates changes in file modification time.
6601 2013-05-22  Glenn Morris  <rgm@gnu.org>
6603         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6604         Always delete the autoloaded function from the noruntime and
6605         unresolved functions lists.
6607         * allout.el: No need to load epa, epg, overlay when compiling.
6608         (epg-context-set-passphrase-callback, epg-list-keys)
6609         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6610         (epg-key-user-id-list): Declare.
6612         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6613         (viper-set-parsing-style-toggling-macro)
6614         (viper-set-emacs-state-searchstyle-macros):
6615         Use called-interactively-p on Emacs.
6616         (viper-looking-back): Make it an obsolete alias.  Update callers.
6617         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6618         Use looking-back rather than viper-looking-back.
6619         (viper-tmp-insert-at-eob, viper-enlarge-region)
6620         (viper-read-string-with-history, viper-register-to-point)
6621         (viper-append-to-register, viper-change-state-to-vi)
6622         (viper-backward-char-carefully, viper-forward-char-carefully)
6623         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6624         (viper-change-state-to-emacs): Declare.
6625         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6626         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6627         * emulation/viper-mous.el: Do not load viper-cmd.
6628         (viper-backward-char-carefully, viper-forward-char-carefully)
6629         (viper-forward-word, viper-adjust-window): Declare.
6631         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6633         * progmodes/idlw-help.el (idlwave-help-fontify):
6634         Use called-interactively-p.
6636         * term/w32console.el (w32-get-console-codepage)
6637         (w32-get-console-output-codepage): Declare.
6639         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6640         Remove unnecessary declarations.
6641         (dframe-message): Doc fix.
6643         * info.el (dframe-select-attached-frame, dframe-current-frame):
6644         Declare.
6646         * speedbar.el (speedbar-message): Make it an obsolete alias.
6647         Update all callers.
6648         (speedbar-with-attached-buffer)
6649         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6650         (speedbar-with-writable): Use backquote.
6651         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6652         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6653         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6654         rather than speedbar- aliases.
6655         * mail/rmail.el: Load dframe rather than speedbar when compiling.
6656         (speedbar-make-specialized-keymap, speedbar-insert-button)
6657         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6658         (speedbar-do-function-pointer): Declare.
6659         (rmail-speedbar-button, rmail-speedbar-find-file)
6660         (rmail-speedbar-move-message):
6661         Use dframe-with-attached-buffer rather than speedbar- alias.
6662         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6663         (dframe-message, speedbar-make-specialized-keymap)
6664         (speedbar-add-expansion-list, speedbar-mode-functions-list)
6665         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6666         (speedbar-insert-button, dframe-select-attached-frame)
6667         (dframe-maybee-jump-to-attached-frame)
6668         (speedbar-change-initial-expansion-list)
6669         (speedbar-previously-used-expansion-list-name): Declare.
6670         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6671         Use dframe-message, dframe-with-attached-buffer rather than
6672         speedbar- aliases.
6673         (gud-sentinel): Silence compiler.
6674         * progmodes/vhdl-mode.el (speedbar-refresh)
6675         (speedbar-do-function-pointer, speedbar-add-supported-extension)
6676         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6677         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6678         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6679         (speedbar-file-lists, speedbar-make-tag-line)
6680         (speedbar-line-directory, speedbar-goto-this-file)
6681         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6682         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6683         (speedbar-make-button, speedbar-reset-scanners)
6684         (speedbar-files-item-info, speedbar-line-text)
6685         (speedbar-find-file-in-frame, speedbar-set-timer)
6686         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6687         (speedbar-with-writable): Do not (re)define it.
6688         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6689         rather than speedbar- alias.
6691 2013-05-21  Leo Liu  <sdl.web@gmail.com>
6693         * progmodes/octave.el (octave-mode-menu): Update and re-organize
6694         menu items.
6695         (octave-mode): Tweak fill-nobreak-predicate.
6696         (inferior-octave-startup): Check process to avoid infinite loop.
6697         (inferior-octave): Pop to buffer first to show abornmal process
6698         exit information.
6700 2013-05-21  Glenn Morris  <rgm@gnu.org>
6702         * printing.el (pr-menu-bar): Define when compiling.
6704 2013-05-21  Leo Liu  <sdl.web@gmail.com>
6706         * progmodes/octave.el (octave-auto-fill): Remove.
6707         (octave-indent-new-comment-line): Improve.
6708         (octave-mode): Use auto fill mode through
6709         comment-line-break-function and fill-nobreak-predicate.
6710         (octave-goto-function-definition): Support DEFUN_DLD.
6711         (octave-beginning-of-defun): Small tweak.
6712         (octave-help): Show parent directory.
6714 2013-05-21  Glenn Morris  <rgm@gnu.org>
6716         * files.el (dired-unmark):
6717         * progmodes/gud.el (gdb-input): Update declarations.
6719         * calculator.el (electric, ehelp): No need to load when compiling.
6720         (Electric-command-loop, electric-describe-mode): Declare.
6722         * doc-view.el (doc-view-current-converter-processes): Move before use.
6724         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6725         Move MODE-set-explicitly definition before use.
6727         * international/mule-diag.el (mule-diag):
6728         Don't use obsolete window-system-version.
6730         * mail/feedmail.el (smtpmail): No need to load when compiling.
6731         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6733         * mail/mail-utils.el (rfc822): No need to load when compiling.
6734         (rfc822-addresses): Autoload it.
6735         (mail-strip-quoted-names): Trivial simplification.
6737         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6738         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6740         * net/snmp-mode.el (tempo): Don't duplicate requires.
6742         * progmodes/prolog.el (info): No need to load when compiling.
6743         (comint): Require before shell requires it.
6744         (Info-goto-node): Autoload it.
6745         (Info-follow-nearest-node): Declare.
6746         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6748         * textmodes/artist.el (picture-mode-exit): Declare.
6750         * textmodes/reftex-parse.el (reftex-parse-from-file):
6751         Trivial rewrite so the compiler can parse it better.
6753 2013-05-20  Leo Liu  <sdl.web@gmail.com>
6755         * progmodes/octave.el (octave-help-mode-map)
6756         (octave-help-mode-finish-hook): New variables.
6757         (octave-help-mode, octave-help-mode-finish): New functions.
6758         (octave-help): Use octave-help-mode.
6760 2013-05-20  Glenn Morris  <rgm@gnu.org>
6762         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
6764 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
6766         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6767         start at point, so that expansion starting right after opening
6768         slash in a regexp is recognized.
6769         (ruby-syntax-before-regexp-re): New defvar, extracted from
6770         ruby-syntax-propertize-function.  Since the value of this regexp
6771         is looked up at runtime now, we should be able to turn
6772         `ruby-syntax-methods-before-regexp' into a defcustom later.
6773         (ruby-syntax-propertize-function): Split regexp matching into two
6774         parts, for opening and closing slashes.  That allows us to skip
6775         over string interpolations and support multiline regexps.
6776         Don't call `ruby-syntax-propertize-expansions', instead use another rule
6777         for them, which calls `ruby-syntax-propertize-expansion'.
6778         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6779         call to `ruby-syntax-propertize-function'.
6780         (ruby-syntax-propertize-expansion): Extracted from
6781         `ruby-syntax-propertize-expansions'.  Handles one expansion.
6782         (ruby-syntax-propertize-percent-literal): Leave point right after
6783         the percent symbol, so that the expression expansion rule can
6784         propertize the contents.
6785         (ruby-syntax-propertize-heredoc): Leave point at bol following the
6786         heredoc openers.
6787         (ruby-syntax-propertize-expansions): Remove.
6789 2013-05-18  Juri Linkov  <juri@jurta.org>
6791         * man.el (Man-default-man-entry): Remove `-' from the end
6792         of the default value.  (Bug#14400)
6794 2013-05-18  Glenn Morris  <rgm@gnu.org>
6796         * comint.el (comint-password-prompt-regexp):
6797         Allow "password for XXX" where XXX contains colons (eg https://...).
6799 2013-05-18  Leo Liu  <sdl.web@gmail.com>
6801         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6802         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
6803         (octave-source-directories): Don't check process.
6804         (octave-source-directories, octave-find-definition): Doc fix.
6806 2013-05-18  Glenn Morris  <rgm@gnu.org>
6808         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6809         Remove backspace/delete bindings.  (Bug#14392)
6811         * cus-dep.el (custom-make-dependencies): Sort the output.
6812         (custom-versions-load-alist): Convert comment to doc.
6814 2013-05-17  Leo Liu  <sdl.web@gmail.com>
6816         * newcomment.el (comment-search-backward): Stricter in finding
6817         comment start.  (Bug#14303)
6819         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6820         (octave-comment-start-skip): Properly anchored.
6822 2013-05-17  Leo Liu  <sdl.web@gmail.com>
6824         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6825         Clean up when turned off.  (Bug#14395)
6826         (smie--highlight-matching-block-overlay): No longer buffer-local.
6827         (smie-highlight-matching-block): Adjust.
6829 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
6831         Doc string fix for "nanoseconds" (Bug#14406).
6832         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6833         Fix doc string typo that had "nanoseconds" instead of "microseconds".
6835 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6837         * calc/calc-units.el (math-extract-units): Preserve powers
6838         of units.
6840 2013-05-17  Leo Liu  <sdl.web@gmail.com>
6842         * subr.el (delete-consecutive-dups): New function.
6843         * ido.el (ido-set-matches-1): Use it.
6844         * progmodes/octave.el (inferior-octave-completion-table): Use it.
6845         * ido.el (ido-remove-consecutive-dups): Remove.
6847 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6849         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6850         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6851         regexp-opt's `words'.
6853 2013-05-16  Leo Liu  <sdl.web@gmail.com>
6855         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6856         (smie--highlight-matching-block-overlay)
6857         (smie--highlight-matching-block-lastpos)
6858         (smie--highlight-matching-block-timer): New variables.
6859         (smie-highlight-matching-block): New function.
6860         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
6861         (smie-setup): Conditionally enable smie-blink-matching-open.
6863 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
6865         Sync with upstream verilog-mode r840.
6866         * progmodes/verilog-mode.el (verilog-mode-version)
6867         (verilog-mode-release-date): Update.
6868         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6869         (verilog-sig-tieoff): Fix string error on
6870         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
6871         (verilog-read-decls): Fix parameters confusing
6872         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
6874 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
6876         * subr.el (reveal-filename): New function.
6878         * loadup.el: Compute Emacs executable versions on MS-Windows,
6879         where executables have the .exe extension.  Add a hard link
6880         emacs-XX.YY.ZZ.exe on MS-Windows.
6882         * Makefile.in (XARGS_LIMIT): New variable.
6883         (custom-deps, finder-data, autoloads)
6884         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6885         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6886         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6887         (compile-main): Limit xargs according to $(XARGS_LIMIT).
6889 2013-05-16  Leo Liu  <sdl.web@gmail.com>
6891         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6892         (octave-mode-menu, octave-mode-map): Remove its uses.
6894 2013-05-16  Reto Zimmermann  <reto@gnu.org>
6896         Sync with upstream vhdl mode v3.34.2.
6897         * progmodes/vhdl-mode.el: Use `push' throughout.
6898         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6899         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6900         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
6901         (vhdl-actual-generic-name): New option to derive actual generic name.
6902         (vhdl-port-paste-signals): Replace formal by actual generics.
6903         (vhdl-beautify): New name for old group vhdl-align.  Update users.
6904         (vhdl-beautify-options): New option.
6905         (vhdl-last-input-event): New compat alias.  Use throughout.
6906         (vhdl-goto-line): Replace user level function `goto-line'.
6907         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6908         vhdl-fix-statement-buffer.
6909         (vhdl-create-mode-menu): Add some entries.
6910         (vhdl-align-region-groups): Respect vhdl-beautify-options.
6911         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6912         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6913         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6914         to force statements on one line.
6915         (vhdl-remove-trailing-spaces-region):
6916         New, split from vhdl-remove-trailing-spaces.
6917         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6918         Respect vhdl-beautify-options.
6919         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6920         (vhdl-update-sensitivity-list): Not add with index if exists without.
6921         Not include array index with signal.  Ignore keywords in comments.
6922         (vhdl-get-visible-signals): Regexp tweaks.
6923         (vhdl-template-component-inst): Handle empty library.
6924         (vhdl-template-type): Add template for 'enum' type.
6925         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6926         Use vhdl-replace-string.
6927         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6928         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6929         (vhdl-speedbar-initialize): Update for above name change.
6930         (vhdl-compose-wire-components): Fix in handling of constants.
6931         (vhdl-error-regexp-emacs-alist): New variable.
6932         (vhdl-error-regexp-add-emacs): New function;
6933         adds support for new compile.el (Emacs 22+)
6934         (vhdl-generate-makefile-1): Change target order for single lib. units.
6935         Allow use of absolute file names.
6937 2013-05-16  Leo Liu  <sdl.web@gmail.com>
6939         * simple.el (prog-indent-sexp): Indent enclosing defun.
6941 2013-05-15  Glenn Morris  <rgm@gnu.org>
6943         * cus-start.el (show-trailing-whitespace): Move to editing basics.
6944         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6945         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6946         (whitespace-highlight): Move to whitespace group.
6948         * comint.el (comint-source):
6949         * pcmpl-linux.el (pcmpl-linux):
6950         * shell.el (shell-faces):
6951         * eshell/esh-opt.el (eshell-opt):
6952         * international/ccl.el (ccl): Remove empty custom groups.
6954         * completion.el (dynamic-completion-mode):
6955         * jit-lock.el (jit-lock-debug-mode):
6956         * minibuffer.el (completion-in-region-mode):
6957         * type-break.el (type-break-mode-line-message-mode)
6958         (type-break-query-mode):
6959         * emulation/tpu-edt.el (tpu-edt-mode):
6960         * progmodes/subword.el (global-subword-mode, global-superword-mode):
6961         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6962         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6964         * term/xterm.el (xterm): Change parent group to terminals.
6966         * master.el (master): Remove empty custom group.
6967         (master-mode): Remove unused :group argument.
6968         * textmodes/refill.el (refill): Remove empty custom group.
6969         (refill-mode): Remove unused :group argument.
6971         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6973         * cus-dep.el: Provide a feature.
6974         (custom-make-dependencies): Ignore dotfiles (dir-locals).
6975         Don't mistakenly ignore files whose basenames match a basename
6976         from preloaded-file-list (eg cedet/ede/simple.el).
6977         Add a fallback method for getting :group.
6979 2013-05-15  Juri Linkov  <juri@jurta.org>
6981         * isearch.el (isearch-char-by-name): Rename from
6982         `isearch-insert-char-by-name'.  Doc fix.
6983         (isearch-forward): Mention `isearch-char-by-name' in
6984         the docstring.  (Bug#13348)
6986         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6987         `exit-minibuffer' instead of
6988         `isearch-nonincremental-exit-minibuffer'.
6989         (isearch-edit-string): Remove mention of
6990         `isearch-nonincremental-exit-minibuffer' from docstring.
6991         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6992         (isearch-forward-exit-minibuffer)
6993         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
6995 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6997         * loadup.el: Just use unversioned DOC.
6999         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7000         literals as extending to EOB.
7001         (nxml-last-fontify-end): Remove unused variable.
7002         (nxml-after-change1): Use with-silent-modifications.
7003         (nxml-extend-after-change-region): Simplify.
7004         (nxml-extend-after-change-region1): Remove function.
7005         (nxml-after-change1): Don't adjust for dependent regions.
7006         (nxml-fontify-matcher): Simplify.
7007         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7008         (xmltok-add-dependent): Remove function.
7009         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7010         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7011         (xmltok-scan-prolog-after-processing-instruction-open): Treat
7012         unclosed <[[, <?, comment, and other literals as extending to EOB.
7013         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7014         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7015         Remove functions.
7016         (rng-do-some-validation-1): Don't mark dependent regions.
7017         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7018         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7019         (nxml-clear-dependent-regions): Remove functions.
7020         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7021         (nxml-ensure-scan-up-to-date):
7022         Don't clear&mark dependent regions.
7024 2013-05-15  Leo Liu  <sdl.web@gmail.com>
7026         * progmodes/octave.el (octave-goto-function-definition):
7027         Improve and fix callers.
7029 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7031         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7032         the setter (bug#14387).
7034         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7035         surrounding group (bug#14402).
7037 2013-05-14  Juri Linkov  <juri@jurta.org>
7039         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7040         (Bug#14390)
7042 2013-05-14  Glenn Morris  <rgm@gnu.org>
7044         * progmodes/f90.el (f90-imenu-generic-expression):
7045         Fix typo in 2013-05-08 change.  (Bug#14402)
7047 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7049         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7050         Remove signals for which replies are never received.
7052 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7054         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7055         (gdb-handler-alist, gdb-handler-number): Remove variables.
7056         (gdb-handler-list): New variable.
7057         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7058         (gdb-pending-handler-p, gdb-handle-reply)
7059         (gdb-remove-all-pending-triggers): New functions.
7060         (gdb-discard-unordered-replies): New defcustom.
7061         (gdb-handler): New defstruct.
7062         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
7063         instead of gdb-pending-triggers.  Update docstring.
7064         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
7065         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7066         (gdb-var-update-handler, def-gdb-auto-update-trigger)
7067         (def-gdb-auto-update-handler, gdb-get-changed-registers)
7068         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7069         (gdb-frame-handler): Pending triggers are now automatically managed.
7070         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7071         Remove argument.
7072         (gdb-input): Automatically handles pending triggers.  Update docstring.
7073         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7074         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7075         Update comments.
7076         (gdb-done-or-error): Now use gdb-handle-reply.
7078 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7080         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7081         gdb-debug-log.
7083 2013-05-14  Glenn Morris  <rgm@gnu.org>
7085         * subr.el (user-emacs-directory-warning): New option.
7086         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
7088 2013-05-14  Leo Liu  <sdl.web@gmail.com>
7090         * progmodes/octave.el (octave-font-lock-keywords): Fix error
7091         during redisplay.
7092         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7093         (octave-font-lock-texinfo-comment): Fix invalid search bound
7094         error: wrong side of point.
7096 2013-05-14  Glenn Morris  <rgm@gnu.org>
7098         * progmodes/flymake.el (flymake-xml-program): New option.
7099         (flymake-xml-init): Use it.
7101         * term/xterm.el: Provide a feature.
7103         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
7105 2013-05-13  Glenn Morris  <rgm@gnu.org>
7107         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7108         Add compat aliases as a hack workaround.  (Bug#14384)
7110 2013-05-13  Leo Liu  <sdl.web@gmail.com>
7112         * progmodes/octave.el (octave-indent-comment): Fix indentation for
7113         ###, and %!.
7114         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7115         C-M-q.
7116         (octave-comment-start-skip): Include %!.
7117         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7119 2013-05-12  Leo Liu  <sdl.web@gmail.com>
7121         * progmodes/octave.el (inferior-octave-startup): Store the value
7122         of __octave_srcdir__ for octave-source-directories.
7123         (inferior-octave-check-process): New function refactored out of
7124         inferior-octave-send-list-and-digest.
7125         (octave-source-directories)
7126         (octave-find-definition-filename-function): New variables.
7127         (octave-source-directories)
7128         (octave-find-definition-default-filename): New functions.
7129         (octave-find-definition): Improve to find functions implemented in C++.
7131 2013-05-12  Glenn Morris  <rgm@gnu.org>
7133         * calendar/diary-lib.el (diary-outlook-format-1):
7134         Don't include dayname in the output.  (Bug#14349)
7136 2013-05-11  Glenn Morris  <rgm@gnu.org>
7138         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7140         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7141         Treat cc-provide like provide.
7143 2013-05-11  Kevin Ryde  <user42@zip.com.au>
7145         * cus-dep.el (custom-make-dependencies):
7146         Use generated-autoload-load-name for the sake of files such
7147         such cedet/semantic/bovine/c.el, where the base file name
7148         is not in load-path.  (Bug#5277)
7150 2013-05-11  Glenn Morris  <rgm@gnu.org>
7152         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7153         Provide features.
7155 2013-05-11  Leo Liu  <sdl.web@gmail.com>
7157         * progmodes/octave.el (octave-indent-comment): Improve.
7158         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7159         (octave-eldoc-function-signatures, octave-eldoc-function):
7160         New functions.
7161         (octave-mode, inferior-octave-mode): Add eldoc support.
7163 2013-05-11  Richard Stallman  <rms@gnu.org>
7165         * epa.el (epa-decrypt-file): Take output file name as argument
7166         and read it using `interactive'.
7168 2013-05-11  Leo Liu  <sdl.web@gmail.com>
7170         * progmodes/octave.el (octave-beginning-of-line)
7171         (octave-end-of-line): Check before using up-list because it jumps
7172         out of more syntactic contructs since moving to smie.
7173         (octave-indent-comment): New function.
7174         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
7175         (octave-begin-keywords, octave-end-keywords)
7176         (octave-reserved-words, octave-smie-bnf-table)
7177         (octave-smie-rules): Add new keywords from Octave 3.6.4.
7179 2013-05-11  Glenn Morris  <rgm@gnu.org>
7181         * faces.el (internal-face-x-get-resource):
7182         * frame.el (ns-display-monitor-attributes-list):
7183         * calc/calc-aent.el (math-to-radians-2):
7184         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7185         Fix declarations.
7187         * calc/calc-menu.el: Make it loadable in isolation.
7189         * net/eudcb-bbdb.el: Make it loadable without bbdb.
7190         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7191         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7192         (eudc-bbdb-query-internal): Require 'bbdb.
7194         * lpr.el (lpr-headers-switches):
7195         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7197         * progmodes/sql.el (sql-login-params): Fix and improve :type.
7199         * emulation/edt-mapper.el: In batch mode, error rather than hang.
7201         * term.el (term-set-escape-char): Make it idempotent.
7203 2013-05-10  Leo Liu  <sdl.web@gmail.com>
7205         * progmodes/octave.el (inferior-octave-completion-table):
7206         No longer a function and all uses changed.  Use cache to speed up
7207         completion due to bug#11906.
7208         (octave-beginning-of-defun): Re-write to be more general.
7210 2013-05-10  Glenn Morris  <rgm@gnu.org>
7212         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7214 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7216         * comint.el (comint-redirect-send-command-to-process): Use :around
7217         rather than :override for comint-redirect-filter.
7218         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7219         Call it instead of comint-redirect-original-filter-function (which
7220         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
7222 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
7224         * frame.el (display-monitor-attributes-list): Add NS case.
7225         (ns-display-monitor-attributes-list): Declare.
7227 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
7229         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
7231 2013-05-09  Glenn Morris  <rgm@gnu.org>
7233         * international/fontset.el (vertical-centering-font-regexp):
7234         Set standard-value.
7236         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7238         * bookmark.el (bookmark-search-delay):
7239         * cus-start.el (vertical-centering-font-regexp):
7240         * ps-mule.el (ps-mule-font-info-database-default):
7241         * ps-print.el (ps-default-fg, ps-default-bg):
7242         * type-break.el (type-break-good-break-interval):
7243         * whitespace.el (whitespace-indentation-regexp)
7244         (whitespace-space-after-tab-regexp):
7245         * emacs-lisp/testcover.el (testcover-1value-functions)
7246         (testcover-noreturn-functions, testcover-progn-functions)
7247         (testcover-prog1-functions):
7248         * emulation/viper-init.el (viper-emacs-state-cursor-color):
7249         * eshell/em-glob.el (eshell-glob-translate-alist):
7250         * play/tetris.el (tetris-tty-colors):
7251         * progmodes/cpp.el (cpp-face-default-list):
7252         * progmodes/flymake.el (flymake-allowed-file-name-masks):
7253         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7254         (idlwave-help-browser-generic-args):
7255         * progmodes/make-mode.el (makefile-special-targets-list):
7256         * progmodes/python.el (python-shell-virtualenv-path):
7257         * progmodes/verilog-mode.el (verilog-active-low-regexp)
7258         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7259         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7260         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7261         * textmodes/reftex-vars.el (reftex-format-label-function):
7262         * textmodes/remember.el (remember-diary-file): Fix custom types.
7264         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7265         Add :version.
7267 2013-05-09  Leo Liu  <sdl.web@gmail.com>
7269         * progmodes/octave.el (inferior-octave-completion-at-point):
7270         Restore file completion.  (Bug#14300)
7271         (inferior-octave-startup): Fix incorrect highlighting for the
7272         first prompt.
7274 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7276         * progmodes/ruby-mode.el: First cut at SMIE support.
7277         (ruby-use-smie): New var.
7278         (ruby-smie-grammar): New constant.
7279         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7280         (ruby-smie--forward-token, ruby-smie--backward-token)
7281         (ruby-smie-rules): New functions.
7282         (ruby-mode-variables): Setup SMIE if applicable.
7284 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
7286         * simple.el (line-move-visual): Signal beginning/end of buffer
7287         only if vertical-motion moved less than it was requested.  Avoids
7288         silly incorrect error messages when there are display strings with
7289         multiple newlines at EOL.
7291 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7293         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7294         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7295         (prolog-char-quote-workaround):
7296         * progmodes/cperl-mode.el (cperl-under-as-char):
7297         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7298         Mark as obsolete.
7299         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7300         their declaration.
7301         (vhdl-mode-syntax-table-init): Remove.
7303         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7304         last change.
7306         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7307         syntax for "_".
7308         (ld-script-font-lock-keywords):
7309         Change regexps to use things like \_< and \_>.
7311         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7312         Change all regexps to use things like \_< and \_>.
7314         * progmodes/autoconf.el (autoconf-definition-regexp)
7315         (autoconf-font-lock-keywords, autoconf-current-defun-function):
7316         Handle a _ with symbol syntax.
7317         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7319         * progmodes/ada-mode.el (ada-mode-abbrev-table):
7320         Consolidate declaration.
7321         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7322         the declaration.
7323         (ada-create-syntax-table): Remove.
7324         (ada-capitalize-word): Don't mess with the syntax of "_" since it
7325         already has the right syntax nowadays.
7326         (ada-goto-next-word): Don't change the syntax of "_".
7328         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7329         with-wrapper-hook.
7331 2013-05-08  Sam Steingold  <sds@gnu.org>
7333         * thingatpt.el (thing-at-point): Accept optional second argument
7334         NO-PROPERTIES to strip the text properties from the return value.
7335         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7336         to `thing-at-point' instead of stripping the properties ourselves.
7337         Also, when `thing-at-point' fails to find a url, prepend "http://"
7338         to the filename at point on the assumption that the user is
7339         pointing at something like gnu.org/gnu.
7341 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
7343         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7344         * faces.el (crm-separator):
7345         Silence byte-compiler.
7347         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7348         (tool-bar-map): Remove unneeded defvars.
7350 2013-05-08  Leo Liu  <sdl.web@gmail.com>
7352         Re-work a fix for bug#10994 based on Le Wang's patch.
7353         * ido.el (ido-remove-consecutive-dups): New helper.
7354         (ido-completing-read): Use it.
7355         (ido-chop): Revert fix for bug#10994.
7357 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
7359         * cus-edit.el (custom-save-variables):
7360         Pretty-print long values.  (Bug#14187)
7362 2013-05-08  Glenn Morris  <rgm@gnu.org>
7364         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7365         (m4-mode-syntax-table): Init in the defvar.
7366         (m4-mode-abbrev-table): Let define-derived-mode define it.
7368 2013-05-08  Tom Tromey  <tromey@redhat.com>
7370         * progmodes/m4-mode.el (m4-mode-syntax-table):
7371         Do not treat "_" as word constituent.  (Bug#14167)
7373 2013-05-07  Glenn Morris  <rgm@gnu.org>
7375         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7376         Remove explicit eshell-isearch-cancel-map.
7378         * progmodes/f90.el (f90-smart-end-names): New option.
7379         (f90-smart-end): Doc fix.
7380         (f90-end-block-optional-name): New constant.
7381         (f90-block-match): Respect f90-smart-end-names.
7383 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7385         * progmodes/octave.el (octave-smie-forward-token): Be more careful
7386         about implicit semi-colons (bug#14218).
7388 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7390         * frame.el (display-monitor-attributes-list)
7391         (frame-monitor-attributes): New functions.
7393 2013-05-06  Leo Liu  <sdl.web@gmail.com>
7395         * progmodes/octave.el (octave-syntax-propertize-function): Change
7396         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
7397         (octave-font-lock-keywords): Use octave-operator-regexp.
7398         (octave-completion-at-point): Rename from
7399         octave-completion-at-point-function.
7400         (inferior-octave-directory-tracker): Robustify.
7401         (octave-text-functions): Remove and fix its uses.  No such things
7402         any more.
7404 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7406         * emacs-lisp/trace.el (trace--display-buffer): New function.
7407         (trace-make-advice): Use it.
7409 2013-05-06  Juri Linkov  <juri@jurta.org>
7411         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
7412         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7413         Doc fix.
7414         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7415         in the help string.  (Bug#12985)
7417 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
7419         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
7421 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * progmodes/perl-mode.el: Add support for here documents.
7424         (perl-syntax-propertize-function): Match here-doc markers.
7425         (perl-syntax-propertize-special-constructs): Find their end.
7426         (perl-imenu-generic-expression): Use [:alnum:].
7428         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7429         (advice--add-function): Refresh the advice if already present
7430         (bug#14317).
7432 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
7434         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
7436 2013-05-06  Glenn Morris  <rgm@gnu.org>
7438         * w32-fns.el (w32-charset-info-alist): Declare.
7440         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7441         of its defcustom properties.
7442         (eshell-cmpl-initialize): No need to load pcomplete.
7444         * generic-x.el: No need to require comint when compiling.
7446         * net/eudc-export.el: Make it loadable without bbdb.
7447         (top-level): Use require rather than load-library.
7448         (eudc-create-bbdb-record, eudc-bbdbify-phone)
7449         (eudc-batch-export-records-to-bbdb)
7450         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7451         Require bbdb.
7453 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7455         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7456         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7457         some tweaks, instead.
7459 2013-05-05  Leo Liu  <sdl.web@gmail.com>
7461         * progmodes/octave.el (octave-font-lock-keywords)
7462         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7463         (inferior-octave-send-list-and-digest): Improve error message.
7464         (octave-mode, inferior-octave-mode): Use setq-local.
7465         (octave-help): Set info-lookup-mode.
7467 2013-05-05  Richard Stallman  <rms@gnu.org>
7469         * vc/compare-w.el (compare-windows-whitespace):
7470         Treat no-break space as whitespace.
7472         * mail/rmailsum.el (rmail-summary-rmail-update):
7473         Detect empty summary and don't change selected message.
7474         (rmail-summary-goto-msg): Likewise.
7476         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7477         Doc fixes, rename args.
7479 2013-05-05  Alan Mackenzie  <acm@muc.de>
7481         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7483 2013-05-05  Juri Linkov  <juri@jurta.org>
7485         * info.el (Info-read-subfile): Use (point-min) instead of (point)
7486         to not add the length of the summary segment to the return value.
7487         (Bug#14125)
7489 2013-05-05  Leo Liu  <sdl.web@gmail.com>
7491         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7492         (inferior-octave-output-filter): Remove.
7493         (octave-send-region, inferior-octave-startup): Fix callers.
7494         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7495         (octave-binary-file-extensions): New user variable.
7496         (octave-find-definition): Confirm if opening binary files.
7497         (octave-help-file): Use octave-find-definition to get the binary
7498         confirmation.
7499         (octave-help): Adjust for octave-help-file change.
7501 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7503         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7504         Merge the two entries that handle function definitions.
7505         (pascal--syntax-propertize): New const.
7506         (pascal-mode): Use it.  Use setq-local.
7508 2013-05-04  Glenn Morris  <rgm@gnu.org>
7510         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7511         (diary-from-outlook): Respect diary-from-outlook-function.
7513 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7515         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7516         Move the declaration from C.
7517         (read-minibuffer, eval-minibuffer): Move from C.
7518         (completion-setup-function): Avoid minibuffer-completion-contents.
7520 2013-05-03  Leo Liu  <sdl.web@gmail.com>
7522         * progmodes/octave.el (octave-font-lock-keywords): Do not
7523         dehighlight 'end' in comments or strings.
7524         (octave-completing-read, octave-goto-function-definition):
7525         New helpers.
7526         (octave-help-buffer): New user variable.
7527         (octave-help-file, octave-help-function): New button types.
7528         (octave-help): New command and bind it to C-h ;.
7529         (octave-find-definition): New command and bind it to M-.
7530         (user-error): Alias to error if not defined.
7532 2013-05-02  Leo Liu  <sdl.web@gmail.com>
7534         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7535         for \.  (bug#14332)
7536         (octave-font-lock-keywords): Include [ and {.
7538 2013-05-02  Leo Liu  <sdl.web@gmail.com>
7540         * progmodes/octave.el (inferior-octave-startup-file): Change default.
7541         (inferior-octave): Remove calling comint-mode and return the buffer.
7542         (inferior-octave-startup): Cosmetic changes.
7544 2013-05-02  Leo Liu  <sdl.web@gmail.com>
7546         * progmodes/octave.el (octave-syntax-propertize-function):
7547         Include the case when ' is at line beginning.  (Bug#14336)
7549 2013-05-02  Glenn Morris  <rgm@gnu.org>
7551         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7552         * desktop.el (vc-dir-mode): Just autoload it here.
7554 2013-05-02  Alan Mackenzie  <acm@muc.de>
7556         Eliminate variable c-standard-font-lock-fontify-region-function.
7557         * progmodes/cc-mode.el
7558         (c-standard-font-lock-fontify-region-function): Remove.
7559         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7561 2013-05-01  Leo Liu  <sdl.web@gmail.com>
7563         * progmodes/octave.el: Compatible with older emacs-24 releases.
7564         (inferior-octave-has-built-in-variables): Remove.  Built-in
7565         variables were removed from Octave in 2007.
7566         (inferior-octave-startup): Fix uses.
7567         (comint-line-beginning-position): Remove compatibility code for
7568         emacs 21.
7570 2013-05-01  Juri Linkov  <juri@jurta.org>
7572         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
7574 2013-05-01  Juri Linkov  <juri@jurta.org>
7576         * comint.el (comint-previous-matching-input): Don't print message
7577         "History item: %d" when `isearch-mode' is active.
7578         (comint-history-isearch-message): Print message "History item: %d"
7579         when `comint-input-ring-index' is not empty and this function is
7580         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
7582 2013-05-01  Leo Liu  <sdl.web@gmail.com>
7584         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7585         definitions.  Use completion-at-point to insert keywords.
7586         (octave-abbrev-start): Remove.
7587         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7589 2013-04-30  Leo Liu  <sdl.web@gmail.com>
7591         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7592         change.
7594 2013-04-30  Alan Mackenzie  <acm@muc.de>
7596         Handle arbitrarily long C++ member initialisation lists.
7597         * progmodes/cc-engine.el (c-back-over-member-initializers):
7598         new function.
7599         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7600         (most) member init lists.
7602 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7604         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7605         variable.
7607 2013-04-30  Leo Liu  <sdl.web@gmail.com>
7609         * progmodes/octave.el (octave-variables): Remove.  No builtin
7610         variables any more.  All converted to functions.
7611         (octave-font-lock-keywords, octave-completion-at-point-function):
7612         Fix uses.
7613         (octave-font-lock-texinfo-comment): New user variable.
7614         (octave-texinfo-font-lock-keywords): New variable for texinfo
7615         comment block.
7616         (octave-function-comment-block): New face.
7617         (octave-font-lock-texinfo-comment): New function.
7618         (octave-mode): Font lock texinfo comment block.
7620 2013-04-29  Leo Liu  <sdl.web@gmail.com>
7622         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7623         indexing expression.
7624         (octave-continuation-string): Do not use \.
7625         (inferior-octave-complete-impossible): Remove.
7626         (inferior-octave-completion-table)
7627         (inferior-octave-completion-at-point): Remove its uses.
7628         (inferior-octave-startup): completion_matches was introduced to
7629         Octave in 1996 so safe to assume it.
7630         (octave-function-file-comment): Improve to follow how Octave does it.
7631         (octave-update-function-file-comment): Tweak.
7633 2013-04-29  Leo Liu  <sdl.web@gmail.com>
7635         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7636         (inferior-octave-startup): Remove inferior-octave-startup-hook.
7637         (octave-function-file-comment): Fix typo.
7638         (octave-sync-function-file-names): Use read-char-choice.
7640 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
7642         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7643         to t for the less important warnings.
7645 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
7647         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
7649 2013-04-27  Glenn Morris  <rgm@gnu.org>
7651         * vc/log-view.el (log-view-current-entry):
7652         Treat "---" separator lines as part of the following rev.  (Bug#14169)
7654 2013-04-27  Juri Linkov  <juri@jurta.org>
7656         * subr.el (read-number): Doc fix about using it by interactive
7657         code letter `n'.  (Bug#14254)
7659 2013-04-27  Juri Linkov  <juri@jurta.org>
7661         * desktop.el (desktop-auto-save-timeout): New option.
7662         (desktop-file-checksum): New variable.
7663         (desktop-save): Add optional arg `auto-save' and don't auto-save
7664         if nothing changed.
7665         (desktop-auto-save-timer): New variable.
7666         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7667         (after-init-hook): Call `desktop-auto-save-set-timer'.
7668         Suggested by Reuben Thomas <rrt@sc3d.org> in
7669         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7671 2013-04-27  Leo Liu  <sdl.web@gmail.com>
7673         * progmodes/octave.el (octave-function-file-p)
7674         (octave-skip-comment-forward, octave-function-file-comment)
7675         (octave-update-function-file-comment): New functions.
7676         (octave-mode-map): Bind C-c ; to
7677         octave-update-function-file-comment.
7678         (octave-mode-menu): Add octave-update-function-file-comment.
7679         (octave-mode, inferior-octave-mode): Fix doc-string.
7680         (octave-insert-defun): Conform to Octave's coding convention.
7681         (Bug#14285)
7683         * files.el (basic-save-buffer): Don't let errors in
7684         before-save-hook prevent saving buffer.
7686 2013-04-20  Roland Winkler  <winkler@gnu.org>
7688         * faces.el (read-face-name): Use completing-read if arg multiple
7689         is nil.
7691 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
7693         * ls-lisp.el (ls-lisp-insert-directory): If no files are
7694         displayed, move point to after the totals line.
7695         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7696         for the details.
7698 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7700         * emacs-lisp/package.el (package-autoload-ensure-default-file):
7701         Add current dir to the load-path.
7702         (package-generate-autoloads): Don't rely on
7703         autoload-ensure-default-file.
7705 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
7707         * textmodes/remember.el (remember-store-in-files): Document that
7708         the file name format is passed to `format-time-string'.
7710 2013-04-26  Leo Liu  <sdl.web@gmail.com>
7712         * progmodes/octave.el (octave-sync-function-file-names): New function.
7713         (octave-mode): Use it in before-save-hook.
7715 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7717         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7718         (bug#14274).
7720         * progmodes/octave.el (octave-smie-forward-token): Properly skip
7721         \n and comment, even if it's not an implicit ; (bug#14218).
7723 2013-04-26  Glenn Morris  <rgm@gnu.org>
7725         * subr.el (read-number): Once more use `read' rather than
7726         `string-to-number', to trap non-numeric input.  (Bug#14254)
7728 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
7730         * emacs-lisp/syntax.el (syntax-propertize-multiline):
7731         Use `syntax-multiline' text property consistently instead of
7732         `font-lock-multiline'.  (Bug#14237)
7734 2013-04-26  Glenn Morris  <rgm@gnu.org>
7736         * emacs-lisp/shadow.el (list-load-path-shadows):
7737         No longer necessary to check for duplicate simple.el, since
7738         2012-07-07 change to init_lread to not include installation lisp
7739         directories in load-path when running uninstalled.  (Bug#14270)
7741 2013-04-26  Leo Liu  <sdl.web@gmail.com>
7743         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7744         (octave-mode, inferior-octave-mode): Use setq-local.
7745         (octave-not-in-string-or-comment-p): Rename to
7746         octave-in-string-or-comment-p.
7747         (octave-in-comment-p, octave-in-string-p)
7748         (octave-in-string-or-comment-p): Replace defsubst with defun.
7750 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
7752         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7754 2013-04-25  Bastien Guerry  <bzg@gnu.org>
7756         * textmodes/remember.el (remember-data-directory)
7757         (remember-directory-file-name-format): Fix custom types.
7759 2013-04-25  Leo Liu  <sdl.web@gmail.com>
7761         * progmodes/octave.el (octave-completion-at-point-function):
7762         Make use of inferior octave process.
7763         (octave-initialize-completions): Remove.
7764         (inferior-octave-completion-table): New function.
7765         (inferior-octave-completion-at-point): Use it.
7766         (octave-completion-alist): Remove.
7768 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7770         * progmodes/opascal.el: Use font-lock and syntax-propertize.
7771         (opascal-mode-syntax-table): New var.
7772         (opascal-literal-kind, opascal-is-literal-end)
7773         (opascal-literal-token-at): Rewrite.
7774         (opascal--literal-start-re, opascal-font-lock-keywords)
7775         (opascal--syntax-propertize): New constants.
7776         (opascal-font-lock-defaults): Adjust.
7777         (opascal-mode): Use them.  Set comment-<foo> variables as well.
7778         (delphi-comment-face, opascal-comment-face, delphi-string-face)
7779         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7780         (delphi-other-face, opascal-other-face): Remove face variables.
7781         (opascal-save-state): Remove macro.
7782         (opascal-fontifying-progress-step): Remove constant.
7783         (opascal--ignore-changes): Remove var.
7784         (opascal-set-token-property, opascal-parse-next-literal)
7785         (opascal-is-stable-literal, opascal-complete-literal)
7786         (opascal-is-literal-start, opascal-face-of)
7787         (opascal-parse-region, opascal-parse-region-until-stable)
7788         (opascal-fontify-region, opascal-after-change)
7789         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7790         (opascal-debug-parse-region, opascal-debug-parse-window)
7791         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7792         (opascal-debug-fontify-buffer): Remove.
7793         (opascal-debug-mode-map): Adjust accordingly.
7795 2013-04-25  Leo Liu  <sdl.web@gmail.com>
7797         Merge octave-mod.el and octave-inf.el into octave.el with some
7798         cleanups.
7799         * progmodes/octave.el: New file renamed from octave-mod.el.
7800         * progmodes/octave-inf.el: Merged into octave.el.
7801         * progmodes/octave-mod.el: Renamed to octave.el.
7803 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
7805         * textmodes/reftex-vars.el
7806         (reftex-label-ignored-macros-and-environments): New defcustom.
7808         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7810 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7812         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7813         (smie-indent-keyword): Improve the check to ensure that the next
7814         comment is really on the same line.
7815         (smie-indent-comment): Don't align with a subsequent closer (or eob).
7817         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7818         semi-colons if the line is not otherwise empty (bug#14218).
7820 2013-04-25  Glenn Morris  <rgm@gnu.org>
7822         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7824 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7826         * progmodes/opascal.el (opascal-set-token-property): Rename from
7827         opascal-set-text-properties and only set `token' (bug#14134).
7828         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7829         (opascal-literal-text-properties): Remove.
7830         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7831         Adjust callers.
7833 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
7835         * textmodes/remember.el (remember-handler-functions): Add an
7836         option for a new handler `remember-store-in-files'.
7837         (remember-data-directory, remember-directory-file-name-format):
7838         New options.
7839         (remember-store-in-files): New function to store remember notes
7840         as separate files within a directory.
7842 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
7844         * progmodes/compile.el (compilation-next-error-function):
7845         Pass "formats" to compilation-find-file (bug#11777).
7847 2013-04-24  Glenn Morris  <rgm@gnu.org>
7849         * vc/vc-bzr.el (vc-bzr-print-log):
7850         * vc/vc-hg.el (vc-hg-print-log):
7851         * vc/vc-svn.el (vc-svn-print-log):
7852         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
7854         * vc/vc-bzr.el (vc-bzr-print-log):
7855         * vc/vc-cvs.el (vc-cvs-print-log):
7856         * vc/vc-git.el (vc-git-print-log):
7857         * vc/vc-hg.el (vc-hg-print-log):
7858         * vc/vc-mtn.el (vc-mtn-print-log):
7859         * vc/vc-rcs.el (vc-rcs-print-log):
7860         * vc/vc-sccs.el (vc-sccs-print-log):
7861         * vc/vc-svn.el (vc-svn-print-log):
7862         * vc/vc.el (vc-print-log-internal): Doc fixes.
7864 2013-04-23  Glenn Morris  <rgm@gnu.org>
7866         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7867         Remove venerable code attempting to avoid substitute-command-keys.
7869 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
7871         * textmodes/reftex-vars.el (reftex-label-regexps):
7872         Call `reftex-compile-variables' after changes to this variable.
7874 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7876         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7877         Use lexical-binding.
7878         (jit-lock-force-redisplay): Use markers, check buffer's continued
7879         existence and beware narrowed buffers.
7880         (jit-lock-fontify-now): Adjust call accordingly.
7882 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7885         to avoid misleading the user.
7887 2013-04-22  Leo Liu  <sdl.web@gmail.com>
7889         * info-look.el: Prefer latex2e.info.  (Bug#14240)
7891 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
7893         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
7895         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7896         * net/tramp.el (tramp-call-process): ... here.
7897         (tramp-set-completion-function, tramp-parse-putty):
7898         * net/tramp-adb.el (tramp-adb-execute-adb-command):
7899         * net/tramp-gvfs.el (tramp-gvfs-send-command):
7900         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7901         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7902         (tramp-call-local-coding-command): Use `tramp-call-process'
7903         instead of `tramp-compat-call-process'.
7905         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7906         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7907         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7908         (tramp-find-inline-compress): Improve traces.
7909         (tramp-maybe-send-script): Check for Perl binary.
7910         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7912 2013-04-22  Daiki Ueno  <ueno@gnu.org>
7914         * epg.el (epg-context-pinentry-mode): New function.
7915         (epg-context-set-pinentry-mode): New function.
7916         (epg--start): Pass --pinentry-mode option to gpg command.
7918 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
7920         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7921         `comint-dynamic-complete' is obsolete since 24.1, replaced by
7922         `completion-at-point'.  (Bug#13774)
7924         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7925         default key binding for `describe-distribution' has been moved to
7926         `C-h C-o'.  (Bug#13970)
7928 2013-04-21  Glenn Morris  <rgm@gnu.org>
7930         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7931         Add doc strings.
7932         (vc-print-log): Clarify interactive prompt.
7934 2013-04-20  Glenn Morris  <rgm@gnu.org>
7936         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7937         No longer include timestamp etc information.
7939 2013-04-20  Roland Winkler  <winkler@gnu.org>
7941         * faces.el (read-face-name): Bug fix, return just one face if arg
7942         multiple is nil.  (Bug#14209)
7944 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7947         (remove-function): Autoload.
7949         * comint.el (comint-redirect-original-filter-function): Remove.
7950         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7951         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7952         (vc-cvs-annotate-command):
7953         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7954         * progmodes/prolog.el (prolog-consult-compile):
7955         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7956         Use add/remove-function instead.
7957         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7958         (gud-tooltip-process-output, gud-tooltip-tips):
7959         Use add/remove-function instead.
7960         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7961         (scheme-interaction-mode, exit-scheme-interaction-mode):
7962         Use add/remove-function instead.
7964         * vc/vc-dispatcher.el: Use lexical-binding.
7965         (vc--process-sentinel): Rename from vc-process-sentinel.
7966         Change last arg to be the code to run.  Don't use vc-previous-sentinel
7967         and vc-sentinel-commands any more.
7968         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
7969         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7971 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
7973         * progmodes/sh-script.el (sh-imenu-generic-expression):
7974         Handle function names with a single character.   (Bug#14111)
7976 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
7978         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7979         for subroutines defined in an eval (bug#14182).
7981 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7983         * bookmark.el (bookmark-completing-read): Improve handling of empty
7984         string (bug#14176).
7986 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7988         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7990 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7992         New faster Imenu implementation (bug#14058).
7993         * progmodes/python.el:
7994         (python-imenu-prev-index-position):
7995         (python-imenu-format-item-label-function)
7996         (python-imenu-format-parent-item-label-function)
7997         (python-imenu-format-parent-item-jump-label-function):
7998         New vars.
7999         (python-imenu-format-item-label)
8000         (python-imenu-format-parent-item-label)
8001         (python-imenu-format-parent-item-jump-label)
8002         (python-imenu--put-parent, python-imenu--build-tree)
8003         (python-imenu-create-index, python-imenu-create-flat-index)
8004         (python-util-popn): New functions.
8005         (python-mode): Set imenu-create-index-function to
8006         python-imenu-create-index.
8008 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8010         * winner.el (winner-active-region): Use region-active-p, activate-mark
8011         and deactivate-mark (bug#14225).
8013         * simple.el (deactivate-mark): Don't inline it.
8015 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
8017         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8019 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
8021         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8022         file extensions from the archive-mode entry in order to prefer
8023         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8025 2013-04-18  Leo Liu  <sdl.web@gmail.com>
8027         * bindings.el (help-event-list): Add ?\?.
8029 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8031         * subr.el (with-wrapper-hook): Declare obsolete.
8032         * simple.el (filter-buffer-substring-function): New hook.
8033         (filter-buffer-substring): Use it.
8034         (filter-buffer-substring-functions): Mark obsolete.
8035         * minibuffer.el (completion-in-region-function): New hook.
8036         (completion-in-region): Use it.
8037         (completion-in-region-functions): Mark obsolete.
8038         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8039         * abbrev.el (abbrev-expand-function): New hook.
8040         (expand-abbrev): Use it.
8041         (abbrev-expand-functions): Mark obsolete.
8042         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8043         and :filter-return.
8045 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8047         * progmodes/python.el (python-nav--syntactically): Fix cornercases
8048         and do not care about match data.
8050 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8052         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8053         completion tables when completing error conditions and
8054         `declare' arguments.
8055         (lisp-complete-symbol, field-complete): Mark as obsolete.
8056         (check-parens): Unmatched parens are user errors.
8057         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8059 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
8061         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8062         command changed buffer (ie. `flyspell-pre-buffer' is not current
8063         buffer), which prevents making decisions based on invalid value of
8064         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
8065         cause an error when `flyspell-pre-point' was nil after switching
8066         buffers.
8067         (flyspell-post-command-hook): No longer needs to change buffers when
8068         checking pre-word.  While at it remove unnecessary progn.
8070 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
8072         * textmodes/ispell.el (ispell-add-per-file-word-list):
8073         Fix `flyspell-correct-word-before-point' error when accepting
8074         words and `coment-padding' is an integer by using
8075         `comment-normalize-vars' (Bug #14214).
8077 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8079         New defun movement commands.
8080         * progmodes/python.el (python-nav--syntactically)
8081         (python-nav--forward-defun, python-nav-backward-defun)
8082         (python-nav-forward-defun): New functions.
8084 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8086         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8087         (python-syntax-context): Use named compiler-macro for backwards
8088         compatibility with Emacs 24.x.
8090 2013-04-17  Leo Liu  <sdl.web@gmail.com>
8092         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8093         octave-hide-process-buffer.
8095 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8097         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8098         (bug#14216).
8100 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
8102         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8103         Fix adjustment of offset when receiving incomplete responses from GDB
8104         (bug#14129).
8106 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8108         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8109         python-mode-abbrev-table.
8110         (python-skeleton-define): Adjust accordingly.
8111         (python-mode-abbrev-table): New table that inherits from it so that
8112         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8114         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8115         (abbrev-symbol): Use it.
8116         (abbrev--before-point): Use it since we already handle inheritance.
8118 2013-04-16  Leo Liu  <sdl.web@gmail.com>
8120         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8121         binding to info-lookup-symbol.
8123 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
8125         * minibuffer.el (completion--twq-all):
8126         * term/ns-win.el (ns-initialize-window-system):
8127         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8129 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8131         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8132         global bindings.
8134         * doc-view.el (doc-view-start-process): Handle url-handler directories.
8136 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
8138         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8139         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8140         to nil.
8141         (ruby-end-of-defun): Remove the unused arg, change the docstring
8142         to reflect that this function is only used as the value of
8143         `end-of-defun-function'.
8144         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8145         to reflect an earlier change that beginning/end-of-defun functions
8146         jump between methods in a class definition, as well as top-level
8147         functions.
8149 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * minibuffer.el (minibuffer-complete): Don't just scroll
8152         a *Completions* that's been iconified.
8153         (minibuffer-force-complete): Make sure repetitions do cycle when going
8154         through completion-in-region -> minibuffer-complete.
8156 2013-04-15  Alan Mackenzie  <acm@muc.de>
8158         Correct the placement of c-cpp-delimiters when there're #s not at
8159         col 0.
8161         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8162         place a submatch around the #.
8163         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8164         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
8165         on the #, not BOL.
8167 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8169         * emacs-lisp/nadvice.el: Properly test names when adding advice.
8170         (advice--member-p): New arg `name'.
8171         (advice--add-function, advice-member-p): Use it (bug#14202).
8173 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
8175         Reformulate java imenu-generic-expression.
8176         The old expression contained ill formed regexps.
8178         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8179         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8180         (cc-imenu-java-method-arg-regexp): New defconsts.
8181         (cc-imenu-java-build-type-args-regex): New defun.
8182         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8183         handling of spaces in the regexp.
8185 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8187         * textmodes/ispell.el (ispell-command-loop): Remove
8188         flyspell highlight of a word when ispell accepts it (bug #14178).
8190 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
8192         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8193         uses code from the previous `ange-ftp-run-real-handler'.
8194         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8195         only in case that function exist.  This is needed for proper
8196         unloading of Tramp.
8198 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
8200         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8202         * textmodes/reftex.el (reftex-compile-variables): Use it.
8204 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8206         * files.el (normal-mode): Only use default major-mode if no other mode
8207         was specified.
8209         * emacs-lisp/trace.el (trace-values): New function.
8211         * files.el: Allow : in local variables (bug#14089).
8212         (hack-local-variable-regexp): New var.
8213         (hack-local-variables-prop-line, hack-local-variables): Use it.
8215 2013-04-13  Roland Winkler  <winkler@gnu.org>
8217         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
8218         data before it gets modified by bibtex-beginning-of-entry.
8220 2013-04-13  Roland Winkler  <winkler@gnu.org>
8222         * textmodes/bibtex.el (bibtex-url): Doc fix.
8224 2013-04-13  Roland Winkler  <winkler@gnu.org>
8226         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8227         does not visit a BibTeX file, exclude it from the list of buffers
8228         returned by bibtex-initialize.
8230 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
8232         * window.el (split-window): Remove interactive form, since as a
8233         command this function is a special case of split-window-below.
8234         Correct doc string.
8236 2013-04-12  Roland Winkler  <winkler@gnu.org>
8238         * faces.el (read-face-name): Do not override value of arg default.
8239         Allow single faces and strings as default values.  Remove those
8240         elements from return value that are not faces.
8241         (describe-face): Simplify.
8242         (face-at-point): New optional args thing and multiple so that this
8243         function can provide the same functionality previously provided by
8244         read-face-name.
8245         (make-face-bold, make-face-unbold, make-face-italic)
8246         (make-face-unitalic, make-face-bold-italic, invert-face)
8247         (modify-face, read-face-and-attribute): Use face-at-point.
8249         * cus-edit.el (customize-face, customize-face-other-window)
8250         * cus-theme.el (custom-theme-add-face)
8251         * face-remap.el (buffer-face-set)
8252         * facemenu.el (facemenu-set-face): Use face-at-point.
8254 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
8256         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8258 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
8260         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8261         off leading { and trailing } from field values.
8263 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8265         * emacs-lisp/timer.el (timer--check): New function.
8266         (timer--time, timer-set-function, timer-event-handler): Use it.
8267         (timer-set-idle-time): Simplify.
8268         (timer--activate): CSE.
8269         (timer-event-handler): Give more info in error message.
8270         (internal-timer-start-idle): New function, moved from C.
8272         * mpc.el (mpc-proc): Add `restart' argument.
8273         (mpc-proc-cmd): Use it.
8274         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8275         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8276         less often.
8278 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
8280         * progmodes/sh-script.el: Implement `sh-mode' own
8281         `add-log-current-defun-function' (bug#14112).
8282         (sh-current-defun-name): New function.
8283         (sh-mode): Use the function.
8285 2013-04-09  Bastien Guerry  <bzg@gnu.org>
8287         * simple.el (choose-completion-string): Fix docstring (bug#14163).
8289 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8291         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8293         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8294         timer (bug#14156).
8296 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
8298         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8299         declaration.
8301 2013-04-07  Leo Liu  <sdl.web@gmail.com>
8303         * pcmpl-x.el: New file.
8305 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
8307         Do not set x-display-name until X connection is established.
8308         This is needed to prevent from weird situation described at
8309         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8310         * frame.el (make-frame): Set x-display-name after call to
8311         window system initialization function, not before.
8312         * term/x-win.el (x-initialize-window-system): Add optional
8313         display argument and use it.
8314         * term/w32-win.el (w32-initialize-window-system):
8315         * term/ns-win.el (ns-initialize-window-system):
8316         * term/pc-win.el (msdos-initialize-window-system):
8317         Add compatible optional display argument.
8319 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
8321         * files.el (normal-backup-enable-predicate): On MS-Windows and
8322         MS-DOS compare truenames of temporary-file-directory and of the
8323         file, so that 8+3 aliases (usually found in $TEMP on Windows)
8324         don't fail comparison by compare-strings.  Also, compare file
8325         names case-insensitively on MS-Windows and MS-DOS.
8327 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8329         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8330         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8332 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
8334         * whitespace.el (whitespace-color-on, whitespace-color-off):
8335         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8337 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
8339         * ispell.el (ispell-set-spellchecker-params):
8340         Really set `ispell-args' for all equivs.
8342 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * ido.el (ido-completions): Use extra elements of ido-decorations
8345         (bug#14143).
8346         (ido-decorations): Update docstring.
8348 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
8350         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8351         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8352         nil during initialization, in order not to miss changes since the
8353         file was opened.  (Bug#14140)
8355 2013-04-05  Leo Liu  <sdl.web@gmail.com>
8357         * kmacro.el (kmacro-call-macro): Fix bug#14135.
8359 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
8361         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8363 2013-04-04  Glenn Morris  <rgm@gnu.org>
8365         * electric.el (electric-pair-inhibit-predicate): Add :version.
8367 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8369         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8370         when a package is required several times (bug#14082).
8372 2013-04-04  Roland Winkler  <winkler@gnu.org>
8374         * faces.el (read-face-name): Behave as promised by the docstring.
8375         Assume that arg default is a list of faces.
8376         (describe-face): Call read-face-name with list of default faces.
8378 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8380         * bookmark.el: Fix deletion of bookmarks (bug#13972).
8381         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8382         (bookmark-bmenu-execute-deletions): Only skip first line if it's
8383         the header.
8384         (bookmark-exit-hook-internal): Save even if list is empty.
8386 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
8388         * emacs-lisp/package.el (package-pinned-packages): New var.
8389         (package--add-to-archive-contents): Obey it (bug#14118).
8391 2013-04-03  Alan Mackenzie  <acm@muc.de>
8393         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8394         Also adapt to the new values of element 7 of a parse state.
8396         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8397         parameter `not-in-delimiter'.  Handle being inside comment opener.
8398         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8399         character in case we're typing a '*' after a '/'.
8400         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8401         instead by passing the parameter to c-state-pp-to-literal.
8403         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8404         for elt. 7 of a parse state.
8406 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
8408         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8409         * international/latin1-disp.el, international/mule-util.el:
8410         * language/cyril-util.el, language/european.el, language/ind-util.el:
8411         * language/lao-util.el, language/thai.el, language/tibet-util.el:
8412         * language/tibetan.el, language/viet-util.el:
8413         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8415 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8417         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8418         (electric-pair-post-self-insert-function): Use it.
8419         (electric-pair-default-inhibit): New function, extracted from
8420         electric-pair-post-self-insert-function.
8422 2013-03-31  Roland Winkler  <winkler@gnu.org>
8424         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8426 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8428         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8430 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
8432         Un-indent after "pass" and "return" statements (Bug#13888)
8433         * progmodes/python.el (python-indent-block-enders): New var.
8434         (python-indent-calculate-indentation): Use it.
8436 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
8438         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8439         defun.  Defining it as defalias could introduce too eager
8440         byte-compiler optimization.  (Bug#14030)
8442 2013-03-30  Chong Yidong  <cyd@gnu.org>
8444         * iswitchb.el (iswitchb-read-buffer): Fix typo.
8446 2013-03-30  Leo Liu  <sdl.web@gmail.com>
8448         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8449         (kmacro-execute-from-register): Pass the keyboard macro to
8450         kmacro-call-macro or repeating won't work correctly.
8452 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
8454         * progmodes/subword.el: Back to using `forward-symbol'.
8456         * subr.el (forward-whitespace, forward-symbol)
8457         (forward-same-syntax): Move from thingatpt.el.
8459 2013-03-29  Leo Liu  <sdl.web@gmail.com>
8461         * kmacro.el (kmacro-to-register): New command.
8462         (kmacro-execute-from-register): New function.
8463         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
8465 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8467         * mpc.el: Use defvar-local and setq-local.
8468         (mpc--proc-connect): Connection failures are not bugs.
8469         (mpc-mode-map): `follow-link' only applies to the buffer's content.
8470         (mpc-volume-map): Bind to the up-events.
8472 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
8474         * progmodes/subword.el (superword-mode): Use `forward-sexp'
8475         instead of `forward-symbol'.
8477 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8479         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8480         (edebug--recursive-edit): Use it.
8481         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8482         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8484 2013-03-28  Leo Liu  <sdl.web@gmail.com>
8486         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
8488 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
8490         * facemenu.el (list-colors-callback): New defvar.
8491         (list-colors-redisplay): New function.
8492         (list-colors-display): Install list-colors-redisplay as the
8493         revert-buffer-function.  (Bug#14063)
8495 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8497         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8498         and suffixes don't overlap (bug#14061).
8500         * case-table.el: Use lexical-binding.
8501         (case-table-get-table): New function.
8502         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
8504 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
8506         * progmodes/subword.el: Add `superword-mode' to do word motion
8507         over symbol_words (parallels and leverages `subword-mode' which
8508         does word motion inside MixedCaseWords).
8510 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
8512         * eshell/em-unix.el: Move su and sudo to...
8513         * eshell/em-tramp.el: ...Eshell tramp module.
8515 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8517         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8518         Change return value to be a sexp.  Delay `get-buffer' to after
8519         restoring the desktop (bug#13951).
8521 2013-03-26  Leo Liu  <sdl.web@gmail.com>
8523         * register.el: Move semantic tag handling back to
8524         cedet/semantic/senator.el.  (Bug#14052)
8526 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8528         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8529         into the prompt either (bug#13963).
8531 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8533         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8534         part of "(error-foo)".
8536 2013-03-24  Juri Linkov  <juri@jurta.org>
8538         * replace.el (list-matching-lines-prefix-face): New defcustom.
8539         (occur-1): Pass `list-matching-lines-prefix-face' to the function
8540         `occur-engine' if `face-differs-from-default-p' returns t.
8541         (occur-engine): Add `,' inside backquote construct to evaluate
8542         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
8543         Pass `prefix-face' to the functions `occur-context-lines' and
8544         `occur-engine-add-prefix'.
8545         (occur-engine-add-prefix, occur-context-lines): Add optional arg
8546         `prefix-face' and propertize the prefix with `prefix-face'.
8547         (Bug#14017)
8549 2013-03-24  Leo Liu  <sdl.web@gmail.com>
8551         * nxml/rng-valid.el (rng-validate-while-idle)
8552         (rng-validate-quick-while-idle): Guard against deleted buffer.
8553         (Bug#13999)
8555         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8556         is the last entry in kill-buffer-hook.
8558         * files.el (kill-buffer-hook): Doc fix.
8560 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
8562         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8563         Make it safe-local.
8565         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8567 2013-03-23  Leo Liu  <sdl.web@gmail.com>
8569         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8570         Remove.
8572         * nxml/rng-valid.el (rng-validate-mode)
8573         (rng-after-change-function, rng-do-some-validation):
8574         * nxml/rng-maint.el (rng-validate-buffer):
8575         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8576         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8577         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8578         (nxml-extend-after-change-region): Use with-silent-modifications.
8580         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8581         timer-idle-list.
8583         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8584         (rng-next-error-1, rng-previous-error-1): Do not let-bind
8585         timer-idle-list.  (Bug#13999)
8587 2013-03-23  Juri Linkov  <juri@jurta.org>
8589         * info.el (info-index-match): New face.
8590         (Info-index, Info-apropos-matches): Add a nested subgroup to the
8591         main pattern and add text properties with the new face to matches
8592         in index entries relative to the beginning of the index entry.
8593         (Bug#14015)
8595 2013-03-21  Eric Ludlam  <zappo@gnu.org>
8597         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8598         Inhibit read only while inserting objects.
8600 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
8602         * progmodes/cfengine.el: Update docs to mention
8603         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
8604         symbol motion.  Remove "_" from the word syntax.
8606 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
8608         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8609         syntax for both `cfengine2-mode' and `cfengine3-mode'.
8611 2013-03-20  Juri Linkov  <juri@jurta.org>
8613         * info.el (Info-next-reference-or-link)
8614         (Info-prev-reference-or-link): New functions.
8615         (Info-next-reference, Info-prev-reference): Use them.
8616         (Info-try-follow-nearest-node): Handle footnote navigation.
8617         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
8619 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8621         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8622         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8624 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
8626         Suppress unnecessary non-ASCII chatter during build process.
8627         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8628         (batch-skkdic-convert): Suppress most of the chatter.
8629         It's not needed so much now that machines are faster,
8630         and its non-ASCII component was confusing; see Dmitry Gutov in
8631         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8633 2013-03-20  Leo Liu  <sdl.web@gmail.com>
8635         * ido.el (ido-chop): Fix bug#10994.
8637 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
8639         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8640         Remove vars.
8641         (whitespace-color-on, whitespace-color-off):
8642         Use `font-lock-fontify-buffer' (Bug#13817).
8644 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8647         remapping in mode-line.
8648         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8650 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
8652         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8653         value for `whitespace-line' face (Bug#13875).
8654         (whitespace-font-lock-keywords): Change description.
8655         (whitespace-color-on): Don't save `font-lock-keywords' value, save
8656         the constructed keywords instead.
8657         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8659 2013-03-19  Leo Liu  <sdl.web@gmail.com>
8661         * progmodes/compile.el (compilation-display-error): New command.
8662         (compilation-mode-map, compilation-minor-mode-map): Bind it to
8663         C-o.  (Bug#13992)
8665 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
8667         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8669 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
8671         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8673 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
8675         * net/tramp-compat.el (tramp-compat-user-error): New defun.
8677         * net/tramp-adb.el (tramp-adb-handle-shell-command):
8678         * net/tramp-gvfs.el (top):
8679         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8680         (tramp-handle-shell-command): Use it.
8681         (tramp-dissect-file-name): Raise an error when hostname is a
8682         method name, and neither method nor user is specified.
8684         * net/trampver.el: Update release number.
8686 2013-03-18  Leo Liu  <sdl.web@gmail.com>
8688         Make sure eldoc can be turned off properly.
8689         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8690         eldoc-mode.
8691         (eldoc-display-message-p): Revert last change.
8692         (eldoc-display-message-no-interference-p)
8693         (eldoc-print-current-symbol-info): Tweak.
8695 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
8697         * doc-view.el (doc-view-new-window-function): Check the new window
8698         overlay's display property instead the char property of the
8699         buffer's first char.  Use `with-selected-window' instead of
8700         `save-window-excursion' with `select-window'.
8701         (doc-view-document->bitmap): Check the current doc-view overlay's
8702         display property instead the char property of the buffer's first char.
8704 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
8706         Automate the build of ja-dic.el (Bug#13984).
8707         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8708         from the input, rather than assume that it's been done for us by the
8709         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
8710         the current date into a ja-dic.el comment, as that complicates
8711         regression testing.
8713 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8715         * whitespace.el: Fix double evaluation.
8716         (whitespace-space, whitespace-hspace, whitespace-tab)
8717         (whitespace-newline, whitespace-trailing, whitespace-line)
8718         (whitespace-space-before-tab, whitespace-indentation)
8719         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8720         obsolete defvars.
8721         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8722         (whitespace-color-on): Use a single font-lock-add-keywords call.
8723         Fix double-evaluation of face variables.
8725 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
8727         * net/tramp-adb.el (tramp-adb-parse-device-names):
8728         Use `start-process' instead of `call-process'.  Otherwise, the
8729         function might be blocked under MS Windows.  (Bug#13299)
8731 2013-03-17  Leo Liu  <sdl.web@gmail.com>
8733         Extend eldoc to display info in the mode-line.  (Bug#13978)
8734         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8735         (eldoc-mode-line-string): New variable.
8736         (eldoc-minibuffer-message): New function.
8737         (eldoc-message-function): New variable.
8738         (eldoc-message): Use it.
8739         (eldoc-display-message-p)
8740         (eldoc-display-message-no-interference-p):
8741         Support eldoc-post-insert-mode.
8743         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8744         (eval-expression): Run it.
8746 2013-03-17  Roland Winkler  <winkler@gnu.org>
8748         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8749         strings in the list of return values.
8751 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
8753         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8754         radix before checking for HMS forms.
8756 2013-03-16  Leo Liu  <sdl.web@gmail.com>
8758         * progmodes/scheme.el: Add indentation and font-locking for λ.
8759         (Bug#13975)
8761 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8763         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8764         token before point (bug#13942).
8766 2013-03-16  Leo Liu  <sdl.web@gmail.com>
8768         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
8770 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
8772         * startup.el (command-line-normalize-file-name): Fix handling of
8773         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
8774         <xfq.free@gmail.com> in
8775         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8777 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
8779         Sync with Tramp 2.2.7.
8781         * net/trampver.el: Update release number.
8783 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
8785         * doc-view.el: Fix bug#13887.
8786         (doc-view-insert-image): Don't modify overlay associated to
8787         non-live windows, and implement horizontal centering of image in
8788         case it's smaller than the window.
8789         (doc-view-new-window-function): Force redisplay of new windows on
8790         doc-view buffers.
8792 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
8794         * saveplace.el (save-place-alist-to-file): Don't sort
8795         `save-place-alist', just pretty-print it (bug#13882).
8797 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
8799         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8800         Check whether `default-file-name-coding-system' is bound.
8801         It isn't in XEmacs.
8803 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8806         backquotes for `obsolete' (bug#13929).
8808         * international/mule.el (find-auto-coding): Include file name in
8809         obsolescence warning (bug#13922).
8811 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
8813         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8814         for CFEngine 3-specific indentation.
8815         (cfengine3-indent-line): Use it.  Fix up category regex.
8816         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8818 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8820         * type-break.el (type-break-file-name):
8821         * textmodes/remember.el (remember-data-file):
8822         * strokes.el (strokes-file):
8823         * shadowfile.el (shadow-initialize):
8824         * saveplace.el (save-place-file):
8825         * ps-bdf.el (bdf-cache-file):
8826         * progmodes/idlwave.el (idlwave-config-directory):
8827         * net/quickurl.el (quickurl-url-file):
8828         * international/kkc.el (kkc-init-file-name):
8829         * ido.el (ido-save-directory-list-file):
8830         * emulation/viper.el (viper-custom-file-name):
8831         * emulation/vip.el (vip-startup-file):
8832         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8833         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8835 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
8837         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8838         * language/thai-word.el: Switch to UTF-8.
8840 See ChangeLog.16 for earlier changes.
8842 ;; Local Variables:
8843 ;; coding: utf-8
8844 ;; End:
8846   Copyright (C) 2011-2013 Free Software Foundation, Inc.
8848   This file is part of GNU Emacs.
8850   GNU Emacs is free software: you can redistribute it and/or modify
8851   it under the terms of the GNU General Public License as published by
8852   the Free Software Foundation, either version 3 of the License, or
8853   (at your option) any later version.
8855   GNU Emacs is distributed in the hope that it will be useful,
8856   but WITHOUT ANY WARRANTY; without even the implied warranty of
8857   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8858   GNU General Public License for more details.
8860   You should have received a copy of the GNU General Public License
8861   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.