(dired-up-directory): Doc fix (bug#14848).
[emacs/old-mirror.git] / lisp / ChangeLog
blob4c0922cfbd8eb836705bd8c655b895e738fd4969
1 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4         (dired-prev-marked-file): Doc fix (bug#14855).
5         (dired-up-directory): Doc fix (bug#14848).
7         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9         * files.el (file-relative-name): Doc fix (bug#15159).
11         * fringe.el (fringe-styles): Doc fix (bug#15239).
13         * isearch.el (isearch-filter-predicate): Documentation typo fix
14         (bug#15474).
16         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
18         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
20         * replace.el (replace-match-maybe-edit): Doc clarification
21         (bug#15632).
23         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
25         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
27 2014-02-08  Glenn Morris  <rgm@gnu.org>
29         * help-fns.el (describe-variable):
30         Check {file,dir}-local-variables-alist, and buffer-file-name,
31         in the correct buffer.
33 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
35         * help-fns.el (describe-variable): Fix the case where
36         a value is directory-local with no dir-locals file.  (Bug#16635)
38 2014-02-08  Glenn Morris  <rgm@gnu.org>
40         * abbrev.el (edit-abbrevs-mode):
41         Derive from fundamental-mode.  (Bug#16682)
43 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
45         * simple.el (quoted-insert): Check character validity (bug#16677).
47 2014-02-07  Juri Linkov  <juri@jurta.org>
49         * desktop.el (desktop-read): Claim the lock when the owner is not
50         the current process.  (Bug#16157)
52 2014-02-07  Juri Linkov  <juri@jurta.org>
54         * desktop.el (desktop-buffers-not-to-save): Change default from nil
55         to "\\` ".  (Bug#16651)
57 2014-02-07  Juri Linkov  <juri@jurta.org>
59         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
60         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
61         (desktop-auto-save-cancel-timer): New function with some code from
62         `desktop-auto-save-set-timer'.
63         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
64         Instead of setting `desktop-save-mode' to nil, call
65         `desktop-save-mode' with arg 0.  (Bug#16630)
67 2014-02-07  Glenn Morris  <rgm@gnu.org>
69         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
70         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
71         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
73         * obsolete/iswitchb.el: Move to obsolete/.
74         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
75         since obsolete/ is not scanned for autoloads.
76         * emacs-lisp/authors.el (authors-valid-file-names):
77         Add iswitchb.el.
79         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
80         Disable now non-functional find-file-hook.
82 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
84         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
85         instead of ";" in order to avoid additional prompts.  Let heredoc
86         scripts read from tty.  (Bug#16582)
87         (tramp-send-command): No special handling of heredocs, it isn't
88         necessary anymore.
90 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
92         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
93         with a space (bug#16664).  Limit the symbols considered to the ones
94         that are bound or fbound (bug#16646).
96 2014-02-06  Glenn Morris  <rgm@gnu.org>
98         * epa.el (epa-mail-aliases): Doc fix.
100 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
102         * emacs-lisp/lisp.el (lisp-completion-at-point):
103         Use `completion-table-merge' instead of `completion-table-in-turn'
104         (bug#16604).
106         * minibuffer.el (completion-table-merge): New function.
108 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
110         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
111         (tramp-sh-handle-set-file-acl)
112         (tramp-sh-handle-start-file-process)
113         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
114         (tramp-find-executable, tramp-send-command): Use it.
116 2014-02-05  Glenn Morris  <rgm@gnu.org>
118         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
120 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
122         * progmodes/python.el (python-shell-send-string):
123         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
125 2014-02-04  Anders Lindgren  <andlind@gmail.com>
127         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
128         the names (bug#16620).
130 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
132         * faces.el (window-divider): New default value.  Rewrite doc-string.
133         (window-divider-first-pixel, window-divider-last-pixel): New faces.
135 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
137         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
138         `protected' and `public' can also be called without arguments.
140 2014-02-03  Glenn Morris  <rgm@gnu.org>
142         * register.el (window-configuration-to-register)
143         (frame-configuration-to-register): Unadvertise unused argument.
144         * frameset.el (frameset-to-register): Remove unused argument.
146         * frameset.el (frameset-to-register):
147         * kmacro.el (kmacro-to-register):
148         * register.el (increment-register):
149         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
150         (calc-append-to-register, calc-prepend-to-register):
151         * play/gametree.el (gametree-layout-to-register)
152         (gametree-apply-register-layout):
153         * textmodes/picture.el (picture-clear-rectangle-to-register)
154         (picture-yank-rectangle-from-register):
155         * vc/emerge.el (emerge-combine-versions-register):
156         Use register-read-with-preview to read registers.
158 2014-02-03  João Távora  <joaotavora@gmail.com>
160         * elec-pair.el (electric-pair-backward-delete-char): Don't error
161         when at beginning of (possibly narrowed) buffer.
163 2014-02-02  Daniel Colascione  <dancol@dancol.org>
165         * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
166         Also try to display local help from just before point.
168 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
170         c-parse-state.  Don't "append-lower-brace-pair" in certain
171         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
172         recognised as a comment.
174         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
175         as well as normal comment starter.
176         (c-parse-state-get-strategy): Extra return possibility
177         'back-and-forward.
178         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
179         return value list to indicate replacement of a brace-pair cons
180         with its car.
181         (c-parse-state-1): With 'back-and-forward, only call
182         c-append-lower-brace-pair-to state-cache when cons-separated.
184 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
186         * term/ns-win.el (ns-suspend-error): New function.
187         (ns-initialize-window-system): Add ns-suspend-error to
188         suspend-hook (Bug#16612).
190 2014-02-02  Daniel Colascione  <dancol@dancol.org>
192         * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
194 2014-02-02  Daniel Colascione  <dancol@dancol.org>
196         * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
198 2014-02-02  Glenn Morris  <rgm@gnu.org>
200         * register.el (register-read-with-preview, point-to-register)
201         (window-configuration-to-register, frame-configuration-to-register)
202         (jump-to-register, number-to-register, view-register, insert-register)
203         (copy-to-register, append-to-register, prepend-to-register)
204         (copy-rectangle-to-register): Doc fixes.
206 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
208         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
209         * emacs-lisp/find-func.el (find-function-C-source): Idem.
210         * emacs-lisp/nadvice.el (advice--cd*r): New function.
211         * help-fns.el (describe-function-1): Use it.
213 2014-02-02  Glenn Morris  <rgm@gnu.org>
215         * register.el (register-preview-default): New function,
216         split from register-preview.
217         (register-preview-function): Rename from register-preview-functions,
218         make it not a hook.
219         (register-preview): Use register-preview-function.
220         (register-read-with-preview): Error on non-character event.  (Bug#16595)
222 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
224         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
225         `:' before binary operators (bug#16609).  Don't check for `:'
226         before `[' and `(', or their syntax status.  A percent literal
227         can't end with either.
228         (ruby-font-lock-keywords): For built-ins that require arguments,
229         check that they're followed by something that looks like argument
230         (bug#16610).
232 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
234         * subr.el (butlast): Document what an omitted N means (bug#13437).
235         (nbutlast): Ditto.
237 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
239         * net/shr.el (shr-generic): Make into a defsubst to make the stack
240         depth shallower (bug#16587).
241         (shr-tag-svg): Respect `shr-inhibit-images'.
242         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
244 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
246         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
247         (ruby-smie-grammar): Make "." right-associative.  Make its priority
248         lower than the ternary and all binary operators.
249         (ruby-smie-rules): Indent "(" relative to the first non-"."
250         parent, or the first "." parent at indentation.
251         Use `ruby-align-chained-calls' for indentation of "." tokens.
252         (Bug#16593)
254 2014-01-31  Juri Linkov  <juri@jurta.org>
256         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
257         from `make-hash-table'.
259         * textmodes/ispell.el (ispell-init-process): Change message format
260         to be consistent with other messages.
262 2014-01-31  Glenn Morris  <rgm@gnu.org>
264         * delsel.el (delete-selection-mode): Doc fix.
266         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
267         (trace-function-background): Doc fixes.
269         * ido.el (ido-use-virtual-buffers): Doc fix.
270         Reset :version, since the default value has not changed.
272         * register.el (register-preview-delay, register-read-with-preview):
273         Doc fixes.
275         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
276         do not mess with mail-buffer position (fixes 2009-11-03 change).
277         * progmodes/cc-mode.el (c-submit-bug-report):
278         Check auto-fill-mode is bound.  (Bug#16592)
280 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
282         * startup.el (fancy-splash-image-file): New function,
283         split from fancy-splash-head.
284         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
285         so that we are both using the same image.  (Bug#16574)
287 2014-01-30  Glenn Morris  <rgm@gnu.org>
289         * simple.el (eval-expression): Doc fix.
291         * hexl.el (hexl-mode-hook):
292         * ielm.el (ielm-mode-hook):
293         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
294         (lisp-interaction-mode-hook):
295         * progmodes/cfengine.e (cfengine3-documentation-function):
296         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
298 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
300         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
301         is a symbol (bug#16584).
303 2014-01-30  Glenn Morris  <rgm@gnu.org>
305         * help.el (help-for-help-internal): Add "P" to text.
307 2014-01-29  Glenn Morris  <rgm@gnu.org>
309         * simple.el (just-one-space, cycle-spacing): Doc fixes.
311 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
313         * window.el (fit-frame-to-buffer): Fix calculations for margins and
314         height constraints.
316 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
318         * progmodes/hideif.el: Extend to full CPP expression syntax.
319         (hif-token-alist): Add missing tokens.
320         (hif-token-regexp): Add support for float/octal/hex immediates.
321         (hif-string-literal-regexp): New const.
322         (hif-tokenize): Recognize strings and float/octal/hex immediates.
323         (hif-exprlist): New function.
324         (hif-parse-if-exp): Use it.
325         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
326         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
327         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
328         (hif-logxor, hif-comma): New functions.
330 2014-01-28  Glenn Morris  <rgm@gnu.org>
332         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
334         * indent.el (tab-stop-list): Doc fix.  Add :version.
336         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
337         (cvs-append-to-ignore): Add compatibility alias.
339 2014-01-27  Glenn Morris  <rgm@gnu.org>
341         * dired.el (dired-hide-details-mode): Don't autoload it,
342         since it cannot be used outside Dired buffers anyway.
344         * emulation/cua-base.el (cua-mode): Doc fix.
346         * dired.el (dired-hide-details-hide-symlink-targets)
347         (dired-hide-details-hide-information-lines)
348         (dired-hide-details-mode): Doc fixes.
350         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
351         * strokes.el (strokes-file): Doc fix.  Bump :version.
352         (strokes-help): Doc fix.
353         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
354         * emulation/viper.el (viper): Doc fix for custom group.
355         (top-level): Remove oh-so-no-longer-relevant text about vip.
356         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
358         * ido.el (ido-save-directory-list-file):
359         * saveplace.el (save-place-file):
360         * calendar/timeclock.el (timeclock-file):
361         * net/quickurl.el (quickurl-url-file):
362         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
363         * progmodes/idlwave.el (idlwave-config-directory):
364         * textmodes/remember.el (remember-data-file):
365         Bump :version.
367 2014-01-26  Glenn Morris  <rgm@gnu.org>
369         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
370         Doc fix.  Make obsolete.
371         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
373         * sort.el (delete-duplicate-lines): Doc fix.
375 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
377         * progmodes/ada-mode.el (ada):
378         * woman.el (woman): Link to info manual and Commentary section.
380         * progmodes/flymake.el (flymake):
381         * nxml/nxml-mode.el (nxml):
382         * net/eww.el (eww):
383         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
384         * htmlfontify.el (htmlfontify):
385         * ses.el (ses):
386         * epa.el (epa):
387         * ido.el (ido): Link to info manual.
389 2014-01-25  Leo Liu  <sdl.web@gmail.com>
391         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
393 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
395         * net/shr.el (shr-tag-img): Prefer the title over the alt text
396         (bug#16537).
398 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
400         * net/eww.el (eww-download-callback):
401         Fix reference to eww-download-directory.
403         * emacs-lisp/bytecomp.el (byte-compile-file):
404         Remove unused local variable `file-name'.
406 2014-01-24  Glenn Morris  <rgm@gnu.org>
408         * woman.el (woman-default-faces, woman-monochrome-faces):
409         Fix obsolescence specification.
411         * subr.el (with-demoted-errors): Doc fix.
413 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
415         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
416         (cl--macroexp-fboundp): New function.
417         (cl--make-type-test): Use it.
419 2014-01-23  Glenn Morris  <rgm@gnu.org>
421         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
422         * simple.el (eval-expression): Doc fixes.
424 2014-01-22  Glenn Morris  <rgm@gnu.org>
426         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
428 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
430         * emacs-lisp/package.el: Write files silently.
431         (package-autoload-ensure-default-file, package--write-file-no-coding)
432         (package-generate-description-file, package--download-one-archive)
433         (package-install-from-archive): Tell `write-region' to stay quiet.
434         (package-menu-mode, package-menu--print-info): Omit the Archive column
435         if there's only one archive.
436         (package-all-keywords, package--has-keyword-p): Remove dead code.
438 2014-01-22  Glenn Morris  <rgm@gnu.org>
440         * version.el (emacs-bzr-version-bzr): Fix typo.
442         * version.el (emacs-repository-get-version):
443         Check either .bzr or .git, but not both.
444         Make the git case actually use the DIR argument, and return nil
445         rather than the empty string.
446         Avoid error if .git exists but the git executable is not found.
448 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
450         Fixes in window size functions around Bug#16430 and Bug#16470.
451         * window.el (window-total-size, window-size): New argument ROUND.
452         (window--min-delta-1, window-min-delta, window--max-delta-1):
453         Be more conservative when calculating the numbers of lines or
454         columns a window can shrink (Bug#16430).
455         (fit-window-to-buffer): Simplify code.
456         * term.el (term-window-width): Call window-body-width again.
458 2014-01-22  Glenn Morris  <rgm@gnu.org>
460         * image.el (image-format-suffixes): Doc fix.
462         * international/quail.el (quail-define-package): Doc fix.
464         * emacs-lisp/authors.el (authors-valid-file-names):
465         (authors-renamed-files-alist): Additions.
467         * vc/vc-git.el (vc-git-print-log): Remove --follow;
468         reverts 2014-01-09 change.  (Bug#16422)
470         * calc/calc-embed.el (thing-at-point-looking-at):
471         * emacs-lisp/map-ynp.el (x-popup-dialog):
472         * obsolete/lmenu.el (x-popup-dialog):
473         * emacs-lisp/package.el (url-recreate-url):
474         * mail/mailclient.el (clipboard-kill-ring-save):
475         * subr.el (x-popup-dialog): Update declaration.
476         * mail/rmail.el (rmail-mime-message-p):
477         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
479 2014-01-21  Daniel Colascione  <dancol@dancol.org>
481         * progmodes/sh-script.el (sh--inside-noncommand-expression):
482         Correctly detect when we're inside an arithmetic expansion form
483         containing nested parenthesis.
484         (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
485         to detect cases where we shouldn't expand "<<" to a heredoc
486         skeleton.
488 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
490         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
491         (eldoc--message-command-p): New function.
492         (eldoc-display-message-p): Use it.
493         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
494         message is not automatically erased for us.
495         (eldoc-print-current-symbol-info): Erase previous message, if any.
497 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
499         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
500         specify it's an interactive function.
502         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
503         Fix regex used for scanning for citation keys which failed for
504         citations with optional arguments.
506 2014-01-21  Leo Liu  <sdl.web@gmail.com>
508         * simple.el (read--expression): Don't enable eldoc-mode.
510 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
512         * simple.el (move-beginning-of-line): Make sure we don't move forward
513         (bug#16497).
515 2014-01-20  Juri Linkov  <juri@jurta.org>
517         * saveplace.el (toggle-save-place, save-place-to-alist)
518         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
519         'dired-mode) before checking for dired-directory.  (Bug#16477)
521 2014-01-20  Juri Linkov  <juri@jurta.org>
523         * indent.el (indent-line-to): Use backward-to-indentation
524         instead of back-to-indentation.  (Bug#16461)
526 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
528         Revert some of the CANNOT_DUMP fix (Bug#16494).
529         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
530         but fixing this can wait until after the next release.
531         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
533 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
535         * eshell/esh-mode.el (eshell-password-prompt-regexp):
536         Use `password-word-equivalents'.
537         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
538         to t.  (Bug#5664, Bug#13124)
540 2014-01-19  Alan Mackenzie  <acm@muc.de>
542         Bind open-paren-in-column-0-is-defun-start to nil at some entry
543         points.
544         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
545         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
546         * progmodes/cc-mode.el (c-before-change, c-after-change)
547         (c-font-lock-fontify-region): Bind it here.
549 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
551         * term.el (term-window-width): Call window-text-width instead of
552         window-width (Bug#16470).
554 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
556         * simple.el (password-word-equivalents): Remove duplicates.
557         Sort, to make this easier next time.
558         Downcase.  Omit ": " after "jelszó".
560 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
562         * term/common-win.el (saved-region-selection): Defvar it.
563         (x-select-text): Set saved-region-selection (Bug#16382).
565 2014-01-18  Glenn Morris  <rgm@gnu.org>
567         * emacs-lisp/authors.el (authors-aliases)
568         (authors-renamed-files-alist): Add some entries.
570 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
572         * net/tramp.el (tramp-password-prompt-regexp):
573         Use `password-word-equivalents' if available.
574         (tramp-action-password, tramp-process-one-action)
575         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
577 2014-01-17  Chong Yidong  <cyd@gnu.org>
579         * simple.el (password-word-equivalents): New defcustom.
580         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
581         to 24.4.
582         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
583         to t.  (Bug#13124)
585 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
587         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
588         (ruby-align-to-stmt-keywords): Change the default value.
589         Use `ruby-alignable-keywords' to generate the possible customization
590         choices.
591         (ruby-smie-rules): Instead of using a hardcoded list of alignable
592         keywords, check against the value of `ruby-alignable-keywords'
593         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
595 2014-01-17  Glenn Morris  <rgm@gnu.org>
597         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
599         Make M-x authors return zero *Authors Errors* from current logs.
600         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
601         (authors-ignored-files): Add some entries, remove others.
602         (authors-ambiguous-files, authors-valid-file-names):
603         Add some entries.
604         (authors-renamed-files-alist): Add, remove, and adjust entries.
605         (authors-renamed-files-regexps): Add some entries.
606         Remove some very broad ones.  Make some entries `lax'.
607         (authors-lax-changelogs): New constant.
608         (authors-disambiguate-file-name): Treat top-level specially.
609         (authors-lax-changelog-p): New function.
610         (authors-canonical-file-name): Check file as written against
611         authors-valid-file-names.  Do not special-case etc/.
612         Handle `lax' logs and authors-renamed-files-regexps elements.
614 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
616         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
617         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
618         callers.
620 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
622         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
623         Assume we're already in the proper buffer.
624         Inspired by Anders Lindgren <andlind@gmail.com>.
625         (follow-post-command-hook): Call it from the right buffer.
626         (follow-comint-scroll-to-bottom): Adjust call.
627         (follow-all-followers): Use get-buffer-window-list.
629 2014-01-15  Daniel Colascione  <dancol@dancol.org>
631         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
632         `buffer-file-name' in interactive-form so that we don't leave
633         pathless file names in `file-name-history'.
635 2014-01-15  Juri Linkov  <juri@jurta.org>
637         * indent.el (indent-rigidly): Set deactivate-mark to nil
638         in transient indentation mode.  (Bug#16438)
640 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
642         * emacs-lisp/package.el (package-desc-keywords): New function
643         (Bug#16222).
644         (describe-package-1, package-all-keywords)
645         (package--has-keyword-p): Use it.
647 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
649         * simple.el (define-alternatives): When creating the
650         COMMAND-alternatives variable, assign COMMAND as its definition
651         name so that `describe-variable' can relocate it.
653 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
655         * font-lock.el (font-lock-keywords): Fix typo in docstring
656         (bug#16307).
658 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
660         * ispell.el (ispell-region): Reset `in-comment' for new line
661         instead of wrongly reset `add-coment' (bug#13577).
663 2014-01-14  Daiki Ueno  <ueno@gnu.org>
665         * epa-file.el (epa-file-write-region): Encode the region according
666         to `buffer-file-format'.  Problem reported at:
667         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
669 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
671         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
672         so it applies in the right buffer (bug#16410).
674 2014-01-13  Daniel Colascione  <dancol@dancol.org>
676         * textmodes/rst.el (rst-define-key): Provide deprecated
677         keybindings through named functions instead of anonymous ones so
678         that "??" doesn't appear in describe-mode output.
680 2014-01-13  Bastien Guerry  <bzg@gnu.org>
682         * simple.el (define-alternatives): Call the selected command
683         interactively.  When setting `COMMAND--implementation' for the
684         first time, tell the user how to chose another implementation.
685         Enhance the docstring.
687 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
689         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
690         (log-edit--match-first-line): New function.
691         (log-edit-font-lock-keywords): Use it.
692         (log-edit-mode): Make jit-lock-defer-multiline work.
694 2014-01-13  Bastien Guerry  <bzg@gnu.org>
696         * rect.el (rectangle-mark-mode): When the region is not active,
697         display a message saying that the mark as been set and that
698         rectangle mode is in use.
699         (rectangle--highlight-for-redisplay): Only put an overlay with a
700         visible vertical bar when (display-graphic-p) is non-nil.
701         This partially fixes Bug#16403.
703 2014-01-13  Juri Linkov  <juri@jurta.org>
705         * info.el (Info-find-file): Go to DIR before displaying the error
706         about a nonexistent file if no previous Info file is visited.
707         Use `user-error' instead of `error' for "Info file %s does not exist".
708         (Info-find-node-2): In case of a nonexistent node in unwind forms
709         go to the Top node if there is no previous node to revert to.
710         (Bug#16405)
712 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
714         fit-frame/window-to-buffer code fixes including one for Bug#14096.
715         * window.el (fit-frame-to-buffer): Fix doc-string.
716         Respect window-min-height/-width.  Fit pixelwise when
717         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
718         when avoiding that frame goes partially off-screen.
719         (fit-window-to-buffer): Respect window-min-height/-width
720         (Bug#14096).
722 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
724         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
725         after an empty line.
727 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
729         * net/shr.el (shr-render-region): Autoload.
731 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
733         * net/eww.el (eww-download-directory): Rename from
734         `eww-download-path' (Bug#16419).
736 2014-01-12  Leo Liu  <sdl.web@gmail.com>
738         * dired-x.el (dired-mode-map): Fix last change.
740         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
742 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
744         Spelling fixes.
745         * emacs-lisp/generic.el (generic--normalize-comments):
746         Rename from generic--normalise-comments.  All uses changed.
747         * play/bubbles.el (bubbles--neighborhood-score):
748         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
749         (bubbles--neighborhood-available)
750         (bubbles--update-neighborhood-score):
751         Rename from names with 'neighbourhood'.  All uses changed.
753 2014-01-12  Leo Liu  <sdl.web@gmail.com>
755         Re-implement the feature of showing eldoc info after editing.
756         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
757         (eldoc-edit-message-commands): New function.
758         (eldoc-print-after-edit): New variable.
759         (eldoc-pre-command-refresh-echo-area): Emit message only by
760         eldoc-message-commands.
761         (eldoc-mode): Restrict eldoc-message-commands to editing commands
762         if eldoc-print-after-edit is set.  (Bug#16346)
763         * simple.el (read--expression): Enable eldoc-mode.
764         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
766 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
767             Eric S. Raymond  <esr@thyrsus.com>
769         * version.el (emacs-repository-get-version): Enhance so the
770         function works correctly in either a Bazaar or Git repo.
772 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
774         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
775         Goes with removal of the joke manpages from /etc.
777 2014-01-10  K. Handa  <handa@gnu.org>
779         * mail/rmail.el (rmail-get-coding-system):
780         Check rmail-get-coding-function before "funcall"ing it.
782 2014-01-10  Glenn Morris  <rgm@gnu.org>
784         * emacs-lisp/authors.el (authors-fixed-entries):
785         Update for files that no longer exist.
787 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
789         * version.el (emacs-bzr-get-version): Restore compatibilty with
790         24.3 (Tested).
792 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
794         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
795         and Podfile.
797 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
799         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
801 2014-01-10  Chong Yidong  <cyd@gnu.org>
803         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
805 2014-01-10  Anders Lindgren  <andlind@gmail.com>
807         * follow.el (follow-cache-command-list): Include right-char and
808         left-char.
810 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
812         Spelling fixes.
813         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
814         * woman.el (woman-mark-horizontal-position):
815         Rename from woman-mark-horizonal-position.  Use changed.
817 2014-01-10  Glenn Morris  <rgm@gnu.org>
819         * info.el (info-initialize): If running uninstalled, ensure our
820         own info files are always found first, even if INFOPATH is set.
822         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
824 2014-01-09  David Engster  <deng@randomsample.de>
826         * emacs-lisp/eieio-custom.el:
827         * emacs-lisp/eieio-opt.el: Set generated autoload file to
828         'eieio.el'.  This was accidentally removed in rev. 110325.
829         * emacs-lisp/eieio.el: Regenerate autoloads.
831 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
833         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
834         following renames.  (Bug#8756)
836 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
838         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
839         (bug#16382).
840         (activate-mark): Add `no-tmm' argument.
841         (set-mark, push-mark-command): Use it instead of running
842         activate-mark-hook by hand.
844 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
846         In preparation for the move to git, sanitize out some
847         Bazaar-specific names.
849         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
851         * version.el (emacs-bzr-version): Name changed to
852         emacs-repository-version.  Obsolete-variable alias made.
853         * loadup.el: Follow through on this name change.
854         * mail/emacsbug.el (report-emacs-bug): Factor out any
855         assumption about the version control system in use.
857 2014-01-08  David Engster  <deng@randomsample.de>
859         * help-fns.el (help-fns-describe-function-functions):
860         New variable to call functions for augmenting help buffers.
861         (describe-function-1): Remove explicit calls to
862         `help-fns--compiler-macro', `help-fns--parent-mode' and
863         `help-fns--obsolete'.  Put them in above new variable instead, and
864         call them through `run-hook-with-args'.
865         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
866         `eieio-describe-class'.  Not meant for interactive use anymore,
867         but to augment existing help buffers.  Remove optional second
868         argument.  Create proper button for file location.
869         Rewrite function to use `insert' instead of `princ' and `prin1' where
870         possible.
871         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
872         (eieio-method-def, eieio-class-def): Move further up.
873         (describe-method, describe-generic, eieio-describe-method):
874         Remove aliases.
875         (eieio-help-constructor, eieio-help-generic): Rename from
876         `eieio-describe-constructor' and `eieio-describe-generic', resp.
877         Rewrite to use `insert' in the current buffer and use proper help
878         buttons.
879         (eieio-help-find-method-definition)
880         (eieio-help-find-class-definition): Also accept symbols as
881         arguments.
882         (eieio-help-mode-augmentation-maybee): Remove.
883         (eieio-describe-class-sb): Use `describe-function'.
884         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
885         Add `eieio-help-generic' and `eieio-help-constructor'.
887 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
889         Spelling fixes.
890         * language/china-util.el (hz-ascii-designation):
891         Rename from hz-ascii-designnation.
892         (hz-ascii-designation): Rename from hz-ascii-designnation.
893         All uses changed.
895 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
897         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
898         package-alist.
900 2014-01-08  Bastien Guerry  <bzg@gnu.org>
902         * emacs-lisp/package.el (package-delete):
903         Correctly delete the package from package-alist.
905 2014-01-08  Daiki Ueno  <ueno@gnu.org>
907         * emacs-lisp/package.el (url-recreate-url): Declare.
908         (url-http-target-url): Declare.
909         (package-handle-response): Include requested URL in the error message.
910         (package--check-signature): Don't re-signal errors from
911         package--with-work-buffer.  Suggested by Stefan Monnier.
913 2014-01-07  Bastien Guerry  <bzg@gnu.org>
915         * minibuffer.el (completion--try-word-completion): When both a
916         hyphen and a space are possible candidates for the character
917         following a word, display both candidates.  (Bug#15980)
919 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
921         * window.el (balance-windows-2): While rounding don't give a
922         window more than the remainder.  Bug#16351, Bug#16383.
924 2014-01-07  Glenn Morris  <rgm@gnu.org>
926         * menu-bar.el (menu-bar-help-extra-packages): Remove.
927         (menu-bar-help-menu): Use view-external-packages instead.
929 2014-01-07  Bastien Guerry  <bzg@gnu.org>
931         * emacs-lisp/package.el (package-delete): Also delete the package
932         name from `package-alist', not its description only.
934 2014-01-07  Glenn Morris  <rgm@gnu.org>
936         * help.el (view-external-packages):
937         * menu-bar.el (menu-bar-help-extra-packages):
938         Visit efaq.info rather than etc/MORE.STUFF.
940 2014-01-07  Juri Linkov  <juri@jurta.org>
942         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
943         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
945         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
946         that shadows RET.  (Bug#16342)
948 2014-01-07  Chong Yidong  <cyd@gnu.org>
950         * isearch.el (isearch-yank-char, isearch-yank-word)
951         (isearch-yank-line): Doc fix.
953 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
955         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
956         * emacs-lisp/elint.el (elint-find-builtins):
957         * emacs-lisp/eldoc.el (eldoc-symbol-function):
958         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
959         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
960         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
961         * apropos.el (apropos-safe-documentation):
962         * subr.el (symbol-file): Remove redundant fboundp.
963         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
965 2014-01-06  Bastien Guerry  <bzg@gnu.org>
967         * hl-line.el (global-hl-line-overlay): Make a local variable.
968         (global-hl-line-overlays): New variable to store all overlays.
969         (global-hl-line-mode): Don't delete overlays from the current
970         buffer when `global-hl-line-sticky-flag' is non-nil.
971         (global-hl-line-highlight): Add new overlays to
972         `global-hl-line-overlays'.
973         (global-hl-line-unhighlight-all): New function to delete all
974         overlays when turning off `global-hl-line-mode'.
975         This fixes Bug#16183.
977 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * subr.el (set-transient-map): Fix nested case and docstring.
981 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
983         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
984         `Texinfo' entry.
986 2014-01-06  Daniel Colascione  <dancol@dancol.org>
988         Fix defun navigation in vc log view.
990         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
991         like `beginning-of-defun'.
992         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
993         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
994         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
995         (log-view-extract-comment): Call `log-view-current-entry' directly
996         instead of relying on broken `log-view-beginning-of-defun' behavior.
998 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
1000         Spelling fixes.
1001         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1002         * emacs-lisp/debug.el (cancel-debug-on-entry):
1003         * epg.el (epg-error-to-string):
1004         * files.el (recover-file):
1005         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1006         * mail/emacsbug.el (report-emacs-bug-hook):
1007         * mail/sendmail.el (mail-recover):
1008         * ses.el (ses-yank-resize):
1009         * term/ns-win.el (ns-print-buffer):
1010         Spelling fixes in diagnostics, mostly for "canceled" with one L.
1011         * epg.el (epg-key-capability-alist): Rename from misspelled version.
1012         All uses changed.
1013         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1015 2014-01-06  Leo Liu  <sdl.web@gmail.com>
1017         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1018         to avoid shadowing global key.  (Bug#16354)
1020 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1022         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1023         rst-mode.
1025 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
1027         * window.el (balance-windows): Add mising t to fix Bug#16351.
1029 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1031         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1032         (bug#16285).
1033         (shr-insert): If we have a word that's longer than `shr-width',
1034         break after it anyway.  Otherwise we'll do no breaking once we get
1035         such a long word.
1037 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1039         * net/eww.el (eww): Support single/double quote for search.
1040         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1041         (eww-history-quit): Delete and use quit-window.
1042         (eww-history-kill): Delete, because it doesn't work well and
1043         not necessary.
1044         (eww-history-mode-map): Delete some keys and add easy-menu.
1046 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1048         Fix misspelling of 'chinese' in rx (Bug#16237).
1049         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1050         chinese-two-byte.
1052         Change subword regexps back to vars (Bug#16296).
1053         * progmodes/subword.el (subword-forward-regexp)
1054         (subword-backward-regexp): Change these back to variables.
1056 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1058         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1059         syntax-begin-function (bug#16247).
1061 2014-01-03  Chong Yidong  <cyd@gnu.org>
1063         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1064         (advice--docstring): Delete variable.
1065         (advice--make-1): Leave the docstring empty.
1066         (advice-add): Use function-documentation for advised docstring.
1068         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1069         Ignore function-documentation property when getting documentation.
1070         (ad-activate-advised-definition): Use function-documentation
1071         generate the docstring.
1072         (ad-make-advised-definition): Don't call
1073         ad-make-advised-definition-docstring.
1074         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1075         Delete functions.
1077         * progmodes/sql.el (sql-help): Use function-documentation instead
1078         of dynamic-docstring-function property.  No need to autoload now.
1079         (sql--help-docstring): New variable.
1080         (sql--make-help-docstring): Use it.
1082 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1084         * ielm.el (ielm-tab): Retarget.
1085         (ielm-map): Use ielm-tab for tab.
1086         (ielm-complete-filename): Use comint-filename-completion.
1087         (ielm-complete-symbol): Remove.
1088         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1089         remove ielm-tab from completion-at-point-functions (bug#16224).
1091         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1092         Beware signals raised by predicates (bug#16201).
1094 2014-01-02  Richard Stallman  <rms@gnu.org>
1096         * dired-aux.el (dired-do-print): Handle printer-name.
1098         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1099         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1100         (rmail-epa-decrypt): Turn off mime processing.
1102         * mail/rmail.el (rmail-make-in-reply-to-field):
1103         Add parens in message-id.
1105         * mail/rmail.el (rmail-get-coding-function): Variable.
1106         (rmail-get-coding-system): Use it.
1108 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
1110         * international/mule-conf.el: Unify the charset indian-is13194.
1111         (indian-is13194): Specify unify-map.
1113 2013-12-31  Leo Liu  <sdl.web@gmail.com>
1115         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
1117 2013-12-30  Daniel Colascione  <dancol@dancol.org>
1119         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1120         of printing a useless when we resume from sleep.
1122         * progmodes/sh-script.el
1123         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1124         in indentation code.  (Bug#16233)
1126 2013-12-28  João Távora  <joaotavora@gmail.com>
1128         * elec-pair.el (electric-pair-post-self-insert-function):
1129         Don't open extra newlines at beginning of buffer.  (Bug#16272)
1131 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
1133         * frame.el (window-system-for-display): Don't allow to create a
1134         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
1136 2013-12-28  Glenn Morris  <rgm@gnu.org>
1138         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1139         Update callers.
1141         * apropos.el (apropos-match-face):
1142         * calculator.el (calculator-displayer):
1143         * dabbrev.el (dabbrev-search-these-buffers-only):
1144         * face-remap.el (buffer-face-mode-face):
1145         * simple.el (yank-handled-properties):
1146         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1147         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1148         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1149         (hashcash-double-spend-database):
1150         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1151         (ruby-deep-indent-paren-style):
1152         * textmodes/flyspell.el (flyspell-auto-correct-binding):
1153         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1154         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1155         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1156         Specify custom types.
1158         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1159         * bookmark.el (bookmark-bmenu-use-header-line):
1160         * doc-view.el (doc-view-scale-internally):
1161         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1162         * register.el (register-preview-delay):
1163         * net/shr.el (shr-bullet):
1164         * progmodes/cfengine.el (cfengine-cf-promises)
1165         (cfengine-parameters-indent):
1166         * progmodes/octave.el (inferior-octave-error-regexp-alist):
1167         * textmodes/reftex-vars.el (reftex-label-regexps):
1168         * vc/log-edit.el (log-edit-setup-add-author): Add version.
1170         * net/tls.el (tls-certtool-program): Fix default value.
1172         * desktop.el (desktop-restore-in-current-display):
1173         * newcomment.el (comment-empty-lines):
1174         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1175         (idlwave-pad-keyword):
1176         * progmodes/tcl.el (tcl-tab-always-indent):
1177         * textmodes/reftex-vars.el (reftex-index-default-tag):
1178         * elec-pair.el (electric-pair-skip-whitespace):
1179         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1181         * emacs-lisp/authors.el (authors-ignored-files)
1182         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1184 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1186         * shell.el (shell-dynamic-complete-command): Doc fix.
1187         (shell--command-completion-data): Shell completion now matches
1188         executable filenames from the current buffer's directory, on
1189         systems in which this behavior is the default (windows-nt, ms-dos).
1191 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1193         * net/shr.el (shr-insert): Don't infloop if the width is zero.
1195 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1197         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1198         (bug#16251).
1200         * electric.el: Move all electric-pair-* to elec-pair.el.
1201         * elec-pair.el: New file, split from electric.el.
1203 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1205         * net/shr.el (shr-find-fill-point): Don't try to fill if the
1206         indentation level is larger than the width, because that will
1207         infloop.
1208         (shr-insert): Fill repeatedly long texts, so that Japanese is
1209         formatted correctly (bug#16263).
1210         (shr-find-fill-point): Off by one error in comparison with the
1211         indentation.
1213 2013-12-26  João Távora  <joaotavora@gmail.com>
1215         * electric.el (electric-pair-mode): More flexible engine for skip-
1216         and inhibit predicates, new options for pairing-related functionality.
1217         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1218         if that keeps or improves their balance in buffers.
1219         (electric-pair-delete-adjacent-pairs): Delete the pair when
1220         backspacing over adjacent matched delimiters.
1221         (electric-pair-open-extra-newline): Open extra newline when
1222         inserting newlines between adjacent matched delimiters.
1223         (electric--sort-post-self-insertion-hook):
1224         Sort post-self-insert-hook according to priority values when
1225         minor-modes are activated.
1226         * simple.el (newline-and-indent): Call newline with interactive
1227         set to t.
1228         (blink-paren-post-self-insert-function): Set priority to 100.
1229         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1230         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1231         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
1232         electric-pair-open-newline-between-pairs to nil.
1234 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1236         * progmodes/python.el: Use lexical-binding.
1237         (python-nav-beginning-of-defun): Stop searching ASAP.
1239 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
1241         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1242         Fix interactive spec.  Doc fix.  (Bug#15754)
1244 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1246         * emacs-lisp/byte-run.el (eval-when-compile):
1247         * progmodes/cc-defs.el (cc-eval-when-compile):
1248         Fix edebug spec (bug#16184).
1250 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1252         * net/shr.el (shr-visit-file): Remove debugging function.
1253         (shr-insert): Don't infloop if we can't find a good place to break
1254         the line (bug#16256).
1256 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1258         * progmodes/python.el:
1259         (python-nav--lisp-forward-sexp): New function.
1260         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
1261         python-nav-lisp-forward-sexp-safe.
1262         (python-nav--forward-sexp): New argument SAFE allows switching
1263         forward sexp movement behavior for parens.
1264         (python-nav-forward-sexp): Throw errors on unterminated parens
1265         (Bug#16191).
1266         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1267         (python-nav-backward-sexp-safe): New functions.
1268         (python-shell-buffer-substring):
1269         Use `python-nav-forward-sexp-safe'.
1271 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1273         * net/shr.el (shr-find-fill-point): Don't break lines before a
1274         quotation mark.
1275         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1276         (shr-find-fill-point): Remove the special checks for the quotation
1277         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1279 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1281         * net/eww.el (eww-form-textarea): Use a different face for
1282         textareas than text input since they have different keymaps
1283         (bug#16142).
1285 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1287         * progmodes/python.el (python-nav-beginning-of-statement):
1288         Speed up (Bug#15295).
1290 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1292         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1293         the window configuration.
1295 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
1297         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1298         we run on MS-Windows or MS-DOS.
1300 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
1302         * window.el (balance-windows-area): Call window-size instead of
1303         window-height and window-width.  Bug#16241.
1305 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1307         * net/eww.el (eww-bookmark-quit): Remove.
1308         (eww-bookmark-browse): Restore the window configuration when you
1309         choose a bookmark (bug#16144).
1311 2013-12-24  Daniel Colascione  <dancol@dancol.org>
1313         * icomplete.el: Remove redundant :group arguments to `defcustom'
1314         throughout.
1315         (icomplete-show-matches-on-no-input): New customizable variable.
1316         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1317         we have something to show.
1318         (icomplete-exhibit): Compute completions even if we have no user input.
1320 2013-12-23  Daniel Colascione  <dancol@dancol.org>
1322         * icomplete.el: Move `provide' to end of file.
1324 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
1326         * net/gnutls.el (gnutls-verify-error): Add version tag.
1328 2013-12-23  Chong Yidong  <cyd@gnu.org>
1330         * subr.el (set-transient-map): Rename from
1331         set-temporary-overlay-map.  Doc fix.
1333         * face-remap.el (text-scale-adjust):
1334         * indent.el (indent-rigidly):
1335         * kmacro.el (kmacro-call-macro):
1336         * minibuffer.el (minibuffer-force-complete):
1337         * repeat.el (repeat):
1338         * simple.el (universal-argument--mode):
1339         * calendar/todo-mode.el (todo-insert-item--next-param):
1340         * progmodes/f90.el (f90-abbrev-start): Callers changed.
1342         * indent.el (indent-rigidly): Use substitute-command-keys.
1344 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1346         * net/eww.el (eww-tag-select): Add text-property to jump to next
1347         select field.
1348         (eww): Add non-supported ftp error.
1350 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1352         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1353         comments.  Handle electric indent after typing `?' and `!'.
1355 2013-12-22  Chong Yidong  <cyd@gnu.org>
1357         * faces.el (face-spec-recalc): If the theme specs are not
1358         applicable to a frame, fall back on the defface spec.
1359         This prevents themes from obliterating faces on low-color terminals.
1361 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1363         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1364         after `{'.  We need it after block openers, and it doesn't seem
1365         to hurt after hash openers.
1367 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1369         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1370         extracted from `ruby-smie-rules'.
1371         (ruby--electric-indent-chars): New variable.
1372         (ruby--electric-indent-p): New function.
1373         (ruby-mode): Use `electric-indent-functions' instead of
1374         `electric-indent-chars'.
1376 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1378         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1379         docstring.
1380         (ruby-smie-rules): Indent plus one level after `=>'.
1382 2013-12-21  Richard Stallman  <rms@gnu.org>
1384         * simple.el (newline): Doc fix.
1386 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1388         * net/eww.el (eww-list-histories, eww-list-histories)
1389         (eww-history-browse, eww-history-quit, eww-history-kill)
1390         (eww-history-mode-map, eww-history-mode): New command and
1391         functions to list browser histories.
1392         (eww-form-text): Support text form with disabled
1393         and readonly attributes.
1394         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1396 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1398         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1399         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1400         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1401         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1402         Use `user-error'.
1403         (eww-bookmark-mode-map): Add menu.
1404         (eww-render, eww-mode): Use `setq-local'.
1405         (eww-tool-bar-map): New variable.
1406         (eww-mode): Set `tool-bar-map'.
1407         (eww-view-source): Check for `html-mode' with `fboundp'.
1409 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1411         * net/shr.el (shr--extract-best-source): Don't bug out on audio
1412         elements with text inside.  Also remove debugging.
1414 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
1416         * cus-start.el (all): Add ns-use-srgb-colorspace.
1418 2013-12-21  Chong Yidong  <cyd@gnu.org>
1420         * custom.el (custom-theme-recalc-face): Do nothing if the face is
1421         undefined.  Thus, theme settings for undefined faces do not take
1422         effect until the faces are defined with defface, the same as with
1423         theme variables.
1425         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1426         (face-spec-reset-face): Don't assign extra properties in temacs.
1427         (face-spec-recalc): Apply X resources too.
1429 2013-12-21  Chong Yidong  <cyd@gnu.org>
1431         * faces.el (face-spec-set):
1432         * cus-face.el (custom-theme-set-faces, custom-set-faces):
1433         * custom.el (defface): Doc fixes (Bug#16203).
1435         * indent.el (indent-rigidly-map): Add docstring, and move commands
1436         into named functions.
1437         (indent-rigidly-left, indent-rigidly-right)
1438         (indent-rigidly-left-to-tab-stop)
1439         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
1440         indentation direction based on bidi direction, and accumulate
1441         sequential commands in a single undo boundary.
1442         (indent-rigidly--pop-undo): New utility function.
1444 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
1446         * faces.el (read-face-name): Require crm.el when using crm-separator.
1448 2013-12-20  Daniel Colascione  <dancol@dancol.org>
1450         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1451         so that we don't reflow comments into the shebang line.
1453 2013-12-20  Juri Linkov  <juri@jurta.org>
1455         * saveplace.el (save-place-to-alist): Add `dired-filename' as
1456         a position when `dired-directory' is non-nil.  Check integer
1457         positions with `integerp'.
1458         (toggle-save-place, save-places-to-alist): Add check for
1459         `dired-directory'.
1460         (save-place-find-file-hook): Check integer positions with
1461         `integerp'.
1462         (save-place-dired-hook): Use `dired-goto-file' when
1463         `dired-filename' is found in the assoc list.  Check integer
1464         positions with `integerp'.
1465         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1467         * dired.el (dired-initial-position-hook): Rename back from
1468         `dired-initial-point-hook'.
1469         (dired-initial-position): Rename `dired-initial-point-hook' to
1470         `dired-initial-position-hook'.
1471         (dired-file-name-at-point): Doc fix.  (Bug#15329)
1473 2013-12-20  Juri Linkov  <juri@jurta.org>
1475         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1476         (read-regexp-suggestions): New function.
1477         (read-regexp): Use `read-regexp-defaults-function' to get default values.
1478         Use `read-regexp-suggestions'.  Add non-empty default to history
1479         for empty input.
1480         (occur-read-regexp-defaults-function): Remove function.
1481         (occur-read-primary-args): Use `regexp-history-last' instead of
1482         `occur-read-regexp-defaults-function'.
1484         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1485         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1486         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1487         `hi-lock-read-regexp-defaults-function'.  Doc fix.
1488         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1489         with `find-tag-default-as-symbol-regexp'.  Doc fix.
1490         (hi-lock-read-regexp-defaults): Remove function.
1491         (hi-lock-regexp-okay): Add check for null.
1493         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1494         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
1496         * subr.el (find-tag-default-as-symbol-regexp): New function.
1497         (find-tag-default-as-regexp): Move symbol regexp formatting to
1498         `find-tag-default-as-symbol-regexp'.
1500 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
1502         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1503         (Bug#14179)
1505 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1507         * calendar/todo-mode.el: New implementation of item insertion
1508         commands and key bindings.
1509         (todo-key-prompt): New face.
1510         (todo-insert-item): New command.
1511         (todo-insert-item--parameters): New defconst, replacing defvar
1512         todo-insertion-commands-args-genlist.
1513         (todo-insert-item--param-key-alist): New defconst, replacing
1514         defvar todo-insertion-commands-arg-key-list.
1515         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1516         (todo-insert-item--argsleft, todo-insert-item--apply-args)
1517         (todo-insert-item--next-param): New functions.
1518         (todo-insert-item--args, todo-insert-item--argleft)
1519         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1520         New variables.
1521         (todo-key-bindings-t): Change binding of "i" from
1522         todo-insertion-map to todo-insert-item.
1523         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1524         (todo-insertion-command-name, todo-insertion-commands-names)
1525         (todo-define-insertion-command, todo-insertion-commands)
1526         (todo-insertion-key-bindings, todo-insertion-map): Remove.
1528 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1530         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1531         (todo-toggle-item-highlighting): Use eval-and-compile instead of
1532         eval-when-compile.
1533         (todo-move-category): Allow choosing a non-existing todo file to
1534         move the category to, and create that file.
1535         (todo-default-priority): New user option.
1536         (todo-set-item-priority): Use it.
1537         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1538         (desktop-restore-file-buffer): Declare.
1539         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1540         (todo-modes-set-2): Locally set desktop-save-buffer to
1541         todo-desktop-save-buffer.
1542         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1543         (auto-mode-alist): Add autoload cookie.
1545 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
1547         * emacs-lisp/subr-x.el: Renamed from helpers.el.
1548         helpers.el was a poor choice of name.
1549         (string-remove-prefix): New function.
1550         (string-remove-suffix): New function.
1552 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
1554         Fix assignment for new window total sizes.
1555         * window.el (window--pixel-to-size): Remove function.
1556         (window--pixel-to-total-1, window--pixel-to-total):
1557         Fix calculation of new total sizes.
1559 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
1561         * comint.el (comint-output-filter): Fix rear-nonsticky property
1562         placement (Bug#16010).
1564 2013-12-20  Chong Yidong  <cyd@gnu.org>
1566         * faces.el (read-color): Minor fix for completion function.
1568 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
1570         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1571         New option.  (Bug#16182)
1572         (ruby-smie--indent-to-stmt-p): Use it.
1573         (ruby-smie-rules): Revert the logic in the handling of `when'.
1574         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1575         (ruby-deep-arglist, ruby-deep-indent-paren)
1576         (ruby-deep-indent-paren-style): Update docstrings to note that the
1577         vars don't have any effect with SMIE.
1579 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
1581         * calc/calc.el (calc-enter, calc-pop): Use the variable
1582         `calc-context-sensitive-enter'.
1584 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1586         * net/shr.el (shr-insert): Protect against infloops in degenerate
1587         tables.
1589 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1591         * progmodes/octave.el (octave): Add link to manual and octave
1592         homepage.
1593         (octave-mode-menu): Link to octave-mode manual.
1595 2013-12-20  Leo Liu  <sdl.web@gmail.com>
1597         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1598         insertion using skeleton-end-newline.  (Bug#16138)
1600 2013-12-20  Juri Linkov  <juri@jurta.org>
1602         * replace.el (occur-engine): Use `add-face-text-property'
1603         to add the face property to matches and titles.  (Bug#14645)
1605         * hi-lock.el (hi-green): Use lighter color "light green" closer to
1606         the palette of other hi-lock colors.
1607         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1609 2013-12-19  Juri Linkov  <juri@jurta.org>
1611         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1612         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
1613         (minibuffer-history-symbol): Move variable declaration closer to
1614         its usage.
1616         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1617         (Bug#14785)
1619 2013-12-19  Juri Linkov  <juri@jurta.org>
1621         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1622         New function.
1623         (log-edit-hook): Add it to :options.  (Bug#16170)
1625 2013-12-19  Juri Linkov  <juri@jurta.org>
1627         * simple.el (eval-expression-print-format): Don't check for
1628         command names and the last command.  Always display additional
1629         formats of the integer result in the echo area, and insert them
1630         to the current buffer only with a zero prefix arg.
1631         Display character when char-displayable-p is non-nil.
1632         (eval-expression): With a zero prefix arg, set `print-length' and
1633         `print-level' to nil, and insert the integer values from
1634         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
1636         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1637         `eval-last-sexp-arg-internal'.  Doc fix.
1638         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1639         `eval-last-sexp-print-value'.  Doc fix.
1640         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1641         Set `print-length' and `print-level' to nil when arg is zero.
1642         (eval-last-sexp): Doc fix.
1643         (eval-defun-2): Print the integer values from
1644         `eval-expression-print-format' at the end.
1646         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1647         values from `eval-expression-print-format' at the end.
1649         * ielm.el (ielm-eval-input): Print the integer
1650         values from `eval-expression-print-format' at the end.
1652 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
1654         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1655         2013-12-11 (r115470).
1657 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1659         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
1660         (hl-line-highlight, global-hl-line-highlight): Use it.
1661         (hl-line-overlay): Use defvar-local.
1663 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
1665         * term/ns-win.el: Require dnd.
1666         (global-map): Remove drag items.
1667         (ns-insert-text, ns-set-foreground-at-mouse)
1668         (ns-set-background-at-mouse):
1669         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1670         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1671         New functions.
1673 2013-12-19  Glenn Morris  <rgm@gnu.org>
1675         * emacs-lisp/ert.el (ert-select-tests):
1676         Fix string/symbol mixup.  (Bug#16121)
1678 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1680         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1681         keywords to their parent.
1683 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1685         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1686         first arg to be a string (fixed dead code), or an operator symbol.
1687         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1688         operator symbols.
1689         (ruby-smie-rules): Remove parent token check in the `.' clause, it
1690         did nothing.  Don't respond to `(:after ".")', it will be called
1691         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
1692         change anything.  Only return indentation for binary operators
1693         when they are hanging.  De-dent opening paren when its parent is
1694         `.', otherwise it looks bad when the dot is not at bol or eol
1695         (bug#16182).
1697 2013-12-19  Juri Linkov  <juri@jurta.org>
1699         * replace.el (query-replace-read-args): Split a non-negative arg
1700         and a negative arg into separate elements.
1701         (query-replace, query-replace-regexp, replace-string)
1702         (replace-regexp): Add arg `backward'.  Doc fix.
1703         (replace-match-maybe-edit): When new arg `backward' is non-nil,
1704         move point to the beginning of the match.
1705         (replace-search, replace-highlight): Use new arg `backward'
1706         to set the value of `isearch-forward'.
1707         (perform-replace): Add arg `backward' and use it to perform
1708         replacement backward.  (Bug#14979)
1710         * isearch.el (isearch-query-replace): Use a negative prefix arg
1711         to call `perform-replace' with a non-nil arg `backward'.
1713 2013-12-18  Juri Linkov  <juri@jurta.org>
1715         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1716         to the default list.  Move `log-edit-show-files' to the end.
1717         Add more available functions to options.
1718         (log-edit): Move default specific settings to
1719         `log-edit-insert-message-template'.  Don't move point.
1720         (log-edit-insert-message-template): New function.
1721         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1722         (Bug#16170)
1724 2013-12-18  Juri Linkov  <juri@jurta.org>
1726         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1727         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
1729 2013-12-18  Leo Liu  <sdl.web@gmail.com>
1731         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1732         (Bug#16186)
1734 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
1736         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1737         formats for displaying file sizes when the -s switch is given.
1738         Instead, compute a separate format for displaying the size in
1739         blocks, which is displayed in addition to the "regular" size.
1740         When -h is given in addition to -s, produce size in blocks in
1741         human-readable form as well.  (Bug#16179)
1743 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
1745         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1746         Reference tables with ~\ref{...} instead of only \ref{...}.
1748 2013-12-18  Chong Yidong  <cyd@gnu.org>
1750         * cus-edit.el (custom-magic-alist): Fix "themed" description
1751         (Bug#14348).
1753         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1754         is non-nil, do not create a new entry in the symbol's theme-value
1755         or theme-face property; update theme-settings only (Bug#14664).
1756         (custom-available-themes): Doc fix.
1758         * cus-theme.el (custom-new-theme-mode-map): Add bindings
1759         (Bug#15674).
1761         * replace.el (occur-engine): Avoid infloop (Bug#7593).
1763 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1765         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1766         (Bug#13914).
1768 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1770         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1772 2013-12-18  Glenn Morris  <rgm@gnu.org>
1774         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1775         * cus-start.el (load-prefer-newer): New option.
1777 2013-12-18  Le Wang  <l26wang@gmail.com>
1779         * comint.el (comint-previous-matching-input-from-input):
1780         Retain point (Bug#13404).
1782 2013-12-18  Chong Yidong  <cyd@gnu.org>
1784         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1786 2013-12-18  Glenn Morris  <rgm@gnu.org>
1788         * mail/emacsbug.el (report-emacs-bug):
1789         Only mention enable-multibyte-characters if non-standard.
1791 2013-12-17  Juri Linkov  <juri@jurta.org>
1793         * arc-mode.el (archive-extract-by-file): Check if directory exists
1794         before deletion to not show irrelevant errors if it doesn't exist.
1796 2013-12-17  Juri Linkov  <juri@jurta.org>
1798         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1799         (Bug#14751)
1801         * net/eww.el (browse-web): Add alias to `eww'.
1802         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1803         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1805         * net/browse-url.el (browse-url-browser-function): Move `eww'
1806         closer to similar functions.
1808         * startup.el (fancy-startup-screen, fancy-about-screen):
1809         Set browse-url-browser-function to eww-browse-url locally.
1810         (Bug#14751)
1812 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1814         * window.el (window--pixel-to-total): Remove unused `mini' var.
1815         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1816         (split-window): Remove unused `new' var.
1817         (window--display-buffer): Remove unused `frame' and `delta' vars.
1818         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1819         and display-width'.
1821 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1823         * dired.el (dired-mark-pop-up):
1824         * register.el (register-preview): Don't bind
1825         split-height-threshold here since it's now done in
1826         display-buffer-below-selected.
1828 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1830         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1831         xterm-rgb-convert-to-16bit.
1832         (rxvt-register-default-colors): Standardize with
1833         xterm-register-default-colors (Bug#14078).
1835 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1837         * simple.el (kill-region): Pass mark first, then point, so that
1838         kill-append works right (Bug#12819).
1839         (copy-region-as-kill, kill-ring-save): Likewise.
1841 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1843         * net/rcirc.el (rcirc-add-face):
1844         * eshell/em-prompt.el (eshell-emit-prompt):
1845         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1846         (Bug#16167)
1848 2013-12-17  Chong Yidong  <cyd@gnu.org>
1850         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1851         Suggested by Xue Fuqiao.
1853 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1855         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1857 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1859         * net/shr.el (shr-insert-document): Remove unused var
1860         `shr-preliminary-table-render'.
1861         (shr-rescale-image): Remove unused arg `force'.
1862         (shr-put-image): Update calls accordingly.
1863         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1865 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1867         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1868         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1869         :close-all, to see which indentation method to use (Bug#16116).
1870         (smie-rules-function): Document the method :close-all.
1872 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1874         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1876         * net/eww.el (eww-display-html): If we can't find the anchor we're
1877         looking for, then go to point-min.
1879 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1881         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1882         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1883         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1884         Expand dir too, in case it's relative.
1886 2013-12-16  Juri Linkov  <juri@jurta.org>
1888         * desktop.el (desktop-auto-save-timeout): Change default to
1889         `auto-save-timeout'.  Doc fix.
1890         (desktop-save): Skip the timestamp in desktop-saved-frameset
1891         when checking for auto-save changes.
1892         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1893         `desktop-auto-save' is called repeatedly by the idle timer.
1894         (desktop-auto-save-set-timer): Replace `run-with-timer' with
1895         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
1896         (Bug#15331)
1898 2013-12-16  Juri Linkov  <juri@jurta.org>
1900         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1901         (Bug#16035)
1902         (isearch-pre-command-hook): Check `this-command' for symbolp.
1904 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1906         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1908 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
1910         * progmodes/cfengine.el (cfengine3--current-word): Remove.
1911         (cfengine3--current-function): Bring in the current-function
1912         functionality from `cfengine3--current-word'.
1913         (cfengine3-completion-function): Bring in the
1914         bounds-of-current-word functionality from
1915         `cfengine3--current-word'.
1917 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
1919         * window.el (display-buffer-below-selected):
1920         Bind split-height-threshold to 0 as suggested by Juri Linkov.
1922 2013-12-16  Leo Liu  <sdl.web@gmail.com>
1924         * progmodes/compile.el (compile-goto-error): Do not push-mark.
1925         Remove NOMSG arg and all uses changed.
1927 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1929         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1930         (cua--deactivate-rectangle): Don't deactivate the mark.
1931         (cua-set-rectangle-mark): Don't set mark-active since
1932         cua--activate-rectangle already does it for us.
1933         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1934         non-rectangular region.
1936         * emulation/cua-base.el (cua-repeat-replace-region):
1937         Use with-current-buffer.
1939         * net/gnutls.el: Use cl-lib.
1940         (gnutls-negotiate): `mapcan' -> cl-mapcan.
1942 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1944         * emacs-lisp/package.el (package-built-in-p): Support both
1945         built-in and the package.el converted package descriptions.
1946         (package-show-package-list): Allow keywords.
1947         (package-keyword-button-action): Use it instead of
1948         `finder-list-matches'.
1949         (package-menu-filter-interactive): Interactive filtering (by
1950         keyword) function.
1951         (package-menu--generate): Support keywords and change keymappings
1952         and headers when they are given.
1953         (package--has-keyword-p): Helper function.
1954         (package-menu--refresh): Use it.
1955         (package--mapc): Helper function.
1956         (package-all-keywords): Use it.
1957         (package-menu-mode-map): Set up menu items and keybindings to
1958         provide a filtering UI.
1960 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1962         * net/gnutls.el (gnutls-verify-error): New defcustom to control
1963         the behavior when a certificate fails validation.  Defaults to
1964         old behavior: never abort, just warn.
1965         (gnutls-negotiate): Use it.
1967 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
1969         * window.el (display-buffer-below-selected): Never split window
1970         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
1972 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1974         * emacs-lisp/package.el (package--prepare-dependencies): New function.
1975         (package-buffer-info): Use it (bug#15108).
1977 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1979         * icomplete.el (icomplete-completions): Make sure the prefix is already
1980         displayed elsewhere before hiding it (bug#16219).
1982 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1984         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1985         open-paren tokens when preceded by a open-paren, too.
1986         (ruby-smie-rules): Handle virtual indentation after open-paren
1987         tokens specially.  If there is code between it and eol, return the
1988         column where is starts (Bug#16118).
1990 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1992         * progmodes/cfengine.el: Fix `add-hook' doc.
1993         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1994         (cfengine3--current-word): Fix parameters.
1995         (cfengine3-make-syntax-cache): Simplify further.
1996         (cfengine3-completion-function, cfengine3--current-function):
1997         Use `assq' for symbols.
1998         (cfengine3--current-function): Fix `cfengine3--current-word' call.
2000 2013-12-13  Glenn Morris  <rgm@gnu.org>
2002         * loadup.el (load-path): Warn if site-load or site-init changes it.
2003         No more need to reset it when bootstrapping.
2005 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2007         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2008         locations for cf-promises.
2009         (cfengine-mode-syntax-functions-regex): New caching variable.
2010         (cfengine3-fallback-syntax): Fallback syntax for cases where
2011         cf-promises doesn't run.
2012         (cfengine3--current-word): Reimplement using
2013         `cfengine-mode-syntax-functions-regex'.
2014         (cfengine3-completion-function, cfengine3--current-function):
2015         Use `cfengine3-make-syntax-cache' directly.
2016         (cfengine3-clear-syntax-cache): New function.
2017         (cfengine3-make-syntax-cache): Simplify and create
2018         `cfengine-mode-syntax-functions-regex' on demand.
2019         (cfengine3-format-function-docstring): Don't call
2020         `cfengine3-make-syntax-cache' explicitly.
2022 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
2024         Fix windmove-find-other-window broken after pixelwise resizing
2025         (Bug#16017).
2026         * windmove.el (windmove-other-window-loc): Revert change from
2027         2013-12-04.
2028         (windmove-find-other-window): Call window-in-direction.
2029         * window.el (window-in-direction): New arguments SIGN, WRAP and
2030         MINI to emulate original windmove-find-other-window behavior.
2032 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
2034         * simple.el (blink-matching--overlay): New variable.
2035         (blink-matching-open): Instead of moving point, highlight the
2036         matching paren with an overlay
2037         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2039         * faces.el (paren-showing-faces, show-paren-match)
2040         (show-paren-mismatch): Move from paren.el.
2042 2013-12-13  Leo Liu  <sdl.web@gmail.com>
2044         * indent.el (indent-region): Disable progress reporter in
2045         minibuffer.  (Bug#16108)
2047         * bindings.el (visual-order-cursor-movement): Fix version.
2049 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2051         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2052         Also match after beginning of line.
2053         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2054         files.  Thanks to Russell Sim.  (Bug#15378)
2056 2013-12-13  Juri Linkov  <juri@jurta.org>
2058         * simple.el <Keypad support>: Remove key bindings duplicated
2059         with bindings.el.  (Bug#14397)
2061 2013-12-13  Juri Linkov  <juri@jurta.org>
2063         * comint.el (comint-mode-map): Replace `delete-char' with
2064         `delete-forward-char'.  (Bug#16109)
2066 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2068         * progmodes/python.el (python-indent-calculate-indentation):
2069         Fix de-denters cornercase.  (Bug#15731)
2071 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2074         (advice--make): Pay attention to `depth'.
2075         (advice--make-1): Don't autoload commands eagerly.
2076         * emacs-lisp/elp.el (elp-instrument-function):
2077         * emacs-lisp/trace.el (trace-function-internal):
2078         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2080         * iswitchb.el (iswitchb-mode): Don't belittle ido.
2082 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
2084         * term/w32-win.el (w32-handle-dropped-file):
2085         * startup.el (normal-top-level):
2086         * net/browse-url.el (browse-url-file-url):
2087         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2088         decode file names using 'utf-8' rather than
2089         file-name-coding-system.
2091 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2093         * progmodes/python.el (python-indent-context)
2094         (python-indent-calculate-indentation): Fix auto-identation
2095         behavior for comment blocks.  (Bug#15916)
2097 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2099         * progmodes/python.el (python-indent-calculate-indentation):
2100         When determining indentation, don't treat "return", "pass", etc., as
2101         operators when they are just string constituents.  (Bug#15812)
2103 2013-12-12  Juri Linkov  <juri@jurta.org>
2105         * uniquify.el (uniquify-buffer-name-style): Change default to
2106         `post-forward-angle-brackets'.
2108         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2109         `uniquify'.  Change default to `post-forward-angle-brackets'.
2111 2013-12-11  Glenn Morris  <rgm@gnu.org>
2113         * emacs-lisp/package.el (finder-list-matches):
2114         Autoload rather than falsely declaring.
2116 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
2118         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2119         (eww-mode-map): Use them.
2121 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
2123         * window.el (display-buffer-in-side-window): Fix doc-string
2124         (Bug#16115).
2126 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
2128         * vc/vc-git.el: Silence byte-compiler warnings.
2129         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2130         (log-edit-set-header): Declare.
2132 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
2134         * Makefile.in (custom-deps, finder-data): Run output file names
2135         through unmsys--file-name.  (Bug#16099)
2137 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2140         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2142         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2143         instead of deleting the selection "by hand" (bug#16098).
2144         Rely on insert-for-yank to yank rectangles.
2145         (cua-highlight-region-shift-only): Mark obsolete.
2146         (cua-mode): Don't enable/disable transient-mark-mode,
2147         shift-select-mode (cua-mode works both with and without them), and
2148         pc-selection-mode (obsolete).
2149         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2150         (cua--deactivate-rectangle): Deactivate it.
2152         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2153         (delete-selection-helper): Make sure yank starts at the top of the
2154         deleted region.
2155         (minibuffer-keyboard-quit): Use region-active-p.
2157         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2159         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2160         to `delete' (bug#16109).
2162 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2164         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2165         info manual and show keybindings and set `:group' keyword.
2167 2013-12-11  Juri Linkov  <juri@jurta.org>
2169         * delsel.el (delete-active-region): Let-bind `this-command'
2170         to prevent `kill-region' from changing its original value.
2171         (delete-selection-helper): Handle `overwrite-mode' for the type
2172         `kill' exactly the same way as for the type `t'.
2173         (insert-char, quoted-insert, reindent-then-newline-and-indent):
2174         Support more commands.  (Bug#13312)
2176 2013-12-11  Juri Linkov  <juri@jurta.org>
2178         * bindings.el: Map kp keys to non-kp keys systematically
2179         with basic modifiers control, meta and shift.  (Bug#14397)
2181 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2183         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2184         "Close browser" menu items.  Fix wrong function of "List
2185         bookmarks".
2187 2013-12-11  Juri Linkov  <juri@jurta.org>
2189         * misearch.el (multi-isearch-buffers): Set the value of
2190         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2191         arg of isearch-forward to t.
2192         (multi-isearch-buffers-regexp): Set the value of
2193         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2194         arg of isearch-forward-regexp to t.
2195         (multi-isearch-files): Set the value of
2196         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2197         arg of isearch-forward to t.
2198         (multi-isearch-files-regexp): Set the value of
2199         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
2200         arg of isearch-forward-regexp to t.  (Bug#16035)
2202         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2203         arg of isearch-forward to t.
2204         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2205         arg of isearch-forward-regexp to t.
2206         (dired-isearch-filter-filenames): Remove unnecessary check for
2207         `dired-isearch-filenames'.
2209         * comint.el (comint-history-isearch-backward):
2210         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2211         (comint-history-isearch-backward-regexp):
2212         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2214 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
2216         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2217         unmsys--file-name.  (Bug#16099)
2219 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
2221         * emacs-lisp/package.el (package-keyword-button-action):
2222         Remove finder.el require dependency.
2224 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
2226         * emacs-lisp/package.el: Require finder.el.
2227         (describe-package-1): Add keyword buttons.
2228         (package-make-button): New convenience function.
2229         (package-keyword-button-action): Keyword button action using
2230         `finder-list-matches'.
2232 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
2234         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2235         last commit.
2237 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
2239         * autorevert.el (auto-revert-notify-add-watch): Do not handle
2240         symlinked files.
2242 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2244         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2245         after the end of a percent literal.
2247 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2249         * progmodes/ruby-mode.el (ruby-forward-string): Document.
2250         Handle caret-delimited strings (Bug#16079).
2252 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2254         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2255         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2256         `ruby-parse-partial' (Bug#16078).
2258 2013-12-09  Leo Liu  <sdl.web@gmail.com>
2260         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
2262 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
2264         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2265         (js-switch-indent-offset): New option.
2266         (js--proper-indentation): Use it.  And handle the case when
2267         "default" is actually a key in an object literal.
2268         (js--same-line): New function.
2269         (js--multi-line-declaration-indentation): Use it.
2270         (js--indent-in-array-comp, js--array-comp-indentation):
2271         New functions.
2272         (js--proper-indentation): Use them, to handle array comprehension
2273         continuations.
2275 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2277         * progmodes/flymake.el (flymake-highlight-line): Re-write.
2278         (flymake-make-overlay): Remove arg MOUSE-FACE.
2279         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2281 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2284         New function.
2285         (redisplay-highlight-region-function): Use it.
2287         * emulation/cua-base.el (cua--explicit-region-start)
2288         (cua--last-region-shifted): Remove.
2289         (cua--deactivate): Use deactivate-mark.
2290         (cua--pre-command-handler-1): Don't handle shift-selection.
2291         (cua--post-command-handler-1): Don't change transient-mark-mode.
2292         (cua--select-keymaps): Use region-active-p rather than
2293         cua--explicit-region-start or cua--last-region-shifted.
2294         (cua-mode): Enable shift-select-mode.
2296 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2298         * progmodes/flymake.el (flymake-popup-current-error-menu):
2299         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
2300         (flymake-posn-at-point-as-event, flymake-popup-menu)
2301         (flymake-make-emacs-menu): Remove.  (Bug#16077)
2303 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2305         * rect.el (rectangle-mark-mode): Activate mark even if
2306         transient-mark-mode is off (bug#16066).
2307         (rectangle--highlight-for-redisplay): Fix boundary condition when point
2308         is > mark and at bolp.
2310         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2311         (region-extract-function): Use it.
2312         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2313         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2314         Delete functions.
2315         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2316         kill-ring-save, kill-region, delete-char, delete-forward-char.
2317         Ignore self-insert-iso.
2319         * emulation/cua-gmrk.el (cua--init-global-mark):
2320         Ignore `self-insert-iso'.
2322         * emulation/cua-base.el (cua--prefix-copy-handler)
2323         (cua--prefix-cut-handler): Rely on region-extract-function rather than
2324         checking cua--rectangle.
2325         (cua-delete-region): Use region-extract-function.
2326         (cua-replace-region): Delete function.
2327         (cua-copy-region, cua-cut-region): Obey region-extract-function.
2328         (cua--pre-command-handler-1): Don't do the delete-selection thing.
2329         (cua--self-insert-char-p): Ignore `self-insert-iso'.
2330         (cua--init-keymaps): Don't remap delete-selection commands.
2331         (cua-mode): Use delete-selection-mode instead of rolling our own
2332         (bug#16085).
2334         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2335         Obey region-extract-function.
2337         Make registers and delete-selection-mode work on rectangles.
2338         * register.el (describe-register-1): Don't modify the register's value.
2339         (copy-to-register): Obey region-extract-function.
2340         * delsel.el (delete-active-region): Obey region-extract-function.
2342 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2344         * progmodes/flymake.el (flymake, flymake-error-bitmap)
2345         (flymake-warning-bitmap, flymake-fringe-indicator-position)
2346         (flymake-compilation-prevents-syntax-check)
2347         (flymake-start-syntax-check-on-newline)
2348         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2349         (flymake-start-syntax-check-on-find-file, flymake-log-level)
2350         (flymake-xml-program, flymake-master-file-dirs)
2351         (flymake-master-file-count-limit)
2352         (flymake-allowed-file-name-masks): Relocate.
2353         (flymake-makehash, flymake-float-time)
2354         (flymake-replace-regexp-in-string, flymake-split-string)
2355         (flymake-get-temp-dir): Remove.
2356         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2357         (flymake-current-row, flymake-selected-frame)
2358         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2359         related functions.  (Bug#16077)
2361 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
2363         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2365 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
2367         * help-fns.el (describe-function-1): Use new advice-* functions
2368         rather than old ad-* functions.  Fix function type description and
2369         source links for advised functions and subrs.
2371 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2373         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2375 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
2377         * progmodes/compile.el (compilation-start):
2378         * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
2380         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2381         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
2383 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2385         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2386         Touch up the last change.
2388 2013-12-06  Leo Liu  <sdl.web@gmail.com>
2390         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2391         (inferior-octave-startup): Always use "octave> " for prompt.
2392         (octave-goto-function-definition)
2393         (octave-sync-function-file-names)
2394         (octave-find-definition-default-filename): Remove redundant backquotes.
2396 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2398         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2399         syntax for `?'.
2400         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2401         where appropriate already.
2402         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2403         end of method names (Bug#15874).
2405 2013-12-06  Juri Linkov  <juri@jurta.org>
2407         * isearch.el (isearch--saved-overriding-local-map):
2408         New internal variable.
2409         (isearch-mode): Set it to the initial value of
2410         `overriding-terminal-local-map'.
2411         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2412         with `isearch--saved-overriding-local-map'.  (Bug#16035)
2414 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2416         * progmodes/octave.el (inferior-octave-completion-table):
2417         Turn back into function, use `completion-table-with-cache'
2418         (Bug#11906).  Update all references.
2420         * minibuffer.el (completion-table-with-cache): New function.
2422 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2424         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2426 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
2428         * net/eww.el (eww-current-source): New variable to store page
2429         source.
2430         (eww-display-html, eww-mode, eww-save-history)
2431         (eww-restore-history): Use it.
2432         (eww-view-source): New command to view page source.
2433         Opportunistically uses `html-mode' to highlight the buffer.
2434         (eww-mode-map): Install it.
2436 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
2438         * net/dbus.el (dbus-unregister-service)
2439         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2440         Fix docstring.
2441         (dbus-unregister-service): Skip :serial entries in
2442         `dbus-registered-objects-table'.
2443         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2445 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
2447         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2448         around keywords with extra `split-string' argument.
2450 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
2452         * windmove.el (windmove-other-window-loc): Handle navigation
2453         between windows (excluding the minibuffer window - Bug#16017).
2455 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
2457         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2458         in D-Bus type syntax.
2459         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2460         preserve unibyte strings.  (Bug#16048)
2462 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2464         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2465         Call force-mode-line-update is the proper buffer (bug#16042).
2467 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
2469         * vc/log-edit.el (log-edit-add-new-comment): Rename to
2470         `log-edit-remember-comment', make argument optional.  Adjust all
2471         callers.
2472         (log-edit-mode): Add `log-edit-remember-comment' to
2473         `kill-buffer-hook' locally.
2474         (log-edit-kill-buffer): Don't remember comment explicitly since
2475         the buffer is killed anyway.
2477 2013-12-04  Juri Linkov  <juri@jurta.org>
2479         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2480         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
2482 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
2484         * notifications.el (notifications-close-notification): Call the
2485         D-Bus method with ID being a `:uint32'.  (Bug#16030)
2487 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2489         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2491 2013-12-03  Juri Linkov  <juri@jurta.org>
2493         * progmodes/compile.el (compilation-start): Rename window alist
2494         entry `no-display-ok' to `allow-no-window'.
2496         * simple.el (shell-command): Add window alist entry
2497         `allow-no-window' to `display-buffer'.
2498         (async-shell-command): Doc fix.
2500         * window.el (display-buffer-no-window): New action function.
2501         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
2503 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2505         * vc/log-edit.el (log-edit-set-header): Extract from
2506         `log-edit-toggle-header'.
2507         (log-edit-extract-headers): Separate the summary, when extracted
2508         from header, from the rest of the message with an empty line.
2510         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2511         line, if present, to the Summary header.
2513 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2516         in current-buffer (bug#16029).
2518 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
2520         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2521         (debugger-mode-map): Bind it.
2522         (debugger--backtrace-base): New function.
2523         (debugger-eval-expression): Use it.
2524         (debugger-frame-number): Skip local vars when present.
2525         (debugger--locals-visible-p, debugger--insert-locals)
2526         (debugger--show-locals, debugger--hide-locals): New functions.
2528 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
2530         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2531         "LC_ALL".
2532         (tramp-get-remote-locale): New defun.
2533         (tramp-open-connection-setup-interactive-shell): Use it.
2535 2013-12-02  Leo Liu  <sdl.web@gmail.com>
2537         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
2539         * progmodes/sh-script.el (sh-shell-process):
2540         * progmodes/octave.el (inferior-octave-process-live-p):
2541         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2542         (gdb-inferior-io-sentinel):
2543         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2545 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2547         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2548         `save-selected-window' to `log-edit-hide-buf'.  This makes
2549         `log-edit-show-files' idempotent.
2550         (log-edit-show-files): Mark the new window as dedicated.
2552 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2554         * vc/log-edit.el (log-edit-mode-map): Add binding for
2555         `log-edit-kill-biffer'.
2556         (log-edit-hide-buf): Add a FIXME comment.
2557         (log-edit-add-new-comment): New function, extracted from
2558         `log-edit-done'.
2559         (log-edit-done, log-edit-add-to-changelog): Use it.
2560         (log-edit-kill-buffer): New command.
2562 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2564         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2565         instead of killing the buffer.
2567 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2569         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2571 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2573         * net/eww.el (eww-form-checkbox-selected-symbol)
2574         (eww-form-checkbox-symbol): New customizable variable.
2575         (eww-form-checkbox, eww-toggle-checkbox):
2576         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2578         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2579         (shr--get-media-pref, shr--extract-best-source): New function.
2580         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2581         no :src tag was specified.
2583         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2584         (eww-render): Handle `eww-use-external-browser-for-content-type'.
2585         Use \\` to match beginning of string instead of ^.
2586         (eww-browse-with-external-browser): Provide optional URL parameter.
2587         (eww-render): Set `eww-current-title' back to "".
2589         * net/shr.el (shr-tag-video): Display content for video if no
2590         poster is available.
2591         (shr-tag-audio): Add support for <audio> tag.
2593         * net/eww.el (eww-text-input-types): New const.
2594         (eww-process-text-input): Treat input types in
2595         `eww-text-input-types' as text.
2597         * net/shr.el (shr-tag-table): Fix comment typo.
2599 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2601         * net/eww.el (eww-follow-link): New command to avoid reloading
2602         pages when we follow #target links (bug#15243).
2603         (eww-quit): Special mode buffers shouldn't query before exiting.
2605 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2607         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2608         forms.
2610 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2612         * net/eww.el (eww-restore-history): Update the window title after
2613         moving in the history.
2614         (eww-current-dom): New variable used to save the current DOM.
2616 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
2618         * vc/log-edit.el (log-edit-mode-map): Add binding for
2619         `log-edit-beginning-of-line'.
2620         (log-edit-setup-add-author): New user option.
2621         (log-edit-beginning-of-line): New command.
2622         (log-edit): Move major mode call above the contents setup so that
2623         the local variable values are already applied.
2624         (log-edit): Only insert "Author: " when
2625         `log-edit-setup-add-author' is non-nil.
2626         (log-edit): When SETUP is non-nil, position point after ": "
2627         instead of point-min.
2629 2013-12-01  Glenn Morris  <rgm@gnu.org>
2631         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2633 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
2635         * startup.el (fancy-splash-frame): On MS-Windows, trigger
2636         redisplay to make sure the initial frame gets a chance to become
2637         visible.  (Bug#16014)
2639 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
2641         Support resizing frames and windows pixelwise.
2642         * cus-start.el (frame-resize-pixelwise)
2643         (window-resize-pixelwise): New entries.
2644         * emacs-lisp/debug.el (debug): Use window-total-height instead
2645         of window-total-size.
2646         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2647         * help.el (describe-bindings-internal): Call help-buffer
2648         (temp-buffer-max-width): New option.
2649         (resize-temp-buffer-window, help-window-setup)
2650         (with-help-window): Rewrite.
2651         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
2652         dragging dividers.
2653         * window.el (frame-char-size, window-min-pixel-height)
2654         (window-safe-min-pixel-height, window-safe-min-pixel-width)
2655         (window-min-pixel-width, window-safe-min-pixel-size)
2656         (window-combination-p, window-safe-min-size)
2657         (window-resizable-p, window--size-to-pixel)
2658         (window--pixel-to-size, window--resize-apply-p): New functions.
2659         (window-safe-min-height): Fix doc-string.
2660         (window-size, window-min-size, window--min-size-1)
2661         (window-sizable, window-sizable-p, window--min-delta-1)
2662         (window-min-delta, window--max-delta-1, window-max-delta)
2663         (window--resizable, window--resizable-p, window-resizable)
2664         (window-full-height-p, window-full-width-p, window-at-side-p)
2665         (window--in-direction-2, window-in-direction)
2666         (window--resize-reset-1, window--resize-mini-window)
2667         (window-resize, window-resize-no-error)
2668         (window--resize-child-windows-normal)
2669         (window--resize-child-windows, window--resize-siblings)
2670         (window--resize-this-window, window--resize-root-window)
2671         (window--resize-root-window-vertically)
2672         (adjust-window-trailing-edge, enlarge-window, shrink-window)
2673         (maximize-window, minimize-window, delete-window)
2674         (quit-restore-window, window-split-min-size, split-window)
2675         (balance-windows-2, balance-windows)
2676         (balance-windows-area-adjust, balance-windows-area)
2677         (window--state-get-1, window-state-get, window--state-put-1)
2678         (window--state-put-2, window-state-put)
2679         (display-buffer-record-window, window--display-buffer):
2680         Make functions handle pixelwise sizing of windows.
2681         (display-buffer--action-function-custom-type)
2682         (display-buffer-fallback-action):
2683         Add display-buffer-in-previous-window.
2684         (display-buffer-use-some-window): Resize window to height it had
2685         before.
2686         (fit-window-to-buffer-horizontally): New option.
2687         (fit-frame-to-buffer): Describe new values.
2688         (fit-frame-to-buffer-bottom-margin): Replace with
2689         fit-frame-to-buffer-margins.
2690         (window--sanitize-margin): New function.
2691         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2692         using window-text-pixel-size.
2694 2013-11-30  Glenn Morris  <rgm@gnu.org>
2696         * emacs-lisp/bytecomp.el (byte-compile-form):
2697         Make the `interactive-only' warning like the `obsolete' one.
2698         * comint.el (comint-run):
2699         * files.el (insert-file-literally, insert-file):
2700         * replace.el (replace-string, replace-regexp):
2701         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2702         (goto-line, insert-buffer, next-line, previous-line):
2703         Tweak `interactive-only' spec.
2705         Stop keeping (most) generated cedet grammar files in the repository.
2706         * Makefile.in (semantic): New.
2707         (compile-main): Depend on semantic.
2709 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2711         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2712         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2714         * uniquify.el (uniquify-buffer-name-style): Change default.
2716         * loadup.el: Preload "uniquify".
2718         * time.el (display-time-update): Update all mode lines (bug#15999).
2720         * electric.el (electric-indent-mode): Enable by default.
2721         * loadup.el: Preload "electric".
2723 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
2725         * emacs-lisp/helpers.el (string-empty-p): New function.
2726         (string-blank-p): New function.
2728 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
2730         * imenu.el (imenu--index-alist): Add missing dot to the docstring
2731         (Bug#14029).
2733 2013-11-29  Andreas Politz  <politza@fh-trier.de>
2734         * imenu.el (imenu--subalist-p): Don't error on non-conses and
2735         allow non-lambda lists as functions.
2736         (imenu--in-alist): Don't recurse into non-subalists.
2737         (imenu): Don't pass function itself as an argument (Bug#14029).
2739 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2741         * progmodes/python.el (python-mode-map): Remove binding for ":".
2742         (python-indent-electric-colon): Remove command.
2743         (python-indent-post-self-insert-function): Integrate the previous code
2744         of python-indent-electric-colon.  Make it conditional on
2745         electric-indent-mode.
2746         (python-mode): Add ?: to electric-indent-chars.
2747         Move python-indent-post-self-insert-function to the end of
2748         post-self-insert-hook.
2750 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2752         * doc-view.el (doc-view-goto-page): Update mode-line.
2754         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2756 2013-11-27  Glenn Morris  <rgm@gnu.org>
2758         * international/charprop.el, international/uni-bidi.el:
2759         * international/uni-category.el, international/uni-combining.el:
2760         * international/uni-comment.el, international/uni-decimal.el:
2761         * international/uni-decomposition.el, international/uni-digit.el:
2762         * international/uni-lowercase.el, international/uni-mirrored.el:
2763         * international/uni-name.el, international/uni-numeric.el:
2764         * international/uni-old-name.el, international/uni-titlecase.el:
2765         * international/uni-uppercase.el:
2766         Remove generated files from VCS repository.
2768 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
2770         * filenotify.el (file-notify-add-watch): Don't special-case
2771         w32notify when computing the directory to watch.
2773 2013-11-27  Glenn Morris  <rgm@gnu.org>
2775         Make bootstrap without generated uni-*.el files possible again.
2776         * loadup.el: Update command-line-args checking for unidata-gen.
2777         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2778         * composite.el, international/characters.el:
2779         Handle unicode tables being undefined.
2781         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2782         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2783         (compile-main): Depend on leim rule.
2784         (leim): New rule.
2785         * loadup.el: Move leim-list.el to leim/ subdirectory.
2786         * startup.el (normal-top-level): No more leim directory.
2787         * international/ja-dic-cnv.el (skkdic-convert):
2788         Disable version-control and autoloads in output files.
2789         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2790         Disable version-control and autoloads in output files.
2791         * leim/quail: Move here from ../leim.
2792         * leim/quail/hangul.el (hangul-input-method-activate):
2793         Add autoload cookie.
2794         (generated-autoload-load-name): Set file-local value.
2795         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2796         (generated-autoload-load-name): Set file-local value.
2798 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2800         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2801         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2802         (eww-quit): Ask confirmation before quitting eww.
2804 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2806         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2807         reading output from Diff on MS-Windows and MS-DOS.
2809 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2811         * emacs-lisp/helpers.el (string-reverse): New function.
2813 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2815         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2816         names on MS Windows, like "/[::1]:".
2818         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2819         SWITCHES.
2821 2013-11-26  Glenn Morris  <rgm@gnu.org>
2823         * progmodes/python.el (python-indent-guess-indent-offset):
2824         Avoid corner-case error.  (Bug#15975)
2826         Preload leim-list.el.  (Bug#4789)
2827         * loadup.el: Load leim-list.el when found.
2828         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2830 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2832         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2834         * emacs-lisp/helpers.el (string-join): New function.
2836 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2838         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2839         Mark as obsolete and replace it with a symbol property.
2840         (byte-compile-form): Use new 'interactive-only property.
2841         * comint.el, files.el, replace.el, simple.el:
2842         Apply new 'interactive-only properly.
2844 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2846         * window.el (display-buffer-at-bottom): Make sure that
2847         split-window-sensibly creates the new window on bottom
2848         (Bug#15961).
2850 2013-11-23  David Kastrup  <dak@gnu.org>
2852         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2853         on the conflict markers when available.
2854         (smerge--get-marker): New function.
2855         (smerge-end-re, smerge-base-re): Add subgroup.
2857 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2859         * frame.el (handle-focus-in, handle-focus-out): Add missing
2860         interactive spec.
2862 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2864         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2865         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2867 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2869         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2870         (gomoku--last-pos): New var.
2871         (gomoku--intangible-chars): New const.
2872         (gomoku--intangible): New function.
2873         (gomoku-mode): Use it.  Derive from special-mode.
2874         (gomoku-move-up): Adjust line count.
2875         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2876         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2877         Simplify accordingly.
2879         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2880         Remove blink-cursor code.
2881         (blink-cursor-timer-function, blink-cursor-suspend):
2882         Don't special-case GUIs.
2883         (blink-cursor-mode): Use focus-in/out-hook.
2885 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2887         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2888         work when annotation is invisible (Bug#13886).
2890 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
2892         * json.el (json-alist-p): Only return non-nil if the alist has
2893         simple keys (Bug#13518).
2895 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
2897         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2898         when control-statement is the first statement in a buffer (Bug#15956).
2900 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
2902         * imenu.el (imenu-generic-skip-comments-and-strings):
2903         New option (Bug#15560).
2904         (imenu--generic-function): Use it.
2906 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
2908         * minibuffer.el (completion--in-region-1): Scroll the correct window.
2909         (Bug#13898)
2911 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
2913         * emacs-lisp/helpers.el: Add some string helpers.
2914         (string-trim-left): Removes leading whitespace.
2915         (string-trim-right): Removes trailing whitespace.
2916         (string-trim): Removes leading and trailing whitespace.
2918         * subr.el (string-suffix-p): New function.
2920 2013-11-23  Glenn Morris  <rgm@gnu.org>
2922         * progmodes/python.el (python-shell-send-file):
2923         Add option to delete file when done.  (Bug#15647)
2924         (python-shell-send-string, python-shell-send-region): Use it.
2926 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
2928         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2929         to set buffer-read-only to t, never to nil.  (Bug#15938)
2931         * textmodes/tex-mode.el (latex-noindent-environments):
2932         Add safe-local-variable property.  (Bug#15936)
2934 2013-11-23  Glenn Morris  <rgm@gnu.org>
2936         * textmodes/enriched.el (enriched-mode): Doc fix.
2937         * emacs-lisp/authors.el (authors-renamed-files-alist):
2938         Add enriched.doc -> enriched.txt.
2940         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2942 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2944         * progmodes/octave.el (inferior-octave-startup): Spit out error
2945         message.
2947 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
2949         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2950         Improve docstring.
2951         Add :version.
2952         (ruby-encoding-magic-comment-style): Add :version.
2954 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2956         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2957         (Bug#15076)
2958         (octave-help-mode): Adapt to change to help-mode-finish to use
2959         derived-mode-p on 2013-09-17.
2960         (inferior-octave-prompt): Also match octave-gui.
2961         (octave-kill-process): Don't ask twice.  (Bug#10564)
2963 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2965         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2966         (inferior-octave-startup, inferior-octave-check-process)
2967         (inferior-octave-track-window-width-change)
2968         (octave-completion-at-point, octave-eldoc-function): Use it.
2969         (octave-kill-process): Provide confirmation.  (Bug#10564)
2971 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2973         * progmodes/octave.el (octave-mode, inferior-octave-mode):
2974         Fix obsolete variable comment-use-global-state.
2976 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2978         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2979         Add `octave-source-file'.
2980         (octave-source-file): New function.  (Bug#15935)
2982 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
2984         * net/eww.el (eww-local-regex): New variable.
2985         (eww): Use it to detect localhost and similar.
2987 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2989         Add completion for command `ag'.
2990         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2991         (pcomplete/ag): New function.
2992         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
2994 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2997         (bug#14646).
2998         (make-obsolete): Remove interactive spec.
3000 2013-11-21  Glenn Morris  <rgm@gnu.org>
3002         * startup.el (command-line-1): Use path-separator with -L.
3004 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
3006         * emacs-lisp/package.el (describe-package-1): Add package archive
3007         to shown fields.
3009 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
3011         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3012         Change default to "# encoding: %s" to differentiate it from the
3013         default Ruby encoding comment template.
3015 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
3017         * ses.el (ses-mode): Doc fix.  (Bug#14748)
3019 2013-11-20  Leo Liu  <sdl.web@gmail.com>
3021         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
3023 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
3025         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3026         when rebase or bisect are in progress.
3028 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
3030         * filenotify.el (file-notify-add-watch): Doc fix.
3032 2013-11-19  Leo Liu  <sdl.web@gmail.com>
3034         * obsolete/rcompile.el: Mark obsolete.
3036         * progmodes/compile.el (compilation-start)
3037         (compilation-goto-locus, compilation-find-file):
3038         Pass no-display-ok and handle nil value from display-buffer.
3039         (Bug#13594)
3041         * window.el (display-buffer-alist, display-buffer): Document the
3042         new parameter no-display-ok.  Return either a window or nil
3043         but never a non-window value.
3045 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3047         * electric.el (electric-indent-mode-map): Remove.
3048         (electric-indent-mode): Change the global-map instead (bug#15915).
3050         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3051         Use add-function.
3053 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * emacs-lisp/nadvice.el (remove-function): Align with
3056         add-function's behavior.
3058         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3059         (gdb--string-regexp): New constant.
3060         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3061         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3062         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3063         submatch 1.
3064         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3065         Adjust use accordingly.
3066         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3068 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
3070         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3071         interpolation curlies (Bug#15914).
3073 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3075         * calc/calc.el (calc-context-sensitive-enter): New variable.
3076         (calc-enter): Use `calc-context-sensitive-enter'.
3078 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
3080         * progmodes/cfengine.el: Version bump.
3081         (cfengine-cf-promises): New defcustom to locate cf-promises.
3082         (cfengine3-vartypes): Add new "data" type.
3083         (cfengine3--current-word): New function to get current name-like
3084         word or its bounds.
3085         (cfengine3--current-function): New function to look up a CFEngine
3086         function's definition.
3087         (cfengine3-format-function-docstring): New function.
3088         (cfengine3-make-syntax-cache): New function.
3089         (cfengine3-documentation-function): New function: ElDoc glue.
3090         (cfengine3-completion-function): New function: completion glue.
3091         (cfengine3-mode): Set `compile-command',
3092         `eldoc-documentation-function', and add to
3093         `completion-at-point-functions'.
3095 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
3097         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3098         `tramp-current-connection'.
3100 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
3102         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3103         nil/self/true/false with "end of symbol".
3105 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
3107         * subr.el (version-regexp-alist): Fix a typo.
3109 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
3111         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3112         "en_US.utf8" and "LC_CTYPE" to "".
3113         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3114         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3116 2013-11-15  Leo Liu  <sdl.web@gmail.com>
3118         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
3120 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3122         * progmodes/gud.el (ctl-x-map):
3123         Remove C-x SPC binding.  (Bug#12342)
3124         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3126 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
3128         * subr.el (version-regexp-alist):
3129         Recognize hg, svn and darcs versions as snapshot versions.
3131         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3132         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3133         (ruby--encoding-comment-required-p): Extract from
3134         `ruby-mode-set-encoding'.
3135         (ruby-mode-set-encoding): Add the ability to always insert an
3136         utf-8 encoding comment.  Fix and simplify coding comment update
3137         logic.
3139 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
3141         * net/tramp-gvfs.el (top): Run init code only when
3142         `tramp-gvfs-enabled' is not nil.
3143         (tramp-gvfs-enabled): Check also :system bus.
3145 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         Sync with upstream verilog-mode revision 78e66ba.
3148         * progmodes/verilog-mode.el (verilog-end-of-defun)
3149         (verilog-type-completion, verilog-get-list): Remove unused funcs.
3150         (verilog-get-end-of-defun): Remove unused argument.
3151         (verilog-comment-depth): Remove unused local `e'.
3152         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3153         Don't pass arg to verilog-get-end-of-defun.
3155 2013-11-14  Glenn Morris  <rgm@gnu.org>
3157         * obsolete/assoc.el (aget): Prefix dynamic variable.
3159         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3161 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3163         * widget.el, hfy-cmap.el: Remove bogus package version number.
3165 2013-11-13  Glenn Morris  <rgm@gnu.org>
3167         * replace.el (replace-eval-replacement):
3168         Try to give more helpful error message.  (Bug#15836)
3170         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3171         (archive-7z-update): Avoid custom type mismatches.
3173         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3175 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
3177         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3178         address can be empty.
3180         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3181         Accept nil SWITCHES.
3182         (tramp-gvfs-handle-write-region): Implement APPEND.
3184 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
3186         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3187         binary "|" operator and closing block args delimiter.
3188         Remove FIXME comment referring to Ruby 1.8-only syntax.
3189         (ruby-smie--implicit-semi-p): Not after "|" operator.
3190         (ruby-smie--closing-pipe-p): New function.
3191         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3192         (ruby-smie-rules): Indent after "|".
3194 2013-11-12  Glenn Morris  <rgm@gnu.org>
3196         * ps-print.el (ps-face-attribute-list):
3197         Handle anonymous faces.  (Bug#15827)
3199 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
3201         * window.el (display-buffer-other-frame): Fix doc-string.
3202         (Bug#15868)
3204 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3206         * subr.el (force-mode-line-update): Delete, move to buffer.c.
3208 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
3210         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3211         (tramp-sh-handle-file-local-copy): Don't write a message when
3212         saving temporary files.
3214         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3215         both directories are remote.
3216         (tramp-smb-handle-directory-files): Do not return double entries.
3217         Do not expand full file names.
3218         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3219         (tramp-smb-handle-write-region): Implement APPEND.
3220         (tramp-smb-get-stat-capability): Fix a stupid bug.
3222 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3224         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3226 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3228         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3229         throwing error over malformed let/let* (bug#15814).
3231 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * iswitchb.el (iswitchb-mode): Mark obsolete.
3235 2013-11-11  Glenn Morris  <rgm@gnu.org>
3237         * international/uni-bidi.el, international/uni-category.el:
3238         * international/uni-name.el, international/uni-numeric.el:
3239         Regenerate for Unicode 6.3.0.
3241 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
3243         * net/tramp.el (tramp-methods):
3244         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3245         2013-10-29 (r114834).
3247 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
3249         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3250         Force highlighting text after Summary keyword in doc face for rpm.
3252 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
3254         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3255         available and the word has no wildcards, append one to the grep pattern.
3256         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3257         (ispell-complete-word): Call `ispell-lookup-words' with the value
3258         independent of `ispell-look-p'.
3260 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3262         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3263         Not after "||".
3264         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3265         their parent.
3267 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3269         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
3270         (ruby-font-lock-keywords): Use backquote.
3272 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3274         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3275         (ruby-smie--backward-token): Only consider full-string matches.
3277 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
3279         * faces.el (describe-face): Add distant-foreground.
3281 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
3283         * progmodes/ruby-mode.el: Improve encoding comment handling.
3284         (ruby-encoding-magic-comment-style): New option.
3285         (ruby-custom-encoding-magic-comment-template): New option.
3286         (ruby--insert-coding-comment, ruby--detect-encoding):
3287         New functions extracted from `ruby-mode-set-encoding'.
3288         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3289         to control the style of the auto-inserted encoding comment.
3291 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3293         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3294         Use `smie-backward-sexp' with token argument.
3296 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
3298         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3299         Remove instrumentation code.
3301 2013-11-08  Glenn Morris  <rgm@gnu.org>
3303         * progmodes/autoconf.el (autoconf-mode):
3304         Tweak comment-start-skip.  (Bug#15822)
3306 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3308         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3309         at bobp (bug#15826).
3310         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3312 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
3314         * man.el (Man-start-calling): New macro, extracted from
3315         Man-getpage-in-background.
3316         (Man-getpage-in-background): Use it.
3317         (Man-update-manpage): New command.
3318         (Man-mode-map): Bind it.
3320 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3322         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3323         of "and", "or", "&&" and "||".
3324         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3325         argument.  Prohibit opening curly brace because it could only be a
3326         block opener in that position.
3327         (ruby-smie--forward-token, ruby-smie--backward-token):
3328         Separate "|" from "&" or "*" going after it.  That can happen in block
3329         arguments.
3330         (ruby-smie--indent-to-stmt): New function, seeks the end of
3331         previous statement or beginning of buffer.
3332         (ruby-smie-rules): Use it.
3333         (ruby-smie-rules): Check if there's a ":" before a curly block
3334         opener candidate; if there is, it's a hash.
3336 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3338         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3339         (cl--block-wrapper): Fix last accidental change.
3341 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
3343         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3344         Instrument, in order to hunt failure on hydra.
3346 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3348         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3349         malformed bindings form (bug#15814).
3351 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
3353         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3354         "." compared to " @ ".  This incidentally fixes some indentation
3355         examples with "do".
3356         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3357         (ruby-smie-grammar): New tokens: "and" and "or".
3358         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3359         Exclude "and" and "or".  Remove "do" in order to work around token
3360         priorities.
3361         (ruby-smie-rules): Add all infix tokens.  Handle the case of
3362         beginning-of-buffer.
3364 2013-11-06  Glenn Morris  <rgm@gnu.org>
3366         * Makefile.in (setwins_almost, setwins_for_subdirs):
3367         Avoid accidental matches.
3369 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3371         * menu-bar.el (popup-menu): Use key-binding.
3373 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
3375         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3376         menus, support also the menus produced by minor modes.
3377         (Bug#15817)
3379 2013-11-06  Leo Liu  <sdl.web@gmail.com>
3381         * thingatpt.el (thing-at-point-looking-at): Add optional arg
3382         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
3384 2013-11-06  Glenn Morris  <rgm@gnu.org>
3386         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3387         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3388         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3390 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3392         * electric.el (electric-indent-just-newline): New command.
3393         (electric-indent-mode-map): New keymap.
3394         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3395         Re-add :group which weren't redundant.
3397         * electric.el (electric-indent-local-mode): New minor mode.
3398         (electric-indent-functions-without-reindent): New var.
3399         (electric-indent-post-self-insert-function): Use it.
3400         * emacs-lisp/gv.el (buffer-local-value): Add setter.
3402 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
3404         * international/quail.el (quail-help): Be more explicit about the
3405         meaning of the labels shown on the keys.  (Bug#15800)
3407         * startup.el (normal-top-level): Load the subdirs.el files before
3408         setting the locale environment.  (Bug#15805)
3410 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3412         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3413         via arguments so as to get the right ones (bug#15418).
3415         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3417 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
3419         Fix problems found while writing a test suite.
3421         * net/tramp-compat.el (tramp-compat-load): New defun.
3422         * net/tramp.el (tramp-handle-load): Use it.
3424         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3425         "(numberp ok-if-already-exists)" correctly.
3427 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
3429         * international/characters.el (glyphless-char-display-control):
3430         Add usage note.
3432 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
3434         * progmodes/python.el (python-mode):
3435         * progmodes/scheme.el (scheme-mode):
3436         * progmodes/prolog.el (prolog-mode):
3437         * progmodes/ruby-mode.el (ruby-mode):
3438         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3439         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3441 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3443         * rect.el (rectangle--highlight-for-redisplay):
3444         * emacs-lisp/smie.el (smie--next-indent-change):
3445         Use buffer-chars-modified-tick.
3447         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3449         * electric.el (electric-indent-post-self-insert-function):
3450         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3452 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
3454         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3456 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3458         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3459         (bug#15786).
3461 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3463         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
3465         * progmodes/python.el: Fix up last change.
3466         (python-shell--save-temp-file): New function.
3467         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
3468         `string' comes from the current buffer.
3469         (python-shell-send-string-no-output): Remove `msg' arg.
3470         (python--use-fake-loc): New var.
3471         (python-shell-buffer-substring): Obey it.  Try to compensate for the
3472         extra coding line added by python-shell--save-temp-file.
3473         (python-shell-send-region): Use python-shell--save-temp-file and
3474         python-shell-send-file directly.  Add `nomain' argument.
3475         (python-shell-send-buffer): Use python-shell-send-region.
3476         (python-electric-pair-string-delimiter): New function.
3477         (python-mode): Use it.
3479 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
3481         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3482         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3483         environment and decoding all of the default-directory's to here
3484         from command-line.
3485         (command-line): Decode also argv[0].
3487         * loadup.el: Error out if default-directory is a multibyte string
3488         when we are dumping.
3490         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
3492 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
3494         * emacs-lisp/package.el (package-menu-mode)
3495         (package-menu--print-info, package-menu--archive-predicate):
3496         Add Archive column to package list.
3498 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
3500         Fix problems found while writing a test suite.
3502         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3503         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3504         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3505         to nil when running original file name handler.  Otherwise,
3506         there are problems with constructs like "$$FOO".
3508         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3509         for `localname'.
3511 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
3513         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3515         * subr.el (version<, version<=, version=):
3516         Update docstrings with information for snapshot versions.
3518         * helpers.el: New library for misc helper functions.
3519         (hash-table-keys): New function returning a list of hash keys.
3520         (hash-table-values): New function returning a list of hash values.
3522 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
3524         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3525         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3527 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
3529         * textmodes/fill.el (fill-single-char-nobreak-p): New function
3530         checking whether point is after a 1-letter word.
3532 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3534         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3535         Don't infloop when expanding region over `multiline' syntax-type that
3536         begins a line (bug#15778).
3538 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3540         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3541         Make it into a proper minor mode.
3542         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3543         (rectangle-mark-mode-map): New keymap.
3544         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3546 2013-11-04  Glenn Morris  <rgm@gnu.org>
3548         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3550 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3552         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3553         (ruby-smie-rules): Use smie-rule-parent instead.
3555         * emacs-lisp/smie.el (smie-rule-parent): Always call
3556         smie-indent-virtual rather than only for hanging tokens.
3557         (smie--next-indent-change): New helper command.
3559 2013-11-03  Glenn Morris  <rgm@gnu.org>
3561         * Makefile.in (abs_srcdir): Remove.
3562         (emacs): Unset EMACSLOADPATH.
3564 2013-11-02  Glenn Morris  <rgm@gnu.org>
3566         * Makefile.in (EMACS): Use a relative filename.
3567         (abs_top_builddir): Remove.
3568         (custom-deps, finder-data, autoloads): Use --chdir.
3570         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3572         Use relative filenames in TAGS files.
3573         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3574         (lisptagsfiles4, TAGS): Use relative file names.
3575         (TAGS-LISP): Remove.
3576         (maintainer-clean): No more TAGS-LISP file.
3578         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3579         (lisptagsfiles4): Use absolute filenames again.
3580         (TAGS, TAGS-LISP): Not everything needs to run in one line.
3581         Remove all *loaddefs files, not just the first.  Remove esh-groups.
3582         (maintainer-clean): Delete TAGS, TAGS-LISP.
3584 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3586         * emacs-lisp/package.el (package-version-join):
3587         Recognize snapshot versions.
3589 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3591         * subr.el (version-regexp-alist): Add support for snapshot versions.
3593 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3595         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3596         New function, replacement for `smie-rule-parent' for when we want to
3597         skip over our direct parent if it's an assignment token..
3598         (ruby-smie-rules): Use it.
3600 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3602         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3603         unconditionally.  Remove now unnecessary forward declarations.
3604         Remove XEmacs-specific setup.
3605         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3606         (ruby-font-lock-syntactic-keywords)
3607         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3608         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3609         (ruby-here-doc-end-syntax): Remove.
3610         (ruby-mode): Don't check whether `syntax-propertize-rules' is
3611         defined as function.
3613 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3615         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3617 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3619         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3620         table and abbrev table, `define-derived-mode' does that for us
3621         anyway.
3623 2013-11-01  Glenn Morris  <rgm@gnu.org>
3625         * Makefile.in: Remove manual mh-e dependencies (writing .elc
3626         files is atomic for some time, so no parallel compilation issues).
3628 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3630         * faces.el (face-x-resources): Add :distant-foreground.
3631         (region): Use :distant-foreground for gtk and ns.
3633 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
3635         Allow multiple bibliographies when BibLaTeX is used rather than
3636         BibTeX.
3637         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3638         (reftex-locate-bibliography-files): Us it.
3640 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
3642         * image.el (image-type-header-regexps): Fix the 'pbm' part to
3643         allow comments in pbm files.
3645         * term/w32-win.el (dynamic-library-alist): Support newer versions
3646         of libjpeg starting with v7: look only for the DLL from the
3647         version against which Emacs was built.
3648         Support versions of libpng beyond 1.4.x.
3649         Support libtiff v4.x.
3651 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3653         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3654         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3655         Add property :safe.
3656         (ruby-deep-arglist): Add property :type.
3658 2013-10-31  Glenn Morris  <rgm@gnu.org>
3660         * Makefile.in (custom-deps, finder-data): No need to setq the target
3661         variables, we are in the right directory and the defaults work fine.
3663 2013-10-30  Glenn Morris  <rgm@gnu.org>
3665         * Makefile.in (autoloads): Do not use abs_lisp.
3667         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3668         `newline' does not respect `standard-output', so use `princ'.
3670 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
3672         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
3673         * buff-menu.el (Buffer-menu--unmark): New function.
3674         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3676 2013-10-30  Glenn Morris  <rgm@gnu.org>
3678         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3680         * emacs-lisp/package.el (lm-homepage): Declare.
3682         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3683         Fix doc typos.
3685         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3687         * Makefile.in (finder-data, autoloads, update-subdirs)
3688         (compile-main, compile-clean, compile-always, bootstrap-clean):
3689         Check return value of cd.
3690         (compile-calc): Remove.
3692 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3694         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3696         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3697         (byte-compile-and-folded): New function.
3698         (=, <, >, <=, >=): Use it.
3700         * dos-w32.el (minibuffer-history-case-insensitive-variables)
3701         (path-separator, null-device, buffer-file-coding-system)
3702         (lpr-headers-switches): Check system-type before modifying them.
3703         (find-buffer-file-type-coding-system): Mark obsolete.
3704         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3705         find-file-not-found-set-buffer-file-coding-system.
3706         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3707         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3708         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3709         (w32-direct-print-region-helper, w32-direct-print-region-function)
3710         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3711         * startup.el (normal-top-level-add-subdirs-to-load-path):
3712         * ps-print.el (ps-print-region-function):
3713         * lpr.el (print-region-function): Use new name.
3715         * subr.el (custom-declare-variable-early): Remove function.
3716         (custom-declare-variable-list): Remove var.
3717         (error, user-error): Remove `while' loop.
3718         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3719         (user-emacs-directory-warning, locate-user-emacs-file):
3720         Move to files.el.
3721         * simple.el (read-quoted-char-radix, read-quoted-char):
3722         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3723         Move from subr.el.
3724         * custom.el (custom-declare-variable-list): Don't process
3725         custom-declare-variable-list.
3727         * progmodes/python.el (python-shell-get-buffer): New function.
3728         (python-shell-get-process): Use it.
3729         (python-shell-send-string): Always use utf-8 and add a cookie to tell
3730         Python which encoding was used.  Don't split-string since we only care
3731         about the first line.  Return the temp-file, if applicable.
3732         (python-shell-send-region): Tell compile.el how to turn locations in
3733         the temp-file into locations in the source buffer.
3735 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3737         * subr.el (undefined): Add missing behavior from the C code for
3738         unbound keys.
3740         * rect.el: Use lexical-binding.  Add new rectangular region support.
3741         (rectangle-mark): New command.
3742         (rectangle--region): New var.
3743         (deactivate-mark-hook): Reset rectangle--region.
3744         (rectangle--extract-region, rectangle--insert-for-yank)
3745         (rectangle--highlight-for-redisplay)
3746         (rectangle--unhighlight-for-redisplay): New functions.
3747         (region-extract-function, redisplay-unhighlight-region-function)
3748         (redisplay-highlight-region-function): Use them to handle
3749         rectangular region.
3750         * simple.el (region-extract-function): New var.
3751         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3752         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3753         (kill-region): Replace obsolete `yank-handler' arg with `region'.
3754         (copy-region-as-kill, kill-ring-save): Add `region' argument.
3755         (redisplay-unhighlight-region-function)
3756         (redisplay-highlight-region-function): New vars.
3757         (redisplay--update-region-highlight): New function.
3758         (pre-redisplay-function): Use it.
3759         (exchange-point-and-mark): Don't deactivate the mark before
3760         reactivate-it anyway.
3761         * comint.el (comint-kill-region): Remove yank-handler argument.
3762         * delsel.el (delete-backward-char, backward-delete-char-untabify)
3763         (delete-char): Remove property, since it's now part of their
3764         default behavior.
3765         (self-insert-iso): Remove property since this command doesn't exist.
3767         * emacs-lisp/package.el (package--download-one-archive)
3768         (describe-package-1): Don't query the user about final newline.
3770 2013-10-29  Daniel Colascione  <dancol@dancol.org>
3772         * net/tramp.el (tramp-methods): Document new functionality.
3773         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3774         tramp-hostname-checker if method provides one instead of scanning
3775         argument list for "%h" to decide hostname acceptability.
3777 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3779         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3780         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3781         Handle COPY-CONTENTS.  (Bug#15737)
3783 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3785         * epa-file.el
3786         (epa-file-cache-passphrase-for-symmetric-encryption):
3787         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3789 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3791         * image.el (defimage):
3792         (image-load-path): Doc fixes.
3794 2013-10-27  Alan Mackenzie  <acm@muc.de>
3796         Indent statements in macros following "##" correctly.
3797         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3798         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3800 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3802         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3804 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3806         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3807         after `=' is probably a new expression.
3809 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3811         * man.el (man-imenu-title): New option.
3812         (Man-mode-map): Add menu.  (Bug#15722)
3813         (Man-mode): Add imenu to menu.
3815 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3817         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3818         specific in what the first arg can be: a non-keyword word,
3819         string/regexp/percent literal opener, opening paren, or unary
3820         operator followed directly by word.
3822 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3824         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3825         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3826         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3827         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3828         Remove vars, they do not apply any more.
3829         (prolog-mode-abbrev-table): Remove redundant declaration.
3830         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3831         (prolog-use-smie): Remove.
3832         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3833         supported by prolog-electric-if-then-else-flag.
3834         (prolog-mode-variables, prolog-menu): Use setq-local.
3835         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3836         Remove binding to `Backspace' since this key doesn't exist anyway.
3837         Remove bindings for electric self-inserting keys.
3838         (prog-mode): Assume it's defined.
3839         (prolog-post-self-insert): New function.
3840         (prolog-mode): Use it.
3841         (prolog-indent-line, prolog-indent-level)
3842         (prolog-find-indent-of-matching-paren)
3843         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3844         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3845         (prolog-goto-next-paren, prolog-in-string-or-comment)
3846         (prolog-tokenize, prolog-inside-mline-comment)
3847         (prolog-find-start-of-mline-comment): Remove functions.
3848         (prolog-find-unmatched-paren, prolog-clause-end)
3849         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3850         (prolog-electric--if-then-else): Rename from
3851         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3852         (prolog-tokenize-searchkey): Remove const.
3853         (prolog-clause-info): Use forward-sexp.
3854         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3855         (prolog-electric-if-then-else): Remove commands.
3856         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3857         for use in post-self-insert-hook.
3858         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3859         for use in post-self-insert-hook.
3860         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3861         for use in post-self-insert-hook.
3862         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3863         adapt it for use in post-self-insert-hook.
3865 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3867         * emacs-lisp/ert.el (ert-run-tests-interactively):
3868         Use `completing-read'.  (Bug#9756)
3870 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3872         * simple.el (line-move): Call line-move-1 instead of
3873         line-move-visual when the current window hscroll is zero, but
3874         temporary-goal-column indicates we will need to hscroll as result
3875         of the movement.  (Bug#15712)
3877 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3879         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3880         capitalization.  Use :visible instead of :active.
3881         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3882         commands that are used with SMIE.
3883         (ruby-do-end-to-brace): Insert space after `{'.
3885 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3887         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3889         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
3891 2013-10-25  Glenn Morris  <rgm@gnu.org>
3893         * vc/vc.el (vc-print-log): Don't use a working revision unless
3894         one was explicitly specified.  (Bug#15322)
3896 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3898         * subr.el (add-to-list): Preserve return value in compiler-macro
3899         (bug#15692).
3901 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3903         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3904         result.  Ask user to retry using '-all' flag.  (Bug#15701)
3906 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3908         * emacs-lisp/smie.el: New smie-config system.
3909         (smie-config): New defcustom.
3910         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3911         (smie-config-guess, smie-config-save): New commands.
3912         (smie-config--mode-local, smie-config--buffer-local)
3913         (smie-config--trace, smie-config--modefuns): New vars.
3914         (smie-config--advice, smie-config--mode-hook)
3915         (smie-config--setter, smie-config-local, smie-config--get-trace)
3916         (smie-config--guess-value, smie-config--guess): New functions.
3917         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3918         text properties.  Treat "string fence" syntax like string syntax.
3920         * progmodes/sh-script.el (sh-use-smie): Change default.
3921         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3922         (sh-var-value): Simplify by CSE.
3923         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3924         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3925         is used.
3926         (sh-guess-basic-offset): Use cl-incf.
3927         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3929 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
3931         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3932         (bug#15699).
3934 2013-10-24  Glenn Morris  <rgm@gnu.org>
3936         * Makefile.in (abs_top_srcdir): Remove.
3937         (update-subdirs): Use relative path to update-subdirs.
3939 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
3941         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3942         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3943         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3944         Call unmsys--file-name before expand-file-name, not after it.
3946 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
3948         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3949         (ert-test-skipped): New error.
3950         (ert-skip, ert-stats-skipped): New defuns.
3951         (ert--skip-unless): New macro.
3952         (ert-test-skipped): New struct.
3953         (ert--run-test-debugger, ert-test-result-type-p)
3954         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3955         (ert--stats-set-test-and-result, ert-char-for-test-result)
3956         (ert-string-for-test-result, ert-run-tests-batch)
3957         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3958         Handle skipped tests.  (Bug#9803)
3960 2013-10-24  Glenn Morris  <rgm@gnu.org>
3962         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3964         * Makefile.in (abs_top_srcdir): New, set by configure.
3965         (update-subdirs): Correct build-aux location.
3967 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
3969         * vc/vc.el (vc-print-root-log): Always set `default-directory'
3970         value, whether we could auto-deduce `backend', or not.
3972         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3973         with parameters" example.  Simplify the "is it block or is it
3974         hash" check, but also make it more thorough.
3976 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
3978         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
3980 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3982         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3983         { if it is hanging.
3985         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3986         :before ";".
3988 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
3990         * progmodes/compile.el (compilation-directory-matcher)
3991         (compilation-page-delimiter):
3992         Support GNU Make-4.0 directory quoting.  (Bug#15678)
3994 2013-10-23  Leo Liu  <sdl.web@gmail.com>
3996         * ido.el (ido-tidy): Handle read-only text.
3998 2013-10-23  Glenn Morris  <rgm@gnu.org>
4000         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4001         (emacs, compile, compile-always):
4002         Quote entities that might contain whitespace.
4003         (custom-deps, finder-data, autoloads): Use abs_lisp.
4004         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4005         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4006         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4008 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
4010         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4011         Use `following-char'.
4013 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4015         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4016         * progmodes/ruby-mode.el (ruby-smie-rules):
4017         Remove corresponding workaround.  Fix indentation rule of ";" so it
4018         also applies when ";" is the parent.
4020 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
4022         * frame.el (display-screens, display-pixel-height)
4023         (display-pixel-width, display-mm-width, display-backing-store)
4024         (display-save-under, display-planes, display-color-cells)
4025         (display-visual-class, display-monitor-attributes-list):
4026         Mention the optional ‘display’ argument in doc strings.
4028 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
4030         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4031         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
4033 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4035         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4036         TODO.  Add "." after " @ ".
4037         (ruby-smie--at-dot-call): New function.  Checks if point at method
4038         call with explicit target.
4039         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4040         to the method name tokens when it precedes them.
4041         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4042         (ruby-smie-rules): Add rule for indentation before and after "."
4043         token.
4045 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * textmodes/remember.el (remember-diary-extract-entries):
4048         Avoid add-to-list.
4050         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4051         an instruction.
4053 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4055         * progmodes/ruby-mode.el (ruby-smie-grammar):
4056         Add (almost) all infix operators.
4057         (ruby-smie--implicit-semi-p): Add new operator chars.
4059         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4060         `smie-down-list'.
4061         (ruby-smie--args-separator-p): Check that there's no newline
4062         between method call and its arguments.
4064 2013-10-20  Alan Mackenzie  <acm@muc.de>
4066         Allow comma separated lists after Java "implements".
4068         * progmodes/cc-engine.el (c-backward-over-enum-header):
4069         Parse commas.
4070         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4071         from a "disallowed" list in enum fontification.
4073 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
4075         * startup.el (default-frame-background-mode): Remove unused defvar.
4077         * progmodes/verilog-mode.el (verilog-mode): Don't set
4078         comment-indent-function globally.
4080 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
4082         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4083         Move Info menu item creation to ns-win.el.
4085         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4086         in menu bar.
4088         * menu-bar.el: Move GNUstep specific menus...
4090         * term/ns-win.el (ns-initialize-window-system): ... to here.
4092 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4094         * simple.el (newline): Only run post-self-insert-hook when
4095         called interactively.
4097 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
4099         * icomplete.el (icomplete-with-completion-tables): Add :version.
4101 2013-10-19  Alan Mackenzie  <acm@muc.de>
4103         Fix fontification bugs with constructors and const.
4105         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4106         CASE 2) Remove the check for the absence of a suffix construct
4107         after a function declaration with only types (no identifiers) in
4108         the parentheses.  Also, accept a function declaration with just a
4109         type inside the parentheses, if this type can be positively
4110         recognised as such, or if a prefix keyword like "explicit" nails
4111         down the construct as a declaration.
4113 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
4115         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4116         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
4117         the problem whereby selecting a menu item that leads to a
4118         minibuffer prompt moves the cursor out of the minibuffer window,
4119         making it hard to type at the prompt.  Suggested by Stefan Monnier
4120         <monnier@iro.umontreal.ca>.
4122 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
4124         * menu-bar.el: Don't make Services menu.
4126 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4128         * ffap.el: Handle "/usr/include/c++/<version>" directories.
4129         (ffap-alist): Use ffap-c++-mode for c++-mode.
4130         (ffap-c++-path): New variable.
4131         (ffap-c++-mode): New function.
4133 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
4135         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
4137 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
4139         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4140         introduced on 2013-09-08, which results in an infinite loop
4141         requesting a password.
4143 2013-10-18  Glenn Morris  <rgm@gnu.org>
4145         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4147 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
4149         Sync with upstream verilog-mode revision 1a6ecec7.
4150         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4151         (verilog-mode-release-date): Remove.
4152         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4153         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4154         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4155         (verilog-auto-tieoff-ignore-regexp)
4156         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4157         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4158         (verilog-signals-with, verilog-dir-cache-preserving)
4159         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4160         Doc fixes.
4161         (verilog-case-fold): New option, to control case folding in
4162         regexp searches, bug597.
4163         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4164         (verilog-string-match-fold, verilog-in-paren-count)
4165         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4166         (verilog-at-close-struct-p): New functions.
4167         (verilog-beg-block-re-ordered, verilog-extended-case-re)
4168         (verilog-forward-sexp, verilog-set-auto-endcomments):
4169         (verilog-leap-to-case-head): Handle "unique0" case.
4170         (verilog-in-constraint-re): New constant.
4171         (verilog-keywords, verilog-type-font-keywords):
4172         Add some SystemVerilog 1800-2012 keywords.
4173         (verilog-label-be): Remove unimplemented argument, bug669.
4174         (verilog-batch-execute-func): When batch expanding clear
4175         create-lockfiles to prevent spurious user locks when a file ends
4176         up not changing.
4177         (verilog-calculate-indent, verilog-calc-1)
4178         (verilog-at-close-constraint-p, verilog-at-constraint-p)
4179         (verilog-do-indent): Fix indentation of nested constraints
4180         and structures.
4181         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4182         (verilog-auto-inst-param): Use verilog-string-match-fold.
4183         (verilog-read-inst-module-matcher):
4184         Fix AUTOINST on gate primitives with #1.
4185         (verilog-read-decls): Fix double-declaring user-defined typed signals.
4186         Reads all user-defined typed variables.
4187         (verilog-read-defines): Fix reading definitions inside comments, bug647.
4188         (verilog-signals-matching-regexp)
4189         (verilog-signals-not-matching-regexp, verilog-auto):
4190         Respect verilog-case-fold.
4191         (verilog-diff-report): Fix line count.
4192         (verilog-auto-assign-modport): Remove unused local `modi'.
4193         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4194         better handle multidimensional arrays.
4195         Fix packed array ports misadding bit index in AUTOINST, bug637.
4196         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4197         to not double-declare existing outputs and inputs, respectively.
4198         (verilog-template-map): Bind U to verilog-sk-uvm-component.
4199         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4200         (verilog-sk-uvm-component): New skeleton.
4201         (verilog-submit-bug-report): Add verilog-case-fold,
4202         remove verilog-mode-release-date.
4204 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
4206         * subr.el (sit-for): Call (input-pending-p t) so as to behave
4207         as before.
4209 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
4211         * textmodes/remember.el (remember): Set buffer-offer-save in
4212         remember buffers (bug#13566).
4214 2013-10-18  Daniel Colascione  <dancol@dancol.org>
4216         When evaluating forms in ielm, direct standard output to ielm
4217         buffer.  Add new ielm-return-for-effect command.  Remove trailing
4218         whitespace throughout.
4220         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4221         (ielm-return-for-effect): New command.
4222         (ielm-send-input): Accept optional `for-effect' parameter.
4223         (ielm-eval-input): Accept optional `for-effect' parameter.
4224         Bind `standard-output' to stream we create using
4225         `ielm-standard-output-impl'.  Suppress printing result when
4226         `for-effect'.
4227         (ielm-standard-output-impl): New function.
4228         (inferior-emacs-lisp-mode): Explain new features in documentation.
4230 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
4232         Code cleanup.
4234         * net/tramp.el (tramp-debug-message): Do not check for connection
4235         buffer.
4236         (tramp-message): Use "vector" connection property.
4238         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4239         (tramp-equal-remote, tramp-eshell-directory-change)
4240         * net/tramp-adb.el (tramp-adb-handle-copy-file)
4241         (tramp-adb-handle-rename-file)
4242         * net/tramp-cmds.el (tramp-list-remote-buffers)
4243         (tramp-cleanup-connection, tramp-cleanup-this-connection)
4244         * net/tramp-compat.el (tramp-compat-process-running-p)
4245         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4246         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4247         (tramp-gvfs-handle-rename-file)
4248         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4249         (tramp-set-file-uid-gid)
4250         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4251         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4252         of `file-remote-p'.
4254         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4255         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4256         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4257         (tramp-gw-open-network-stream): Suppress unrelated traces.
4259         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4260         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4261         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4262         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4263         connection property.
4265         * net/tramp-cache.el (top): Suppress traces when reading
4266         persistency file.
4268         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4269         Refactor common code.  Improve debug message.
4270         (tramp-maybe-open-connection)
4271         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4272         connection buffer too early.
4274         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4275         from `tramp-smb-actions-with-acl'.
4276         (tramp-smb-actions-set-acl): New defconst.
4277         (tramp-smb-handle-copy-directory)
4278         (tramp-smb-action-get-acl): New defun, renamed from
4279         `tramp-smb-action-with-acl'.
4280         (tramp-smb-action-set-acl): New defun.
4281         (tramp-smb-handle-set-file-acl): Rewrite.
4283 2013-10-17  Glenn Morris  <rgm@gnu.org>
4285         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
4287 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4289         * skeleton.el (skeleton-newline): Remove.
4290         (skeleton-internal-1): Use (insert "\n") instead.
4292         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4293         let-bindings.
4295         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4296         forward-sexp-function while we redo its job (bug#15613).
4298 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
4300         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4301         represented by lists.
4303 2013-10-16  Glenn Morris  <rgm@gnu.org>
4305         * tmm.el (tmm--history): New dynamic variable.
4306         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
4308 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
4310         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4311         (tramp-smb-errors): Add error messages.
4312         (tramp-smb-actions-with-acl): New defconst.
4313         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4314         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4315         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4316         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4317         (tramp-smb-get-stat-capability): Fix tests.
4319 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4321         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4322         (bug#15580).
4324 2013-10-16  Glenn Morris  <rgm@gnu.org>
4326         * ansi-color.el (ansi-color-drop-regexp):
4327         Add 1J, 1K, 2K.  (Bug#15617)
4329         * files.el (hack-local-variables--warned-lexical): New.
4330         (hack-local-variables):
4331         Warn about misplaced lexical-binding.  (Bug#15616)
4333         * net/eww.el (eww-render): Always set eww-current-url,
4334         and update header line.  (Bug#15622)
4335         (eww-display-html): ... Rather than just doing it here.
4337 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
4339         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4340         menu navigations commands.
4342 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4344         * progmodes/subword.el (subword-capitalize): Be careful when
4345         the search for [[:alpha:]] fails (bug#15580).
4347 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
4349         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4350         to commands that scroll the menu.
4352 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
4354         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4355         Handle methods ending with `?' and `!'.
4357 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
4359         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4360         `japanese-cp932' to `cp932' to fix the problem where saving a
4361         source file written in Shift_JIS twice would end up having
4362         `coding: japanese-cp932' which Ruby could not recognize.
4363         (ruby-mode-set-encoding): Add support for encodings mapped to nil
4364         in `ruby-encoding-map'.
4365         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4366         doesn't need to be explicitly declared in magic comment.
4367         (ruby-encoding-map): Add type declaration for better customize UI.
4369 2013-10-13  Glenn Morris  <rgm@gnu.org>
4371         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4372         Occur buffers are read-only.  http://bugs.debian.org/720775
4374         * emacs-lisp/authors.el (authors-fixed-entries):
4375         Comment out old alpha stuff.
4377 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
4379         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4380         to `after-save-hook' instead of `before-save-hook'.
4381         (ruby-mode-set-encoding): Use the value of coding system used to
4382         write the file.  Call `basic-save-buffer-1' after modifying the
4383         buffer.
4385 2013-10-13  Alan Mackenzie  <acm@muc.de>
4387         Fix indentation/fontification of Java enum with
4388         "implements"/generic.
4390         * progmodes/cc-engine.el (c-backward-over-enum-header):
4391         Extracted from the three other places and enhanced to handle generics.
4392         (c-inside-bracelist-p): Uses new function above.
4393         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4394         function above.
4395         (c-font-lock-enum-tail): Uses new function above.
4397 2013-10-13  Kenichi Handa  <handa@gnu.org>
4399         * international/mule-cmds.el (select-safe-coding-system): Remove a
4400         superfluous condition in chekcing whether a coding system is safe
4401         or not.
4403 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
4405         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
4407 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
4409         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
4411 2013-10-13  Glenn Morris  <rgm@gnu.org>
4413         * menu-bar.el (menu-bar-update-buffers):
4414         Unify Buffers menu prompt string.  (Bug#15576)
4416         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
4418         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4419         Add some entries.
4420         (authors-fixed-entries): Use accented form of name.
4422 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4424         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4425         method calls (bug#15594).
4426         (ruby-smie--args-separator-p): New function.
4427         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4428         recognize paren-free method calls.
4430         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4431         internals of universal-argument.
4433 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
4435         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4436         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4437         dropped menu on second mouse click on the menu bar.
4439 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4441         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4442         (explicit-shell-file-name): Declare.
4443         (sh--vars-before-point, sh--cmd-completion-table): New functions.
4444         (sh-completion-at-point-function): New function.
4445         (sh-mode): Use it.
4446         (sh-smie--keyword-p): Remove unused argument.
4447         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4448         vars.
4449         (sh-set-shell): Always setup SMIE, even if we use the
4450         old indentation code.
4452 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
4454         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4455         cases of ? and =.
4456         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
4457         predicate would return nil are almost non-existent.
4458         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4460         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4461         cache also after commands that modify the buffer but don't move
4462         point.
4464 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4466         * env.el (substitute-env-in-file-name): New function.
4467         (substitute-env-vars): Extend the meaning of the optional arg.
4469 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
4471         * term/w32-win.el (dynamic-library-alist): Define separate lists
4472         of GIF DLLs for versions before and after 5.0.0 of giflib.
4473         (Bug#15531)
4475 2013-10-10  João Távora  <joaotavora@gmail.com>
4477         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4478         not locked, use last revision and current source as
4479         defaults.  (Bug#15569)
4481 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
4483         * menu-bar.el (menu-bar-open): Don't use popup-menu if
4484         menu-bar is hidden.
4486 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
4488         * window.el (pop-to-buffer-same-window): Fix doc-string.
4489         (Bug#15492)
4491 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4493         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4495 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
4497         * calendar/icalendar.el (icalendar-import-file):
4498         Fix interactive spec.  (Bug#15482)
4500 2013-10-10  Glenn Morris  <rgm@gnu.org>
4502         * desktop.el (desktop-save): Default to saving in .emacs.d,
4503         since PWD is no longer in desktop-path by default.  (Bug#15319)
4505         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4506         now that text mode has a menu with the same entry.
4507         (menu-bar-text-mode-auto-fill): Remove now unused func.
4508         * textmodes/text-mode.el (text-mode-map):
4509         Use auto-fill help text from menu-bar.el.
4511 2013-10-10  John Anthony  <john@jo.hnanthony.com>
4513         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
4515 2013-10-09  Juri Linkov  <juri@jurta.org>
4517         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4518         instead of this-command-keys.  Add universal-argument-more and
4519         universal-argument-minus to the list of prefix commands.  (Bug#15568)
4521 2013-10-09  Glenn Morris  <rgm@gnu.org>
4523         * vc/vc-svn.el (vc-svn-create-repo):
4524         Expand paths in file://... url.  (Bug#15446)
4526         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4527         Add some entries.
4528         (authors): Remove unused local variables.
4530 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4532         * profiler.el: Create a more coherent calltree from partial backtraces.
4533         (profiler-format): Hide the tail with `invisible' so that C-s can still
4534         find the hidden elements.
4535         (profiler-calltree-depth): Don't recurse so enthusiastically.
4536         (profiler-function-equal): New hash-table-test.
4537         (profiler-calltree-build-unified): New function.
4538         (profiler-calltree-build): Use it.
4539         (profiler-report-make-name-part): Indent the calltree less.
4540         (profiler-report-mode): Add visibility specs for profiler-format.
4541         (profiler-report-expand-entry, profiler-report-toggle-entry):
4542         Expand the whole subtree when provided with a prefix arg.
4544 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
4546         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4547         iuwu-mod token.
4548         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4549         hanging iuwu-mod token.
4550         (ruby-smie--forward-token): Do not include a dot after a token in
4551         that token.
4552         (ruby-smie--backward-token): Likewise.
4554 2013-10-08  Juri Linkov  <juri@jurta.org>
4556         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4557         to isearch-other-control-char.
4558         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4559         and isearch-post-command-hook to post-command-hook.
4560         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4561         and isearch-post-command-hook from post-command-hook.
4562         (isearch-unread-key-sequence)
4563         (isearch-reread-key-sequence-naturally)
4564         (isearch-lookup-scroll-key, isearch-other-control-char)
4565         (isearch-other-meta-char): Remove functions.
4566         (isearch-pre-command-hook, isearch-post-command-hook):
4567         New functions based on isearch-other-meta-char rewritten
4568         relying on the new behavior of overriding-terminal-local-map
4569         that does not replace the local keymaps any more.  (Bug#15200)
4571 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
4573         Support menus on text-mode terminals.
4574         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4575         functionality.
4577         * tooltip.el (tooltip-mode): Don't error out on TTYs.
4579         * menu-bar.el (popup-menu, popup-menu-normalize-position):
4580         Move here from mouse.el.
4581         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4582         and arrow keys.
4583         (tty-menu-navigation-map): New map for TTY menu navigation.
4585         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4587         * frame.el (display-mouse-p): Report text-mode mouse as available
4588         on w32.
4589         (display-popup-menus-p): Report availability if mouse is
4590         available; don't condition on window-system.
4592         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4593         (tty-menu-selected-face): New faces.
4595 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4597         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4598         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4599         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4600         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4601         New constants.
4602         (lisp-mode-variables): New `elisp' argument.
4603         (emacs-lisp-mode): Use it.
4604         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4605         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4607         * indent.el: Use lexical-binding.
4608         (indent-region): Add progress reporter.
4609         (tab-stop-list): Make it implicitly extend to infinity by repeating the
4610         last step.
4611         (indent--next-tab-stop): New function to implement this behavior.
4612         (tab-to-tab-stop, move-to-tab-stop): Use it.
4614 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
4616         * indent.el (indent-rigidly--current-indentation): New function.
4617         (indent-rigidly-map): New var.
4618         (indent-rigidly): Use it to provide interactive mode (bug#8196).
4620 2013-10-08  Bastien Guerry  <bzg@gnu.org>
4622         * register.el (insert-register): Fix 2013-10-07 change.
4624 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4626         * progmodes/perl-mode.el: Use lexical-binding.
4627         Remove redundant :group args.
4628         (perl-nochange): Change default to be closer to other major modes's
4629         standard behavior.
4630         (perl-indent-line): Don't consider text on current line as a
4631         valid beginning of function from which to indent.
4633         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4634         with more than one argument (bug#15538).
4636         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4638         * vc/pcvs.el: Use lexical-binding.
4639         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4640         environment of `eval'.
4641         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4642         than a list of expressions.  Adjust callers.
4643         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4645 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
4647         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4648         case of the dot in a chained method call being on the following line.
4650 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4652         * electric.el (electric-indent-inhibit): New var.
4653         (electric-indent-post-self-insert-function): Use it.
4654         * progmodes/python.el (python-mode): Set it.
4656         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4657         open braces.
4659         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4661         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4662         (css-mode): Use electric-indent-chars.
4664         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4665         (font-lock-beg, font-lock-end): Move before first use.
4666         (nxml-mode): Use syntax-propertize-function.
4667         (nxml-after-change, nxml-after-change1): Adjust accordingly.
4668         (nxml-extend-after-change-region): Remove.
4669         * nxml/xmltok.el: Use lexical-binding.
4670         (xmltok-save): Use `declare'.
4671         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4672         * nxml/nxml-util.el: Use lexical-binding.
4673         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4674         Use `declare'.
4675         * nxml/nxml-ns.el: Use lexical-binding.
4676         (nxml-ns-save): Use `declare'.
4677         (nxml-ns-prefixes-for): Avoid add-to-list.
4678         * nxml/rng-match.el: Use lexical-binding.
4679         (rng--ipattern): Use cl-defstruct.
4680         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4681         (rng-cons-group-after, rng-subst-group-after)
4682         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4683         Use closures instead of `(lambda...).
4685 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
4687         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4688         of BEG and END.
4690         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4691         Use `tramp-handle-insert-file-contents'.
4692         (tramp-gvfs-handle-insert-file-contents): Remove function.
4694         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4695         Use `save-restriction' in order to keep markers.
4697         * net/trampver.el: Update release number.
4699 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4701         * progmodes/compile.el (compilation-parse-errors):
4702         Use compilation--put-prop.
4703         (compilation--ensure-parse): Check compilation-multiline.
4705         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4707         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4708         lexical-binding.
4710         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4712         * progmodes/ruby-mode.el: Fix recently added tests.
4713         (ruby-smie-grammar): Add - and +.
4714         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4715         (ruby-smie--backward-id): New functions.
4716         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4717         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
4718         any more.
4720 2013-10-07  Leo Liu  <sdl.web@gmail.com>
4722         * register.el (register-preview-delay)
4723         (register-preview-functions): New variables.
4724         (register-read-with-preview, register-preview)
4725         (register-describe-oneline): New functions.
4726         (point-to-register, window-configuration-to-register)
4727         (frame-configuration-to-register, jump-to-register)
4728         (number-to-register, view-register, insert-register)
4729         (copy-to-register, append-to-register, prepend-to-register)
4730         (copy-rectangle-to-register): Use register-read-with-preview to
4731         read register.  (Bug#15525)
4733 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
4735         * net/network-stream.el (network-stream-open-starttls): Don't add
4736         --insecure if it's already present, because that gnutls-cli
4737         rejects getting that parameter twice.
4739 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
4741         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4742         keyword, too.
4744 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
4746         * newcomment.el (comment-use-global-state): Change default value
4747         to t, mark obsolete (Bug#15251).
4748         (comment-beginning): In addition to `comment-to-syntax', check the
4749         value of `comment-use-global-state'.
4751 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4753         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4754         (ruby-comment-column): Follow the global default, by default.
4755         (ruby-smie-grammar): Add assignment syntax.
4756         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4757         open-paren, a comma, or a \.
4758         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4759         and line continuations.
4760         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4761         followed by implicit semi-colons.  Add rule for string concatenation
4762         and for indentation at BOB.
4763         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4765         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4766         calling next-sexp, since next-token may have skipped chars which
4767         next-sexp doesn't know should be skipped!
4769 2013-10-05  Leo Liu  <sdl.web@gmail.com>
4771         * progmodes/octave.el (octave-send-region):
4772         Call compilation-forget-errors.
4774 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4776         * vc/vc-svn.el (vc-svn-find-admin-dir):
4777         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4778         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4779         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4780         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4782 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4784         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4786 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4788         * subr.el (read-passwd): Hide chars even when called within a context
4789         where after-change-functions is disabled (bug#15501).
4790         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4791         until we removed ourself from overriding-terminal-local-map.
4793 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4795         * progmodes/octave.el (inferior-octave-mode):
4796         Call compilation-forget-errors.
4798 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4800         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4802 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4804         * net/secrets.el (secrets-create-collection): Add optional
4805         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4806         dbus-call-method argument.  (Bug#15516)
4808 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4810         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4811         (inferior-octave-compilation-font-lock-keywords): New variables.
4812         (compilation-error-regexp-alist)
4813         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4814         (inferior-octave-mode): Use compilation-shell-minor-mode.
4816 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4818         * minibuffer.el (completion--replace): Be careful that `end' might be
4819         a marker.
4821 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4823         Add support for package signature checking.
4824         * emacs-lisp/package.el (url-http-file-exists-p)
4825         (epg-make-context, epg-context-set-home-directory)
4826         (epg-verify-string, epg-context-result-for)
4827         (epg-signature-status, epg-signature-to-string)
4828         (epg-check-configuration, epg-configuration)
4829         (epg-import-keys-from-file): Declare.
4830         (package-check-signature): New user option.
4831         (package-unsigned-archives): New user option.
4832         (package-desc): Add `signed' field.
4833         (package-load-descriptor): Set `signed' field if .signed file exists.
4834         (package--archive-file-exists-p): New function.
4835         (package--check-signature): New function.
4836         (package-install-from-archive): Check package signature.
4837         (package--download-one-archive): Check archive signature.
4838         (package-delete): Remove .signed file.
4839         (package-import-keyring): New command.
4840         (package-refresh-contents): Import default keyring.
4841         (package-desc-status): Add "unsigned" status.
4842         (describe-package-1, package-menu--print-info)
4843         (package-menu-mark-delete, package-menu--find-upgrades)
4844         (package-menu--status-predicate): Support "unsigned" status.
4846 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4848         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4849         the new compilation scheme using the new byte-codes.
4851         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4852         (byte-pophandler): New byte codes.
4853         (byte-goto-ops): Adjust accordingly.
4854         (byte-compile--use-old-handlers): New var.
4855         (byte-compile-catch): Use new byte codes depending on
4856         byte-compile--use-old-handlers.
4857         (byte-compile-condition-case--old): Rename from
4858         byte-compile-condition-case.
4859         (byte-compile-condition-case--new): New function.
4860         (byte-compile-condition-case): New function that dispatches depending
4861         on byte-compile--use-old-handlers.
4862         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4863         when we can.
4865         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4866         Optimize under `condition-case' and `catch' if
4867         byte-compile--use-old-handlers is nil.
4868         (disassemble-offset): Handle new bytecodes.
4870 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4872         * subr.el (error): Use `declare'.
4873         (decode-char, encode-char): Use advertised-calling-convention instead
4874         of the docstring to discourage use of the `restriction' arg.
4876 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4878         * epg.el (epg-verify-file): Add a comment saying that it does not
4879         notify verification error as a return value nor a signal.
4880         (epg-verify-string): Ditto.
4882 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4884         * progmodes/compile.el (compilation-start): Try globbing the arg to
4885         `cd' (bug#15417).
4887 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4889         Sync with Tramp 2.2.8.
4891         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4892         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4893         * net/trampver.el: Update release number.
4895 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
4897         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4898         and default-process-coding-system for darwin only.
4900 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4902         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4904 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
4906         * vc/vc-git.el (vc-git-grep): Disable pager.
4908 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4910         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4911         Use :url instead of :homepage, as per
4912         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4914         * newcomment.el (comment-beginning): When `comment-use-syntax' is
4915         non-nil, use `syntax-ppss' (Bug#15251).
4917 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4919         * progmodes/octave.el (inferior-octave-startup-file):
4920         Prefer ~/.emacs.d/init_octave.m.
4922 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
4924         * emacs-lisp/package.el (package-desc-from-define):
4925         Accept additional arguments as plist, convert them to an alist and store
4926         them in the `extras' slot.
4927         (package-generate-description-file): Convert extras alist back to
4928         plist and append to the `define-package' form arguments.
4929         (package--alist-to-plist): New function.
4930         (package--ac-desc): Add `extras' slot.
4931         (package--add-to-archive-contents): Check if the archive-contents
4932         vector is long enough, and if it is, pass its `extras' slot value
4933         to `package-desc-create'.
4934         (package-buffer-info): Call `lm-homepage', pass the returned value
4935         to `package-desc-from-define'.
4936         (describe-package-1): Render the homepage button (Bug#13291).
4938         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4939         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4941 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
4943         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4944         and default-process-coding-system to utf-8-unix (Bug#15402).
4946 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
4948         * subr.el (looking-back): Do not recommend using looking-back.
4950 2013-09-28  Alan Mackenzie  <acm@muc.de>
4952         Fix indentation/fontification of Java enum with "implements".
4954         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4955         regexp which matches "implements", etc., in Java.
4956         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4957         specifier clauses coming after "enum".
4958         * progmodes/cc-fonts.el (c-font-lock-declarations)
4959         (c-font-lock-enum-tail): Check for extra specifier clauses coming
4960         after "enum".
4962 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
4964         * faces.el (region): Change ns_selection_color to
4965         ns_selection_fg_color, add ns_selection_bg_color.
4967 2013-09-28  Leo Liu  <sdl.web@gmail.com>
4969         * progmodes/octave.el (inferior-octave-completion-table)
4970         (inferior-octave-completion-at-point): Minor tweaks.
4972         * textmodes/ispell.el (ispell-lookup-words): Rename from
4973         lookup-words.  (Bug#15460)
4974         (lookup-words): Obsolete.
4975         (ispell-complete-word, ispell-command-loop): All uses changed.
4977 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4979         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4980         (octave-mode-menu): Add octave-send-buffer.
4981         (octave-send-buffer): New function.
4983 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4985         * progmodes/octave.el (octave-mode-map): Add key binding for
4986         octave-lookfor.
4987         (octave-mode-menu): Add octave-lookfor.
4988         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4989         octave-lookfor.
4990         (octave-lookfor): New function.
4992 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * emacs-lisp/cl-macs.el:
4995         (cl--loop-destr-temps): Remove.
4996         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4997         its convention.
4998         (cl--loop-set-iterator-function): New function.
4999         (cl-loop): Adjust accordingly, so as not to use cl-subst.
5000         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5001         Bind `it' with `let' instead of substituting it with `cl-subst'.
5002         (cl--unused-var-p): New function.
5003         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5004         Eliminate some unused variable warnings (bug#15326).
5006 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
5008         * doc-view.el (doc-view-scale-reset): Rename from
5009         `doc-view-reset-zoom-level'.
5010         (doc-view-scale-adjust): New command.
5011         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5012         `doc-view-scale-adjust'.
5014 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
5016         * doc-view.el (doc-view-reset-zoom-level): New command.
5017         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5018         zoom commands (bug#15466).
5020 2013-09-26  Kenichi Handa  <handa@gnu.org>
5022         * international/quail.el (quail-help): Make it not a command.
5024 2013-09-26  Leo Liu  <sdl.web@gmail.com>
5026         * minibuffer.el (completion-all-sorted-completions): Make args
5027         optional as they are.
5029 2013-09-25  Daniel Colascione  <dancol@dancol.org>
5031         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5032         specs are and that they're not evaluated.
5034 2013-09-24  Sam Steingold  <sds@gnu.org>
5036         * midnight.el (clean-buffer-list-kill-regexps)
5037         (clean-buffer-list-kill-buffer-names): Update for the new Man
5038         buffer naming which includes the object name.
5040 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5042         * eshell/esh-cmd.el (eshell--sep-terms): New var.
5043         (eshell-parse-command, eshell-parse-pipeline): Use it since
5044         eshell-separate-commands requires a dynamic scoped var.
5045         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5047 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5049         * autoinsert.el (auto-insert-alist): Make the value of
5050         lexical-binding match its file setting.
5052 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5054         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5056         * autoarg.el (autoarg-kp-digit-argument):
5057         * electric.el (Electric-command-loop):
5058         * kmacro.el (kmacro-step-edit-insert):
5059         Do not set universal-argument-num-events.
5061 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5063         * files.el (interpreter-mode-alist): Add octave.
5065 2013-09-21  Alan Mackenzie  <acm@muc.de>
5067         C++: fontify identifier in declaration following "public:" correctly.
5068         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5069         to match "public", etc.
5070         (c-decl-prefix-re): Add ":" into the C++ value.
5071         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5072         bit.  Add a check for a ":" preceded by "public", etc.
5074 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
5076         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5077         recognized by GDB 7.5 and later.
5079 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
5081         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5083 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5085         * subr.el (internal--call-interactively): New const.
5086         (called-interactively-p): Use it (bug#3984).
5088 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
5090         * vc/pcvs.el (cvs-mode-ignore):
5091         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5092         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5094 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5096         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
5097         (eshell-ls-orig-insert-directory): Remove.
5098         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
5099         (eshell-ls-use-in-dired): Use advice-add/remove.
5100         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5101         Add `orig-fun' arg for use in :around advice.
5102         Make it check (redundantly) eshell-ls-use-in-dired.
5104 2013-09-19  Glenn Morris  <rgm@gnu.org>
5106         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5108         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5110         * emacs-lisp/eieio.el (class-parent): Undo previous change.
5112 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
5114         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5115         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5116         (tramp-get-remote-python): New defuns.
5117         (tramp-get-remote-uid-with-perl)
5118         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
5119         contributed by yary <not.com@gmail.com> (tiny change).
5120         (tramp-get-remote-uid-with-python)
5121         (tramp-get-remote-gid-with-python): New defuns.  Python code
5122         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5123         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5125 2013-09-19  Glenn Morris  <rgm@gnu.org>
5127         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5129         * eshell/em-unix.el (eshell-remove-entries):
5130         Rename argument to avoid name-clash with global `top-level'.
5132         * eshell/esh-proc.el (eshell-kill-process-function):
5133         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5134         (eshell-reset-after-proc): Remove unused arg `proc'.
5136         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5137         (directory-files-and-attributes): Mark unused arg.
5139         * eshell/em-unix.el (eshell-remove-entries):
5140         Remove unused arg `path'.  Update callers.
5142         * eshell/em-hist.el (eshell-hist-parse-arguments):
5143         Remove unused arg `silent'.  Update callers.
5145         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5146         Fix (f)boundp mix-up.
5148         * eshell/em-smart.el (eshell-smart-scroll-window)
5149         (eshell-disable-after-change):
5150         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5152 2013-09-18  Alan Mackenzie  <acm@muc.de>
5154         Fix fontification of type when followed by "const".
5155         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5156         "known" types from fontification.
5158 2013-09-18  Glenn Morris  <rgm@gnu.org>
5160         * emacs-lisp/chart.el (x-display-color-cells): Declare.
5161         (chart-face-list): Drop Emacsen without display-color-p.
5163         * net/eww.el (libxml-parse-html-region): Declare.
5164         (eww-display-html): Explicit error if no libxml2 support.
5166         * doc-view.el (doc-view-mode): Silence --without-x compilation.
5168         * image.el (image-type-from-buffer, image-multi-frame-p):
5169         Remove --without-x warning/error.
5171         * mouse.el (mouse-yank-primary):
5172         * term.el (term-mouse-paste):
5173         Reorder to silence --without-x compilation.
5175         * mpc.el (doc-view-mode): Silence --without-x compilation.
5177         * mail/rmailmm.el (rmail-mime-set-bulk-data):
5178         Silence --without-x compilation.
5180         * progmodes/gud.el (gud-find-file, gud-mode):
5181         Silence --without-x compilation.
5182         (tooltip-mode): Declare.
5184         * wdired.el (dired-backup-overwrite): Remove declaration.
5185         (wdired-mode-map): Add doc string.
5187         * custom.el (x-get-resource): Declare.
5189         * eshell/em-glob.el (ange-cache):
5190         * eshell/em-unix.el (ange-cache): Declare.
5192         * faces.el (x-display-list, x-open-connection, x-get-resource):
5193         Declare.
5195         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5196         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5197         Declare.
5199         * frame.el (x-display-grayscale-p, x-display-name): Declare.
5201         * net/gnutls.el (gnutls-log-level): Declare.
5203         * net/shr.el (image-size, image-animate): Declare.
5205         * simple.el (font-info): Declare.
5207         * subr.el (x-popup-dialog): Declare.
5209         * term/common-win.el (x-select-enable-primary)
5210         (x-last-selected-text-primary, x-last-selected-text-clipboard):
5211         Declare.
5213         * term/ns-win.el (x-handle-args): Declare.
5215         * term/x-win.el (x-select-enable-clipboard): Declare.
5217         * term/w32-win.el (create-default-fontset): Declare.
5219         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5220         Declare.
5222         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5223         (fit-frame-to-buffer): Explicit error if --without-x.
5224         (mouse-autoselect-window-select): Silence compiler.
5226         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5228         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5229         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5230         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5231         * eshell/esh-util.el (eshell-sublist):
5232         Remove unused local variables.
5234         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5236         * textmodes/two-column.el: Make 2C-split work for --without-x.
5237         (scroll-bar-columns): Autoload.
5238         (top-level): Require fringe when compiling.
5240 2013-09-18  Leo Liu  <sdl.web@gmail.com>
5242         * subr.el (add-hook): Robustify to handle closure as well.
5244 2013-09-17  Glenn Morris  <rgm@gnu.org>
5246         * simple.el (messages-buffer-mode-map): Unbind "g".
5248 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5250         * help-mode.el (help-mode-finish): Use derived-mode-p.
5251         Remove obsolete highlighting.
5253         * play/life.el (life-mode): Use define-derived-mode.  Derive from
5254         special-mode.
5255         (life): Let-bind inhibit-read-only.
5256         (life-setup): Avoid `setq'.  Use `life-mode'.
5258         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5259         which should not be needed any more.
5260         (package-menu-refresh, package-menu-describe-package): Use user-error.
5262         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5263         (eshell-post-rewrite-command-hook): Make obsolete.
5264         (eshell-parse-command): Simplify.
5265         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5266         (eshell--cmd): Declare.
5267         (eshell-parse-pipeline): Remove unused var `final-p'.
5268         Pass a dynvar to eshell-post-rewrite-command-hook.
5269         Implement the new eshell-post-rewrite-command-function.
5270         (eshell-invoke-directly): Remove unused arg `input'.
5271         * eshell/esh-io.el (eshell-io-initialize):
5272         Use eshell-post-rewrite-command-function (bug#15399).
5273         (eshell--apply-redirections): Rename from eshell-apply-redirections;
5274         adjust to new calling convention.
5275         (eshell-create-handles): Rename args to avoid clashing with dynvar
5276         `standard-output'.
5278 2013-09-17  Glenn Morris  <rgm@gnu.org>
5280         * simple.el (messages-buffer-mode): New major mode.
5281         (messages-buffer): New function.
5282         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5283         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5284         (ert-run-test): Use `messages-buffer' function.
5285         (ert--force-message-log-buffer-truncation): Ignore read-only.
5286         * help.el (view-echo-area-messages): Use `messages-buffer' function.
5287         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5289 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5291         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5293         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5295 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5297         * icomplete.el (icomplete-in-buffer): New var.
5298         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5299         vars and replace them with functions.
5300         (icomplete-minibuffer-setup): Adjust accordingly.
5301         (icomplete--completion-table, icomplete--completion-predicate)
5302         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5303         New functions.
5304         (icomplete-forward-completions, icomplete-backward-completions)
5305         (icomplete-simple-completing-p, icomplete-exhibit)
5306         (icomplete-completions): Use them.
5307         (icomplete--in-region-buffer): New var.
5308         (icomplete--in-region-setup): New function.
5309         (icomplete-mode): Use it.
5311         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5312         (bug#15379).
5313         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5314         return args and options.
5315         (eshell-eval-using-options): Use the new return value of
5316         eshell--do-opts to set the options's vars in their scope.
5317         (eshell--set-option): Rename from eshell-set-option.
5318         Add arg `opt-vals'.
5319         (eshell--process-option): Rename from eshell-process-option.
5320         Add arg `opt-vals'.
5321         (eshell--process-args): Use an `opt-vals' alist to store the options's
5322         values during their processing and return them additionally to the
5323         remaining args.
5325 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
5327         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5328         continuation character an operator, as far as indentation is
5329         concerned (Bug#15369).
5331 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
5333         * window.el (window--state-put-2): Don't process buffer state
5334         when buffer doesn't exist any more (Bug#15382).
5336 2013-09-15  Glenn Morris  <rgm@gnu.org>
5338         * eshell/em-unix.el (eshell/rm):
5339         Make -f ignore missing files.  (Bug#15373)
5341         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
5342         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5343         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5345 2013-09-14  Glenn Morris  <rgm@gnu.org>
5347         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5349 2013-09-13  Glenn Morris  <rgm@gnu.org>
5351         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5352         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
5354 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
5356         * frame.el (x-focus-frame): Mark as declared in frame.c.
5358 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5360         * ls-lisp.el: Use advice-add.
5361         (original-insert-directory): Remove.
5362         (ls-lisp--insert-directory): Rename from insert-directory; add
5363         `orig-fun' argument.
5364         (insert-directory): Advise.
5366 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
5368         * term.el (term-emulate-terminal): Decode the command string
5369         before passing it to term-command-hook.  (Bug#15337)
5371 2013-09-13  Glenn Morris  <rgm@gnu.org>
5373         * eshell/esh-util.el (ange-cache): Move declaration earlier.
5375         * eshell/esh-ext.el (eshell-search-path): Declare.
5377         * eshell/em-prompt.el (eshell/pwd): Autoload it.
5378         Otherwise an error occurs if eshell-dirs module not loaded.
5380         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5382 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
5384         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5385         `tramp-check-proper-host'.  Check for a valid method name.
5387         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5388         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5389         * net/tramp-sh.el (tramp-maybe-open-connection):
5390         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5392         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5393         also for hash values.
5395 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5397         * term/ns-win.el (parameters): Don't declare as dynamic.
5398         (before-make-frame-hook): Don't add ineffective function.
5400         * eshell/*.el: Use lexical-binding (bug#15231).
5402 2013-09-12  Kenichi Handa  <handa@gnu.org>
5404         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5406 2013-09-12  Glenn Morris  <rgm@gnu.org>
5408         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5409         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5411         * subr.el (do-after-load-evaluation): Also give compiler warnings
5412         when obsolete files are used (except by obsolete files).
5414         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5415         in the status output, assume `filename' is the first.  (Bug#15322)
5417         * vc/vc.el (vc-deduce-fileset): Doc fix.
5419         * calc/calc-help.el (Info-goto-node):
5420         * progmodes/cperl-mode.el (Info-find-node):
5421         * vc/ediff.el (Info-goto-node): Update declarations.
5423         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5425         * vc/vc-bzr.el (vc-compilation-mode): Declare.
5426         (vc-bzr-pull): Require vc-dispatcher.
5427         * vc/vc-git.el (vc-compilation-mode): Declare.
5428         (vc-git-pull): Require vc-dispatcher.
5430         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5432         * progmodes/octave.el (help-button-action): Declare.
5434         * shell.el (shell-directory-tracker): Output error as a message
5435         rather than just returning it as a string.
5436         (shell-process-pushd): Remove useless use of message.
5438         * dframe.el (dframe-timer-fn):
5439         * files.el (dir-locals-read-from-file):
5440         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5441         (mpc-format):
5442         * reveal.el (reveal-post-command):
5443         * saveplace.el (load-save-place-alist-from-file):
5444         * shell.el (shell-resync-dirs):
5445         * w32-common-fns.el (x-get-selection-value):
5446         * emacs-lisp/copyright.el (copyright-find-copyright):
5447         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5448         * emulation/tpu-edt.el (tpu-copy-keyfile):
5449         * play/bubbles.el (bubbles--mark-neighbourhood):
5450         * progmodes/executable.el
5451         (executable-make-buffer-file-executable-if-script-p):
5452         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5454 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5456         Cleanup Eshell to rely less on dynamic scoping.
5457         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5458         last-value, and ext-command here.  Bind `args' closer to `body'.
5459         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5460         (eshell--args): Declare new dynamic var.
5461         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
5462         last-value, and ext-command.  Pass `args' to `body'.
5463         (eshell-process-args): Bind eshell--args.
5464         (eshell-set-option): Use eshell--args.
5465         * eshell/eshell.el (eshell): Use derived-mode-p.
5466         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5467         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5468         (eshell-glob-function): Declare.
5469         * eshell/esh-util.el: Require cl-lib.
5470         (eshell-read-hosts-file): Avoid add-to-list.
5471         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5472         `err'.
5473         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5474         Declare.
5475         (eshell/diff): Remove unused var `err'.
5476         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5477         `killflag'.
5478         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5479         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5480         first use.
5481         * eshell/em-glob.el (eshell-glob-matches, message-shown):
5482         Move declaration before first use.
5483         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5484         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5485         rely on cl-return.
5487 2013-09-12  Glenn Morris  <rgm@gnu.org>
5489         * term/ns-win.el (global-map): Remove binding for ispell-next,
5490         deleted 1999-05-29.  (Bug#15357)
5492 2013-09-11  Glenn Morris  <rgm@gnu.org>
5494         * echistory.el (electric-command-history): Remove call to deleted func.
5496         * play/landmark.el (landmark-mode): Fix typos.
5498         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5499         Check cvs-sort-ignore-file is bound.
5501         * savehist.el: No need for cl when compiling on Emacs.
5503 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5505         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5506         (bug#15338).
5507         (eshell-self-insert-command, eshell-send-invisible):
5508         Remove unused argument.
5509         (eshell-handle-control-codes): Remove unused var `orig'.
5510         Avoid delete-backward-char.
5512         * files.el (set-auto-mode): Simplify a bit further.
5514 2013-09-11  Glenn Morris  <rgm@gnu.org>
5516         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5517         (set-auto-mode): Don't regexp-quote elements.
5518         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5519         * progmodes/cc-mode.el (interpreter-mode-alist):
5520         * progmodes/ruby-mode.el (interpreter-mode-alist):
5521         Revert previous change.
5523 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5525         * play/snake.el (snake-mode):
5526         * play/mpuz.el (mpuz-mode):
5527         * play/landmark.el (lm-mode):
5528         * play/blackbox.el (blackbox-mode):
5529         * play/5x5.el (5x5-mode):
5530         * obsolete/options.el (Edit-options-mode):
5531         * net/quickurl.el (quickurl-list-mode):
5532         * net/newst-treeview.el (newsticker-treeview-mode):
5533         * mail/rmailsum.el (rmail-summary-mode):
5534         * mail/mspools.el (mspools-mode):
5535         * locate.el (locate-mode):
5536         * ibuffer.el (ibuffer-mode):
5537         * emulation/ws-mode.el (wordstar-mode):
5538         * emacs-lisp/debug.el (debugger-mode):
5539         * array.el (array-mode):
5540         * net/eudc.el (eudc-mode): Use define-derived-mode.
5541         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5542         Move initialization into declaration.
5543         (mairix-searches-mode): Use define-derived-mode.
5544         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5545         (eudc-edit-hotlist): Use dolist.
5546         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5547         (Man-mode): Use define-derived-mode.
5548         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5549         (Info-edit-mode): Use define-derived-mode.
5550         (Info-cease-edit): Use Info-mode.
5551         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5552         into declaration.
5553         (eshell-mode): Use define-derived-mode.
5554         * chistory.el (command-history-mode-map): Rename from
5555         command-history-map.
5556         (command-history-mode): Use define-derived-mode.
5557         (Command-history-setup): Remove function.
5558         * calc/calc.el (calc-trail-mode-map): New var.
5559         (calc-trail-mode): Use define-derived-mode.
5560         (calc-trail-buffer): Set calc-main-buffer manually.
5561         * bookmark.el (bookmark-insert-annotation): New function.
5562         (bookmark-edit-annotation): Use it.
5563         (bookmark-edit-annotation-mode): Make it a proper major mode.
5564         (bookmark-send-edited-annotation): Use derived-mode-p.
5565         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5566         closer to its ideal place.  Use \' to match EOS.
5568         * profiler.el (profiler-calltree-find): Use function-equal.
5570 2013-09-10  Glenn Morris  <rgm@gnu.org>
5572         * files.el (interpreter-mode-alist): Convert to regexps.
5573         (set-auto-mode): Adapt for this.  (Bug#15306)
5574         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5575         Comment out unused variable.
5576         * progmodes/cc-mode.el (interpreter-mode-alist):
5577         * progmodes/python.el (interpreter-mode-alist):
5578         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5579         * progmodes/sh-script.el (sh-set-shell):
5580         No longer use interpreter-mode-alist to get list of shells.
5582         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5584 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5586         * simple.el: Use set-temporary-overlay-map for universal-argument.
5587         (universal-argument-map): Don't use default-bindings (bug#15317).
5588         Bind switch-frame explicitly.  Replace universal-argument-minus with
5589         a conditional binding.
5590         (universal-argument-num-events, saved-overriding-map): Remove.
5591         (restore-overriding-map): Remove.
5592         (universal-argument--mode): Rename from save&set-overriding-map,
5593         and rewrite.
5594         (universal-argument, universal-argument-more, negative-argument)
5595         (digit-argument): Adjust accordingly.
5596         (universal-argument-minus): Remove.
5597         (universal-argument-other-key): Remove.
5599         * subr.el (with-demoted-errors): Add `format' argument.
5601 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
5603         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
5604         `tramp-cleanup-connection'.
5606         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5607         parameters KEEP-DEBUG and KEEP-PASSWORD.
5609         * net/tramp.el (tramp-file-name-handler):
5610         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5611         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5612         (tramp-maybe-open-connection):
5613         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5614         Use `tramp-cleanup-connection'.
5616         * net/tramp-sh.el (tramp-maybe-open-connection):
5617         Catch 'uname-changed inside the progress reporter.
5619 2013-09-10  Glenn Morris  <rgm@gnu.org>
5621         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
5623         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5624         returns "alternate access method" in mode (eg "-rw-r--r--.").
5626 2013-09-08  Glenn Morris  <rgm@gnu.org>
5628         * saveplace.el (load-save-place-alist-from-file):
5629         Demote errors.  (Bug#15305)
5631 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
5633         Improve compatibility with older Emacsen, and XEmacs.
5635         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5636         only if it is bound.  It isn't for XEmacs.
5637         (with-tramp-progress-reporter): Do not let-bind `result'.
5638         This yields to scoping errors in XEmacs.
5639         (tramp-handle-make-auto-save-file-name): New function, moved from
5640         tramp-sh.el.
5642         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5643         for `make-auto-save-file-name'.
5644         (tramp-adb--gnu-switches-to-ash):
5645         Use `tramp-compat-replace-regexp-in-string'.
5647         * net/tramp-cache.el (tramp-cache-print): Call
5648         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
5650         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5651         bound.  It isn't for XEmacs.
5653         * net/tramp-compat.el (tramp-compat-copy-file):
5654         Catch `wrong-number-of-arguments' error.
5655         (tramp-compat-replace-regexp-in-string): New defun.
5657         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5658         for `make-auto-save-file-name'.
5659         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5660         `copy-file'.
5661         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5662         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5663         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5665         * net/tramp-gw.el (tramp-gw-open-network-stream):
5666         Use `tramp-compat-replace-regexp-in-string'.
5668         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5669         Call `tramp-handle-make-auto-save-file-name'.
5670         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5671         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5672         (tramp-sh-file-inotifywait-process-filter):
5673         Use `tramp-compat-replace-regexp-in-string'.
5674         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5676         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5677         for `make-auto-save-file-name'.
5678         (tramp-smb-handle-copy-directory):
5679         Call `tramp-compat-replace-regexp-in-string'.
5680         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5681         (tramp-smb-handle-copy-file): Improve error message.
5682         (tramp-smb-handle-rename-file): Rename directly only in case
5683         `newname' does not exist yet.  This is a restriction of smbclient.
5684         (tramp-smb-maybe-open-connection): Rerun the function only when
5685         `auth-sources' is non-nil.
5687 2013-09-08  Kenichi Handa  <handa@gnu.org>
5689         * international/characters.el: Set category "^" (Combining) for
5690         more characters.
5692 2013-09-07  Alan Mackenzie  <acm@muc.de>
5694         Correctly fontify Java class constructors.
5695         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5696         in Java Mode.
5697         (c-recognize-typeless-decls): Set the Java value to t.
5698         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5699         While handling a "(", add a check for, effectively, Java, and handle a
5700         "typeless" declaration there.
5702 2013-09-07  Roland Winkler  <winkler@gnu.org>
5704         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5705         field subtitle for entry type book.
5707 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5709         * minibuffer.el: Make minibuffer-complete call completion-in-region
5710         rather than other way around.
5711         (completion--some, completion-pcm--find-all-completions):
5712         Don't delay signals when debugging.
5713         (minibuffer-completion-contents): Beware fields within the
5714         minibuffer contents.
5715         (completion-all-sorted-completions): Use defvar-local.
5716         (completion--do-completion, completion--cache-all-sorted-completions)
5717         (completion-all-sorted-completions, minibuffer-force-complete):
5718         Add args `beg' and `end'.
5719         (completion--in-region-1): New fun, extracted from minibuffer-complete.
5720         (minibuffer-complete): Use completion-in-region.
5721         (completion-complete-and-exit): New fun, extracted from
5722         minibuffer-complete-and-exit.
5723         (minibuffer-complete-and-exit): Use it.
5724         (completion--complete-and-exit): Rename from
5725         minibuffer--complete-and-exit.
5726         (completion-in-region--single-word): New function, extracted from
5727         minibuffer-complete-word.
5728         (minibuffer-complete-word): Use it.
5729         (display-completion-list): Make `common-substring' argument obsolete.
5730         (completion--in-region): Call completion--in-region-1 instead of
5731         minibuffer-complete.
5732         (completion-help-at-point): Pass boundaries to
5733         minibuffer-completion-help as args rather than via an overlay.
5734         (completion-pcm--string->pattern): Use `any-delim'.
5735         (completion-pcm--optimize-pattern): New function.
5736         (completion-pcm--pattern->regex): Handle `any-delim'.
5737         * icomplete.el (icomplete-forward-completions)
5738         (icomplete-backward-completions, icomplete-completions):
5739         Adjust calls to completion-all-sorted-completions and
5740         completion--cache-all-sorted-completions.
5741         (icomplete-with-completion-tables): Default to t.
5742         * emacs-lisp/crm.el (crm--current-element): Rename from
5743         crm--select-current-element.  Don't put an overlay but return the
5744         boundaries instead.
5745         (crm--completion-command): Take two new args to bind to the boundaries.
5746         (crm-completion-help): Adjust accordingly.
5747         (crm-complete): Use completion-in-region.
5748         (crm-complete-word): Use completion-in-region--single-word.
5749         (crm-complete-and-exit): Use completion-complete-and-exit.
5751 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5753         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5754         than dynamically.
5756 2013-09-06  Juri Linkov  <juri@jurta.org>
5758         * info.el (Info-display-images-node): When image file doesn't exist
5759         display text version of the image if it's provided in the Info file.
5760         Otherwise, display the location of missing image from SRC attribute.
5761         Add help-echo text property from ALT attribute.  (Bug#15279)
5763 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5765         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5766         (edit-abbrevs-mode): Use define-derived-mode.
5768         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5769         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5770         that it's defined.
5771         (epa-key-list-mode, epa-key-mode, epa-info-mode):
5772         Use define-derived-mode.
5774         * epg.el (epg-start-encrypt): Minor CSE simplification.
5776 2013-09-06  William Xu  <william.xwl@gmail.com>
5778         * arc-mode.el: Add support for 7za (bug#15264).
5779         (archive-7z-program): New var.
5780         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5781         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5782         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5784 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5786         Remove URL syntax.
5788         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5789         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5790         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5791         (tramp-postfix-host-format, tramp-file-name-regexp)
5792         (tramp-completion-file-name-regexp)
5793         (tramp-completion-dissect-file-name)
5794         (tramp-handle-substitute-in-file-name): Remove 'url case.
5795         (tramp-file-name-regexp-url)
5796         (tramp-completion-file-name-regexp-url): Remove constants.
5798 2013-09-06  Glenn Morris  <rgm@gnu.org>
5800         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5802 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5804         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5805         keywords" below "here-doc beginnings" (Bug#15270).
5807 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5809         * subr.el (pop): Use `car-safe'.
5810         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5811         to detect unused `pop' return value.
5813         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5814         var `block-regexp'.
5815         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5816         (python-fill-string): Remove unused var `marker'.
5817         (python-skeleton-add-menu-items): Remove unused var `items'.
5819         * international/mule-cmds.el: Require CL.
5820         (find-coding-systems-for-charsets): Avoid add-to-list.
5821         (sanitize-coding-system-list): New function, extracted from
5822         select-safe-coding-system-interactively.
5823         (select-safe-coding-system-interactively): Use it.
5824         (read-input-method-name): Accept symbols for `default'.
5826         * emacs-lisp/advice.el (defadvice): Add indent rule.
5828 2013-09-05  Daniel Hackney  <dan@haxney.org>
5830         * dired-x.el:
5831         * net/ange-ftp.el:
5832         * net/browse-url.el:
5833         * net/dbus.el:
5834         * net/eudc.el:
5835         * net/eudcb-ldap.el:
5836         * net/eww.el:
5837         * net/imap.el:
5838         * printing.el:
5839         * vc/ediff-diff.el:
5840         * vc/ediff-init.el:
5841         * vc/ediff-merg.el:
5842         * vc/ediff-mult.el:
5843         * vc/ediff-util.el:
5844         * vc/ediff-wind.el:
5845         * vc/ediff.el:
5846         * vc/emerge.el:
5847         * vc/pcvs.el:
5848         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5849         byte compiler.  Remove some unused let-bound variables.
5851 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5853         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5854         a "ref-cell", since it gets better optimized (bug#14883).
5856 2013-09-05  Glenn Morris  <rgm@gnu.org>
5858         * progmodes/cc-awk.el (c-forward-sws): Declare.
5860 2013-09-04  Glenn Morris  <rgm@gnu.org>
5862         * generic-x.el [rul-generic-mode]: Require cc-mode.
5863         (c++-mode-syntax-table): Declare.
5864         (rul-generic-mode-syntax-table): Init in the defvar.
5866 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5868         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5869         (vc-do-command, vc-set-async-update):
5870         * vc/vc-mtn.el (vc-mtn-dir-status):
5871         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5872         (vc-hg-pull, vc-hg-merge-branch):
5873         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5874         (vc-git-merge-branch):
5875         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5876         (vc-cvs-dir-status-files):
5877         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5878         (vc-bzr-dir-status-files):
5879         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5880         * vc/vc-annotate.el: Use lexical-binding.
5881         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5882         (vc-sentinel-movepoint): Declare.
5883         (vc-annotate): Don't use `goto-line'.
5884         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5885         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5886         (vc-sentinel-movepoint): Declare.
5887         * vc/vc-svn.el: Use lexical-binding.
5888         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5889         * vc/vc-sccs.el:
5890         * vc/vc-rcs.el: Use lexical-binding.
5892         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5893         `deleted'.  Don't drop errors silently.
5895         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5897 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
5899         * vc/vc.el (vc-ignore): Rewrite.
5900         (vc-default-ignore): New function.
5901         (vc-default-ignore-completion-table): Use find-ignore-file.
5903         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5904         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5905         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5906         Remove.  Most code moved to vc.el.
5908 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5910         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5911         * net/tramp-smb.el (tramp-smb-get-file-entries):
5912         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5913         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5915         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5916         Update call to it.
5917         (eww-change-select): Remove unused var `properties'.
5918         (eww-make-unique-file-name): Remove unused var `base'.
5920         * finder.el (finder-compile-keywords): Don't mess with windows.
5922         * calculator.el (calculator-funcall): Fix typo in last change.
5924         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5926         * emacs-lisp/package.el (package-activate-1): Don't let a missing
5927         <pkg>-autoloads.el file stop us.
5929         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5930         warnings, and factor out common code.
5932 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
5934         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5935         two-character operators and whether the character preceding them
5936         changes their meaning (Bug#15208).
5938 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5940         Format code sent to Python shell for robustness.
5941         * progmodes/python.el (python-shell-buffer-substring):
5942         New function.
5943         (python-shell-send-region, python-shell-send-buffer): Use it.
5945 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
5947         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5948         * net/tramp.el (tramp-user-error): ... here.
5949         (tramp-find-method, tramp-check-proper-host)
5950         (tramp-dissect-file-name, tramp-debug-message)
5951         (tramp-handle-shell-command):
5952         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5953         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5955         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5957 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
5959         * avoid.el (mouse-avoidance-point-position)
5960         (mouse-avoidance-too-close-p): Handle case where posn-at-point
5961         returns nil.
5963 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5965         * progmodes/python.el (python-shell-completion-get-completions):
5966         Drop use of deleted `comint-last-prompt-overlay'.
5967         (python-nav-if-name-main): New command.
5969 2013-09-01  Glenn Morris  <rgm@gnu.org>
5971         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5972         Avoid leading space in $wins.  Otherwise the sed command used by
5973         eg compile-main ends up containing "/*.el".  (Bug#15170)
5975         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
5977 2013-08-30  Glenn Morris  <rgm@gnu.org>
5979         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5980         Fix is-this-a-directory logic.  (Bug#15220)
5982 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5984         * textmodes/css-mode.el: Use SMIE.
5985         (css-smie-grammar): New var.
5986         (css-smie--forward-token, css-smie--backward-token)
5987         (css-smie-rules): New functions.
5988         (css-mode): Use them.
5989         (css-navigation-syntax-table): Remove var.
5990         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5991         (css-indent-calculate, css-indent-line): Remove functions.
5993         Misc changes to reduce use of `(lambda...); and other cleanups.
5994         * cus-edit.el: Use lexical-binding.
5995         (customize-push-and-save, customize-apropos)
5996         (custom-buffer-create-internal): Use closures.
5997         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5998         * progmodes/ada-xref.el: Use setq.
5999         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6000         * dframe.el: Use lexical-binding.
6001         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
6002         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6003         * descr-text.el: Use lexical-binding.
6004         (describe-text-widget, describe-text-sexp, describe-property-list):
6005         Use closures.
6006         * comint.el (comint-history-isearch-push-state): Use a closure.
6007         * calculator.el: Use lexical-binding.
6008         (calculator-number-to-string): Make it work with lexical-binding.
6009         (calculator-funcall): Same and use cl-letf.
6011         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6012         (lisp--company-doc-string, lisp--company-location): New functions.
6013         (lisp-completion-at-point): Use them to improve Company support.
6015         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6016         params of lambda expressions.
6017         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6018         (ruby-smie--opening-pipe-p): New function.
6019         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6020         symbols and matched |...| for formal params.
6021         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6022         from being treated as hanging.  Handle "rescue".
6024 2013-08-29  Glenn Morris  <rgm@gnu.org>
6026         * progmodes/cc-engine.el (c-pull-open-brace):
6027         Move definition before use.
6029 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6031         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6032         are immutable.  Don't use `unsafe' any more.
6033         (cl--defsubst-expand): Don't substitute at the same time as keeping
6034         a residual unused let-binding.  Don't use `unsafe' any more.
6036 2013-08-29  Glenn Morris  <rgm@gnu.org>
6038         * calendar/cal-china.el (calendar-chinese-year-cache):
6039         Recenter on 2015.
6041         * nxml/nxml-util.el (nxml-debug-clear-inside):
6042         Use cl-loop rather than loop.
6044         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6046         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6048 2013-08-28  Glenn Morris  <rgm@gnu.org>
6050         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6052         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6054         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6056 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6058         * simple.el (repeat-complex-command--called-interactively-skip):
6059         New function.
6060         (repeat-complex-command): Use it (bug#14136).
6062         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6063         (c-define-abbrev-table): Add `doc' argument.
6064         (c-mode-abbrev-table, c++-mode-abbrev-table)
6065         (objc-mode-abbrev-table, java-mode-abbrev-table)
6066         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6067         (awk-mode-abbrev-table): Use it.
6068         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6069         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6070         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6071         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6072         Move initialization into the declaration; and remove any
6073         autoload cookie.
6075         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6076         and dynamic let binding.
6078         * vc/smerge-mode.el: Remove redundant :group args.
6080         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6081         to load-path.
6083 2013-08-28  Juri Linkov  <juri@jurta.org>
6085         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6086         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6087         (isearch-other-meta-char): Handle an undefined shifted printing
6088         character by downshifting it.  (Bug#15200)
6090 2013-08-28  Juri Linkov  <juri@jurta.org>
6092         * isearch.el (isearch-search): Change regexp error message for
6093         non-regexp searches.  (Bug#15166)
6095 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
6097         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6098         for portability to hosts where /bin/sh has problems.
6100 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6102         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6104 2013-08-27  Juri Linkov  <juri@jurta.org>
6106         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6107         in the keyboard macro.  (Bug#15126)
6109 2013-08-27  Juri Linkov  <juri@jurta.org>
6111         * isearch.el (isearch-quote-char): Comment out converting unibyte
6112         to multibyte, thus syncing with its `quoted-insert' counterpart.
6113         (Bug#15166)
6115 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
6117         * window.el (display-buffer-use-some-window): Add missing
6118         argument in call of get-largest-window (Bug#15185).
6119         Reported by Stephen Leake.
6121 2013-08-27  Glenn Morris  <rgm@gnu.org>
6123         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6125 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6127         * progmodes/python.el (python-font-lock-keywords): Don't return nil
6128         from a matcher-function unless there's no more matches (bug#15161).
6130 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6132         * minibuffer.el: Revert change from 2013-08-20.
6134         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6135         with text property `tramp-default', if appropriate.
6136         (tramp-check-proper-host): New defun.
6137         (tramp-dissect-file-name): Do not check hostname.  Revert change
6138         of 2013-03-18.
6139         (tramp-backtrace): Make VEC-OR-PROC optional.
6141         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6142         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6143         * net/tramp-sh.el (tramp-maybe-open-connection):
6144         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6145         Apply `tramp-check-proper-host'.
6147 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
6149         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6150         lambda expression in order to have `describe-variable' display it.
6152 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6154         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6155         BUF can be optional.  (Bug#15186)
6157 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
6159         * progmodes/flymake.el (flymake-get-real-file-name-function):
6160         Fix broken customization.  (Bug#15184)
6162 2013-08-25  Alan Mackenzie  <acm@muc.de>
6164         Improve indentation of bracelists defined by macros (without "=").
6166         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6167         expansion begins with "{", regard it as bracelist when it doesn't
6168         contain a ";".
6170         Parse C++ inher-intro when there's a template split over 2 lines.
6172         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6173         rigorously the search for "class" etc. followed by ":".
6175         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6176         random languages a regexp which never matches rather than nil.
6178         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6180         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6181         (c-awk-regexp-one-line-possibly-open-char-list-re)
6182         (c-awk-one-line-possibly-open-regexp-re)
6183         (c-awk-one-line-non-syn-ws*-re): Remove.
6184         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6185         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6186         (c-awk-space*-unclosed-regexp-/-re): New constants.
6187         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6188         aren't regexp delimiters.
6190         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6191         handling for a rare situation in AWK Mode involving unterminated
6192         strings/regexps.
6194 2013-08-23  Glenn Morris  <rgm@gnu.org>
6196         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6198         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6200         * files.el (create-file-buffer): If the result would begin with
6201         spaces, prepend a "|" instead of removing them.  (Bug#15162)
6203 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6205         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6206         text-properties (bug#15155).
6208         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6209         exist any more.
6210         (calc-keypad-redraw): Remove unused var `pad'.
6211         (calc-keypad-press): Remove unused var `menu'.
6213 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
6215         * window.el (display-buffer-pop-up-frame):
6216         Call pop-up-frame-function with BUFFER current so `make-frame' will
6217         use it as the new frame's buffer (Bug#15133).
6219 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6221         * calendar/timeclock.el: Minor cleanups.
6222         (timeclock-ask-before-exiting, timeclock-use-display-time):
6223         Use `symbol'.
6224         (timeclock-modeline-display): Define as alias before the
6225         actual definition.
6226         (timeclock-mode-line-display): Use define-minor-mode.
6227         (timeclock-day-list-template): Make it a function, add an argument.
6228         (timeclock-day-list-required, timeclock-day-list-length)
6229         (timeclock-day-list-debt, timeclock-day-list-span)
6230         (timeclock-day-list-break): Adjust calls accordingly.
6232 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6235         Use read--expression so that completion works again.
6237 2013-08-21  Sam Steingold  <sds@gnu.org>
6239         Add rudimentary inferior shell interaction
6240         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6241         (sh-set-shell): Reset it.
6242         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6243         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6245 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6247         * align.el: Use lexical-binding.
6248         (align-region): Simplify accordingly.
6250 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
6252         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6254         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6255         `non-essential' up.
6257 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
6259         * net/tramp.el:
6260         * net/tramp-adb.el:
6261         * net/tramp-cmds.el:
6262         * net/tramp-ftp.el:
6263         * net/tramp-gvfs.el:
6264         * net/tramp-gw.el:
6265         * net/tramp-sh.el: Don't wrap external variable declarations by
6266         `eval-when-compile'.
6268 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6270         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6271         now that Emacs supports ImageMagick animations.
6273 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
6275         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6276         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6278 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
6280         * window.el (mouse-autoselect-window-select): Do autoselect when
6281         mouse pointer is on margin.
6283 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
6285         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
6287 2013-08-16  Glenn Morris  <rgm@gnu.org>
6289         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6290         Handle "Remote Directory" response of some clients.  (Bug#15058)
6292         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6293         Tweak warning.  (Bug#14926)
6295         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6296         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
6298         * image-mode.el (image-mode-map): Add menu items to reverse,
6299         increase, decrease, reset animation speed.
6300         (image--set-speed, image-increase-speed, image-decrease-speed)
6301         (image-reverse-speed, image-reset-speed): New functions.
6302         (image-mode-map): Add bindings for speed commands.
6304         * image.el (image-animate-get-speed, image-animate-set-speed):
6305         New functions.
6306         (image-animate-timeout): Respect image :speed property.
6308 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6310         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6311         previous line (bug#15101).
6312         (debugger-eval-expression, debugger-record-expression):
6313         Use read--expression (bug#15102).
6315 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
6317         Remove byte compiler warnings, visible when compiling with
6318         `byte-compile-force-lexical-warnings' set to t.
6320         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6321         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6322         (tramp-handle-unhandled-file-name-directory)
6323         (tramp-handle-file-notify-add-watch, tramp-action-login)
6324         (tramp-action-succeed, tramp-action-permission-denied)
6325         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6326         arguments with "_".
6328         * net/tramp-adb.el (tramp-adb-parse-device-names)
6329         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6330         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6331         (tramp-adb-handle-file-truename): Remove unused arguments.
6333         * net/tramp-cache.el (tramp-flush-directory-property)
6334         (tramp-flush-connection-property, tramp-list-connections)
6335         (tramp-parse-connection-properties): Prefix unused arguments with "_".
6337         * net/tramp-compat.el (tramp-compat-make-temp-file):
6338         Rename FILENAME to F.
6340         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6341         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6342         (tramp-zeroconf-parse-workstation-device-names)
6343         (tramp-zeroconf-parse-webdav-device-names)
6344         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6346         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6347         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6349         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6350         arguments.
6351         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6352         (tramp-sh-handle-insert-file-contents-literally)
6353         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6354         with "_".
6355         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6356         Remove unused variables.
6358         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6359         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6360         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6362         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6363         Make them a defconst.
6364         (tramp-uuencode-region): Remove unused variable.
6366 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
6368         * frameset.el (frameset--prop-setter): New function.
6369         (frameset-prop): Add gv-setter declaration.
6370         (frameset-filter-minibuffer): Deal with the case that the minibuffer
6371         parameter was already set in FILTERED.  Doc fix.
6372         (frameset--record-minibuffer-relationships): Allow saving a
6373         minibufferless frame without its corresponding minibuffer frame.
6374         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6375         frame, if the frame id matches.
6376         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6377         frames before orphaned ones.
6378         (frameset-restore): Warn about orphaned windows, instead of error out.
6380 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
6382         * window.el (window-make-atom): Don't overwrite parameter
6383         already present.
6384         (display-buffer-in-atom-window): Handle special case where we
6385         split an already atomic window.
6386         (window--major-non-side-window, display-buffer-in-side-window)
6387         (window--side-check): Ignore minibuffer window when walking
6388         window tree.
6389         (window-deletable-p): Return 'frame only if no other frame uses
6390         our minibuffer window.
6391         (record-window-buffer): Run buffer-list-update-hook.
6392         (split-window): Make sure window--check-frame won't destroy an
6393         existing atomic window in case the new window gets nested
6394         inside.
6395         (display-buffer-at-bottom): Ignore minibuffer window when
6396         walking window tree.  Don't split a side window.
6397         (pop-to-buffer): Don't set-buffer here, the select-window call
6398         should do that.
6399         (mouse-autoselect-window-select): Autoselect only if we are in the
6400         text portion of the window.
6402 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6404         * net/shr.el (shr-parse-image-data): New function to grab both the
6405         data itself and the Content-Type.
6406         (shr-put-image): Use it.
6408         * net/eww.el (eww-display-image): Ditto.
6410         * image.el (image-content-type-suffixes): New variable.
6412 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6414         * progmodes/python.el (python-imenu--build-tree)
6415         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6417 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
6419         * simple.el (backward-word): Mention the optional argument.
6421 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6423         * frameset.el (frameset--make): Rename constructor from make-frameset.
6424         (frameset-p, frameset-valid-p): Don't autoload.
6425         (frameset-valid-p): Use normal accessors.
6427 2013-08-13  Glenn Morris  <rgm@gnu.org>
6429         * progmodes/compile.el (compile-command): Tweak example in doc.
6430         * obsolete/scribe.el (scribe-mode):
6431         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
6433         * mail/feedmail.el (feedmail-confirm-outgoing)
6434         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6436         * cus-start.el (truncate-partial-width-windows): Fix type.
6438         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6440         * net/shr.el (shr-table-horizontal-line): Fix custom type.
6442 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6444         * emacs-lisp/timer.el (timer--time-setter): New function.
6445         (timer--time): Use it as gv-setter.
6447         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6448         setter is not a symbol.
6450 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
6452         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6453         if sending fails.  This makes debugging easier.
6455 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
6457         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6458         revno:113793, which breaks the test suite).
6459         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6461 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
6463         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6465 2013-08-12  Glenn Morris  <rgm@gnu.org>
6467         * format.el (format-annotate-function):
6468         Handle read-only text properties in the source.  (Bug#14887)
6470 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6472         * net/eww.el (eww-display-html): Ignore coding system errors.
6473         One web site uses "utf-8lias" as the coding system.
6475 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
6477         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6479 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
6481         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6482         (tutorial--detailed-help): Remove unused local variables.
6483         (tutorial--save-tutorial-to): Use ignore-errors.
6484         (help-with-tutorial): Use looking-at-p.
6486         * view.el (view-buffer-other-window, view-buffer-other-frame):
6487         Mark unused arguments.
6489         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6490         (woman-select-symbol-fonts, woman, woman-find-file)
6491         (woman-insert-file-contents, woman-non-underline-faces):
6492         Use string-match-p.
6493         (woman1-unquote): Move declaration.
6495         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6496         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
6497         argument.  Remove unused local variable.
6498         (xml-parse-elem-type): Use string-match-p.
6499         (xml-substitute-numeric-entities): Use ignore-errors.
6501         * calculator.el (calculator): Mark unused argument.
6502         (calculator-paste, calculator-quit, calculator-integer-p):
6503         Use ignore-errors.
6504         (calculator-string-to-number, calculator-decimal, calculator-exp)
6505         (calculator-op-or-exp): Use string-match-p.
6507         * dired.el (dired-buffer-more-recently-used-p): Declare.
6508         (dired-insert-set-properties, dired-insert-old-subdirs):
6509         Use ignore-errors.
6511         * dired-aux.el (dired-compress): Use ignore-errors.
6512         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6513         (dired-do-async-shell-command, dired-do-shell-command)
6514         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6515         (dired-insert-subdir-validate): Use string-match-p.
6516         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6517         (dired-add-entry): Use string-match-p, looking-at-p.
6518         (dired-insert-subdir-newpos): Remove unused local variable.
6520         * filenotify.el (file-notify-callback): Remove unused local variable.
6522         * filesets.el (filesets-error): Mark unused argument.
6523         (filesets-which-command-p, filesets-filter-dir-names)
6524         (filesets-directory-files, filesets-get-external-viewer)
6525         (filesets-ingroup-get-data): Use string-match-p.
6527         * find-file.el (ff-other-file-name, ff-other-file-name)
6528         (ff-find-the-other-file, ff-cc-hh-converter):
6529         Remove unused local variables.
6530         (ff-get-file-name): Use string-match-p.
6531         (ff-all-dirs-under): Use ignore-errors.
6533         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6534         (follow-select-if-visible): Remove unused local variable.
6536         * forms.el (read-file-filter): Move declaration.
6537         (forms--make-format, forms--make-parser, forms-insert-record):
6538         Quote function with #'.
6539         (forms--update): Use string-match-p.  Quote function with #'.
6541         * help-mode.el (help-dir-local-var-def): Mark unused argument.
6542         (help-make-xrefs): Use looking-at-p.
6543         (help-xref-on-pp): Use looking-at-p, ignore-errors.
6545         * ibuffer.el (ibuffer-ext-visible-p): Declare.
6546         (ibuffer-confirm-operation-on): Use string-match-p.
6548         * msb.el (msb-item-handler, msb-dired-item-handler):
6549         Mark unused arguments.
6551         * ses.el (ses-decode-cell-symbol)
6552         (ses-kill-override): Remove unused local variable.
6553         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6554         (ses-load): Use ignore-errors, looking-at-p.
6555         (ses-jump-safe): Use ignore-errors.
6556         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6558         * tabify.el (untabify, tabify): Mark unused arguments.
6560         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6561         Mark unused argument.
6562         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6563         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6565         * emacs-lisp/timer.el (timer--time): Define setter with
6566         gv-define-setter to avoid deprecation warning.
6568         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6569         (*record-cmpl-statistics-p*): Remove (was commented out).
6570         (cmpl-statistics-block): Remove (body was commented out).
6571         All callers changed.
6572         (add-completions-from-buffer, load-completions-from-file):
6573         Remove unused variables.
6575 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6577         * filecache.el (file-cache-delete-file-list):
6578         Print message only when told so.
6579         (file-cache-files-matching): Use #' in mapconcat argument.
6581         * ffap.el (ffap-url-at-point): Fix reference to variable
6582         thing-at-point-default-mail-uri-scheme.
6584 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6586         * subr.el (define-error): New function.
6587         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6588         error-file-not-found and define with define-error.
6589         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6590         and define with define-error.
6591         * userlock.el (file-locked, file-supersession):
6592         * simple.el (mark-inactive):
6593         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6594         * progmodes/ada-mode.el (ada-mode-errors):
6595         * play/life.el (life-extinct):
6596         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6597         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6598         * nxml/rng-util.el (rng-error):
6599         * nxml/rng-uri.el (rng-uri-error):
6600         * nxml/rng-match.el (rng-compile-error):
6601         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6602         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6603         * nxml/nxml-rap.el (nxml-scan-error):
6604         * nxml/nxml-outln.el (nxml-outline-error):
6605         * net/soap-client.el (soap-error):
6606         * net/gnutls.el (gnutls-error):
6607         * net/ange-ftp.el (ftp-error):
6608         * mpc.el (mpc-proc-error):
6609         * json.el (json-error, json-readtable-error, json-unknown-keyword)
6610         (json-number-format, json-string-escape, json-string-format)
6611         (json-key-format, json-object-format):
6612         * jka-compr.el (compression-error):
6613         * international/quail.el (quail-error):
6614         * international/kkc.el (kkc-error):
6615         * emacs-lisp/ert.el (ert-test-failed):
6616         * calc/calc.el (calc-error, inexact-result, math-overflow)
6617         (math-underflow):
6618         * bookmark.el (bookmark-error-no-filename):
6619         * epg.el (epg-error): Define with define-error.
6621         * time.el (display-time-event-handler)
6622         (display-time-next-load-average): Don't call sit-for since it seems
6623         unnecessary (bug#15045).
6625         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6626         Use #' instead of ' to quote functions.
6627         (checkdoc-output-mode): Use setq-local.
6628         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6629         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6630         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6631         (checkdoc-ispell, checkdoc-ispell-current-buffer)
6632         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6633         (checkdoc-ispell-message-text, checkdoc-ispell-start)
6634         (checkdoc-ispell-continue, checkdoc-ispell-comments)
6635         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6637         * ido.el (ido-completion-help): Fix up compiler warning.
6639 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6641         * frameset.el (frameset-p): Add autoload cookie.
6642         (frameset--jump-to-register): New function, based on code moved from
6643         register.el.
6644         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
6646         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6647         (frameset-restore, frameset-save, frameset-session-filter-alist):
6648         Remove declarations.
6649         (register-alist): Doc fix.
6650         (frameset-to-register): Move to frameset.el.
6651         (jump-to-register, describe-register-1): Remove frameset-specific code.
6653 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6655         * allout-widgets.el (allout-widgets-pre-command-business)
6656         (allout-widgets-post-command-business)
6657         (allout-widgets-after-change-handler)
6658         (allout-decorate-item-and-context, allout-set-boundary-marker)
6659         (allout-body-modification-handler)
6660         (allout-graphics-modification-handler): Mark ignored arguments.
6661         (allout-widgets-post-command-business)
6662         (allout-widgets-exposure-change-processor)
6663         (allout-widgets-exposure-undo-processor)
6664         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6665         (allout-parse-item-at-point, allout-decorate-item-guides)
6666         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6667         * allout.el (epa-passphrase-callback-function): Declare.
6668         (allout-overlay-insert-in-front-handler)
6669         (allout-overlay-interior-modification-handler)
6670         (allout-isearch-end-handler, allout-chart-siblings)
6671         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6672         (allout-yank-processing, allout-process-exposed)
6673         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6674         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6675         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6676         (lisp-indent-defform): Mark ignored arguments.
6677         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
6678         (calculate-lisp-indent): Remove unused variables.
6679         * international/characters.el (indian-2-column, arabic-2-column)
6680         (tibetan): Mark ignored arguments.
6681         (use-cjk-char-width-table): Mark ignored arguments.
6682         Remove unused variables.
6683         * international/fontset.el (build-default-fontset-data)
6684         (x-compose-font-name, create-fontset-from-fontset-spec):
6685         Mark ignored arguments.
6686         (fontset-plain-name): Remove unused variables.
6687         * international/mule.el (charset-id, charset-bytes, generic-char-p)
6688         (keyboard-coding-system): Mark ignored arguments.
6689         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
6690         * help.el (resize-temp-buffer-window):
6691         * window.el (display-buffer-in-major-side-window)
6692         (display-buffer-in-side-window, display-buffer-in-previous-window):
6693         Remove unused variables.
6694         * isearch.el (isearch-forward-symbol):
6695         * version.el (emacs-bzr-version-bzr):
6696         * international/mule-cmds.el (current-language-environment):
6697         * term/common-win.el (x-handle-iconic, x-handle-geometry)
6698         (x-handle-display):
6699         * term/pc-win.el (x-list-fonts, x-display-planes)
6700         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6701         (x-server-version, x-display-screens, x-display-mm-height)
6702         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6703         (x-selection-owner-p, x-own-selection-internal)
6704         (x-disown-selection-internal, x-get-selection-internal)
6705         (msdos-initialize-window-system):
6706         * term/tty-colors.el (tty-color-alist, tty-color-clear):
6707         * term/x-win.el (x-handle-no-bitmap-icon):
6708         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6709         (vc-default-find-file-hook, vc-default-extra-menu):
6710         Mark ignored arguments.
6712 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6714         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6715         break-condition in the context of the debugged code (bug#12685).
6717 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
6719         * comint.el:
6720         Do not use an overlay to highlight the last prompt.  (Bug#14744)
6721         (comint-mode): Make comint-last-prompt buffer local.
6722         (comint-last-prompt): New variable.
6723         (comint-last-prompt-overlay): Remove.  Superseded by
6724         comint-last-prompt.
6725         (comint-snapshot-last-prompt, comint-output-filter):
6726         Use comint-last-prompt.
6728 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6730         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
6731         (frameset-save): Check validity of the resulting frameset.
6733 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
6735         * ido.el (ido-record-command): Add doc string.
6737 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6739         * frameset.el (frameset): Do not disable creation of the default
6740         frameset-p predicate.  Doc fix.
6741         (frameset-valid-p): New function, copied from the old predicate-p.
6742         Add additional checks.
6743         (frameset-restore): Check with frameset-valid-p.
6744         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6745         (frameset-name, frameset-description, frameset-properties)
6746         (frameset-states): Add docstring.
6747         (frameset-session-filter-alist, frameset-persistent-filter-alist)
6748         (frameset-filter-alist): Doc fixes.
6750 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6752         * frameset.el (frameset-p, frameset-prop): Doc fixes.
6754 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6756         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6757         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6758         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6759         (byte-compile-normal-call): Remove obsolescence check.
6761 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6763         * frameset.el (frameset-restore): Doc fix.
6765         * register.el (frameset-frame-id, frameset-frame-with-id)
6766         (frameset-p, frameset-restore, frameset-save): Declare.
6767         (register-alist): Document framesets.
6768         (frameset-session-filter-alist): Declare.
6769         (frameset-to-register): New function.
6770         (jump-to-register): Implement jumping to framesets.  Doc fix.
6771         (describe-register-1): Describe framesets.
6773         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6775 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6777         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6778         Use lexical-binding.
6780         * frameset.el (frameset): Use type vector, not list (incompatible
6781         change).  Do not declare a new constructor, use the default one.
6782         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6783         `name' and `description', respectively, and add read-only slot
6784         `timestamp'.  Doc fixes.
6785         (frameset-copy, frameset-persistent-filter-alist)
6786         (frameset-filter-alist, frameset-switch-to-gui-p)
6787         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6788         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6789         (frameset-filter-iconified, frameset-keep-original-display-p):
6790         Doc fixes.
6791         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6792         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6793         Doc fix.
6794         (frameset-p): Adapt to change to vector and be more thorough.
6795         Change arg name to OBJECT.  Doc fix.
6796         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6797         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6798         All callers changed.
6799         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6800         All callers changed.
6801         (frameset--record-minibuffer-relationships): Rename from
6802         frameset--process-minibuffer-frames.  All callers changed.
6803         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6804         Use new default constructor (again).  Doc fix.
6805         (frameset--find-frame-if): Rename from `frameset--find-frame.
6806         All callers changed.
6807         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6808         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6809         Doc fix.
6810         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6811         PARAMETERS and WINDOW-STATE, respectively.
6812         (frameset-restore): Add new keyword argument PREDICATE.
6813         Reset frameset--target-display to nil.  Doc fix.
6815 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6817         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6818         (bat-mode): Use it.
6819         (bat-mode-syntax-table): Mark \n as end-of-comment.
6820         (bat-font-lock-keywords): Remove comment rule.
6822         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6823         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6825         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6826         (byte-compile-callargs-warn): Use `push'.
6827         (byte-compile-arglist-warn): Ignore higher-order "calls".
6828         (byte-compile-file-form-autoload): Use `pcase'.
6829         (byte-compile-function-form): If quoting a symbol, check that it exists.
6831 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6833         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6834         and add a few popular commands found in batch files.
6835         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6836         (dos-mode): Doc fixes.
6838 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6840         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6841         (dos-mode): Use setq-local.  Add space after "rem".
6842         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6843         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6845 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6847         * progmodes/dos.el: New file.
6848         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6849         dos-mode.
6851 2013-08-06  Glenn Morris  <rgm@gnu.org>
6853         * calendar/calendar.el: Add new faces, and day-header-array.
6854         (calendar-weekday-header, calendar-weekend-header)
6855         (calendar-month-header): New faces.
6856         (calendar-day-header-construct): New function.
6857         (calendar-day-header-width): Also :set calendar-day-header-array.
6858         (calendar-american-month-header, calendar-european-month-header)
6859         (calendar-iso-month-header): Use calendar- faces.
6860         (calendar-generate-month):
6861         Use calendar-day-header-array for day headers; apply faces to them.
6862         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6863         (calendar-abbrev-construct): Add optional maxlen argument.
6864         (calendar-day-name-array): Doc fix.
6865         (calendar-day-name-array, calendar-abbrev-length)
6866         (calendar-day-abbrev-array):
6867         Also :set calendar-day-header-array, and maybe redraw.
6868         (calendar-day-header-array): New option.  (Bug#15007)
6869         (calendar-font-lock-keywords): Set to nil and make obsolete.
6870         (calendar-day-name): Add option to use header array.
6872 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6874         * net/shr.el (shr-render-td): Remove debugging.
6875         (shr-render-td): Make width computation consistent by defaulting
6876         all zero-width columns to 10 characters.  This may not be optimal,
6877         but it's at least consistent.
6878         (shr-make-table-1): Redo last change to fix the real problem in
6879         colspan handling.
6881 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6883         * files.el (cache-long-line-scans):
6884         Make obsolete alias to `cache-long-scans'.
6886 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6888         * frameset.el (frameset, frameset-filter-alist)
6889         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6890         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6891         (frameset-compute-pos): Rename from frameset--compute-pos,
6892         and add docstring.
6893         (frameset-move-onscreen): Use frameset-compute-pos.
6894         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6896         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6897         Fix typos in docstrings.
6899 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6901         * frame.el (get-other-frame): Tiny cleanup.
6903 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6905         * vc/vc.el (vc-default-ignore-completion-table):
6906         Silence byte-compiler warning.
6908         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6909         slot, which can indeed be nil.
6910         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6911         Move entry for `left' from persistent to live filter alist.
6912         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6913         Doc fixes.
6914         (frameset-filter-params): When restoring a frame, copy items added to
6915         `filtered', to avoid unwittingly modifying the original parameters.
6916         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
6917         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6919         * dired.el (dired-insert-directory): Revert change in revno:113117
6920         to use looking-at-p instead of looking-at.  (Bug#15028)
6922 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6924         Revert introduction of isearch-filter-predicates (bug#14714).
6925         Rely on add-function instead.
6926         * isearch.el (isearch-filter-predicates): Rename it back to
6927         isearch-filter-predicate.
6928         (isearch-message-prefix): Use advice-function-mapc and advice
6929         properties to get the isearch-message-prefix.
6930         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6931         instead of run-hook-with-args-until-failure.
6932         (isearch-filter-visible): Not obsolete any more.
6933         * loadup.el: Preload nadvice.
6934         * replace.el (perform-replace): Revert to funcall
6935         instead of run-hook-with-args-until-failure.
6936         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6937         * dired-aux.el (dired-isearch-filenames-mode): Rename from
6938         dired-isearch-filenames-toggle; make it into a proper minor mode.
6939         Use add/remove-function.
6940         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6941         Call the minor-mode rather than add/remove-hook.
6942         (dired-isearch-filter-filenames):
6943         Remove isearch-message-prefix property.
6944         * info.el (Info--search-loop): New function, extracted from Info-search.
6945         Funcall isearch-filter-predicate instead of
6946         run-hook-with-args-until-failure isearch-filter-predicates.
6947         (Info-search): Use it.
6948         (Info-mode): Use isearch-filter-predicate instead of
6949         isearch-filter-predicates.
6951 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6953         Do not call to `selected-window' where it is assumed by default.
6954         Affected functions are `window-minibuffer-p', `window-dedicated-p',
6955         `window-hscroll', `window-width', `window-height', `window-buffer',
6956         `window-frame', `window-start', `window-point', `next-window'
6957         and `window-display-table'.
6958         * abbrev.el (abbrev--default-expand):
6959         * bs.el (bs--show-with-configuration):
6960         * buff-menu.el (Buffer-menu-mouse-select):
6961         * calc/calc.el (calc):
6962         * calendar/calendar.el (calendar-generate-window):
6963         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6964         (diary-make-entry):
6965         * comint.el (send-invisible, comint-dynamic-complete-filename)
6966         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6967         * completion.el (complete):
6968         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6969         * disp-table.el (describe-current-display-table):
6970         * doc-view.el (doc-view-insert-image):
6971         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6972         * ehelp.el (with-electric-help):
6973         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6974         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6975         * emacs-lisp/helper.el (Helper-help-scroller):
6976         * emulation/cua-base.el (cua--post-command-handler-1):
6977         * eshell/esh-mode.el (eshell-output-filter):
6978         * ffap.el (ffap-gnus-wrapper):
6979         * help-macro.el (make-help-screen):
6980         * hilit-chg.el (highlight-compare-buffers):
6981         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6982         * hl-line.el (global-hl-line-highlight):
6983         * icomplete.el (icomplete-simple-completing-p):
6984         * isearch.el (isearch-done):
6985         * jit-lock.el (jit-lock-stealth-fontify):
6986         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6987         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6988         * mpc.el (mpc-tagbrowser, mpc):
6989         * net/rcirc.el (rcirc-any-buffer):
6990         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6991         * play/landmark.el (landmark-max-width, landmark-max-height):
6992         * play/zone.el (zone):
6993         * progmodes/compile.el (compilation-goto-locus):
6994         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6995         * progmodes/etags.el (find-tag-other-window):
6996         * progmodes/fortran.el (fortran-column-ruler):
6997         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6998         * progmodes/verilog-mode.el (verilog-point-text):
6999         * reposition.el (reposition-window):
7000         * rot13.el (toggle-rot13-mode):
7001         * server.el (server-switch-buffer):
7002         * shell.el (shell-dynamic-complete-command)
7003         (shell-dynamic-complete-environment-variable):
7004         * simple.el (insert-buffer, set-selective-display)
7005         (delete-completion-window):
7006         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7007         (speedbar-recenter):
7008         * startup.el (fancy-splash-head):
7009         * textmodes/ispell.el (ispell-command-loop):
7010         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7011         * tutorial.el (help-with-tutorial):
7012         * vc/add-log.el (add-change-log-entry):
7013         * vc/compare-w.el (compare-windows):
7014         * vc/ediff-help.el (ediff-indent-help-message):
7015         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7016         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7017         (ediff-setup-control-frame):
7018         * vc/emerge.el (emerge-position-region):
7019         * vc/pcvs-util.el (cvs-bury-buffer):
7020         * window.el (walk-windows, mouse-autoselect-window-select):
7021         * winner.el (winner-set-conf, winner-undo): Related users changed.
7023 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7025         * frameset.el (frameset--set-id): Doc fix.
7026         (frameset-frame-id, frameset-frame-id-equal-p)
7027         (frameset-locate-frame-id): New functions.
7028         (frameset--process-minibuffer-frames, frameset--reuse-frame)
7029         (frameset-restore): Use them.
7031 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7033         Do not call to `selected-frame' where it is assumed by default.
7034         Affected functions are `raise-frame', `redraw-frame',
7035         `frame-first-window', `frame-terminal' and `delete-frame'.
7036         * calendar/appt.el (appt-disp-window):
7037         * epg.el (epg-wait-for-completion):
7038         * follow.el (follow-delete-other-windows-and-split)
7039         (follow-avoid-tail-recenter):
7040         * international/mule.el (set-terminal-coding-system):
7041         * mail/rmail.el (rmail-mail-return):
7042         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7043         * progmodes/f90.el (f90-add-imenu-menu):
7044         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7045         * server.el (server-switch-buffer):
7046         * simple.el (delete-completion-window):
7047         * talk.el (talk):
7048         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7049         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7050         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7051         * vc/ediff.el (ediff-documentation): Related users changed.
7052         * frame.el (selected-terminal): Remove the leftover.
7054 2013-08-05  Glenn Morris  <rgm@gnu.org>
7056         * calendar/calendar.el (calendar-generate-month):
7057         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7058         (calendar-generate-month, calendar-font-lock-keywords):
7059         Fix for calendar-day-header-width > length of any day name.
7061 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7063         * desktop.el (desktop-clear): Use new name of sort predicate.
7065         * frameset.el (frameset): Add docstring.  Move :version property to its
7066         own `version' slot.
7067         (frameset-copy): Rename from copy-frameset.
7068         (frameset-p): Check more thoroughly.
7069         (frameset-prop): Do not check for :version, which is no longer a prop.
7070         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7071         Use new :never value instead of t.
7072         (frameset-filter-alist): Expand and clarify docstring.
7073         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7074         (frameset-filter-minibuffer, frameset-filter-save-param)
7075         (frameset-filter-restore-param, frameset-filter-iconified):
7076         Add pointer to docstring of frameset-filter-alist.
7077         (frameset-filter-params): Rename filter values to be more meaningful:
7078         :never instead of t, and reverse the meanings of :save and :restore.
7079         (frameset--process-minibuffer-frames): Clarify error message.
7080         (frameset-save): Avoid unnecessary and confusing call to framep.
7081         Use new BOA constructor for framesets.
7082         (frameset--reuse-list): Doc fix.
7083         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
7084         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7085         (frameset-minibufferless-first-p): Doc fix.
7086         Rename from frameset-sort-frames-for-deletion.
7087         (frameset-restore): Doc fixes.  Use new function names.
7088         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7090 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7092         * desktop.el (desktop-restore-forces-onscreen)
7093         (desktop-restore-reuses-frames): Document :keyword constant values.
7094         (desktop-filter-parameters-alist): Remove, now identical to
7095         frameset-filter-alist.
7096         (desktop--filter-tty*): Remove, moved to frameset.el.
7097         (desktop-save-frameset, desktop-restore-frameset):
7098         Do not pass :filters argument.
7100         * frameset.el (frameset-live-filter-alist)
7101         (frameset-persistent-filter-alist): New variables.
7102         (frameset-filter-alist): Use them.  Add autoload cookie.
7103         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7104         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7105         `frameset--id' (it's supposed to be internal to frameset.el).
7106         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
7107         (frameset--initial-params): New function.
7108         (frameset--get-frame): Use it.  Doc fix.
7109         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7110         Accept :all, not 'all.
7111         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7112         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
7113         with fbound symbols.  Fix frame id matching, and remove matching ids if
7114         the frame being restored is deleted.  Obey :delete.
7116 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         * subr.el (macrop): New function.
7119         (text-clone--maintaining): New var.
7120         (text-clone--maintain): Rename from text-clone-maintain.  Use it
7121         instead of inhibit-modification-hooks.
7123         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7124         a proxy, so as handle autoloads and redefinitions of the target.
7125         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7127         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7128         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
7129         (pcase--mutually-exclusive-p): New function.
7130         (pcase--split-consp): Use it.
7131         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
7132         mutually exclusive with the current predicate.
7134         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7135         (edebug-macrop): Remove.  Use `macrop' instead.
7136         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
7137         (ad-macro-p):
7138         * eshell/esh-cmd.el (eshell-macrop):
7139         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
7141 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7143         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7144         (advice-mapc): New function, using it.
7145         (advice-function-member-p): New function.
7146         (advice--normalize): Store the cdr in advice--saved-rewrite since
7147         that's the part that will be changed.
7148         (advice--symbol-function): New function.
7149         (advice-remove): Handle removal before the function is defined.
7150         Adjust to new advice--saved-rewrite.
7151         (advice-member-p): Use advice-function-member-p and
7152         advice--symbol-function.
7154 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7156         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7157         (frameset-filter-minibuffer): Doc fix.
7158         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
7159         (frameset--set-id, frameset--process-minibuffer-frames)
7160         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7161         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7163         * desktop.el (desktop-clear): Only delete frames when called
7164         interactively and desktop-restore-frames is non-nil.  Doc fix.
7165         (desktop-read): Set desktop-saved-frameset to nil.
7167 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
7169         * vc/vc.el (vc-ignore): Rewrite.
7170         (vc-default-ignore-completion-table):
7171         (vc--read-lines):
7172         (vc--add-line, vc--remove-regexp): New functions.
7174         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7175         (vc-svn-ignore-completion-table): New function.
7177         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7178         (vc-hg-ignore-completion-table):
7179         (vc-hg-find-ignore-file): New functions.
7181         * vc/vc-git.el (vc-git-ignore): Rewrite.
7182         (vc-git-ignore-completion-table):
7183         (vc-git-find-ignore-file): New functions.
7185         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7187         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7188         (vc-bzr-ignore-completion-table):
7189         (vc-bzr-find-ignore-file): New functions.
7191 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
7193         * frameset.el (frameset-prop): New function and setter.
7194         (frameset-save): Do not modify frame list passed by the caller.
7196 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7198         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7200 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7202         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7203         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7205         * custom.el (custom-initialize-default, custom-initialize-set)
7206         (custom-initialize-reset, custom-initialize-changed): Affect the
7207         toplevel-default-value (bug#6275, bug#14586).
7208         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7209         for bug#6275.
7211 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7213         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7214         Add cl-def* expressions.
7216         * frameset.el (frameset-filter-params): Fix order of arguments.
7218 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7220         Move code related to saving frames to frameset.el.
7221         * desktop.el: Require frameset.
7222         (desktop-restore-frames): Doc fix.
7223         (desktop-restore-reuses-frames): Rename from
7224         desktop-restoring-reuses-frames.
7225         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7226         (desktop-clear): Clear frames too.
7227         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7228         (desktop--filter-tty*, desktop-save, desktop-read):
7229         Use frameset functions.
7230         (desktop-before-saving-frames-functions, desktop--filter-*-color)
7231         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7232         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7233         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7234         (desktop--process-minibuffer-frames, desktop-save-frames)
7235         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7236         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7237         (desktop--sort-states, desktop-restoring-frames-p)
7238         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
7239         (desktop-restoring-frameset-p, desktop-restore-frameset)
7240         (desktop--check-dont-save, desktop-save-frameset): New functions.
7241         (desktop--app-id): New constant.
7242         (desktop-first-buffer, desktop-buffer-ok-count)
7243         (desktop-buffer-fail-count): Move before first use.
7244         * frameset.el: New file.
7246 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7248         * files.el: Use lexical-binding.
7249         (dir-locals-read-from-file): Remove unused `err' variable.
7250         (hack-dir-local-variables--warned-coding): New var.
7251         (hack-dir-local-variables): Use it to avoid repeated warnings.
7252         (make-backup-file-name--default-function): New function.
7253         (make-backup-file-name-function): Use it as default.
7254         (buffer-stale--default-function): New function.
7255         (buffer-stale-function): Use it as default.
7256         (revert-buffer-insert-file-contents--default-function): New function.
7257         (revert-buffer-insert-file-contents-function): Use it as default.
7258         (insert-directory): Avoid add-to-list.
7260         * autorevert.el (auto-revert-handler): Simplify.
7261         Use buffer-stale--default-function.
7263 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
7265         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7267         * whitespace.el (whitespace-ensure-local-variables): New function.
7268         (whitespace-cleanup-region): Call it.
7269         (whitespace-turn-on): Call it.
7271 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
7273         Complete file name handlers.
7275         * net/tramp.el (tramp-handle-set-visited-file-modtime)
7276         (tramp-handle-verify-visited-file-modtime)
7277         (tramp-handle-file-notify-rm-watch): New functions.
7278         (tramp-call-process): Do not bind `default-directory'.
7280         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7281         Order alphabetically.
7282         [access-file, add-name-to-file, dired-call-process]:
7283         [dired-compress-file, file-acl, file-notify-rm-watch]:
7284         [file-ownership-preserved-p, file-selinux-context]:
7285         [make-directory-internal, make-symbolic-link, set-file-acl]:
7286         [set-file-selinux-context, set-visited-file-modtime]:
7287         [verify-visited-file-modtime]: Add handler.
7288         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7290         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7291         [file-notify-add-watch, file-notify-rm-watch]:
7292         [set-file-times, set-visited-file-modtime]:
7293         [verify-visited-file-modtime]: Add handler.
7294         (with-tramp-gvfs-error-message)
7295         (tramp-gvfs-handle-set-visited-file-modtime)
7296         (tramp-gvfs-fuse-file-name): Remove.
7297         (tramp-gvfs-handle-file-notify-add-watch)
7298         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7299         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7301         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7302         Order alphabetically.
7303         [file-notify-rm-watch ]: Use default Tramp handler.
7304         [executable-find]: Remove private handler.
7305         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7306         `default-directory'.
7307         (tramp-sh-handle-executable-find)
7308         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7309         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7310         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7311         Do not use `format' in `tramp-message'.
7313         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7314         [file-notify-rm-watch, set-visited-file-modtime]:
7315         [verify-visited-file-modtime]: Add handler.
7316         (tramp-smb-call-winexe): Do not bind `default-directory'.
7318 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
7320         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7322 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
7324         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7325         use it.
7326         (log-view-diff-changeset): Same.
7327         (log-view-diff-common): Call backend command `previous-revision'
7328         to find out the previous revision, in both cases.  Swap the
7329         variables `to' and `fr', so that `fr' usually refers to the
7330         earlier revision (Bug#14989).
7332 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
7334         * ibuf-ext.el (ibuffer-filter-by-filename):
7335         Make it work with dired buffers too.
7337 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
7339         * emacs-lisp/re-builder.el (reb-color-display-p):
7340         * files.el (save-buffers-kill-terminal):
7341         * net/browse-url.el (browse-url):
7342         * server.el (server-save-buffers-kill-terminal):
7343         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7344         Prefer nil to selected-frame for the first arg of frame-parameter.
7346 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
7348         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7350 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
7352         * minibuffer.el (completion--twq-all): Try and preserve each
7353         completion's case choice (bug#14907).
7355 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7357         * net/network-stream.el (open-network-stream): Mention the new
7358         :nogreeting parameter.
7359         (network-stream-open-starttls): Use the :nogreeting parameter
7360         (bug#14938).
7362         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7364         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7365         more natural than popping.
7367         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7368         (shr-urlify): Highlight under mouse.
7370 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7372         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7374         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7376         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
7377         buffer for output.
7379         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
7380         point-min==1.  Fix search string.  Fix parentheses missing.
7382         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
7383         assume point-min==1.  Fix search string.  Fix parentheses missing.
7385         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7387         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
7388         buffer for output.
7390 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
7392         * frame.el (frame-notice-user-settings): Avoid inflooping when the
7393         initial frame is minibuffer-less.  (Bug#14841)
7395 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
7397         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7398         option.
7400         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7401         (tramp-maybe-open-connection): Use it.
7403 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7405         * desktop.el (desktop--make-frame): Include `minibuffer' in the
7406         minimal set of parameters passed when creating a frame, because
7407         the minibuffer status of a frame cannot be changed later.
7409 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
7411         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7412         replace-regexp-in-string and inadvertent omissions in previous change.
7413         (todo-filter-items): Ensure only file names are comma-separated in
7414         name of filtered items buffer.
7416 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7418         * desktop.el: Optionally force offscreen frames back onscreen.
7419         (desktop-restoring-reuses-frames): New option.
7420         (desktop--compute-pos, desktop--move-onscreen): New functions.
7421         (desktop--make-frame): Use desktop--move-onscreen.
7423 2013-07-27  Alan Mackenzie  <acm@muc.de>
7425         Fontify a Java generic method as a function.
7426         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7427         value to t.
7429 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
7431         * calendar/todo-mode.el: Add command to rename todo files.
7432         (todo-rename-file): New command.
7433         (todo-key-bindings-t): Add key binding for it.  Change the
7434         bindings of todo-filter-regexp-items(-multifile) to use `x'
7435         instead of `r', since the latter is better suited to the new
7436         renaming command.
7438 2013-07-27  Alan Mackenzie  <acm@muc.de>
7440         Make Java try-with-resources statement parse properly.
7441         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7442         (c-block-stmt-1-2-key): New language constants/variables.
7443         * progmodes/cc-engine.el (c-beginning-of-statement-1)
7444         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7445         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7446         with c-block-stmt-1-2-key.
7448 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
7450         * desktop.el (desktop--make-frame): Apply most frame parameters after
7451         creating the frame to force (partially or totally) offscreen frames to
7452         be restored as such.
7454 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
7456         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7457         (Bug#14948)
7459 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7461         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7462         `base' arg of backtrace-frame.
7464 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
7466         * simple.el (list-processes): Doc fix.
7468 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7470         * desktop.el (desktop--select-frame):
7471         Try harder to reuse existing frames.
7473 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7475         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7476         (edebug-eval): Use backtrace-eval.
7477         (edebug--display, edebug--recursive-edit): Don't let-bind the
7478         edebug-outer-* vars that keep track of variables we locally let-bind.
7479         (edebug-outside-excursion): Don't restore outside values of locally
7480         let-bound vars.
7481         (edebug--display): Use user-error.
7482         (cl-lexical-debug, cl-debug-env): Remove.
7484 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7486         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7487         are restored to be sure that they are visible before deleting any
7488         remaining ones.
7490 2013-07-26  Matthias Meulien  <orontee@gmail.com>
7492         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7493         vc-print-root-log.  (Bug#14948)
7495 2013-07-26  Richard Stallman  <rms@gnu.org>
7497         Add aliases for encrypting mail.
7498         * epa.el (epa-mail-aliases): New option.
7499         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7500         Bind inhibit-read-only so read-only text doesn't ruin everything.
7501         (epa-mail-default-recipients): New subroutine broken out.
7502         Handle epa-mail-aliases.
7504 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7506         Add support for lexical variables to the debugger's `e' command.
7507         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7508         vars, except for debugger-outer-match-data.
7509         (debugger-frame-number): Move check for "on a function call" from
7510         callers into it.  Add `skip-base' argument.
7511         (debugger-frame, debugger-frame-clear): Simplify accordingly.
7512         (debugger-env-macro): Only reset the state stored in non-variables,
7513         i.e. current-buffer and match-data.
7514         (debugger-eval-expression): Rewrite using backtrace-eval.
7515         * subr.el (internal--called-interactively-p--get-frame): Remove.
7516         (called-interactively-p):
7517         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7518         `base' arg of backtrace-frame instead.
7520 2013-07-26  Glenn Morris  <rgm@gnu.org>
7522         * align.el (align-regexp): Doc fix.  (Bug#14857)
7523         (align-region): Explicit error if subexpression missing/does not match.
7525         * simple.el (global-visual-line-mode):
7526         Do not duplicate the mode lighter.  (Bug#14858)
7528 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
7530         * window.el (display-buffer): In display-buffer bind
7531         split-window-keep-point to t, bug#14829.
7533 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7535         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7536         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7537         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7538         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7539         Change accordingly.
7540         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7541         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7543 2013-07-25  Glenn Morris  <rgm@gnu.org>
7545         * dired-x.el (dired-mark-extension): Convert comment to doc string.
7547 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7549         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7550         parameter to modify-frame-parameters if the value has not changed;
7551         this is a workaround for bug#14949.
7552         (desktop--make-frame): On cl-delete-if call, check parameter name,
7553         not full parameter.
7555 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7557         * vc/vc.el (vc-ignore): New function.
7559         * vc/vc-svn.el (vc-svn-ignore): New function.
7561         * vc/vc-hg.el (vc-hg-ignore): New function.
7563         * vc/vc-git.el (vc-git-ignore): New function.
7565         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7566         (vc-dir-ignore): New function.
7568         * vc/vc-cvs.el (vc-cvs-ignore): New function.
7569         (cvs-append-to-ignore): Move here from pcvs.el.
7571         * vc/vc-bzr.el (vc-bzr-ignore): New function.
7573         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7575 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
7577         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7578         (desktop-restore-frames): Warn when deleting an existing frame failed.
7580 2013-07-24  Glenn Morris  <rgm@gnu.org>
7582         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
7584 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
7586         * filenotify.el (file-notify-supported-p):
7587         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7588         Remove functions.
7590         * autorevert.el (auto-revert-use-notify):
7591         (auto-revert-notify-add-watch):
7592         * net/tramp.el (tramp-file-name-for-operation):
7593         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7594         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7595         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7596         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7597         Remove `file-notify-supported-p' entry.
7599 2013-07-24  Glenn Morris  <rgm@gnu.org>
7601         * printing.el: Replace all uses of deleted ps-windows-system,
7602         ps-lp-system, ps-flatten-list with lpr- versions.
7604 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7606         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7607         checked with memq (bug#14935).
7609         * files.el (revert-buffer-function): Use a non-nil default.
7610         (revert-buffer-preserve-modes): Declare var to
7611         provide access to the `preserve-modes' argument.
7612         (revert-buffer): Let-bind it.
7613         (revert-buffer--default): New function, extracted from revert-buffer.
7615 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * lpr.el: Signal print errors more prominently.
7618         (print-region-function): Don't default to nil.
7619         (lpr-print-region): New function, extracted from print-region-1.
7620         Check lpr's return value and signal an error in case of problem.
7621         (print-region-1): Use it.
7622         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
7623         versions instead.
7624         (ps-printer-name): Default to nil.
7625         (ps-printer-name-option): Default to lpr-printer-switch.
7626         (ps-print-region-function): Don't default to nil.
7627         (ps-postscript-code-directory): Simplify default.
7628         (ps-do-despool): Use lpr-print-region to properly check the outcome.
7629         (ps-string-list, ps-eval-switch, ps-flatten-list)
7630         (ps-flatten-list-1): Remove.
7631         (ps-multibyte-buffer): Avoid setq.
7632         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7633         (print-region-function, ps-print-region-function): Don't set them here.
7635 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
7637         * ido.el (ido-fractionp):
7638         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7639         (ido-max-file-prompt-width, ido-unc-hosts-cache)
7640         (ido-max-directory-size, ido-max-dir-file-cache)
7641         (ido-decorations): Doc fix.
7643         * ansi-color.el: Fix old URL.
7645 2013-07-23  Michael R. Mauger  <michael@mauger.com>
7647         * progmodes/sql.el: Version 3.3
7648         (sql-product-alist): Improve oracle :prompt-cont-regexp.
7649         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7650         (sql-interactive-remove-continuation-prompt): Rewrite, use
7651         functions above.  Fix continuation prompt and complete output line
7652         handling.
7653         (sql-redirect-one, sql-execute): Use `read-only-mode' on
7654         redirected output buffer.
7655         (sql-mode): Restore deleted code (Bug#13591).
7657 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7659         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7661 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
7663         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7665         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7666         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7667         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7669 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7671         * desktop.el (desktop-clear): Simplify; remove useless checks
7672         against invalid buffer names.
7673         (desktop-list*): Use cl-list*.
7674         (desktop-buffer-info, desktop-create-buffer): Simplify.
7676 2013-07-23  Leo Liu  <sdl.web@gmail.com>
7678         * bookmark.el (bookmark-make-record): Restore NAME as a default
7679         value.  (Bug#14933)
7681 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7683         * emacs-lisp/autoload.el (autoload--setup-output): New function,
7684         extracted from autoload--insert-text.
7685         (autoload--insert-text): Remove.
7686         (autoload--print-cookie-text): New function, extracted from
7687         autoload--insert-cookie-text.
7688         (autoload--insert-cookie-text): Remove.
7689         (autoload-generate-file-autoloads): Adjust calls accordingly.
7691         * winner.el (winner-hook-installed-p): Remove.
7692         (winner-mode): Simplify accordingly.
7694         * subr.el (add-to-list): Fix compiler-macro when `append' is
7695         not constant.  Don't use `cl-member' for the base case.
7697         * progmodes/subword.el: Fix boundary case (bug#13758).
7698         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
7699         own group.
7700         (subword-backward-regexp): Make it a constant.
7701         (subword-forward-internal): Don't treat a trailing capital as the
7702         beginning of a word.
7704 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
7706         * emacs-lisp/package.el (package-menu-mode): Don't modify the
7707         global value of tabulated-list-revert-hook (bug#14930).
7709 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
7711         * desktop.el: Require 'cl-lib.
7712         (desktop-before-saving-frames-functions): New hook.
7713         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7714         for frames being saved.  Rename from desktop--save-minibuffer-frames.
7715         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7716         Do not save frames with non-nil `desktop-dont-save' parameter.
7717         Filter out deleted frames.
7718         (desktop--find-frame): Use cl-find-if.
7719         (desktop--select-frame): Use cl-(first|second|third) to access values
7720         of desktop-mini.
7721         (desktop--make-frame): Use cl-delete-if.
7722         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7723         (desktop-restore-frames): Use cl-(first|second|third) to access values
7724         of desktop-mini.  Look for visible frame at the end, not while
7725         restoring frames.
7727         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7728         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7729         Use string-match-p, looking-at-p (bug#14927).
7731 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
7733         * desktop.el (desktop-saved-frame-states):
7734         Rename from desktop--saved-states; all users changed.
7735         (desktop-save-frames): Rename from desktop--save-frames.
7736         Do not save state to desktop file.
7737         (desktop-save): Save desktop-saved-frame-states to desktop file
7738         and reset to nil.
7739         (desktop-restoring-frames-p): New function.
7740         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
7741         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
7742         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
7744         * desktop.el: Correctly restore iconified frames.
7745         (desktop--filter-iconified-position): New function.
7746         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7748 2013-07-20  Glenn Morris  <rgm@gnu.org>
7750         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7751         Let `message' do the formatting.
7752         (def-gdb-preempt-display-buffer): Add explicit format.
7754         * image-dired.el (image-dired-track-original-file):
7755         Use with-current-buffer.
7756         (image-dired-track-thumbnail): Use with-current-buffer.
7757         Avoid changing point of wrong window.
7759         * image-dired.el (image-dired-track-original-file):
7760         Avoid changing point of wrong window.  (Bug#14909)
7762 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
7764         * progmodes/gdb-mi.el (gdb-done-or-error):
7765         Guard against "%" in gdb output.  (Bug#14127)
7767 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
7769         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7770         (Bug#14826)
7772         * international/mule.el (coding-system-iso-2022-flags): Fix last
7773         change.
7775 2013-07-20  Kenichi Handa  <handa@gnu.org>
7777         * international/mule.el (coding-system-iso-2022-flags):
7778         Add `8-bit-level-4'.  (Bug#8522)
7780 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7782         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7783         (bug#14815).
7785         * net/eww.el (eww-process-text-input): Allow inputting when the
7786         point is at the start of the line, as the properties aren't
7787         front-sticky.
7789         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7790         degenerate widths.
7792 2013-07-19  Richard Stallman  <rms@gnu.org>
7794         * epa.el (epa-popup-info-window): Doc fix.
7796         * subr.el (split-string): New arg TRIM.
7798 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7800         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7801         Add check for W32 (followup to revno:113431).
7803 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7805         * filenotify.el (file-notify--library): Rename from
7806         `file-notify-support'.  Do not autoload.  Adapt all uses.
7807         (file-notify-supported-p): New defun.
7809         * autorevert.el (auto-revert-use-notify):
7810         Use `file-notify-supported-p' instead of `file-notify-support'.
7811         Adapt docstring.
7812         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7814         * net/tramp.el (tramp-file-name-for-operation):
7815         Add `file-notify-supported-p'.
7817         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7818         New defun.
7819         (tramp-sh-file-name-handler-alist): Add it as handler for
7820         `file-notify-supported-p '.
7822         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7823         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7824         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7825         Add `ignore' as handler for `file-notify-*' functions.
7827 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7829         * simple.el (line-move-partial, line-move): Don't start vscroll or
7830         scroll-up if the current line is not taller than the window.
7831         (Bug#14881)
7833 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7835         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7836         highlight question marks in the method names as strings.
7837         (ruby-block-beg-keywords): Inline.
7838         (ruby-font-lock-keyword-beg-re): Extract from
7839         `ruby-font-lock-keywords'.
7841 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7843         * frame.el (blink-cursor-blinks): New defcustom.
7844         (blink-cursor-blinks-done): New defvar.
7845         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7846         (blink-cursor-timer-function): Check if number of blinks has been
7847         done on X and NS.
7848         (blink-cursor-suspend, blink-cursor-check): New defuns.
7850 2013-07-15  Glenn Morris  <rgm@gnu.org>
7852         * edmacro.el (edmacro-format-keys): Fix previous change.
7854 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7856         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7857         The hack didn't work outside English locales anyway.
7859 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7861         * simple.el (define-alternatives): Rename from alternatives-define,
7862         per RMS' suggestion.
7864 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7866         * desktop.el (desktop-restore-frames): Change default to t.
7867         (desktop-restore-in-current-display): Now offer more options.
7868         (desktop-restoring-reuses-frames): New customization option.
7869         (desktop--saved-states): Doc fix.
7870         (desktop-filter-parameters-alist): New variable, renamed and expanded
7871         from desktop--excluded-frame-parameters.
7872         (desktop--target-display): New variable.
7873         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7874         (desktop--filter-tty*, desktop--filter-*-color)
7875         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7876         (desktop--filter-save-desktop-parm)
7877         (desktop-restore-in-original-display-p): New functions.
7878         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7879         (desktop--save-minibuffer-frames): New function, inspired by a similar
7880         function from Martin Rudalics.
7881         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7882         (desktop--restore-in-this-display-p): Remove.
7883         (desktop--find-frame): Rename from desktop--find-frame-in-display
7884         and add predicate argument.
7885         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7886         (desktop--reuse-list): New variable.
7887         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7888         New functions.
7889         (desktop--restore-frames): Add support for "minibuffer-special" frames.
7891 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
7893         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7895 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
7897         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7898         Highlight conversion methods on Kernel.
7900 2013-07-13  Alan Mackenzie  <acm@muc.de>
7902         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7903         and comment it out.  This out-commenting enables certain C++
7904         declarations to be parsed correctly.
7906 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
7908         * international/mule.el (define-coding-system): Doc fix.
7910         * simple.el (default-font-height): Don't call font-info if the
7911         frame's default font didn't change since the frame was created.
7912         (Bug#14838)
7914 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7916         * ido.el (ido-read-file-name): Guard against non-symbol value.
7918 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7920         * progmodes/python.el (python-imenu--build-tree): Fix corner case
7921         in nested defuns.
7923 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7925         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7926         ido-set-matches call.  (Bug#6852)
7928 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
7930         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7931         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7932         Ruby 2.0.
7933         (ruby-font-lock-keywords): Distinguish calls to functions with
7934         module-like names from module references.  Highlight character
7935         literals.
7937 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
7939         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7940         (gdb-send): Handle continued commands.  (Bug#14847)
7942 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7944         * desktop.el (desktop--v2s): Remove unused local variable.
7945         (desktop-save-buffer): Make defvar-local; adjust docstring.
7946         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7947         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7949 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7951         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7953 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
7955         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7956         (Bug#14842)
7958 2013-07-12  Glenn Morris  <rgm@gnu.org>
7960         * doc-view.el: Require cl-lib at runtime too.
7961         (doc-view-remove-if): Remove.
7962         (doc-view-search-next-match, doc-view-search-previous-match):
7963         Use cl-remove-if.
7965         * edmacro.el: Require cl-lib at runtime too.
7966         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7967         (edmacro-mismatch, edmacro-subseq): Remove.
7969         * shadowfile.el: Require cl-lib.
7970         (shadow-remove-if): Remove.
7971         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7972         Use cl-remove-if.
7974         * wid-edit.el: Require cl-lib.
7975         (widget-choose): Use cl-remove-if.
7976         (widget-remove-if): Remove.
7978         * progmodes/ebrowse.el: Require cl-lib at runtime too.
7979         (ebrowse-delete-if-not): Remove.
7980         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7981         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7982         Use cl-delete-if-not.
7984 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7986         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7987         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7989 2013-07-12  Leo Liu  <sdl.web@gmail.com>
7991         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
7993 2013-07-11  Glenn Morris  <rgm@gnu.org>
7995         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7996         (edebug-gensym-index, edebug-gensym):
7997         Remove reimplementation of cl-gensym.
7998         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8000         * thumbs.el: Require cl-lib at run-time too.
8001         (thumbs-gensym-counter, thumbs-gensym):
8002         Remove reimplementation of cl-gensym.
8003         (thumbs-temp-file): Use cl-gensym.
8005         * emacs-lisp/ert.el: Require cl-lib at runtime too.
8006         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8007         (ert--intersection, ert--set-difference, ert--set-difference-eq)
8008         (ert--union, ert--gensym-counter, ert--gensym-counter)
8009         (ert--coerce-to-vector, ert--remove*, ert--string-position)
8010         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8011         (ert-make-test-unbound, ert--expand-should-1)
8012         (ert--expand-should, ert--should-error-handle-error)
8013         (should-error, ert--explain-equal-rec)
8014         (ert--plist-difference-explanation, ert-select-tests)
8015         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8016         Use cl-lib functions rather than reimplementations.
8018 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
8020         * net/tramp.el (tramp-methods): Extend docstring.
8021         (tramp-connection-timeout): New defcustom.
8022         (tramp-error-with-buffer): Reset timestamp only when appropriate.
8023         (with-tramp-progress-reporter): Simplify.
8024         (tramp-process-actions): Improve messages.
8026         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8027         * net/tramp-sh.el (tramp-maybe-open-connection):
8028         Use `tramp-connection-timeout'.
8029         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8030         (Bug#14808)
8032 2013-07-11  Leo Liu  <sdl.web@gmail.com>
8034         * ido.el (ido-read-file-name): Conform to the requirements of
8035         read-file-name.  (Bug#11861)
8036         (ido-read-directory-name): Conform to the requirements of
8037         read-directory-name.
8039 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
8041         * subr.el (delay-warning): New function.
8043 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
8045         * simple.el (default-line-height): New function.
8046         (line-move-partial, line-move): Use it instead of computing the
8047         line height inline.
8048         (line-move-partial): Always compute ROWH.  If the last line is
8049         partially-visible, but its text is completely visible, allow
8050         cursor to enter such a partially-visible line.
8052 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8054         Improve error messages.  (Bug#14808)
8056         * net/tramp.el (tramp-current-connection): New defvar, moved from
8057         tramp-sh.el.
8058         (tramp-message-show-progress-reporter-message): Remove, not
8059         needed anymore.
8060         (tramp-error-with-buffer): Show message in minibuffer.
8061         Discard input before waiting.  Reset connection timestamp.
8062         (with-tramp-progress-reporter): Improve messages.
8063         (tramp-process-actions): Use progress reporter.  Delete process in
8064         case of error.  Improve messages.
8066         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8067         Call `tramp-error-with-buffer' with vector and buffer.
8068         (tramp-current-connection): Remove.
8069         (tramp-maybe-open-connection): The car of
8070         `tramp-current-connection' are the first 3 slots of the vector.
8072 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
8074         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8075         inside continued strings.
8077 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
8079         Timestamp fixes for undo (Bug#14824).
8080         * files.el (clear-visited-file-modtime): Move here from fileio.c.
8082 2013-07-10  Leo Liu  <sdl.web@gmail.com>
8084         * files.el (require-final-newline): Allow safe local value.
8085         (Bug#14834)
8087 2013-07-09  Leo Liu  <sdl.web@gmail.com>
8089         * ido.el (ido-read-directory-name): Handle fallback.
8090         (ido-read-file-name): Update DIR to ido-current-directory.
8091         (Bug#1516)
8092         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
8094 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
8096         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8097         "autoload".  Remove "warn lower camel case" section, previously
8098         commented out.  Highlight negation char.  Do not highlight the
8099         target in singleton method definitions.
8101 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8103         * faces.el (tty-setup-hook): Declare the hook.
8105         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8106         and detect when a guard/pred depends on local vars (bug#14773).
8107         (pcase--u1): Adjust caller.
8109 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
8111         * simple.el (line-move-partial, line-move): Account for
8112         line-spacing.
8113         (line-move-partial): Avoid setting vscroll when the last
8114         partially-visible line in window is of default height.
8116 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8118         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8119         been used a while.
8121 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
8123         * subr.el (read-quoted-char): Remove unused local variable `char'.
8125 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8127         * ediff.el (ediff-version): Version update.
8128         (ediff-files-command, ediff3-files-command, ediff-merge-command)
8129         (ediff-merge-with-ancestor-command, ediff-directories-command)
8130         (ediff-directories3-command, ediff-merge-directories-command)
8131         (ediff-merge-directories-with-ancestor-command): New functions.
8132         All are command-line interfaces to ediff: to facilitate calling
8133         Emacs with the appropriate ediff functions invoked.
8135         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8136         (viper-save-kill-buffer): Check if buffer is modified.
8138         * viper.el (viper-version): Version update.
8139         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8141 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8143         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8144         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8145         (viper-intercept-ESC-key): Simplify.
8146         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8147         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8148         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8149         (viper-setup-ESC-to-escape): New functions.
8150         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8151         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
8153 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
8155         * simple.el (default-font-height, window-screen-lines):
8156         New functions.
8157         (line-move, line-move-partial): Use them instead of
8158         frame-char-height and window-text-height.  This makes scrolling
8159         text smoother when the buffer's default face uses a font that is
8160         different from the frame's default font.
8162 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
8164         * files.el (write-file): Do not display confirm dialog for NS,
8165         it does its own dialog, which can't be canceled (Bug#14578).
8167 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
8169         * simple.el (line-move-partial): Adjust the row returned by
8170         posn-at-point for the current window-vscroll.  (Bug#14567)
8172 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
8174         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8175         (tramp-sh-file-inotifywait-process-filter): Handle file names with
8176         spaces.
8178 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
8180         * window.el (window-state-put-stale-windows): New variable.
8181         (window--state-put-2): Save list of windows without matching buffer.
8182         (window-state-put): Remove "bufferless" windows if possible.
8184 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8186         * simple.el (alternatives-define): Remove leftover :group keyword.
8187         Tweak docstring.
8189 2013-07-06  Leo Liu  <sdl.web@gmail.com>
8191         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8192         (ido-enable-virtual-buffers): New variable.
8193         (ido-buffer-internal, ido-toggle-virtual-buffers)
8194         (ido-make-buffer-list): Use it.
8195         (ido-exhibit): Support turning on and off virtual buffers
8196         automatically.
8198 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8200         * simple.el (alternatives-define): New macro.
8202 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8204         * subr.el (read-quoted-char): Use read-key.
8205         (sit-for): Let read-event decode tty input (bug#14782).
8207 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
8209         * calendar/todo-mode.el: Add handling of file deletion, both by
8210         mode command and externally.  Fix various related bugs.
8211         Clarify Commentary and improve some documentation strings and code.
8212         (todo-delete-file): New command.
8213         (todo-check-file): New function.
8214         (todo-show): Handle external deletion of the file we're trying to
8215         show (bug#14688).  Replace called-interactively-p by an optional
8216         prefix argument to avoid problematic interaction with catch form
8217         when byte compiled (bug#14702).
8218         (todo-quit): Handle external deletion of the archive's todo file.
8219         Make sure the buffer that was visiting the archive file is still
8220         live before trying to bury it.
8221         (todo-category-completions): Handle external deletion of any
8222         category completion files.
8223         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8224         of todo files, in case of external deletion.
8225         (todo-add-file): Replace unnecessary setq by let-binding.
8226         (todo-find-archive): Check whether there are any archives.
8227         Replace unnecessary setq by let-binding.
8228         (todo-archive-done-item): Use find-file-noselect to get the
8229         archive buffer whether or not the archive already exists.
8230         Remove superfluous code.  Use file size instead of buffer-file-name to
8231         check if the archive is new; if it is, update list of archives.
8232         (todo-default-todo-file): Allow nil to be a valid value for when
8233         there are no todo files.
8234         (todo-reevaluate-default-file-defcustom): Use corrected definition
8235         of todo-default-todo-file.
8236         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8237         (todo-delete-category, todo-show-categories-table)
8238         (todo-category-number): Clarify comment.
8239         (todo-filter-items): Clarify documentation string.
8240         (todo-show-current-file, todo-display-as-todo-file)
8241         (todo-reset-and-enable-done-separator): Tweak documentation string.
8242         (todo-done-separator): Make separator length window-width, since
8243         bug#2749 is now fixed.
8245 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
8247         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8248         Support both "gvfs-monitor-dir" and "inotifywait".
8249         (tramp-sh-file-inotifywait-process-filter): Rename from
8250         `tramp-sh-file-notify-process-filter'.
8251         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8252         (tramp-get-remote-gvfs-monitor-dir): New defuns.
8254 2013-07-05  Leo Liu  <sdl.web@gmail.com>
8256         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8258 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8260         * frame.el (display-pixel-height, display-pixel-width)
8261         (display-mm-height, display-mm-width): Mention behavior on
8262         multi-monitor setups in docstrings.
8263         (w32-display-monitor-attributes-list): Declare function.
8264         (display-monitor-attributes-list): Use it.
8266 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
8268         * filenotify.el: New package.
8270         * autorevert.el (top): Require filenotify.el.
8271         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
8272         instead.
8273         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8274         (auto-revert-notify-handler): Use `file-notify-*' functions.
8276         * subr.el (file-notify-handle-event): Move function to filenotify.el.
8278         * net/tramp.el (tramp-file-name-for-operation):
8279         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8281         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8282         for `file-notify-add-watch' and `file-notify-rm-watch'.
8283         (tramp-process-sentinel): Improve trace.
8284         (tramp-sh-handle-file-notify-add-watch)
8285         (tramp-sh-file-notify-process-filter)
8286         (tramp-sh-handle-file-notify-rm-watch)
8287         (tramp-get-remote-inotifywait): New defuns.
8289 2013-07-03  Juri Linkov  <juri@jurta.org>
8291         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8292         call of `occur-read-primary-args' to interactive spec.
8294         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8295         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
8297 2013-07-03  Matthias Meulien  <orontee@gmail.com>
8299         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8300         `Buffer-menu-multi-occur'.  Add it to the menu.
8301         (Buffer-menu-mode): Document it in docstring.
8302         (Buffer-menu-multi-occur): New command.  (Bug#14673)
8304 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8306         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8307         keywords and built-ins.
8309 2013-07-03  Glenn Morris  <rgm@gnu.org>
8311         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
8313         Make info-xref checks case-sensitive by default
8314         * info.el (Info-find-node, Info-find-in-tag-table)
8315         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8316         Add option for exact case matching of nodes.
8317         * info-xref.el (info-xref): New custom group.
8318         (info-xref-case-fold): New option.
8319         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8321 2013-07-03  Leo Liu  <sdl.web@gmail.com>
8323         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8325 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8327         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8328         middle of block statement initially, lower the depth.  Remove
8329         FIXME comment, not longer valid.  Remove middle of block statement
8330         detection, no need to do that anymore since we've been using
8331         `ruby-parse-region' here.
8333 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
8335         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8337 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
8339         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8341 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
8343         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8344         (desktop-restore-in-current-display): New customization option.
8345         (desktop--excluded-frame-parameters): Add `font'.
8346         (desktop--save-frames): Rename from desktop--save-windows.
8347         (desktop--restore-in-this-display-p): New function.
8348         (desktop--make-full-frame): Remove unwanted width/height from
8349         full(width|height) frames.
8350         (desktop--restore-frames): Rename from desktop--restore-windows.
8351         Obey desktop-restore-current-display.  Do not delete old frames or
8352         select a new frame unless we were able to restore at least one frame.
8354 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
8356         * files.el (find-file-noselect): Simplify conditional expression.
8358         * textmodes/remember.el (remember-append-to-file):
8359         Don't mix `find-buffer-visiting' and `get-file-buffer'.
8361         Add `remember-notes' function to store random notes across Emacs
8362         restarts.
8363         * textmodes/remember.el (remember-data-file): Add :set callback to
8364         affect notes buffer (if any).
8365         (remember-notes): New command.
8366         (remember-notes-buffer-name, bury-remember-notes-on-kill):
8367         New defcustoms for the `remember-notes' function.
8368         (remember-notes-save-and-bury-buffer): New command.
8369         (remember-notes-mode-map): New variable.
8370         (remember-mode): New minor mode.
8371         (remember-notes--kill-buffer-query): New function.
8372         * startup.el (initial-buffer-choice): Add notes to custom type.
8374 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
8376         * bindings.el (right-char, left-char): Don't call sit-for, this is
8377         no longer needed.  Use arithmetic comparison only for numerical
8378         arguments.
8380         * international/mule-cmds.el (select-safe-coding-system):
8381         Handle the case of FROM being a string correctly.  (Bug#14755)
8383 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8385         * net/shr.el (shr-make-table-1): Add a sanity check that allows
8386         progression on degenerate tables.
8387         (shr-rescale-image): ImageMagick animated images currently don't work.
8389 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
8391         Some fixes and improvements for desktop frame restoration.
8392         It is still experimental and disabled by default.
8393         * desktop.el (desktop--save-windows): Put the selected frame at
8394         the head of the list.
8395         (desktop--make-full-frame): New function.
8396         (desktop--restore-windows): Try to re-select the frame that was
8397         selected upon saving.  Do not abort if some frames fail to restore,
8398         just show an error message and continue.  Set up maximized frames
8399         so they have default non-maximized dimensions.
8401 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
8403         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8404         Don't start heredoc inside a string or comment.
8406 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
8408         * bindings.el (visual-order-cursor-movement): New defcustom.
8409         (right-char, left-char): Provide visual-order cursor motion by
8410         calling move-point-visually.  Update the doc strings.
8412 2013-06-28  Kenichi Handa  <handa@gnu.org>
8414         * international/mule.el (define-coding-system): New coding system
8415         properties :inhibit-null-byte-detection,
8416         :inhibit-iso-escape-detection, and :prefer-utf-8.
8417         (set-buffer-file-coding-system): If :charset-list property of
8418         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8419         appropriate for setting.
8421         * international/mule-cmds.el (select-safe-coding-system):
8422         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8423         multibyte characters, return utf-8 (or one of its siblings).
8425         * international/mule-conf.el (prefer-utf-8): New coding system.
8426         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8427         files.
8429 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
8431         * net/shr.el (shr-render-region): New function.
8433         * net/eww.el: Autoload `eww-browse-url'.
8435 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
8437         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8438         Adapt to `package-desc-version' being a list.
8439         Use `package--ac-desc-version' to retrieve version from a package
8440         archive element.
8442 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
8444         New experimental feature to save&restore window and frame setup.
8445         * desktop.el (desktop-save-windows): New defcustom.
8446         (desktop--saved-states): New var.
8447         (desktop--excluded-frame-parameters): New defconst.
8448         (desktop--filter-frame-parms, desktop--find-frame-in-display)
8449         (desktop--restore-windows, desktop--save-windows): New functions.
8450         (desktop-save): Call `desktop--save-windows'.
8451         (desktop-read): Call `desktop--restore-windows'.
8453 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8455         * net/shr.el (add-face-text-property): Remove compat definition.
8457 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8459         * info.el (Info-try-follow-nearest-node): Move search for footnote
8460         above search for node name to prevent missing a footnote (bug#14717).
8462 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8464         * obsolete/otodo-mode.el: Add obsolescence info to file header.
8466 2013-06-27  Leo Liu  <sdl.web@gmail.com>
8468         * net/eww.el (eww-read-bookmarks): Check file size.
8470 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8473         advice--pending if newdef is nil or an autoload (bug#13820).
8474         (advice-mapc): New function.
8476 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8478         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8479         probably.
8480         (eww-mode-map): Add a menu bar.
8481         (eww-add-bookmark): New command.
8482         (eww-bookmark-mode): New mode and commands.
8483         (eww-add-bookmark): Remove newlines from the title.
8484         (eww-bookmark-browse): Don't bug out if it's the only window.
8486 2013-06-26  Glenn Morris  <rgm@gnu.org>
8488         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8489         (hfy-size): Handle ttys.  (Bug#14668)
8491         * info-xref.el: Update for Texinfo 5 change in *note format.
8492         (info-xref-node-re, info-xref-note-re): New constants.
8493         (info-xref-check-buffer): Use info-xref-note-re.
8495 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8497         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8499         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8500         nil terminate the loop (bug#14718).
8502 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8504         * net/eww.el: Rework history traversal.  When going forward/back,
8505         put these actions into the history, too, so that they can be
8506         replayed.
8507         (eww-render): Move the history reset to the correct buffer.
8509 2013-06-25  Juri Linkov  <juri@jurta.org>
8511         * files-x.el (modify-dir-local-variable): Change the header comment
8512         in the file with directory local variables.  (Bug#14692)
8514         * files-x.el (read-file-local-variable-value): Add `default'.
8515         (Bug#14710)
8517 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8519         * net/eww.el (eww-make-unique-file-name): Create a unique file
8520         name before saving to entering `y' accidentally asynchronously.
8522 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
8524         * net/eww.el (eww-download): New command and keystroke.
8526 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8528         * net/eww.el (eww-copy-page-url): Change name of command.
8530         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8531         be more consistent with Info and dired.
8533         * net/eww.el (eww-mode-map): Ditto.
8535 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
8538         packages from archives.
8539         (package-archive-contents): Change format; include obsolete packages.
8540         (package-desc): Use `dir' to mark builtin packages.
8541         (package--from-builtin): Set the `dir' field to `builtin'.
8542         (generated-autoload-file, version-control): Declare.
8543         (package-compute-transaction): Change first arg and return value to be
8544         lists of package-descs.  Adjust to new package-archive-contents format.
8545         (package--add-to-archive-contents): Adjust to new
8546         package-archive-contents format.
8547         (package-download-transaction): Arg is now a list of package-descs.
8548         (package-install): If `pkg' is a package name, pass it as
8549         a requirement, so it is subject to the usual (e.g. disabled) checks.
8550         (describe-package): Accept package-desc as well.
8551         (describe-package-1): Describe a specific package-desc.  Add links to
8552         other package-descs for the same package name.
8553         (package-menu-describe-package): Pass the actual package-desc.
8554         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8555         works correctly.
8556         (package-desc-status): New function.
8557         (package-menu--refresh): New function, extracted
8558         from package-menu--generate.
8559         (package-menu--generate): Use it.
8560         (package-delete): Update package-alist.
8561         (package-menu-execute): Don't call package-initialize.
8563         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8564         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8565         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8566         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8567         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8568         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8570 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
8572         * window.el (window--state-get-1): Workaround for bug#14527.
8573         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8575 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8577         * net/eww.el (eww-back-url): Implement the history by stashing all
8578         the data into a list.
8579         (eww-forward-url): Allow going forward in the history, too.
8581 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8583         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8584         for values and use read--expression for expressions (bug#14710).
8585         (read-file-local-variable): Avoid setq.
8586         (read-file-local-variable-mode): Use minor-mode-list.
8588 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8590         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8591         for DOI URLs.
8593 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8595         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8596         Update imenu-support when dialect changes.
8598 2013-06-25  Leo Liu  <sdl.web@gmail.com>
8600         * ido.el (ido-read-internal): Allow forward slash on windows.
8602 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8604         * net/eww.el (eww): Start of strings is \\`, not ^.
8606 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8608         * net/shr.el (shr-browse-url): Fix interactive spec.
8610         * net/eww.el (eww): Add a trailing slash to domain names.
8612 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
8614         * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
8616 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8618         * net/shr.el (shr-browse-url): Use an external browser if given a
8619         prefix.
8621         * net/eww.el (eww-external-browser): Move to shr.
8623 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8625         * net/eww.el (eww): Work more correctly for file: URLs.
8626         (eww-detect-charset): Allow quoted charsets.
8627         (eww-yank-page-url): New command and keystroke.
8629 2013-06-24  Daiki Ueno  <ueno@gnu.org>
8631         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8632         file name of gpg executable.
8633         (epg-context-program): New function.
8634         (epg-context-home-directory): New function.
8635         (epg-context-set-program): New function.
8636         (epg-context-set-home-directory): New function.
8637         (epg--start): Use `epg-context-program' instead of
8638         'epg-gpg-program'.
8639         (epg--list-keys-1): Likewise.
8641 2013-06-24  Leo Liu  <sdl.web@gmail.com>
8643         * ido.el (ido-read-internal): Fix bug#14620.
8645 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8647         * faces.el (face-documentation): Simplify.
8648         (read-face-attribute, tty-find-type, x-resolve-font-name):
8649         Use `string-match-p'.
8650         (list-faces-display): Use `string-match-p'.  Simplify.
8651         (face-spec-recalc): Check face to avoid face alias loops.
8652         (read-color): Use `string-match-p' and non-capturing parenthesis.
8654 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8656         * net/shr.el (shr-rescale-image): Use the new
8657         :max-width/:max-height functionality.
8659 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
8661         * net/eww.el (eww-search-prefix): New variable.
8662         (eww): Use it.
8663         (eww-external-browser): New variable.
8664         (eww-mode-map): New keystroke.
8665         (eww-browse-with-external-browser): New command.
8667         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8669 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8671         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8672         Don't skip aligning the next header field when padding is 0;
8673         otherwise, field width is not respected unless the title is as
8674         wide as the field.
8676 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8678         * emacs-lisp/package.el (package-el-version): Remove.
8679         (package-process-define-package): Fix inf-loop.
8680         (package-install): Allow symbols as arguments again.
8682 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8684         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8685         add some more keyword-like methods.
8686         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8688 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
8690         * bs.el (bs-buffer-show-mark): Make defvar-local.
8691         (bs-mode): Use setq-local.
8693         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8694         (emacs-lock--try-unlocking): Make defvar-local.
8696 2013-06-22  Glenn Morris  <rgm@gnu.org>
8698         * play/cookie1.el (cookie-apropos): Minor simplification.
8700         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8702 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8704         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8705         `regexp-opt', it breaks the build during dumping.
8707 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8709         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8710         Highlight keyword-like methods on Kernel and Module with
8711         font-lock-builtin-face.
8712         (auto-mode-alist): Consolidate different entries into one regexp
8713         and add more *file-s.
8715 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
8717         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8719         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8720         (diary-entry): Use it in the action of this button type instead of
8721         diary-goto-entry.
8723         * calendar/todo-mode.el: New version.
8724         (todo-add-category): Append new category to end of file and give
8725         it the highest number, instead of putting it at the beginning and
8726         giving it 0.  Incorporate noninteractive functionality.
8727         (todo-forward-category): Adapt to 1-based category numbering.
8728         Allow skipping over archived categories.
8729         (todo-backward-category): Derive from todo-forward-category.
8730         (todo-backward-item, todo-forward-item): Make noninteractive and
8731         delegate interactive part to new commands.  Make sensitive to done items.
8732         (todo-categories): Make value an alist of category names and
8733         vectors of item counts.
8734         (todo-category-beg): Make a defconst.
8735         (todo-category-number): Use 1 instead of 0 as initial value.
8736         (todo-category-select): Make sensitive to overlays, optional item
8737         highlighting and done items.
8738         (todo-delete-item): Make sensitive to overlays and marked and done items.
8739         (todo-edit-item): Make sensitive to overlays and editing of
8740         date/time header optional.  Add format checks.
8741         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
8742         no-op if point is not on an item.  Advertise using todo-edit-quit.
8743         (todo-edit-mode): Make sensitive to new format, font-locking, and
8744         multiple todo files.
8745         (todo-insert-item, todo-insert-item-here): Derive from
8746         todo-basic-insert-item and extend functionality.
8747         (todo-item-end, todo-item-start): Make sensitive to done items.
8748         (todo-item-string): Don't return text properties.  Restore point.
8749         (todo-jump-to-category): Make sensitive to multiple todo files and
8750         todo archives.  Use extended category completion.
8751         (todo-lower-item, todo-raise-item): Rename to *-priority and
8752         derive from todo-set-item-priority.
8753         (todo-mode): Derive from special-mode.  Make sensitive to new
8754         format, font-locking and multiple todo files.  Make read-only.
8755         (todo-mode-map): Don't suppress digit keys, so they can supply
8756         prefix arguments.  Add many new key bindings.
8757         (todo-prefix): Insert as an overlay instead of file text.
8758         Change semantics from diary date expression to purely visual mark.
8759         (todo-print): Rename to todo-print-buffer.  Make buffer display
8760         features printable.  Remove option to restrict number of items
8761         printed.  Add option to print to file.
8762         (todo-print-function): Rename to todo-print-buffer-function.
8763         (todo-quit): Extend to handle exiting new todo modes.
8764         (todo-remove-item): Make sensitive to overlays.
8765         (todo-save): Extend to buffers of filtered items.
8766         (todo-show): Make sensitive to done items, multiple todo files and
8767         new todo modes.  Offer to convert legacy todo file before creating
8768         first new todo file.
8769         (todo-show-priorities): Rename to todo-top-priorities.
8770         Change semantics of value 0.
8771         (todo-top-priorities): Rename to todo-filter-top-priorities,
8772         derive from todo-filter-items and extend functionality.
8773         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8774         and extend functionality to other types of filtered items.
8775         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8776         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8777         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8778         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8779         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8780         (todo-edit-mode-hook, todo-entry-prefix-function)
8781         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8782         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8783         (todo-initials, todo-insert-threshold, todo-item-string-start)
8784         (todo-line-string, todo-menu, todo-mode-hook)
8785         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8786         (todo-print-priorities, todo-remove-separator)
8787         (todo-save-top-priorities-too, todo-string-count-lines)
8788         (todo-string-multiline-p, todo-time-string-format)
8789         (todo-tmp-buffer-name): Remove.
8790         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8791         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8792         (todo-edit-category-diary-inclusion)
8793         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8794         (todo-edit-file, todo-edit-item-date-day)
8795         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8796         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8797         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8798         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8799         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8800         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8801         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8802         (todo-filter-top-priorities-multifile, todo-find-archive)
8803         (todo-find-filtered-items-file, todo-go-to-source-item)
8804         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8805         (todo-jump-to-archive-category, todo-lower-category)
8806         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8807         (todo-move-category, todo-move-item, todo-next-button)
8808         (todo-next-item, todo-padded-string, todo-powerset)
8809         (todo-previous-button, todo-previous-item)
8810         (todo-print-buffer-to-file, todo-raise-category)
8811         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8812         (todo-set-category-number, todo-set-item-priority)
8813         (todo-set-top-priorities-in-category)
8814         (todo-set-top-priorities-in-file, todo-show-categories-table)
8815         (todo-sort-categories-alphabetically-or-numerically)
8816         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8817         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8818         (todo-toggle-item-header, todo-toggle-item-highlighting)
8819         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8820         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8821         (todo-unarchive-items, todo-unmark-category): New commands.
8822         (todo-absolute-file-name, todo-add-to-buffer-list)
8823         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8824         (todo-basic-insert-item, todo-category-completions)
8825         (todo-category-number, todo-category-string-matcher-1)
8826         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8827         (todo-check-format, todo-clear-matches)
8828         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8829         (todo-current-category, todo-date-string-matcher)
8830         (todo-define-insertion-command, todo-diary-expired-matcher)
8831         (todo-diary-goto-entry, todo-diary-item-p)
8832         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8833         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8834         (todo-done-item-section-p, todo-done-separator)
8835         (todo-done-string-matcher, todo-files, todo-filter-items)
8836         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8837         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8838         (todo-insert-category-line, todo-insert-item-from-calendar)
8839         (todo-insert-sort-button, todo-insert-with-overlays)
8840         (todo-insertion-command-name, todo-insertion-key-bindings)
8841         (todo-label-to-key, todo-longest-category-name-length)
8842         (todo-make-categories-list, todo-mode-external-set)
8843         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8844         (todo-modes-set-3, todo-multiple-filter-files)
8845         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8846         (todo-read-category, todo-read-date, todo-read-dayname)
8847         (todo-read-file-name, todo-read-time)
8848         (todo-reevaluate-category-completions-files-defcustom)
8849         (todo-reevaluate-default-file-defcustom)
8850         (todo-reevaluate-filelist-defcustoms)
8851         (todo-reevaluate-filter-files-defcustom)
8852         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8853         (todo-reset-done-separator, todo-reset-done-separator-string)
8854         (todo-reset-done-string, todo-reset-global-current-todo-file)
8855         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8856         (todo-reset-prefix, todo-set-categories)
8857         (todo-set-date-from-calendar, todo-set-show-current-file)
8858         (todo-set-top-priorities, todo-short-file-name)
8859         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8860         (todo-total-item-counts, todo-update-buffer-list)
8861         (todo-update-categories-display, todo-update-categories-sexp)
8862         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8863         New functions.
8864         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8865         New major modes.
8866         (todo-categories, todo-display, todo-edit, todo-faces)
8867         (todo-filtered): New defgroups.
8868         (todo-archived-only, todo-button, todo-category-string, todo-date)
8869         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8870         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8871         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8872         (todo-add-item-if-new-category, todo-always-add-time-string)
8873         (todo-categories-align, todo-categories-archived-label)
8874         (todo-categories-category-label, todo-categories-diary-label)
8875         (todo-categories-done-label, todo-categories-number-separator)
8876         (todo-categories-todo-label, todo-categories-totals-label)
8877         (todo-category-completions-files, todo-completion-ignore-case)
8878         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8879         (todo-done-separator-string, todo-done-string)
8880         (todo-files-function, todo-filter-done-items, todo-filter-files)
8881         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8882         (todo-initial-category, todo-initial-file, todo-item-mark)
8883         (todo-legacy-date-time-regexp, todo-mode-line-function)
8884         (todo-nondiary-marker, todo-number-prefix)
8885         (todo-print-buffer-function, todo-show-current-file)
8886         (todo-show-done-only, todo-show-first, todo-show-with-done)
8887         (todo-skip-archived-categories, todo-top-priorities-overrides)
8888         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8889         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8890         New defcustoms.
8891         (todo-category-done, todo-date-pattern, todo-date-string-start)
8892         (todo-diary-items-buffer, todo-done-string-start)
8893         (todo-filtered-items-buffer, todo-item-start)
8894         (todo-month-abbrev-array, todo-month-name-array)
8895         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8896         (todo-top-priorities-buffer): New defconsts.
8897         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8898         (todo-categories-with-marks, todo-category-string-face)
8899         (todo-comment-face, todo-comment-string, todo-current-todo-file)
8900         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8901         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8902         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8903         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8904         (todo-font-lock-keywords, todo-global-current-todo-file)
8905         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8906         (todo-insertion-commands-args)
8907         (todo-insertion-commands-args-genlist)
8908         (todo-insertion-commands-names, todo-insertion-map)
8909         (todo-key-bindings-t, todo-key-bindings-t+a)
8910         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8911         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8912         (todo-nondiary-face, todo-print-buffer, todo-time-face)
8913         (todo-visited): New variables.
8915 2013-06-21  Glenn Morris  <rgm@gnu.org>
8917         * play/cookie1.el (cookie-apropos): Add optional display argument.
8918         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8919         (psychoanalyze-pinhead): Use cookie-doctor.
8921 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8923         * emacs-lisp/package.el (tar-get-file-descriptor)
8924         (tar--extract): Declare.
8926 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
8928         Extend flymake's warning predicate to be a function (bug#14217).
8929         * progmodes/flymake.el (flymake-warning-predicate): New.
8930         (flymake-parse-line): Use it.
8931         (flymake-warning-re): Make obsolete alias to
8932         `flymake-warning-predicate'.
8934 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8936         * emacs-lisp/package.el (package-alist): Include obsolete packages.
8937         (package-obsolete-list): Remove.
8938         (package-activate): Remove min-version argument.  Add `force' argument.
8939         Adjust to new package-alist format.
8940         (package-mark-obsolete): Remove.
8941         (package-unpack): Force reload of the package's autoloads.
8942         (package-installed-p): Check builtins if the installed package is not
8943         recent enough.
8944         (package-initialize): Don't reset package-obsolete-list.
8945         Don't specify which package version to activate.
8946         (package-process-define-package, describe-package-1)
8947         (package-menu--generate): Adjust to new package-alist format.
8949 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8951         * allout-widgets.el (allout-widgets-mode-off)
8952         (allout-widgets-mode-on, allout-widgets-pre-command-business)
8953         (allout-widgets-post-command-business)
8954         (allout-widgets-after-copy-or-kill-function)
8955         (allout-widgets-after-undo-function, allout-test-range-overlaps)
8956         (allout-decorate-item-and-context)
8957         (allout-graphics-modification-handler): Fix typos in docstrings.
8958         (allout-get-or-create-parent-widget): Use `looking-at-p'.
8960         * cmuscheme.el (scheme-start-file): Doc fix.
8961         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8962         (scheme-input-filter): Use `string-match-p'.
8964         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8966         * dired-x.el: Use Dired consistently in docstrings.
8968         * dired.el: Use Dired consistently in docstrings.
8969         (dired-readin, dired-mode): Use `setq-local'.
8970         (dired-switches-alist): Make defvar-local.
8971         (dired-buffers-for-dir): Use `zerop'.
8972         (dired-safe-switches-p, dired-switches-escape-p)
8973         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8974         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8975         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8976         (dired-goto-next-nontrivial-file): Use `string-match-p'.
8977         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8978         (dired-toggle-marks, dired-mark-files-containing-regexp)
8979         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8980         (dired-flag-auto-save-files, dired-flag-backup-files):
8981         Use `looking-at-p'.
8982         (dired-mark-files-regexp, dired-build-subdir-alist):
8983         Use `string-match-p', `looking-at-p'.
8985         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8986         (direct-print-region-helper): Use `string-match-p'.
8988 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8990         * comint.el (comint-redirect-results-list-from-process):
8991         Fix infinite loop.
8993 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8995         * net/eww.el (eww-update-header-line-format): Quote % characters.
8997 2013-06-21  Glenn Morris  <rgm@gnu.org>
8999         * play/cookie1.el (cookie): New custom group.
9000         (cookie-file): New option.
9001         (cookie-check-file): New function.
9002         (cookie): Make it interactive.  Make start and end messages optional.
9003         Interactively, display the result.  Default to cookie-file.
9004         (cookie-insert): Default to cookie-file.
9005         (cookie-snarf): Make start and end messages optional.
9006         Default to cookie-file.  Use with-temp-buffer.
9007         (cookie-read): Rename from read-cookie.
9008         Make start and end messages optional.  Default to cookie-file.
9009         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
9010         Do not autoload it.
9011         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9012         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9014 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9016         * progmodes/octave.el (octave-mode): Backward compatibility fix.
9018 2013-06-21  Glenn Morris  <rgm@gnu.org>
9020         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9022 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9023             Daniel Hackney  <dan@haxney.org>
9025         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9026         Consolidate the single-file vs tarball code.
9027         (package-desc-suffix): New function.
9028         (package-desc-full-name): Don't bother inlining it.
9029         (package-load-descriptor): Return the new package-desc.
9030         (package-mark-obsolete): Remove unused arg `package'.
9031         (package-unpack): Make it work for single files as well.
9032         Make it update package-alist.
9033         (package--make-autoloads-and-stuff): Rename from
9034         package--make-autoloads-and-compile.  Don't compile any more.
9035         (package--compile): New function.
9036         (package-generate-description-file): New function, extracted from
9037         package-unpack-single.
9038         (package-unpack-single): Remove.
9039         (package--with-work-buffer): Add indentation and debugging info.
9040         (package-download-single): Remove.
9041         (package-install-from-archive): Rename from package-download-tar, make
9042         it take a pkg-desc, and make it work for single files as well.
9043         (package-download-transaction): Simplify.
9044         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
9045         external tar program.
9046         (package-install-from-buffer): Remove `pkg-desc' argument.
9047         Use package-tar-file-info for tar-mode buffers.
9048         (package-install-file): Simplify accordingly.
9049         (package-archive-base): Change to take a pkg-desc.
9050         * tar-mode.el (tar--check-descriptor): New function, extracted from
9051         tar-get-descriptor.
9052         (tar-get-descriptor): Use it.
9053         (tar-get-file-descriptor): New function.
9054         (tar--extract): New function, extracted from tar-extract.
9055         (tar--extract): Use it.
9056         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9057         case the summary uses non-ascii.  Adjust to new calling convention of
9058         package-tar-file-info.
9060 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9062         * comint.el (comint-redirect-results-list-from-process):
9063         Fix random delay.  (Bug#14681)
9065 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9067         * profiler.el (profiler-format-number): Use log, not log10.
9069 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9071         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9073 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9075         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9076         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9077         yet available.
9078         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9079         (AUTOGENEL): ... here.
9080         * emacs-lisp/cl-macs.el (cl--sublis): New function.
9081         (cl--defsubst-expand): Use it.
9083 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
9085         * subr.el (log10): Move here from C code, and declare as obsolete.
9086         All uses of (log10 X) replaced with (log X 10).
9088 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9090         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9091         Declare with `defvar-local'.
9092         (tabulated-list-use-header-line, tabulated-list-entries)
9093         (tabulated-list-padding, tabulated-list-printer)
9094         (tabulated-list-sort-key): Declare with `defvar-local'.
9095         (tabulated-list-init-header, tabulated-list-print-fake-header):
9096         Use `setq-local'.
9098 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
9100         * arc-mode.el (archive-mode): Add `archive-write-file' to
9101         `write-contents-functions' also for remote files.  (Bug#14652)
9103 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9105         * cus-edit.el (custom-commands): Fix typos.
9106         (custom-display): Fix tooltip text.
9107         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9108         Fix typos in docstrings.
9109         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9110         (custom-unlispify-menu-entry, custom-magic-value-create)
9111         (custom-add-see-also, custom-group-value-create): Use ?\s.
9112         (custom-guess-type, customize-apropos, editable-field)
9113         (custom-face-value-create): Use `string-match-p'.
9114         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9116         * custom.el (custom-load-symbol): Use `string-match-p'.
9118         * ansi-color.el: Convert to lexical binding.
9119         (ansi-colors): Fix URL.
9120         (ansi-color-context, ansi-color-context-region): Use defvar-local.
9121         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9122         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9124 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9126         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9128         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9130 2013-06-19  Tom Tromey  <tromey@redhat.com>
9132         * net/eww.el (eww-top-url): Remove.
9133         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9134         (eww-render): Set new variables.  Don't set eww-top-url.
9135         (eww-handle-link): Handle "prev", "home", and "contents".
9136         Downcase the rel text.
9137         (eww-top-url): Choose best top URL.
9139 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9141         * net/eww.el: Rewrite to implement form elements "by hand" instead of
9142         relying in widget.el.  Using widget.el leads to too many
9143         user interface inconsistencies.
9144         (eww-self-insert): Implement entering commands in text fields.
9145         (eww-process-text-input): New function to make text input field editing
9146         work.
9147         (eww-submit): Rewrite to use the new-style form methods.
9148         (eww-select-display): Display the correct selected item.
9149         (eww-change-select): Implement changing the select value.
9150         (eww-toggle-checkbox): Implement radio/checkboxes.
9151         (eww-update-field): Fix compilation error.
9152         (eww-tag-textarea): Implement <textarea>.
9154         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9155         we don't shadow mode-specific bindings.
9157         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9158         nothing to push.
9160         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9162 2013-06-19  Glenn Morris  <rgm@gnu.org>
9164         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9166 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9168         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9169         not needed.
9171         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9173 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9175         * net/browse-url.el (browse-url-browser-function):
9176         `eww-browse-url' has the right calling signature, `eww' does not.
9178 2013-06-19  Glenn Morris  <rgm@gnu.org>
9180         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9181         Only eval autoloaded macros.
9182         (byte-compile-autoload): Only give the macro warning for macros.
9184         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9185         (ps-underlined-faces): Declare.
9187         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9188         (speedbar-add-supported-extension): Declare.
9190         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9191         Don't include a date stamp in the header of the generated file;
9192         it leads to needless differences between output files.
9194 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9196         * net/secrets.el (secrets-struct-secret-content-type):
9197         Replace check of introspection data by a test call of "CreateItem".
9198         Some servers do not offer introspection.
9200 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9202         * electric.el (electric-pair-mode): Improve interaction with
9203         electric-layout-mode.
9204         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9205         (electric-pair-syntax): Use text-mode-syntax-table in comments
9206         and strings.
9207         (electric-pair--insert): New function.
9208         (electric-pair-post-self-insert-function): Use it and
9209         electric--after-char-pos.
9211 2013-06-19  Leo Liu  <sdl.web@gmail.com>
9213         * progmodes/octave.el (octave-help): Fix regexp.
9215 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9217         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9218         (shr-table-horizontal-line): Allow nil as a value, and change the
9219         default.
9220         (shr-insert-table-ruler): Respect the nil value.
9222 2013-06-18  Tom Tromey  <tromey@barimba>
9224         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9225         New defvars.
9226         (eww-open-file): New defun.
9227         (eww-render): Initialize new variables.
9228         (eww-display-html): Handle "link" and "a".
9229         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9230         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
9231         (eww-back-url): Rename from eww-previous-url.
9232         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9233         New defuns.
9235 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
9237         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9238         Distinguish ternary operator tokens from slash symbol and slash
9239         char literal.
9241 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9243         Convert symbol prettification into minor mode and global minor mode.
9245         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9246         `prog-prettify-symbols', and make a local defvar instead of defcustom.
9247         (prettify-symbols--keywords): Rename from
9248         `prog-prettify-symbols-alist' and make a local defvar.
9249         (prettify-symbols--compose-symbol): Rename from
9250         `prog--prettify-font-lock-compose-symbol'.
9251         (prettify-symbols--make-keywords): Rename from
9252         `prog-prettify-font-lock-symbols-keywords' and simplify.
9253         (prog-prettify-install): Remove.
9254         (prettify-symbols-mode): New minor mode, based on
9255         `prog-prettify-install'.
9256         (turn-on-prettify-symbols-mode): New function.
9257         (global-prettify-symbols-mode): New globalized minor mode.
9259         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9260         * progmodes/cfengine.el (cfengine3-mode):
9261         * progmodes/perl-mode.el (perl-mode): Don't call
9262         `prog-prettify-install'; set `prettify-symbols-alist' instead.
9264 2013-06-18  Juri Linkov  <juri@jurta.org>
9266         * files-x.el (modify-file-local-variable-message): New function.
9267         (modify-file-local-variable)
9268         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9269         and call `modify-file-local-variable-message' when it's non-nil.
9270         (add-file-local-variable, delete-file-local-variable)
9271         (add-file-local-variable-prop-line)
9272         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9273         and use it.  (Bug#9820)
9275 2013-06-18  Juri Linkov  <juri@jurta.org>
9277         * emulation/vi.el (vi-shell-op):
9278         * emulation/vip.el (vip-execute-com, ex-command):
9279         * emulation/viper-cmd.el (viper-exec-bang):
9280         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9281         the call of `shell-command-on-region'.  (Bug#14637)
9283         * simple.el (shell-command-on-region): Doc fix.
9285 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9287         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9288         (bug#14633).
9290 2013-06-18  Glenn Morris  <rgm@gnu.org>
9292         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9294         * newcomment.el (comment-search-forward, comment-search-backward):
9295         Doc fix.  (Bug#14376)
9297 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9299         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9300         (buffer-face-mode-invoke): Doc fix.
9302 2013-06-18  Matthias Meulien  <orontee@gmail.com>
9304         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9305         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9307 2013-06-18  Glenn Morris  <rgm@gnu.org>
9309         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9310         Replace obsolete function generic-make-keywords with its expansion.
9312         * progmodes/python.el (ffap-alist): Declare.
9314         * textmodes/reftex.el (bibtex-mode-map): Declare.
9316 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9318         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9319         (package-unpack, package-unpack-single): Return the pkg-dir.
9320         (package-download-transaction): Use it to update package-alist.
9322 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9324         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9325         possible choice.
9327 2013-06-17  Juri Linkov  <juri@jurta.org>
9329         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9331 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9333         * emacs-lisp/package.el (package-load-descriptor):
9334         Remove `with-syntax-table' call, `read' doesn't need it.
9335         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9337 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9339         * startup.el (command-line): Expand package name returned by
9340         `package--description-file' (bug#14639).
9342 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9344         * emacs-lisp/package.el (package-load-descriptor): Do not call
9345         `emacs-lisp-mode', just use its syntax table.
9347 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9349         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9350         `font-lock-extra-managed-props' if any prettifying keyword is added.
9351         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9352         (prog-mode): Use `setq-local'.
9354 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9356         * international/characters.el (standard-case-table): Set syntax of ?»
9357         and ?« to punctuation.
9359 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
9361         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9362         Save relevant match data before calling `syntax-ppss' (bug#14595).
9364 2013-06-15  Juri Linkov  <juri@jurta.org>
9366         * files-x.el (modify-file-local-variable-prop-line): Add local
9367         variables to the end of the existing comment on the first line.
9368         Use `file-auto-mode-skip' to skip interpreter magic line,
9369         and also skip XML declaration.
9371 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9373         * startup.el (package--builtin-versions): New var.
9374         (package-subdirectory-regexp): Remove.
9375         (package--description-file): Hard code its value instead.
9377         * emacs-lisp/package.el: Don't activate packages older than builtin.
9378         (package-obsolete-list): Rename from package-obsolete-alist, and make
9379         it into a simple list of package-desc.
9380         (package-strip-version): Remove.
9381         (package-built-in-p): Use package--builtin-versions.
9382         (package-mark-obsolete): Simplify.
9383         (package-process-define-package): Mark it obsolete if older than the
9384         builtin version.
9385         (package-handle-response): Use line-end-position.
9386         (package-read-archive-contents, package--download-one-archive):
9387         Simplify.
9388         (package--add-to-archive-contents): Skip if older than the builtin or
9389         installed version.
9390         (package-menu-describe-package): Fix last change.
9391         (package-list-unversioned): New var.
9392         (package-menu--generate): Use it.
9394         * emacs-lisp/autoload.el: Manage package--builtin-versions.
9395         (autoload--insert-text, autoload--insert-cookie-text): New functions.
9396         (autoload-builtin-package-versions): New variable.
9397         (autoload-generate-file-autoloads): Use them.
9398         Remove the list of autoloaded functions/macros from the
9399         (autoload...) comments.
9401         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9403 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
9405         * simple.el (line-move-partial): Don't jump to the next screen
9406         line as soon as it becomes visible.  Instead, continue enlarging
9407         the vscroll until the portion of a tall screen line that's left on
9408         display is about the height of the frame's default font.
9409         (Bug#14567)
9411 2013-06-15  Glenn Morris  <rgm@gnu.org>
9413         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9414         compilation-error-regexp-alist void, or local while let-bound.
9416         * progmodes/make-mode.el (makefile-mode-syntax-table):
9417         Treat "=" as punctuation.  (Bug#14614)
9419 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
9421         * help-fns.el (describe-variable):
9422         Add extra line for permanent-local variables.
9424 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
9426         * progmodes/scheme.el (scheme-font-lock-keywords-2):
9427         Add export, import, library.  (Bug#9164)
9428         (library): Set indent function.
9430 2013-06-14  Glenn Morris  <rgm@gnu.org>
9432         * term/xterm.el (xterm--query):
9433         Stop after first matching handler.  (Bug#14615)
9435 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
9437         Add support for dired in saveplace.
9438         * dired.el (dired-initial-position-hook): New variable.
9439         (dired-initial-position): Call hook to place cursor position.
9440         * saveplace.el (save-place-to-alist): Add dired position.
9441         (save-place-dired-hook): New function.
9443 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9445         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9446         through a symbol rather than letrec.
9448         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
9449         (package-desc): Add `dir' field.
9450         (package-desc-full-name): New function.
9451         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
9452         (package-maybe-load-descriptor): Remove.
9453         (package-load-all-descriptors): Just call package-load-descriptor.
9454         (package--disabled-p): New function.
9455         (package-desc-vers, package-desc-doc): Remove aliases.
9456         (package--dir): Remove function.
9457         (package-activate): Check if a package is disabled.
9458         (package-process-define-package): New function, extracted from
9459         define-package.
9460         (define-package): Turn into a place holder.
9461         (package-unpack-single, package-tar-file-info):
9462         Use package--description-file.
9463         (package-compute-transaction): Use package--disabled-p.
9464         (package-download-transaction): Don't call
9465         package-maybe-load-descriptor since they're all loaded anyway.
9466         (package-install): Change argument to be a pkg-desc.
9467         (package-delete): Use a single pkg-desc argument.
9468         (describe-package-1): Use package-desc-dir instead of package--dir.
9469         Use package-desc property instead of package-symbol.
9470         (package-install-button-action): Adjust accordingly.
9471         (package--push): Rewrite.
9472         (package-menu--print-info): Adjust accordingly.  Change the ID format
9473         to be a pkg-desc.
9474         (package-menu-describe-package, package-menu-get-status)
9475         (package-menu--find-upgrades, package-menu-mark-upgrades)
9476         (package-menu-execute, package-menu--name-predicate):
9477         Adjust accordingly.
9478         * startup.el (package--description-file): New function.
9479         (command-line): Use it.
9480         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9481         Use package-desc-version.
9483         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9484         (byte-compile-preprocess): Use it.
9485         (byte-compile-file-form-defalias): Try a bit harder to use macros we
9486         can't quite recognize.
9487         (byte-compile-add-to-list): Remove.
9488         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9489         (cconv-closure-convert): Add assertion.
9491         * emacs-lisp/map-ynp.el: Use lexical-binding.
9492         (map-y-or-n-p): Remove unused vars `tail' and `object'.
9493         Factor out some repeated code.
9495 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9497         * subr.el (with-eval-after-load): New macro.
9498         (eval-after-load): Allow form to be a function.
9499         take advantage of lexical-binding.
9500         (do-after-load-evaluation): Use dolist and adjust to new format.
9501         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9503 2013-06-13  Juri Linkov  <juri@jurta.org>
9505         * replace.el (perform-replace): Display "symbol " and other search
9506         modes from `isearch-message-prefix' in the *Help* buffer.
9508         * isearch.el (isearch-query-replace): Add " symbol" and other
9509         possible search modes from `isearch-message-prefix' to the prompt.
9510         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9511         when reading a regexp to collect.
9513 2013-06-13  Juri Linkov  <juri@jurta.org>
9515         * isearch.el (word-search-regexp): Match whitespace if the search
9516         string begins or ends in whitespace.  The LAX arg is applied to
9517         both ends of the search string.  Use `regexp-quote' and explicit
9518         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
9519         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9520         boundaries are replaced with symbol boundaries, and characters
9521         between symbols match non-word non-symbol syntax.  (Bug#14602)
9523 2013-06-13  Juri Linkov  <juri@jurta.org>
9525         * isearch.el (isearch-del-char): Don't exceed the length of
9526         `isearch-string' by the prefix arg.  (Bug#14563)
9528 2013-06-13  Juri Linkov  <juri@jurta.org>
9530         * isearch.el (isearch-yank-word, isearch-yank-line)
9531         (isearch-char-by-name, isearch-quote-char)
9532         (isearch-printing-char, isearch-process-search-char):
9533         Add optional count prefix arg.  (Bug#14563)
9535         * international/isearch-x.el
9536         (isearch-process-search-multibyte-characters):
9537         Add optional count prefix arg.
9539 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9541         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9542         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9543         lexical-binding.
9545 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
9547         * subr.el (set-temporary-overlay-map): Add on-exit argument.
9549 2013-06-13  Glenn Morris  <rgm@gnu.org>
9551         * startup.el (tty-handle-args):
9552         Don't just discard "--" and anything after.  (Bug#14608)
9554         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9556 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
9558         Implement changes in Secret Service API.  Make it backward compatible.
9559         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9560         (secrets-create-item): Use it.  Prefix properties with interface.
9562 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
9564         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
9565         (term-emulate-terminal): Respect term-suppress-hard-newline.
9567 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
9569         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9570         Only remove a `thumb-file' overlay.  (Bug#14548)
9572 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
9574         * mail/reporter.el (reporter-submit-bug-report):
9575         Handle missing package-name.  (Bug#14600)
9577 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9579         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9580         (reftex-citation-prompt, reftex-default-bibliography)
9581         (reftex-bib-or-thebib, reftex-get-bibfile-list)
9582         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9583         (reftex-bib-sort-author, reftex-bib-sort-year)
9584         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9585         (reftex-extract-bib-entries-from-thebibliography)
9586         (reftex-get-bibkey-default, reftex-get-bib-names)
9587         (reftex-parse-bibtex-entry, reftex-get-bib-field)
9588         (reftex-format-bib-entry, reftex-parse-bibitem)
9589         (reftex-format-bibitem, reftex-do-citation)
9590         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9591         (reftex-restrict-bib-matches, reftex-extract-bib-file)
9592         (reftex-insert-bib-matches, reftex-format-citation)
9593         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9594         (reftex-create-bibtex-file): Add docstrings, mostly by converting
9595         existing comments into docstrings.
9597 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9599         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9601 2013-06-12  Andreas Schwab  <schwab@suse.de>
9603         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9604         for auto-save files.
9606 2013-06-12  Glenn Morris  <rgm@gnu.org>
9608         * ido.el (ido-delete-ignored-files): Remove.
9609         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9610         Go back to calling ido-ignore-item-p directly.
9612 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
9614         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9616         * ido.el (ido-delete-ignored-files): New function,
9617         split from ido-make-file-list-1.
9618         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
9619         (ido-make-file-list-1): Use ido-delete-ignored-files.
9621 2013-06-12  Leo Liu  <sdl.web@gmail.com>
9623         * progmodes/octave.el (inferior-octave-startup)
9624         (inferior-octave-completion-table)
9625         (inferior-octave-track-window-width-change)
9626         (octave-eldoc-function-signatures, octave-help)
9627         (octave-find-definition): Use single quoted strings.
9628         (inferior-octave-startup-args): Change default value.
9629         (inferior-octave-startup): Do not hard code "-i" and
9630         "--no-line-editing".
9631         (inferior-octave-resync-dirs): Add optional arg NOERROR.
9632         (inferior-octave-directory-tracker): Use it.
9633         (octave-goto-function-definition): Robustify.
9634         (octave-help): Support highlighting operators in 'See also'.
9635         (octave-find-definition): Find subfunctions only in Octave mode.
9637 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9639         * help-fns.el (help-fns--compiler-macro): If the handler function is
9640         named, then put a link to it.
9641         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9642         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9643         (cl-typep): Use it.
9644         (cl-eval-when): Simplify debug spec.
9645         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
9646         compiler-macro function instead of setting `compiler-macro-file'.
9648 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9650         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9651         * vc/vc-hooks.el (vc-stay-local): Doc fix.
9653 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9654             Daniel Hackney  <dan@haxney.org>
9656         First part of Daniel Hackney's patch to package.el.
9657         * emacs-lisp/package.el: Use defstruct.
9658         (package-desc): New, main struct.
9659         (package--bi-desc, package--ac-desc): New structs, used to describe the
9660         format in external files.
9661         (package-desc-vers): Replace with package-desc-version accessor.
9662         (package-desc-doc): Replace with package-desc-summary accessor.
9663         (package-activate-1): Remove `package' arg since the pkg-vec now
9664         includes the name.
9665         (define-package): Use package-desc-from-define.
9666         (package-unpack-single): Change file-name arg to be a symbol.
9667         (package--add-to-archive-contents): Use package-desc-create and new
9668         accessor functions to package--ac-desc.
9669         (package-buffer-info, package-tar-file-info): Return a package-desc.
9670         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
9671         arg to be a package-desc.
9672         (package-install-file): Adjust accordingly.  Use \' to match EOS.
9673         (package--from-builtin): New function.
9674         (describe-package-1, package-menu--generate): Use it.
9675         (package--make-autoloads-and-compile): Change name arg to be a symbol.
9676         (package-generate-autoloads): Idem and return the name of the file.
9677         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9678         Change pkg-info arg to be a package-desc.
9679         Use package-make-ac-desc.
9680         (package-upload-file): Use \' to match EOS.
9681         * finder.el (finder-compile-keywords): Use package-make-builtin.
9683 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9685         * vc/vc.el (vc-deduce-fileset): Change error message.
9686         (vc-read-backend): New function.
9687         (vc-next-action): Use it.
9689         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9691         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9692         (prolog-font-lock-keywords): Use regexp-opt instead.
9693         Don't manually highlight strings.
9694         (prolog-mode-variables): Simplify comment-start-skip.
9695         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
9697         * emacs-lisp/generic.el (generic--normalise-comments)
9698         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9699         (generic-mode-set-comments): Use them.
9700         (generic-bracket-support): Use setq-local.
9701         (generic-make-keywords-list): Declare obsolete.
9703 2013-06-11  Glenn Morris  <rgm@gnu.org>
9705         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9706         Prettify after setting font-lock-defaults.  (Bug#14574)
9708 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
9710         * replace.el (query-replace, occur-read-regexp-defaults-function)
9711         (replace-search):
9712         * subr.el (declare-function, number-sequence, local-set-key)
9713         (substitute-key-definition, locate-user-emacs-file)
9714         (with-silent-modifications, split-string, eval-after-load):
9715         Fix typos, remove unneeded backslashes and reflow some docstrings.
9717 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9719         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9720         default for Elisp files.
9722 2013-06-11  Glenn Morris  <rgm@gnu.org>
9724         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9725         although define-derived-mode was doing this anyway.  (Bug#14583)
9727 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
9729         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9730         Fix make-variable-buffer-local call to refer to the correct variable.
9732 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
9734         * eshell/em-term.el (eshell-visual-commands)
9735         (eshell-visual-subcommands, eshell-visual-options):
9736         Add summary line to docstrings.  Add cross-references.
9738 2013-06-10  Glenn Morris  <rgm@gnu.org>
9740         * epa.el (epa-read-file-name): New function.  (Bug#14510)
9741         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
9743 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9745         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9746         output redirection to be ignored with visual commands.
9748 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9750         * eshell/em-term.el (eshell-visual-command-p): New function.
9751         (eshell-term-initialize): Move long lambda to separate function
9752         eshell-visual-command-p.
9753         * eshell/em-dirs.el (eshell-dirs-initialise):
9754         * eshell/em-script.el (eshell-script-initialize):
9755         Add missing #' to lambda.
9757 2013-06-08  Leo Liu  <sdl.web@gmail.com>
9759         * progmodes/octave.el (octave-add-log-current-defun): New function.
9760         (octave-mode): Set add-log-current-defun-function.
9761         (octave-goto-function-definition): Do not move point if not found.
9762         (octave-find-definition): Enhance to try subfunctions first.
9764 2013-06-08  Glenn Morris  <rgm@gnu.org>
9766         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9767         (byte-compile-backward-char, byte-compile-backward-word):
9768         Improve previous change, to handle non-explicit nil.
9770 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9772         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9773         (smie--opener/closer-at-point): New function.
9774         (smie--matching-block-data): Use it.  Don't match from right after an
9775         opener or right before a closer.  Obey smie-blink-matching-inners.
9776         Don't signal a mismatch for repeated inners like "switch..case..case".
9778 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9780         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9781         to t.  (Bug#14303)
9782         (octave-function-header-regexp): Fix.  (Bug#14570)
9783         (octave-help-mode-finish-hook, octave-help-mode-finish):
9784         Remove.  Just use temp-buffer-show-hook.
9786         * newcomment.el (comment-search-backward): Revert last change.
9787         (Bug#14434)
9789         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9791 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9793         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9794         through xargs, to avoid failure due to MS-Windows limitations on
9795         command-line length.
9797 2013-06-06  Glenn Morris  <rgm@gnu.org>
9799         * font-lock.el (lisp-font-lock-keywords-2):
9800         Treat user-error like error.
9802         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9803         (byte-compile-backward-char, byte-compile-backward-word):
9804         Handle explicit nil arguments.  (Bug#14565)
9806 2013-06-05  Alan Mackenzie  <acm@muc.de>
9808         * isearch.el (isearch-allow-prefix): New user option.
9809         (isearch-other-meta-char): Don't exit isearch when a prefix
9810         argument is typed whilst `isearch-allow-prefix' is non-nil.
9811         (Bug#9706)
9813 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9815         * autorevert.el (auto-revert-notify-handler): Use memq.
9816         Hide assertion failure.
9818         * skeleton.el: Use cl-lib.
9819         (skeleton-further-elements): Use defvar-local.
9820         (skeleton-insert): Use cl-progv.
9822 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9824         * progmodes/prog-mode.el (prog-prettify-symbols)
9825         (prog-prettify-install): Update docstrings.
9827 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9829         * simple.el: Move all the prog-mode code to prog-mode.el.
9830         * progmodes/prog-mode.el: New file.
9831         * loadup.el: Add prog-mode.el.
9833 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9835         * simple.el (prog-prettify-symbols): Add version.
9836         (prog-prettify-install): Add convenience function to prettify symbols.
9838         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9839         (perl--augmented-font-lock-keywords-1)
9840         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9841         variables and use it.
9843         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9844         (cfengine3-mode): Remove unneeded variable and use it.
9846         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9847         (lisp--augmented-font-lock-keywords-1)
9848         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9849         Remove unneeded variables and use it.
9851 2013-06-05  João Távora  <joaotavora@gmail.com>
9853         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9854         to point when opening the connection.  (Bug#14380)
9856 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9858         * subr.el (load-history-regexp, load-history-filename-element)
9859         (eval-after-load, after-load-functions, do-after-load-evaluation)
9860         (eval-next-after-load, display-delayed-warnings)
9861         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9862         definition of save-match-data.
9863         (overriding-local-map): Remove accidental obsolescence declaration.
9865         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9867 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9869         Generalize symbol prettify support to prog-mode and implement it
9870         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9871         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9872         (prog--prettify-font-lock-compose-symbol)
9873         (prog-prettify-font-lock-symbols-keywords): New variables and
9874         functions to support symbol prettification.
9875         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9876         (lisp--augmented-font-lock-keywords-1)
9877         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9878         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9879         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9880         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9881         Implement prettify of -> => :: strings.
9882         * progmodes/perl-mode.el (perl-prettify-symbols)
9883         (perl--font-lock-compose-symbol)
9884         (perl--font-lock-symbols-keywords): Move to prog-mode.
9885         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9886         (perl-font-lock-keywords-1)
9887         (perl-font-lock-keywords-2): Remove explicit prettify support.
9888         (perl--augmented-font-lock-keywords)
9889         (perl--augmented-font-lock-keywords-1)
9890         (perl--augmented-font-lock-keywords-2, perl-mode):
9891         Implement prettify support.
9893 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9895         Re-implement smie matching block highlight using
9896         show-paren-data-function.  (Bug#14395)
9897         * emacs-lisp/smie.el (smie-matching-block-highlight)
9898         (smie--highlight-matching-block-overlay)
9899         (smie--highlight-matching-block-lastpos)
9900         (smie-highlight-matching-block)
9901         (smie-highlight-matching-block-mode): Remove.
9902         (smie--matching-block-data-cache): New variable.
9903         (smie--matching-block-data): New function.
9904         (smie-setup): Use smie--matching-block-data for
9905         show-paren-data-function.
9907         * progmodes/octave.el (octave-mode-menu): Fix.
9908         (octave-find-definition): Skip garbage lines.
9910 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9912         Fix compilation error with simultaneous dynamic+lexical scoping.
9913         Add warning when a defvar appears after the first let-binding.
9914         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9915         (byte-compile-close-variables): Initialize it.
9916         (byte-compile--declare-var): New function.
9917         (byte-compile-file-form-defvar)
9918         (byte-compile-file-form-define-abbrev-table)
9919         (byte-compile-file-form-custom-declare-variable): Use it.
9920         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
9921         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9922         (byte-compile-bind): Handle dynamic bindings that shadow
9923         lexical bindings.
9924         (byte-compile-unbind): Make arg non-optional.
9925         (byte-compile-let): Simplify.
9926         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9927         (cconv--analyse-function, cconv-analyse-form): Populate it.
9928         Protect byte-compile-bound-variables to limit the scope of defvars.
9929         (cconv-analyse-form): Add missing rule for (defvar <foo>).
9930         Remove unneeded rule for `declare'.
9932         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9933         so as to avoid depending on cl-adjoin at run-time.
9934         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9936         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9937         (macroexp--warn-and-return): Use it.
9939 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9941         * subr.el: Convert to lexical binding.
9942         (overriding-local-map): Make obsolete.
9943         (add-to-list): Doc fix.  Add compiler macro.
9944         (read-key): Swap values of local maps.
9946 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9948         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9950 2013-06-04  Leo Liu  <sdl.web@gmail.com>
9952         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9953         (compilation-auto-jump): Suppress the "Mark set" message to give
9954         way to exit message.
9956 2013-06-04  Alan Mackenzie  <acm@muc.de>
9958         Remove faulty optimisation from indentation calculation.
9959         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9960         search limit based on 2000 characters back from indent-point.
9962 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9964         * eshell/em-term.el (cl-lib): Require `cl-lib'.
9966 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9968         * emacs-lisp/lisp.el: Use lexical-binding.
9969         (lisp--local-variables-1, lisp--local-variables): New functions.
9970         (lisp--local-variables-completion-table): New var.
9971         (lisp-completion-at-point): Use it complete let-bound vars.
9973         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9974         eagerly (bug#14422).
9976 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
9978         * autorevert.el (auto-revert-notify-enabled)
9979         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9980         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9981         (auto-revert-notify-handler): Handle also gfilenotify.
9983         * subr.el (file-notify-handle-event): New defun.  Replacing ...
9984         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9985         Remove.
9987 2013-06-03  Juri Linkov  <juri@jurta.org>
9989         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9990         `M-s h .'.  (Bug#14427)
9992         * hi-lock.el (highlight-symbol-at-point): New alias for the new
9993         command `hi-lock-face-symbol-at-point'.
9994         (hi-lock-face-symbol-at-point): New command.
9995         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9996         (hi-lock-menu): Add `highlight-symbol-at-point'.
9997         (hi-lock-mode): Doc fix.
9999         * isearch.el (isearch-forward-symbol-at-point): New command.
10000         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10001         (isearch-highlight-regexp): Add a regexp which matches
10002         words/symbols for word/symbol mode.
10004         * subr.el (find-tag-default-bounds): New function with the body
10005         mostly moved from `find-tag-default'.
10006         (find-tag-default): Move most code to `find-tag-default-bounds',
10007         call it and apply `buffer-substring-no-properties' afterwards.
10009 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10011         * eshell/em-term.el (eshell-term-initialize):
10012         Use `cl-intersection' rather than `intersection'.
10014 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
10016         * vc/log-view.el: Doc fix.
10017         (log-view-mode-map): Copy keymap from `special-mode-map'.
10019 2013-06-02  Eric Ludlam  <zappo@gnu.org>
10021         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10022         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10023         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10024         (eieio-unbound, eieio-default-superclass)
10025         (eieio--define-field-accessors, method-static, method-before)
10026         (method-primary, method-after, method-num-lists)
10027         (method-generic-before, method-generic-primary)
10028         (method-generic-after, method-num-slots)
10029         (eieio-specialized-key-to-generic-key)
10030         (eieio--check-type, class-v, class-p)
10031         (eieio-class-name, define-obsolete-function-alias)
10032         (eieio-class-parents-fast, eieio-class-children-fast)
10033         (same-class-fast-p, class-constructor, generic-p)
10034         (generic-primary-only-p, generic-primary-only-one-p)
10035         (class-option-assoc, class-option, eieio-object-p)
10036         (class-abstract-p, class-method-invocation-order)
10037         (eieio-defclass-autoload-map, eieio-defclass-autoload)
10038         (eieio-class-un-autoload, eieio-defclass)
10039         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10040         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10041         (eieio--defgeneric-init-form, eieio-defgeneric-form)
10042         (eieio-defgeneric-reset-generic-form)
10043         (eieio-defgeneric-form-primary-only)
10044         (eieio-defgeneric-reset-generic-form-primary-only)
10045         (eieio-defgeneric-form-primary-only-one)
10046         (eieio-defgeneric-reset-generic-form-primary-only-one)
10047         (eieio-unbind-method-implementations)
10048         (eieio--defmethod, eieio--typep)
10049         (eieio-perform-slot-validation, eieio-validate-slot-value)
10050         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10051         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10052         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10053         (eieio-slot-name-index, eieio-class-slot-name-index)
10054         (eieio-set-defaults, eieio-initarg-to-attribute)
10055         (eieio-attribute-to-initarg, eieio-c3-candidate)
10056         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10057         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10058         (eieio-class-precedence-list, eieio-generic-call-methodname)
10059         (eieio-generic-call-arglst, eieio-generic-call-key)
10060         (eieio-generic-call-next-method-list)
10061         (eieio-pre-method-execution-functions, eieio-generic-call)
10062         (eieio-generic-call-primary-only, eieiomt-method-list)
10063         (eieiomt-optimizing-obarray, eieiomt-install)
10064         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10065         (eieio-generic-form, eieio-defmethod, make-obsolete)
10066         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10067         (defclass): Remove `eval-and-compile' from macro.
10068         (call-next-method, shared-initialize): Instead of using
10069         `scoped-class' variable, use new eieio--scoped-class, and
10070         eieio--with-scoped-class.
10071         (initialize-instance): Rename local variable 'scoped-class' to
10072         'this-class' to remove ambiguitity from old global.
10074         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
10075         eieio.el.
10076         (eieio--scoped-class-stack): New variable.
10077         (eieio--scoped-class): New fcn.
10078         (eieio--with-scoped-class): New scoping macro.
10079         (eieio-defclass): Use pushnew instead of add-to-list.
10080         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10081         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10082         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10083         `scoped-class' variable, use new eieio--scoped-class, and
10084         eieio--with-scoped-class.
10086         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10088 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
10090         * eshell/esh-ext.el (eshell-external-command): Pass args to
10091         `eshell-find-interpreter'.
10092         (eshell-find-interpreter): Add new second parameter ARGS.
10094         * eshell/em-script.el (eshell-script-initialize): Add second arg
10095         to the function added as MATCH to `eshell-interpreter-alist'.
10097         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10098         the function added as MATCH to `eshell-interpreter-alist'.
10100         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10101         (eshell-visual-options): New defcustom.
10102         (eshell-escape-control-x): Adapt docstring.
10103         (eshell-term-initialize): Test `eshell-visual-subcommands' and
10104         `eshell-visual-options' in addition to `eshell-visual-commands'.
10105         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10107 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10109         * progmodes/python.el (python-indent-block-enders): Add break,
10110         continue and raise keywords.
10112 2013-06-01  Glenn Morris  <rgm@gnu.org>
10114         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10116         Plain (f)boundp silences compilation warnings since Emacs 22.1.
10117         * progmodes/cc-cmds.el (delete-forward-p):
10118         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10119         * progmodes/cc-engine.el (buffer-syntactic-context):
10120         * progmodes/cc-fonts.el (face-property-instance):
10121         * progmodes/cc-mode.el (set-keymap-parents):
10122         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10123         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10124         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10125         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10126         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10128         * progmodes/cc-vars.el (other): Emacs has this widget since
10129         at least 21.1, so don't (re)define it.
10131         * eshell/em-cmpl.el (eshell-cmpl-initialize):
10132         Replace the obsolete alias pcomplete-arg-quote-list.
10134 2013-06-01  Leo Liu  <sdl.web@gmail.com>
10136         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10137         punctuation syntax.
10138         (inferior-octave-minimal-columns)
10139         (inferior-octave-last-column-width): New variables.
10140         (inferior-octave-track-window-width-change): New function.
10141         (inferior-octave-mode): Adjust column width so that Octave output,
10142         for example from 'ls', can fit into the window nicely.
10144 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10146         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10147         Highlight expansions inside regexp literals.
10149 2013-05-31  Glenn Morris  <rgm@gnu.org>
10151         * obsolete/sym-comp.el (symbol-complete):
10152         Replace obsolete completion-annotate-function.
10154         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10156 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10158         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10159         New function, checks if point is inside a literal that allows
10160         expression expansion.
10161         (ruby-syntax-propertize-expansion): Use it.
10162         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10163         around the body.
10165 2013-05-30  Juri Linkov  <juri@jurta.org>
10167         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10168         to "\M-si".
10169         (isearch-invisible): New variable.
10170         (isearch-forward): Doc fix.
10171         (isearch-mode): Set `isearch-invisible'
10172         to the value of `search-invisible'.
10173         (isearch-toggle-case-fold): Doc fix.
10174         (isearch-toggle-invisible): New command.
10175         (isearch-query-replace): Let-bind `search-invisible'
10176         to the value of `isearch-invisible'.
10177         (isearch-search): Use `isearch-invisible' instead of
10178         `search-invisible'.  Let-bind `search-invisible'
10179         to the value of `isearch-invisible'.  (Bug#11378)
10181 2013-05-30  Juri Linkov  <juri@jurta.org>
10183         * replace.el (perform-replace): Avoid `isearch-range-invisible'
10184         call when `query-flag' is nil and `search-invisible' is non-nil.
10185         (Bug#11746)
10187 2013-05-30  Glenn Morris  <rgm@gnu.org>
10189         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10191         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10192         (cc-require): Suppress spurious "noruntime" warnings.
10193         (cc-require-when-compile): Use fboundp, for sake of compiler.
10195         * progmodes/cc-mode.el: Move load of cc-vars before that of
10196         cc-langs (which in turn loads cc-vars), to quieten compiler.
10198 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10200         * paren.el: Simplify the code.
10201         (show-paren-mode): Always start the timer.
10202         (show-paren--idle-timer): Rename from show-paren-idle-timer.
10203         (show-paren--overlay, show-paren--overlay-1): Rename from
10204         show-paren-overlay and show-paren-overlay-1, and initialize to an
10205         overlay rather than to nil.
10206         (show-paren-function): Misc cleanup and simplifications.
10208 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10210         * paren.el (show-paren-data-function): New hook.
10211         (show-paren--default): New function, extracted from show-paren-function.
10212         (show-paren-function): Use show-paren-data-function.
10214 2013-05-30  Glenn Morris  <rgm@gnu.org>
10216         * ielm.el (ielm-map, ielm-complete-symbol):
10217         Use completion-at-point rather than obsolete functions.
10218         (inferior-emacs-lisp-mode): Doc fix.
10219         Set completion-at-point-functions, rather than
10220         comint-dynamic-complete-functions.
10222         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10223         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10224         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10226         * image.el (image-animated-p): Tweak definition.
10228         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10229         (rlogin-process-connection-type): Tweak default.  Add set-after.
10230         (rlogin-host): Doc fix.
10231         (rlogin): Tweak prompt.
10232         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10234         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10235         * progmodes/tcl.el (inferior-tcl-mode-map):
10236         Use completion-at-point rather than obsolete alias.
10238         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10240         * minibuffer.el (read-file-name-completion-ignore-case):
10241         Move before completion--in-region, for eager macro expansion.
10243 2013-05-29  Juri Linkov  <juri@jurta.org>
10245         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10246         for total count of matching lines.  Add `global-matches' for total
10247         count of matches.  Rename `matches' to `lines' for count of
10248         matching lines.  Add `matches' for count of matches.
10249         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
10250         to `prev-line' for line number of prev match endpt.
10251         Increment `matches' for every match.  Print the number of
10252         matching lines in the header.
10253         (occur-context-lines): Rename `lines' to `curr-line'.
10254         Rename `prev-lines' to `prev-line'.  (Bug#14017)
10256 2013-05-29  Juri Linkov  <juri@jurta.org>
10258         * replace.el (perform-replace): Add `skip-read-only-count',
10259         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10260         Increment them for corresponding conditions and report the number
10261         of skipped occurrences in the final message.  (Bug#11746)
10262         (query-replace, query-replace-regexp, query-replace-regexp-eval)
10263         (replace-string, replace-regexp): Doc fix.
10265 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10267         * emacs-lisp/trace.el (trace--read-args): Provide a default.
10269         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10270         prog-mode-map (bug#14504).
10272 2013-05-29  Leo Liu  <sdl.web@gmail.com>
10274         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10275         (octave-help): Small simplification.
10277         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10278         off the highlight first.
10280 2013-05-29  Glenn Morris  <rgm@gnu.org>
10282         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10283         Handle idlwave-last-system-routine-info-cons-cell being nil.
10285         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10286         (idlwave-write-paths): Simplify via with-temp-buffer.
10288         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10289         * emulation/cua-rect.el: Also load cua-base at run time.
10291         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10292         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10293         (cperl-imenu-on-info): Require imenu.
10295 2013-05-28  Alan Mackenzie  <acm@muc.de>
10297         Handle "capitalised keywords" correctly.
10298         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10300 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
10302         * eshell/em-unix.el: Add -r option to cp.
10304 2013-05-28  Glenn Morris  <rgm@gnu.org>
10306         * vc/vc-arch.el (vc-exec-after): Declare.
10307         (vc-switches): Autoload.
10308         * vc/vc-bzr.el: No need to require vc when compiling.
10309         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10310         (vc-resynch-buffer, vc-dir-refresh): Declare.
10311         (vc-setup-buffer, vc-switches): Autoload.
10312         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10313         (vc-resynch-buffer): Declare.
10314         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10315         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10316         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10317         (grep-read-regexp, grep-read-files, grep-expand-template)
10318         (vc-dir-refresh): Declare.
10319         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10320         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10321         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10322         * vc/vc-mtn.el (vc-exec-after): Declare.
10323         (vc-switches): Autoload.
10324         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10325         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10326         (vc-file-tree-walk): Declare.
10327         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10328         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10329         (vc-tag-precondition, vc-rename-master): Autoload.
10330         * vc/vc-svn.el (vc-exec-after): Declare.
10331         (vc-switches, vc-setup-buffer): Autoload.
10332         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10333         Autoload.
10334         (vc-resynch-buffer): Declare.
10336         * obsolete/fast-lock.el (byte-compile-warnings):
10337         Don't warn about obsolete features in this obsolete file.
10339         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10340         Move definition before use.
10342         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10343         (dun-unix-verbs): Remove dun-zippy.
10344         (dun-zippy): Remove function.
10346         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10348 2013-05-27  Juri Linkov  <juri@jurta.org>
10350         * replace.el (replace-search): New function with code moved out
10351         from `perform-replace'.
10352         (replace-highlight, replace-dehighlight): Move function definitions
10353         up closer to `replace-search'.  (Bug#11746)
10355 2013-05-27  Juri Linkov  <juri@jurta.org>
10357         * replace.el (perform-replace): Ignore invisible matches.
10358         In addition to checking `query-replace-skip-read-only', also
10359         filter out matches by calling `run-hook-with-args-until-failure'
10360         on `isearch-filter-predicates', and also check `search-invisible'
10361         for t or call `isearch-range-invisible'.
10362         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
10364 2013-05-27  Juri Linkov  <juri@jurta.org>
10366         * isearch.el (isearch-filter-predicates): Rename from
10367         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
10368         (isearch-message-prefix): Display text from the property
10369         `isearch-message-prefix' of the currently active filters.
10370         (isearch-search): Don't compare `isearch-filter-predicate' with
10371         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
10372         on `isearch-filter-predicates'.  Also check `search-invisible' for t
10373         or call `isearch-range-invisible'.
10374         (isearch-filter-visible): Make obsolete.
10375         (isearch-lazy-highlight-search):
10376         Call `run-hook-with-args-until-failure' on
10377         `isearch-filter-predicates' and use `isearch-range-invisible'.
10379         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10380         `isearch-filter-predicates' instead of `funcall'ing
10381         `isearch-filter-predicate'.
10382         (Info-mode): Set `Info-isearch-filter' to
10383         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10385         * dired-aux.el (dired-isearch-filter-predicate-orig):
10386         Remove variable.
10387         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10388         (dired-isearch-filenames-end): Add and remove
10389         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10390         instead of changing the value of `isearch-filter-predicate'.
10391         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10392         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10393         Put property `isearch-message-prefix' to "filename " on
10394         `dired-isearch-filter-filenames'.
10396         * wdired.el (wdired-change-to-wdired-mode):
10397         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10398         locally instead of changing `isearch-filter-predicate'.
10399         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10401 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
10403         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10404         return the commit hash (Bug#14459).  Also set the
10405         `vc-git-detached' property.
10406         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10407         (vc-git-mode-line-string): Use the same help-echo format whether
10408         in detached mode or not, because we know the actual revision now.
10409         When in detached mode, shorten the revision to 7 chars.
10411 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10413         * emacs-lisp/easy-mmode.el (define-minor-mode):
10414         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10415         mode hook and provide a docstring.
10417 2013-05-27  Alan Mackenzie  <acm@muc.de>
10419         Remove spurious syntax-table text properties inserted by C-y.
10420         * progmodes/cc-mode.el (c-after-change): Also clear hard
10421         syntax-table property with value nil.
10423 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
10425         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10426         when reading the events; the buffer layout shall not be changed.
10428 2013-05-27  Leo Liu  <sdl.web@gmail.com>
10430         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10431         New variable.
10432         (inferior-octave-directory-tracker): Automatically re-sync
10433         default-directory.
10434         (octave-help): Improve handling of 'See also'.
10436 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10438         * doc-view.el: Minor naming convention tweaks.
10439         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10441         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10442         even if there's no `display' property yet (bug#14435).
10444 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
10446         * subr.el (unmsys--file-name): Rename from reveal-filename.
10448         * Makefile.in (custom-deps, finder-data, autoloads)
10449         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10450         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10451         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10453 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10455         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10456         error-completion on the first 2 args of condition-case (bug#14446).
10457         Don't burp at EOB.
10459 2013-05-25  Leo Liu  <sdl.web@gmail.com>
10461         * comint.el (comint-previous-matching-input): Do not flood the
10462         *Messages* buffer with trivial messages.
10464 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         * progmodes/flymake.el (flymake-nop): Don't return a string.
10467         (flymake-set-at): Fix typo.
10469         * simple.el (read--expression): New function, extracted from
10470         eval-expression.  Set completion-at-point-functions (bug#14465).
10471         (eval-expression, eval-minibuffer): Use it.
10473 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
10475         * progmodes/flymake.el (flymake-save-buffer-in-file)
10476         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10477         (flymake-selected-frame, flymake-log, flymake-ins-after)
10478         (flymake-set-at, flymake-get-buildfile-from-cache)
10479         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10480         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10481         Refine the doc string.
10482         (flymake-get-file-name-mode-and-masks): Reformat.
10483         (flymake-get-real-file-name-function): Fix a minor bug.
10485 2013-05-24  Juri Linkov  <juri@jurta.org>
10487         * progmodes/grep.el (grep-mode-font-lock-keywords):
10488         Support =linenumber= format used by git-grep for lines with
10489         function names.  (Bug#13549)
10491 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10493         * progmodes/octave.el (octave-smie-rules): Return nil rather than
10494         0 after a semi-colon; it works better for smie-auto-fill.
10495         (octave--indent-new-comment-line): New function.
10496         (octave-indent-new-comment-line): Use it (indirectly).
10497         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
10498         modify comment-line-break-function.
10500         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10501         (smie-setup): Use add-function to set it.
10503 2013-05-24  Sam Steingold  <sds@gnu.org>
10505         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10506         argument (before the `interactive' argument).
10508 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10510         * image-mode.el (image-mode-winprops): Add winprops to
10511         image-mode-winprops-alist before running
10512         image-mode-new-window-functions.
10513         * doc-view.el (doc-view-new-window-function): Don't delay
10514         doc-view-goto-page via timers (bug#14435).
10516 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
10518         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
10519         (doc-view-desktop-save-buffer): New function.
10520         (doc-view-restore-desktop-buffer): New function.
10521         (desktop-buffer-mode-handlers):
10522         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10523         handler.
10524         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10525         `desktop-save-buffer' function.
10527 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
10529         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10530         (tramp-gvfs-file-name-handler): Raise a user error when
10531         `tramp-gvfs-enabled' is nil.
10532         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10533         Do not raise a user error when loading package.  (Bug#14447)
10535         * net/xesam.el: Move to obsolete/.
10537 2013-05-24  Glenn Morris  <rgm@gnu.org>
10539         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10541         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10543         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10544         (Info-find-node, Man-getpage-in-background): Declare.
10546         * mail/unrmail.el (unrmail):
10547         Replace obsolete detect-coding-with-priority.
10549         * net/socks.el (socks-split-string): Use this rather than split-string.
10550         (socks-nslookup-host): Update for above change.
10551         (dynamic-choice, s5-dynamic-choice-match)
10552         (s5-dynamic-choice-match-inline, s5-widget-value-create):
10553         Comment out unused code.
10555         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10556         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10557         (gud-tooltip-echo-area): Make obsolete.
10558         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10560         * progmodes/js.el (js--optimize-arglist): Declare.
10562         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10564         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10565         (ediff-window-C): Declare.
10567         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10568         Tweak requires to silence compiler.
10570         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10571         (he-search-string, he-tried-table, he-expand-list)
10572         (he-init-string, he-string-member, he-substitute-string)
10573         (he-reset-string): Declare.
10575         * obsolete/options.el (list-options): Use custom-variable-p,
10576         rather than obsolete alias.
10578 2013-05-23  Sam Steingold  <sds@gnu.org>
10580         * simple.el (shell-command-on-region): Pass the `replace' argument
10581         down to `call-process-region' to comply with the doc as reported on
10582         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10584 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10586         * emacs-lisp/smie.el (smie-indent-forward-token)
10587         (smie-indent-backward-token): Handle string tokens (bug#14381).
10589 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10591         * ielm.el (ielm-menu): New menu.
10592         (inferior-emacs-lisp-mode): Set comment-start.
10594 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10596         * textmodes/reftex.el (reftex-ref-style-toggle):
10597         Fix deactivate action.
10599         * textmodes/reftex-vars.el (reftex-ref-style-alist):
10600         Add cleveref macros.
10602         * textmodes/reftex-parse.el
10603         (reftex-locate-bibliography-files): Accept options for
10604         bibliography commands.
10605         * textmodes/reftex-vars.el (reftex-bibliography-commands):
10606         Add addbibresource.  Basic Biblatex support.
10608 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
10610         * net/tramp-gvfs.el (top):
10611         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10612         when loading package.  (Bug#14447)
10614 2013-05-23  Glenn Morris  <rgm@gnu.org>
10616         * progmodes/js.el: No need to load comint when compiling.
10617         (ring-insert, comint-send-string, comint-send-input)
10618         (comint-last-input-end, ido-chop): Declare.
10620         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10621         * vc/ediff-mult.el: Adjust requires.
10622         (ediff-directories-internal, ediff-directory-revisions-internal)
10623         (ediff-patch-file-internal): Declare.
10624         * vc/ediff-ptch.el: Adjust requires.
10625         (ediff-use-last-dir, ediff-buffers-internal): Declare.
10626         (ediff-find-file): Autoload.
10627         * vc/ediff-util.el: No need to load ediff when compiling.
10628         (ediff-regions-internal): Declare.
10629         * vc/ediff-wind.el: Adjust requires.
10630         (ediff-compute-toolbar-width): Define when compiling.
10631         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10632         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10633         (dired-get-filename, dired-get-marked-files)
10634         (ediff-last-dir-patch, ediff-patch-default-directory)
10635         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10636         (ediff-patch-buffer-internal): Declare.
10638         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10639         (ispell-process, ispell-buffer-local-words, lm-summary)
10640         (lm-section-start, lm-section-end): Declare.
10641         (checkdoc-ispell-init): Simplify.
10643         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10644         (he-string-member, he-reset-string, he-substitute-string): Declare.
10646         * eshell/em-ls.el: Adjust requires.
10647         (eshell-glob-regexp): Declare.
10648         * eshell/em-tramp.el: Adjust requires.
10649         (eshell-parse-command): Autoload.
10650         * eshell/em-xtra.el: Adjust requires.
10651         (eshell-parse-command): Autoload.
10652         * eshell/esh-ext.el: Adjust requires.
10653         (eshell-parse-command, eshell-close-handles): Autoload.
10654         * eshell/esh-io.el: Adjust requires.
10655         (eshell-output-filter): Autoload.
10656         * eshell/esh-util.el: No need to load tramp when compiling.
10657         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10658         Declare.
10659         (eshell-parse-ange-ls): Require ange-ftp and tramp.
10660         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10661         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10662         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10663         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10664         * eshell/esh-opt.el, eshell/esh-proc.el:
10665         * eshell/esh-var.el: Adjust requires.
10666         * eshell/eshell.el: Do not require esh-util twice.
10667         (eshell-add-input-to-history): Declare.
10668         (eshell-command): Check history module is active before using it.
10670         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10672 2013-05-22  Leo Liu  <sdl.web@gmail.com>
10674         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10676 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
10678         * autorevert.el (auto-revert-notify-add-watch)
10679         (auto-revert-notify-handler): Add `attrib' for the inotify case,
10680         it indicates changes in file modification time.
10682 2013-05-22  Glenn Morris  <rgm@gnu.org>
10684         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10685         Always delete the autoloaded function from the noruntime and
10686         unresolved functions lists.
10688         * allout.el: No need to load epa, epg, overlay when compiling.
10689         (epg-context-set-passphrase-callback, epg-list-keys)
10690         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10691         (epg-key-user-id-list): Declare.
10693         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10694         (viper-set-parsing-style-toggling-macro)
10695         (viper-set-emacs-state-searchstyle-macros):
10696         Use called-interactively-p on Emacs.
10697         (viper-looking-back): Make it an obsolete alias.  Update callers.
10698         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10699         Use looking-back rather than viper-looking-back.
10700         (viper-tmp-insert-at-eob, viper-enlarge-region)
10701         (viper-read-string-with-history, viper-register-to-point)
10702         (viper-append-to-register, viper-change-state-to-vi)
10703         (viper-backward-char-carefully, viper-forward-char-carefully)
10704         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10705         (viper-change-state-to-emacs): Declare.
10706         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10707         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10708         * emulation/viper-mous.el: Do not load viper-cmd.
10709         (viper-backward-char-carefully, viper-forward-char-carefully)
10710         (viper-forward-word, viper-adjust-window): Declare.
10712         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10714         * progmodes/idlw-help.el (idlwave-help-fontify):
10715         Use called-interactively-p.
10717         * term/w32console.el (w32-get-console-codepage)
10718         (w32-get-console-output-codepage): Declare.
10720         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10721         Remove unnecessary declarations.
10722         (dframe-message): Doc fix.
10724         * info.el (dframe-select-attached-frame, dframe-current-frame):
10725         Declare.
10727         * speedbar.el (speedbar-message): Make it an obsolete alias.
10728         Update all callers.
10729         (speedbar-with-attached-buffer)
10730         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10731         (speedbar-with-writable): Use backquote.
10732         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10733         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10734         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10735         rather than speedbar- aliases.
10736         * mail/rmail.el: Load dframe rather than speedbar when compiling.
10737         (speedbar-make-specialized-keymap, speedbar-insert-button)
10738         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10739         (speedbar-do-function-pointer): Declare.
10740         (rmail-speedbar-button, rmail-speedbar-find-file)
10741         (rmail-speedbar-move-message):
10742         Use dframe-with-attached-buffer rather than speedbar- alias.
10743         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10744         (dframe-message, speedbar-make-specialized-keymap)
10745         (speedbar-add-expansion-list, speedbar-mode-functions-list)
10746         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10747         (speedbar-insert-button, dframe-select-attached-frame)
10748         (dframe-maybee-jump-to-attached-frame)
10749         (speedbar-change-initial-expansion-list)
10750         (speedbar-previously-used-expansion-list-name): Declare.
10751         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10752         Use dframe-message, dframe-with-attached-buffer rather than
10753         speedbar- aliases.
10754         (gud-sentinel): Silence compiler.
10755         * progmodes/vhdl-mode.el (speedbar-refresh)
10756         (speedbar-do-function-pointer, speedbar-add-supported-extension)
10757         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10758         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10759         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10760         (speedbar-file-lists, speedbar-make-tag-line)
10761         (speedbar-line-directory, speedbar-goto-this-file)
10762         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10763         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10764         (speedbar-make-button, speedbar-reset-scanners)
10765         (speedbar-files-item-info, speedbar-line-text)
10766         (speedbar-find-file-in-frame, speedbar-set-timer)
10767         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10768         (speedbar-with-writable): Do not (re)define it.
10769         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10770         rather than speedbar- alias.
10772 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10774         * progmodes/octave.el (octave-mode-menu): Update and re-organize
10775         menu items.
10776         (octave-mode): Tweak fill-nobreak-predicate.
10777         (inferior-octave-startup): Check process to avoid infinite loop.
10778         (inferior-octave): Pop to buffer first to show abornmal process
10779         exit information.
10781 2013-05-21  Glenn Morris  <rgm@gnu.org>
10783         * printing.el (pr-menu-bar): Define when compiling.
10785 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10787         * progmodes/octave.el (octave-auto-fill): Remove.
10788         (octave-indent-new-comment-line): Improve.
10789         (octave-mode): Use auto fill mode through
10790         comment-line-break-function and fill-nobreak-predicate.
10791         (octave-goto-function-definition): Support DEFUN_DLD.
10792         (octave-beginning-of-defun): Small tweak.
10793         (octave-help): Show parent directory.
10795 2013-05-21  Glenn Morris  <rgm@gnu.org>
10797         * files.el (dired-unmark):
10798         * progmodes/gud.el (gdb-input): Update declarations.
10800         * calculator.el (electric, ehelp): No need to load when compiling.
10801         (Electric-command-loop, electric-describe-mode): Declare.
10803         * doc-view.el (doc-view-current-converter-processes): Move before use.
10805         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10806         Move MODE-set-explicitly definition before use.
10808         * international/mule-diag.el (mule-diag):
10809         Don't use obsolete window-system-version.
10811         * mail/feedmail.el (smtpmail): No need to load when compiling.
10812         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10814         * mail/mail-utils.el (rfc822): No need to load when compiling.
10815         (rfc822-addresses): Autoload it.
10816         (mail-strip-quoted-names): Trivial simplification.
10818         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10819         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10821         * net/snmp-mode.el (tempo): Don't duplicate requires.
10823         * progmodes/prolog.el (info): No need to load when compiling.
10824         (comint): Require before shell requires it.
10825         (Info-goto-node): Autoload it.
10826         (Info-follow-nearest-node): Declare.
10827         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10829         * textmodes/artist.el (picture-mode-exit): Declare.
10831         * textmodes/reftex-parse.el (reftex-parse-from-file):
10832         Trivial rewrite so the compiler can parse it better.
10834 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10836         * progmodes/octave.el (octave-help-mode-map)
10837         (octave-help-mode-finish-hook): New variables.
10838         (octave-help-mode, octave-help-mode-finish): New functions.
10839         (octave-help): Use octave-help-mode.
10841 2013-05-20  Glenn Morris  <rgm@gnu.org>
10843         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10845 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10847         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10848         start at point, so that expansion starting right after opening
10849         slash in a regexp is recognized.
10850         (ruby-syntax-before-regexp-re): New defvar, extracted from
10851         ruby-syntax-propertize-function.  Since the value of this regexp
10852         is looked up at runtime now, we should be able to turn
10853         `ruby-syntax-methods-before-regexp' into a defcustom later.
10854         (ruby-syntax-propertize-function): Split regexp matching into two
10855         parts, for opening and closing slashes.  That allows us to skip
10856         over string interpolations and support multiline regexps.
10857         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10858         for them, which calls `ruby-syntax-propertize-expansion'.
10859         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10860         call to `ruby-syntax-propertize-function'.
10861         (ruby-syntax-propertize-expansion): Extracted from
10862         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10863         (ruby-syntax-propertize-percent-literal): Leave point right after
10864         the percent symbol, so that the expression expansion rule can
10865         propertize the contents.
10866         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10867         heredoc openers.
10868         (ruby-syntax-propertize-expansions): Remove.
10870 2013-05-18  Juri Linkov  <juri@jurta.org>
10872         * man.el (Man-default-man-entry): Remove `-' from the end
10873         of the default value.  (Bug#14400)
10875 2013-05-18  Glenn Morris  <rgm@gnu.org>
10877         * comint.el (comint-password-prompt-regexp):
10878         Allow "password for XXX" where XXX contains colons (eg https://...).
10880 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10882         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10883         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10884         (octave-source-directories): Don't check process.
10885         (octave-source-directories, octave-find-definition): Doc fix.
10887 2013-05-18  Glenn Morris  <rgm@gnu.org>
10889         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10890         Remove backspace/delete bindings.  (Bug#14392)
10892         * cus-dep.el (custom-make-dependencies): Sort the output.
10893         (custom-versions-load-alist): Convert comment to doc.
10895 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10897         * newcomment.el (comment-search-backward): Stricter in finding
10898         comment start.  (Bug#14303)
10900         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10901         (octave-comment-start-skip): Properly anchored.
10903 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10905         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10906         Clean up when turned off.  (Bug#14395)
10907         (smie--highlight-matching-block-overlay): No longer buffer-local.
10908         (smie-highlight-matching-block): Adjust.
10910 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
10912         Doc string fix for "nanoseconds" (Bug#14406).
10913         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10914         Fix doc string typo that had "nanoseconds" instead of "microseconds".
10916 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10918         * calc/calc-units.el (math-extract-units): Preserve powers
10919         of units.
10921 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10923         * subr.el (delete-consecutive-dups): New function.
10924         * ido.el (ido-set-matches-1): Use it.
10925         * progmodes/octave.el (inferior-octave-completion-table): Use it.
10926         * ido.el (ido-remove-consecutive-dups): Remove.
10928 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10930         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10931         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10932         regexp-opt's `words'.
10934 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10936         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10937         (smie--highlight-matching-block-overlay)
10938         (smie--highlight-matching-block-lastpos)
10939         (smie--highlight-matching-block-timer): New variables.
10940         (smie-highlight-matching-block): New function.
10941         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
10942         (smie-setup): Conditionally enable smie-blink-matching-open.
10944 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
10946         Sync with upstream verilog-mode r840.
10947         * progmodes/verilog-mode.el (verilog-mode-version)
10948         (verilog-mode-release-date): Update.
10949         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10950         (verilog-sig-tieoff): Fix string error on
10951         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
10952         (verilog-read-decls): Fix parameters confusing
10953         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
10955 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
10957         * subr.el (reveal-filename): New function.
10959         * loadup.el: Compute Emacs executable versions on MS-Windows,
10960         where executables have the .exe extension.  Add a hard link
10961         emacs-XX.YY.ZZ.exe on MS-Windows.
10963         * Makefile.in (XARGS_LIMIT): New variable.
10964         (custom-deps, finder-data, autoloads)
10965         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10966         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10967         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10968         (compile-main): Limit xargs according to $(XARGS_LIMIT).
10970 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10972         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10973         (octave-mode-menu, octave-mode-map): Remove its uses.
10975 2013-05-16  Reto Zimmermann  <reto@gnu.org>
10977         Sync with upstream vhdl mode v3.34.2.
10978         * progmodes/vhdl-mode.el: Use `push' throughout.
10979         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10980         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10981         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
10982         (vhdl-actual-generic-name): New option to derive actual generic name.
10983         (vhdl-port-paste-signals): Replace formal by actual generics.
10984         (vhdl-beautify): New name for old group vhdl-align.  Update users.
10985         (vhdl-beautify-options): New option.
10986         (vhdl-last-input-event): New compat alias.  Use throughout.
10987         (vhdl-goto-line): Replace user level function `goto-line'.
10988         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10989         vhdl-fix-statement-buffer.
10990         (vhdl-create-mode-menu): Add some entries.
10991         (vhdl-align-region-groups): Respect vhdl-beautify-options.
10992         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10993         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10994         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10995         to force statements on one line.
10996         (vhdl-remove-trailing-spaces-region):
10997         New, split from vhdl-remove-trailing-spaces.
10998         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10999         Respect vhdl-beautify-options.
11000         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11001         (vhdl-update-sensitivity-list): Not add with index if exists without.
11002         Not include array index with signal.  Ignore keywords in comments.
11003         (vhdl-get-visible-signals): Regexp tweaks.
11004         (vhdl-template-component-inst): Handle empty library.
11005         (vhdl-template-type): Add template for 'enum' type.
11006         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11007         Use vhdl-replace-string.
11008         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11009         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11010         (vhdl-speedbar-initialize): Update for above name change.
11011         (vhdl-compose-wire-components): Fix in handling of constants.
11012         (vhdl-error-regexp-emacs-alist): New variable.
11013         (vhdl-error-regexp-add-emacs): New function;
11014         adds support for new compile.el (Emacs 22+)
11015         (vhdl-generate-makefile-1): Change target order for single lib. units.
11016         Allow use of absolute file names.
11018 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11020         * simple.el (prog-indent-sexp): Indent enclosing defun.
11022 2013-05-15  Glenn Morris  <rgm@gnu.org>
11024         * cus-start.el (show-trailing-whitespace): Move to editing basics.
11025         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11026         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11027         (whitespace-highlight): Move to whitespace group.
11029         * comint.el (comint-source):
11030         * pcmpl-linux.el (pcmpl-linux):
11031         * shell.el (shell-faces):
11032         * eshell/esh-opt.el (eshell-opt):
11033         * international/ccl.el (ccl): Remove empty custom groups.
11035         * completion.el (dynamic-completion-mode):
11036         * jit-lock.el (jit-lock-debug-mode):
11037         * minibuffer.el (completion-in-region-mode):
11038         * type-break.el (type-break-mode-line-message-mode)
11039         (type-break-query-mode):
11040         * emulation/tpu-edt.el (tpu-edt-mode):
11041         * progmodes/subword.el (global-subword-mode, global-superword-mode):
11042         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11043         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11045         * term/xterm.el (xterm): Change parent group to terminals.
11047         * master.el (master): Remove empty custom group.
11048         (master-mode): Remove unused :group argument.
11049         * textmodes/refill.el (refill): Remove empty custom group.
11050         (refill-mode): Remove unused :group argument.
11052         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11054         * cus-dep.el: Provide a feature.
11055         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11056         Don't mistakenly ignore files whose basenames match a basename
11057         from preloaded-file-list (eg cedet/ede/simple.el).
11058         Add a fallback method for getting :group.
11060 2013-05-15  Juri Linkov  <juri@jurta.org>
11062         * isearch.el (isearch-char-by-name): Rename from
11063         `isearch-insert-char-by-name'.  Doc fix.
11064         (isearch-forward): Mention `isearch-char-by-name' in
11065         the docstring.  (Bug#13348)
11067         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11068         `exit-minibuffer' instead of
11069         `isearch-nonincremental-exit-minibuffer'.
11070         (isearch-edit-string): Remove mention of
11071         `isearch-nonincremental-exit-minibuffer' from docstring.
11072         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11073         (isearch-forward-exit-minibuffer)
11074         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
11076 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11078         * loadup.el: Just use unversioned DOC.
11080         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11081         literals as extending to EOB.
11082         (nxml-last-fontify-end): Remove unused variable.
11083         (nxml-after-change1): Use with-silent-modifications.
11084         (nxml-extend-after-change-region): Simplify.
11085         (nxml-extend-after-change-region1): Remove function.
11086         (nxml-after-change1): Don't adjust for dependent regions.
11087         (nxml-fontify-matcher): Simplify.
11088         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11089         (xmltok-add-dependent): Remove function.
11090         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11091         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11092         (xmltok-scan-prolog-after-processing-instruction-open): Treat
11093         unclosed <[[, <?, comment, and other literals as extending to EOB.
11094         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11095         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11096         Remove functions.
11097         (rng-do-some-validation-1): Don't mark dependent regions.
11098         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11099         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11100         (nxml-clear-dependent-regions): Remove functions.
11101         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11102         (nxml-ensure-scan-up-to-date):
11103         Don't clear&mark dependent regions.
11105 2013-05-15  Leo Liu  <sdl.web@gmail.com>
11107         * progmodes/octave.el (octave-goto-function-definition):
11108         Improve and fix callers.
11110 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11112         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11113         the setter (bug#14387).
11115         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11116         surrounding group (bug#14402).
11118 2013-05-14  Juri Linkov  <juri@jurta.org>
11120         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11121         (Bug#14390)
11123 2013-05-14  Glenn Morris  <rgm@gnu.org>
11125         * progmodes/f90.el (f90-imenu-generic-expression):
11126         Fix typo in 2013-05-08 change.  (Bug#14402)
11128 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11130         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11131         Remove signals for which replies are never received.
11133 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11135         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11136         (gdb-handler-alist, gdb-handler-number): Remove variables.
11137         (gdb-handler-list): New variable.
11138         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11139         (gdb-pending-handler-p, gdb-handle-reply)
11140         (gdb-remove-all-pending-triggers): New functions.
11141         (gdb-discard-unordered-replies): New defcustom.
11142         (gdb-handler): New defstruct.
11143         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
11144         instead of gdb-pending-triggers.  Update docstring.
11145         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
11146         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11147         (gdb-var-update-handler, def-gdb-auto-update-trigger)
11148         (def-gdb-auto-update-handler, gdb-get-changed-registers)
11149         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11150         (gdb-frame-handler): Pending triggers are now automatically managed.
11151         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11152         Remove argument.
11153         (gdb-input): Automatically handles pending triggers.  Update docstring.
11154         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11155         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11156         Update comments.
11157         (gdb-done-or-error): Now use gdb-handle-reply.
11159 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11161         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11162         gdb-debug-log.
11164 2013-05-14  Glenn Morris  <rgm@gnu.org>
11166         * subr.el (user-emacs-directory-warning): New option.
11167         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
11169 2013-05-14  Leo Liu  <sdl.web@gmail.com>
11171         * progmodes/octave.el (octave-font-lock-keywords): Fix error
11172         during redisplay.
11173         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11174         (octave-font-lock-texinfo-comment): Fix invalid search bound
11175         error: wrong side of point.
11177 2013-05-14  Glenn Morris  <rgm@gnu.org>
11179         * progmodes/flymake.el (flymake-xml-program): New option.
11180         (flymake-xml-init): Use it.
11182         * term/xterm.el: Provide a feature.
11184         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
11186 2013-05-13  Glenn Morris  <rgm@gnu.org>
11188         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11189         Add compat aliases as a hack workaround.  (Bug#14384)
11191 2013-05-13  Leo Liu  <sdl.web@gmail.com>
11193         * progmodes/octave.el (octave-indent-comment): Fix indentation for
11194         ###, and %!.
11195         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11196         C-M-q.
11197         (octave-comment-start-skip): Include %!.
11198         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11200 2013-05-12  Leo Liu  <sdl.web@gmail.com>
11202         * progmodes/octave.el (inferior-octave-startup): Store the value
11203         of __octave_srcdir__ for octave-source-directories.
11204         (inferior-octave-check-process): New function refactored out of
11205         inferior-octave-send-list-and-digest.
11206         (octave-source-directories)
11207         (octave-find-definition-filename-function): New variables.
11208         (octave-source-directories)
11209         (octave-find-definition-default-filename): New functions.
11210         (octave-find-definition): Improve to find functions implemented in C++.
11212 2013-05-12  Glenn Morris  <rgm@gnu.org>
11214         * calendar/diary-lib.el (diary-outlook-format-1):
11215         Don't include dayname in the output.  (Bug#14349)
11217 2013-05-11  Glenn Morris  <rgm@gnu.org>
11219         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11221         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11222         Treat cc-provide like provide.
11224 2013-05-11  Kevin Ryde  <user42@zip.com.au>
11226         * cus-dep.el (custom-make-dependencies):
11227         Use generated-autoload-load-name for the sake of files such
11228         such cedet/semantic/bovine/c.el, where the base file name
11229         is not in load-path.  (Bug#5277)
11231 2013-05-11  Glenn Morris  <rgm@gnu.org>
11233         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11234         Provide features.
11236 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11238         * progmodes/octave.el (octave-indent-comment): Improve.
11239         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11240         (octave-eldoc-function-signatures, octave-eldoc-function):
11241         New functions.
11242         (octave-mode, inferior-octave-mode): Add eldoc support.
11244 2013-05-11  Richard Stallman  <rms@gnu.org>
11246         * epa.el (epa-decrypt-file): Take output file name as argument
11247         and read it using `interactive'.
11249 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11251         * progmodes/octave.el (octave-beginning-of-line)
11252         (octave-end-of-line): Check before using up-list because it jumps
11253         out of more syntactic contructs since moving to smie.
11254         (octave-indent-comment): New function.
11255         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
11256         (octave-begin-keywords, octave-end-keywords)
11257         (octave-reserved-words, octave-smie-bnf-table)
11258         (octave-smie-rules): Add new keywords from Octave 3.6.4.
11260 2013-05-11  Glenn Morris  <rgm@gnu.org>
11262         * faces.el (internal-face-x-get-resource):
11263         * frame.el (ns-display-monitor-attributes-list):
11264         * calc/calc-aent.el (math-to-radians-2):
11265         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11266         Fix declarations.
11268         * calc/calc-menu.el: Make it loadable in isolation.
11270         * net/eudcb-bbdb.el: Make it loadable without bbdb.
11271         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11272         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11273         (eudc-bbdb-query-internal): Require 'bbdb.
11275         * lpr.el (lpr-headers-switches):
11276         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11278         * progmodes/sql.el (sql-login-params): Fix and improve :type.
11280         * emulation/edt-mapper.el: In batch mode, error rather than hang.
11282         * term.el (term-set-escape-char): Make it idempotent.
11284 2013-05-10  Leo Liu  <sdl.web@gmail.com>
11286         * progmodes/octave.el (inferior-octave-completion-table):
11287         No longer a function and all uses changed.  Use cache to speed up
11288         completion due to bug#11906.
11289         (octave-beginning-of-defun): Re-write to be more general.
11291 2013-05-10  Glenn Morris  <rgm@gnu.org>
11293         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11295 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11297         * comint.el (comint-redirect-send-command-to-process): Use :around
11298         rather than :override for comint-redirect-filter.
11299         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11300         Call it instead of comint-redirect-original-filter-function (which
11301         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
11303 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
11305         * frame.el (display-monitor-attributes-list): Add NS case.
11306         (ns-display-monitor-attributes-list): Declare.
11308 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
11310         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
11312 2013-05-09  Glenn Morris  <rgm@gnu.org>
11314         * international/fontset.el (vertical-centering-font-regexp):
11315         Set standard-value.
11317         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11319         * bookmark.el (bookmark-search-delay):
11320         * cus-start.el (vertical-centering-font-regexp):
11321         * ps-mule.el (ps-mule-font-info-database-default):
11322         * ps-print.el (ps-default-fg, ps-default-bg):
11323         * type-break.el (type-break-good-break-interval):
11324         * whitespace.el (whitespace-indentation-regexp)
11325         (whitespace-space-after-tab-regexp):
11326         * emacs-lisp/testcover.el (testcover-1value-functions)
11327         (testcover-noreturn-functions, testcover-progn-functions)
11328         (testcover-prog1-functions):
11329         * emulation/viper-init.el (viper-emacs-state-cursor-color):
11330         * eshell/em-glob.el (eshell-glob-translate-alist):
11331         * play/tetris.el (tetris-tty-colors):
11332         * progmodes/cpp.el (cpp-face-default-list):
11333         * progmodes/flymake.el (flymake-allowed-file-name-masks):
11334         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11335         (idlwave-help-browser-generic-args):
11336         * progmodes/make-mode.el (makefile-special-targets-list):
11337         * progmodes/python.el (python-shell-virtualenv-path):
11338         * progmodes/verilog-mode.el (verilog-active-low-regexp)
11339         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11340         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11341         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11342         * textmodes/reftex-vars.el (reftex-format-label-function):
11343         * textmodes/remember.el (remember-diary-file): Fix custom types.
11345         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11346         Add :version.
11348 2013-05-09  Leo Liu  <sdl.web@gmail.com>
11350         * progmodes/octave.el (inferior-octave-completion-at-point):
11351         Restore file completion.  (Bug#14300)
11352         (inferior-octave-startup): Fix incorrect highlighting for the
11353         first prompt.
11355 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11357         * progmodes/ruby-mode.el: First cut at SMIE support.
11358         (ruby-use-smie): New var.
11359         (ruby-smie-grammar): New constant.
11360         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11361         (ruby-smie--forward-token, ruby-smie--backward-token)
11362         (ruby-smie-rules): New functions.
11363         (ruby-mode-variables): Setup SMIE if applicable.
11365 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
11367         * simple.el (line-move-visual): Signal beginning/end of buffer
11368         only if vertical-motion moved less than it was requested.  Avoids
11369         silly incorrect error messages when there are display strings with
11370         multiple newlines at EOL.
11372 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11374         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11375         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11376         (prolog-char-quote-workaround):
11377         * progmodes/cperl-mode.el (cperl-under-as-char):
11378         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11379         Mark as obsolete.
11380         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11381         their declaration.
11382         (vhdl-mode-syntax-table-init): Remove.
11384         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11385         last change.
11387         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11388         syntax for "_".
11389         (ld-script-font-lock-keywords):
11390         Change regexps to use things like \_< and \_>.
11392         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11393         Change all regexps to use things like \_< and \_>.
11395         * progmodes/autoconf.el (autoconf-definition-regexp)
11396         (autoconf-font-lock-keywords, autoconf-current-defun-function):
11397         Handle a _ with symbol syntax.
11398         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11400         * progmodes/ada-mode.el (ada-mode-abbrev-table):
11401         Consolidate declaration.
11402         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11403         the declaration.
11404         (ada-create-syntax-table): Remove.
11405         (ada-capitalize-word): Don't mess with the syntax of "_" since it
11406         already has the right syntax nowadays.
11407         (ada-goto-next-word): Don't change the syntax of "_".
11409         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11410         with-wrapper-hook.
11412 2013-05-08  Sam Steingold  <sds@gnu.org>
11414         * thingatpt.el (thing-at-point): Accept optional second argument
11415         NO-PROPERTIES to strip the text properties from the return value.
11416         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11417         to `thing-at-point' instead of stripping the properties ourselves.
11418         Also, when `thing-at-point' fails to find a url, prepend "http://"
11419         to the filename at point on the assumption that the user is
11420         pointing at something like gnu.org/gnu.
11422 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
11424         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11425         * faces.el (crm-separator):
11426         Silence byte-compiler.
11428         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11429         (tool-bar-map): Remove unneeded defvars.
11431 2013-05-08  Leo Liu  <sdl.web@gmail.com>
11433         Re-work a fix for bug#10994 based on Le Wang's patch.
11434         * ido.el (ido-remove-consecutive-dups): New helper.
11435         (ido-completing-read): Use it.
11436         (ido-chop): Revert fix for bug#10994.
11438 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
11440         * cus-edit.el (custom-save-variables):
11441         Pretty-print long values.  (Bug#14187)
11443 2013-05-08  Glenn Morris  <rgm@gnu.org>
11445         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11446         (m4-mode-syntax-table): Init in the defvar.
11447         (m4-mode-abbrev-table): Let define-derived-mode define it.
11449 2013-05-08  Tom Tromey  <tromey@redhat.com>
11451         * progmodes/m4-mode.el (m4-mode-syntax-table):
11452         Do not treat "_" as word constituent.  (Bug#14167)
11454 2013-05-07  Glenn Morris  <rgm@gnu.org>
11456         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11457         Remove explicit eshell-isearch-cancel-map.
11459         * progmodes/f90.el (f90-smart-end-names): New option.
11460         (f90-smart-end): Doc fix.
11461         (f90-end-block-optional-name): New constant.
11462         (f90-block-match): Respect f90-smart-end-names.
11464 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11466         * progmodes/octave.el (octave-smie-forward-token): Be more careful
11467         about implicit semi-colons (bug#14218).
11469 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11471         * frame.el (display-monitor-attributes-list)
11472         (frame-monitor-attributes): New functions.
11474 2013-05-06  Leo Liu  <sdl.web@gmail.com>
11476         * progmodes/octave.el (octave-syntax-propertize-function): Change
11477         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
11478         (octave-font-lock-keywords): Use octave-operator-regexp.
11479         (octave-completion-at-point): Rename from
11480         octave-completion-at-point-function.
11481         (inferior-octave-directory-tracker): Robustify.
11482         (octave-text-functions): Remove and fix its uses.  No such things
11483         any more.
11485 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * emacs-lisp/trace.el (trace--display-buffer): New function.
11488         (trace-make-advice): Use it.
11490 2013-05-06  Juri Linkov  <juri@jurta.org>
11492         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
11493         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11494         Doc fix.
11495         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11496         in the help string.  (Bug#12985)
11498 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
11500         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
11502 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11504         * progmodes/perl-mode.el: Add support for here documents.
11505         (perl-syntax-propertize-function): Match here-doc markers.
11506         (perl-syntax-propertize-special-constructs): Find their end.
11507         (perl-imenu-generic-expression): Use [:alnum:].
11509         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11510         (advice--add-function): Refresh the advice if already present
11511         (bug#14317).
11513 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
11515         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
11517 2013-05-06  Glenn Morris  <rgm@gnu.org>
11519         * w32-fns.el (w32-charset-info-alist): Declare.
11521         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11522         of its defcustom properties.
11523         (eshell-cmpl-initialize): No need to load pcomplete.
11525         * generic-x.el: No need to require comint when compiling.
11527         * net/eudc-export.el: Make it loadable without bbdb.
11528         (top-level): Use require rather than load-library.
11529         (eudc-create-bbdb-record, eudc-bbdbify-phone)
11530         (eudc-batch-export-records-to-bbdb)
11531         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11532         Require bbdb.
11534 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11536         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11537         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11538         some tweaks, instead.
11540 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11542         * progmodes/octave.el (octave-font-lock-keywords)
11543         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11544         (inferior-octave-send-list-and-digest): Improve error message.
11545         (octave-mode, inferior-octave-mode): Use setq-local.
11546         (octave-help): Set info-lookup-mode.
11548 2013-05-05  Richard Stallman  <rms@gnu.org>
11550         * vc/compare-w.el (compare-windows-whitespace):
11551         Treat no-break space as whitespace.
11553         * mail/rmailsum.el (rmail-summary-rmail-update):
11554         Detect empty summary and don't change selected message.
11555         (rmail-summary-goto-msg): Likewise.
11557         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11558         Doc fixes, rename args.
11560 2013-05-05  Alan Mackenzie  <acm@muc.de>
11562         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11564 2013-05-05  Juri Linkov  <juri@jurta.org>
11566         * info.el (Info-read-subfile): Use (point-min) instead of (point)
11567         to not add the length of the summary segment to the return value.
11568         (Bug#14125)
11570 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11572         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11573         (inferior-octave-output-filter): Remove.
11574         (octave-send-region, inferior-octave-startup): Fix callers.
11575         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11576         (octave-binary-file-extensions): New user variable.
11577         (octave-find-definition): Confirm if opening binary files.
11578         (octave-help-file): Use octave-find-definition to get the binary
11579         confirmation.
11580         (octave-help): Adjust for octave-help-file change.
11582 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11584         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11585         Merge the two entries that handle function definitions.
11586         (pascal--syntax-propertize): New const.
11587         (pascal-mode): Use it.  Use setq-local.
11589 2013-05-04  Glenn Morris  <rgm@gnu.org>
11591         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11592         (diary-from-outlook): Respect diary-from-outlook-function.
11594 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11596         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11597         Move the declaration from C.
11598         (read-minibuffer, eval-minibuffer): Move from C.
11599         (completion-setup-function): Avoid minibuffer-completion-contents.
11601 2013-05-03  Leo Liu  <sdl.web@gmail.com>
11603         * progmodes/octave.el (octave-font-lock-keywords): Do not
11604         dehighlight 'end' in comments or strings.
11605         (octave-completing-read, octave-goto-function-definition):
11606         New helpers.
11607         (octave-help-buffer): New user variable.
11608         (octave-help-file, octave-help-function): New button types.
11609         (octave-help): New command and bind it to C-h ;.
11610         (octave-find-definition): New command and bind it to M-.
11611         (user-error): Alias to error if not defined.
11613 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11615         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11616         for \.  (bug#14332)
11617         (octave-font-lock-keywords): Include [ and {.
11619 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11621         * progmodes/octave.el (inferior-octave-startup-file): Change default.
11622         (inferior-octave): Remove calling comint-mode and return the buffer.
11623         (inferior-octave-startup): Cosmetic changes.
11625 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11627         * progmodes/octave.el (octave-syntax-propertize-function):
11628         Include the case when ' is at line beginning.  (Bug#14336)
11630 2013-05-02  Glenn Morris  <rgm@gnu.org>
11632         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11633         * desktop.el (vc-dir-mode): Just autoload it here.
11635 2013-05-02  Alan Mackenzie  <acm@muc.de>
11637         Eliminate variable c-standard-font-lock-fontify-region-function.
11638         * progmodes/cc-mode.el
11639         (c-standard-font-lock-fontify-region-function): Remove.
11640         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11642 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11644         * progmodes/octave.el: Compatible with older emacs-24 releases.
11645         (inferior-octave-has-built-in-variables): Remove.  Built-in
11646         variables were removed from Octave in 2007.
11647         (inferior-octave-startup): Fix uses.
11648         (comint-line-beginning-position): Remove compatibility code for
11649         emacs 21.
11651 2013-05-01  Juri Linkov  <juri@jurta.org>
11653         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
11655 2013-05-01  Juri Linkov  <juri@jurta.org>
11657         * comint.el (comint-previous-matching-input): Don't print message
11658         "History item: %d" when `isearch-mode' is active.
11659         (comint-history-isearch-message): Print message "History item: %d"
11660         when `comint-input-ring-index' is not empty and this function is
11661         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
11663 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11665         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11666         definitions.  Use completion-at-point to insert keywords.
11667         (octave-abbrev-start): Remove.
11668         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11670 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11672         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11673         change.
11675 2013-04-30  Alan Mackenzie  <acm@muc.de>
11677         Handle arbitrarily long C++ member initialisation lists.
11678         * progmodes/cc-engine.el (c-back-over-member-initializers):
11679         new function.
11680         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11681         (most) member init lists.
11683 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11685         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11686         variable.
11688 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11690         * progmodes/octave.el (octave-variables): Remove.  No builtin
11691         variables any more.  All converted to functions.
11692         (octave-font-lock-keywords, octave-completion-at-point-function):
11693         Fix uses.
11694         (octave-font-lock-texinfo-comment): New user variable.
11695         (octave-texinfo-font-lock-keywords): New variable for texinfo
11696         comment block.
11697         (octave-function-comment-block): New face.
11698         (octave-font-lock-texinfo-comment): New function.
11699         (octave-mode): Font lock texinfo comment block.
11701 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11703         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11704         indexing expression.
11705         (octave-continuation-string): Do not use \.
11706         (inferior-octave-complete-impossible): Remove.
11707         (inferior-octave-completion-table)
11708         (inferior-octave-completion-at-point): Remove its uses.
11709         (inferior-octave-startup): completion_matches was introduced to
11710         Octave in 1996 so safe to assume it.
11711         (octave-function-file-comment): Improve to follow how Octave does it.
11712         (octave-update-function-file-comment): Tweak.
11714 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11716         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11717         (inferior-octave-startup): Remove inferior-octave-startup-hook.
11718         (octave-function-file-comment): Fix typo.
11719         (octave-sync-function-file-names): Use read-char-choice.
11721 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
11723         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11724         to t for the less important warnings.
11726 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
11728         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
11730 2013-04-27  Glenn Morris  <rgm@gnu.org>
11732         * vc/log-view.el (log-view-current-entry):
11733         Treat "---" separator lines as part of the following rev.  (Bug#14169)
11735 2013-04-27  Juri Linkov  <juri@jurta.org>
11737         * subr.el (read-number): Doc fix about using it by interactive
11738         code letter `n'.  (Bug#14254)
11740 2013-04-27  Juri Linkov  <juri@jurta.org>
11742         * desktop.el (desktop-auto-save-timeout): New option.
11743         (desktop-file-checksum): New variable.
11744         (desktop-save): Add optional arg `auto-save' and don't auto-save
11745         if nothing changed.
11746         (desktop-auto-save-timer): New variable.
11747         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11748         (after-init-hook): Call `desktop-auto-save-set-timer'.
11749         Suggested by Reuben Thomas <rrt@sc3d.org> in
11750         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11752 2013-04-27  Leo Liu  <sdl.web@gmail.com>
11754         * progmodes/octave.el (octave-function-file-p)
11755         (octave-skip-comment-forward, octave-function-file-comment)
11756         (octave-update-function-file-comment): New functions.
11757         (octave-mode-map): Bind C-c ; to
11758         octave-update-function-file-comment.
11759         (octave-mode-menu): Add octave-update-function-file-comment.
11760         (octave-mode, inferior-octave-mode): Fix doc-string.
11761         (octave-insert-defun): Conform to Octave's coding convention.
11762         (Bug#14285)
11764         * files.el (basic-save-buffer): Don't let errors in
11765         before-save-hook prevent saving buffer.
11767 2013-04-20  Roland Winkler  <winkler@gnu.org>
11769         * faces.el (read-face-name): Use completing-read if arg multiple
11770         is nil.
11772 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
11774         * ls-lisp.el (ls-lisp-insert-directory): If no files are
11775         displayed, move point to after the totals line.
11776         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11777         for the details.
11779 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11781         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11782         Add current dir to the load-path.
11783         (package-generate-autoloads): Don't rely on
11784         autoload-ensure-default-file.
11786 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11788         * textmodes/remember.el (remember-store-in-files): Document that
11789         the file name format is passed to `format-time-string'.
11791 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11793         * progmodes/octave.el (octave-sync-function-file-names): New function.
11794         (octave-mode): Use it in before-save-hook.
11796 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11798         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11799         (bug#14274).
11801         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11802         \n and comment, even if it's not an implicit ; (bug#14218).
11804 2013-04-26  Glenn Morris  <rgm@gnu.org>
11806         * subr.el (read-number): Once more use `read' rather than
11807         `string-to-number', to trap non-numeric input.  (Bug#14254)
11809 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11811         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11812         Use `syntax-multiline' text property consistently instead of
11813         `font-lock-multiline'.  (Bug#14237)
11815 2013-04-26  Glenn Morris  <rgm@gnu.org>
11817         * emacs-lisp/shadow.el (list-load-path-shadows):
11818         No longer necessary to check for duplicate simple.el, since
11819         2012-07-07 change to init_lread to not include installation lisp
11820         directories in load-path when running uninstalled.  (Bug#14270)
11822 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11824         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11825         (octave-mode, inferior-octave-mode): Use setq-local.
11826         (octave-not-in-string-or-comment-p): Rename to
11827         octave-in-string-or-comment-p.
11828         (octave-in-comment-p, octave-in-string-p)
11829         (octave-in-string-or-comment-p): Replace defsubst with defun.
11831 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11833         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11835 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11837         * textmodes/remember.el (remember-data-directory)
11838         (remember-directory-file-name-format): Fix custom types.
11840 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11842         * progmodes/octave.el (octave-completion-at-point-function):
11843         Make use of inferior octave process.
11844         (octave-initialize-completions): Remove.
11845         (inferior-octave-completion-table): New function.
11846         (inferior-octave-completion-at-point): Use it.
11847         (octave-completion-alist): Remove.
11849 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11851         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11852         (opascal-mode-syntax-table): New var.
11853         (opascal-literal-kind, opascal-is-literal-end)
11854         (opascal-literal-token-at): Rewrite.
11855         (opascal--literal-start-re, opascal-font-lock-keywords)
11856         (opascal--syntax-propertize): New constants.
11857         (opascal-font-lock-defaults): Adjust.
11858         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11859         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11860         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11861         (delphi-other-face, opascal-other-face): Remove face variables.
11862         (opascal-save-state): Remove macro.
11863         (opascal-fontifying-progress-step): Remove constant.
11864         (opascal--ignore-changes): Remove var.
11865         (opascal-set-token-property, opascal-parse-next-literal)
11866         (opascal-is-stable-literal, opascal-complete-literal)
11867         (opascal-is-literal-start, opascal-face-of)
11868         (opascal-parse-region, opascal-parse-region-until-stable)
11869         (opascal-fontify-region, opascal-after-change)
11870         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11871         (opascal-debug-parse-region, opascal-debug-parse-window)
11872         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11873         (opascal-debug-fontify-buffer): Remove.
11874         (opascal-debug-mode-map): Adjust accordingly.
11876 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11878         Merge octave-mod.el and octave-inf.el into octave.el with some
11879         cleanups.
11880         * progmodes/octave.el: New file renamed from octave-mod.el.
11881         * progmodes/octave-inf.el: Merged into octave.el.
11882         * progmodes/octave-mod.el: Renamed to octave.el.
11884 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11886         * textmodes/reftex-vars.el
11887         (reftex-label-ignored-macros-and-environments): New defcustom.
11889         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11891 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11893         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11894         (smie-indent-keyword): Improve the check to ensure that the next
11895         comment is really on the same line.
11896         (smie-indent-comment): Don't align with a subsequent closer (or eob).
11898         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11899         semi-colons if the line is not otherwise empty (bug#14218).
11901 2013-04-25  Glenn Morris  <rgm@gnu.org>
11903         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11905 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11907         * progmodes/opascal.el (opascal-set-token-property): Rename from
11908         opascal-set-text-properties and only set `token' (bug#14134).
11909         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11910         (opascal-literal-text-properties): Remove.
11911         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11912         Adjust callers.
11914 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
11916         * textmodes/remember.el (remember-handler-functions): Add an
11917         option for a new handler `remember-store-in-files'.
11918         (remember-data-directory, remember-directory-file-name-format):
11919         New options.
11920         (remember-store-in-files): New function to store remember notes
11921         as separate files within a directory.
11923 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
11925         * progmodes/compile.el (compilation-next-error-function):
11926         Pass "formats" to compilation-find-file (bug#11777).
11928 2013-04-24  Glenn Morris  <rgm@gnu.org>
11930         * vc/vc-bzr.el (vc-bzr-print-log):
11931         * vc/vc-hg.el (vc-hg-print-log):
11932         * vc/vc-svn.el (vc-svn-print-log):
11933         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
11935         * vc/vc-bzr.el (vc-bzr-print-log):
11936         * vc/vc-cvs.el (vc-cvs-print-log):
11937         * vc/vc-git.el (vc-git-print-log):
11938         * vc/vc-hg.el (vc-hg-print-log):
11939         * vc/vc-mtn.el (vc-mtn-print-log):
11940         * vc/vc-rcs.el (vc-rcs-print-log):
11941         * vc/vc-sccs.el (vc-sccs-print-log):
11942         * vc/vc-svn.el (vc-svn-print-log):
11943         * vc/vc.el (vc-print-log-internal): Doc fixes.
11945 2013-04-23  Glenn Morris  <rgm@gnu.org>
11947         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11948         Remove venerable code attempting to avoid substitute-command-keys.
11950 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
11952         * textmodes/reftex-vars.el (reftex-label-regexps):
11953         Call `reftex-compile-variables' after changes to this variable.
11955 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11957         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11958         Use lexical-binding.
11959         (jit-lock-force-redisplay): Use markers, check buffer's continued
11960         existence and beware narrowed buffers.
11961         (jit-lock-fontify-now): Adjust call accordingly.
11963 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11965         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11966         to avoid misleading the user.
11968 2013-04-22  Leo Liu  <sdl.web@gmail.com>
11970         * info-look.el: Prefer latex2e.info.  (Bug#14240)
11972 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
11974         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
11976         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11977         * net/tramp.el (tramp-call-process): ... here.
11978         (tramp-set-completion-function, tramp-parse-putty):
11979         * net/tramp-adb.el (tramp-adb-execute-adb-command):
11980         * net/tramp-gvfs.el (tramp-gvfs-send-command):
11981         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11982         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11983         (tramp-call-local-coding-command): Use `tramp-call-process'
11984         instead of `tramp-compat-call-process'.
11986         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11987         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11988         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11989         (tramp-find-inline-compress): Improve traces.
11990         (tramp-maybe-send-script): Check for Perl binary.
11991         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11993 2013-04-22  Daiki Ueno  <ueno@gnu.org>
11995         * epg.el (epg-context-pinentry-mode): New function.
11996         (epg-context-set-pinentry-mode): New function.
11997         (epg--start): Pass --pinentry-mode option to gpg command.
11999 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
12001         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12002         `comint-dynamic-complete' is obsolete since 24.1, replaced by
12003         `completion-at-point'.  (Bug#13774)
12005         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12006         default key binding for `describe-distribution' has been moved to
12007         `C-h C-o'.  (Bug#13970)
12009 2013-04-21  Glenn Morris  <rgm@gnu.org>
12011         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12012         Add doc strings.
12013         (vc-print-log): Clarify interactive prompt.
12015 2013-04-20  Glenn Morris  <rgm@gnu.org>
12017         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12018         No longer include timestamp etc information.
12020 2013-04-20  Roland Winkler  <winkler@gnu.org>
12022         * faces.el (read-face-name): Bug fix, return just one face if arg
12023         multiple is nil.  (Bug#14209)
12025 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12027         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12028         (remove-function): Autoload.
12030         * comint.el (comint-redirect-original-filter-function): Remove.
12031         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12032         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12033         (vc-cvs-annotate-command):
12034         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12035         * progmodes/prolog.el (prolog-consult-compile):
12036         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12037         Use add/remove-function instead.
12038         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12039         (gud-tooltip-process-output, gud-tooltip-tips):
12040         Use add/remove-function instead.
12041         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12042         (scheme-interaction-mode, exit-scheme-interaction-mode):
12043         Use add/remove-function instead.
12045         * vc/vc-dispatcher.el: Use lexical-binding.
12046         (vc--process-sentinel): Rename from vc-process-sentinel.
12047         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12048         and vc-sentinel-commands any more.
12049         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12050         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12052 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12054         * progmodes/sh-script.el (sh-imenu-generic-expression):
12055         Handle function names with a single character.   (Bug#14111)
12057 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
12059         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12060         for subroutines defined in an eval (bug#14182).
12062 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12064         * bookmark.el (bookmark-completing-read): Improve handling of empty
12065         string (bug#14176).
12067 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12069         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12071 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12073         New faster Imenu implementation (bug#14058).
12074         * progmodes/python.el:
12075         (python-imenu-prev-index-position):
12076         (python-imenu-format-item-label-function)
12077         (python-imenu-format-parent-item-label-function)
12078         (python-imenu-format-parent-item-jump-label-function):
12079         New vars.
12080         (python-imenu-format-item-label)
12081         (python-imenu-format-parent-item-label)
12082         (python-imenu-format-parent-item-jump-label)
12083         (python-imenu--put-parent, python-imenu--build-tree)
12084         (python-imenu-create-index, python-imenu-create-flat-index)
12085         (python-util-popn): New functions.
12086         (python-mode): Set imenu-create-index-function to
12087         python-imenu-create-index.
12089 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12091         * winner.el (winner-active-region): Use region-active-p, activate-mark
12092         and deactivate-mark (bug#14225).
12094         * simple.el (deactivate-mark): Don't inline it.
12096 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
12098         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12100 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
12102         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12103         file extensions from the archive-mode entry in order to prefer
12104         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12106 2013-04-18  Leo Liu  <sdl.web@gmail.com>
12108         * bindings.el (help-event-list): Add ?\?.
12110 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12112         * subr.el (with-wrapper-hook): Declare obsolete.
12113         * simple.el (filter-buffer-substring-function): New hook.
12114         (filter-buffer-substring): Use it.
12115         (filter-buffer-substring-functions): Mark obsolete.
12116         * minibuffer.el (completion-in-region-function): New hook.
12117         (completion-in-region): Use it.
12118         (completion-in-region-functions): Mark obsolete.
12119         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12120         * abbrev.el (abbrev-expand-function): New hook.
12121         (expand-abbrev): Use it.
12122         (abbrev-expand-functions): Mark obsolete.
12123         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12124         and :filter-return.
12126 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12128         * progmodes/python.el (python-nav--syntactically): Fix cornercases
12129         and do not care about match data.
12131 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12133         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12134         completion tables when completing error conditions and
12135         `declare' arguments.
12136         (lisp-complete-symbol, field-complete): Mark as obsolete.
12137         (check-parens): Unmatched parens are user errors.
12138         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12140 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
12142         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12143         command changed buffer (ie. `flyspell-pre-buffer' is not current
12144         buffer), which prevents making decisions based on invalid value of
12145         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
12146         cause an error when `flyspell-pre-point' was nil after switching
12147         buffers.
12148         (flyspell-post-command-hook): No longer needs to change buffers when
12149         checking pre-word.  While at it remove unnecessary progn.
12151 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
12153         * textmodes/ispell.el (ispell-add-per-file-word-list):
12154         Fix `flyspell-correct-word-before-point' error when accepting
12155         words and `coment-padding' is an integer by using
12156         `comment-normalize-vars' (Bug #14214).
12158 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12160         New defun movement commands.
12161         * progmodes/python.el (python-nav--syntactically)
12162         (python-nav--forward-defun, python-nav-backward-defun)
12163         (python-nav-forward-defun): New functions.
12165 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12167         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12168         (python-syntax-context): Use named compiler-macro for backwards
12169         compatibility with Emacs 24.x.
12171 2013-04-17  Leo Liu  <sdl.web@gmail.com>
12173         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12174         octave-hide-process-buffer.
12176 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12178         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12179         (bug#14216).
12181 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
12183         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12184         Fix adjustment of offset when receiving incomplete responses from GDB
12185         (bug#14129).
12187 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12189         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12190         python-mode-abbrev-table.
12191         (python-skeleton-define): Adjust accordingly.
12192         (python-mode-abbrev-table): New table that inherits from it so that
12193         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12195         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12196         (abbrev-symbol): Use it.
12197         (abbrev--before-point): Use it since we already handle inheritance.
12199 2013-04-16  Leo Liu  <sdl.web@gmail.com>
12201         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12202         binding to info-lookup-symbol.
12204 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
12206         * minibuffer.el (completion--twq-all):
12207         * term/ns-win.el (ns-initialize-window-system):
12208         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12210 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12212         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12213         global bindings.
12215         * doc-view.el (doc-view-start-process): Handle url-handler directories.
12217 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
12219         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12220         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12221         to nil.
12222         (ruby-end-of-defun): Remove the unused arg, change the docstring
12223         to reflect that this function is only used as the value of
12224         `end-of-defun-function'.
12225         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12226         to reflect an earlier change that beginning/end-of-defun functions
12227         jump between methods in a class definition, as well as top-level
12228         functions.
12230 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12232         * minibuffer.el (minibuffer-complete): Don't just scroll
12233         a *Completions* that's been iconified.
12234         (minibuffer-force-complete): Make sure repetitions do cycle when going
12235         through completion-in-region -> minibuffer-complete.
12237 2013-04-15  Alan Mackenzie  <acm@muc.de>
12239         Correct the placement of c-cpp-delimiters when there're #s not at
12240         col 0.
12242         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12243         place a submatch around the #.
12244         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12245         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
12246         on the #, not BOL.
12248 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12250         * emacs-lisp/nadvice.el: Properly test names when adding advice.
12251         (advice--member-p): New arg `name'.
12252         (advice--add-function, advice-member-p): Use it (bug#14202).
12254 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
12256         Reformulate java imenu-generic-expression.
12257         The old expression contained ill formed regexps.
12259         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12260         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12261         (cc-imenu-java-method-arg-regexp): New defconsts.
12262         (cc-imenu-java-build-type-args-regex): New defun.
12263         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12264         handling of spaces in the regexp.
12266 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12268         * textmodes/ispell.el (ispell-command-loop): Remove
12269         flyspell highlight of a word when ispell accepts it (bug #14178).
12271 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
12273         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12274         uses code from the previous `ange-ftp-run-real-handler'.
12275         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12276         only in case that function exist.  This is needed for proper
12277         unloading of Tramp.
12279 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
12281         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12283         * textmodes/reftex.el (reftex-compile-variables): Use it.
12285 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12287         * files.el (normal-mode): Only use default major-mode if no other mode
12288         was specified.
12290         * emacs-lisp/trace.el (trace-values): New function.
12292         * files.el: Allow : in local variables (bug#14089).
12293         (hack-local-variable-regexp): New var.
12294         (hack-local-variables-prop-line, hack-local-variables): Use it.
12296 2013-04-13  Roland Winkler  <winkler@gnu.org>
12298         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
12299         data before it gets modified by bibtex-beginning-of-entry.
12301 2013-04-13  Roland Winkler  <winkler@gnu.org>
12303         * textmodes/bibtex.el (bibtex-url): Doc fix.
12305 2013-04-13  Roland Winkler  <winkler@gnu.org>
12307         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12308         does not visit a BibTeX file, exclude it from the list of buffers
12309         returned by bibtex-initialize.
12311 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
12313         * window.el (split-window): Remove interactive form, since as a
12314         command this function is a special case of split-window-below.
12315         Correct doc string.
12317 2013-04-12  Roland Winkler  <winkler@gnu.org>
12319         * faces.el (read-face-name): Do not override value of arg default.
12320         Allow single faces and strings as default values.  Remove those
12321         elements from return value that are not faces.
12322         (describe-face): Simplify.
12323         (face-at-point): New optional args thing and multiple so that this
12324         function can provide the same functionality previously provided by
12325         read-face-name.
12326         (make-face-bold, make-face-unbold, make-face-italic)
12327         (make-face-unitalic, make-face-bold-italic, invert-face)
12328         (modify-face, read-face-and-attribute): Use face-at-point.
12330         * cus-edit.el (customize-face, customize-face-other-window)
12331         * cus-theme.el (custom-theme-add-face)
12332         * face-remap.el (buffer-face-set)
12333         * facemenu.el (facemenu-set-face): Use face-at-point.
12335 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
12337         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12339 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
12341         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12342         off leading { and trailing } from field values.
12344 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12346         * emacs-lisp/timer.el (timer--check): New function.
12347         (timer--time, timer-set-function, timer-event-handler): Use it.
12348         (timer-set-idle-time): Simplify.
12349         (timer--activate): CSE.
12350         (timer-event-handler): Give more info in error message.
12351         (internal-timer-start-idle): New function, moved from C.
12353         * mpc.el (mpc-proc): Add `restart' argument.
12354         (mpc-proc-cmd): Use it.
12355         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12356         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12357         less often.
12359 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
12361         * progmodes/sh-script.el: Implement `sh-mode' own
12362         `add-log-current-defun-function' (bug#14112).
12363         (sh-current-defun-name): New function.
12364         (sh-mode): Use the function.
12366 2013-04-09  Bastien Guerry  <bzg@gnu.org>
12368         * simple.el (choose-completion-string): Fix docstring (bug#14163).
12370 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12372         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12374         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12375         timer (bug#14156).
12377 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
12379         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12380         declaration.
12382 2013-04-07  Leo Liu  <sdl.web@gmail.com>
12384         * pcmpl-x.el: New file.
12386 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
12388         Do not set x-display-name until X connection is established.
12389         This is needed to prevent from weird situation described at
12390         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12391         * frame.el (make-frame): Set x-display-name after call to
12392         window system initialization function, not before.
12393         * term/x-win.el (x-initialize-window-system): Add optional
12394         display argument and use it.
12395         * term/w32-win.el (w32-initialize-window-system):
12396         * term/ns-win.el (ns-initialize-window-system):
12397         * term/pc-win.el (msdos-initialize-window-system):
12398         Add compatible optional display argument.
12400 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
12402         * files.el (normal-backup-enable-predicate): On MS-Windows and
12403         MS-DOS compare truenames of temporary-file-directory and of the
12404         file, so that 8+3 aliases (usually found in $TEMP on Windows)
12405         don't fail comparison by compare-strings.  Also, compare file
12406         names case-insensitively on MS-Windows and MS-DOS.
12408 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12410         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12411         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12413 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
12415         * whitespace.el (whitespace-color-on, whitespace-color-off):
12416         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12418 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
12420         * ispell.el (ispell-set-spellchecker-params):
12421         Really set `ispell-args' for all equivs.
12423 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12425         * ido.el (ido-completions): Use extra elements of ido-decorations
12426         (bug#14143).
12427         (ido-decorations): Update docstring.
12429 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
12431         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12432         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12433         nil during initialization, in order not to miss changes since the
12434         file was opened.  (Bug#14140)
12436 2013-04-05  Leo Liu  <sdl.web@gmail.com>
12438         * kmacro.el (kmacro-call-macro): Fix bug#14135.
12440 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
12442         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12444 2013-04-04  Glenn Morris  <rgm@gnu.org>
12446         * electric.el (electric-pair-inhibit-predicate): Add :version.
12448 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12450         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12451         when a package is required several times (bug#14082).
12453 2013-04-04  Roland Winkler  <winkler@gnu.org>
12455         * faces.el (read-face-name): Behave as promised by the docstring.
12456         Assume that arg default is a list of faces.
12457         (describe-face): Call read-face-name with list of default faces.
12459 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12461         * bookmark.el: Fix deletion of bookmarks (bug#13972).
12462         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12463         (bookmark-bmenu-execute-deletions): Only skip first line if it's
12464         the header.
12465         (bookmark-exit-hook-internal): Save even if list is empty.
12467 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
12469         * emacs-lisp/package.el (package-pinned-packages): New var.
12470         (package--add-to-archive-contents): Obey it (bug#14118).
12472 2013-04-03  Alan Mackenzie  <acm@muc.de>
12474         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12475         Also adapt to the new values of element 7 of a parse state.
12477         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12478         parameter `not-in-delimiter'.  Handle being inside comment opener.
12479         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12480         character in case we're typing a '*' after a '/'.
12481         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12482         instead by passing the parameter to c-state-pp-to-literal.
12484         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12485         for elt. 7 of a parse state.
12487 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
12489         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12490         * international/latin1-disp.el, international/mule-util.el:
12491         * language/cyril-util.el, language/european.el, language/ind-util.el:
12492         * language/lao-util.el, language/thai.el, language/tibet-util.el:
12493         * language/tibetan.el, language/viet-util.el:
12494         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12496 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12498         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12499         (electric-pair-post-self-insert-function): Use it.
12500         (electric-pair-default-inhibit): New function, extracted from
12501         electric-pair-post-self-insert-function.
12503 2013-03-31  Roland Winkler  <winkler@gnu.org>
12505         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12507 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12509         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12511 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
12513         Un-indent after "pass" and "return" statements (Bug#13888)
12514         * progmodes/python.el (python-indent-block-enders): New var.
12515         (python-indent-calculate-indentation): Use it.
12517 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
12519         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12520         defun.  Defining it as defalias could introduce too eager
12521         byte-compiler optimization.  (Bug#14030)
12523 2013-03-30  Chong Yidong  <cyd@gnu.org>
12525         * iswitchb.el (iswitchb-read-buffer): Fix typo.
12527 2013-03-30  Leo Liu  <sdl.web@gmail.com>
12529         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12530         (kmacro-execute-from-register): Pass the keyboard macro to
12531         kmacro-call-macro or repeating won't work correctly.
12533 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
12535         * progmodes/subword.el: Back to using `forward-symbol'.
12537         * subr.el (forward-whitespace, forward-symbol)
12538         (forward-same-syntax): Move from thingatpt.el.
12540 2013-03-29  Leo Liu  <sdl.web@gmail.com>
12542         * kmacro.el (kmacro-to-register): New command.
12543         (kmacro-execute-from-register): New function.
12544         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
12546 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12548         * mpc.el: Use defvar-local and setq-local.
12549         (mpc--proc-connect): Connection failures are not bugs.
12550         (mpc-mode-map): `follow-link' only applies to the buffer's content.
12551         (mpc-volume-map): Bind to the up-events.
12553 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
12555         * progmodes/subword.el (superword-mode): Use `forward-sexp'
12556         instead of `forward-symbol'.
12558 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12560         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12561         (edebug--recursive-edit): Use it.
12562         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12563         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12565 2013-03-28  Leo Liu  <sdl.web@gmail.com>
12567         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
12569 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
12571         * facemenu.el (list-colors-callback): New defvar.
12572         (list-colors-redisplay): New function.
12573         (list-colors-display): Install list-colors-redisplay as the
12574         revert-buffer-function.  (Bug#14063)
12576 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12578         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12579         and suffixes don't overlap (bug#14061).
12581         * case-table.el: Use lexical-binding.
12582         (case-table-get-table): New function.
12583         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
12585 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
12587         * progmodes/subword.el: Add `superword-mode' to do word motion
12588         over symbol_words (parallels and leverages `subword-mode' which
12589         does word motion inside MixedCaseWords).
12591 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
12593         * eshell/em-unix.el: Move su and sudo to...
12594         * eshell/em-tramp.el: ...Eshell tramp module.
12596 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12598         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12599         Change return value to be a sexp.  Delay `get-buffer' to after
12600         restoring the desktop (bug#13951).
12602 2013-03-26  Leo Liu  <sdl.web@gmail.com>
12604         * register.el: Move semantic tag handling back to
12605         cedet/semantic/senator.el.  (Bug#14052)
12607 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12609         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12610         into the prompt either (bug#13963).
12612 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12614         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12615         part of "(error-foo)".
12617 2013-03-24  Juri Linkov  <juri@jurta.org>
12619         * replace.el (list-matching-lines-prefix-face): New defcustom.
12620         (occur-1): Pass `list-matching-lines-prefix-face' to the function
12621         `occur-engine' if `face-differs-from-default-p' returns t.
12622         (occur-engine): Add `,' inside backquote construct to evaluate
12623         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
12624         Pass `prefix-face' to the functions `occur-context-lines' and
12625         `occur-engine-add-prefix'.
12626         (occur-engine-add-prefix, occur-context-lines): Add optional arg
12627         `prefix-face' and propertize the prefix with `prefix-face'.
12628         (Bug#14017)
12630 2013-03-24  Leo Liu  <sdl.web@gmail.com>
12632         * nxml/rng-valid.el (rng-validate-while-idle)
12633         (rng-validate-quick-while-idle): Guard against deleted buffer.
12634         (Bug#13999)
12636         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12637         is the last entry in kill-buffer-hook.
12639         * files.el (kill-buffer-hook): Doc fix.
12641 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
12643         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12644         Make it safe-local.
12646         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12648 2013-03-23  Leo Liu  <sdl.web@gmail.com>
12650         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12651         Remove.
12653         * nxml/rng-valid.el (rng-validate-mode)
12654         (rng-after-change-function, rng-do-some-validation):
12655         * nxml/rng-maint.el (rng-validate-buffer):
12656         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12657         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12658         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12659         (nxml-extend-after-change-region): Use with-silent-modifications.
12661         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12662         timer-idle-list.
12664         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12665         (rng-next-error-1, rng-previous-error-1): Do not let-bind
12666         timer-idle-list.  (Bug#13999)
12668 2013-03-23  Juri Linkov  <juri@jurta.org>
12670         * info.el (info-index-match): New face.
12671         (Info-index, Info-apropos-matches): Add a nested subgroup to the
12672         main pattern and add text properties with the new face to matches
12673         in index entries relative to the beginning of the index entry.
12674         (Bug#14015)
12676 2013-03-21  Eric Ludlam  <zappo@gnu.org>
12678         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12679         Inhibit read only while inserting objects.
12681 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
12683         * progmodes/cfengine.el: Update docs to mention
12684         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
12685         symbol motion.  Remove "_" from the word syntax.
12687 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
12689         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12690         syntax for both `cfengine2-mode' and `cfengine3-mode'.
12692 2013-03-20  Juri Linkov  <juri@jurta.org>
12694         * info.el (Info-next-reference-or-link)
12695         (Info-prev-reference-or-link): New functions.
12696         (Info-next-reference, Info-prev-reference): Use them.
12697         (Info-try-follow-nearest-node): Handle footnote navigation.
12698         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
12700 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12702         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12703         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12705 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
12707         Suppress unnecessary non-ASCII chatter during build process.
12708         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12709         (batch-skkdic-convert): Suppress most of the chatter.
12710         It's not needed so much now that machines are faster,
12711         and its non-ASCII component was confusing; see Dmitry Gutov in
12712         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12714 2013-03-20  Leo Liu  <sdl.web@gmail.com>
12716         * ido.el (ido-chop): Fix bug#10994.
12718 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12720         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12721         Remove vars.
12722         (whitespace-color-on, whitespace-color-off):
12723         Use `font-lock-fontify-buffer' (Bug#13817).
12725 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12727         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12728         remapping in mode-line.
12729         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12731 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12733         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12734         value for `whitespace-line' face (Bug#13875).
12735         (whitespace-font-lock-keywords): Change description.
12736         (whitespace-color-on): Don't save `font-lock-keywords' value, save
12737         the constructed keywords instead.
12738         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12740 2013-03-19  Leo Liu  <sdl.web@gmail.com>
12742         * progmodes/compile.el (compilation-display-error): New command.
12743         (compilation-mode-map, compilation-minor-mode-map): Bind it to
12744         C-o.  (Bug#13992)
12746 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12748         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12750 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
12752         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12754 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
12756         * net/tramp-compat.el (tramp-compat-user-error): New defun.
12758         * net/tramp-adb.el (tramp-adb-handle-shell-command):
12759         * net/tramp-gvfs.el (top):
12760         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12761         (tramp-handle-shell-command): Use it.
12762         (tramp-dissect-file-name): Raise an error when hostname is a
12763         method name, and neither method nor user is specified.
12765         * net/trampver.el: Update release number.
12767 2013-03-18  Leo Liu  <sdl.web@gmail.com>
12769         Make sure eldoc can be turned off properly.
12770         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12771         eldoc-mode.
12772         (eldoc-display-message-p): Revert last change.
12773         (eldoc-display-message-no-interference-p)
12774         (eldoc-print-current-symbol-info): Tweak.
12776 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12778         * doc-view.el (doc-view-new-window-function): Check the new window
12779         overlay's display property instead the char property of the
12780         buffer's first char.  Use `with-selected-window' instead of
12781         `save-window-excursion' with `select-window'.
12782         (doc-view-document->bitmap): Check the current doc-view overlay's
12783         display property instead the char property of the buffer's first char.
12785 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12787         Automate the build of ja-dic.el (Bug#13984).
12788         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12789         from the input, rather than assume that it's been done for us by the
12790         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12791         the current date into a ja-dic.el comment, as that complicates
12792         regression testing.
12794 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12796         * whitespace.el: Fix double evaluation.
12797         (whitespace-space, whitespace-hspace, whitespace-tab)
12798         (whitespace-newline, whitespace-trailing, whitespace-line)
12799         (whitespace-space-before-tab, whitespace-indentation)
12800         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12801         obsolete defvars.
12802         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12803         (whitespace-color-on): Use a single font-lock-add-keywords call.
12804         Fix double-evaluation of face variables.
12806 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12808         * net/tramp-adb.el (tramp-adb-parse-device-names):
12809         Use `start-process' instead of `call-process'.  Otherwise, the
12810         function might be blocked under MS Windows.  (Bug#13299)
12812 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12814         Extend eldoc to display info in the mode-line.  (Bug#13978)
12815         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12816         (eldoc-mode-line-string): New variable.
12817         (eldoc-minibuffer-message): New function.
12818         (eldoc-message-function): New variable.
12819         (eldoc-message): Use it.
12820         (eldoc-display-message-p)
12821         (eldoc-display-message-no-interference-p):
12822         Support eldoc-post-insert-mode.
12824         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12825         (eval-expression): Run it.
12827 2013-03-17  Roland Winkler  <winkler@gnu.org>
12829         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12830         strings in the list of return values.
12832 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12834         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12835         radix before checking for HMS forms.
12837 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12839         * progmodes/scheme.el: Add indentation and font-locking for λ.
12840         (Bug#13975)
12842 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12844         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12845         token before point (bug#13942).
12847 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12849         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12851 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12853         * startup.el (command-line-normalize-file-name): Fix handling of
12854         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12855         <xfq.free@gmail.com> in
12856         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12858 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12860         Sync with Tramp 2.2.7.
12862         * net/trampver.el: Update release number.
12864 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12866         * doc-view.el: Fix bug#13887.
12867         (doc-view-insert-image): Don't modify overlay associated to
12868         non-live windows, and implement horizontal centering of image in
12869         case it's smaller than the window.
12870         (doc-view-new-window-function): Force redisplay of new windows on
12871         doc-view buffers.
12873 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12875         * saveplace.el (save-place-alist-to-file): Don't sort
12876         `save-place-alist', just pretty-print it (bug#13882).
12878 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12880         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12881         Check whether `default-file-name-coding-system' is bound.
12882         It isn't in XEmacs.
12884 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12886         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12887         backquotes for `obsolete' (bug#13929).
12889         * international/mule.el (find-auto-coding): Include file name in
12890         obsolescence warning (bug#13922).
12892 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
12894         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12895         for CFEngine 3-specific indentation.
12896         (cfengine3-indent-line): Use it.  Fix up category regex.
12897         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12899 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12901         * type-break.el (type-break-file-name):
12902         * textmodes/remember.el (remember-data-file):
12903         * strokes.el (strokes-file):
12904         * shadowfile.el (shadow-initialize):
12905         * saveplace.el (save-place-file):
12906         * ps-bdf.el (bdf-cache-file):
12907         * progmodes/idlwave.el (idlwave-config-directory):
12908         * net/quickurl.el (quickurl-url-file):
12909         * international/kkc.el (kkc-init-file-name):
12910         * ido.el (ido-save-directory-list-file):
12911         * emulation/viper.el (viper-custom-file-name):
12912         * emulation/vip.el (vip-startup-file):
12913         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12914         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12916 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
12918         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12919         * language/thai-word.el: Switch to UTF-8.
12921 See ChangeLog.16 for earlier changes.
12923 ;; Local Variables:
12924 ;; coding: utf-8
12925 ;; End:
12927   Copyright (C) 2011-2014 Free Software Foundation, Inc.
12929   This file is part of GNU Emacs.
12931   GNU Emacs is free software: you can redistribute it and/or modify
12932   it under the terms of the GNU General Public License as published by
12933   the Free Software Foundation, either version 3 of the License, or
12934   (at your option) any later version.
12936   GNU Emacs is distributed in the hope that it will be useful,
12937   but WITHOUT ANY WARRANTY; without even the implied warranty of
12938   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12939   GNU General Public License for more details.
12941   You should have received a copy of the GNU General Public License
12942   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.