Revise previous esh-proc change
[emacs.git] / lisp / ChangeLog
blob97b22964601a02d00a40819804c0ba878f7acbb2
1 2013-09-19  Glenn Morris  <rgm@gnu.org>
3         * eshell/esh-proc.el (eshell-kill-process-function):
4         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5         (eshell-reset-after-proc): Remove unused arg `proc'.
7         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8         (directory-files-and-attributes): Mark unused arg.
10         * eshell/em-unix.el (eshell-remove-entries):
11         Remove unused arg `path'.  Update callers.
13         * eshell/em-hist.el (eshell-hist-parse-arguments):
14         Remove unused arg `silent'.  Update callers.
16         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17         Fix (f)boundp mix-up.
19         * eshell/em-smart.el (eshell-smart-scroll-window)
20         (eshell-disable-after-change):
21         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
23 2013-09-18  Alan Mackenzie  <acm@muc.de>
25         Fix fontification of type when followed by "const".
26         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
27         "known" types from fontification.
29 2013-09-18  Glenn Morris  <rgm@gnu.org>
31         * emacs-lisp/chart.el (x-display-color-cells): Declare.
32         (chart-face-list): Drop Emacsen without display-color-p.
34         * net/eww.el (libxml-parse-html-region): Declare.
35         (eww-display-html): Explicit error if no libxml2 support.
37         * doc-view.el (doc-view-mode): Silence --without-x compilation.
39         * image.el (image-type-from-buffer, image-multi-frame-p):
40         Remove --without-x warning/error.
42         * mouse.el (mouse-yank-primary):
43         * term.el (term-mouse-paste):
44         Reorder to silence --without-x compilation.
46         * mpc.el (doc-view-mode): Silence --without-x compilation.
48         * mail/rmailmm.el (rmail-mime-set-bulk-data):
49         Silence --without-x compilation.
51         * progmodes/gud.el (gud-find-file, gud-mode):
52         Silence --without-x compilation.
53         (tooltip-mode): Declare.
55         * wdired.el (dired-backup-overwrite): Remove declaration.
56         (wdired-mode-map): Add doc string.
58         * custom.el (x-get-resource): Declare.
60         * eshell/em-glob.el (ange-cache):
61         * eshell/em-unix.el (ange-cache): Declare.
63         * faces.el (x-display-list, x-open-connection, x-get-resource):
64         Declare.
66         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
67         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
68         Declare.
70         * frame.el (x-display-grayscale-p, x-display-name): Declare.
72         * net/gnutls.el (gnutls-log-level): Declare.
74         * net/shr.el (image-size, image-animate): Declare.
76         * simple.el (font-info): Declare.
78         * subr.el (x-popup-dialog): Declare.
80         * term/common-win.el (x-select-enable-primary)
81         (x-last-selected-text-primary, x-last-selected-text-clipboard):
82         Declare.
84         * term/ns-win.el (x-handle-args): Declare.
86         * term/x-win.el (x-select-enable-clipboard): Declare.
88         * term/w32-win.el (create-default-fontset): Declare.
90         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
91         Declare.
93         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
94         (fit-frame-to-buffer): Explicit error if --without-x.
95         (mouse-autoselect-window-select): Silence compiler.
97         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
99         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
100         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
101         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
102         * eshell/esh-util.el (eshell-sublist):
103         Remove unused local variables.
105         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
107         * textmodes/two-column.el: Make 2C-split work for --without-x.
108         (scroll-bar-columns): Autoload.
109         (top-level): Require fringe when compiling.
111 2013-09-18  Leo Liu  <sdl.web@gmail.com>
113         * subr.el (add-hook): Robustify to handle closure as well.
115 2013-09-17  Glenn Morris  <rgm@gnu.org>
117         * simple.el (messages-buffer-mode-map): Unbind "g".
119 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * help-mode.el (help-mode-finish): Use derived-mode-p.
122         Remove obsolete highlighting.
124         * play/life.el (life-mode): Use define-derived-mode.  Derive from
125         special-mode.
126         (life): Let-bind inhibit-read-only.
127         (life-setup): Avoid `setq'.  Use `life-mode'.
129         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
130         which should not be needed any more.
131         (package-menu-refresh, package-menu-describe-package): Use user-error.
133         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
134         (eshell-post-rewrite-command-hook): Make obsolete.
135         (eshell-parse-command): Simplify.
136         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
137         (eshell--cmd): Declare.
138         (eshell-parse-pipeline): Remove unused var `final-p'.
139         Pass a dynvar to eshell-post-rewrite-command-hook.
140         Implement the new eshell-post-rewrite-command-function.
141         (eshell-invoke-directly): Remove unused arg `input'.
142         * eshell/esh-io.el (eshell-io-initialize):
143         Use eshell-post-rewrite-command-function (bug#15399).
144         (eshell--apply-redirections): Rename from eshell-apply-redirections;
145         adjust to new calling convention.
146         (eshell-create-handles): Rename args to avoid clashing with dynvar
147         `standard-output'.
149 2013-09-17  Glenn Morris  <rgm@gnu.org>
151         * simple.el (messages-buffer-mode): New major mode.
152         (messages-buffer): New function.
153         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
154         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
155         (ert-run-test): Use `messages-buffer' function.
156         (ert--force-message-log-buffer-truncation): Ignore read-only.
157         * help.el (view-echo-area-messages): Use `messages-buffer' function.
158         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
160 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
164         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
166 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
168         * icomplete.el (icomplete-in-buffer): New var.
169         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
170         vars and replace them with functions.
171         (icomplete-minibuffer-setup): Adjust accordingly.
172         (icomplete--completion-table, icomplete--completion-predicate)
173         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
174         New functions.
175         (icomplete-forward-completions, icomplete-backward-completions)
176         (icomplete-simple-completing-p, icomplete-exhibit)
177         (icomplete-completions): Use them.
178         (icomplete--in-region-buffer): New var.
179         (icomplete--in-region-setup): New function.
180         (icomplete-mode): Use it.
182         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
183         (bug#15379).
184         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
185         return args and options.
186         (eshell-eval-using-options): Use the new return value of
187         eshell--do-opts to set the options's vars in their scope.
188         (eshell--set-option): Rename from eshell-set-option.
189         Add arg `opt-vals'.
190         (eshell--process-option): Rename from eshell-process-option.
191         Add arg `opt-vals'.
192         (eshell--process-args): Use an `opt-vals' alist to store the options's
193         values during their processing and return them additionally to the
194         remaining args.
196 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
198         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
199         continuation character an operator, as far as indentation is
200         concerned (Bug#15369).
202 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
204         * window.el (window--state-put-2): Don't process buffer state
205         when buffer doesn't exist any more (Bug#15382).
207 2013-09-15  Glenn Morris  <rgm@gnu.org>
209         * eshell/em-unix.el (eshell/rm):
210         Make -f ignore missing files.  (Bug#15373)
212         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
213         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
214         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
216 2013-09-14  Glenn Morris  <rgm@gnu.org>
218         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
220 2013-09-13  Glenn Morris  <rgm@gnu.org>
222         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
223         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
225 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
227         * frame.el (x-focus-frame): Mark as declared in frame.c.
229 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
231         * ls-lisp.el: Use advice-add.
232         (original-insert-directory): Remove.
233         (ls-lisp--insert-directory): Rename from insert-directory; add
234         `orig-fun' argument.
235         (insert-directory): Advise.
237 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
239         * term.el (term-emulate-terminal): Decode the command string
240         before passing it to term-command-hook.  (Bug#15337)
242 2013-09-13  Glenn Morris  <rgm@gnu.org>
244         * eshell/esh-util.el (ange-cache): Move declaration earlier.
246         * eshell/esh-ext.el (eshell-search-path): Declare.
248         * eshell/em-prompt.el (eshell/pwd): Autoload it.
249         Otherwise an error occurs if eshell-dirs module not loaded.
251         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
253 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
255         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
256         `tramp-check-proper-host'.  Check for a valid method name.
258         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
259         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
260         * net/tramp-sh.el (tramp-maybe-open-connection):
261         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
263         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
264         also for hash values.
266 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
268         * term/ns-win.el (parameters): Don't declare as dynamic.
269         (before-make-frame-hook): Don't add ineffective function.
271         * eshell/*.el: Use lexical-binding (bug#15231).
273 2013-09-12  Kenichi Handa  <handa@gnu.org>
275         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
277 2013-09-12  Glenn Morris  <rgm@gnu.org>
279         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
280         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
282         * subr.el (do-after-load-evaluation): Also give compiler warnings
283         when obsolete files are used (except by obsolete files).
285         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
286         in the status output, assume `filename' is the first.  (Bug#15322)
288         * vc/vc.el (vc-deduce-fileset): Doc fix.
290         * calc/calc-help.el (Info-goto-node):
291         * progmodes/cperl-mode.el (Info-find-node):
292         * vc/ediff.el (Info-goto-node): Update declarations.
294         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
296         * vc/vc-bzr.el (vc-compilation-mode): Declare.
297         (vc-bzr-pull): Require vc-dispatcher.
298         * vc/vc-git.el (vc-compilation-mode): Declare.
299         (vc-git-pull): Require vc-dispatcher.
301         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
303         * progmodes/octave.el (help-button-action): Declare.
305         * shell.el (shell-directory-tracker): Output error as a message
306         rather than just returning it as a string.
307         (shell-process-pushd): Remove useless use of message.
309         * dframe.el (dframe-timer-fn):
310         * files.el (dir-locals-read-from-file):
311         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
312         (mpc-format):
313         * reveal.el (reveal-post-command):
314         * saveplace.el (load-save-place-alist-from-file):
315         * shell.el (shell-resync-dirs):
316         * w32-common-fns.el (x-get-selection-value):
317         * emacs-lisp/copyright.el (copyright-find-copyright):
318         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
319         * emulation/tpu-edt.el (tpu-copy-keyfile):
320         * play/bubbles.el (bubbles--mark-neighbourhood):
321         * progmodes/executable.el
322         (executable-make-buffer-file-executable-if-script-p):
323         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
325 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
327         Cleanup Eshell to rely less on dynamic scoping.
328         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
329         last-value, and ext-command here.  Bind `args' closer to `body'.
330         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
331         (eshell--args): Declare new dynamic var.
332         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
333         last-value, and ext-command.  Pass `args' to `body'.
334         (eshell-process-args): Bind eshell--args.
335         (eshell-set-option): Use eshell--args.
336         * eshell/eshell.el (eshell): Use derived-mode-p.
337         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
338         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
339         (eshell-glob-function): Declare.
340         * eshell/esh-util.el: Require cl-lib.
341         (eshell-read-hosts-file): Avoid add-to-list.
342         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
343         `err'.
344         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
345         Declare.
346         (eshell/diff): Remove unused var `err'.
347         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
348         `killflag'.
349         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
350         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
351         first use.
352         * eshell/em-glob.el (eshell-glob-matches, message-shown):
353         Move declaration before first use.
354         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
355         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
356         rely on cl-return.
358 2013-09-12  Glenn Morris  <rgm@gnu.org>
360         * term/ns-win.el (global-map): Remove binding for ispell-next,
361         deleted 1999-05-29.  (Bug#15357)
363 2013-09-11  Glenn Morris  <rgm@gnu.org>
365         * echistory.el (electric-command-history): Remove call to deleted func.
367         * play/landmark.el (landmark-mode): Fix typos.
369         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
370         Check cvs-sort-ignore-file is bound.
372         * savehist.el: No need for cl when compiling on Emacs.
374 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
376         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
377         (bug#15338).
378         (eshell-self-insert-command, eshell-send-invisible):
379         Remove unused argument.
380         (eshell-handle-control-codes): Remove unused var `orig'.
381         Avoid delete-backward-char.
383         * files.el (set-auto-mode): Simplify a bit further.
385 2013-09-11  Glenn Morris  <rgm@gnu.org>
387         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
388         (set-auto-mode): Don't regexp-quote elements.
389         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
390         * progmodes/cc-mode.el (interpreter-mode-alist):
391         * progmodes/ruby-mode.el (interpreter-mode-alist):
392         Revert previous change.
394 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
396         * play/snake.el (snake-mode):
397         * play/mpuz.el (mpuz-mode):
398         * play/landmark.el (lm-mode):
399         * play/blackbox.el (blackbox-mode):
400         * play/5x5.el (5x5-mode):
401         * obsolete/options.el (Edit-options-mode):
402         * net/quickurl.el (quickurl-list-mode):
403         * net/newst-treeview.el (newsticker-treeview-mode):
404         * mail/rmailsum.el (rmail-summary-mode):
405         * mail/mspools.el (mspools-mode):
406         * locate.el (locate-mode):
407         * ibuffer.el (ibuffer-mode):
408         * emulation/ws-mode.el (wordstar-mode):
409         * emacs-lisp/debug.el (debugger-mode):
410         * array.el (array-mode):
411         * net/eudc.el (eudc-mode): Use define-derived-mode.
412         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
413         Move initialization into declaration.
414         (mairix-searches-mode): Use define-derived-mode.
415         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
416         (eudc-edit-hotlist): Use dolist.
417         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
418         (Man-mode): Use define-derived-mode.
419         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
420         (Info-edit-mode): Use define-derived-mode.
421         (Info-cease-edit): Use Info-mode.
422         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
423         into declaration.
424         (eshell-mode): Use define-derived-mode.
425         * chistory.el (command-history-mode-map): Rename from
426         command-history-map.
427         (command-history-mode): Use define-derived-mode.
428         (Command-history-setup): Remove function.
429         * calc/calc.el (calc-trail-mode-map): New var.
430         (calc-trail-mode): Use define-derived-mode.
431         (calc-trail-buffer): Set calc-main-buffer manually.
432         * bookmark.el (bookmark-insert-annotation): New function.
433         (bookmark-edit-annotation): Use it.
434         (bookmark-edit-annotation-mode): Make it a proper major mode.
435         (bookmark-send-edited-annotation): Use derived-mode-p.
436         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
437         closer to its ideal place.  Use \' to match EOS.
439         * profiler.el (profiler-calltree-find): Use function-equal.
441 2013-09-10  Glenn Morris  <rgm@gnu.org>
443         * files.el (interpreter-mode-alist): Convert to regexps.
444         (set-auto-mode): Adapt for this.  (Bug#15306)
445         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
446         Comment out unused variable.
447         * progmodes/cc-mode.el (interpreter-mode-alist):
448         * progmodes/python.el (interpreter-mode-alist):
449         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
450         * progmodes/sh-script.el (sh-set-shell):
451         No longer use interpreter-mode-alist to get list of shells.
453         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
455 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
457         * simple.el: Use set-temporary-overlay-map for universal-argument.
458         (universal-argument-map): Don't use default-bindings (bug#15317).
459         Bind switch-frame explicitly.  Replace universal-argument-minus with
460         a conditional binding.
461         (universal-argument-num-events, saved-overriding-map): Remove.
462         (restore-overriding-map): Remove.
463         (universal-argument--mode): Rename from save&set-overriding-map,
464         and rewrite.
465         (universal-argument, universal-argument-more, negative-argument)
466         (digit-argument): Adjust accordingly.
467         (universal-argument-minus): Remove.
468         (universal-argument-other-key): Remove.
470         * subr.el (with-demoted-errors): Add `format' argument.
472 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
474         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
475         `tramp-cleanup-connection'.
477         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
478         parameters KEEP-DEBUG and KEEP-PASSWORD.
480         * net/tramp.el (tramp-file-name-handler):
481         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
482         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
483         (tramp-maybe-open-connection):
484         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
485         Use `tramp-cleanup-connection'.
487         * net/tramp-sh.el (tramp-maybe-open-connection):
488         Catch 'uname-changed inside the progress reporter.
490 2013-09-10  Glenn Morris  <rgm@gnu.org>
492         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
494         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
495         returns "alternate access method" in mode (eg "-rw-r--r--.").
497 2013-09-08  Glenn Morris  <rgm@gnu.org>
499         * saveplace.el (load-save-place-alist-from-file):
500         Demote errors.  (Bug#15305)
502 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
504         Improve compatibility with older Emacsen, and XEmacs.
506         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
507         only if it is bound.  It isn't for XEmacs.
508         (with-tramp-progress-reporter): Do not let-bind `result'.
509         This yields to scoping errors in XEmacs.
510         (tramp-handle-make-auto-save-file-name): New function, moved from
511         tramp-sh.el.
513         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
514         for `make-auto-save-file-name'.
515         (tramp-adb--gnu-switches-to-ash):
516         Use `tramp-compat-replace-regexp-in-string'.
518         * net/tramp-cache.el (tramp-cache-print): Call
519         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
521         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
522         bound.  It isn't for XEmacs.
524         * net/tramp-compat.el (tramp-compat-copy-file):
525         Catch `wrong-number-of-arguments' error.
526         (tramp-compat-replace-regexp-in-string): New defun.
528         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
529         for `make-auto-save-file-name'.
530         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
531         `copy-file'.
532         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
533         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
534         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
536         * net/tramp-gw.el (tramp-gw-open-network-stream):
537         Use `tramp-compat-replace-regexp-in-string'.
539         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
540         Call `tramp-handle-make-auto-save-file-name'.
541         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
542         (tramp-sh-file-gvfs-monitor-dir-process-filter)
543         (tramp-sh-file-inotifywait-process-filter):
544         Use `tramp-compat-replace-regexp-in-string'.
545         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
547         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
548         for `make-auto-save-file-name'.
549         (tramp-smb-handle-copy-directory):
550         Call `tramp-compat-replace-regexp-in-string'.
551         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
552         (tramp-smb-handle-copy-file): Improve error message.
553         (tramp-smb-handle-rename-file): Rename directly only in case
554         `newname' does not exist yet.  This is a restriction of smbclient.
555         (tramp-smb-maybe-open-connection): Rerun the function only when
556         `auth-sources' is non-nil.
558 2013-09-08  Kenichi Handa  <handa@gnu.org>
560         * international/characters.el: Set category "^" (Combining) for
561         more characters.
563 2013-09-07  Alan Mackenzie  <acm@muc.de>
565         Correctly fontify Java class constructors.
566         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
567         in Java Mode.
568         (c-recognize-typeless-decls): Set the Java value to t.
569         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
570         While handling a "(", add a check for, effectively, Java, and handle a
571         "typeless" declaration there.
573 2013-09-07  Roland Winkler  <winkler@gnu.org>
575         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
576         field subtitle for entry type book.
578 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
580         * minibuffer.el: Make minibuffer-complete call completion-in-region
581         rather than other way around.
582         (completion--some, completion-pcm--find-all-completions):
583         Don't delay signals when debugging.
584         (minibuffer-completion-contents): Beware fields within the
585         minibuffer contents.
586         (completion-all-sorted-completions): Use defvar-local.
587         (completion--do-completion, completion--cache-all-sorted-completions)
588         (completion-all-sorted-completions, minibuffer-force-complete):
589         Add args `beg' and `end'.
590         (completion--in-region-1): New fun, extracted from minibuffer-complete.
591         (minibuffer-complete): Use completion-in-region.
592         (completion-complete-and-exit): New fun, extracted from
593         minibuffer-complete-and-exit.
594         (minibuffer-complete-and-exit): Use it.
595         (completion--complete-and-exit): Rename from
596         minibuffer--complete-and-exit.
597         (completion-in-region--single-word): New function, extracted from
598         minibuffer-complete-word.
599         (minibuffer-complete-word): Use it.
600         (display-completion-list): Make `common-substring' argument obsolete.
601         (completion--in-region): Call completion--in-region-1 instead of
602         minibuffer-complete.
603         (completion-help-at-point): Pass boundaries to
604         minibuffer-completion-help as args rather than via an overlay.
605         (completion-pcm--string->pattern): Use `any-delim'.
606         (completion-pcm--optimize-pattern): New function.
607         (completion-pcm--pattern->regex): Handle `any-delim'.
608         * icomplete.el (icomplete-forward-completions)
609         (icomplete-backward-completions, icomplete-completions):
610         Adjust calls to completion-all-sorted-completions and
611         completion--cache-all-sorted-completions.
612         (icomplete-with-completion-tables): Default to t.
613         * emacs-lisp/crm.el (crm--current-element): Rename from
614         crm--select-current-element.  Don't put an overlay but return the
615         boundaries instead.
616         (crm--completion-command): Take two new args to bind to the boundaries.
617         (crm-completion-help): Adjust accordingly.
618         (crm-complete): Use completion-in-region.
619         (crm-complete-word): Use completion-in-region--single-word.
620         (crm-complete-and-exit): Use completion-complete-and-exit.
622 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
624         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
625         than dynamically.
627 2013-09-06  Juri Linkov  <juri@jurta.org>
629         * info.el (Info-display-images-node): When image file doesn't exist
630         display text version of the image if it's provided in the Info file.
631         Otherwise, display the location of missing image from SRC attribute.
632         Add help-echo text property from ALT attribute.  (Bug#15279)
634 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
636         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
637         (edit-abbrevs-mode): Use define-derived-mode.
639         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
640         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
641         that it's defined.
642         (epa-key-list-mode, epa-key-mode, epa-info-mode):
643         Use define-derived-mode.
645         * epg.el (epg-start-encrypt): Minor CSE simplification.
647 2013-09-06  William Xu  <william.xwl@gmail.com>
649         * arc-mode.el: Add support for 7za (bug#15264).
650         (archive-7z-program): New var.
651         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
652         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
653         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
655 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
657         Remove URL syntax.
659         * net/tramp.el (tramp-syntax, tramp-prefix-format)
660         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
661         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
662         (tramp-postfix-host-format, tramp-file-name-regexp)
663         (tramp-completion-file-name-regexp)
664         (tramp-completion-dissect-file-name)
665         (tramp-handle-substitute-in-file-name): Remove 'url case.
666         (tramp-file-name-regexp-url)
667         (tramp-completion-file-name-regexp-url): Remove constants.
669 2013-09-06  Glenn Morris  <rgm@gnu.org>
671         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
673 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
675         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
676         keywords" below "here-doc beginnings" (Bug#15270).
678 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
680         * subr.el (pop): Use `car-safe'.
681         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
682         to detect unused `pop' return value.
684         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
685         var `block-regexp'.
686         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
687         (python-fill-string): Remove unused var `marker'.
688         (python-skeleton-add-menu-items): Remove unused var `items'.
690         * international/mule-cmds.el: Require CL.
691         (find-coding-systems-for-charsets): Avoid add-to-list.
692         (sanitize-coding-system-list): New function, extracted from
693         select-safe-coding-system-interactively.
694         (select-safe-coding-system-interactively): Use it.
695         (read-input-method-name): Accept symbols for `default'.
697         * emacs-lisp/advice.el (defadvice): Add indent rule.
699 2013-09-05  Daniel Hackney  <dan@haxney.org>
701         * dired-x.el:
702         * net/ange-ftp.el:
703         * net/browse-url.el:
704         * net/dbus.el:
705         * net/eudc.el:
706         * net/eudcb-ldap.el:
707         * net/eww.el:
708         * net/imap.el:
709         * printing.el:
710         * vc/ediff-diff.el:
711         * vc/ediff-init.el:
712         * vc/ediff-merg.el:
713         * vc/ediff-mult.el:
714         * vc/ediff-util.el:
715         * vc/ediff-wind.el:
716         * vc/ediff.el:
717         * vc/emerge.el:
718         * vc/pcvs.el:
719         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
720         byte compiler.  Remove some unused let-bound variables.
722 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
724         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
725         a "ref-cell", since it gets better optimized (bug#14883).
727 2013-09-05  Glenn Morris  <rgm@gnu.org>
729         * progmodes/cc-awk.el (c-forward-sws): Declare.
731 2013-09-04  Glenn Morris  <rgm@gnu.org>
733         * generic-x.el [rul-generic-mode]: Require cc-mode.
734         (c++-mode-syntax-table): Declare.
735         (rul-generic-mode-syntax-table): Init in the defvar.
737 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
739         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
740         (vc-do-command, vc-set-async-update):
741         * vc/vc-mtn.el (vc-mtn-dir-status):
742         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
743         (vc-hg-pull, vc-hg-merge-branch):
744         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
745         (vc-git-merge-branch):
746         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
747         (vc-cvs-dir-status-files):
748         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
749         (vc-bzr-dir-status-files):
750         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
751         * vc/vc-annotate.el: Use lexical-binding.
752         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
753         (vc-sentinel-movepoint): Declare.
754         (vc-annotate): Don't use `goto-line'.
755         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
756         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
757         (vc-sentinel-movepoint): Declare.
758         * vc/vc-svn.el: Use lexical-binding.
759         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
760         * vc/vc-sccs.el:
761         * vc/vc-rcs.el: Use lexical-binding.
763         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
764         `deleted'.  Don't drop errors silently.
766         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
768 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
770         * vc/vc.el (vc-ignore): Rewrite.
771         (vc-default-ignore): New function.
772         (vc-default-ignore-completion-table): Use find-ignore-file.
774         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
775         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
776         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
777         Remove.  Most code moved to vc.el.
779 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
781         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
782         * net/tramp-smb.el (tramp-smb-get-file-entries):
783         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
784         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
786         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
787         Update call to it.
788         (eww-change-select): Remove unused var `properties'.
789         (eww-make-unique-file-name): Remove unused var `base'.
791         * finder.el (finder-compile-keywords): Don't mess with windows.
793         * calculator.el (calculator-funcall): Fix typo in last change.
795         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
797         * emacs-lisp/package.el (package-activate-1): Don't let a missing
798         <pkg>-autoloads.el file stop us.
800         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
801         warnings, and factor out common code.
803 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
805         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
806         two-character operators and whether the character preceding them
807         changes their meaning (Bug#15208).
809 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
811         Format code sent to Python shell for robustness.
812         * progmodes/python.el (python-shell-buffer-substring):
813         New function.
814         (python-shell-send-region, python-shell-send-buffer): Use it.
816 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
818         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
819         * net/tramp.el (tramp-user-error): ... here.
820         (tramp-find-method, tramp-check-proper-host)
821         (tramp-dissect-file-name, tramp-debug-message)
822         (tramp-handle-shell-command):
823         * net/tramp-adb.el (tramp-adb-handle-shell-command):
824         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
826         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
828 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
830         * avoid.el (mouse-avoidance-point-position)
831         (mouse-avoidance-too-close-p): Handle case where posn-at-point
832         returns nil.
834 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
836         * progmodes/python.el (python-shell-completion-get-completions):
837         Drop use of deleted `comint-last-prompt-overlay'.
838         (python-nav-if-name-main): New command.
840 2013-09-01  Glenn Morris  <rgm@gnu.org>
842         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
843         Avoid leading space in $wins.  Otherwise the sed command used by
844         eg compile-main ends up containing "/*.el".  (Bug#15170)
846         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
848 2013-08-30  Glenn Morris  <rgm@gnu.org>
850         * emacs-lisp/bytecomp.el (byte-recompile-directory):
851         Fix is-this-a-directory logic.  (Bug#15220)
853 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
855         * textmodes/css-mode.el: Use SMIE.
856         (css-smie-grammar): New var.
857         (css-smie--forward-token, css-smie--backward-token)
858         (css-smie-rules): New functions.
859         (css-mode): Use them.
860         (css-navigation-syntax-table): Remove var.
861         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
862         (css-indent-calculate, css-indent-line): Remove functions.
864         Misc changes to reduce use of `(lambda...); and other cleanups.
865         * cus-edit.el: Use lexical-binding.
866         (customize-push-and-save, customize-apropos)
867         (custom-buffer-create-internal): Use closures.
868         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
869         * progmodes/ada-xref.el: Use setq.
870         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
871         * dframe.el: Use lexical-binding.
872         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
873         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
874         * descr-text.el: Use lexical-binding.
875         (describe-text-widget, describe-text-sexp, describe-property-list):
876         Use closures.
877         * comint.el (comint-history-isearch-push-state): Use a closure.
878         * calculator.el: Use lexical-binding.
879         (calculator-number-to-string): Make it work with lexical-binding.
880         (calculator-funcall): Same and use cl-letf.
882         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
883         (lisp--company-doc-string, lisp--company-location): New functions.
884         (lisp-completion-at-point): Use them to improve Company support.
886         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
887         params of lambda expressions.
888         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
889         (ruby-smie--opening-pipe-p): New function.
890         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
891         symbols and matched |...| for formal params.
892         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
893         from being treated as hanging.  Handle "rescue".
895 2013-08-29  Glenn Morris  <rgm@gnu.org>
897         * progmodes/cc-engine.el (c-pull-open-brace):
898         Move definition before use.
900 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
902         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
903         are immutable.  Don't use `unsafe' any more.
904         (cl--defsubst-expand): Don't substitute at the same time as keeping
905         a residual unused let-binding.  Don't use `unsafe' any more.
907 2013-08-29  Glenn Morris  <rgm@gnu.org>
909         * calendar/cal-china.el (calendar-chinese-year-cache):
910         Recenter on 2015.
912         * nxml/nxml-util.el (nxml-debug-clear-inside):
913         Use cl-loop rather than loop.
915         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
917         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
919 2013-08-28  Glenn Morris  <rgm@gnu.org>
921         * progmodes/antlr-mode.el: No need to require cc-mode twice.
923         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
925         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
927 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
929         * simple.el (repeat-complex-command--called-interactively-skip):
930         New function.
931         (repeat-complex-command): Use it (bug#14136).
933         * progmodes/cc-mode.el: Minor cleanup of var declarations.
934         (c-define-abbrev-table): Add `doc' argument.
935         (c-mode-abbrev-table, c++-mode-abbrev-table)
936         (objc-mode-abbrev-table, java-mode-abbrev-table)
937         (idl-mode-abbrev-table, pike-mode-abbrev-table)
938         (awk-mode-abbrev-table): Use it.
939         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
940         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
941         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
942         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
943         Move initialization into the declaration; and remove any
944         autoload cookie.
946         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
947         and dynamic let binding.
949         * vc/smerge-mode.el: Remove redundant :group args.
951         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
952         to load-path.
954 2013-08-28  Juri Linkov  <juri@jurta.org>
956         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
957         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
958         (isearch-other-meta-char): Handle an undefined shifted printing
959         character by downshifting it.  (Bug#15200)
961 2013-08-28  Juri Linkov  <juri@jurta.org>
963         * isearch.el (isearch-search): Change regexp error message for
964         non-regexp searches.  (Bug#15166)
966 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
968         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
969         for portability to hosts where /bin/sh has problems.
971 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
973         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
975 2013-08-27  Juri Linkov  <juri@jurta.org>
977         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
978         in the keyboard macro.  (Bug#15126)
980 2013-08-27  Juri Linkov  <juri@jurta.org>
982         * isearch.el (isearch-quote-char): Comment out converting unibyte
983         to multibyte, thus syncing with its `quoted-insert' counterpart.
984         (Bug#15166)
986 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
988         * window.el (display-buffer-use-some-window): Add missing
989         argument in call of get-largest-window (Bug#15185).
990         Reported by Stephen Leake.
992 2013-08-27  Glenn Morris  <rgm@gnu.org>
994         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
996 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
998         * progmodes/python.el (python-font-lock-keywords): Don't return nil
999         from a matcher-function unless there's no more matches (bug#15161).
1001 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
1003         * minibuffer.el: Revert change from 2013-08-20.
1005         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1006         with text property `tramp-default', if appropriate.
1007         (tramp-check-proper-host): New defun.
1008         (tramp-dissect-file-name): Do not check hostname.  Revert change
1009         of 2013-03-18.
1010         (tramp-backtrace): Make VEC-OR-PROC optional.
1012         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1013         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1014         * net/tramp-sh.el (tramp-maybe-open-connection):
1015         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1016         Apply `tramp-check-proper-host'.
1018 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
1020         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1021         lambda expression in order to have `describe-variable' display it.
1023 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
1025         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1026         BUF can be optional.  (Bug#15186)
1028 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
1030         * progmodes/flymake.el (flymake-get-real-file-name-function):
1031         Fix broken customization.  (Bug#15184)
1033 2013-08-25  Alan Mackenzie  <acm@muc.de>
1035         Improve indentation of bracelists defined by macros (without "=").
1037         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1038         expansion begins with "{", regard it as bracelist when it doesn't
1039         contain a ";".
1041         Parse C++ inher-intro when there's a template split over 2 lines.
1043         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1044         rigorously the search for "class" etc. followed by ":".
1046         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1047         random languages a regexp which never matches rather than nil.
1049         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1051         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1052         (c-awk-regexp-one-line-possibly-open-char-list-re)
1053         (c-awk-one-line-possibly-open-regexp-re)
1054         (c-awk-one-line-non-syn-ws*-re): Remove.
1055         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1056         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1057         (c-awk-space*-unclosed-regexp-/-re): New constants.
1058         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1059         aren't regexp delimiters.
1061         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1062         handling for a rare situation in AWK Mode involving unterminated
1063         strings/regexps.
1065 2013-08-23  Glenn Morris  <rgm@gnu.org>
1067         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1069         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1071         * files.el (create-file-buffer): If the result would begin with
1072         spaces, prepend a "|" instead of removing them.  (Bug#15162)
1074 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1076         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1077         text-properties (bug#15155).
1079         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1080         exist any more.
1081         (calc-keypad-redraw): Remove unused var `pad'.
1082         (calc-keypad-press): Remove unused var `menu'.
1084 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
1086         * window.el (display-buffer-pop-up-frame):
1087         Call pop-up-frame-function with BUFFER current so `make-frame' will
1088         use it as the new frame's buffer (Bug#15133).
1090 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1092         * calendar/timeclock.el: Minor cleanups.
1093         (timeclock-ask-before-exiting, timeclock-use-display-time):
1094         Use `symbol'.
1095         (timeclock-modeline-display): Define as alias before the
1096         actual definition.
1097         (timeclock-mode-line-display): Use define-minor-mode.
1098         (timeclock-day-list-template): Make it a function, add an argument.
1099         (timeclock-day-list-required, timeclock-day-list-length)
1100         (timeclock-day-list-debt, timeclock-day-list-span)
1101         (timeclock-day-list-break): Adjust calls accordingly.
1103 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1105         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1106         Use read--expression so that completion works again.
1108 2013-08-21  Sam Steingold  <sds@gnu.org>
1110         Add rudimentary inferior shell interaction
1111         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1112         (sh-set-shell): Reset it.
1113         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1114         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1116 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1118         * align.el: Use lexical-binding.
1119         (align-region): Simplify accordingly.
1121 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
1123         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1125         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1126         `non-essential' up.
1128 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
1130         * net/tramp.el:
1131         * net/tramp-adb.el:
1132         * net/tramp-cmds.el:
1133         * net/tramp-ftp.el:
1134         * net/tramp-gvfs.el:
1135         * net/tramp-gw.el:
1136         * net/tramp-sh.el: Don't wrap external variable declarations by
1137         `eval-when-compile'.
1139 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1141         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1142         now that Emacs supports ImageMagick animations.
1144 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
1146         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1147         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1149 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
1151         * window.el (mouse-autoselect-window-select): Do autoselect when
1152         mouse pointer is on margin.
1154 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
1156         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
1158 2013-08-16  Glenn Morris  <rgm@gnu.org>
1160         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1161         Handle "Remote Directory" response of some clients.  (Bug#15058)
1163         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1164         Tweak warning.  (Bug#14926)
1166         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1167         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
1169         * image-mode.el (image-mode-map): Add menu items to reverse,
1170         increase, decrease, reset animation speed.
1171         (image--set-speed, image-increase-speed, image-decrease-speed)
1172         (image-reverse-speed, image-reset-speed): New functions.
1173         (image-mode-map): Add bindings for speed commands.
1175         * image.el (image-animate-get-speed, image-animate-set-speed):
1176         New functions.
1177         (image-animate-timeout): Respect image :speed property.
1179 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1181         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1182         previous line (bug#15101).
1183         (debugger-eval-expression, debugger-record-expression):
1184         Use read--expression (bug#15102).
1186 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
1188         Remove byte compiler warnings, visible when compiling with
1189         `byte-compile-force-lexical-warnings' set to t.
1191         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1192         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1193         (tramp-handle-unhandled-file-name-directory)
1194         (tramp-handle-file-notify-add-watch, tramp-action-login)
1195         (tramp-action-succeed, tramp-action-permission-denied)
1196         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1197         arguments with "_".
1199         * net/tramp-adb.el (tramp-adb-parse-device-names)
1200         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1201         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1202         (tramp-adb-handle-file-truename): Remove unused arguments.
1204         * net/tramp-cache.el (tramp-flush-directory-property)
1205         (tramp-flush-connection-property, tramp-list-connections)
1206         (tramp-parse-connection-properties): Prefix unused arguments with "_".
1208         * net/tramp-compat.el (tramp-compat-make-temp-file):
1209         Rename FILENAME to F.
1211         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1212         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1213         (tramp-zeroconf-parse-workstation-device-names)
1214         (tramp-zeroconf-parse-webdav-device-names)
1215         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1217         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1218         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1220         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1221         arguments.
1222         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1223         (tramp-sh-handle-insert-file-contents-literally)
1224         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1225         with "_".
1226         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1227         Remove unused variables.
1229         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1230         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1231         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1233         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1234         Make them a defconst.
1235         (tramp-uuencode-region): Remove unused variable.
1237 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
1239         * frameset.el (frameset--prop-setter): New function.
1240         (frameset-prop): Add gv-setter declaration.
1241         (frameset-filter-minibuffer): Deal with the case that the minibuffer
1242         parameter was already set in FILTERED.  Doc fix.
1243         (frameset--record-minibuffer-relationships): Allow saving a
1244         minibufferless frame without its corresponding minibuffer frame.
1245         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1246         frame, if the frame id matches.
1247         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1248         frames before orphaned ones.
1249         (frameset-restore): Warn about orphaned windows, instead of error out.
1251 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
1253         * window.el (window-make-atom): Don't overwrite parameter
1254         already present.
1255         (display-buffer-in-atom-window): Handle special case where we
1256         split an already atomic window.
1257         (window--major-non-side-window, display-buffer-in-side-window)
1258         (window--side-check): Ignore minibuffer window when walking
1259         window tree.
1260         (window-deletable-p): Return 'frame only if no other frame uses
1261         our minibuffer window.
1262         (record-window-buffer): Run buffer-list-update-hook.
1263         (split-window): Make sure window--check-frame won't destroy an
1264         existing atomic window in case the new window gets nested
1265         inside.
1266         (display-buffer-at-bottom): Ignore minibuffer window when
1267         walking window tree.  Don't split a side window.
1268         (pop-to-buffer): Don't set-buffer here, the select-window call
1269         should do that.
1270         (mouse-autoselect-window-select): Autoselect only if we are in the
1271         text portion of the window.
1273 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1275         * net/shr.el (shr-parse-image-data): New function to grab both the
1276         data itself and the Content-Type.
1277         (shr-put-image): Use it.
1279         * net/eww.el (eww-display-image): Ditto.
1281         * image.el (image-content-type-suffixes): New variable.
1283 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1285         * progmodes/python.el (python-imenu--build-tree)
1286         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1288 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
1290         * simple.el (backward-word): Mention the optional argument.
1292 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1294         * frameset.el (frameset--make): Rename constructor from make-frameset.
1295         (frameset-p, frameset-valid-p): Don't autoload.
1296         (frameset-valid-p): Use normal accessors.
1298 2013-08-13  Glenn Morris  <rgm@gnu.org>
1300         * progmodes/compile.el (compile-command): Tweak example in doc.
1301         * obsolete/scribe.el (scribe-mode):
1302         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
1304         * mail/feedmail.el (feedmail-confirm-outgoing)
1305         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1307         * cus-start.el (truncate-partial-width-windows): Fix type.
1309         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1311         * net/shr.el (shr-table-horizontal-line): Fix custom type.
1313 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1315         * emacs-lisp/timer.el (timer--time-setter): New function.
1316         (timer--time): Use it as gv-setter.
1318         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1319         setter is not a symbol.
1321 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
1323         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1324         if sending fails.  This makes debugging easier.
1326 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
1328         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1329         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1330         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1332 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
1334         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1336 2013-08-12  Glenn Morris  <rgm@gnu.org>
1338         * format.el (format-annotate-function):
1339         Handle read-only text properties in the source.  (Bug#14887)
1341 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1343         * net/eww.el (eww-display-html): Ignore coding system errors.
1344         One web site uses "utf-8lias" as the coding system.
1346 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
1348         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1350 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
1352         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1353         (tutorial--detailed-help): Remove unused local variables.
1354         (tutorial--save-tutorial-to): Use ignore-errors.
1355         (help-with-tutorial): Use looking-at-p.
1357         * view.el (view-buffer-other-window, view-buffer-other-frame):
1358         Mark unused arguments.
1360         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1361         (woman-select-symbol-fonts, woman, woman-find-file)
1362         (woman-insert-file-contents, woman-non-underline-faces):
1363         Use string-match-p.
1364         (woman1-unquote): Move declaration.
1366         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1367         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
1368         argument.  Remove unused local variable.
1369         (xml-parse-elem-type): Use string-match-p.
1370         (xml-substitute-numeric-entities): Use ignore-errors.
1372         * calculator.el (calculator): Mark unused argument.
1373         (calculator-paste, calculator-quit, calculator-integer-p):
1374         Use ignore-errors.
1375         (calculator-string-to-number, calculator-decimal, calculator-exp)
1376         (calculator-op-or-exp): Use string-match-p.
1378         * dired.el (dired-buffer-more-recently-used-p): Declare.
1379         (dired-insert-set-properties, dired-insert-old-subdirs):
1380         Use ignore-errors.
1382         * dired-aux.el (dired-compress): Use ignore-errors.
1383         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1384         (dired-do-async-shell-command, dired-do-shell-command)
1385         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1386         (dired-insert-subdir-validate): Use string-match-p.
1387         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1388         (dired-add-entry): Use string-match-p, looking-at-p.
1389         (dired-insert-subdir-newpos): Remove unused local variable.
1391         * filenotify.el (file-notify-callback): Remove unused local variable.
1393         * filesets.el (filesets-error): Mark unused argument.
1394         (filesets-which-command-p, filesets-filter-dir-names)
1395         (filesets-directory-files, filesets-get-external-viewer)
1396         (filesets-ingroup-get-data): Use string-match-p.
1398         * find-file.el (ff-other-file-name, ff-other-file-name)
1399         (ff-find-the-other-file, ff-cc-hh-converter):
1400         Remove unused local variables.
1401         (ff-get-file-name): Use string-match-p.
1402         (ff-all-dirs-under): Use ignore-errors.
1404         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1405         (follow-select-if-visible): Remove unused local variable.
1407         * forms.el (read-file-filter): Move declaration.
1408         (forms--make-format, forms--make-parser, forms-insert-record):
1409         Quote function with #'.
1410         (forms--update): Use string-match-p.  Quote function with #'.
1412         * help-mode.el (help-dir-local-var-def): Mark unused argument.
1413         (help-make-xrefs): Use looking-at-p.
1414         (help-xref-on-pp): Use looking-at-p, ignore-errors.
1416         * ibuffer.el (ibuffer-ext-visible-p): Declare.
1417         (ibuffer-confirm-operation-on): Use string-match-p.
1419         * msb.el (msb-item-handler, msb-dired-item-handler):
1420         Mark unused arguments.
1422         * ses.el (ses-decode-cell-symbol)
1423         (ses-kill-override): Remove unused local variable.
1424         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1425         (ses-load): Use ignore-errors, looking-at-p.
1426         (ses-jump-safe): Use ignore-errors.
1427         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1429         * tabify.el (untabify, tabify): Mark unused arguments.
1431         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1432         Mark unused argument.
1433         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1434         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1436         * emacs-lisp/timer.el (timer--time): Define setter with
1437         gv-define-setter to avoid deprecation warning.
1439         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1440         (*record-cmpl-statistics-p*): Remove (was commented out).
1441         (cmpl-statistics-block): Remove (body was commented out).
1442         All callers changed.
1443         (add-completions-from-buffer, load-completions-from-file):
1444         Remove unused variables.
1446 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
1448         * filecache.el (file-cache-delete-file-list):
1449         Print message only when told so.
1450         (file-cache-files-matching): Use #' in mapconcat argument.
1452         * ffap.el (ffap-url-at-point): Fix reference to variable
1453         thing-at-point-default-mail-uri-scheme.
1455 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1457         * subr.el (define-error): New function.
1458         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1459         error-file-not-found and define with define-error.
1460         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1461         and define with define-error.
1462         * userlock.el (file-locked, file-supersession):
1463         * simple.el (mark-inactive):
1464         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1465         * progmodes/ada-mode.el (ada-mode-errors):
1466         * play/life.el (life-extinct):
1467         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1468         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1469         * nxml/rng-util.el (rng-error):
1470         * nxml/rng-uri.el (rng-uri-error):
1471         * nxml/rng-match.el (rng-compile-error):
1472         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1473         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1474         * nxml/nxml-rap.el (nxml-scan-error):
1475         * nxml/nxml-outln.el (nxml-outline-error):
1476         * net/soap-client.el (soap-error):
1477         * net/gnutls.el (gnutls-error):
1478         * net/ange-ftp.el (ftp-error):
1479         * mpc.el (mpc-proc-error):
1480         * json.el (json-error, json-readtable-error, json-unknown-keyword)
1481         (json-number-format, json-string-escape, json-string-format)
1482         (json-key-format, json-object-format):
1483         * jka-compr.el (compression-error):
1484         * international/quail.el (quail-error):
1485         * international/kkc.el (kkc-error):
1486         * emacs-lisp/ert.el (ert-test-failed):
1487         * calc/calc.el (calc-error, inexact-result, math-overflow)
1488         (math-underflow):
1489         * bookmark.el (bookmark-error-no-filename):
1490         * epg.el (epg-error): Define with define-error.
1492         * time.el (display-time-event-handler)
1493         (display-time-next-load-average): Don't call sit-for since it seems
1494         unnecessary (bug#15045).
1496         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1497         Use #' instead of ' to quote functions.
1498         (checkdoc-output-mode): Use setq-local.
1499         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1500         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1501         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1502         (checkdoc-ispell, checkdoc-ispell-current-buffer)
1503         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1504         (checkdoc-ispell-message-text, checkdoc-ispell-start)
1505         (checkdoc-ispell-continue, checkdoc-ispell-comments)
1506         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1508         * ido.el (ido-completion-help): Fix up compiler warning.
1510 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
1512         * frameset.el (frameset-p): Add autoload cookie.
1513         (frameset--jump-to-register): New function, based on code moved from
1514         register.el.
1515         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
1517         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1518         (frameset-restore, frameset-save, frameset-session-filter-alist):
1519         Remove declarations.
1520         (register-alist): Doc fix.
1521         (frameset-to-register): Move to frameset.el.
1522         (jump-to-register, describe-register-1): Remove frameset-specific code.
1524 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
1526         * allout-widgets.el (allout-widgets-pre-command-business)
1527         (allout-widgets-post-command-business)
1528         (allout-widgets-after-change-handler)
1529         (allout-decorate-item-and-context, allout-set-boundary-marker)
1530         (allout-body-modification-handler)
1531         (allout-graphics-modification-handler): Mark ignored arguments.
1532         (allout-widgets-post-command-business)
1533         (allout-widgets-exposure-change-processor)
1534         (allout-widgets-exposure-undo-processor)
1535         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1536         (allout-parse-item-at-point, allout-decorate-item-guides)
1537         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1538         * allout.el (epa-passphrase-callback-function): Declare.
1539         (allout-overlay-insert-in-front-handler)
1540         (allout-overlay-interior-modification-handler)
1541         (allout-isearch-end-handler, allout-chart-siblings)
1542         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1543         (allout-yank-processing, allout-process-exposed)
1544         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1545         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1546         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1547         (lisp-indent-defform): Mark ignored arguments.
1548         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
1549         (calculate-lisp-indent): Remove unused variables.
1550         * international/characters.el (indian-2-column, arabic-2-column)
1551         (tibetan): Mark ignored arguments.
1552         (use-cjk-char-width-table): Mark ignored arguments.
1553         Remove unused variables.
1554         * international/fontset.el (build-default-fontset-data)
1555         (x-compose-font-name, create-fontset-from-fontset-spec):
1556         Mark ignored arguments.
1557         (fontset-plain-name): Remove unused variables.
1558         * international/mule.el (charset-id, charset-bytes, generic-char-p)
1559         (keyboard-coding-system): Mark ignored arguments.
1560         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
1561         * help.el (resize-temp-buffer-window):
1562         * window.el (display-buffer-in-major-side-window)
1563         (display-buffer-in-side-window, display-buffer-in-previous-window):
1564         Remove unused variables.
1565         * isearch.el (isearch-forward-symbol):
1566         * version.el (emacs-bzr-version-bzr):
1567         * international/mule-cmds.el (current-language-environment):
1568         * term/common-win.el (x-handle-iconic, x-handle-geometry)
1569         (x-handle-display):
1570         * term/pc-win.el (x-list-fonts, x-display-planes)
1571         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1572         (x-server-version, x-display-screens, x-display-mm-height)
1573         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1574         (x-selection-owner-p, x-own-selection-internal)
1575         (x-disown-selection-internal, x-get-selection-internal)
1576         (msdos-initialize-window-system):
1577         * term/tty-colors.el (tty-color-alist, tty-color-clear):
1578         * term/x-win.el (x-handle-no-bitmap-icon):
1579         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1580         (vc-default-find-file-hook, vc-default-extra-menu):
1581         Mark ignored arguments.
1583 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1585         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1586         break-condition in the context of the debugged code (bug#12685).
1588 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
1590         * comint.el:
1591         Do not use an overlay to highlight the last prompt.  (Bug#14744)
1592         (comint-mode): Make comint-last-prompt buffer local.
1593         (comint-last-prompt): New variable.
1594         (comint-last-prompt-overlay): Remove.  Superseded by
1595         comint-last-prompt.
1596         (comint-snapshot-last-prompt, comint-output-filter):
1597         Use comint-last-prompt.
1599 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
1601         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
1602         (frameset-save): Check validity of the resulting frameset.
1604 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
1606         * ido.el (ido-record-command): Add doc string.
1608 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
1610         * frameset.el (frameset): Do not disable creation of the default
1611         frameset-p predicate.  Doc fix.
1612         (frameset-valid-p): New function, copied from the old predicate-p.
1613         Add additional checks.
1614         (frameset-restore): Check with frameset-valid-p.
1615         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1616         (frameset-name, frameset-description, frameset-properties)
1617         (frameset-states): Add docstring.
1618         (frameset-session-filter-alist, frameset-persistent-filter-alist)
1619         (frameset-filter-alist): Doc fixes.
1621 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
1623         * frameset.el (frameset-p, frameset-prop): Doc fixes.
1625 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1628         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1629         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1630         (byte-compile-normal-call): Remove obsolescence check.
1632 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
1634         * frameset.el (frameset-restore): Doc fix.
1636         * register.el (frameset-frame-id, frameset-frame-with-id)
1637         (frameset-p, frameset-restore, frameset-save): Declare.
1638         (register-alist): Document framesets.
1639         (frameset-session-filter-alist): Declare.
1640         (frameset-to-register): New function.
1641         (jump-to-register): Implement jumping to framesets.  Doc fix.
1642         (describe-register-1): Describe framesets.
1644         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1646 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
1648         * desktop.el (desktop-save-frameset): Use new frameset-save args.
1649         Use lexical-binding.
1651         * frameset.el (frameset): Use type vector, not list (incompatible
1652         change).  Do not declare a new constructor, use the default one.
1653         Upgrade suggested properties `app', `name' and `desc' to slots `app',
1654         `name' and `description', respectively, and add read-only slot
1655         `timestamp'.  Doc fixes.
1656         (frameset-copy, frameset-persistent-filter-alist)
1657         (frameset-filter-alist, frameset-switch-to-gui-p)
1658         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1659         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1660         (frameset-filter-iconified, frameset-keep-original-display-p):
1661         Doc fixes.
1662         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1663         Rename from frameset-filter-(save|restore)-param.  All callers changed.
1664         Doc fix.
1665         (frameset-p): Adapt to change to vector and be more thorough.
1666         Change arg name to OBJECT.  Doc fix.
1667         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
1668         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1669         All callers changed.
1670         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1671         All callers changed.
1672         (frameset--record-minibuffer-relationships): Rename from
1673         frameset--process-minibuffer-frames.  All callers changed.
1674         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1675         Use new default constructor (again).  Doc fix.
1676         (frameset--find-frame-if): Rename from `frameset--find-frame.
1677         All callers changed.
1678         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1679         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1680         Doc fix.
1681         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1682         PARAMETERS and WINDOW-STATE, respectively.
1683         (frameset-restore): Add new keyword argument PREDICATE.
1684         Reset frameset--target-display to nil.  Doc fix.
1686 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1688         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1689         (bat-mode): Use it.
1690         (bat-mode-syntax-table): Mark \n as end-of-comment.
1691         (bat-font-lock-keywords): Remove comment rule.
1693         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
1694         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
1696         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1697         (byte-compile-callargs-warn): Use `push'.
1698         (byte-compile-arglist-warn): Ignore higher-order "calls".
1699         (byte-compile-file-form-autoload): Use `pcase'.
1700         (byte-compile-function-form): If quoting a symbol, check that it exists.
1702 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
1704         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1705         and add a few popular commands found in batch files.
1706         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1707         (dos-mode): Doc fixes.
1709 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1712         (dos-mode): Use setq-local.  Add space after "rem".
1713         (dos-mode-syntax-table): Don't use "w" for symbol chars.
1714         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1716 2013-08-07  Arni Magnusson  <arnima@hafro.is>
1718         * progmodes/dos.el: New file.
1719         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1720         dos-mode.
1722 2013-08-06  Glenn Morris  <rgm@gnu.org>
1724         * calendar/calendar.el: Add new faces, and day-header-array.
1725         (calendar-weekday-header, calendar-weekend-header)
1726         (calendar-month-header): New faces.
1727         (calendar-day-header-construct): New function.
1728         (calendar-day-header-width): Also :set calendar-day-header-array.
1729         (calendar-american-month-header, calendar-european-month-header)
1730         (calendar-iso-month-header): Use calendar- faces.
1731         (calendar-generate-month):
1732         Use calendar-day-header-array for day headers; apply faces to them.
1733         (calendar-mode): Check calendar-font-lock-keywords non-nil.
1734         (calendar-abbrev-construct): Add optional maxlen argument.
1735         (calendar-day-name-array): Doc fix.
1736         (calendar-day-name-array, calendar-abbrev-length)
1737         (calendar-day-abbrev-array):
1738         Also :set calendar-day-header-array, and maybe redraw.
1739         (calendar-day-header-array): New option.  (Bug#15007)
1740         (calendar-font-lock-keywords): Set to nil and make obsolete.
1741         (calendar-day-name): Add option to use header array.
1743 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1745         * net/shr.el (shr-render-td): Remove debugging.
1746         (shr-render-td): Make width computation consistent by defaulting
1747         all zero-width columns to 10 characters.  This may not be optimal,
1748         but it's at least consistent.
1749         (shr-make-table-1): Redo last change to fix the real problem in
1750         colspan handling.
1752 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
1754         * files.el (cache-long-line-scans):
1755         Make obsolete alias to `cache-long-scans'.
1757 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
1759         * frameset.el (frameset, frameset-filter-alist)
1760         (frameset-filter-params, frameset-save, frameset--reuse-frame)
1761         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1762         (frameset-compute-pos): Rename from frameset--compute-pos,
1763         and add docstring.
1764         (frameset-move-onscreen): Use frameset-compute-pos.
1765         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1767         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1768         Fix typos in docstrings.
1770 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
1772         * frame.el (get-other-frame): Tiny cleanup.
1774 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
1776         * vc/vc.el (vc-default-ignore-completion-table):
1777         Silence byte-compiler warning.
1779         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1780         slot , which can indeed be nil.
1781         (frameset-live-filter-alist, frameset-persistent-filter-alist):
1782         Move entry for `left' from persistent to live filter alist.
1783         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1784         Doc fixes.
1785         (frameset-filter-params): When restoring a frame, copy items added to
1786         `filtered', to avoid unwittingly modifying the original parameters.
1787         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
1788         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1790         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1791         to use looking-at-p instead of looking-at.  (Bug#15028)
1793 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1795         Revert introduction of isearch-filter-predicates (bug#14714).
1796         Rely on add-function instead.
1797         * isearch.el (isearch-filter-predicates): Rename it back to
1798         isearch-filter-predicate.
1799         (isearch-message-prefix): Use advice-function-mapc and advice
1800         properties to get the isearch-message-prefix.
1801         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1802         instead of run-hook-with-args-until-failure.
1803         (isearch-filter-visible): Not obsolete any more.
1804         * loadup.el: Preload nadvice.
1805         * replace.el (perform-replace): Revert to funcall
1806         instead of run-hook-with-args-until-failure.
1807         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1808         * dired-aux.el (dired-isearch-filenames-mode): Rename from
1809         dired-isearch-filenames-toggle; make it into a proper minor mode.
1810         Use add/remove-function.
1811         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1812         Call the minor-mode rather than add/remove-hook.
1813         (dired-isearch-filter-filenames):
1814         Remove isearch-message-prefix property.
1815         * info.el (Info--search-loop): New function, extracted from Info-search.
1816         Funcall isearch-filter-predicate instead of
1817         run-hook-with-args-until-failure isearch-filter-predicates.
1818         (Info-search): Use it.
1819         (Info-mode): Use isearch-filter-predicate instead of
1820         isearch-filter-predicates.
1822 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
1824         Do not call to `selected-window' where it is assumed by default.
1825         Affected functions are `window-minibuffer-p', `window-dedicated-p',
1826         `window-hscroll', `window-width', `window-height', `window-buffer',
1827         `window-frame', `window-start', `window-point', `next-window'
1828         and `window-display-table'.
1829         * abbrev.el (abbrev--default-expand):
1830         * bs.el (bs--show-with-configuration):
1831         * buff-menu.el (Buffer-menu-mouse-select):
1832         * calc/calc.el (calc):
1833         * calendar/calendar.el (calendar-generate-window):
1834         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1835         (diary-make-entry):
1836         * comint.el (send-invisible, comint-dynamic-complete-filename)
1837         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1838         * completion.el (complete):
1839         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1840         * disp-table.el (describe-current-display-table):
1841         * doc-view.el (doc-view-insert-image):
1842         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1843         * ehelp.el (with-electric-help):
1844         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1845         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1846         * emacs-lisp/helper.el (Helper-help-scroller):
1847         * emulation/cua-base.el (cua--post-command-handler-1):
1848         * eshell/esh-mode.el (eshell-output-filter):
1849         * ffap.el (ffap-gnus-wrapper):
1850         * help-macro.el (make-help-screen):
1851         * hilit-chg.el (highlight-compare-buffers):
1852         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1853         * hl-line.el (global-hl-line-highlight):
1854         * icomplete.el (icomplete-simple-completing-p):
1855         * isearch.el (isearch-done):
1856         * jit-lock.el (jit-lock-stealth-fontify):
1857         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1858         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1859         * mpc.el (mpc-tagbrowser, mpc):
1860         * net/rcirc.el (rcirc-any-buffer):
1861         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1862         * play/landmark.el (landmark-max-width, landmark-max-height):
1863         * play/zone.el (zone):
1864         * progmodes/compile.el (compilation-goto-locus):
1865         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1866         * progmodes/etags.el (find-tag-other-window):
1867         * progmodes/fortran.el (fortran-column-ruler):
1868         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1869         * progmodes/verilog-mode.el (verilog-point-text):
1870         * reposition.el (reposition-window):
1871         * rot13.el (toggle-rot13-mode):
1872         * server.el (server-switch-buffer):
1873         * shell.el (shell-dynamic-complete-command)
1874         (shell-dynamic-complete-environment-variable):
1875         * simple.el (insert-buffer, set-selective-display)
1876         (delete-completion-window):
1877         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1878         (speedbar-recenter):
1879         * startup.el (fancy-splash-head):
1880         * textmodes/ispell.el (ispell-command-loop):
1881         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1882         * tutorial.el (help-with-tutorial):
1883         * vc/add-log.el (add-change-log-entry):
1884         * vc/compare-w.el (compare-windows):
1885         * vc/ediff-help.el (ediff-indent-help-message):
1886         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1887         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1888         (ediff-setup-control-frame):
1889         * vc/emerge.el (emerge-position-region):
1890         * vc/pcvs-util.el (cvs-bury-buffer):
1891         * window.el (walk-windows, mouse-autoselect-window-select):
1892         * winner.el (winner-set-conf, winner-undo): Related users changed.
1894 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
1896         * frameset.el (frameset--set-id): Doc fix.
1897         (frameset-frame-id, frameset-frame-id-equal-p)
1898         (frameset-locate-frame-id): New functions.
1899         (frameset--process-minibuffer-frames, frameset--reuse-frame)
1900         (frameset-restore): Use them.
1902 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
1904         Do not call to `selected-frame' where it is assumed by default.
1905         Affected functions are `raise-frame', `redraw-frame',
1906         `frame-first-window', `frame-terminal' and `delete-frame'.
1907         * calendar/appt.el (appt-disp-window):
1908         * epg.el (epg-wait-for-completion):
1909         * follow.el (follow-delete-other-windows-and-split)
1910         (follow-avoid-tail-recenter):
1911         * international/mule.el (set-terminal-coding-system):
1912         * mail/rmail.el (rmail-mail-return):
1913         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1914         * progmodes/f90.el (f90-add-imenu-menu):
1915         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1916         * server.el (server-switch-buffer):
1917         * simple.el (delete-completion-window):
1918         * talk.el (talk):
1919         * term/xterm.el (terminal-init-xterm-modify-other-keys)
1920         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1921         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1922         * vc/ediff.el (ediff-documentation): Related users changed.
1923         * frame.el (selected-terminal): Remove the leftover.
1925 2013-08-05  Glenn Morris  <rgm@gnu.org>
1927         * calendar/calendar.el (calendar-generate-month):
1928         Fix for calendar-column-width != 1 + calendar-day-digit-width.
1929         (calendar-generate-month, calendar-font-lock-keywords):
1930         Fix for calendar-day-header-width > length of any day name.
1932 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
1934         * desktop.el (desktop-clear): Use new name of sort predicate.
1936         * frameset.el (frameset): Add docstring.  Move :version property to its
1937         own `version' slot.
1938         (frameset-copy): Rename from copy-frameset.
1939         (frameset-p): Check more thoroughly.
1940         (frameset-prop): Do not check for :version, which is no longer a prop.
1941         (frameset-live-filter-alist, frameset-persistent-filter-alist):
1942         Use new :never value instead of t.
1943         (frameset-filter-alist): Expand and clarify docstring.
1944         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1945         (frameset-filter-minibuffer, frameset-filter-save-param)
1946         (frameset-filter-restore-param, frameset-filter-iconified):
1947         Add pointer to docstring of frameset-filter-alist.
1948         (frameset-filter-params): Rename filter values to be more meaningful:
1949         :never instead of t, and reverse the meanings of :save and :restore.
1950         (frameset--process-minibuffer-frames): Clarify error message.
1951         (frameset-save): Avoid unnecessary and confusing call to framep.
1952         Use new BOA constructor for framesets.
1953         (frameset--reuse-list): Doc fix.
1954         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
1955         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1956         (frameset-minibufferless-first-p): Doc fix.
1957         Rename from frameset-sort-frames-for-deletion.
1958         (frameset-restore): Doc fixes.  Use new function names.
1959         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1961 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
1963         * desktop.el (desktop-restore-forces-onscreen)
1964         (desktop-restore-reuses-frames): Document :keyword constant values.
1965         (desktop-filter-parameters-alist): Remove, now identical to
1966         frameset-filter-alist.
1967         (desktop--filter-tty*): Remove, moved to frameset.el.
1968         (desktop-save-frameset, desktop-restore-frameset):
1969         Do not pass :filters argument.
1971         * frameset.el (frameset-live-filter-alist)
1972         (frameset-persistent-filter-alist): New variables.
1973         (frameset-filter-alist): Use them.  Add autoload cookie.
1974         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1975         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1976         `frameset--id' (it's supposed to be internal to frameset.el).
1977         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
1978         (frameset--initial-params): New function.
1979         (frameset--get-frame): Use it.  Doc fix.
1980         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1981         Accept :all, not 'all.
1982         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1983         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
1984         with fbound symbols.  Fix frame id matching, and remove matching ids if
1985         the frame being restored is deleted.  Obey :delete.
1987 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1989         * subr.el (macrop): New function.
1990         (text-clone--maintaining): New var.
1991         (text-clone--maintain): Rename from text-clone-maintain.  Use it
1992         instead of inhibit-modification-hooks.
1994         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1995         a proxy, so as handle autoloads and redefinitions of the target.
1996         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1998         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1999         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
2000         (pcase--mutually-exclusive-p): New function.
2001         (pcase--split-consp): Use it.
2002         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
2003         mutually exclusive with the current predicate.
2005         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2006         (edebug-macrop): Remove.  Use `macrop' instead.
2007         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
2008         (ad-macro-p):
2009         * eshell/esh-cmd.el (eshell-macrop):
2010         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
2012 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2014         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2015         (advice-mapc): New function, using it.
2016         (advice-function-member-p): New function.
2017         (advice--normalize): Store the cdr in advice--saved-rewrite since
2018         that's the part that will be changed.
2019         (advice--symbol-function): New function.
2020         (advice-remove): Handle removal before the function is defined.
2021         Adjust to new advice--saved-rewrite.
2022         (advice-member-p): Use advice-function-member-p and
2023         advice--symbol-function.
2025 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
2027         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2028         (frameset-filter-minibuffer): Doc fix.
2029         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
2030         (frameset--set-id, frameset--process-minibuffer-frames)
2031         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2032         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2034         * desktop.el (desktop-clear): Only delete frames when called
2035         interactively and desktop-restore-frames is non-nil.  Doc fix.
2036         (desktop-read): Set desktop-saved-frameset to nil.
2038 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
2040         * vc/vc.el (vc-ignore): Rewrite.
2041         (vc-default-ignore-completion-table):
2042         (vc--read-lines):
2043         (vc--add-line, vc--remove-regexp): New functions.
2045         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2046         (vc-svn-ignore-completion-table): New function.
2048         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2049         (vc-hg-ignore-completion-table):
2050         (vc-hg-find-ignore-file): New functions.
2052         * vc/vc-git.el (vc-git-ignore): Rewrite.
2053         (vc-git-ignore-completion-table):
2054         (vc-git-find-ignore-file): New functions.
2056         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2058         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2059         (vc-bzr-ignore-completion-table):
2060         (vc-bzr-find-ignore-file): New functions.
2062 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
2064         * frameset.el (frameset-prop): New function and setter.
2065         (frameset-save): Do not modify frame list passed by the caller.
2067 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2069         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2071 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2074         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2076         * custom.el (custom-initialize-default, custom-initialize-set)
2077         (custom-initialize-reset, custom-initialize-changed): Affect the
2078         toplevel-default-value (bug#6275, bug#14586).
2079         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2080         for bug#6275.
2082 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
2084         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2085         Add cl-def* expressions.
2087         * frameset.el (frameset-filter-params): Fix order of arguments.
2089 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
2091         Move code related to saving frames to frameset.el.
2092         * desktop.el: Require frameset.
2093         (desktop-restore-frames): Doc fix.
2094         (desktop-restore-reuses-frames): Rename from
2095         desktop-restoring-reuses-frames.
2096         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2097         (desktop-clear): Clear frames too.
2098         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2099         (desktop--filter-tty*, desktop-save, desktop-read):
2100         Use frameset functions.
2101         (desktop-before-saving-frames-functions, desktop--filter-*-color)
2102         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2103         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2104         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2105         (desktop--process-minibuffer-frames, desktop-save-frames)
2106         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2107         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2108         (desktop--sort-states, desktop-restoring-frames-p)
2109         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
2110         (desktop-restoring-frameset-p, desktop-restore-frameset)
2111         (desktop--check-dont-save, desktop-save-frameset): New functions.
2112         (desktop--app-id): New constant.
2113         (desktop-first-buffer, desktop-buffer-ok-count)
2114         (desktop-buffer-fail-count): Move before first use.
2115         * frameset.el: New file.
2117 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * files.el: Use lexical-binding.
2120         (dir-locals-read-from-file): Remove unused `err' variable.
2121         (hack-dir-local-variables--warned-coding): New var.
2122         (hack-dir-local-variables): Use it to avoid repeated warnings.
2123         (make-backup-file-name--default-function): New function.
2124         (make-backup-file-name-function): Use it as default.
2125         (buffer-stale--default-function): New function.
2126         (buffer-stale-function): Use it as default.
2127         (revert-buffer-insert-file-contents--default-function): New function.
2128         (revert-buffer-insert-file-contents-function): Use it as default.
2129         (insert-directory): Avoid add-to-list.
2131         * autorevert.el (auto-revert-handler): Simplify.
2132         Use buffer-stale--default-function.
2134 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
2136         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2138         * whitespace.el (whitespace-ensure-local-variables): New function.
2139         (whitespace-cleanup-region): Call it.
2140         (whitespace-turn-on): Call it.
2142 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
2144         Complete file name handlers.
2146         * net/tramp.el (tramp-handle-set-visited-file-modtime)
2147         (tramp-handle-verify-visited-file-modtime)
2148         (tramp-handle-file-notify-rm-watch): New functions.
2149         (tramp-call-process): Do not bind `default-directory'.
2151         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2152         Order alphabetically.
2153         [access-file, add-name-to-file, dired-call-process]:
2154         [dired-compress-file, file-acl, file-notify-rm-watch]:
2155         [file-ownership-preserved-p, file-selinux-context]:
2156         [make-directory-internal, make-symbolic-link, set-file-acl]:
2157         [set-file-selinux-context, set-visited-file-modtime]:
2158         [verify-visited-file-modtime]: Add handler.
2159         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2161         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2162         [file-notify-add-watch, file-notify-rm-watch]:
2163         [set-file-times, set-visited-file-modtime]:
2164         [verify-visited-file-modtime]: Add handler.
2165         (with-tramp-gvfs-error-message)
2166         (tramp-gvfs-handle-set-visited-file-modtime)
2167         (tramp-gvfs-fuse-file-name): Remove.
2168         (tramp-gvfs-handle-file-notify-add-watch)
2169         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2170         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2172         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2173         Order alphabetically.
2174         [file-notify-rm-watch ]: Use default Tramp handler.
2175         [executable-find]: Remove private handler.
2176         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2177         `default-directory'.
2178         (tramp-sh-handle-executable-find)
2179         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2180         (tramp-sh-file-gvfs-monitor-dir-process-filter)
2181         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2182         Do not use `format' in `tramp-message'.
2184         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2185         [file-notify-rm-watch, set-visited-file-modtime]:
2186         [verify-visited-file-modtime]: Add handler.
2187         (tramp-smb-call-winexe): Do not bind `default-directory'.
2189 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
2191         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2193 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
2195         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2196         use it.
2197         (log-view-diff-changeset): Same.
2198         (log-view-diff-common): Call backend command `previous-revision'
2199         to find out the previous revision, in both cases.  Swap the
2200         variables `to' and `fr', so that `fr' usually refers to the
2201         earlier revision (Bug#14989).
2203 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
2205         * ibuf-ext.el (ibuffer-filter-by-filename):
2206         Make it work with dired buffers too.
2208 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
2210         * emacs-lisp/re-builder.el (reb-color-display-p):
2211         * files.el (save-buffers-kill-terminal):
2212         * net/browse-url.el (browse-url):
2213         * server.el (server-save-buffers-kill-terminal):
2214         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2215         Prefer nil to selected-frame for the first arg of frame-parameter.
2217 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
2219         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2221 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
2223         * minibuffer.el (completion--twq-all): Try and preserve each
2224         completion's case choice (bug#14907).
2226 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2228         * net/network-stream.el (open-network-stream): Mention the new
2229         :nogreeting parameter.
2230         (network-stream-open-starttls): Use the :nogreeting parameter
2231         (bug#14938).
2233         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2235         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2236         more natural than popping.
2238         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2239         (shr-urlify): Highlight under mouse.
2241 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
2243         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2245         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2247         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
2248         buffer for output.
2250         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
2251         point-min==1.  Fix search string.  Fix parentheses missing.
2253         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
2254         assume point-min==1.  Fix search string.  Fix parentheses missing.
2256         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2258         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
2259         buffer for output.
2261 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
2263         * frame.el (frame-notice-user-settings): Avoid inflooping when the
2264         initial frame is minibuffer-less.  (Bug#14841)
2266 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
2268         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2269         option.
2271         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2272         (tramp-maybe-open-connection): Use it.
2274 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
2276         * desktop.el (desktop--make-frame): Include `minibuffer' in the
2277         minimal set of parameters passed when creating a frame, because
2278         the minibuffer status of a frame cannot be changed later.
2280 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
2282         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2283         replace-regexp-in-string and inadvertent omissions in previous change.
2284         (todo-filter-items): Ensure only file names are comma-separated in
2285         name of filtered items buffer.
2287 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
2289         * desktop.el: Optionally force offscreen frames back onscreen.
2290         (desktop-restoring-reuses-frames): New option.
2291         (desktop--compute-pos, desktop--move-onscreen): New functions.
2292         (desktop--make-frame): Use desktop--move-onscreen.
2294 2013-07-27  Alan Mackenzie  <acm@muc.de>
2296         Fontify a Java generic method as a function.
2297         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2298         value to t.
2300 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
2302         * calendar/todo-mode.el: Add command to rename todo files.
2303         (todo-rename-file): New command.
2304         (todo-key-bindings-t): Add key binding for it.  Change the
2305         bindings of todo-filter-regexp-items(-multifile) to use `x'
2306         instead of `r', since the latter is better suited to the new
2307         renaming command.
2309 2013-07-27  Alan Mackenzie  <acm@muc.de>
2311         Make Java try-with-resources statement parse properly.
2312         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2313         (c-block-stmt-1-2-key): New language constants/variables.
2314         * progmodes/cc-engine.el (c-beginning-of-statement-1)
2315         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2316         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2317         with c-block-stmt-1-2-key.
2319 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
2321         * desktop.el (desktop--make-frame): Apply most frame parameters after
2322         creating the frame to force (partially or totally) offscreen frames to
2323         be restored as such.
2325 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
2327         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2328         (Bug#14948)
2330 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2333         `base' arg of backtrace-frame.
2335 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
2337         * simple.el (list-processes): Doc fix.
2339 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
2341         * desktop.el (desktop--select-frame):
2342         Try harder to reuse existing frames.
2344 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2346         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2347         (edebug-eval): Use backtrace-eval.
2348         (edebug--display, edebug--recursive-edit): Don't let-bind the
2349         edebug-outer-* vars that keep track of variables we locally let-bind.
2350         (edebug-outside-excursion): Don't restore outside values of locally
2351         let-bound vars.
2352         (edebug--display): Use user-error.
2353         (cl-lexical-debug, cl-debug-env): Remove.
2355 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
2357         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2358         are restored to be sure that they are visible before deleting any
2359         remaining ones.
2361 2013-07-26  Matthias Meulien  <orontee@gmail.com>
2363         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2364         vc-print-root-log.  (Bug#14948)
2366 2013-07-26  Richard Stallman  <rms@gnu.org>
2368         Add aliases for encrypting mail.
2369         * epa.el (epa-mail-aliases): New option.
2370         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2371         Bind inhibit-read-only so read-only text doesn't ruin everything.
2372         (epa-mail-default-recipients): New subroutine broken out.
2373         Handle epa-mail-aliases.
2375 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2377         Add support for lexical variables to the debugger's `e' command.
2378         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2379         vars, except for debugger-outer-match-data.
2380         (debugger-frame-number): Move check for "on a function call" from
2381         callers into it.  Add `skip-base' argument.
2382         (debugger-frame, debugger-frame-clear): Simplify accordingly.
2383         (debugger-env-macro): Only reset the state stored in non-variables,
2384         i.e. current-buffer and match-data.
2385         (debugger-eval-expression): Rewrite using backtrace-eval.
2386         * subr.el (internal--called-interactively-p--get-frame): Remove.
2387         (called-interactively-p):
2388         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2389         `base' arg of backtrace-frame instead.
2391 2013-07-26  Glenn Morris  <rgm@gnu.org>
2393         * align.el (align-regexp): Doc fix.  (Bug#14857)
2394         (align-region): Explicit error if subexpression missing/does not match.
2396         * simple.el (global-visual-line-mode):
2397         Do not duplicate the mode lighter.  (Bug#14858)
2399 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
2401         * window.el (display-buffer): In display-buffer bind
2402         split-window-keep-point to t, bug#14829.
2404 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
2406         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2407         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2408         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2409         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2410         Change accordingly.
2411         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2412         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2414 2013-07-25  Glenn Morris  <rgm@gnu.org>
2416         * dired-x.el (dired-mark-extension): Convert comment to doc string.
2418 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
2420         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2421         parameter to modify-frame-parameters if the value has not changed;
2422         this is a workaround for bug#14949.
2423         (desktop--make-frame): On cl-delete-if call, check parameter name,
2424         not full parameter.
2426 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
2428         * vc/vc.el (vc-ignore): New function.
2430         * vc/vc-svn.el (vc-svn-ignore): New function.
2432         * vc/vc-hg.el (vc-hg-ignore): New function.
2434         * vc/vc-git.el (vc-git-ignore): New function.
2436         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2437         (vc-dir-ignore): New function.
2439         * vc/vc-cvs.el (vc-cvs-ignore): New function.
2440         (cvs-append-to-ignore): Move here from pcvs.el.
2442         * vc/vc-bzr.el (vc-bzr-ignore): New function.
2444         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2446 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
2448         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2449         (desktop-restore-frames): Warn when deleting an existing frame failed.
2451 2013-07-24  Glenn Morris  <rgm@gnu.org>
2453         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
2455 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
2457         * filenotify.el (file-notify-supported-p):
2458         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2459         Remove functions.
2461         * autorevert.el (auto-revert-use-notify):
2462         (auto-revert-notify-add-watch):
2463         * net/tramp.el (tramp-file-name-for-operation):
2464         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2465         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2466         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2467         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2468         Remove `file-notify-supported-p' entry.
2470 2013-07-24  Glenn Morris  <rgm@gnu.org>
2472         * printing.el: Replace all uses of deleted ps-windows-system,
2473         ps-lp-system, ps-flatten-list with lpr- versions.
2475 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2477         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2478         checked with memq (bug#14935).
2480         * files.el (revert-buffer-function): Use a non-nil default.
2481         (revert-buffer-preserve-modes): Declare var to
2482         provide access to the `preserve-modes' argument.
2483         (revert-buffer): Let-bind it.
2484         (revert-buffer--default): New function, extracted from revert-buffer.
2486 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2488         * lpr.el: Signal print errors more prominently.
2489         (print-region-function): Don't default to nil.
2490         (lpr-print-region): New function, extracted from print-region-1.
2491         Check lpr's return value and signal an error in case of problem.
2492         (print-region-1): Use it.
2493         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
2494         versions instead.
2495         (ps-printer-name): Default to nil.
2496         (ps-printer-name-option): Default to lpr-printer-switch.
2497         (ps-print-region-function): Don't default to nil.
2498         (ps-postscript-code-directory): Simplify default.
2499         (ps-do-despool): Use lpr-print-region to properly check the outcome.
2500         (ps-string-list, ps-eval-switch, ps-flatten-list)
2501         (ps-flatten-list-1): Remove.
2502         (ps-multibyte-buffer): Avoid setq.
2503         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2504         (print-region-function, ps-print-region-function): Don't set them here.
2506 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
2508         * ido.el (ido-fractionp):
2509         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2510         (ido-max-file-prompt-width, ido-unc-hosts-cache)
2511         (ido-max-directory-size, ido-max-dir-file-cache)
2512         (ido-decorations): Doc fix.
2514         * ansi-color.el: Fix old URL.
2516 2013-07-23  Michael R. Mauger  <michael@mauger.com>
2518         * progmodes/sql.el Version 3.3
2519         (sql-product-alist): Improve oracle :prompt-cont-regexp.
2520         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2521         (sql-interactive-remove-continuation-prompt): Rewrite, use
2522         functions above.  Fix continuation prompt and complete output line
2523         handling.
2524         (sql-redirect-one, sql-execute): Use `read-only-mode' on
2525         redirected output buffer.
2526         (sql-mode): Restore deleted code (Bug#13591).
2528 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
2530         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2532 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
2534         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2536         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2537         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2538         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2540 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
2542         * desktop.el (desktop-clear): Simplify; remove useless checks
2543         against invalid buffer names.
2544         (desktop-list*): Use cl-list*.
2545         (desktop-buffer-info, desktop-create-buffer): Simplify.
2547 2013-07-23  Leo Liu  <sdl.web@gmail.com>
2549         * bookmark.el (bookmark-make-record): Restore NAME as a default
2550         value.  (Bug#14933)
2552 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2554         * emacs-lisp/autoload.el (autoload--setup-output): New function,
2555         extracted from autoload--insert-text.
2556         (autoload--insert-text): Remove.
2557         (autoload--print-cookie-text): New function, extracted from
2558         autoload--insert-cookie-text.
2559         (autoload--insert-cookie-text): Remove.
2560         (autoload-generate-file-autoloads): Adjust calls accordingly.
2562         * winner.el (winner-hook-installed-p): Remove.
2563         (winner-mode): Simplify accordingly.
2565         * subr.el (add-to-list): Fix compiler-macro when `append' is
2566         not constant.  Don't use `cl-member' for the base case.
2568         * progmodes/subword.el: Fix boundary case (bug#13758).
2569         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
2570         own group.
2571         (subword-backward-regexp): Make it a constant.
2572         (subword-forward-internal): Don't treat a trailing capital as the
2573         beginning of a word.
2575 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
2577         * emacs-lisp/package.el (package-menu-mode): Don't modify the
2578         global value of tabulated-list-revert-hook (bug#14930).
2580 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
2582         * desktop.el: Require 'cl-lib.
2583         (desktop-before-saving-frames-functions): New hook.
2584         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2585         for frames being saved.  Rename from desktop--save-minibuffer-frames.
2586         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2587         Do not save frames with non-nil `desktop-dont-save' parameter.
2588         Filter out deleted frames.
2589         (desktop--find-frame): Use cl-find-if.
2590         (desktop--select-frame): Use cl-(first|second|third) to access values
2591         of desktop-mini.
2592         (desktop--make-frame): Use cl-delete-if.
2593         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2594         (desktop-restore-frames): Use cl-(first|second|third) to access values
2595         of desktop-mini.  Look for visible frame at the end, not while
2596         restoring frames.
2598         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2599         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2600         Use string-match-p, looking-at-p (bug#14927).
2602 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
2604         * desktop.el (desktop-saved-frame-states):
2605         Rename from desktop--saved-states; all users changed.
2606         (desktop-save-frames): Rename from desktop--save-frames.
2607         Do not save state to desktop file.
2608         (desktop-save): Save desktop-saved-frame-states to desktop file
2609         and reset to nil.
2610         (desktop-restoring-frames-p): New function.
2611         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
2612         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
2613         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
2615         * desktop.el: Correctly restore iconified frames.
2616         (desktop--filter-iconified-position): New function.
2617         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2619 2013-07-20  Glenn Morris  <rgm@gnu.org>
2621         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2622         Let `message' do the formatting.
2623         (def-gdb-preempt-display-buffer): Add explicit format.
2625         * image-dired.el (image-dired-track-original-file):
2626         Use with-current-buffer.
2627         (image-dired-track-thumbnail): Use with-current-buffer.
2628         Avoid changing point of wrong window.
2630         * image-dired.el (image-dired-track-original-file):
2631         Avoid changing point of wrong window.  (Bug#14909)
2633 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
2635         * progmodes/gdb-mi.el (gdb-done-or-error):
2636         Guard against "%" in gdb output.  (Bug#14127)
2638 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
2640         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2641         (Bug#14826)
2643         * international/mule.el (coding-system-iso-2022-flags): Fix last
2644         change.
2646 2013-07-20  Kenichi Handa  <handa@gnu.org>
2648         * international/mule.el (coding-system-iso-2022-flags):
2649         Add `8-bit-level-4'.  (Bug#8522)
2651 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2653         * net/shr.el (shr-mouse-browse-url): New command and keystroke
2654         (bug#14815).
2656         * net/eww.el (eww-process-text-input): Allow inputting when the
2657         point is at the start of the line, as the properties aren't
2658         front-sticky.
2660         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2661         degenerate widths.
2663 2013-07-19  Richard Stallman  <rms@gnu.org>
2665         * epa.el (epa-popup-info-window): Doc fix.
2667         * subr.el (split-string): New arg TRIM.
2669 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
2671         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2672         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2674 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
2676         * filenotify.el (file-notify--library): Rename from
2677         `file-notify-support'.  Do not autoload.  Adapt all uses.
2678         (file-notify-supported-p): New defun.
2680         * autorevert.el (auto-revert-use-notify):
2681         Use `file-notify-supported-p' instead of `file-notify-support'.
2682         Adapt docstring.
2683         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2685         * net/tramp.el (tramp-file-name-for-operation):
2686         Add `file-notify-supported-p'.
2688         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2689         New defun.
2690         (tramp-sh-file-name-handler-alist): Add it as handler for
2691         `file-notify-supported-p '.
2693         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2694         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2695         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2696         Add `ignore' as handler for `file-notify-*' functions.
2698 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
2700         * simple.el (line-move-partial, line-move): Don't start vscroll or
2701         scroll-up if the current line is not taller than the window.
2702         (Bug#14881)
2704 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
2706         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2707         highlight question marks in the method names as strings.
2708         (ruby-block-beg-keywords): Inline.
2709         (ruby-font-lock-keyword-beg-re): Extract from
2710         `ruby-font-lock-keywords'.
2712 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
2714         * frame.el (blink-cursor-blinks): New defcustom.
2715         (blink-cursor-blinks-done): New defvar.
2716         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2717         (blink-cursor-timer-function): Check if number of blinks has been
2718         done on X and NS.
2719         (blink-cursor-suspend, blink-cursor-check): New defuns.
2721 2013-07-15  Glenn Morris  <rgm@gnu.org>
2723         * edmacro.el (edmacro-format-keys): Fix previous change.
2725 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
2727         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2728         The hack didn't work outside English locales anyway.
2730 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
2732         * simple.el (define-alternatives): Rename from alternatives-define,
2733         per RMS' suggestion.
2735 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
2737         * desktop.el (desktop-restore-frames): Change default to t.
2738         (desktop-restore-in-current-display): Now offer more options.
2739         (desktop-restoring-reuses-frames): New customization option.
2740         (desktop--saved-states): Doc fix.
2741         (desktop-filter-parameters-alist): New variable, renamed and expanded
2742         from desktop--excluded-frame-parameters.
2743         (desktop--target-display): New variable.
2744         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2745         (desktop--filter-tty*, desktop--filter-*-color)
2746         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2747         (desktop--filter-save-desktop-parm)
2748         (desktop-restore-in-original-display-p): New functions.
2749         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2750         (desktop--save-minibuffer-frames): New function, inspired by a similar
2751         function from Martin Rudalics.
2752         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2753         (desktop--restore-in-this-display-p): Remove.
2754         (desktop--find-frame): Rename from desktop--find-frame-in-display
2755         and add predicate argument.
2756         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2757         (desktop--reuse-list): New variable.
2758         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2759         New functions.
2760         (desktop--restore-frames): Add support for "minibuffer-special" frames.
2762 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
2764         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2766 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
2768         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2769         Highlight conversion methods on Kernel.
2771 2013-07-13  Alan Mackenzie  <acm@muc.de>
2773         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2774         and comment it out.  This out-commenting enables certain C++
2775         declarations to be parsed correctly.
2777 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
2779         * international/mule.el (define-coding-system): Doc fix.
2781         * simple.el (default-font-height): Don't call font-info if the
2782         frame's default font didn't change since the frame was created.
2783         (Bug#14838)
2785 2013-07-13  Leo Liu  <sdl.web@gmail.com>
2787         * ido.el (ido-read-file-name): Guard against non-symbol value.
2789 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2791         * progmodes/python.el (python-imenu--build-tree): Fix corner case
2792         in nested defuns.
2794 2013-07-13  Leo Liu  <sdl.web@gmail.com>
2796         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2797         ido-set-matches call.  (Bug#6852)
2799 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
2801         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2802         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2803         Ruby 2.0.
2804         (ruby-font-lock-keywords): Distinguish calls to functions with
2805         module-like names from module references.  Highlight character
2806         literals.
2808 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2810         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2811         (gdb-send): Handle continued commands.  (Bug#14847)
2813 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
2815         * desktop.el (desktop--v2s): Remove unused local variable.
2816         (desktop-save-buffer): Make defvar-local; adjust docstring.
2817         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2818         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2820 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
2822         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2824 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
2826         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2827         (Bug#14842)
2829 2013-07-12  Glenn Morris  <rgm@gnu.org>
2831         * doc-view.el: Require cl-lib at runtime too.
2832         (doc-view-remove-if): Remove.
2833         (doc-view-search-next-match, doc-view-search-previous-match):
2834         Use cl-remove-if.
2836         * edmacro.el: Require cl-lib at runtime too.
2837         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2838         (edmacro-mismatch, edmacro-subseq): Remove.
2840         * shadowfile.el: Require cl-lib.
2841         (shadow-remove-if): Remove.
2842         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2843         Use cl-remove-if.
2845         * wid-edit.el: Require cl-lib.
2846         (widget-choose): Use cl-remove-if.
2847         (widget-remove-if): Remove.
2849         * progmodes/ebrowse.el: Require cl-lib at runtime too.
2850         (ebrowse-delete-if-not): Remove.
2851         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2852         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2853         Use cl-delete-if-not.
2855 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
2857         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2858         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2860 2013-07-12  Leo Liu  <sdl.web@gmail.com>
2862         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
2864 2013-07-11  Glenn Morris  <rgm@gnu.org>
2866         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2867         (edebug-gensym-index, edebug-gensym):
2868         Remove reimplementation of cl-gensym.
2869         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2871         * thumbs.el: Require cl-lib at run-time too.
2872         (thumbs-gensym-counter, thumbs-gensym):
2873         Remove reimplementation of cl-gensym.
2874         (thumbs-temp-file): Use cl-gensym.
2876         * emacs-lisp/ert.el: Require cl-lib at runtime too.
2877         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2878         (ert--intersection, ert--set-difference, ert--set-difference-eq)
2879         (ert--union, ert--gensym-counter, ert--gensym-counter)
2880         (ert--coerce-to-vector, ert--remove*, ert--string-position)
2881         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2882         (ert-make-test-unbound, ert--expand-should-1)
2883         (ert--expand-should, ert--should-error-handle-error)
2884         (should-error, ert--explain-equal-rec)
2885         (ert--plist-difference-explanation, ert-select-tests)
2886         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2887         Use cl-lib functions rather than reimplementations.
2889 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
2891         * net/tramp.el (tramp-methods): Extend docstring.
2892         (tramp-connection-timeout): New defcustom.
2893         (tramp-error-with-buffer): Reset timestamp only when appropriate.
2894         (with-tramp-progress-reporter): Simplify.
2895         (tramp-process-actions): Improve messages.
2897         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2898         * net/tramp-sh.el (tramp-maybe-open-connection):
2899         Use `tramp-connection-timeout'.
2900         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2901         (Bug#14808)
2903 2013-07-11  Leo Liu  <sdl.web@gmail.com>
2905         * ido.el (ido-read-file-name): Conform to the requirements of
2906         read-file-name.  (Bug#11861)
2907         (ido-read-directory-name): Conform to the requirements of
2908         read-directory-name.
2910 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
2912         * subr.el (delay-warning): New function.
2914 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
2916         * simple.el (default-line-height): New function.
2917         (line-move-partial, line-move): Use it instead of computing the
2918         line height inline.
2919         (line-move-partial): Always compute ROWH.  If the last line is
2920         partially-visible, but its text is completely visible, allow
2921         cursor to enter such a partially-visible line.
2923 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
2925         Improve error messages.  (Bug#14808)
2927         * net/tramp.el (tramp-current-connection): New defvar, moved from
2928         tramp-sh.el.
2929         (tramp-message-show-progress-reporter-message): Remove, not
2930         needed anymore.
2931         (tramp-error-with-buffer): Show message in minibuffer.
2932         Discard input before waiting.  Reset connection timestamp.
2933         (with-tramp-progress-reporter): Improve messages.
2934         (tramp-process-actions): Use progress reporter.  Delete process in
2935         case of error.  Improve messages.
2937         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2938         Call `tramp-error-with-buffer' with vector and buffer.
2939         (tramp-current-connection): Remove.
2940         (tramp-maybe-open-connection): The car of
2941         `tramp-current-connection' are the first 3 slots of the vector.
2943 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
2945         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2946         inside continued strings.
2948 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
2950         Timestamp fixes for undo (Bug#14824).
2951         * files.el (clear-visited-file-modtime): Move here from fileio.c.
2953 2013-07-10  Leo Liu  <sdl.web@gmail.com>
2955         * files.el (require-final-newline): Allow safe local value.
2956         (Bug#14834)
2958 2013-07-09  Leo Liu  <sdl.web@gmail.com>
2960         * ido.el (ido-read-directory-name): Handle fallback.
2961         (ido-read-file-name): Update DIR to ido-current-directory.
2962         (Bug#1516)
2963         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
2965 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
2967         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2968         "autoload".  Remove "warn lower camel case" section, previously
2969         commented out.  Highlight negation char.  Do not highlight the
2970         target in singleton method definitions.
2972 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2974         * faces.el (tty-setup-hook): Declare the hook.
2976         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2977         and detect when a guard/pred depends on local vars (bug#14773).
2978         (pcase--u1): Adjust caller.
2980 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
2982         * simple.el (line-move-partial, line-move): Account for
2983         line-spacing.
2984         (line-move-partial): Avoid setting vscroll when the last
2985         partially-visible line in window is of default height.
2987 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2989         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2990         been used a while.
2992 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
2994         * subr.el (read-quoted-char): Remove unused local variable `char'.
2996 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
2998         * ediff.el (ediff-version): Version update.
2999         (ediff-files-command, ediff3-files-command, ediff-merge-command)
3000         (ediff-merge-with-ancestor-command, ediff-directories-command)
3001         (ediff-directories3-command, ediff-merge-directories-command)
3002         (ediff-merge-directories-with-ancestor-command): New functions.
3003         All are command-line interfaces to ediff: to facilitate calling
3004         Emacs with the appropriate ediff functions invoked.
3006         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3007         (viper-save-kill-buffer): Check if buffer is modified.
3009         * viper.el (viper-version): Version update.
3010         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3012 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3014         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3015         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3016         (viper-intercept-ESC-key): Simplify.
3017         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3018         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3019         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3020         (viper-setup-ESC-to-escape): New functions.
3021         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3022         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
3024 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
3026         * simple.el (default-font-height, window-screen-lines):
3027         New functions.
3028         (line-move, line-move-partial): Use them instead of
3029         frame-char-height and window-text-height.  This makes scrolling
3030         text smoother when the buffer's default face uses a font that is
3031         different from the frame's default font.
3033 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
3035         * files.el (write-file): Do not display confirm dialog for NS,
3036         it does its own dialog, which can't be cancelled (Bug#14578).
3038 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
3040         * simple.el (line-move-partial): Adjust the row returned by
3041         posn-at-point for the current window-vscroll.  (Bug#14567)
3043 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
3045         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3046         (tramp-sh-file-inotifywait-process-filter): Handle file names with
3047         spaces.
3049 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
3051         * window.el (window-state-put-stale-windows): New variable.
3052         (window--state-put-2): Save list of windows without matching buffer.
3053         (window-state-put): Remove "bufferless" windows if possible.
3055 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
3057         * simple.el (alternatives-define): Remove leftover :group keyword.
3058         Tweak docstring.
3060 2013-07-06  Leo Liu  <sdl.web@gmail.com>
3062         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3063         (ido-enable-virtual-buffers): New variable.
3064         (ido-buffer-internal, ido-toggle-virtual-buffers)
3065         (ido-make-buffer-list): Use it.
3066         (ido-exhibit): Support turning on and off virtual buffers
3067         automatically.
3069 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
3071         * simple.el (alternatives-define): New macro.
3073 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3075         * subr.el (read-quoted-char): Use read-key.
3076         (sit-for): Let read-event decode tty input (bug#14782).
3078 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
3080         * calendar/todo-mode.el: Add handling of file deletion, both by
3081         mode command and externally.  Fix various related bugs.
3082         Clarify Commentary and improve some documentation strings and code.
3083         (todo-delete-file): New command.
3084         (todo-check-file): New function.
3085         (todo-show): Handle external deletion of the file we're trying to
3086         show (bug#14688).  Replace called-interactively-p by an optional
3087         prefix argument to avoid problematic interaction with catch form
3088         when byte compiled (bug#14702).
3089         (todo-quit): Handle external deletion of the archive's todo file.
3090         Make sure the buffer that was visiting the archive file is still
3091         live before trying to bury it.
3092         (todo-category-completions): Handle external deletion of any
3093         category completion files.
3094         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3095         of todo files, in case of external deletion.
3096         (todo-add-file): Replace unnecessary setq by let-binding.
3097         (todo-find-archive): Check whether there are any archives.
3098         Replace unnecessary setq by let-binding.
3099         (todo-archive-done-item): Use find-file-noselect to get the
3100         archive buffer whether or not the archive already exists.
3101         Remove superfluous code.  Use file size instead of buffer-file-name to
3102         check if the archive is new; if it is, update list of archives.
3103         (todo-default-todo-file): Allow nil to be a valid value for when
3104         there are no todo files.
3105         (todo-reevaluate-default-file-defcustom): Use corrected definition
3106         of todo-default-todo-file.
3107         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3108         (todo-delete-category, todo-show-categories-table)
3109         (todo-category-number): Clarify comment.
3110         (todo-filter-items): Clarify documentation string.
3111         (todo-show-current-file, todo-display-as-todo-file)
3112         (todo-reset-and-enable-done-separator): Tweak documentation string.
3113         (todo-done-separator): Make separator length window-width, since
3114         bug#2749 is now fixed.
3116 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
3118         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3119         Support both "gvfs-monitor-dir" and "inotifywait".
3120         (tramp-sh-file-inotifywait-process-filter): Rename from
3121         `tramp-sh-file-notify-process-filter'.
3122         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3123         (tramp-get-remote-gvfs-monitor-dir): New defuns.
3125 2013-07-05  Leo Liu  <sdl.web@gmail.com>
3127         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3129 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3131         * frame.el (display-pixel-height, display-pixel-width)
3132         (display-mm-height, display-mm-width): Mention behavior on
3133         multi-monitor setups in docstrings.
3134         (w32-display-monitor-attributes-list): Declare function.
3135         (display-monitor-attributes-list): Use it.
3137 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
3139         * filenotify.el: New package.
3141         * autorevert.el (top): Require filenotify.el.
3142         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
3143         instead.
3144         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3145         (auto-revert-notify-handler): Use `file-notify-*' functions.
3147         * subr.el (file-notify-handle-event): Move function to filenotify.el.
3149         * net/tramp.el (tramp-file-name-for-operation):
3150         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3152         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3153         for `file-notify-add-watch' and `file-notify-rm-watch'.
3154         (tramp-process-sentinel): Improve trace.
3155         (tramp-sh-handle-file-notify-add-watch)
3156         (tramp-sh-file-notify-process-filter)
3157         (tramp-sh-handle-file-notify-rm-watch)
3158         (tramp-get-remote-inotifywait): New defuns.
3160 2013-07-03  Juri Linkov  <juri@jurta.org>
3162         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3163         call of `occur-read-primary-args' to interactive spec.
3165         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3166         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
3168 2013-07-03  Matthias Meulien  <orontee@gmail.com>
3170         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3171         `Buffer-menu-multi-occur'.  Add it to the menu.
3172         (Buffer-menu-mode): Document it in docstring.
3173         (Buffer-menu-multi-occur): New command.  (Bug#14673)
3175 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
3177         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3178         keywords and built-ins.
3180 2013-07-03  Glenn Morris  <rgm@gnu.org>
3182         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
3184         Make info-xref checks case-sensitive by default
3185         * info.el (Info-find-node, Info-find-in-tag-table)
3186         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3187         Add option for exact case matching of nodes.
3188         * info-xref.el (info-xref): New custom group.
3189         (info-xref-case-fold): New option.
3190         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3192 2013-07-03  Leo Liu  <sdl.web@gmail.com>
3194         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3196 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
3198         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3199         middle of block statement initially, lower the depth.  Remove
3200         FIXME comment, not longer valid.  Remove middle of block statement
3201         detection, no need to do that anymore since we've been using
3202         `ruby-parse-region' here.
3204 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
3206         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3208 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
3210         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3212 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
3214         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3215         (desktop-restore-in-current-display): New customization option.
3216         (desktop--excluded-frame-parameters): Add `font'.
3217         (desktop--save-frames): Rename from desktop--save-windows.
3218         (desktop--restore-in-this-display-p): New function.
3219         (desktop--make-full-frame): Remove unwanted width/height from
3220         full(width|height) frames.
3221         (desktop--restore-frames): Rename from desktop--restore-windows.
3222         Obey desktop-restore-current-display.  Do not delete old frames or
3223         select a new frame unless we were able to restore at least one frame.
3225 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
3227         * files.el (find-file-noselect): Simplify conditional expression.
3229         * remember.el (remember-append-to-file):
3230         Don't mix `find-buffer-visiting' and `get-file-buffer'.
3232         Add `remember-notes' function to store random notes across Emacs
3233         restarts.
3234         * remember.el (remember-data-file): Add :set callback to affect
3235         notes buffer (if any).
3236         (remember-notes): New command.
3237         (remember-notes-buffer-name, bury-remember-notes-on-kill):
3238         New defcustoms for the `remember-notes' function.
3239         (remember-notes-save-and-bury-buffer): New command.
3240         (remember-notes-mode-map): New variable.
3241         (remember-mode): New minor mode.
3242         (remember-notes--kill-buffer-query): New function.
3243         * startup.el (initial-buffer-choice): Add notes to custom type.
3245 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
3247         * bindings.el (right-char, left-char): Don't call sit-for, this is
3248         no longer needed.  Use arithmetic comparison only for numerical
3249         arguments.
3251         * international/mule-cmds.el (select-safe-coding-system):
3252         Handle the case of FROM being a string correctly.  (Bug#14755)
3254 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3256         * net/shr.el (shr-make-table-1): Add a sanity check that allows
3257         progression on degenerate tables.
3258         (shr-rescale-image): ImageMagick animated images currently don't work.
3260 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
3262         Some fixes and improvements for desktop frame restoration.
3263         It is still experimental and disabled by default.
3264         * desktop.el (desktop--save-windows): Put the selected frame at
3265         the head of the list.
3266         (desktop--make-full-frame): New function.
3267         (desktop--restore-windows): Try to re-select the frame that was
3268         selected upon saving.  Do not abort if some frames fail to restore,
3269         just show an error message and continue.  Set up maximized frames
3270         so they have default non-maximized dimensions.
3272 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3274         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3275         Don't start heredoc inside a string or comment.
3277 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
3279         * bindings.el (visual-order-cursor-movement): New defcustom.
3280         (right-char, left-char): Provide visual-order cursor motion by
3281         calling move-point-visually.  Update the doc strings.
3283 2013-06-28  Kenichi Handa  <handa@gnu.org>
3285         * international/mule.el (define-coding-system): New coding system
3286         properties :inhibit-null-byte-detection,
3287         :inhibit-iso-escape-detection, and :prefer-utf-8.
3288         (set-buffer-file-coding-system): If :charset-list property of
3289         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3290         appropriate for setting.
3292         * international/mule-cmds.el (select-safe-coding-system):
3293         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3294         multibyte characters, return utf-8 (or one of its siblings).
3296         * international/mule-conf.el (prefer-utf-8): New coding system.
3297         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3298         files.
3300 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
3302         * net/shr.el (shr-render-region): New function.
3304         * net/eww.el: Autoload `eww-browse-url'.
3306 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
3308         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3309         Adapt to `package-desc-version' being a list.
3310         Use `package--ac-desc-version' to retrieve version from a package
3311         archive element.
3313 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
3315         New experimental feature to save&restore window and frame setup.
3316         * desktop.el (desktop-save-windows): New defcustom.
3317         (desktop--saved-states): New var.
3318         (desktop--excluded-frame-parameters): New defconst.
3319         (desktop--filter-frame-parms, desktop--find-frame-in-display)
3320         (desktop--restore-windows, desktop--save-windows): New functions.
3321         (desktop-save): Call `desktop--save-windows'.
3322         (desktop-read): Call `desktop--restore-windows'.
3324 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3326         * net/shr.el (add-face-text-property): Remove compat definition.
3328 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
3330         * info.el (Info-try-follow-nearest-node): Move search for footnote
3331         above search for node name to prevent missing a footnote (bug#14717).
3333 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
3335         * obsolete/otodo-mode.el: Add obsolescence info to file header.
3337 2013-06-27  Leo Liu  <sdl.web@gmail.com>
3339         * net/eww.el (eww-read-bookmarks): Check file size.
3341 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3343         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3344         advice--pending if newdef is nil or an autoload (bug#13820).
3345         (advice-mapc): New function.
3347 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3349         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3350         probably.
3351         (eww-mode-map): Add a menu bar.
3352         (eww-add-bookmark): New command.
3353         (eww-bookmark-mode): New mode and commands.
3354         (eww-add-bookmark): Remove newlines from the title.
3355         (eww-bookmark-browse): Don't bug out if it's the only window.
3357 2013-06-26  Glenn Morris  <rgm@gnu.org>
3359         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3360         (hfy-size): Handle ttys.  (Bug#14668)
3362         * info-xref.el: Update for Texinfo 5 change in *note format.
3363         (info-xref-node-re, info-xref-note-re): New constants.
3364         (info-xref-check-buffer): Use info-xref-note-re.
3366 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3368         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3370         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3371         nil terminate the loop (bug#14718).
3373 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3375         * net/eww.el: Rework history traversal.  When going forward/back,
3376         put these actions into the history, too, so that they can be
3377         replayed.
3378         (eww-render): Move the history reset to the correct buffer.
3380 2013-06-25  Juri Linkov  <juri@jurta.org>
3382         * files-x.el (modify-dir-local-variable): Change the header comment
3383         in the file with directory local variables.  (Bug#14692)
3385         * files-x.el (read-file-local-variable-value): Add `default'.
3386         (Bug#14710)
3388 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3390         * net/eww.el (eww-make-unique-file-name): Create a unique file
3391         name before saving to entering `y' accidentally asynchronously.
3393 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
3395         * net/eww.el (eww-download): New command and keystroke.
3397 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3399         * net/eww.el (eww-copy-page-url): Change name of command.
3401         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3402         be more consistent with Info and dired.
3404         * net/eww.el (eww-mode-map): Ditto.
3406 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3408         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
3409         packages from archives.
3410         (package-archive-contents): Change format; include obsolete packages.
3411         (package-desc): Use `dir' to mark builtin packages.
3412         (package--from-builtin): Set the `dir' field to `builtin'.
3413         (generated-autoload-file, version-control): Declare.
3414         (package-compute-transaction): Change first arg and return value to be
3415         lists of package-descs.  Adjust to new package-archive-contents format.
3416         (package--add-to-archive-contents): Adjust to new
3417         package-archive-contents format.
3418         (package-download-transaction): Arg is now a list of package-descs.
3419         (package-install): If `pkg' is a package name, pass it as
3420         a requirement, so it is subject to the usual (e.g. disabled) checks.
3421         (describe-package): Accept package-desc as well.
3422         (describe-package-1): Describe a specific package-desc.  Add links to
3423         other package-descs for the same package name.
3424         (package-menu-describe-package): Pass the actual package-desc.
3425         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3426         works correctly.
3427         (package-desc-status): New function.
3428         (package-menu--refresh): New function, extracted
3429         from package-menu--generate.
3430         (package-menu--generate): Use it.
3431         (package-delete): Update package-alist.
3432         (package-menu-execute): Don't call package-initialize.
3434         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3435         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3436         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3437         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3438         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3439         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3441 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
3443         * window.el (window--state-get-1): Workaround for bug#14527.
3444         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3446 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3448         * net/eww.el (eww-back-url): Implement the history by stashing all
3449         the data into a list.
3450         (eww-forward-url): Allow going forward in the history, too.
3452 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3454         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3455         for values and use read--expression for expressions (bug#14710).
3456         (read-file-local-variable): Avoid setq.
3457         (read-file-local-variable-mode): Use minor-mode-list.
3459 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3461         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3462         for DOI URLs.
3464 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3466         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3467         Update imenu-support when dialect changes.
3469 2013-06-25  Leo Liu  <sdl.web@gmail.com>
3471         * ido.el (ido-read-internal): Allow forward slash on windows.
3473 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3475         * net/eww.el (eww): Start of strings is \\`, not ^.
3477 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
3479         * net/shr.el (shr-browse-url): Fix interactive spec.
3481         * net/eww.el (eww): Add a trailing slash to domain names.
3483 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
3485         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3487 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3489         * net/shr.el (shr-browse-url): Use an external browser if given a
3490         prefix.
3492         * net/eww.el (eww-external-browser): Move to shr.
3494 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
3496         * net/eww.el (eww): Work more correctly for file: URLs.
3497         (eww-detect-charset): Allow quoted charsets.
3498         (eww-yank-page-url): New command and keystroke.
3500 2013-06-24  Daiki Ueno  <ueno@gnu.org>
3502         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3503         file name of gpg executable.
3504         (epg-context-program): New function.
3505         (epg-context-home-directory): New function.
3506         (epg-context-set-program): New function.
3507         (epg-context-set-home-directory): New function.
3508         (epg--start): Use `epg-context-program' instead of
3509         'epg-gpg-program'.
3510         (epg--list-keys-1): Likewise.
3512 2013-06-24  Leo Liu  <sdl.web@gmail.com>
3514         * ido.el (ido-read-internal): Fix bug#14620.
3516 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
3518         * faces.el (face-documentation): Simplify.
3519         (read-face-attribute, tty-find-type, x-resolve-font-name):
3520         Use `string-match-p'.
3521         (list-faces-display): Use `string-match-p'.  Simplify.
3522         (face-spec-recalc): Check face to avoid face alias loops.
3523         (read-color): Use `string-match-p' and non-capturing parenthesis.
3525 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3527         * net/shr.el (shr-rescale-image): Use the new
3528         :max-width/:max-height functionality.
3530 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
3532         * net/eww.el (eww-search-prefix): New variable.
3533         (eww): Use it.
3534         (eww-external-browser): New variable.
3535         (eww-mode-map): New keystroke.
3536         (eww-browse-with-external-browser): New command.
3538         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3540 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
3542         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3543         Don't skip aligning the next header field when padding is 0;
3544         otherwise, field width is not respected unless the title is as
3545         wide as the field.
3547 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3549         * emacs-lisp/package.el (package-el-version): Remove.
3550         (package-process-define-package): Fix inf-loop.
3551         (package-install): Allow symbols as arguments again.
3553 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
3555         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3556         add some more keyword-like methods.
3557         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3559 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
3561         * bs.el (bs-buffer-show-mark): Make defvar-local.
3562         (bs-mode): Use setq-local.
3564         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3565         (emacs-lock--try-unlocking): Make defvar-local.
3567 2013-06-22  Glenn Morris  <rgm@gnu.org>
3569         * play/cookie1.el (cookie-apropos): Minor simplification.
3571         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3573 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
3575         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3576         `regexp-opt', it breaks the build during dumping.
3578 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
3580         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3581         Highlight keyword-like methods on Kernel and Module with
3582         font-lock-builtin-face.
3583         (auto-mode-alist): Consolidate different entries into one regexp
3584         and add more *file-s.
3586 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
3588         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3590         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3591         (diary-entry): Use it in the action of this button type instead of
3592         diary-goto-entry.
3594         * calendar/todo-mode.el: New version.
3595         (todo-add-category): Append new category to end of file and give
3596         it the highest number, instead of putting it at the beginning and
3597         giving it 0.  Incorporate noninteractive functionality.
3598         (todo-forward-category): Adapt to 1-based category numbering.
3599         Allow skipping over archived categories.
3600         (todo-backward-category): Derive from todo-forward-category.
3601         (todo-backward-item, todo-forward-item): Make noninteractive and
3602         delegate interactive part to new commands.  Make sensitive to done items.
3603         (todo-categories): Make value an alist of category names and
3604         vectors of item counts.
3605         (todo-category-beg): Make a defconst.
3606         (todo-category-number): Use 1 instead of 0 as initial value.
3607         (todo-category-select): Make sensitive to overlays, optional item
3608         highlighting and done items.
3609         (todo-delete-item): Make sensitive to overlays and marked and done items.
3610         (todo-edit-item): Make sensitive to overlays and editing of
3611         date/time header optional.  Add format checks.
3612         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
3613         no-op if point is not on an item.  Advertise using todo-edit-quit.
3614         (todo-edit-mode): Make sensitive to new format, font-locking, and
3615         multiple todo files.
3616         (todo-insert-item, todo-insert-item-here): Derive from
3617         todo-basic-insert-item and extend functionality.
3618         (todo-item-end, todo-item-start): Make sensitive to done items.
3619         (todo-item-string): Don't return text properties.  Restore point.
3620         (todo-jump-to-category): Make sensitive to multiple todo files and
3621         todo archives.  Use extended category completion.
3622         (todo-lower-item, todo-raise-item): Rename to *-priority and
3623         derive from todo-set-item-priority.
3624         (todo-mode): Derive from special-mode.  Make sensitive to new
3625         format, font-locking and multiple todo files.  Make read-only.
3626         (todo-mode-map): Don't suppress digit keys, so they can supply
3627         prefix arguments.  Add many new key bindings.
3628         (todo-prefix): Insert as an overlay instead of file text.
3629         Change semantics from diary date expression to purely visual mark.
3630         (todo-print): Rename to todo-print-buffer.  Make buffer display
3631         features printable.  Remove option to restrict number of items
3632         printed.  Add option to print to file.
3633         (todo-print-function): Rename to todo-print-buffer-function.
3634         (todo-quit): Extend to handle exiting new todo modes.
3635         (todo-remove-item): Make sensitive to overlays.
3636         (todo-save): Extend to buffers of filtered items.
3637         (todo-show): Make sensitive to done items, multiple todo files and
3638         new todo modes.  Offer to convert legacy todo file before creating
3639         first new todo file.
3640         (todo-show-priorities): Rename to todo-top-priorities.
3641         Change semantics of value 0.
3642         (todo-top-priorities): Rename to todo-filter-top-priorities,
3643         derive from todo-filter-items and extend functionality.
3644         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3645         and extend functionality to other types of filtered items.
3646         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3647         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3648         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3649         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3650         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3651         (todo-edit-mode-hook, todo-entry-prefix-function)
3652         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3653         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3654         (todo-initials, todo-insert-threshold, todo-item-string-start)
3655         (todo-line-string, todo-menu, todo-mode-hook)
3656         (todo-more-important-p, todo-previous-answer, todo-previous-line)
3657         (todo-print-priorities, todo-remove-separator)
3658         (todo-save-top-priorities-too, todo-string-count-lines)
3659         (todo-string-multiline-p, todo-time-string-format)
3660         (todo-tmp-buffer-name): Remove.
3661         (todo-add-file, todo-archive-done-item, todo-choose-archive)
3662         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3663         (todo-edit-category-diary-inclusion)
3664         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3665         (todo-edit-file, todo-edit-item-date-day)
3666         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3667         (todo-edit-item-date-month, todo-edit-item-date-to-today)
3668         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3669         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3670         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3671         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3672         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3673         (todo-filter-top-priorities-multifile, todo-find-archive)
3674         (todo-find-filtered-items-file, todo-go-to-source-item)
3675         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3676         (todo-jump-to-archive-category, todo-lower-category)
3677         (todo-mark-category, todo-marked-item-p, todo-merge-category)
3678         (todo-move-category, todo-move-item, todo-next-button)
3679         (todo-next-item, todo-padded-string, todo-powerset)
3680         (todo-previous-button, todo-previous-item)
3681         (todo-print-buffer-to-file, todo-raise-category)
3682         (todo-rename-category, todo-repair-categories-sexp, todo-search)
3683         (todo-set-category-number, todo-set-item-priority)
3684         (todo-set-top-priorities-in-category)
3685         (todo-set-top-priorities-in-file, todo-show-categories-table)
3686         (todo-sort-categories-alphabetically-or-numerically)
3687         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3688         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3689         (todo-toggle-item-header, todo-toggle-item-highlighting)
3690         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3691         (todo-toggle-view-done-items, todo-toggle-view-done-only)
3692         (todo-unarchive-items, todo-unmark-category): New commands.
3693         (todo-absolute-file-name, todo-add-to-buffer-list)
3694         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3695         (todo-basic-insert-item, todo-category-completions)
3696         (todo-category-number, todo-category-string-matcher-1)
3697         (todo-category-string-matcher-2, todo-check-filtered-items-file)
3698         (todo-check-format, todo-clear-matches)
3699         (todo-comment-string-matcher, todo-convert-legacy-date-time)
3700         (todo-current-category, todo-date-string-matcher)
3701         (todo-define-insertion-command, todo-diary-expired-matcher)
3702         (todo-diary-goto-entry, todo-diary-item-p)
3703         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3704         (todo-display-categories, todo-display-sorted, todo-done-item-p)
3705         (todo-done-item-section-p, todo-done-separator)
3706         (todo-done-string-matcher, todo-files, todo-filter-items)
3707         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3708         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3709         (todo-insert-category-line, todo-insert-item-from-calendar)
3710         (todo-insert-sort-button, todo-insert-with-overlays)
3711         (todo-insertion-command-name, todo-insertion-key-bindings)
3712         (todo-label-to-key, todo-longest-category-name-length)
3713         (todo-make-categories-list, todo-mode-external-set)
3714         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3715         (todo-modes-set-3, todo-multiple-filter-files)
3716         (todo-nondiary-marker-matcher, todo-prefix-overlays)
3717         (todo-read-category, todo-read-date, todo-read-dayname)
3718         (todo-read-file-name, todo-read-time)
3719         (todo-reevaluate-category-completions-files-defcustom)
3720         (todo-reevaluate-default-file-defcustom)
3721         (todo-reevaluate-filelist-defcustoms)
3722         (todo-reevaluate-filter-files-defcustom)
3723         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3724         (todo-reset-done-separator, todo-reset-done-separator-string)
3725         (todo-reset-done-string, todo-reset-global-current-todo-file)
3726         (todo-reset-highlight-item, todo-reset-nondiary-marker)
3727         (todo-reset-prefix, todo-set-categories)
3728         (todo-set-date-from-calendar, todo-set-show-current-file)
3729         (todo-set-top-priorities, todo-short-file-name)
3730         (todo-show-current-file, todo-sort, todo-time-string-matcher)
3731         (todo-total-item-counts, todo-update-buffer-list)
3732         (todo-update-categories-display, todo-update-categories-sexp)
3733         (todo-update-count, todo-validate-name, todo-y-or-n-p):
3734         New functions.
3735         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3736         New major modes.
3737         (todo-categories, todo-display, todo-edit, todo-faces)
3738         (todo-filtered): New defgroups.
3739         (todo-archived-only, todo-button, todo-category-string, todo-date)
3740         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3741         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3742         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3743         (todo-add-item-if-new-category, todo-always-add-time-string)
3744         (todo-categories-align, todo-categories-archived-label)
3745         (todo-categories-category-label, todo-categories-diary-label)
3746         (todo-categories-done-label, todo-categories-number-separator)
3747         (todo-categories-todo-label, todo-categories-totals-label)
3748         (todo-category-completions-files, todo-completion-ignore-case)
3749         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3750         (todo-done-separator-string, todo-done-string)
3751         (todo-files-function, todo-filter-done-items, todo-filter-files)
3752         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3753         (todo-initial-category, todo-initial-file, todo-item-mark)
3754         (todo-legacy-date-time-regexp, todo-mode-line-function)
3755         (todo-nondiary-marker, todo-number-prefix)
3756         (todo-print-buffer-function, todo-show-current-file)
3757         (todo-show-done-only, todo-show-first, todo-show-with-done)
3758         (todo-skip-archived-categories, todo-top-priorities-overrides)
3759         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3760         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3761         New defcustoms.
3762         (todo-category-done, todo-date-pattern, todo-date-string-start)
3763         (todo-diary-items-buffer, todo-done-string-start)
3764         (todo-filtered-items-buffer, todo-item-start)
3765         (todo-month-abbrev-array, todo-month-name-array)
3766         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3767         (todo-top-priorities-buffer): New defconsts.
3768         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3769         (todo-categories-with-marks, todo-category-string-face)
3770         (todo-comment-face, todo-comment-string, todo-current-todo-file)
3771         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3772         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3773         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3774         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3775         (todo-font-lock-keywords, todo-global-current-todo-file)
3776         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3777         (todo-insertion-commands-args)
3778         (todo-insertion-commands-args-genlist)
3779         (todo-insertion-commands-names, todo-insertion-map)
3780         (todo-key-bindings-t, todo-key-bindings-t+a)
3781         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3782         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3783         (todo-nondiary-face, todo-print-buffer, todo-time-face)
3784         (todo-visited): New variables.
3786 2013-06-21  Glenn Morris  <rgm@gnu.org>
3788         * play/cookie1.el (cookie-apropos): Add optional display argument.
3789         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3790         (psychoanalyze-pinhead): Use cookie-doctor.
3792 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
3794         * emacs-lisp/package.el (tar-get-file-descriptor)
3795         (tar--extract): Declare.
3797 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
3799         Extend flymake's warning predicate to be a function (bug#14217).
3800         * progmodes/flymake.el (flymake-warning-predicate): New.
3801         (flymake-parse-line): Use it.
3802         (flymake-warning-re): Make obsolete alias to
3803         `flymake-warning-predicate'.
3805 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3807         * emacs-lisp/package.el (package-alist): Include obsolete packages.
3808         (package-obsolete-list): Remove.
3809         (package-activate): Remove min-version argument.  Add `force' argument.
3810         Adjust to new package-alist format.
3811         (package-mark-obsolete): Remove.
3812         (package-unpack): Force reload of the package's autoloads.
3813         (package-installed-p): Check builtins if the installed package is not
3814         recent enough.
3815         (package-initialize): Don't reset package-obsolete-list.
3816         Don't specify which package version to activate.
3817         (package-process-define-package, describe-package-1)
3818         (package-menu--generate): Adjust to new package-alist format.
3820 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
3822         * allout-widgets.el (allout-widgets-mode-off)
3823         (allout-widgets-mode-on, allout-widgets-pre-command-business)
3824         (allout-widgets-post-command-business)
3825         (allout-widgets-after-copy-or-kill-function)
3826         (allout-widgets-after-undo-function, allout-test-range-overlaps)
3827         (allout-decorate-item-and-context)
3828         (allout-graphics-modification-handler): Fix typos in docstrings.
3829         (allout-get-or-create-parent-widget): Use `looking-at-p'.
3831         * cmuscheme.el (scheme-start-file): Doc fix.
3832         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3833         (scheme-input-filter): Use `string-match-p'.
3835         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3837         * dired-x.el: Use Dired consistently in docstrings.
3839         * dired.el: Use Dired consistently in docstrings.
3840         (dired-readin, dired-mode): Use `setq-local'.
3841         (dired-switches-alist): Make defvar-local.
3842         (dired-buffers-for-dir): Use `zerop'.
3843         (dired-safe-switches-p, dired-switches-escape-p)
3844         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3845         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3846         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3847         (dired-goto-next-nontrivial-file): Use `string-match-p'.
3848         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3849         (dired-toggle-marks, dired-mark-files-containing-regexp)
3850         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3851         (dired-flag-auto-save-files, dired-flag-backup-files):
3852         Use `looking-at-p'.
3853         (dired-mark-files-regexp, dired-build-subdir-alist):
3854         Use `string-match-p', `looking-at-p'.
3856         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3857         (direct-print-region-helper): Use `string-match-p'.
3859 2013-06-21  Leo Liu  <sdl.web@gmail.com>
3861         * comint.el (comint-redirect-results-list-from-process):
3862         Fix infinite loop.
3864 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3866         * net/eww.el (eww-update-header-line-format): Quote % characters.
3868 2013-06-21  Glenn Morris  <rgm@gnu.org>
3870         * play/cookie1.el (cookie): New custom group.
3871         (cookie-file): New option.
3872         (cookie-check-file): New function.
3873         (cookie): Make it interactive.  Make start and end messages optional.
3874         Interactively, display the result.  Default to cookie-file.
3875         (cookie-insert): Default to cookie-file.
3876         (cookie-snarf): Make start and end messages optional.
3877         Default to cookie-file.  Use with-temp-buffer.
3878         (cookie-read): Rename from read-cookie.
3879         Make start and end messages optional.  Default to cookie-file.
3880         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
3881         Do not autoload it.
3882         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3883         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3885 2013-06-21  Leo Liu  <sdl.web@gmail.com>
3887         * progmodes/octave.el (octave-mode): Backward compatibility fix.
3889 2013-06-21  Glenn Morris  <rgm@gnu.org>
3891         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3893 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3894             Daniel Hackney  <dan@haxney.org>
3896         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3897         Consolidate the single-file vs tarball code.
3898         (package-desc-suffix): New function.
3899         (package-desc-full-name): Don't bother inlining it.
3900         (package-load-descriptor): Return the new package-desc.
3901         (package-mark-obsolete): Remove unused arg `package'.
3902         (package-unpack): Make it work for single files as well.
3903         Make it update package-alist.
3904         (package--make-autoloads-and-stuff): Rename from
3905         package--make-autoloads-and-compile.  Don't compile any more.
3906         (package--compile): New function.
3907         (package-generate-description-file): New function, extracted from
3908         package-unpack-single.
3909         (package-unpack-single): Remove.
3910         (package--with-work-buffer): Add indentation and debugging info.
3911         (package-download-single): Remove.
3912         (package-install-from-archive): Rename from package-download-tar, make
3913         it take a pkg-desc, and make it work for single files as well.
3914         (package-download-transaction): Simplify.
3915         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
3916         external tar program.
3917         (package-install-from-buffer): Remove `pkg-desc' argument.
3918         Use package-tar-file-info for tar-mode buffers.
3919         (package-install-file): Simplify accordingly.
3920         (package-archive-base): Change to take a pkg-desc.
3921         * tar-mode.el (tar--check-descriptor): New function, extracted from
3922         tar-get-descriptor.
3923         (tar-get-descriptor): Use it.
3924         (tar-get-file-descriptor): New function.
3925         (tar--extract): New function, extracted from tar-extract.
3926         (tar--extract): Use it.
3927         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3928         case the summary uses non-ascii.  Adjust to new calling convention of
3929         package-tar-file-info.
3931 2013-06-21  Leo Liu  <sdl.web@gmail.com>
3933         * comint.el (comint-redirect-results-list-from-process):
3934         Fix random delay.  (Bug#14681)
3936 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
3938         * profiler.el (profiler-format-number): Use log, not log10.
3940 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
3942         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3944 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3946         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3947         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3948         yet available.
3949         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3950         (AUTOGENEL): ... here.
3951         * emacs-lisp/cl-macs.el (cl--sublis): New function.
3952         (cl--defsubst-expand): Use it.
3954 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
3956         * subr.el (log10): Move here from C code, and declare as obsolete.
3957         All uses of (log10 X) replaced with (log X 10).
3959 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
3961         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3962         Declare with `defvar-local'.
3963         (tabulated-list-use-header-line, tabulated-list-entries)
3964         (tabulated-list-padding, tabulated-list-printer)
3965         (tabulated-list-sort-key): Declare with `defvar-local'.
3966         (tabulated-list-init-header, tabulated-list-print-fake-header):
3967         Use `setq-local'.
3969 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
3971         * arc-mode.el (archive-mode): Add `archive-write-file' to
3972         `write-contents-functions' also for remote files.  (Bug#14652)
3974 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
3976         * cus-edit.el (custom-commands): Fix typos.
3977         (custom-display): Fix tooltip text.
3978         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3979         Fix typos in docstrings.
3980         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3981         (custom-unlispify-menu-entry, custom-magic-value-create)
3982         (custom-add-see-also, custom-group-value-create): Use ?\s.
3983         (custom-guess-type, customize-apropos, editable-field)
3984         (custom-face-value-create): Use `string-match-p'.
3985         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3987         * custom.el (custom-load-symbol): Use `string-match-p'.
3989         * ansi-color.el: Convert to lexical binding.
3990         (ansi-colors): Fix URL.
3991         (ansi-color-context, ansi-color-context-region): Use defvar-local.
3992         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3993         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3995 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3997         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3999         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4001 2013-06-19  Tom Tromey  <tromey@redhat.com>
4003         * net/eww.el (eww-top-url): Remove.
4004         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4005         (eww-render): Set new variables.  Don't set eww-top-url.
4006         (eww-handle-link): Handle "prev", "home", and "contents".
4007         Downcase the rel text.
4008         (eww-top-url): Choose best top URL.
4010 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4012         * net/eww.el: Rewrite to implement form elements "by hand" instead of
4013         relying in widget.el.  Using widget.el leads to too many
4014         user interface inconsistencies.
4015         (eww-self-insert): Implement entering commands in text fields.
4016         (eww-process-text-input): New function to make text input field editing
4017         work.
4018         (eww-submit): Rewrite to use the new-style form methods.
4019         (eww-select-display): Display the correct selected item.
4020         (eww-change-select): Implement changing the select value.
4021         (eww-toggle-checkbox): Implement radio/checkboxes.
4022         (eww-update-field): Fix compilation error.
4023         (eww-tag-textarea): Implement <textarea>.
4025         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4026         we don't shadow mode-specific bindings.
4028         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4029         nothing to push.
4031         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4033 2013-06-19  Glenn Morris  <rgm@gnu.org>
4035         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4037 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
4039         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4040         not needed.
4042         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4044 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4046         * net/browse-url.el (browse-url-browser-function):
4047         `eww-browse-url' has the right calling signature, `eww' does not.
4049 2013-06-19  Glenn Morris  <rgm@gnu.org>
4051         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4052         Only eval autoloaded macros.
4053         (byte-compile-autoload): Only give the macro warning for macros.
4055         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4056         (ps-underlined-faces): Declare.
4058         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4059         (speedbar-add-supported-extension): Declare.
4061         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4062         Don't include a date stamp in the header of the generated file;
4063         it leads to needless differences between output files.
4065 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
4067         * net/secrets.el (secrets-struct-secret-content-type):
4068         Replace check of introspection data by a test call of "CreateItem".
4069         Some servers do not offer introspection.
4071 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4073         * electric.el (electric-pair-mode): Improve interaction with
4074         electric-layout-mode.
4075         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4076         (electric-pair-syntax): Use text-mode-syntax-table in comments
4077         and strings.
4078         (electric-pair--insert): New function.
4079         (electric-pair-post-self-insert-function): Use it and
4080         electric--after-char-pos.
4082 2013-06-19  Leo Liu  <sdl.web@gmail.com>
4084         * progmodes/octave.el (octave-help): Fix regexp.
4086 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4088         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4089         (shr-table-horizontal-line): Allow nil as a value, and change the
4090         default.
4091         (shr-insert-table-ruler): Respect the nil value.
4093 2013-06-18  Tom Tromey  <tromey@barimba>
4095         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4096         New defvars.
4097         (eww-open-file): New defun.
4098         (eww-render): Initialize new variables.
4099         (eww-display-html): Handle "link" and "a".
4100         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4101         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
4102         (eww-back-url): Rename from eww-previous-url.
4103         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4104         New defuns.
4106 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
4108         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4109         Distinguish ternary operator tokens from slash symbol and slash
4110         char literal.
4112 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
4114         Convert symbol prettification into minor mode and global minor mode.
4116         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4117         `prog-prettify-symbols', and make a local defvar instead of defcustom.
4118         (prettify-symbols--keywords): Rename from
4119         `prog-prettify-symbols-alist' and make a local defvar.
4120         (prettify-symbols--compose-symbol): Rename from
4121         `prog--prettify-font-lock-compose-symbol'.
4122         (prettify-symbols--make-keywords): Rename from
4123         `prog-prettify-font-lock-symbols-keywords' and simplify.
4124         (prog-prettify-install): Remove.
4125         (prettify-symbols-mode): New minor mode, based on
4126         `prog-prettify-install'.
4127         (turn-on-prettify-symbols-mode): New function.
4128         (global-prettify-symbols-mode): New globalized minor mode.
4130         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4131         * progmodes/cfengine.el (cfengine3-mode):
4132         * progmodes/perl-mode.el (perl-mode): Don't call
4133         `prog-prettify-install'; set `prettify-symbols-alist' instead.
4135 2013-06-18  Juri Linkov  <juri@jurta.org>
4137         * files-x.el (modify-file-local-variable-message): New function.
4138         (modify-file-local-variable)
4139         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4140         and call `modify-file-local-variable-message' when it's non-nil.
4141         (add-file-local-variable, delete-file-local-variable)
4142         (add-file-local-variable-prop-line)
4143         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4144         and use it.  (Bug#9820)
4146 2013-06-18  Juri Linkov  <juri@jurta.org>
4148         * emulation/vi.el (vi-shell-op):
4149         * emulation/vip.el (vip-execute-com, ex-command):
4150         * emulation/viper-cmd.el (viper-exec-bang):
4151         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4152         the call of `shell-command-on-region'.  (Bug#14637)
4154         * simple.el (shell-command-on-region): Doc fix.
4156 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4158         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4159         (bug#14633).
4161 2013-06-18  Glenn Morris  <rgm@gnu.org>
4163         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4165         * newcomment.el (comment-search-forward, comment-search-backward):
4166         Doc fix.  (Bug#14376)
4168 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
4170         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4171         (buffer-face-mode-invoke): Doc fix.
4173 2013-06-18  Matthias Meulien  <orontee@gmail.com>
4175         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4176         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4178 2013-06-18  Glenn Morris  <rgm@gnu.org>
4180         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4181         Replace obsolete function generic-make-keywords with its expansion.
4183         * progmodes/python.el (ffap-alist): Declare.
4185         * textmodes/reftex.el (bibtex-mode-map): Declare.
4187 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4189         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4190         (package-unpack, package-unpack-single): Return the pkg-dir.
4191         (package-download-transaction): Use it to update package-alist.
4193 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4195         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4196         possible choice.
4198 2013-06-17  Juri Linkov  <juri@jurta.org>
4200         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4202 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
4204         * emacs-lisp/package.el (package-load-descriptor):
4205         Remove `with-syntax-table' call, `read' doesn't need it.
4206         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4208 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
4210         * startup.el (command-line): Expand package name returned by
4211         `package--description-file' (bug#14639).
4213 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
4215         * emacs-lisp/package.el (package-load-descriptor): Do not call
4216         `emacs-lisp-mode', just use its syntax table.
4218 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
4220         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4221         `font-lock-extra-managed-props' if any prettifying keyword is added.
4222         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4223         (prog-mode): Use `setq-local'.
4225 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4227         * international/characters.el (standard-case-table): Set syntax of ?»
4228         and ?« to punctuation.
4230 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
4232         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4233         Save relevant match data before calling `syntax-ppss' (bug#14595).
4235 2013-06-15  Juri Linkov  <juri@jurta.org>
4237         * files-x.el (modify-file-local-variable-prop-line): Add local
4238         variables to the end of the existing comment on the first line.
4239         Use `file-auto-mode-skip' to skip interpreter magic line,
4240         and also skip XML declaration.
4242 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4244         * startup.el (package--builtin-versions): New var.
4245         (package-subdirectory-regexp): Remove.
4246         (package--description-file): Hard code its value instead.
4248         * emacs-lisp/package.el: Don't activate packages older than builtin.
4249         (package-obsolete-list): Rename from package-obsolete-alist, and make
4250         it into a simple list of package-desc.
4251         (package-strip-version): Remove.
4252         (package-built-in-p): Use package--builtin-versions.
4253         (package-mark-obsolete): Simplify.
4254         (package-process-define-package): Mark it obsolete if older than the
4255         builtin version.
4256         (package-handle-response): Use line-end-position.
4257         (package-read-archive-contents, package--download-one-archive):
4258         Simplify.
4259         (package--add-to-archive-contents): Skip if older than the builtin or
4260         installed version.
4261         (package-menu-describe-package): Fix last change.
4262         (package-list-unversioned): New var.
4263         (package-menu--generate): Use it.
4265         * emacs-lisp/autoload.el: Manage package--builtin-versions.
4266         (autoload--insert-text, autoload--insert-cookie-text): New functions.
4267         (autoload-builtin-package-versions): New variable.
4268         (autoload-generate-file-autoloads): Use them.
4269         Remove the list of autoloaded functions/macros from the
4270         (autoload...) comments.
4272         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4274 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
4276         * simple.el (line-move-partial): Don't jump to the next screen
4277         line as soon as it becomes visible.  Instead, continue enlarging
4278         the vscroll until the portion of a tall screen line that's left on
4279         display is about the height of the frame's default font.
4280         (Bug#14567)
4282 2013-06-15  Glenn Morris  <rgm@gnu.org>
4284         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4285         compilation-error-regexp-alist void, or local while let-bound.
4287         * progmodes/make-mode.el (makefile-mode-syntax-table):
4288         Treat "=" as punctuation.  (Bug#14614)
4290 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
4292         * help-fns.el (describe-variable):
4293         Add extra line for permanent-local variables.
4295 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
4297         * progmodes/scheme.el (scheme-font-lock-keywords-2):
4298         Add export, import, library.  (Bug#9164)
4299         (library): Set indent function.
4301 2013-06-14  Glenn Morris  <rgm@gnu.org>
4303         * term/xterm.el (xterm--query):
4304         Stop after first matching handler.  (Bug#14615)
4306 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
4308         Add support for dired in saveplace.
4309         * dired.el (dired-initial-position-hook): New variable.
4310         (dired-initial-position): Call hook to place cursor position.
4311         * saveplace.el (save-place-to-alist): Add dired position.
4312         (save-place-dired-hook): New function.
4314 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4316         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4317         through a symbol rather than letrec.
4319         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
4320         (package-desc): Add `dir' field.
4321         (package-desc-full-name): New function.
4322         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
4323         (package-maybe-load-descriptor): Remove.
4324         (package-load-all-descriptors): Just call package-load-descriptor.
4325         (package--disabled-p): New function.
4326         (package-desc-vers, package-desc-doc): Remove aliases.
4327         (package--dir): Remove function.
4328         (package-activate): Check if a package is disabled.
4329         (package-process-define-package): New function, extracted from
4330         define-package.
4331         (define-package): Turn into a place holder.
4332         (package-unpack-single, package-tar-file-info):
4333         Use package--description-file.
4334         (package-compute-transaction): Use package--disabled-p.
4335         (package-download-transaction): Don't call
4336         package-maybe-load-descriptor since they're all loaded anyway.
4337         (package-install): Change argument to be a pkg-desc.
4338         (package-delete): Use a single pkg-desc argument.
4339         (describe-package-1): Use package-desc-dir instead of package--dir.
4340         Use package-desc property instead of package-symbol.
4341         (package-install-button-action): Adjust accordingly.
4342         (package--push): Rewrite.
4343         (package-menu--print-info): Adjust accordingly.  Change the ID format
4344         to be a pkg-desc.
4345         (package-menu-describe-package, package-menu-get-status)
4346         (package-menu--find-upgrades, package-menu-mark-upgrades)
4347         (package-menu-execute, package-menu--name-predicate):
4348         Adjust accordingly.
4349         * startup.el (package--description-file): New function.
4350         (command-line): Use it.
4351         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4352         Use package-desc-version.
4354         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4355         (byte-compile-preprocess): Use it.
4356         (byte-compile-file-form-defalias): Try a bit harder to use macros we
4357         can't quite recognize.
4358         (byte-compile-add-to-list): Remove.
4359         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4360         (cconv-closure-convert): Add assertion.
4362         * emacs-lisp/map-ynp.el: Use lexical-binding.
4363         (map-y-or-n-p): Remove unused vars `tail' and `object'.
4364         Factor out some repeated code.
4366 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4368         * subr.el (with-eval-after-load): New macro.
4369         (eval-after-load): Allow form to be a function.
4370         take advantage of lexical-binding.
4371         (do-after-load-evaluation): Use dolist and adjust to new format.
4372         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4374 2013-06-13  Juri Linkov  <juri@jurta.org>
4376         * replace.el (perform-replace): Display "symbol " and other search
4377         modes from `isearch-message-prefix' in the *Help* buffer.
4379         * isearch.el (isearch-query-replace): Add " symbol" and other
4380         possible search modes from `isearch-message-prefix' to the prompt.
4381         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4382         when reading a regexp to collect.
4384 2013-06-13  Juri Linkov  <juri@jurta.org>
4386         * isearch.el (word-search-regexp): Match whitespace if the search
4387         string begins or ends in whitespace.  The LAX arg is applied to
4388         both ends of the search string.  Use `regexp-quote' and explicit
4389         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
4390         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4391         boundaries are replaced with symbol boundaries, and characters
4392         between symbols match non-word non-symbol syntax.  (Bug#14602)
4394 2013-06-13  Juri Linkov  <juri@jurta.org>
4396         * isearch.el (isearch-del-char): Don't exceed the length of
4397         `isearch-string' by the prefix arg.  (Bug#14563)
4399 2013-06-13  Juri Linkov  <juri@jurta.org>
4401         * isearch.el (isearch-yank-word, isearch-yank-line)
4402         (isearch-char-by-name, isearch-quote-char)
4403         (isearch-printing-char, isearch-process-search-char):
4404         Add optional count prefix arg.  (Bug#14563)
4406         * international/isearch-x.el
4407         (isearch-process-search-multibyte-characters):
4408         Add optional count prefix arg.
4410 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4412         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4413         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4414         lexical-binding.
4416 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
4418         * subr.el (set-temporary-overlay-map): Add on-exit argument.
4420 2013-06-13  Glenn Morris  <rgm@gnu.org>
4422         * startup.el (tty-handle-args):
4423         Don't just discard "--" and anything after.  (Bug#14608)
4425         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4427 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
4429         Implement changes in Secret Service API.  Make it backward compatible.
4430         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4431         (secrets-create-item): Use it.  Prefix properties with interface.
4433 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
4435         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
4436         (term-emulate-terminal): Respect term-suppress-hard-newline.
4438 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
4440         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4441         Only remove a `thumb-file' overlay.  (Bug#14548)
4443 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
4445         * mail/reporter.el (reporter-submit-bug-report):
4446         Handle missing package-name.  (Bug#14600)
4448 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4450         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4451         (reftex-citation-prompt, reftex-default-bibliography)
4452         (reftex-bib-or-thebib, reftex-get-bibfile-list)
4453         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4454         (reftex-bib-sort-author, reftex-bib-sort-year)
4455         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4456         (reftex-extract-bib-entries-from-thebibliography)
4457         (reftex-get-bibkey-default, reftex-get-bib-names)
4458         (reftex-parse-bibtex-entry, reftex-get-bib-field)
4459         (reftex-format-bib-entry, reftex-parse-bibitem)
4460         (reftex-format-bibitem, reftex-do-citation)
4461         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4462         (reftex-restrict-bib-matches, reftex-extract-bib-file)
4463         (reftex-insert-bib-matches, reftex-format-citation)
4464         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4465         (reftex-create-bibtex-file): Add docstrings, mostly by converting
4466         existing comments into docstrings.
4468 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
4470         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4472 2013-06-12  Andreas Schwab  <schwab@suse.de>
4474         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4475         for auto-save files.
4477 2013-06-12  Glenn Morris  <rgm@gnu.org>
4479         * ido.el (ido-delete-ignored-files): Remove.
4480         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4481         Go back to calling ido-ignore-item-p directly.
4483 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
4485         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4487         * ido.el (ido-delete-ignored-files): New function,
4488         split from ido-make-file-list-1.
4489         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
4490         (ido-make-file-list-1): Use ido-delete-ignored-files.
4492 2013-06-12  Leo Liu  <sdl.web@gmail.com>
4494         * progmodes/octave.el (inferior-octave-startup)
4495         (inferior-octave-completion-table)
4496         (inferior-octave-track-window-width-change)
4497         (octave-eldoc-function-signatures, octave-help)
4498         (octave-find-definition): Use single quoted strings.
4499         (inferior-octave-startup-args): Change default value.
4500         (inferior-octave-startup): Do not hard code "-i" and
4501         "--no-line-editing".
4502         (inferior-octave-resync-dirs): Add optional arg NOERROR.
4503         (inferior-octave-directory-tracker): Use it.
4504         (octave-goto-function-definition): Robustify.
4505         (octave-help): Support highlighting operators in 'See also'.
4506         (octave-find-definition): Find subfunctions only in Octave mode.
4508 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4510         * help-fns.el (help-fns--compiler-macro): If the handler function is
4511         named, then put a link to it.
4512         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4513         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4514         (cl-typep): Use it.
4515         (cl-eval-when): Simplify debug spec.
4516         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
4517         compiler-macro function instead of setting `compiler-macro-file'.
4519 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
4521         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4522         * vc/vc-hooks.el (vc-stay-local): Doc fix.
4524 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4525             Daniel Hackney  <dan@haxney.org>
4527         First part of Daniel Hackney's patch to package.el.
4528         * emacs-lisp/package.el: Use defstruct.
4529         (package-desc): New, main struct.
4530         (package--bi-desc, package--ac-desc): New structs, used to describe the
4531         format in external files.
4532         (package-desc-vers): Replace with package-desc-version accessor.
4533         (package-desc-doc): Replace with package-desc-summary accessor.
4534         (package-activate-1): Remove `package' arg since the pkg-vec now
4535         includes the name.
4536         (define-package): Use package-desc-from-define.
4537         (package-unpack-single): Change file-name arg to be a symbol.
4538         (package--add-to-archive-contents): Use package-desc-create and new
4539         accessor functions to package--ac-desc.
4540         (package-buffer-info, package-tar-file-info): Return a package-desc.
4541         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
4542         arg to be a package-desc.
4543         (package-install-file): Adjust accordingly.  Use \' to match EOS.
4544         (package--from-builtin): New function.
4545         (describe-package-1, package-menu--generate): Use it.
4546         (package--make-autoloads-and-compile): Change name arg to be a symbol.
4547         (package-generate-autoloads): Idem and return the name of the file.
4548         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4549         Change pkg-info arg to be a package-desc.
4550         Use package-make-ac-desc.
4551         (package-upload-file): Use \' to match EOS.
4552         * finder.el (finder-compile-keywords): Use package-make-builtin.
4554 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * vc/vc.el (vc-deduce-fileset): Change error message.
4557         (vc-read-backend): New function.
4558         (vc-next-action): Use it.
4560         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4562         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4563         (prolog-font-lock-keywords): Use regexp-opt instead.
4564         Don't manually highlight strings.
4565         (prolog-mode-variables): Simplify comment-start-skip.
4566         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
4568         * emacs-lisp/generic.el (generic--normalise-comments)
4569         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4570         (generic-mode-set-comments): Use them.
4571         (generic-bracket-support): Use setq-local.
4572         (generic-make-keywords-list): Declare obsolete.
4574 2013-06-11  Glenn Morris  <rgm@gnu.org>
4576         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4577         Prettify after setting font-lock-defaults.  (Bug#14574)
4579 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
4581         * replace.el (query-replace, occur-read-regexp-defaults-function)
4582         (replace-search):
4583         * subr.el (declare-function, number-sequence, local-set-key)
4584         (substitute-key-definition, locate-user-emacs-file)
4585         (with-silent-modifications, split-string, eval-after-load):
4586         Fix typos, remove unneeded backslashes and reflow some docstrings.
4588 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4590         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4591         default for Elisp files.
4593 2013-06-11  Glenn Morris  <rgm@gnu.org>
4595         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4596         although define-derived-mode was doing this anyway.  (Bug#14583)
4598 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
4600         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4601         Fix make-variable-buffer-local call to refer to the correct variable.
4603 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
4605         * eshell/em-term.el (eshell-visual-commands)
4606         (eshell-visual-subcommands, eshell-visual-options):
4607         Add summary line to docstrings.  Add cross-references.
4609 2013-06-10  Glenn Morris  <rgm@gnu.org>
4611         * epa.el (epa-read-file-name): New function.  (Bug#14510)
4612         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
4614 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
4616         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4617         output redirection to be ignored with visual commands.
4619 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
4621         * eshell/em-term.el (eshell-visual-command-p): New function.
4622         (eshell-term-initialize): Move long lambda to separate function
4623         eshell-visual-command-p.
4624         * eshell/em-dirs.el (eshell-dirs-initialise):
4625         * eshell/em-script.el (eshell-script-initialize):
4626         Add missing #' to lambda.
4628 2013-06-08  Leo Liu  <sdl.web@gmail.com>
4630         * progmodes/octave.el (octave-add-log-current-defun): New function.
4631         (octave-mode): Set add-log-current-defun-function.
4632         (octave-goto-function-definition): Do not move point if not found.
4633         (octave-find-definition): Enhance to try subfunctions first.
4635 2013-06-08  Glenn Morris  <rgm@gnu.org>
4637         * emacs-lisp/bytecomp.el (byte-compile-char-before)
4638         (byte-compile-backward-char, byte-compile-backward-word):
4639         Improve previous change, to handle non-explicit nil.
4641 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4643         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4644         (smie--opener/closer-at-point): New function.
4645         (smie--matching-block-data): Use it.  Don't match from right after an
4646         opener or right before a closer.  Obey smie-blink-matching-inners.
4647         Don't signal a mismatch for repeated inners like "switch..case..case".
4649 2013-06-07  Leo Liu  <sdl.web@gmail.com>
4651         * progmodes/octave.el (octave-mode): Set comment-use-global-state
4652         to t.  (Bug#14303)
4653         (octave-function-header-regexp): Fix.  (Bug#14570)
4654         (octave-help-mode-finish-hook, octave-help-mode-finish):
4655         Remove.  Just use temp-buffer-show-hook.
4657         * newcomment.el (comment-search-backward): Revert last change.
4658         (Bug#14434)
4660         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4662 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
4664         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4665         through xargs, to avoid failure due to MS-Windows limitations on
4666         command-line length.
4668 2013-06-06  Glenn Morris  <rgm@gnu.org>
4670         * font-lock.el (lisp-font-lock-keywords-2):
4671         Treat user-error like error.
4673         * emacs-lisp/bytecomp.el (byte-compile-char-before)
4674         (byte-compile-backward-char, byte-compile-backward-word):
4675         Handle explicit nil arguments.  (Bug#14565)
4677 2013-06-05  Alan Mackenzie  <acm@muc.de>
4679         * isearch.el (isearch-allow-prefix): New user option.
4680         (isearch-other-meta-char): Don't exit isearch when a prefix
4681         argument is typed whilst `isearch-allow-prefix' is non-nil.
4682         (Bug#9706)
4684 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4686         * autorevert.el (auto-revert-notify-handler): Use memq.
4687         Hide assertion failure.
4689         * skeleton.el: Use cl-lib.
4690         (skeleton-further-elements): Use defvar-local.
4691         (skeleton-insert): Use cl-progv.
4693 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
4695         * progmodes/prog-mode.el (prog-prettify-symbols)
4696         (prog-prettify-install): Update docstrings.
4698 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4700         * simple.el: Move all the prog-mode code to prog-mode.el.
4701         * progmodes/prog-mode.el: New file.
4702         * loadup.el: Add prog-mode.el.
4704 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
4706         * simple.el (prog-prettify-symbols): Add version.
4707         (prog-prettify-install): Add convenience function to prettify symbols.
4709         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4710         (perl--augmented-font-lock-keywords-1)
4711         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4712         variables and use it.
4714         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4715         (cfengine3-mode): Remove unneeded variable and use it.
4717         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4718         (lisp--augmented-font-lock-keywords-1)
4719         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4720         Remove unneeded variables and use it.
4722 2013-06-05  João Távora  <joaotavora@gmail.com>
4724         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4725         to point when opening the connection.  (Bug#14380)
4727 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4729         * subr.el (load-history-regexp, load-history-filename-element)
4730         (eval-after-load, after-load-functions, do-after-load-evaluation)
4731         (eval-next-after-load, display-delayed-warnings)
4732         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4733         definition of save-match-data.
4734         (overriding-local-map): Remove accidental obsolescence declaration.
4736         * emacs-lisp/edebug.el (edebug-result): Move before first use.
4738 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
4740         Generalize symbol prettify support to prog-mode and implement it
4741         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4742         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4743         (prog--prettify-font-lock-compose-symbol)
4744         (prog-prettify-font-lock-symbols-keywords): New variables and
4745         functions to support symbol prettification.
4746         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4747         (lisp--augmented-font-lock-keywords-1)
4748         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4749         (lisp--prettify-symbols-alist): Implement prettify of lambda.
4750         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4751         (cfengine3--prettify-symbols-alist, cfengine3-mode):
4752         Implement prettify of -> => :: strings.
4753         * progmodes/perl-mode.el (perl-prettify-symbols)
4754         (perl--font-lock-compose-symbol)
4755         (perl--font-lock-symbols-keywords): Move to prog-mode.
4756         (perl--prettify-symbols-alist): Prettify -> => :: strings.
4757         (perl-font-lock-keywords-1)
4758         (perl-font-lock-keywords-2): Remove explicit prettify support.
4759         (perl--augmented-font-lock-keywords)
4760         (perl--augmented-font-lock-keywords-1)
4761         (perl--augmented-font-lock-keywords-2, perl-mode):
4762         Implement prettify support.
4764 2013-06-05  Leo Liu  <sdl.web@gmail.com>
4766         Re-implement smie matching block highlight using
4767         show-paren-data-function.  (Bug#14395)
4768         * emacs-lisp/smie.el (smie-matching-block-highlight)
4769         (smie--highlight-matching-block-overlay)
4770         (smie--highlight-matching-block-lastpos)
4771         (smie-highlight-matching-block)
4772         (smie-highlight-matching-block-mode): Remove.
4773         (smie--matching-block-data-cache): New variable.
4774         (smie--matching-block-data): New function.
4775         (smie-setup): Use smie--matching-block-data for
4776         show-paren-data-function.
4778         * progmodes/octave.el (octave-mode-menu): Fix.
4779         (octave-find-definition): Skip garbage lines.
4781 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4783         Fix compilation error with simultaneous dynamic+lexical scoping.
4784         Add warning when a defvar appears after the first let-binding.
4785         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4786         (byte-compile-close-variables): Initialize it.
4787         (byte-compile--declare-var): New function.
4788         (byte-compile-file-form-defvar)
4789         (byte-compile-file-form-define-abbrev-table)
4790         (byte-compile-file-form-custom-declare-variable): Use it.
4791         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
4792         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4793         (byte-compile-bind): Handle dynamic bindings that shadow
4794         lexical bindings.
4795         (byte-compile-unbind): Make arg non-optional.
4796         (byte-compile-let): Simplify.
4797         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4798         (cconv--analyse-function, cconv-analyse-form): Populate it.
4799         Protect byte-compile-bound-variables to limit the scope of defvars.
4800         (cconv-analyse-form): Add missing rule for (defvar <foo>).
4801         Remove unneeded rule for `declare'.
4803         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4804         so as to avoid depending on cl-adjoin at run-time.
4805         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4807         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4808         (macroexp--warn-and-return): Use it.
4810 2013-06-05  Leo Liu  <sdl.web@gmail.com>
4812         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4814 2013-06-04  Leo Liu  <sdl.web@gmail.com>
4816         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4817         (compilation-auto-jump): Suppress the "Mark set" message to give
4818         way to exit message.
4820 2013-06-04  Alan Mackenzie  <acm@muc.de>
4822         Remove faulty optimisation from indentation calculation.
4823         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4824         search limit based on 2000 characters back from indent-point.
4826 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
4828         * eshell/em-term.el (cl-lib): Require `cl-lib'.
4830 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4832         * emacs-lisp/lisp.el: Use lexical-binding.
4833         (lisp--local-variables-1, lisp--local-variables): New functions.
4834         (lisp--local-variables-completion-table): New var.
4835         (lisp-completion-at-point): Use it complete let-bound vars.
4837         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4838         eagerly (bug#14422).
4840 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
4842         * autorevert.el (auto-revert-notify-enabled)
4843         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4844         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4845         (auto-revert-notify-handler): Handle also gfilenotify.
4847         * subr.el (file-notify-handle-event): New defun.  Replacing ...
4848         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4849         Remove.
4851 2013-06-03  Juri Linkov  <juri@jurta.org>
4853         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4854         `M-s h .'.  (Bug#14427)
4856         * hi-lock.el (highlight-symbol-at-point): New alias for the new
4857         command `hi-lock-face-symbol-at-point'.
4858         (hi-lock-face-symbol-at-point): New command.
4859         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4860         (hi-lock-menu): Add `highlight-symbol-at-point'.
4861         (hi-lock-mode): Doc fix.
4863         * isearch.el (isearch-forward-symbol-at-point): New command.
4864         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4865         (isearch-highlight-regexp): Add a regexp which matches
4866         words/symbols for word/symbol mode.
4868         * subr.el (find-tag-default-bounds): New function with the body
4869         mostly moved from `find-tag-default'.
4870         (find-tag-default): Move most code to `find-tag-default-bounds',
4871         call it and apply `buffer-substring-no-properties' afterwards.
4873 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
4875         * eshell/em-term.el (eshell-term-initialize):
4876         Use `cl-intersection' rather than `intersection'.
4878 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
4880         * vc/log-view.el: Doc fix.
4881         (log-view-mode-map): Copy keymap from `special-mode-map'.
4883 2013-06-02  Eric Ludlam  <zappo@gnu.org>
4885         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4886         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4887         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4888         (eieio-unbound, eieio-default-superclass)
4889         (eieio--define-field-accessors, method-static, method-before)
4890         (method-primary, method-after, method-num-lists)
4891         (method-generic-before, method-generic-primary)
4892         (method-generic-after, method-num-slots)
4893         (eieio-specialized-key-to-generic-key)
4894         (eieio--check-type, class-v, class-p)
4895         (eieio-class-name, define-obsolete-function-alias)
4896         (eieio-class-parents-fast, eieio-class-children-fast)
4897         (same-class-fast-p, class-constructor, generic-p)
4898         (generic-primary-only-p, generic-primary-only-one-p)
4899         (class-option-assoc, class-option, eieio-object-p)
4900         (class-abstract-p, class-method-invocation-order)
4901         (eieio-defclass-autoload-map, eieio-defclass-autoload)
4902         (eieio-class-un-autoload, eieio-defclass)
4903         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4904         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4905         (eieio--defgeneric-init-form, eieio-defgeneric-form)
4906         (eieio-defgeneric-reset-generic-form)
4907         (eieio-defgeneric-form-primary-only)
4908         (eieio-defgeneric-reset-generic-form-primary-only)
4909         (eieio-defgeneric-form-primary-only-one)
4910         (eieio-defgeneric-reset-generic-form-primary-only-one)
4911         (eieio-unbind-method-implementations)
4912         (eieio--defmethod, eieio--typep)
4913         (eieio-perform-slot-validation, eieio-validate-slot-value)
4914         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4915         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4916         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4917         (eieio-slot-name-index, eieio-class-slot-name-index)
4918         (eieio-set-defaults, eieio-initarg-to-attribute)
4919         (eieio-attribute-to-initarg, eieio-c3-candidate)
4920         (eieio-c3-merge-lists, eieio-class-precedence-c3)
4921         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4922         (eieio-class-precedence-list, eieio-generic-call-methodname)
4923         (eieio-generic-call-arglst, eieio-generic-call-key)
4924         (eieio-generic-call-next-method-list)
4925         (eieio-pre-method-execution-functions, eieio-generic-call)
4926         (eieio-generic-call-primary-only, eieiomt-method-list)
4927         (eieiomt-optimizing-obarray, eieiomt-install)
4928         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4929         (eieio-generic-form, eieio-defmethod, make-obsolete)
4930         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4931         (defclass): Remove `eval-and-compile' from macro.
4932         (call-next-method, shared-initialize): Instead of using
4933         `scoped-class' variable, use new eieio--scoped-class, and
4934         eieio--with-scoped-class.
4935         (initialize-instance): Rename local variable 'scoped-class' to
4936         'this-class' to remove ambiguitity from old global.
4938         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
4939         eieio.el.
4940         (eieio--scoped-class-stack): New variable.
4941         (eieio--scoped-class): New fcn.
4942         (eieio--with-scoped-class): New scoping macro.
4943         (eieio-defclass): Use pushnew instead of add-to-list.
4944         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4945         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4946         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4947         `scoped-class' variable, use new eieio--scoped-class, and
4948         eieio--with-scoped-class.
4950         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4952 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
4954         * eshell/esh-ext.el (eshell-external-command): Pass args to
4955         `eshell-find-interpreter'.
4956         (eshell-find-interpreter): Add new second parameter ARGS.
4958         * eshell/em-script.el (eshell-script-initialize): Add second arg
4959         to the function added as MATCH to `eshell-interpreter-alist'.
4961         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4962         the function added as MATCH to `eshell-interpreter-alist'.
4964         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4965         (eshell-visual-options): New defcustom.
4966         (eshell-escape-control-x): Adapt docstring.
4967         (eshell-term-initialize): Test `eshell-visual-subcommands' and
4968         `eshell-visual-options' in addition to `eshell-visual-commands'.
4969         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4971 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4973         * progmodes/python.el (python-indent-block-enders): Add break,
4974         continue and raise keywords.
4976 2013-06-01  Glenn Morris  <rgm@gnu.org>
4978         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4980         Plain (f)boundp silences compilation warnings since Emacs 22.1.
4981         * progmodes/cc-cmds.el (delete-forward-p):
4982         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4983         * progmodes/cc-engine.el (buffer-syntactic-context):
4984         * progmodes/cc-fonts.el (face-property-instance):
4985         * progmodes/cc-mode.el (set-keymap-parents):
4986         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4987         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4988         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4989         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4990         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4992         * progmodes/cc-vars.el (other): Emacs has this widget since
4993         at least 21.1, so don't (re)define it.
4995         * eshell/em-cmpl.el (eshell-cmpl-initialize):
4996         Replace the obsolete alias pcomplete-arg-quote-list.
4998 2013-06-01  Leo Liu  <sdl.web@gmail.com>
5000         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5001         punctuation syntax.
5002         (inferior-octave-minimal-columns)
5003         (inferior-octave-last-column-width): New variables.
5004         (inferior-octave-track-window-width-change): New function.
5005         (inferior-octave-mode): Adjust column width so that Octave output,
5006         for example from 'ls', can fit into the window nicely.
5008 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
5010         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5011         Highlight expansions inside regexp literals.
5013 2013-05-31  Glenn Morris  <rgm@gnu.org>
5015         * obsolete/sym-comp.el (symbol-complete):
5016         Replace obsolete completion-annotate-function.
5018         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5020 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
5022         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5023         New function, checks if point is inside a literal that allows
5024         expression expansion.
5025         (ruby-syntax-propertize-expansion): Use it.
5026         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5027         around the body.
5029 2013-05-30  Juri Linkov  <juri@jurta.org>
5031         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5032         to "\M-si".
5033         (isearch-invisible): New variable.
5034         (isearch-forward): Doc fix.
5035         (isearch-mode): Set `isearch-invisible'
5036         to the value of `search-invisible'.
5037         (isearch-toggle-case-fold): Doc fix.
5038         (isearch-toggle-invisible): New command.
5039         (isearch-query-replace): Let-bind `search-invisible'
5040         to the value of `isearch-invisible'.
5041         (isearch-search): Use `isearch-invisible' instead of
5042         `search-invisible'.  Let-bind `search-invisible'
5043         to the value of `isearch-invisible'.  (Bug#11378)
5045 2013-05-30  Juri Linkov  <juri@jurta.org>
5047         * replace.el (perform-replace): Avoid `isearch-range-invisible'
5048         call when `query-flag' is nil and `search-invisible' is non-nil.
5049         (Bug#11746)
5051 2013-05-30  Glenn Morris  <rgm@gnu.org>
5053         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5055         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5056         (cc-require): Suppress spurious "noruntime" warnings.
5057         (cc-require-when-compile): Use fboundp, for sake of compiler.
5059         * progmodes/cc-mode.el: Move load of cc-vars before that of
5060         cc-langs (which in turn loads cc-vars), to quieten compiler.
5062 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5064         * paren.el: Simplify the code.
5065         (show-paren-mode): Always start the timer.
5066         (show-paren--idle-timer): Rename from show-paren-idle-timer.
5067         (show-paren--overlay, show-paren--overlay-1): Rename from
5068         show-paren-overlay and show-paren-overlay-1, and initialize to an
5069         overlay rather than to nil.
5070         (show-paren-function): Misc cleanup and simplifications.
5072 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5074         * paren.el (show-paren-data-function): New hook.
5075         (show-paren--default): New function, extracted from show-paren-function.
5076         (show-paren-function): Use show-paren-data-function.
5078 2013-05-30  Glenn Morris  <rgm@gnu.org>
5080         * ielm.el (ielm-map, ielm-complete-symbol):
5081         Use completion-at-point rather than obsolete functions.
5082         (inferior-emacs-lisp-mode): Doc fix.
5083         Set completion-at-point-functions, rather than
5084         comint-dynamic-complete-functions.
5086         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5087         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5088         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5090         * image.el (image-animated-p): Tweak definition.
5092         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5093         (rlogin-process-connection-type): Tweak default.  Add set-after.
5094         (rlogin-host): Doc fix.
5095         (rlogin): Tweak prompt.
5096         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5098         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5099         * progmodes/tcl.el (inferior-tcl-mode-map):
5100         Use completion-at-point rather than obsolete alias.
5102         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5104         * minibuffer.el (read-file-name-completion-ignore-case):
5105         Move before completion--in-region, for eager macro expansion.
5107 2013-05-29  Juri Linkov  <juri@jurta.org>
5109         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5110         for total count of matching lines.  Add `global-matches' for total
5111         count of matches.  Rename `matches' to `lines' for count of
5112         matching lines.  Add `matches' for count of matches.
5113         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
5114         to `prev-line' for line number of prev match endpt.
5115         Increment `matches' for every match.  Print the number of
5116         matching lines in the header.
5117         (occur-context-lines): Rename `lines' to `curr-line'.
5118         Rename `prev-lines' to `prev-line'.  (Bug#14017)
5120 2013-05-29  Juri Linkov  <juri@jurta.org>
5122         * replace.el (perform-replace): Add `skip-read-only-count',
5123         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5124         Increment them for corresponding conditions and report the number
5125         of skipped occurrences in the final message.  (Bug#11746)
5126         (query-replace, query-replace-regexp, query-replace-regexp-eval)
5127         (replace-string, replace-regexp): Doc fix.
5129 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5131         * emacs-lisp/trace.el (trace--read-args): Provide a default.
5133         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5134         prog-mode-map (bug#14504).
5136 2013-05-29  Leo Liu  <sdl.web@gmail.com>
5138         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5139         (octave-help): Small simplification.
5141         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5142         off the highlight first.
5144 2013-05-29  Glenn Morris  <rgm@gnu.org>
5146         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5147         Handle idlwave-last-system-routine-info-cons-cell being nil.
5149         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5150         (idlwave-write-paths): Simplify via with-temp-buffer.
5152         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5153         * emulation/cua-rect.el: Also load cua-base at run time.
5155         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5156         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5157         (cperl-imenu-on-info): Require imenu.
5159 2013-05-28  Alan Mackenzie  <acm@muc.de>
5161         Handle "capitalised keywords" correctly.
5162         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5164 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
5166         * eshell/em-unix.el: Add -r option to cp.
5168 2013-05-28  Glenn Morris  <rgm@gnu.org>
5170         * vc/vc-arch.el (vc-exec-after): Declare.
5171         (vc-switches): Autoload.
5172         * vc/vc-bzr.el: No need to require vc when compiling.
5173         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5174         (vc-resynch-buffer, vc-dir-refresh): Declare.
5175         (vc-setup-buffer, vc-switches): Autoload.
5176         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5177         (vc-resynch-buffer): Declare.
5178         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5179         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5180         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5181         (grep-read-regexp, grep-read-files, grep-expand-template)
5182         (vc-dir-refresh): Declare.
5183         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5184         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5185         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5186         * vc/vc-mtn.el (vc-exec-after): Declare.
5187         (vc-switches): Autoload.
5188         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5189         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5190         (vc-file-tree-walk): Declare.
5191         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5192         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5193         (vc-tag-precondition, vc-rename-master): Autoload.
5194         * vc/vc-svn.el (vc-exec-after): Declare.
5195         (vc-switches, vc-setup-buffer): Autoload.
5196         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5197         Autoload.
5198         (vc-resynch-buffer): Declare.
5200         * obsolete/fast-lock.el (byte-compile-warnings):
5201         Don't warn about obsolete features in this obsolete file.
5203         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5204         Move definition before use.
5206         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5207         (dun-unix-verbs): Remove dun-zippy.
5208         (dun-zippy): Remove function.
5210         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5212 2013-05-27  Juri Linkov  <juri@jurta.org>
5214         * replace.el (replace-search): New function with code moved out
5215         from `perform-replace'.
5216         (replace-highlight, replace-dehighlight): Move function definitions
5217         up closer to `replace-search'.  (Bug#11746)
5219 2013-05-27  Juri Linkov  <juri@jurta.org>
5221         * replace.el (perform-replace): Ignore invisible matches.
5222         In addition to checking `query-replace-skip-read-only', also
5223         filter out matches by calling `run-hook-with-args-until-failure'
5224         on `isearch-filter-predicates', and also check `search-invisible'
5225         for t or call `isearch-range-invisible'.
5226         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
5228 2013-05-27  Juri Linkov  <juri@jurta.org>
5230         * isearch.el (isearch-filter-predicates): Rename from
5231         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
5232         (isearch-message-prefix): Display text from the property
5233         `isearch-message-prefix' of the currently active filters.
5234         (isearch-search): Don't compare `isearch-filter-predicate' with
5235         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
5236         on `isearch-filter-predicates'.  Also check `search-invisible' for t
5237         or call `isearch-range-invisible'.
5238         (isearch-filter-visible): Make obsolete.
5239         (isearch-lazy-highlight-search):
5240         Call `run-hook-with-args-until-failure' on
5241         `isearch-filter-predicates' and use `isearch-range-invisible'.
5243         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5244         `isearch-filter-predicates' instead of `funcall'ing
5245         `isearch-filter-predicate'.
5246         (Info-mode): Set `Info-isearch-filter' to
5247         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5249         * dired-aux.el (dired-isearch-filter-predicate-orig):
5250         Remove variable.
5251         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5252         (dired-isearch-filenames-end): Add and remove
5253         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5254         instead of changing the value of `isearch-filter-predicate'.
5255         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5256         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5257         Put property `isearch-message-prefix' to "filename " on
5258         `dired-isearch-filter-filenames'.
5260         * wdired.el (wdired-change-to-wdired-mode):
5261         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5262         locally instead of changing `isearch-filter-predicate'.
5263         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5265 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
5267         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5268         return the commit hash (Bug#14459).  Also set the
5269         `vc-git-detached' property.
5270         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5271         (vc-git-mode-line-string): Use the same help-echo format whether
5272         in detached mode or not, because we know the actual revision now.
5273         When in detached mode, shorten the revision to 7 chars.
5275 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5277         * emacs-lisp/easy-mmode.el (define-minor-mode):
5278         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5279         mode hook and provide a docstring.
5281 2013-05-27  Alan Mackenzie  <acm@muc.de>
5283         Remove spurious syntax-table text properties inserted by C-y.
5284         * progmodes/cc-mode.el (c-after-change): Also clear hard
5285         syntax-table property with value nil.
5287 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
5289         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5290         when reading the events; the buffer layout shall not be changed.
5292 2013-05-27  Leo Liu  <sdl.web@gmail.com>
5294         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5295         New variable.
5296         (inferior-octave-directory-tracker): Automatically re-sync
5297         default-directory.
5298         (octave-help): Improve handling of 'See also'.
5300 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5302         * doc-view.el: Minor naming convention tweaks.
5303         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5305         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5306         even if there's no `display' property yet (bug#14435).
5308 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
5310         * subr.el (unmsys--file-name): Rename from reveal-filename.
5312         * Makefile.in (custom-deps, finder-data, autoloads)
5313         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5314         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5315         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5317 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5319         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5320         error-completion on the first 2 args of condition-case (bug#14446).
5321         Don't burp at EOB.
5323 2013-05-25  Leo Liu  <sdl.web@gmail.com>
5325         * comint.el (comint-previous-matching-input): Do not flood the
5326         *Messages* buffer with trivial messages.
5328 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5330         * progmodes/flymake.el (flymake-nop): Don't return a string.
5331         (flymake-set-at): Fix typo.
5333         * simple.el (read--expression): New function, extracted from
5334         eval-expression.  Set completion-at-point-functions (bug#14465).
5335         (eval-expression, eval-minibuffer): Use it.
5337 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
5339         * progmodes/flymake.el (flymake-save-buffer-in-file)
5340         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5341         (flymake-selected-frame, flymake-log, flymake-ins-after)
5342         (flymake-set-at, flymake-get-buildfile-from-cache)
5343         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5344         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5345         Refine the doc string.
5346         (flymake-get-file-name-mode-and-masks): Reformat.
5347         (flymake-get-real-file-name-function): Fix a minor bug.
5349 2013-05-24  Juri Linkov  <juri@jurta.org>
5351         * progmodes/grep.el (grep-mode-font-lock-keywords):
5352         Support =linenumber= format used by git-grep for lines with
5353         function names.  (Bug#13549)
5355 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5357         * progmodes/octave.el (octave-smie-rules): Return nil rather than
5358         0 after a semi-colon; it works better for smie-auto-fill.
5359         (octave--indent-new-comment-line): New function.
5360         (octave-indent-new-comment-line): Use it (indirectly).
5361         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
5362         modify comment-line-break-function.
5364         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5365         (smie-setup): Use add-function to set it.
5367 2013-05-24  Sam Steingold  <sds@gnu.org>
5369         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5370         argument (before the `interactive' argument).
5372 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5374         * image-mode.el (image-mode-winprops): Add winprops to
5375         image-mode-winprops-alist before running
5376         image-mode-new-window-functions.
5377         * doc-view.el (doc-view-new-window-function): Don't delay
5378         doc-view-goto-page via timers (bug#14435).
5380 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
5382         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
5383         (doc-view-desktop-save-buffer): New function.
5384         (doc-view-restore-desktop-buffer): New function.
5385         (desktop-buffer-mode-handlers):
5386         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5387         handler.
5388         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5389         `desktop-save-buffer' function.
5391 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
5393         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5394         (tramp-gvfs-file-name-handler): Raise a user error when
5395         `tramp-gvfs-enabled' is nil.
5396         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5397         Do not raise a user error when loading package.  (Bug#14447)
5399         * net/xesam.el: Move to obsolete/.
5401 2013-05-24  Glenn Morris  <rgm@gnu.org>
5403         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5405         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5407         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5408         (Info-find-node, Man-getpage-in-background): Declare.
5410         * mail/unrmail.el (unrmail):
5411         Replace obsolete detect-coding-with-priority.
5413         * net/socks.el (socks-split-string): Use this rather than split-string.
5414         (socks-nslookup-host): Update for above change.
5415         (dynamic-choice, s5-dynamic-choice-match)
5416         (s5-dynamic-choice-match-inline, s5-widget-value-create):
5417         Comment out unused code.
5419         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5420         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5421         (gud-tooltip-echo-area): Make obsolete.
5422         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5424         * progmodes/js.el (js--optimize-arglist): Declare.
5426         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5428         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5429         (ediff-window-C): Declare.
5431         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5432         Tweak requires to silence compiler.
5434         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5435         (he-search-string, he-tried-table, he-expand-list)
5436         (he-init-string, he-string-member, he-substitute-string)
5437         (he-reset-string): Declare.
5439         * obsolete/options.el (list-options): Use custom-variable-p,
5440         rather than obsolete alias.
5442 2013-05-23  Sam Steingold  <sds@gnu.org>
5444         * simple.el (shell-command-on-region): Pass the `replace' argument
5445         down to `call-process-region' to comply with the doc as reported on
5446         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5448 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * emacs-lisp/smie.el (smie-indent-forward-token)
5451         (smie-indent-backward-token): Handle string tokens (bug#14381).
5453 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5455         * ielm.el (ielm-menu): New menu.
5456         (inferior-emacs-lisp-mode): Set comment-start.
5458 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5460         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5461         Fix deactivate action.
5463         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5464         Add cleveref macros.
5466         * lisp/textmodes/reftex-parse.el
5467         (reftex-locate-bibliography-files): Accept options for
5468         bibliography commands.
5469         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5470         Add addbibresource.  Basic Biblatex support.
5472 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
5474         * net/tramp-gvfs.el (top):
5475         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5476         when loading package.  (Bug#14447)
5478 2013-05-23  Glenn Morris  <rgm@gnu.org>
5480         * progmodes/js.el: No need to load comint when compiling.
5481         (ring-insert, comint-send-string, comint-send-input)
5482         (comint-last-input-end, ido-chop): Declare.
5484         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5485         * vc/ediff-mult.el: Adjust requires.
5486         (ediff-directories-internal, ediff-directory-revisions-internal)
5487         (ediff-patch-file-internal): Declare.
5488         * vc/ediff-ptch.el: Adjust requires.
5489         (ediff-use-last-dir, ediff-buffers-internal): Declare.
5490         (ediff-find-file): Autoload.
5491         * vc/ediff-util.el: No need to load ediff when compiling.
5492         (ediff-regions-internal): Declare.
5493         * vc/ediff-wind.el: Adjust requires.
5494         (ediff-compute-toolbar-width): Define when compiling.
5495         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5496         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5497         (dired-get-filename, dired-get-marked-files)
5498         (ediff-last-dir-patch, ediff-patch-default-directory)
5499         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5500         (ediff-patch-buffer-internal): Declare.
5502         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5503         (ispell-process, ispell-buffer-local-words, lm-summary)
5504         (lm-section-start, lm-section-end): Declare.
5505         (checkdoc-ispell-init): Simplify.
5507         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5508         (he-string-member, he-reset-string, he-substitute-string): Declare.
5510         * eshell/em-ls.el: Adjust requires.
5511         (eshell-glob-regexp): Declare.
5512         * eshell/em-tramp.el: Adjust requires.
5513         (eshell-parse-command): Autoload.
5514         * eshell/em-xtra.el: Adjust requires.
5515         (eshell-parse-command): Autoload.
5516         * eshell/esh-ext.el: Adjust requires.
5517         (eshell-parse-command, eshell-close-handles): Autoload.
5518         * eshell/esh-io.el: Adjust requires.
5519         (eshell-output-filter): Autoload.
5520         * eshell/esh-util.el: No need to load tramp when compiling.
5521         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5522         Declare.
5523         (eshell-parse-ange-ls): Require ange-ftp and tramp.
5524         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5525         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5526         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5527         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5528         * eshell/esh-opt.el, eshell/esh-proc.el:
5529         * eshell/esh-var.el: Adjust requires.
5530         * eshell/eshell.el: Do not require esh-util twice.
5531         (eshell-add-input-to-history): Declare.
5532         (eshell-command): Check history module is active before using it.
5534         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5536 2013-05-22  Leo Liu  <sdl.web@gmail.com>
5538         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5540 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
5542         * autorevert.el (auto-revert-notify-add-watch)
5543         (auto-revert-notify-handler): Add `attrib' for the inotify case,
5544         it indicates changes in file modification time.
5546 2013-05-22  Glenn Morris  <rgm@gnu.org>
5548         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5549         Always delete the autoloaded function from the noruntime and
5550         unresolved functions lists.
5552         * allout.el: No need to load epa, epg, overlay when compiling.
5553         (epg-context-set-passphrase-callback, epg-list-keys)
5554         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5555         (epg-key-user-id-list): Declare.
5557         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5558         (viper-set-parsing-style-toggling-macro)
5559         (viper-set-emacs-state-searchstyle-macros):
5560         Use called-interactively-p on Emacs.
5561         (viper-looking-back): Make it an obsolete alias.  Update callers.
5562         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5563         Use looking-back rather than viper-looking-back.
5564         (viper-tmp-insert-at-eob, viper-enlarge-region)
5565         (viper-read-string-with-history, viper-register-to-point)
5566         (viper-append-to-register, viper-change-state-to-vi)
5567         (viper-backward-char-carefully, viper-forward-char-carefully)
5568         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5569         (viper-change-state-to-emacs): Declare.
5570         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5571         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5572         * emulation/viper-mous.el: Do not load viper-cmd.
5573         (viper-backward-char-carefully, viper-forward-char-carefully)
5574         (viper-forward-word, viper-adjust-window): Declare.
5576         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5578         * progmodes/idlw-help.el (idlwave-help-fontify):
5579         Use called-interactively-p.
5581         * term/w32console.el (w32-get-console-codepage)
5582         (w32-get-console-output-codepage): Declare.
5584         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5585         Remove unnecessary declarations.
5586         (dframe-message): Doc fix.
5588         * info.el (dframe-select-attached-frame, dframe-current-frame):
5589         Declare.
5591         * speedbar.el (speedbar-message): Make it an obsolete alias.
5592         Update all callers.
5593         (speedbar-with-attached-buffer)
5594         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5595         (speedbar-with-writable): Use backquote.
5596         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5597         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5598         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5599         rather than speedbar- aliases.
5600         * mail/rmail.el: Load dframe rather than speedbar when compiling.
5601         (speedbar-make-specialized-keymap, speedbar-insert-button)
5602         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5603         (speedbar-do-function-pointer): Declare.
5604         (rmail-speedbar-button, rmail-speedbar-find-file)
5605         (rmail-speedbar-move-message):
5606         Use dframe-with-attached-buffer rather than speedbar- alias.
5607         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5608         (dframe-message, speedbar-make-specialized-keymap)
5609         (speedbar-add-expansion-list, speedbar-mode-functions-list)
5610         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5611         (speedbar-insert-button, dframe-select-attached-frame)
5612         (dframe-maybee-jump-to-attached-frame)
5613         (speedbar-change-initial-expansion-list)
5614         (speedbar-previously-used-expansion-list-name): Declare.
5615         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5616         Use dframe-message, dframe-with-attached-buffer rather than
5617         speedbar- aliases.
5618         (gud-sentinel): Silence compiler.
5619         * progmodes/vhdl-mode.el (speedbar-refresh)
5620         (speedbar-do-function-pointer, speedbar-add-supported-extension)
5621         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5622         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5623         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5624         (speedbar-file-lists, speedbar-make-tag-line)
5625         (speedbar-line-directory, speedbar-goto-this-file)
5626         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5627         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5628         (speedbar-make-button, speedbar-reset-scanners)
5629         (speedbar-files-item-info, speedbar-line-text)
5630         (speedbar-find-file-in-frame, speedbar-set-timer)
5631         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5632         (speedbar-with-writable): Do not (re)define it.
5633         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5634         rather than speedbar- alias.
5636 2013-05-21  Leo Liu  <sdl.web@gmail.com>
5638         * progmodes/octave.el (octave-mode-menu): Update and re-organize
5639         menu items.
5640         (octave-mode): Tweak fill-nobreak-predicate.
5641         (inferior-octave-startup): Check process to avoid infinite loop.
5642         (inferior-octave): Pop to buffer first to show abornmal process
5643         exit information.
5645 2013-05-21  Glenn Morris  <rgm@gnu.org>
5647         * printing.el (pr-menu-bar): Define when compiling.
5649 2013-05-21  Leo Liu  <sdl.web@gmail.com>
5651         * progmodes/octave.el (octave-auto-fill): Remove.
5652         (octave-indent-new-comment-line): Improve.
5653         (octave-mode): Use auto fill mode through
5654         comment-line-break-function and fill-nobreak-predicate.
5655         (octave-goto-function-definition): Support DEFUN_DLD.
5656         (octave-beginning-of-defun): Small tweak.
5657         (octave-help): Show parent directory.
5659 2013-05-21  Glenn Morris  <rgm@gnu.org>
5661         * files.el (dired-unmark):
5662         * progmodes/gud.el (gdb-input): Update declarations.
5664         * calculator.el (electric, ehelp): No need to load when compiling.
5665         (Electric-command-loop, electric-describe-mode): Declare.
5667         * doc-view.el (doc-view-current-converter-processes): Move before use.
5669         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5670         Move MODE-set-explicitly definition before use.
5672         * international/mule-diag.el (mule-diag):
5673         Don't use obsolete window-system-version.
5675         * mail/feedmail.el (smtpmail): No need to load when compiling.
5676         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5678         * mail/mail-utils.el (rfc822): No need to load when compiling.
5679         (rfc822-addresses): Autoload it.
5680         (mail-strip-quoted-names): Trivial simplification.
5682         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5683         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5685         * net/snmp-mode.el (tempo): Don't duplicate requires.
5687         * progmodes/prolog.el (info): No need to load when compiling.
5688         (comint): Require before shell requires it.
5689         (Info-goto-node): Autoload it.
5690         (Info-follow-nearest-node): Declare.
5691         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5693         * textmodes/artist.el (picture-mode-exit): Declare.
5695         * textmodes/reftex-parse.el (reftex-parse-from-file):
5696         Trivial rewrite so the compiler can parse it better.
5698 2013-05-20  Leo Liu  <sdl.web@gmail.com>
5700         * progmodes/octave.el (octave-help-mode-map)
5701         (octave-help-mode-finish-hook): New variables.
5702         (octave-help-mode, octave-help-mode-finish): New functions.
5703         (octave-help): Use octave-help-mode.
5705 2013-05-20  Glenn Morris  <rgm@gnu.org>
5707         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
5709 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
5711         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5712         start at point, so that expansion starting right after opening
5713         slash in a regexp is recognized.
5714         (ruby-syntax-before-regexp-re): New defvar, extracted from
5715         ruby-syntax-propertize-function.  Since the value of this regexp
5716         is looked up at runtime now, we should be able to turn
5717         `ruby-syntax-methods-before-regexp' into a defcustom later.
5718         (ruby-syntax-propertize-function): Split regexp matching into two
5719         parts, for opening and closing slashes.  That allows us to skip
5720         over string interpolations and support multiline regexps.
5721         Don't call `ruby-syntax-propertize-expansions', instead use another rule
5722         for them, which calls `ruby-syntax-propertize-expansion'.
5723         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5724         call to `ruby-syntax-propertize-function'.
5725         (ruby-syntax-propertize-expansion): Extracted from
5726         `ruby-syntax-propertize-expansions'.  Handles one expansion.
5727         (ruby-syntax-propertize-percent-literal): Leave point right after
5728         the percent symbol, so that the expression expansion rule can
5729         propertize the contents.
5730         (ruby-syntax-propertize-heredoc): Leave point at bol following the
5731         heredoc openers.
5732         (ruby-syntax-propertize-expansions): Remove.
5734 2013-05-18  Juri Linkov  <juri@jurta.org>
5736         * man.el (Man-default-man-entry): Remove `-' from the end
5737         of the default value.  (Bug#14400)
5739 2013-05-18  Glenn Morris  <rgm@gnu.org>
5741         * comint.el (comint-password-prompt-regexp):
5742         Allow "password for XXX" where XXX contains colons (eg https://...).
5744 2013-05-18  Leo Liu  <sdl.web@gmail.com>
5746         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5747         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
5748         (octave-source-directories): Don't check process.
5749         (octave-source-directories, octave-find-definition): Doc fix.
5751 2013-05-18  Glenn Morris  <rgm@gnu.org>
5753         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5754         Remove backspace/delete bindings.  (Bug#14392)
5756         * cus-dep.el (custom-make-dependencies): Sort the output.
5757         (custom-versions-load-alist): Convert comment to doc.
5759 2013-05-17  Leo Liu  <sdl.web@gmail.com>
5761         * newcomment.el (comment-search-backward): Stricter in finding
5762         comment start.  (Bug#14303)
5764         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5765         (octave-comment-start-skip): Properly anchored.
5767 2013-05-17  Leo Liu  <sdl.web@gmail.com>
5769         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5770         Clean up when turned off.  (Bug#14395)
5771         (smie--highlight-matching-block-overlay): No longer buffer-local.
5772         (smie-highlight-matching-block): Adjust.
5774 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
5776         Doc string fix for "nanoseconds" (Bug#14406).
5777         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5778         Fix doc string typo that had "nanoseconds" instead of "microseconds".
5780 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
5782         * calc/calc-units.el (math-extract-units): Preserve powers
5783         of units.
5785 2013-05-17  Leo Liu  <sdl.web@gmail.com>
5787         * subr.el (delete-consecutive-dups): New function.
5788         * ido.el (ido-set-matches-1): Use it.
5789         * progmodes/octave.el (inferior-octave-completion-table): Use it.
5790         * ido.el (ido-remove-consecutive-dups): Remove.
5792 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5794         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5795         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5796         regexp-opt's `words'.
5798 2013-05-16  Leo Liu  <sdl.web@gmail.com>
5800         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5801         (smie--highlight-matching-block-overlay)
5802         (smie--highlight-matching-block-lastpos)
5803         (smie--highlight-matching-block-timer): New variables.
5804         (smie-highlight-matching-block): New function.
5805         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
5806         (smie-setup): Conditionally enable smie-blink-matching-open.
5808 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
5810         Sync with upstream verilog-mode r840.
5811         * progmodes/verilog-mode.el (verilog-mode-version)
5812         (verilog-mode-release-date): Update.
5813         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5814         (verilog-sig-tieoff): Fix string error on
5815         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
5816         (verilog-read-decls): Fix parameters confusing
5817         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
5819 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
5821         * subr.el (reveal-filename): New function.
5823         * loadup.el: Compute Emacs executable versions on MS-Windows,
5824         where executables have the .exe extension.  Add a hard link
5825         emacs-XX.YY.ZZ.exe on MS-Windows.
5827         * Makefile.in (XARGS_LIMIT): New variable.
5828         (custom-deps, finder-data, autoloads)
5829         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5830         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5831         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5832         (compile-main): Limit xargs according to $(XARGS_LIMIT).
5834 2013-05-16  Leo Liu  <sdl.web@gmail.com>
5836         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5837         (octave-mode-menu, octave-mode-map): Remove its uses.
5839 2013-05-16  Reto Zimmermann  <reto@gnu.org>
5841         Sync with upstream vhdl mode v3.34.2.
5842         * progmodes/vhdl-mode.el: Use `push' throughout.
5843         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5844         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5845         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
5846         (vhdl-actual-generic-name): New option to derive actual generic name.
5847         (vhdl-port-paste-signals): Replace formal by actual generics.
5848         (vhdl-beautify): New name for old group vhdl-align.  Update users.
5849         (vhdl-beautify-options): New option.
5850         (vhdl-last-input-event): New compat alias.  Use throughout.
5851         (vhdl-goto-line): Replace user level function `goto-line'.
5852         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5853         vhdl-fix-statement-buffer.
5854         (vhdl-create-mode-menu): Add some entries.
5855         (vhdl-align-region-groups): Respect vhdl-beautify-options.
5856         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5857         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5858         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5859         to force statements on one line.
5860         (vhdl-remove-trailing-spaces-region):
5861         New, split from vhdl-remove-trailing-spaces.
5862         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5863         Respect vhdl-beautify-options.
5864         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5865         (vhdl-update-sensitivity-list): Not add with index if exists without.
5866         Not include array index with signal.  Ignore keywords in comments.
5867         (vhdl-get-visible-signals): Regexp tweaks.
5868         (vhdl-template-component-inst): Handle empty library.
5869         (vhdl-template-type): Add template for 'enum' type.
5870         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5871         Use vhdl-replace-string.
5872         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5873         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5874         (vhdl-speedbar-initialize): Update for above name change.
5875         (vhdl-compose-wire-components): Fix in handling of constants.
5876         (vhdl-error-regexp-emacs-alist): New variable.
5877         (vhdl-error-regexp-add-emacs): New function;
5878         adds support for new compile.el (Emacs 22+)
5879         (vhdl-generate-makefile-1): Change target order for single lib. units.
5880         Allow use of absolute file names.
5882 2013-05-16  Leo Liu  <sdl.web@gmail.com>
5884         * simple.el (prog-indent-sexp): Indent enclosing defun.
5886 2013-05-15  Glenn Morris  <rgm@gnu.org>
5888         * cus-start.el (show-trailing-whitespace): Move to editing basics.
5889         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5890         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5891         (whitespace-highlight): Move to whitespace group.
5893         * comint.el (comint-source):
5894         * pcmpl-linux.el (pcmpl-linux):
5895         * shell.el (shell-faces):
5896         * eshell/esh-opt.el (eshell-opt):
5897         * international/ccl.el (ccl): Remove empty custom groups.
5899         * completion.el (dynamic-completion-mode):
5900         * jit-lock.el (jit-lock-debug-mode):
5901         * minibuffer.el (completion-in-region-mode):
5902         * type-break.el (type-break-mode-line-message-mode)
5903         (type-break-query-mode):
5904         * emulation/tpu-edt.el (tpu-edt-mode):
5905         * progmodes/subword.el (global-subword-mode, global-superword-mode):
5906         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5907         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5909         * term/xterm.el (xterm): Change parent group to terminals.
5911         * master.el (master): Remove empty custom group.
5912         (master-mode): Remove unused :group argument.
5913         * textmodes/refill.el (refill): Remove empty custom group.
5914         (refill-mode): Remove unused :group argument.
5916         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5918         * cus-dep.el: Provide a feature.
5919         (custom-make-dependencies): Ignore dotfiles (dir-locals).
5920         Don't mistakenly ignore files whose basenames match a basename
5921         from preloaded-file-list (eg cedet/ede/simple.el).
5922         Add a fallback method for getting :group.
5924 2013-05-15  Juri Linkov  <juri@jurta.org>
5926         * isearch.el (isearch-char-by-name): Rename from
5927         `isearch-insert-char-by-name'.  Doc fix.
5928         (isearch-forward): Mention `isearch-char-by-name' in
5929         the docstring.  (Bug#13348)
5931         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5932         `exit-minibuffer' instead of
5933         `isearch-nonincremental-exit-minibuffer'.
5934         (isearch-edit-string): Remove mention of
5935         `isearch-nonincremental-exit-minibuffer' from docstring.
5936         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5937         (isearch-forward-exit-minibuffer)
5938         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
5940 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5942         * loadup.el: Just use unversioned DOC.
5944         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5945         literals as extending to EOB.
5946         (nxml-last-fontify-end): Remove unused variable.
5947         (nxml-after-change1): Use with-silent-modifications.
5948         (nxml-extend-after-change-region): Simplify.
5949         (nxml-extend-after-change-region1): Remove function.
5950         (nxml-after-change1): Don't adjust for dependent regions.
5951         (nxml-fontify-matcher): Simplify.
5952         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5953         (xmltok-add-dependent): Remove function.
5954         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5955         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5956         (xmltok-scan-prolog-after-processing-instruction-open): Treat
5957         unclosed <[[, <?, comment, and other literals as extending to EOB.
5958         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5959         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5960         Remove functions.
5961         (rng-do-some-validation-1): Don't mark dependent regions.
5962         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5963         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5964         (nxml-clear-dependent-regions): Remove functions.
5965         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5966         (nxml-ensure-scan-up-to-date):
5967         Don't clear&mark dependent regions.
5969 2013-05-15  Leo Liu  <sdl.web@gmail.com>
5971         * progmodes/octave.el (octave-goto-function-definition):
5972         Improve and fix callers.
5974 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5976         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5977         the setter (bug#14387).
5979         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5980         surrounding group (bug#14402).
5982 2013-05-14  Juri Linkov  <juri@jurta.org>
5984         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5985         (Bug#14390)
5987 2013-05-14  Glenn Morris  <rgm@gnu.org>
5989         * progmodes/f90.el (f90-imenu-generic-expression):
5990         Fix typo in 2013-05-08 change.  (Bug#14402)
5992 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
5994         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5995         Remove signals for which replies are never received.
5997 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
5999         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6000         (gdb-handler-alist, gdb-handler-number): Remove variables.
6001         (gdb-handler-list): New variable.
6002         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6003         (gdb-pending-handler-p, gdb-handle-reply)
6004         (gdb-remove-all-pending-triggers): New functions.
6005         (gdb-discard-unordered-replies): New defcustom.
6006         (gdb-handler): New defstruct.
6007         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
6008         instead of gdb-pending-triggers.  Update docstring.
6009         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
6010         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6011         (gdb-var-update-handler, def-gdb-auto-update-trigger)
6012         (def-gdb-auto-update-handler, gdb-get-changed-registers)
6013         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6014         (gdb-frame-handler): Pending triggers are now automatically managed.
6015         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6016         Remove argument.
6017         (gdb-input): Automatically handles pending triggers.  Update docstring.
6018         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6019         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6020         Update comments.
6021         (gdb-done-or-error): Now use gdb-handle-reply.
6023 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
6025         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6026         gdb-debug-log.
6028 2013-05-14  Glenn Morris  <rgm@gnu.org>
6030         * subr.el (user-emacs-directory-warning): New option.
6031         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
6033 2013-05-14  Leo Liu  <sdl.web@gmail.com>
6035         * progmodes/octave.el (octave-font-lock-keywords): Fix error
6036         during redisplay.
6037         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6038         (octave-font-lock-texinfo-comment): Fix invalid search bound
6039         error: wrong side of point.
6041 2013-05-14  Glenn Morris  <rgm@gnu.org>
6043         * progmodes/flymake.el (flymake-xml-program): New option.
6044         (flymake-xml-init): Use it.
6046         * term/xterm.el: Provide a feature.
6048         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
6050 2013-05-13  Glenn Morris  <rgm@gnu.org>
6052         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6053         Add compat aliases as a hack workaround.  (Bug#14384)
6055 2013-05-13  Leo Liu  <sdl.web@gmail.com>
6057         * progmodes/octave.el (octave-indent-comment): Fix indentation for
6058         ###, and %!.
6059         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6060         C-M-q.
6061         (octave-comment-start-skip): Include %!.
6062         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6064 2013-05-12  Leo Liu  <sdl.web@gmail.com>
6066         * progmodes/octave.el (inferior-octave-startup): Store the value
6067         of __octave_srcdir__ for octave-source-directories.
6068         (inferior-octave-check-process): New function refactored out of
6069         inferior-octave-send-list-and-digest.
6070         (octave-source-directories)
6071         (octave-find-definition-filename-function): New variables.
6072         (octave-source-directories)
6073         (octave-find-definition-default-filename): New functions.
6074         (octave-find-definition): Improve to find functions implemented in C++.
6076 2013-05-12  Glenn Morris  <rgm@gnu.org>
6078         * calendar/diary-lib.el (diary-outlook-format-1):
6079         Don't include dayname in the output.  (Bug#14349)
6081 2013-05-11  Glenn Morris  <rgm@gnu.org>
6083         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6085         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6086         Treat cc-provide like provide.
6088 2013-05-11  Kevin Ryde  <user42@zip.com.au>
6090         * cus-dep.el (custom-make-dependencies):
6091         Use generated-autoload-load-name for the sake of files such
6092         such cedet/semantic/bovine/c.el, where the base file name
6093         is not in load-path.  (Bug#5277)
6095 2013-05-11  Glenn Morris  <rgm@gnu.org>
6097         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6098         Provide features.
6100 2013-05-11  Leo Liu  <sdl.web@gmail.com>
6102         * progmodes/octave.el (octave-indent-comment): Improve.
6103         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6104         (octave-eldoc-function-signatures, octave-eldoc-function):
6105         New functions.
6106         (octave-mode, inferior-octave-mode): Add eldoc support.
6108 2013-05-11  Richard Stallman  <rms@gnu.org>
6110         * epa.el (epa-decrypt-file): Take output file name as argument
6111         and read it using `interactive'.
6113 2013-05-11  Leo Liu  <sdl.web@gmail.com>
6115         * progmodes/octave.el (octave-beginning-of-line)
6116         (octave-end-of-line): Check before using up-list because it jumps
6117         out of more syntactic contructs since moving to smie.
6118         (octave-indent-comment): New function.
6119         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
6120         (octave-begin-keywords, octave-end-keywords)
6121         (octave-reserved-words, octave-smie-bnf-table)
6122         (octave-smie-rules): Add new keywords from Octave 3.6.4.
6124 2013-05-11  Glenn Morris  <rgm@gnu.org>
6126         * faces.el (internal-face-x-get-resource):
6127         * frame.el (ns-display-monitor-attributes-list):
6128         * calc/calc-aent.el (math-to-radians-2):
6129         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6130         Fix declarations.
6132         * calc/calc-menu.el: Make it loadable in isolation.
6134         * net/eudcb-bbdb.el: Make it loadable without bbdb.
6135         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6136         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6137         (eudc-bbdb-query-internal): Require 'bbdb.
6139         * lpr.el (lpr-headers-switches):
6140         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6142         * progmodes/sql.el (sql-login-params): Fix and improve :type.
6144         * emulation/edt-mapper.el: In batch mode, error rather than hang.
6146         * term.el (term-set-escape-char): Make it idempotent.
6148 2013-05-10  Leo Liu  <sdl.web@gmail.com>
6150         * progmodes/octave.el (inferior-octave-completion-table):
6151         No longer a function and all uses changed.  Use cache to speed up
6152         completion due to bug#11906.
6153         (octave-beginning-of-defun): Re-write to be more general.
6155 2013-05-10  Glenn Morris  <rgm@gnu.org>
6157         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6159 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6161         * comint.el (comint-redirect-send-command-to-process): Use :around
6162         rather than :override for comint-redirect-filter.
6163         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6164         Call it instead of comint-redirect-original-filter-function (which
6165         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
6167 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
6169         * frame.el (display-monitor-attributes-list): Add NS case.
6170         (ns-display-monitor-attributes-list): Declare.
6172 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
6174         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
6176 2013-05-09  Glenn Morris  <rgm@gnu.org>
6178         * international/fontset.el (vertical-centering-font-regexp):
6179         Set standard-value.
6181         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6183         * bookmark.el (bookmark-search-delay):
6184         * cus-start.el (vertical-centering-font-regexp):
6185         * ps-mule.el (ps-mule-font-info-database-default):
6186         * ps-print.el (ps-default-fg, ps-default-bg):
6187         * type-break.el (type-break-good-break-interval):
6188         * whitespace.el (whitespace-indentation-regexp)
6189         (whitespace-space-after-tab-regexp):
6190         * emacs-lisp/testcover.el (testcover-1value-functions)
6191         (testcover-noreturn-functions, testcover-progn-functions)
6192         (testcover-prog1-functions):
6193         * emulation/viper-init.el (viper-emacs-state-cursor-color):
6194         * eshell/em-glob.el (eshell-glob-translate-alist):
6195         * play/tetris.el (tetris-tty-colors):
6196         * progmodes/cpp.el (cpp-face-default-list):
6197         * progmodes/flymake.el (flymake-allowed-file-name-masks):
6198         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6199         (idlwave-help-browser-generic-args):
6200         * progmodes/make-mode.el (makefile-special-targets-list):
6201         * progmodes/python.el (python-shell-virtualenv-path):
6202         * progmodes/verilog-mode.el (verilog-active-low-regexp)
6203         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6204         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6205         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6206         * textmodes/reftex-vars.el (reftex-format-label-function):
6207         * textmodes/remember.el (remember-diary-file): Fix custom types.
6209         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6210         Add :version.
6212 2013-05-09  Leo Liu  <sdl.web@gmail.com>
6214         * progmodes/octave.el (inferior-octave-completion-at-point):
6215         Restore file completion.  (Bug#14300)
6216         (inferior-octave-startup): Fix incorrect highlighting for the
6217         first prompt.
6219 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6221         * progmodes/ruby-mode.el: First cut at SMIE support.
6222         (ruby-use-smie): New var.
6223         (ruby-smie-grammar): New constant.
6224         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6225         (ruby-smie--forward-token, ruby-smie--backward-token)
6226         (ruby-smie-rules): New functions.
6227         (ruby-mode-variables): Setup SMIE if applicable.
6229 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
6231         * simple.el (line-move-visual): Signal beginning/end of buffer
6232         only if vertical-motion moved less than it was requested.  Avoids
6233         silly incorrect error messages when there are display strings with
6234         multiple newlines at EOL.
6236 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6238         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6239         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6240         (prolog-char-quote-workaround):
6241         * progmodes/cperl-mode.el (cperl-under-as-char):
6242         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6243         Mark as obsolete.
6244         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6245         their declaration.
6246         (vhdl-mode-syntax-table-init): Remove.
6248         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6249         last change.
6251         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6252         syntax for "_".
6253         (ld-script-font-lock-keywords):
6254         Change regexps to use things like \_< and \_>.
6256         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6257         Change all regexps to use things like \_< and \_>.
6259         * progmodes/autoconf.el (autoconf-definition-regexp)
6260         (autoconf-font-lock-keywords, autoconf-current-defun-function):
6261         Handle a _ with symbol syntax.
6262         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6264         * progmodes/ada-mode.el (ada-mode-abbrev-table):
6265         Consolidate declaration.
6266         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6267         the declaration.
6268         (ada-create-syntax-table): Remove.
6269         (ada-capitalize-word): Don't mess with the syntax of "_" since it
6270         already has the right syntax nowadays.
6271         (ada-goto-next-word): Don't change the syntax of "_".
6273         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6274         with-wrapper-hook.
6276 2013-05-08  Sam Steingold  <sds@gnu.org>
6278         * thingatpt.el (thing-at-point): Accept optional second argument
6279         NO-PROPERTIES to strip the text properties from the return value.
6280         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6281         to `thing-at-point' instead of stripping the properties ourselves.
6282         Also, when `thing-at-point' fails to find a url, prepend "http://"
6283         to the filename at point on the assumption that the user is
6284         pointing at something like gnu.org/gnu.
6286 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
6288         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6289         * faces.el (crm-separator):
6290         Silence byte-compiler.
6292         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6293         (tool-bar-map): Remove unneeded defvars.
6295 2013-05-08  Leo Liu  <sdl.web@gmail.com>
6297         Re-work a fix for bug#10994 based on Le Wang's patch.
6298         * ido.el (ido-remove-consecutive-dups): New helper.
6299         (ido-completing-read): Use it.
6300         (ido-chop): Revert fix for bug#10994.
6302 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
6304         * cus-edit.el (custom-save-variables):
6305         Pretty-print long values.  (Bug#14187)
6307 2013-05-08  Glenn Morris  <rgm@gnu.org>
6309         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6310         (m4-mode-syntax-table): Init in the defvar.
6311         (m4-mode-abbrev-table): Let define-derived-mode define it.
6313 2013-05-08  Tom Tromey  <tromey@redhat.com>
6315         * progmodes/m4-mode.el (m4-mode-syntax-table):
6316         Do not treat "_" as word constituent.  (Bug#14167)
6318 2013-05-07  Glenn Morris  <rgm@gnu.org>
6320         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6321         Remove explicit eshell-isearch-cancel-map.
6323         * progmodes/f90.el (f90-smart-end-names): New option.
6324         (f90-smart-end): Doc fix.
6325         (f90-end-block-optional-name): New constant.
6326         (f90-block-match): Respect f90-smart-end-names.
6328 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6330         * progmodes/octave.el (octave-smie-forward-token): Be more careful
6331         about implicit semi-colons (bug#14218).
6333 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6335         * frame.el (display-monitor-attributes-list)
6336         (frame-monitor-attributes): New functions.
6338 2013-05-06  Leo Liu  <sdl.web@gmail.com>
6340         * progmodes/octave.el (octave-syntax-propertize-function): Change
6341         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
6342         (octave-font-lock-keywords): Use octave-operator-regexp.
6343         (octave-completion-at-point): Rename from
6344         octave-completion-at-point-function.
6345         (inferior-octave-directory-tracker): Robustify.
6346         (octave-text-functions): Remove and fix its uses.  No such things
6347         any more.
6349 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6351         * emacs-lisp/trace.el (trace--display-buffer): New function.
6352         (trace-make-advice): Use it.
6354 2013-05-06  Juri Linkov  <juri@jurta.org>
6356         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
6357         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6358         Doc fix.
6359         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6360         in the help string.  (Bug#12985)
6362 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
6364         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
6366 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6368         * progmodes/perl-mode.el: Add support for here documents.
6369         (perl-syntax-propertize-function): Match here-doc markers.
6370         (perl-syntax-propertize-special-constructs): Find their end.
6371         (perl-imenu-generic-expression): Use [:alnum:].
6373         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6374         (advice--add-function): Refresh the advice if already present
6375         (bug#14317).
6377 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
6379         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
6381 2013-05-06  Glenn Morris  <rgm@gnu.org>
6383         * w32-fns.el (w32-charset-info-alist): Declare.
6385         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6386         of its defcustom properties.
6387         (eshell-cmpl-initialize): No need to load pcomplete.
6389         * generic-x.el: No need to require comint when compiling.
6391         * net/eudc-export.el: Make it loadable without bbdb.
6392         (top-level): Use require rather than load-library.
6393         (eudc-create-bbdb-record, eudc-bbdbify-phone)
6394         (eudc-batch-export-records-to-bbdb)
6395         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6396         Require bbdb.
6398 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6400         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6401         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6402         some tweaks, instead.
6404 2013-05-05  Leo Liu  <sdl.web@gmail.com>
6406         * progmodes/octave.el (octave-font-lock-keywords)
6407         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6408         (inferior-octave-send-list-and-digest): Improve error message.
6409         (octave-mode, inferior-octave-mode): Use setq-local.
6410         (octave-help): Set info-lookup-mode.
6412 2013-05-05  Richard Stallman  <rms@gnu.org>
6414         * vc/compare-w.el (compare-windows-whitespace):
6415         Treat no-break space as whitespace.
6417         * mail/rmailsum.el (rmail-summary-rmail-update):
6418         Detect empty summary and don't change selected message.
6419         (rmail-summary-goto-msg): Likewise.
6421         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6422         Doc fixes, rename args.
6424 2013-05-05  Alan Mackenzie  <acm@muc.de>
6426         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6428 2013-05-05  Juri Linkov  <juri@jurta.org>
6430         * info.el (Info-read-subfile): Use (point-min) instead of (point)
6431         to not add the length of the summary segment to the return value.
6432         (Bug#14125)
6434 2013-05-05  Leo Liu  <sdl.web@gmail.com>
6436         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6437         (inferior-octave-output-filter): Remove.
6438         (octave-send-region, inferior-octave-startup): Fix callers.
6439         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6440         (octave-binary-file-extensions): New user variable.
6441         (octave-find-definition): Confirm if opening binary files.
6442         (octave-help-file): Use octave-find-definition to get the binary
6443         confirmation.
6444         (octave-help): Adjust for octave-help-file change.
6446 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6448         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6449         Merge the two entries that handle function definitions.
6450         (pascal--syntax-propertize): New const.
6451         (pascal-mode): Use it.  Use setq-local.
6453 2013-05-04  Glenn Morris  <rgm@gnu.org>
6455         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6456         (diary-from-outlook): Respect diary-from-outlook-function.
6458 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6460         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6461         Move the declaration from C.
6462         (read-minibuffer, eval-minibuffer): Move from C.
6463         (completion-setup-function): Avoid minibuffer-completion-contents.
6465 2013-05-03  Leo Liu  <sdl.web@gmail.com>
6467         * progmodes/octave.el (octave-font-lock-keywords): Do not
6468         dehighlight 'end' in comments or strings.
6469         (octave-completing-read, octave-goto-function-definition):
6470         New helpers.
6471         (octave-help-buffer): New user variable.
6472         (octave-help-file, octave-help-function): New button types.
6473         (octave-help): New command and bind it to C-h ;.
6474         (octave-find-definition): New command and bind it to M-.
6475         (user-error): Alias to error if not defined.
6477 2013-05-02  Leo Liu  <sdl.web@gmail.com>
6479         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6480         for \.  (bug#14332)
6481         (octave-font-lock-keywords): Include [ and {.
6483 2013-05-02  Leo Liu  <sdl.web@gmail.com>
6485         * progmodes/octave.el (inferior-octave-startup-file): Change default.
6486         (inferior-octave): Remove calling comint-mode and return the buffer.
6487         (inferior-octave-startup): Cosmetic changes.
6489 2013-05-02  Leo Liu  <sdl.web@gmail.com>
6491         * progmodes/octave.el (octave-syntax-propertize-function):
6492         Include the case when ' is at line beginning.  (Bug#14336)
6494 2013-05-02  Glenn Morris  <rgm@gnu.org>
6496         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6497         * desktop.el (vc-dir-mode): Just autoload it here.
6499 2013-05-02  Alan Mackenzie  <acm@muc.de>
6501         Eliminate variable c-standard-font-lock-fontify-region-function.
6502         * progmodes/cc-mode.el
6503         (c-standard-font-lock-fontify-region-function): Remove.
6504         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6506 2013-05-01  Leo Liu  <sdl.web@gmail.com>
6508         * progmodes/octave.el: Compatible with older emacs-24 releases.
6509         (inferior-octave-has-built-in-variables): Remove.  Built-in
6510         variables were removed from Octave in 2007.
6511         (inferior-octave-startup): Fix uses.
6512         (comint-line-beginning-position): Remove compatibility code for
6513         emacs 21.
6515 2013-05-01  Juri Linkov  <juri@jurta.org>
6517         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
6519 2013-05-01  Juri Linkov  <juri@jurta.org>
6521         * comint.el (comint-previous-matching-input): Don't print message
6522         "History item: %d" when `isearch-mode' is active.
6523         (comint-history-isearch-message): Print message "History item: %d"
6524         when `comint-input-ring-index' is not empty and this function is
6525         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
6527 2013-05-01  Leo Liu  <sdl.web@gmail.com>
6529         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6530         definitions.  Use completion-at-point to insert keywords.
6531         (octave-abbrev-start): Remove.
6532         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6534 2013-04-30  Leo Liu  <sdl.web@gmail.com>
6536         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6537         change.
6539 2013-04-30  Alan Mackenzie  <acm@muc.de>
6541         Handle arbitrarily long C++ member initialisation lists.
6542         * progmodes/cc-engine.el (c-back-over-member-initializers):
6543         new function.
6544         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6545         (most) member init lists.
6547 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6549         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6550         variable.
6552 2013-04-30  Leo Liu  <sdl.web@gmail.com>
6554         * progmodes/octave.el (octave-variables): Remove.  No builtin
6555         variables any more.  All converted to functions.
6556         (octave-font-lock-keywords, octave-completion-at-point-function):
6557         Fix uses.
6558         (octave-font-lock-texinfo-comment): New user variable.
6559         (octave-texinfo-font-lock-keywords): New variable for texinfo
6560         comment block.
6561         (octave-function-comment-block): New face.
6562         (octave-font-lock-texinfo-comment): New function.
6563         (octave-mode): Font lock texinfo comment block.
6565 2013-04-29  Leo Liu  <sdl.web@gmail.com>
6567         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6568         indexing expression.
6569         (octave-continuation-string): Do not use \.
6570         (inferior-octave-complete-impossible): Remove.
6571         (inferior-octave-completion-table)
6572         (inferior-octave-completion-at-point): Remove its uses.
6573         (inferior-octave-startup): completion_matches was introduced to
6574         Octave in 1996 so safe to assume it.
6575         (octave-function-file-comment): Improve to follow how Octave does it.
6576         (octave-update-function-file-comment): Tweak.
6578 2013-04-29  Leo Liu  <sdl.web@gmail.com>
6580         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6581         (inferior-octave-startup): Remove inferior-octave-startup-hook.
6582         (octave-function-file-comment): Fix typo.
6583         (octave-sync-function-file-names): Use read-char-choice.
6585 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
6587         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6588         to t for the less important warnings.
6590 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
6592         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
6594 2013-04-27  Glenn Morris  <rgm@gnu.org>
6596         * vc/log-view.el (log-view-current-entry):
6597         Treat "---" separator lines as part of the following rev.  (Bug#14169)
6599 2013-04-27  Juri Linkov  <juri@jurta.org>
6601         * subr.el (read-number): Doc fix about using it by interactive
6602         code letter `n'.  (Bug#14254)
6604 2013-04-27  Juri Linkov  <juri@jurta.org>
6606         * desktop.el (desktop-auto-save-timeout): New option.
6607         (desktop-file-checksum): New variable.
6608         (desktop-save): Add optional arg `auto-save' and don't auto-save
6609         if nothing changed.
6610         (desktop-auto-save-timer): New variable.
6611         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6612         (after-init-hook): Call `desktop-auto-save-set-timer'.
6613         Suggested by Reuben Thomas <rrt@sc3d.org> in
6614         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6616 2013-04-27  Leo Liu  <sdl.web@gmail.com>
6618         * progmodes/octave.el (octave-function-file-p)
6619         (octave-skip-comment-forward, octave-function-file-comment)
6620         (octave-update-function-file-comment): New functions.
6621         (octave-mode-map): Bind C-c ; to
6622         octave-update-function-file-comment.
6623         (octave-mode-menu): Add octave-update-function-file-comment.
6624         (octave-mode, inferior-octave-mode): Fix doc-string.
6625         (octave-insert-defun): Conform to Octave's coding convention.
6626         (Bug#14285)
6628         * files.el (basic-save-buffer): Don't let errors in
6629         before-save-hook prevent saving buffer.
6631 2013-04-20  Roland Winkler  <winkler@gnu.org>
6633         * faces.el (read-face-name): Use completing-read if arg multiple
6634         is nil.
6636 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
6638         * ls-lisp.el (ls-lisp-insert-directory): If no files are
6639         displayed, move point to after the totals line.
6640         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6641         for the details.
6643 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6645         * emacs-lisp/package.el (package-autoload-ensure-default-file):
6646         Add current dir to the load-path.
6647         (package-generate-autoloads): Don't rely on
6648         autoload-ensure-default-file.
6650 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
6652         * textmodes/remember.el (remember-store-in-files): Document that
6653         the file name format is passed to `format-time-string'.
6655 2013-04-26  Leo Liu  <sdl.web@gmail.com>
6657         * progmodes/octave.el (octave-sync-function-file-names): New function.
6658         (octave-mode): Use it in before-save-hook.
6660 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6662         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6663         (bug#14274).
6665         * progmodes/octave.el (octave-smie-forward-token): Properly skip
6666         \n and comment, even if it's not an implicit ; (bug#14218).
6668 2013-04-26  Glenn Morris  <rgm@gnu.org>
6670         * subr.el (read-number): Once more use `read' rather than
6671         `string-to-number', to trap non-numeric input.  (Bug#14254)
6673 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
6675         * emacs-lisp/syntax.el (syntax-propertize-multiline):
6676         Use `syntax-multiline' text property consistently instead of
6677         `font-lock-multiline'.  (Bug#14237)
6679 2013-04-26  Glenn Morris  <rgm@gnu.org>
6681         * emacs-lisp/shadow.el (list-load-path-shadows):
6682         No longer necessary to check for duplicate simple.el, since
6683         2012-07-07 change to init_lread to not include installation lisp
6684         directories in load-path when running uninstalled.  (Bug#14270)
6686 2013-04-26  Leo Liu  <sdl.web@gmail.com>
6688         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6689         (octave-mode, inferior-octave-mode): Use setq-local.
6690         (octave-not-in-string-or-comment-p): Rename to
6691         octave-in-string-or-comment-p.
6692         (octave-in-comment-p, octave-in-string-p)
6693         (octave-in-string-or-comment-p): Replace defsubst with defun.
6695 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
6697         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6699 2013-04-25  Bastien Guerry  <bzg@gnu.org>
6701         * textmodes/remember.el (remember-data-directory)
6702         (remember-directory-file-name-format): Fix custom types.
6704 2013-04-25  Leo Liu  <sdl.web@gmail.com>
6706         * progmodes/octave.el (octave-completion-at-point-function):
6707         Make use of inferior octave process.
6708         (octave-initialize-completions): Remove.
6709         (inferior-octave-completion-table): New function.
6710         (inferior-octave-completion-at-point): Use it.
6711         (octave-completion-alist): Remove.
6713 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6715         * progmodes/opascal.el: Use font-lock and syntax-propertize.
6716         (opascal-mode-syntax-table): New var.
6717         (opascal-literal-kind, opascal-is-literal-end)
6718         (opascal-literal-token-at): Rewrite.
6719         (opascal--literal-start-re, opascal-font-lock-keywords)
6720         (opascal--syntax-propertize): New constants.
6721         (opascal-font-lock-defaults): Adjust.
6722         (opascal-mode): Use them.  Set comment-<foo> variables as well.
6723         (delphi-comment-face, opascal-comment-face, delphi-string-face)
6724         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6725         (delphi-other-face, opascal-other-face): Remove face variables.
6726         (opascal-save-state): Remove macro.
6727         (opascal-fontifying-progress-step): Remove constant.
6728         (opascal--ignore-changes): Remove var.
6729         (opascal-set-token-property, opascal-parse-next-literal)
6730         (opascal-is-stable-literal, opascal-complete-literal)
6731         (opascal-is-literal-start, opascal-face-of)
6732         (opascal-parse-region, opascal-parse-region-until-stable)
6733         (opascal-fontify-region, opascal-after-change)
6734         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6735         (opascal-debug-parse-region, opascal-debug-parse-window)
6736         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6737         (opascal-debug-fontify-buffer): Remove.
6738         (opascal-debug-mode-map): Adjust accordingly.
6740 2013-04-25  Leo Liu  <sdl.web@gmail.com>
6742         Merge octave-mod.el and octave-inf.el into octave.el with some
6743         cleanups.
6744         * progmodes/octave.el: New file renamed from octave-mod.el.
6745         * progmodes/octave-inf.el: Merged into octave.el.
6746         * progmodes/octave-mod.el: Renamed to octave.el.
6748 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
6750         * textmodes/reftex-vars.el
6751         (reftex-label-ignored-macros-and-environments): New defcustom.
6753         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6755 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6757         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6758         (smie-indent-keyword): Improve the check to ensure that the next
6759         comment is really on the same line.
6760         (smie-indent-comment): Don't align with a subsequent closer (or eob).
6762         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6763         semi-colons if the line is not otherwise empty (bug#14218).
6765 2013-04-25  Glenn Morris  <rgm@gnu.org>
6767         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6769 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6771         * progmodes/opascal.el (opascal-set-token-property): Rename from
6772         opascal-set-text-properties and only set `token' (bug#14134).
6773         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6774         (opascal-literal-text-properties): Remove.
6775         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6776         Adjust callers.
6778 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
6780         * textmodes/remember.el (remember-handler-functions): Add an
6781         option for a new handler `remember-store-in-files'.
6782         (remember-data-directory, remember-directory-file-name-format):
6783         New options.
6784         (remember-store-in-files): New function to store remember notes
6785         as separate files within a directory.
6787 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
6789         * progmodes/compile.el (compilation-next-error-function):
6790         Pass "formats" to compilation-find-file (bug#11777).
6792 2013-04-24  Glenn Morris  <rgm@gnu.org>
6794         * vc/vc-bzr.el (vc-bzr-print-log):
6795         * vc/vc-hg.el (vc-hg-print-log):
6796         * vc/vc-svn.el (vc-svn-print-log):
6797         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
6799         * vc/vc-bzr.el (vc-bzr-print-log):
6800         * vc/vc-cvs.el (vc-cvs-print-log):
6801         * vc/vc-git.el (vc-git-print-log):
6802         * vc/vc-hg.el (vc-hg-print-log):
6803         * vc/vc-mtn.el (vc-mtn-print-log):
6804         * vc/vc-rcs.el (vc-rcs-print-log):
6805         * vc/vc-sccs.el (vc-sccs-print-log):
6806         * vc/vc-svn.el (vc-svn-print-log):
6807         * vc/vc.el (vc-print-log-internal): Doc fixes.
6809 2013-04-23  Glenn Morris  <rgm@gnu.org>
6811         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6812         Remove venerable code attempting to avoid substitute-command-keys.
6814 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
6816         * textmodes/reftex-vars.el (reftex-label-regexps):
6817         Call `reftex-compile-variables' after changes to this variable.
6819 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6821         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6822         Use lexical-binding.
6823         (jit-lock-force-redisplay): Use markers, check buffer's continued
6824         existence and beware narrowed buffers.
6825         (jit-lock-fontify-now): Adjust call accordingly.
6827 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6830         to avoid misleading the user.
6832 2013-04-22  Leo Liu  <sdl.web@gmail.com>
6834         * info-look.el: Prefer latex2e.info.  (Bug#14240)
6836 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
6838         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
6840         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6841         * net/tramp.el (tramp-call-process): ... here.
6842         (tramp-set-completion-function, tramp-parse-putty):
6843         * net/tramp-adb.el (tramp-adb-execute-adb-command):
6844         * net/tramp-gvfs.el (tramp-gvfs-send-command):
6845         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6846         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6847         (tramp-call-local-coding-command): Use `tramp-call-process'
6848         instead of `tramp-compat-call-process'.
6850         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6851         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6852         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6853         (tramp-find-inline-compress): Improve traces.
6854         (tramp-maybe-send-script): Check for Perl binary.
6855         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6857 2013-04-22  Daiki Ueno  <ueno@gnu.org>
6859         * epg.el (epg-context-pinentry-mode): New function.
6860         (epg-context-set-pinentry-mode): New function.
6861         (epg--start): Pass --pinentry-mode option to gpg command.
6863 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
6865         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6866         `comint-dynamic-complete' is obsolete since 24.1, replaced by
6867         `completion-at-point'.  (Bug#13774)
6869         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6870         default key binding for `describe-distribution' has been moved to
6871         `C-h C-o'.  (Bug#13970)
6873 2013-04-21  Glenn Morris  <rgm@gnu.org>
6875         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6876         Add doc strings.
6877         (vc-print-log): Clarify interactive prompt.
6879 2013-04-20  Glenn Morris  <rgm@gnu.org>
6881         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6882         No longer include timestamp etc information.
6884 2013-04-20  Roland Winkler  <winkler@gnu.org>
6886         * faces.el (read-face-name): Bug fix, return just one face if arg
6887         multiple is nil.  (Bug#14209)
6889 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6891         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6892         (remove-function): Autoload.
6894         * comint.el (comint-redirect-original-filter-function): Remove.
6895         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6896         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6897         (vc-cvs-annotate-command):
6898         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6899         * progmodes/prolog.el (prolog-consult-compile):
6900         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6901         Use add/remove-function instead.
6902         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6903         (gud-tooltip-process-output, gud-tooltip-tips):
6904         Use add/remove-function instead.
6905         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6906         (scheme-interaction-mode, exit-scheme-interaction-mode):
6907         Use add/remove-function instead.
6909         * vc/vc-dispatcher.el: Use lexical-binding.
6910         (vc--process-sentinel): Rename from vc-process-sentinel.
6911         Change last arg to be the code to run.  Don't use vc-previous-sentinel
6912         and vc-sentinel-commands any more.
6913         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
6914         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6916 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
6918         * progmodes/sh-script.el (sh-imenu-generic-expression):
6919         Handle function names with a single character.   (Bug#14111)
6921 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
6923         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6924         for subroutines defined in an eval (bug#14182).
6926 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6928         * bookmark.el (bookmark-completing-read): Improve handling of empty
6929         string (bug#14176).
6931 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6933         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6935 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6937         New faster Imenu implementation (bug#14058).
6938         * progmodes/python.el:
6939         (python-imenu-prev-index-position):
6940         (python-imenu-format-item-label-function)
6941         (python-imenu-format-parent-item-label-function)
6942         (python-imenu-format-parent-item-jump-label-function):
6943         New vars.
6944         (python-imenu-format-item-label)
6945         (python-imenu-format-parent-item-label)
6946         (python-imenu-format-parent-item-jump-label)
6947         (python-imenu--put-parent, python-imenu--build-tree)
6948         (python-imenu-create-index, python-imenu-create-flat-index)
6949         (python-util-popn): New functions.
6950         (python-mode): Set imenu-create-index-function to
6951         python-imenu-create-index.
6953 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * winner.el (winner-active-region): Use region-active-p, activate-mark
6956         and deactivate-mark (bug#14225).
6958         * simple.el (deactivate-mark): Don't inline it.
6960 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
6962         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6964 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
6966         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6967         file extensions from the archive-mode entry in order to prefer
6968         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6970 2013-04-18  Leo Liu  <sdl.web@gmail.com>
6972         * bindings.el (help-event-list): Add ?\?.
6974 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6976         * subr.el (with-wrapper-hook): Declare obsolete.
6977         * simple.el (filter-buffer-substring-function): New hook.
6978         (filter-buffer-substring): Use it.
6979         (filter-buffer-substring-functions): Mark obsolete.
6980         * minibuffer.el (completion-in-region-function): New hook.
6981         (completion-in-region): Use it.
6982         (completion-in-region-functions): Mark obsolete.
6983         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6984         * abbrev.el (abbrev-expand-function): New hook.
6985         (expand-abbrev): Use it.
6986         (abbrev-expand-functions): Mark obsolete.
6987         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6988         and :filter-return.
6990 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6992         * progmodes/python.el (python-nav--syntactically): Fix cornercases
6993         and do not care about match data.
6995 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6997         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6998         completion tables when completing error conditions and
6999         `declare' arguments.
7000         (lisp-complete-symbol, field-complete): Mark as obsolete.
7001         (check-parens): Unmatched parens are user errors.
7002         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7004 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
7006         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7007         command changed buffer (ie. `flyspell-pre-buffer' is not current
7008         buffer), which prevents making decisions based on invalid value of
7009         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
7010         cause an error when `flyspell-pre-point' was nil after switching
7011         buffers.
7012         (flyspell-post-command-hook): No longer needs to change buffers when
7013         checking pre-word.  While at it remove unnecessary progn.
7015 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
7017         * textmodes/ispell.el (ispell-add-per-file-word-list):
7018         Fix `flyspell-correct-word-before-point' error when accepting
7019         words and `coment-padding' is an integer by using
7020         `comment-normalize-vars' (Bug #14214).
7022 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7024         New defun movement commands.
7025         * progmodes/python.el (python-nav--syntactically)
7026         (python-nav--forward-defun, python-nav-backward-defun)
7027         (python-nav-forward-defun): New functions.
7029 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7031         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7032         (python-syntax-context): Use named compiler-macro for backwards
7033         compatibility with Emacs 24.x.
7035 2013-04-17  Leo Liu  <sdl.web@gmail.com>
7037         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7038         octave-hide-process-buffer.
7040 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7042         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7043         (bug#14216).
7045 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
7047         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7048         Fix adjustment of offset when receiving incomplete responses from GDB
7049         (bug#14129).
7051 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7053         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7054         python-mode-abbrev-table.
7055         (python-skeleton-define): Adjust accordingly.
7056         (python-mode-abbrev-table): New table that inherits from it so that
7057         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7059         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7060         (abbrev-symbol): Use it.
7061         (abbrev--before-point): Use it since we already handle inheritance.
7063 2013-04-16  Leo Liu  <sdl.web@gmail.com>
7065         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7066         binding to info-lookup-symbol.
7068 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
7070         * minibuffer.el (completion--twq-all):
7071         * term/ns-win.el (ns-initialize-window-system):
7072         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7074 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7077         global bindings.
7079         * doc-view.el (doc-view-start-process): Handle url-handler directories.
7081 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
7083         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7084         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7085         to nil.
7086         (ruby-end-of-defun): Remove the unused arg, change the docstring
7087         to reflect that this function is only used as the value of
7088         `end-of-defun-function'.
7089         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7090         to reflect an earlier change that beginning/end-of-defun functions
7091         jump between methods in a class definition, as well as top-level
7092         functions.
7094 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7096         * minibuffer.el (minibuffer-complete): Don't just scroll
7097         a *Completions* that's been iconified.
7098         (minibuffer-force-complete): Make sure repetitions do cycle when going
7099         through completion-in-region -> minibuffer-complete.
7101 2013-04-15  Alan Mackenzie  <acm@muc.de>
7103         Correct the placement of c-cpp-delimiters when there're #s not at
7104         col 0.
7106         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7107         place a submatch around the #.
7108         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7109         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
7110         on the #, not BOL.
7112 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * emacs-lisp/nadvice.el: Properly test names when adding advice.
7115         (advice--member-p): New arg `name'.
7116         (advice--add-function, advice-member-p): Use it (bug#14202).
7118 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
7120         Reformulate java imenu-generic-expression.
7121         The old expression contained ill formed regexps.
7123         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7124         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7125         (cc-imenu-java-method-arg-regexp): New defconsts.
7126         (cc-imenu-java-build-type-args-regex): New defun.
7127         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7128         handling of spaces in the regexp.
7130 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7132         * textmodes/ispell.el (ispell-command-loop): Remove
7133         flyspell highlight of a word when ispell accepts it (bug #14178).
7135 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
7137         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7138         uses code from the previous `ange-ftp-run-real-handler'.
7139         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7140         only in case that function exist.  This is needed for proper
7141         unloading of Tramp.
7143 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
7145         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7147         * textmodes/reftex.el (reftex-compile-variables): Use it.
7149 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7151         * files.el (normal-mode): Only use default major-mode if no other mode
7152         was specified.
7154         * emacs-lisp/trace.el (trace-values): New function.
7156         * files.el: Allow : in local variables (bug#14089).
7157         (hack-local-variable-regexp): New var.
7158         (hack-local-variables-prop-line, hack-local-variables): Use it.
7160 2013-04-13  Roland Winkler  <winkler@gnu.org>
7162         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
7163         data before it gets modified by bibtex-beginning-of-entry.
7165 2013-04-13  Roland Winkler  <winkler@gnu.org>
7167         * textmodes/bibtex.el (bibtex-url): Doc fix.
7169 2013-04-13  Roland Winkler  <winkler@gnu.org>
7171         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7172         does not visit a BibTeX file, exclude it from the list of buffers
7173         returned by bibtex-initialize.
7175 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
7177         * window.el (split-window): Remove interactive form, since as a
7178         command this function is a special case of split-window-below.
7179         Correct doc string.
7181 2013-04-12  Roland Winkler  <winkler@gnu.org>
7183         * faces.el (read-face-name): Do not override value of arg default.
7184         Allow single faces and strings as default values.  Remove those
7185         elements from return value that are not faces.
7186         (describe-face): Simplify.
7187         (face-at-point): New optional args thing and multiple so that this
7188         function can provide the same functionality previously provided by
7189         read-face-name.
7190         (make-face-bold, make-face-unbold, make-face-italic)
7191         (make-face-unitalic, make-face-bold-italic, invert-face)
7192         (modify-face, read-face-and-attribute): Use face-at-point.
7194         * cus-edit.el (customize-face, customize-face-other-window)
7195         * cus-theme.el (custom-theme-add-face)
7196         * face-remap.el (buffer-face-set)
7197         * facemenu.el (facemenu-set-face): Use face-at-point.
7199 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
7201         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7203 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
7205         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7206         off leading { and trailing } from field values.
7208 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7210         * emacs-lisp/timer.el (timer--check): New function.
7211         (timer--time, timer-set-function, timer-event-handler): Use it.
7212         (timer-set-idle-time): Simplify.
7213         (timer--activate): CSE.
7214         (timer-event-handler): Give more info in error message.
7215         (internal-timer-start-idle): New function, moved from C.
7217         * mpc.el (mpc-proc): Add `restart' argument.
7218         (mpc-proc-cmd): Use it.
7219         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7220         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7221         less often.
7223 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
7225         * progmodes/sh-script.el: Implement `sh-mode' own
7226         `add-log-current-defun-function' (bug#14112).
7227         (sh-current-defun-name): New function.
7228         (sh-mode): Use the function.
7230 2013-04-09  Bastien Guerry  <bzg@gnu.org>
7232         * simple.el (choose-completion-string): Fix docstring (bug#14163).
7234 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7236         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7238         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7239         timer (bug#14156).
7241 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
7243         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7244         declaration.
7246 2013-04-07  Leo Liu  <sdl.web@gmail.com>
7248         * pcmpl-x.el: New file.
7250 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
7252         Do not set x-display-name until X connection is established.
7253         This is needed to prevent from weird situation described at
7254         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7255         * frame.el (make-frame): Set x-display-name after call to
7256         window system initialization function, not before.
7257         * term/x-win.el (x-initialize-window-system): Add optional
7258         display argument and use it.
7259         * term/w32-win.el (w32-initialize-window-system):
7260         * term/ns-win.el (ns-initialize-window-system):
7261         * term/pc-win.el (msdos-initialize-window-system):
7262         Add compatible optional display argument.
7264 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
7266         * files.el (normal-backup-enable-predicate): On MS-Windows and
7267         MS-DOS compare truenames of temporary-file-directory and of the
7268         file, so that 8+3 aliases (usually found in $TEMP on Windows)
7269         don't fail comparison by compare-strings.  Also, compare file
7270         names case-insensitively on MS-Windows and MS-DOS.
7272 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7274         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7275         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7277 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
7279         * whitespace.el (whitespace-color-on, whitespace-color-off):
7280         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7282 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
7284         * ispell.el (ispell-set-spellchecker-params):
7285         Really set `ispell-args' for all equivs.
7287 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7289         * ido.el (ido-completions): Use extra elements of ido-decorations
7290         (bug#14143).
7291         (ido-decorations): Update docstring.
7293 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
7295         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7296         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7297         nil during initialization, in order not to miss changes since the
7298         file was opened.  (Bug#14140)
7300 2013-04-05  Leo Liu  <sdl.web@gmail.com>
7302         * kmacro.el (kmacro-call-macro): Fix bug#14135.
7304 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
7306         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7308 2013-04-04  Glenn Morris  <rgm@gnu.org>
7310         * electric.el (electric-pair-inhibit-predicate): Add :version.
7312 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7314         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7315         when a package is required several times (bug#14082).
7317 2013-04-04  Roland Winkler  <winkler@gnu.org>
7319         * faces.el (read-face-name): Behave as promised by the docstring.
7320         Assume that arg default is a list of faces.
7321         (describe-face): Call read-face-name with list of default faces.
7323 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7325         * bookmark.el: Fix deletion of bookmarks (bug#13972).
7326         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7327         (bookmark-bmenu-execute-deletions): Only skip first line if it's
7328         the header.
7329         (bookmark-exit-hook-internal): Save even if list is empty.
7331 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
7333         * emacs-lisp/package.el (package-pinned-packages): New var.
7334         (package--add-to-archive-contents): Obey it (bug#14118).
7336 2013-04-03  Alan Mackenzie  <acm@muc.de>
7338         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7339         Also adapt to the new values of element 7 of a parse state.
7341         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7342         parameter `not-in-delimiter'.  Handle being inside comment opener.
7343         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7344         character in case we're typing a '*' after a '/'.
7345         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7346         instead by passing the parameter to c-state-pp-to-literal.
7348         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7349         for elt. 7 of a parse state.
7351 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
7353         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7354         * international/latin1-disp.el, international/mule-util.el:
7355         * language/cyril-util.el, language/european.el, language/ind-util.el:
7356         * language/lao-util.el, language/thai.el, language/tibet-util.el:
7357         * language/tibetan.el, language/viet-util.el:
7358         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7360 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7362         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7363         (electric-pair-post-self-insert-function): Use it.
7364         (electric-pair-default-inhibit): New function, extracted from
7365         electric-pair-post-self-insert-function.
7367 2013-03-31  Roland Winkler  <winkler@gnu.org>
7369         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7371 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7373         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7375 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
7377         Un-indent after "pass" and "return" statements (Bug#13888)
7378         * progmodes/python.el (python-indent-block-enders): New var.
7379         (python-indent-calculate-indentation): Use it.
7381 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
7383         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7384         defun.  Defining it as defalias could introduce too eager
7385         byte-compiler optimization.  (Bug#14030)
7387 2013-03-30  Chong Yidong  <cyd@gnu.org>
7389         * iswitchb.el (iswitchb-read-buffer): Fix typo.
7391 2013-03-30  Leo Liu  <sdl.web@gmail.com>
7393         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7394         (kmacro-execute-from-register): Pass the keyboard macro to
7395         kmacro-call-macro or repeating won't work correctly.
7397 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
7399         * progmodes/subword.el: Back to using `forward-symbol'.
7401         * subr.el (forward-whitespace, forward-symbol)
7402         (forward-same-syntax): Move from thingatpt.el.
7404 2013-03-29  Leo Liu  <sdl.web@gmail.com>
7406         * kmacro.el (kmacro-to-register): New command.
7407         (kmacro-execute-from-register): New function.
7408         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
7410 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7412         * mpc.el: Use defvar-local and setq-local.
7413         (mpc--proc-connect): Connection failures are not bugs.
7414         (mpc-mode-map): `follow-link' only applies to the buffer's content.
7415         (mpc-volume-map): Bind to the up-events.
7417 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
7419         * progmodes/subword.el (superword-mode): Use `forward-sexp'
7420         instead of `forward-symbol'.
7422 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7424         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7425         (edebug--recursive-edit): Use it.
7426         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7427         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7429 2013-03-28  Leo Liu  <sdl.web@gmail.com>
7431         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
7433 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
7435         * facemenu.el (list-colors-callback): New defvar.
7436         (list-colors-redisplay): New function.
7437         (list-colors-display): Install list-colors-redisplay as the
7438         revert-buffer-function.  (Bug#14063)
7440 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7442         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7443         and suffixes don't overlap (bug#14061).
7445         * case-table.el: Use lexical-binding.
7446         (case-table-get-table): New function.
7447         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
7449 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
7451         * progmodes/subword.el: Add `superword-mode' to do word motion
7452         over symbol_words (parallels and leverages `subword-mode' which
7453         does word motion inside MixedCaseWords).
7455 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
7457         * eshell/em-unix.el: Move su and sudo to...
7458         * eshell/em-tramp.el: ...Eshell tramp module.
7460 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7462         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7463         Change return value to be a sexp.  Delay `get-buffer' to after
7464         restoring the desktop (bug#13951).
7466 2013-03-26  Leo Liu  <sdl.web@gmail.com>
7468         * register.el: Move semantic tag handling back to
7469         cedet/semantic/senator.el.  (Bug#14052)
7471 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7473         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7474         into the prompt either (bug#13963).
7476 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7479         part of "(error-foo)".
7481 2013-03-24  Juri Linkov  <juri@jurta.org>
7483         * replace.el (list-matching-lines-prefix-face): New defcustom.
7484         (occur-1): Pass `list-matching-lines-prefix-face' to the function
7485         `occur-engine' if `face-differs-from-default-p' returns t.
7486         (occur-engine): Add `,' inside backquote construct to evaluate
7487         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
7488         Pass `prefix-face' to the functions `occur-context-lines' and
7489         `occur-engine-add-prefix'.
7490         (occur-engine-add-prefix, occur-context-lines): Add optional arg
7491         `prefix-face' and propertize the prefix with `prefix-face'.
7492         (Bug#14017)
7494 2013-03-24  Leo Liu  <sdl.web@gmail.com>
7496         * nxml/rng-valid.el (rng-validate-while-idle)
7497         (rng-validate-quick-while-idle): Guard against deleted buffer.
7498         (Bug#13999)
7500         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7501         is the last entry in kill-buffer-hook.
7503         * files.el (kill-buffer-hook): Doc fix.
7505 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
7507         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7508         Make it safe-local.
7510         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7512 2013-03-23  Leo Liu  <sdl.web@gmail.com>
7514         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7515         Remove.
7517         * nxml/rng-valid.el (rng-validate-mode)
7518         (rng-after-change-function, rng-do-some-validation):
7519         * nxml/rng-maint.el (rng-validate-buffer):
7520         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7521         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7522         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7523         (nxml-extend-after-change-region): Use with-silent-modifications.
7525         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7526         timer-idle-list.
7528         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7529         (rng-next-error-1, rng-previous-error-1): Do not let-bind
7530         timer-idle-list.  (Bug#13999)
7532 2013-03-23  Juri Linkov  <juri@jurta.org>
7534         * info.el (info-index-match): New face.
7535         (Info-index, Info-apropos-matches): Add a nested subgroup to the
7536         main pattern and add text properties with the new face to matches
7537         in index entries relative to the beginning of the index entry.
7538         (Bug#14015)
7540 2013-03-21  Eric Ludlam  <zappo@gnu.org>
7542         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7543         Inhibit read only while inserting objects.
7545 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
7547         * progmodes/cfengine.el: Update docs to mention
7548         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
7549         symbol motion.  Remove "_" from the word syntax.
7551 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
7553         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7554         syntax for both `cfengine2-mode' and `cfengine3-mode'.
7556 2013-03-20  Juri Linkov  <juri@jurta.org>
7558         * info.el (Info-next-reference-or-link)
7559         (Info-prev-reference-or-link): New functions.
7560         (Info-next-reference, Info-prev-reference): Use them.
7561         (Info-try-follow-nearest-node): Handle footnote navigation.
7562         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
7564 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7566         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7567         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7569 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
7571         Suppress unnecessary non-ASCII chatter during build process.
7572         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7573         (batch-skkdic-convert): Suppress most of the chatter.
7574         It's not needed so much now that machines are faster,
7575         and its non-ASCII component was confusing; see Dmitry Gutov in
7576         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7578 2013-03-20  Leo Liu  <sdl.web@gmail.com>
7580         * ido.el (ido-chop): Fix bug#10994.
7582 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
7584         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7585         Remove vars.
7586         (whitespace-color-on, whitespace-color-off):
7587         Use `font-lock-fontify-buffer' (Bug#13817).
7589 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7591         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7592         remapping in mode-line.
7593         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7595 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
7597         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7598         value for `whitespace-line' face (Bug#13875).
7599         (whitespace-font-lock-keywords): Change description.
7600         (whitespace-color-on): Don't save `font-lock-keywords' value, save
7601         the constructed keywords instead.
7602         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7604 2013-03-19  Leo Liu  <sdl.web@gmail.com>
7606         * progmodes/compile.el (compilation-display-error): New command.
7607         (compilation-mode-map, compilation-minor-mode-map): Bind it to
7608         C-o.  (Bug#13992)
7610 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
7612         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7614 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
7616         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7618 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
7620         * net/tramp-compat.el (tramp-compat-user-error): New defun.
7622         * net/tramp-adb.el (tramp-adb-handle-shell-command):
7623         * net/tramp-gvfs.el (top):
7624         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7625         (tramp-handle-shell-command): Use it.
7626         (tramp-dissect-file-name): Raise an error when hostname is a
7627         method name, and neither method nor user is specified.
7629         * net/trampver.el: Update release number.
7631 2013-03-18  Leo Liu  <sdl.web@gmail.com>
7633         Make sure eldoc can be turned off properly.
7634         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7635         eldoc-mode.
7636         (eldoc-display-message-p): Revert last change.
7637         (eldoc-display-message-no-interference-p)
7638         (eldoc-print-current-symbol-info): Tweak.
7640 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
7642         * doc-view.el (doc-view-new-window-function): Check the new window
7643         overlay's display property instead the char property of the
7644         buffer's first char.  Use `with-selected-window' instead of
7645         `save-window-excursion' with `select-window'.
7646         (doc-view-document->bitmap): Check the current doc-view overlay's
7647         display property instead the char property of the buffer's first char.
7649 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
7651         Automate the build of ja-dic.el (Bug#13984).
7652         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7653         from the input, rather than assume that it's been done for us by the
7654         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
7655         the current date into a ja-dic.el comment, as that complicates
7656         regression testing.
7658 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7660         * whitespace.el: Fix double evaluation.
7661         (whitespace-space, whitespace-hspace, whitespace-tab)
7662         (whitespace-newline, whitespace-trailing, whitespace-line)
7663         (whitespace-space-before-tab, whitespace-indentation)
7664         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7665         obsolete defvars.
7666         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7667         (whitespace-color-on): Use a single font-lock-add-keywords call.
7668         Fix double-evaluation of face variables.
7670 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
7672         * net/tramp-adb.el (tramp-adb-parse-device-names):
7673         Use `start-process' instead of `call-process'.  Otherwise, the
7674         function might be blocked under MS Windows.  (Bug#13299)
7676 2013-03-17  Leo Liu  <sdl.web@gmail.com>
7678         Extend eldoc to display info in the mode-line.  (Bug#13978)
7679         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7680         (eldoc-mode-line-string): New variable.
7681         (eldoc-minibuffer-message): New function.
7682         (eldoc-message-function): New variable.
7683         (eldoc-message): Use it.
7684         (eldoc-display-message-p)
7685         (eldoc-display-message-no-interference-p):
7686         Support eldoc-post-insert-mode.
7688         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7689         (eval-expression): Run it.
7691 2013-03-17  Roland Winkler  <winkler@gnu.org>
7693         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7694         strings in the list of return values.
7696 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
7698         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7699         radix before checking for HMS forms.
7701 2013-03-16  Leo Liu  <sdl.web@gmail.com>
7703         * progmodes/scheme.el: Add indentation and font-locking for λ.
7704         (Bug#13975)
7706 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7708         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7709         token before point (bug#13942).
7711 2013-03-16  Leo Liu  <sdl.web@gmail.com>
7713         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
7715 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
7717         * startup.el (command-line-normalize-file-name): Fix handling of
7718         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
7719         <xfq.free@gmail.com> in
7720         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7722 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
7724         Sync with Tramp 2.2.7.
7726         * net/trampver.el: Update release number.
7728 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
7730         * doc-view.el Fix bug#13887.
7731         (doc-view-insert-image): Don't modify overlay associated to
7732         non-live windows, and implement horizontal centering of image in
7733         case it's smaller than the window.
7734         (doc-view-new-window-function): Force redisplay of new windows on
7735         doc-view buffers.
7737 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
7739         * saveplace.el (save-place-alist-to-file): Don't sort
7740         `save-place-alist', just pretty-print it (bug#13882).
7742 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
7744         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7745         Check whether `default-file-name-coding-system' is bound.
7746         It isn't in XEmacs.
7748 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7750         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7751         backquotes for `obsolete' (bug#13929).
7753         * international/mule.el (find-auto-coding): Include file name in
7754         obsolescence warning (bug#13922).
7756 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
7758         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7759         for CFEngine 3-specific indentation.
7760         (cfengine3-indent-line): Use it.  Fix up category regex.
7761         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7763 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * type-break.el (type-break-file-name):
7766         * textmodes/remember.el (remember-data-file):
7767         * strokes.el (strokes-file):
7768         * shadowfile.el (shadow-initialize):
7769         * saveplace.el (save-place-file):
7770         * ps-bdf.el (bdf-cache-file):
7771         * progmodes/idlwave.el (idlwave-config-directory):
7772         * net/quickurl.el (quickurl-url-file):
7773         * international/kkc.el (kkc-init-file-name):
7774         * ido.el (ido-save-directory-list-file):
7775         * emulation/viper.el (viper-custom-file-name):
7776         * emulation/vip.el (vip-startup-file):
7777         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7778         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7780 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
7782         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7783         * language/thai-word.el: Switch to UTF-8.
7785 See ChangeLog.16 for earlier changes.
7787 ;; Local Variables:
7788 ;; coding: utf-8
7789 ;; End:
7791   Copyright (C) 2011-2013 Free Software Foundation, Inc.
7793   This file is part of GNU Emacs.
7795   GNU Emacs is free software: you can redistribute it and/or modify
7796   it under the terms of the GNU General Public License as published by
7797   the Free Software Foundation, either version 3 of the License, or
7798   (at your option) any later version.
7800   GNU Emacs is distributed in the hope that it will be useful,
7801   but WITHOUT ANY WARRANTY; without even the implied warranty of
7802   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7803   GNU General Public License for more details.
7805   You should have received a copy of the GNU General Public License
7806   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.