(dired-prev-marked-file): Doc fix (bug#14855).
[emacs/old-mirror.git] / lisp / ChangeLog
blobbf6ba73a7750a52a0064651594c8248121a9794c
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).
6         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8         * files.el (file-relative-name): Doc fix (bug#15159).
10         * fringe.el (fringe-styles): Doc fix (bug#15239).
12         * isearch.el (isearch-filter-predicate): Documentation typo fix
13         (bug#15474).
15         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
17         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
19         * replace.el (replace-match-maybe-edit): Doc clarification
20         (bug#15632).
22         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
24         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
26 2014-02-08  Glenn Morris  <rgm@gnu.org>
28         * help-fns.el (describe-variable):
29         Check {file,dir}-local-variables-alist, and buffer-file-name,
30         in the correct buffer.
32 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
34         * help-fns.el (describe-variable): Fix the case where
35         a value is directory-local with no dir-locals file.  (Bug#16635)
37 2014-02-08  Glenn Morris  <rgm@gnu.org>
39         * abbrev.el (edit-abbrevs-mode):
40         Derive from fundamental-mode.  (Bug#16682)
42 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
44         * simple.el (quoted-insert): Check character validity (bug#16677).
46 2014-02-07  Juri Linkov  <juri@jurta.org>
48         * desktop.el (desktop-read): Claim the lock when the owner is not
49         the current process.  (Bug#16157)
51 2014-02-07  Juri Linkov  <juri@jurta.org>
53         * desktop.el (desktop-buffers-not-to-save): Change default from nil
54         to "\\` ".  (Bug#16651)
56 2014-02-07  Juri Linkov  <juri@jurta.org>
58         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
59         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
60         (desktop-auto-save-cancel-timer): New function with some code from
61         `desktop-auto-save-set-timer'.
62         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
63         Instead of setting `desktop-save-mode' to nil, call
64         `desktop-save-mode' with arg 0.  (Bug#16630)
66 2014-02-07  Glenn Morris  <rgm@gnu.org>
68         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
69         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
70         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
72         * obsolete/iswitchb.el: Move to obsolete/.
73         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
74         since obsolete/ is not scanned for autoloads.
75         * emacs-lisp/authors.el (authors-valid-file-names):
76         Add iswitchb.el.
78         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
79         Disable now non-functional find-file-hook.
81 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
83         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
84         instead of ";" in order to avoid additional prompts.  Let heredoc
85         scripts read from tty.  (Bug#16582)
86         (tramp-send-command): No special handling of heredocs, it isn't
87         necessary anymore.
89 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
91         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
92         with a space (bug#16664).  Limit the symbols considered to the ones
93         that are bound or fbound (bug#16646).
95 2014-02-06  Glenn Morris  <rgm@gnu.org>
97         * epa.el (epa-mail-aliases): Doc fix.
99 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
101         * emacs-lisp/lisp.el (lisp-completion-at-point):
102         Use `completion-table-merge' instead of `completion-table-in-turn'
103         (bug#16604).
105         * minibuffer.el (completion-table-merge): New function.
107 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
109         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
110         (tramp-sh-handle-set-file-acl)
111         (tramp-sh-handle-start-file-process)
112         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
113         (tramp-find-executable, tramp-send-command): Use it.
115 2014-02-05  Glenn Morris  <rgm@gnu.org>
117         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
119 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
121         * progmodes/python.el (python-shell-send-string):
122         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
124 2014-02-04  Anders Lindgren  <andlind@gmail.com>
126         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
127         the names (bug#16620).
129 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
131         * faces.el (window-divider): New default value.  Rewrite doc-string.
132         (window-divider-first-pixel, window-divider-last-pixel): New faces.
134 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
136         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
137         `protected' and `public' can also be called without arguments.
139 2014-02-03  Glenn Morris  <rgm@gnu.org>
141         * register.el (window-configuration-to-register)
142         (frame-configuration-to-register): Unadvertise unused argument.
143         * frameset.el (frameset-to-register): Remove unused argument.
145         * frameset.el (frameset-to-register):
146         * kmacro.el (kmacro-to-register):
147         * register.el (increment-register):
148         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
149         (calc-append-to-register, calc-prepend-to-register):
150         * play/gametree.el (gametree-layout-to-register)
151         (gametree-apply-register-layout):
152         * textmodes/picture.el (picture-clear-rectangle-to-register)
153         (picture-yank-rectangle-from-register):
154         * vc/emerge.el (emerge-combine-versions-register):
155         Use register-read-with-preview to read registers.
157 2014-02-03  João Távora  <joaotavora@gmail.com>
159         * elec-pair.el (electric-pair-backward-delete-char): Don't error
160         when at beginning of (possibly narrowed) buffer.
162 2014-02-02  Daniel Colascione  <dancol@dancol.org>
164         * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
165         Also try to display local help from just before point.
167 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
169         c-parse-state.  Don't "append-lower-brace-pair" in certain
170         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
171         recognised as a comment.
173         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
174         as well as normal comment starter.
175         (c-parse-state-get-strategy): Extra return possibility
176         'back-and-forward.
177         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
178         return value list to indicate replacement of a brace-pair cons
179         with its car.
180         (c-parse-state-1): With 'back-and-forward, only call
181         c-append-lower-brace-pair-to state-cache when cons-separated.
183 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
185         * term/ns-win.el (ns-suspend-error): New function.
186         (ns-initialize-window-system): Add ns-suspend-error to
187         suspend-hook (Bug#16612).
189 2014-02-02  Daniel Colascione  <dancol@dancol.org>
191         * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
193 2014-02-02  Daniel Colascione  <dancol@dancol.org>
195         * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
197 2014-02-02  Glenn Morris  <rgm@gnu.org>
199         * register.el (register-read-with-preview, point-to-register)
200         (window-configuration-to-register, frame-configuration-to-register)
201         (jump-to-register, number-to-register, view-register, insert-register)
202         (copy-to-register, append-to-register, prepend-to-register)
203         (copy-rectangle-to-register): Doc fixes.
205 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
207         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
208         * emacs-lisp/find-func.el (find-function-C-source): Idem.
209         * emacs-lisp/nadvice.el (advice--cd*r): New function.
210         * help-fns.el (describe-function-1): Use it.
212 2014-02-02  Glenn Morris  <rgm@gnu.org>
214         * register.el (register-preview-default): New function,
215         split from register-preview.
216         (register-preview-function): Rename from register-preview-functions,
217         make it not a hook.
218         (register-preview): Use register-preview-function.
219         (register-read-with-preview): Error on non-character event.  (Bug#16595)
221 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
223         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
224         `:' before binary operators (bug#16609).  Don't check for `:'
225         before `[' and `(', or their syntax status.  A percent literal
226         can't end with either.
227         (ruby-font-lock-keywords): For built-ins that require arguments,
228         check that they're followed by something that looks like argument
229         (bug#16610).
231 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
233         * subr.el (butlast): Document what an omitted N means (bug#13437).
234         (nbutlast): Ditto.
236 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
238         * net/shr.el (shr-generic): Make into a defsubst to make the stack
239         depth shallower (bug#16587).
240         (shr-tag-svg): Respect `shr-inhibit-images'.
241         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
243 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
245         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
246         (ruby-smie-grammar): Make "." right-associative.  Make its priority
247         lower than the ternary and all binary operators.
248         (ruby-smie-rules): Indent "(" relative to the first non-"."
249         parent, or the first "." parent at indentation.
250         Use `ruby-align-chained-calls' for indentation of "." tokens.
251         (Bug#16593)
253 2014-01-31  Juri Linkov  <juri@jurta.org>
255         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
256         from `make-hash-table'.
258         * textmodes/ispell.el (ispell-init-process): Change message format
259         to be consistent with other messages.
261 2014-01-31  Glenn Morris  <rgm@gnu.org>
263         * delsel.el (delete-selection-mode): Doc fix.
265         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
266         (trace-function-background): Doc fixes.
268         * ido.el (ido-use-virtual-buffers): Doc fix.
269         Reset :version, since the default value has not changed.
271         * register.el (register-preview-delay, register-read-with-preview):
272         Doc fixes.
274         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
275         do not mess with mail-buffer position (fixes 2009-11-03 change).
276         * progmodes/cc-mode.el (c-submit-bug-report):
277         Check auto-fill-mode is bound.  (Bug#16592)
279 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
281         * startup.el (fancy-splash-image-file): New function,
282         split from fancy-splash-head.
283         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
284         so that we are both using the same image.  (Bug#16574)
286 2014-01-30  Glenn Morris  <rgm@gnu.org>
288         * simple.el (eval-expression): Doc fix.
290         * hexl.el (hexl-mode-hook):
291         * ielm.el (ielm-mode-hook):
292         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
293         (lisp-interaction-mode-hook):
294         * progmodes/cfengine.e (cfengine3-documentation-function):
295         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
297 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
299         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
300         is a symbol (bug#16584).
302 2014-01-30  Glenn Morris  <rgm@gnu.org>
304         * help.el (help-for-help-internal): Add "P" to text.
306 2014-01-29  Glenn Morris  <rgm@gnu.org>
308         * simple.el (just-one-space, cycle-spacing): Doc fixes.
310 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
312         * window.el (fit-frame-to-buffer): Fix calculations for margins and
313         height constraints.
315 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
317         * progmodes/hideif.el: Extend to full CPP expression syntax.
318         (hif-token-alist): Add missing tokens.
319         (hif-token-regexp): Add support for float/octal/hex immediates.
320         (hif-string-literal-regexp): New const.
321         (hif-tokenize): Recognize strings and float/octal/hex immediates.
322         (hif-exprlist): New function.
323         (hif-parse-if-exp): Use it.
324         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
325         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
326         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
327         (hif-logxor, hif-comma): New functions.
329 2014-01-28  Glenn Morris  <rgm@gnu.org>
331         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
333         * indent.el (tab-stop-list): Doc fix.  Add :version.
335         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
336         (cvs-append-to-ignore): Add compatibility alias.
338 2014-01-27  Glenn Morris  <rgm@gnu.org>
340         * dired.el (dired-hide-details-mode): Don't autoload it,
341         since it cannot be used outside Dired buffers anyway.
343         * emulation/cua-base.el (cua-mode): Doc fix.
345         * dired.el (dired-hide-details-hide-symlink-targets)
346         (dired-hide-details-hide-information-lines)
347         (dired-hide-details-mode): Doc fixes.
349         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
350         * strokes.el (strokes-file): Doc fix.  Bump :version.
351         (strokes-help): Doc fix.
352         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
353         * emulation/viper.el (viper): Doc fix for custom group.
354         (top-level): Remove oh-so-no-longer-relevant text about vip.
355         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
357         * ido.el (ido-save-directory-list-file):
358         * saveplace.el (save-place-file):
359         * calendar/timeclock.el (timeclock-file):
360         * net/quickurl.el (quickurl-url-file):
361         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
362         * progmodes/idlwave.el (idlwave-config-directory):
363         * textmodes/remember.el (remember-data-file):
364         Bump :version.
366 2014-01-26  Glenn Morris  <rgm@gnu.org>
368         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
369         Doc fix.  Make obsolete.
370         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
372         * sort.el (delete-duplicate-lines): Doc fix.
374 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
376         * progmodes/ada-mode.el (ada):
377         * woman.el (woman): Link to info manual and Commentary section.
379         * progmodes/flymake.el (flymake):
380         * nxml/nxml-mode.el (nxml):
381         * net/eww.el (eww):
382         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
383         * htmlfontify.el (htmlfontify):
384         * ses.el (ses):
385         * epa.el (epa):
386         * ido.el (ido): Link to info manual.
388 2014-01-25  Leo Liu  <sdl.web@gmail.com>
390         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
392 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
394         * net/shr.el (shr-tag-img): Prefer the title over the alt text
395         (bug#16537).
397 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
399         * net/eww.el (eww-download-callback):
400         Fix reference to eww-download-directory.
402         * emacs-lisp/bytecomp.el (byte-compile-file):
403         Remove unused local variable `file-name'.
405 2014-01-24  Glenn Morris  <rgm@gnu.org>
407         * woman.el (woman-default-faces, woman-monochrome-faces):
408         Fix obsolescence specification.
410         * subr.el (with-demoted-errors): Doc fix.
412 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
414         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
415         (cl--macroexp-fboundp): New function.
416         (cl--make-type-test): Use it.
418 2014-01-23  Glenn Morris  <rgm@gnu.org>
420         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
421         * simple.el (eval-expression): Doc fixes.
423 2014-01-22  Glenn Morris  <rgm@gnu.org>
425         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
427 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * emacs-lisp/package.el: Write files silently.
430         (package-autoload-ensure-default-file, package--write-file-no-coding)
431         (package-generate-description-file, package--download-one-archive)
432         (package-install-from-archive): Tell `write-region' to stay quiet.
433         (package-menu-mode, package-menu--print-info): Omit the Archive column
434         if there's only one archive.
435         (package-all-keywords, package--has-keyword-p): Remove dead code.
437 2014-01-22  Glenn Morris  <rgm@gnu.org>
439         * version.el (emacs-bzr-version-bzr): Fix typo.
441         * version.el (emacs-repository-get-version):
442         Check either .bzr or .git, but not both.
443         Make the git case actually use the DIR argument, and return nil
444         rather than the empty string.
445         Avoid error if .git exists but the git executable is not found.
447 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
449         Fixes in window size functions around Bug#16430 and Bug#16470.
450         * window.el (window-total-size, window-size): New argument ROUND.
451         (window--min-delta-1, window-min-delta, window--max-delta-1):
452         Be more conservative when calculating the numbers of lines or
453         columns a window can shrink (Bug#16430).
454         (fit-window-to-buffer): Simplify code.
455         * term.el (term-window-width): Call window-body-width again.
457 2014-01-22  Glenn Morris  <rgm@gnu.org>
459         * image.el (image-format-suffixes): Doc fix.
461         * international/quail.el (quail-define-package): Doc fix.
463         * emacs-lisp/authors.el (authors-valid-file-names):
464         (authors-renamed-files-alist): Additions.
466         * vc/vc-git.el (vc-git-print-log): Remove --follow;
467         reverts 2014-01-09 change.  (Bug#16422)
469         * calc/calc-embed.el (thing-at-point-looking-at):
470         * emacs-lisp/map-ynp.el (x-popup-dialog):
471         * obsolete/lmenu.el (x-popup-dialog):
472         * emacs-lisp/package.el (url-recreate-url):
473         * mail/mailclient.el (clipboard-kill-ring-save):
474         * subr.el (x-popup-dialog): Update declaration.
475         * mail/rmail.el (rmail-mime-message-p):
476         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
478 2014-01-21  Daniel Colascione  <dancol@dancol.org>
480         * progmodes/sh-script.el (sh--inside-noncommand-expression):
481         Correctly detect when we're inside an arithmetic expansion form
482         containing nested parenthesis.
483         (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
484         to detect cases where we shouldn't expand "<<" to a heredoc
485         skeleton.
487 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
489         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
490         (eldoc--message-command-p): New function.
491         (eldoc-display-message-p): Use it.
492         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
493         message is not automatically erased for us.
494         (eldoc-print-current-symbol-info): Erase previous message, if any.
496 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
498         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
499         specify it's an interactive function.
501         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
502         Fix regex used for scanning for citation keys which failed for
503         citations with optional arguments.
505 2014-01-21  Leo Liu  <sdl.web@gmail.com>
507         * simple.el (read--expression): Don't enable eldoc-mode.
509 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * simple.el (move-beginning-of-line): Make sure we don't move forward
512         (bug#16497).
514 2014-01-20  Juri Linkov  <juri@jurta.org>
516         * saveplace.el (toggle-save-place, save-place-to-alist)
517         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
518         'dired-mode) before checking for dired-directory.  (Bug#16477)
520 2014-01-20  Juri Linkov  <juri@jurta.org>
522         * indent.el (indent-line-to): Use backward-to-indentation
523         instead of back-to-indentation.  (Bug#16461)
525 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
527         Revert some of the CANNOT_DUMP fix (Bug#16494).
528         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
529         but fixing this can wait until after the next release.
530         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
532 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
534         * eshell/esh-mode.el (eshell-password-prompt-regexp):
535         Use `password-word-equivalents'.
536         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
537         to t.  (Bug#5664, Bug#13124)
539 2014-01-19  Alan Mackenzie  <acm@muc.de>
541         Bind open-paren-in-column-0-is-defun-start to nil at some entry
542         points.
543         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
544         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
545         * progmodes/cc-mode.el (c-before-change, c-after-change)
546         (c-font-lock-fontify-region): Bind it here.
548 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
550         * term.el (term-window-width): Call window-text-width instead of
551         window-width (Bug#16470).
553 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
555         * simple.el (password-word-equivalents): Remove duplicates.
556         Sort, to make this easier next time.
557         Downcase.  Omit ": " after "jelszó".
559 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
561         * term/common-win.el (saved-region-selection): Defvar it.
562         (x-select-text): Set saved-region-selection (Bug#16382).
564 2014-01-18  Glenn Morris  <rgm@gnu.org>
566         * emacs-lisp/authors.el (authors-aliases)
567         (authors-renamed-files-alist): Add some entries.
569 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
571         * net/tramp.el (tramp-password-prompt-regexp):
572         Use `password-word-equivalents' if available.
573         (tramp-action-password, tramp-process-one-action)
574         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
576 2014-01-17  Chong Yidong  <cyd@gnu.org>
578         * simple.el (password-word-equivalents): New defcustom.
579         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
580         to 24.4.
581         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
582         to t.  (Bug#13124)
584 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
586         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
587         (ruby-align-to-stmt-keywords): Change the default value.
588         Use `ruby-alignable-keywords' to generate the possible customization
589         choices.
590         (ruby-smie-rules): Instead of using a hardcoded list of alignable
591         keywords, check against the value of `ruby-alignable-keywords'
592         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
594 2014-01-17  Glenn Morris  <rgm@gnu.org>
596         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
598         Make M-x authors return zero *Authors Errors* from current logs.
599         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
600         (authors-ignored-files): Add some entries, remove others.
601         (authors-ambiguous-files, authors-valid-file-names):
602         Add some entries.
603         (authors-renamed-files-alist): Add, remove, and adjust entries.
604         (authors-renamed-files-regexps): Add some entries.
605         Remove some very broad ones.  Make some entries `lax'.
606         (authors-lax-changelogs): New constant.
607         (authors-disambiguate-file-name): Treat top-level specially.
608         (authors-lax-changelog-p): New function.
609         (authors-canonical-file-name): Check file as written against
610         authors-valid-file-names.  Do not special-case etc/.
611         Handle `lax' logs and authors-renamed-files-regexps elements.
613 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
615         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
616         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
617         callers.
619 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
622         Assume we're already in the proper buffer.
623         Inspired by Anders Lindgren <andlind@gmail.com>.
624         (follow-post-command-hook): Call it from the right buffer.
625         (follow-comint-scroll-to-bottom): Adjust call.
626         (follow-all-followers): Use get-buffer-window-list.
628 2014-01-15  Daniel Colascione  <dancol@dancol.org>
630         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
631         `buffer-file-name' in interactive-form so that we don't leave
632         pathless file names in `file-name-history'.
634 2014-01-15  Juri Linkov  <juri@jurta.org>
636         * indent.el (indent-rigidly): Set deactivate-mark to nil
637         in transient indentation mode.  (Bug#16438)
639 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
641         * emacs-lisp/package.el (package-desc-keywords): New function
642         (Bug#16222).
643         (describe-package-1, package-all-keywords)
644         (package--has-keyword-p): Use it.
646 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
648         * simple.el (define-alternatives): When creating the
649         COMMAND-alternatives variable, assign COMMAND as its definition
650         name so that `describe-variable' can relocate it.
652 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
654         * font-lock.el (font-lock-keywords): Fix typo in docstring
655         (bug#16307).
657 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
659         * ispell.el (ispell-region): Reset `in-comment' for new line
660         instead of wrongly reset `add-coment' (bug#13577).
662 2014-01-14  Daiki Ueno  <ueno@gnu.org>
664         * epa-file.el (epa-file-write-region): Encode the region according
665         to `buffer-file-format'.  Problem reported at:
666         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
668 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
671         so it applies in the right buffer (bug#16410).
673 2014-01-13  Daniel Colascione  <dancol@dancol.org>
675         * textmodes/rst.el (rst-define-key): Provide deprecated
676         keybindings through named functions instead of anonymous ones so
677         that "??" doesn't appear in describe-mode output.
679 2014-01-13  Bastien Guerry  <bzg@gnu.org>
681         * simple.el (define-alternatives): Call the selected command
682         interactively.  When setting `COMMAND--implementation' for the
683         first time, tell the user how to chose another implementation.
684         Enhance the docstring.
686 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
688         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
689         (log-edit--match-first-line): New function.
690         (log-edit-font-lock-keywords): Use it.
691         (log-edit-mode): Make jit-lock-defer-multiline work.
693 2014-01-13  Bastien Guerry  <bzg@gnu.org>
695         * rect.el (rectangle-mark-mode): When the region is not active,
696         display a message saying that the mark as been set and that
697         rectangle mode is in use.
698         (rectangle--highlight-for-redisplay): Only put an overlay with a
699         visible vertical bar when (display-graphic-p) is non-nil.
700         This partially fixes Bug#16403.
702 2014-01-13  Juri Linkov  <juri@jurta.org>
704         * info.el (Info-find-file): Go to DIR before displaying the error
705         about a nonexistent file if no previous Info file is visited.
706         Use `user-error' instead of `error' for "Info file %s does not exist".
707         (Info-find-node-2): In case of a nonexistent node in unwind forms
708         go to the Top node if there is no previous node to revert to.
709         (Bug#16405)
711 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
713         fit-frame/window-to-buffer code fixes including one for Bug#14096.
714         * window.el (fit-frame-to-buffer): Fix doc-string.
715         Respect window-min-height/-width.  Fit pixelwise when
716         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
717         when avoiding that frame goes partially off-screen.
718         (fit-window-to-buffer): Respect window-min-height/-width
719         (Bug#14096).
721 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
723         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
724         after an empty line.
726 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
728         * net/shr.el (shr-render-region): Autoload.
730 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
732         * net/eww.el (eww-download-directory): Rename from
733         `eww-download-path' (Bug#16419).
735 2014-01-12  Leo Liu  <sdl.web@gmail.com>
737         * dired-x.el (dired-mode-map): Fix last change.
739         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
741 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
743         Spelling fixes.
744         * emacs-lisp/generic.el (generic--normalize-comments):
745         Rename from generic--normalise-comments.  All uses changed.
746         * play/bubbles.el (bubbles--neighborhood-score):
747         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
748         (bubbles--neighborhood-available)
749         (bubbles--update-neighborhood-score):
750         Rename from names with 'neighbourhood'.  All uses changed.
752 2014-01-12  Leo Liu  <sdl.web@gmail.com>
754         Re-implement the feature of showing eldoc info after editing.
755         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
756         (eldoc-edit-message-commands): New function.
757         (eldoc-print-after-edit): New variable.
758         (eldoc-pre-command-refresh-echo-area): Emit message only by
759         eldoc-message-commands.
760         (eldoc-mode): Restrict eldoc-message-commands to editing commands
761         if eldoc-print-after-edit is set.  (Bug#16346)
762         * simple.el (read--expression): Enable eldoc-mode.
763         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
765 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
766             Eric S. Raymond  <esr@thyrsus.com>
768         * version.el (emacs-repository-get-version): Enhance so the
769         function works correctly in either a Bazaar or Git repo.
771 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
773         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
774         Goes with removal of the joke manpages from /etc.
776 2014-01-10  K. Handa  <handa@gnu.org>
778         * mail/rmail.el (rmail-get-coding-system):
779         Check rmail-get-coding-function before "funcall"ing it.
781 2014-01-10  Glenn Morris  <rgm@gnu.org>
783         * emacs-lisp/authors.el (authors-fixed-entries):
784         Update for files that no longer exist.
786 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
788         * version.el (emacs-bzr-get-version): Restore compatibilty with
789         24.3 (Tested).
791 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
793         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
794         and Podfile.
796 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
798         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
800 2014-01-10  Chong Yidong  <cyd@gnu.org>
802         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
804 2014-01-10  Anders Lindgren  <andlind@gmail.com>
806         * follow.el (follow-cache-command-list): Include right-char and
807         left-char.
809 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
811         Spelling fixes.
812         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
813         * woman.el (woman-mark-horizontal-position):
814         Rename from woman-mark-horizonal-position.  Use changed.
816 2014-01-10  Glenn Morris  <rgm@gnu.org>
818         * info.el (info-initialize): If running uninstalled, ensure our
819         own info files are always found first, even if INFOPATH is set.
821         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
823 2014-01-09  David Engster  <deng@randomsample.de>
825         * emacs-lisp/eieio-custom.el:
826         * emacs-lisp/eieio-opt.el: Set generated autoload file to
827         'eieio.el'.  This was accidentally removed in rev. 110325.
828         * emacs-lisp/eieio.el: Regenerate autoloads.
830 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
832         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
833         following renames.  (Bug#8756)
835 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
837         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
838         (bug#16382).
839         (activate-mark): Add `no-tmm' argument.
840         (set-mark, push-mark-command): Use it instead of running
841         activate-mark-hook by hand.
843 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
845         In preparation for the move to git, sanitize out some
846         Bazaar-specific names.
848         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
850         * version.el (emacs-bzr-version): Name changed to
851         emacs-repository-version.  Obsolete-variable alias made.
852         * loadup.el: Follow through on this name change.
853         * mail/emacsbug.el (report-emacs-bug): Factor out any
854         assumption about the version control system in use.
856 2014-01-08  David Engster  <deng@randomsample.de>
858         * help-fns.el (help-fns-describe-function-functions):
859         New variable to call functions for augmenting help buffers.
860         (describe-function-1): Remove explicit calls to
861         `help-fns--compiler-macro', `help-fns--parent-mode' and
862         `help-fns--obsolete'.  Put them in above new variable instead, and
863         call them through `run-hook-with-args'.
864         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
865         `eieio-describe-class'.  Not meant for interactive use anymore,
866         but to augment existing help buffers.  Remove optional second
867         argument.  Create proper button for file location.
868         Rewrite function to use `insert' instead of `princ' and `prin1' where
869         possible.
870         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
871         (eieio-method-def, eieio-class-def): Move further up.
872         (describe-method, describe-generic, eieio-describe-method):
873         Remove aliases.
874         (eieio-help-constructor, eieio-help-generic): Rename from
875         `eieio-describe-constructor' and `eieio-describe-generic', resp.
876         Rewrite to use `insert' in the current buffer and use proper help
877         buttons.
878         (eieio-help-find-method-definition)
879         (eieio-help-find-class-definition): Also accept symbols as
880         arguments.
881         (eieio-help-mode-augmentation-maybee): Remove.
882         (eieio-describe-class-sb): Use `describe-function'.
883         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
884         Add `eieio-help-generic' and `eieio-help-constructor'.
886 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
888         Spelling fixes.
889         * language/china-util.el (hz-ascii-designation):
890         Rename from hz-ascii-designnation.
891         (hz-ascii-designation): Rename from hz-ascii-designnation.
892         All uses changed.
894 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
896         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
897         package-alist.
899 2014-01-08  Bastien Guerry  <bzg@gnu.org>
901         * emacs-lisp/package.el (package-delete):
902         Correctly delete the package from package-alist.
904 2014-01-08  Daiki Ueno  <ueno@gnu.org>
906         * emacs-lisp/package.el (url-recreate-url): Declare.
907         (url-http-target-url): Declare.
908         (package-handle-response): Include requested URL in the error message.
909         (package--check-signature): Don't re-signal errors from
910         package--with-work-buffer.  Suggested by Stefan Monnier.
912 2014-01-07  Bastien Guerry  <bzg@gnu.org>
914         * minibuffer.el (completion--try-word-completion): When both a
915         hyphen and a space are possible candidates for the character
916         following a word, display both candidates.  (Bug#15980)
918 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
920         * window.el (balance-windows-2): While rounding don't give a
921         window more than the remainder.  Bug#16351, Bug#16383.
923 2014-01-07  Glenn Morris  <rgm@gnu.org>
925         * menu-bar.el (menu-bar-help-extra-packages): Remove.
926         (menu-bar-help-menu): Use view-external-packages instead.
928 2014-01-07  Bastien Guerry  <bzg@gnu.org>
930         * emacs-lisp/package.el (package-delete): Also delete the package
931         name from `package-alist', not its description only.
933 2014-01-07  Glenn Morris  <rgm@gnu.org>
935         * help.el (view-external-packages):
936         * menu-bar.el (menu-bar-help-extra-packages):
937         Visit efaq.info rather than etc/MORE.STUFF.
939 2014-01-07  Juri Linkov  <juri@jurta.org>
941         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
942         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
944         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
945         that shadows RET.  (Bug#16342)
947 2014-01-07  Chong Yidong  <cyd@gnu.org>
949         * isearch.el (isearch-yank-char, isearch-yank-word)
950         (isearch-yank-line): Doc fix.
952 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
954         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
955         * emacs-lisp/elint.el (elint-find-builtins):
956         * emacs-lisp/eldoc.el (eldoc-symbol-function):
957         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
958         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
959         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
960         * apropos.el (apropos-safe-documentation):
961         * subr.el (symbol-file): Remove redundant fboundp.
962         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
964 2014-01-06  Bastien Guerry  <bzg@gnu.org>
966         * hl-line.el (global-hl-line-overlay): Make a local variable.
967         (global-hl-line-overlays): New variable to store all overlays.
968         (global-hl-line-mode): Don't delete overlays from the current
969         buffer when `global-hl-line-sticky-flag' is non-nil.
970         (global-hl-line-highlight): Add new overlays to
971         `global-hl-line-overlays'.
972         (global-hl-line-unhighlight-all): New function to delete all
973         overlays when turning off `global-hl-line-mode'.
974         This fixes Bug#16183.
976 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
978         * subr.el (set-transient-map): Fix nested case and docstring.
980 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
982         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
983         `Texinfo' entry.
985 2014-01-06  Daniel Colascione  <dancol@dancol.org>
987         Fix defun navigation in vc log view.
989         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
990         like `beginning-of-defun'.
991         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
992         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
993         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
994         (log-view-extract-comment): Call `log-view-current-entry' directly
995         instead of relying on broken `log-view-beginning-of-defun' behavior.
997 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
999         Spelling fixes.
1000         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1001         * emacs-lisp/debug.el (cancel-debug-on-entry):
1002         * epg.el (epg-error-to-string):
1003         * files.el (recover-file):
1004         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1005         * mail/emacsbug.el (report-emacs-bug-hook):
1006         * mail/sendmail.el (mail-recover):
1007         * ses.el (ses-yank-resize):
1008         * term/ns-win.el (ns-print-buffer):
1009         Spelling fixes in diagnostics, mostly for "canceled" with one L.
1010         * epg.el (epg-key-capability-alist): Rename from misspelled version.
1011         All uses changed.
1012         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1014 2014-01-06  Leo Liu  <sdl.web@gmail.com>
1016         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1017         to avoid shadowing global key.  (Bug#16354)
1019 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1021         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1022         rst-mode.
1024 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
1026         * window.el (balance-windows): Add mising t to fix Bug#16351.
1028 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1030         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1031         (bug#16285).
1032         (shr-insert): If we have a word that's longer than `shr-width',
1033         break after it anyway.  Otherwise we'll do no breaking once we get
1034         such a long word.
1036 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1038         * net/eww.el (eww): Support single/double quote for search.
1039         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1040         (eww-history-quit): Delete and use quit-window.
1041         (eww-history-kill): Delete, because it doesn't work well and
1042         not necessary.
1043         (eww-history-mode-map): Delete some keys and add easy-menu.
1045 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1047         Fix misspelling of 'chinese' in rx (Bug#16237).
1048         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1049         chinese-two-byte.
1051         Change subword regexps back to vars (Bug#16296).
1052         * progmodes/subword.el (subword-forward-regexp)
1053         (subword-backward-regexp): Change these back to variables.
1055 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1057         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1058         syntax-begin-function (bug#16247).
1060 2014-01-03  Chong Yidong  <cyd@gnu.org>
1062         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1063         (advice--docstring): Delete variable.
1064         (advice--make-1): Leave the docstring empty.
1065         (advice-add): Use function-documentation for advised docstring.
1067         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1068         Ignore function-documentation property when getting documentation.
1069         (ad-activate-advised-definition): Use function-documentation
1070         generate the docstring.
1071         (ad-make-advised-definition): Don't call
1072         ad-make-advised-definition-docstring.
1073         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1074         Delete functions.
1076         * progmodes/sql.el (sql-help): Use function-documentation instead
1077         of dynamic-docstring-function property.  No need to autoload now.
1078         (sql--help-docstring): New variable.
1079         (sql--make-help-docstring): Use it.
1081 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1083         * ielm.el (ielm-tab): Retarget.
1084         (ielm-map): Use ielm-tab for tab.
1085         (ielm-complete-filename): Use comint-filename-completion.
1086         (ielm-complete-symbol): Remove.
1087         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1088         remove ielm-tab from completion-at-point-functions (bug#16224).
1090         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1091         Beware signals raised by predicates (bug#16201).
1093 2014-01-02  Richard Stallman  <rms@gnu.org>
1095         * dired-aux.el (dired-do-print): Handle printer-name.
1097         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1098         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1099         (rmail-epa-decrypt): Turn off mime processing.
1101         * mail/rmail.el (rmail-make-in-reply-to-field):
1102         Add parens in message-id.
1104         * mail/rmail.el (rmail-get-coding-function): Variable.
1105         (rmail-get-coding-system): Use it.
1107 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
1109         * international/mule-conf.el: Unify the charset indian-is13194.
1110         (indian-is13194): Specify unify-map.
1112 2013-12-31  Leo Liu  <sdl.web@gmail.com>
1114         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
1116 2013-12-30  Daniel Colascione  <dancol@dancol.org>
1118         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1119         of printing a useless when we resume from sleep.
1121         * progmodes/sh-script.el
1122         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1123         in indentation code.  (Bug#16233)
1125 2013-12-28  João Távora  <joaotavora@gmail.com>
1127         * elec-pair.el (electric-pair-post-self-insert-function):
1128         Don't open extra newlines at beginning of buffer.  (Bug#16272)
1130 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
1132         * frame.el (window-system-for-display): Don't allow to create a
1133         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
1135 2013-12-28  Glenn Morris  <rgm@gnu.org>
1137         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1138         Update callers.
1140         * apropos.el (apropos-match-face):
1141         * calculator.el (calculator-displayer):
1142         * dabbrev.el (dabbrev-search-these-buffers-only):
1143         * face-remap.el (buffer-face-mode-face):
1144         * simple.el (yank-handled-properties):
1145         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1146         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1147         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1148         (hashcash-double-spend-database):
1149         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1150         (ruby-deep-indent-paren-style):
1151         * textmodes/flyspell.el (flyspell-auto-correct-binding):
1152         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1153         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1154         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1155         Specify custom types.
1157         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1158         * bookmark.el (bookmark-bmenu-use-header-line):
1159         * doc-view.el (doc-view-scale-internally):
1160         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1161         * register.el (register-preview-delay):
1162         * net/shr.el (shr-bullet):
1163         * progmodes/cfengine.el (cfengine-cf-promises)
1164         (cfengine-parameters-indent):
1165         * progmodes/octave.el (inferior-octave-error-regexp-alist):
1166         * textmodes/reftex-vars.el (reftex-label-regexps):
1167         * vc/log-edit.el (log-edit-setup-add-author): Add version.
1169         * net/tls.el (tls-certtool-program): Fix default value.
1171         * desktop.el (desktop-restore-in-current-display):
1172         * newcomment.el (comment-empty-lines):
1173         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1174         (idlwave-pad-keyword):
1175         * progmodes/tcl.el (tcl-tab-always-indent):
1176         * textmodes/reftex-vars.el (reftex-index-default-tag):
1177         * elec-pair.el (electric-pair-skip-whitespace):
1178         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1180         * emacs-lisp/authors.el (authors-ignored-files)
1181         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1183 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1185         * shell.el (shell-dynamic-complete-command): Doc fix.
1186         (shell--command-completion-data): Shell completion now matches
1187         executable filenames from the current buffer's directory, on
1188         systems in which this behavior is the default (windows-nt, ms-dos).
1190 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1192         * net/shr.el (shr-insert): Don't infloop if the width is zero.
1194 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1196         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1197         (bug#16251).
1199         * electric.el: Move all electric-pair-* to elec-pair.el.
1200         * elec-pair.el: New file, split from electric.el.
1202 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1204         * net/shr.el (shr-find-fill-point): Don't try to fill if the
1205         indentation level is larger than the width, because that will
1206         infloop.
1207         (shr-insert): Fill repeatedly long texts, so that Japanese is
1208         formatted correctly (bug#16263).
1209         (shr-find-fill-point): Off by one error in comparison with the
1210         indentation.
1212 2013-12-26  João Távora  <joaotavora@gmail.com>
1214         * electric.el (electric-pair-mode): More flexible engine for skip-
1215         and inhibit predicates, new options for pairing-related functionality.
1216         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1217         if that keeps or improves their balance in buffers.
1218         (electric-pair-delete-adjacent-pairs): Delete the pair when
1219         backspacing over adjacent matched delimiters.
1220         (electric-pair-open-extra-newline): Open extra newline when
1221         inserting newlines between adjacent matched delimiters.
1222         (electric--sort-post-self-insertion-hook):
1223         Sort post-self-insert-hook according to priority values when
1224         minor-modes are activated.
1225         * simple.el (newline-and-indent): Call newline with interactive
1226         set to t.
1227         (blink-paren-post-self-insert-function): Set priority to 100.
1228         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1229         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1230         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
1231         electric-pair-open-newline-between-pairs to nil.
1233 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1235         * progmodes/python.el: Use lexical-binding.
1236         (python-nav-beginning-of-defun): Stop searching ASAP.
1238 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
1240         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1241         Fix interactive spec.  Doc fix.  (Bug#15754)
1243 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1245         * emacs-lisp/byte-run.el (eval-when-compile):
1246         * progmodes/cc-defs.el (cc-eval-when-compile):
1247         Fix edebug spec (bug#16184).
1249 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1251         * net/shr.el (shr-visit-file): Remove debugging function.
1252         (shr-insert): Don't infloop if we can't find a good place to break
1253         the line (bug#16256).
1255 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1257         * progmodes/python.el:
1258         (python-nav--lisp-forward-sexp): New function.
1259         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
1260         python-nav-lisp-forward-sexp-safe.
1261         (python-nav--forward-sexp): New argument SAFE allows switching
1262         forward sexp movement behavior for parens.
1263         (python-nav-forward-sexp): Throw errors on unterminated parens
1264         (Bug#16191).
1265         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1266         (python-nav-backward-sexp-safe): New functions.
1267         (python-shell-buffer-substring):
1268         Use `python-nav-forward-sexp-safe'.
1270 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1272         * net/shr.el (shr-find-fill-point): Don't break lines before a
1273         quotation mark.
1274         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1275         (shr-find-fill-point): Remove the special checks for the quotation
1276         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1278 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1280         * net/eww.el (eww-form-textarea): Use a different face for
1281         textareas than text input since they have different keymaps
1282         (bug#16142).
1284 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1286         * progmodes/python.el (python-nav-beginning-of-statement):
1287         Speed up (Bug#15295).
1289 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1291         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1292         the window configuration.
1294 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
1296         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1297         we run on MS-Windows or MS-DOS.
1299 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
1301         * window.el (balance-windows-area): Call window-size instead of
1302         window-height and window-width.  Bug#16241.
1304 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1306         * net/eww.el (eww-bookmark-quit): Remove.
1307         (eww-bookmark-browse): Restore the window configuration when you
1308         choose a bookmark (bug#16144).
1310 2013-12-24  Daniel Colascione  <dancol@dancol.org>
1312         * icomplete.el: Remove redundant :group arguments to `defcustom'
1313         throughout.
1314         (icomplete-show-matches-on-no-input): New customizable variable.
1315         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1316         we have something to show.
1317         (icomplete-exhibit): Compute completions even if we have no user input.
1319 2013-12-23  Daniel Colascione  <dancol@dancol.org>
1321         * icomplete.el: Move `provide' to end of file.
1323 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
1325         * net/gnutls.el (gnutls-verify-error): Add version tag.
1327 2013-12-23  Chong Yidong  <cyd@gnu.org>
1329         * subr.el (set-transient-map): Rename from
1330         set-temporary-overlay-map.  Doc fix.
1332         * face-remap.el (text-scale-adjust):
1333         * indent.el (indent-rigidly):
1334         * kmacro.el (kmacro-call-macro):
1335         * minibuffer.el (minibuffer-force-complete):
1336         * repeat.el (repeat):
1337         * simple.el (universal-argument--mode):
1338         * calendar/todo-mode.el (todo-insert-item--next-param):
1339         * progmodes/f90.el (f90-abbrev-start): Callers changed.
1341         * indent.el (indent-rigidly): Use substitute-command-keys.
1343 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1345         * net/eww.el (eww-tag-select): Add text-property to jump to next
1346         select field.
1347         (eww): Add non-supported ftp error.
1349 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1351         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1352         comments.  Handle electric indent after typing `?' and `!'.
1354 2013-12-22  Chong Yidong  <cyd@gnu.org>
1356         * faces.el (face-spec-recalc): If the theme specs are not
1357         applicable to a frame, fall back on the defface spec.
1358         This prevents themes from obliterating faces on low-color terminals.
1360 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1362         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1363         after `{'.  We need it after block openers, and it doesn't seem
1364         to hurt after hash openers.
1366 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1368         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1369         extracted from `ruby-smie-rules'.
1370         (ruby--electric-indent-chars): New variable.
1371         (ruby--electric-indent-p): New function.
1372         (ruby-mode): Use `electric-indent-functions' instead of
1373         `electric-indent-chars'.
1375 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1377         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1378         docstring.
1379         (ruby-smie-rules): Indent plus one level after `=>'.
1381 2013-12-21  Richard Stallman  <rms@gnu.org>
1383         * simple.el (newline): Doc fix.
1385 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1387         * net/eww.el (eww-list-histories, eww-list-histories)
1388         (eww-history-browse, eww-history-quit, eww-history-kill)
1389         (eww-history-mode-map, eww-history-mode): New command and
1390         functions to list browser histories.
1391         (eww-form-text): Support text form with disabled
1392         and readonly attributes.
1393         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1395 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1397         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1398         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1399         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1400         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1401         Use `user-error'.
1402         (eww-bookmark-mode-map): Add menu.
1403         (eww-render, eww-mode): Use `setq-local'.
1404         (eww-tool-bar-map): New variable.
1405         (eww-mode): Set `tool-bar-map'.
1406         (eww-view-source): Check for `html-mode' with `fboundp'.
1408 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1410         * net/shr.el (shr--extract-best-source): Don't bug out on audio
1411         elements with text inside.  Also remove debugging.
1413 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
1415         * cus-start.el (all): Add ns-use-srgb-colorspace.
1417 2013-12-21  Chong Yidong  <cyd@gnu.org>
1419         * custom.el (custom-theme-recalc-face): Do nothing if the face is
1420         undefined.  Thus, theme settings for undefined faces do not take
1421         effect until the faces are defined with defface, the same as with
1422         theme variables.
1424         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1425         (face-spec-reset-face): Don't assign extra properties in temacs.
1426         (face-spec-recalc): Apply X resources too.
1428 2013-12-21  Chong Yidong  <cyd@gnu.org>
1430         * faces.el (face-spec-set):
1431         * cus-face.el (custom-theme-set-faces, custom-set-faces):
1432         * custom.el (defface): Doc fixes (Bug#16203).
1434         * indent.el (indent-rigidly-map): Add docstring, and move commands
1435         into named functions.
1436         (indent-rigidly-left, indent-rigidly-right)
1437         (indent-rigidly-left-to-tab-stop)
1438         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
1439         indentation direction based on bidi direction, and accumulate
1440         sequential commands in a single undo boundary.
1441         (indent-rigidly--pop-undo): New utility function.
1443 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
1445         * faces.el (read-face-name): Require crm.el when using crm-separator.
1447 2013-12-20  Daniel Colascione  <dancol@dancol.org>
1449         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1450         so that we don't reflow comments into the shebang line.
1452 2013-12-20  Juri Linkov  <juri@jurta.org>
1454         * saveplace.el (save-place-to-alist): Add `dired-filename' as
1455         a position when `dired-directory' is non-nil.  Check integer
1456         positions with `integerp'.
1457         (toggle-save-place, save-places-to-alist): Add check for
1458         `dired-directory'.
1459         (save-place-find-file-hook): Check integer positions with
1460         `integerp'.
1461         (save-place-dired-hook): Use `dired-goto-file' when
1462         `dired-filename' is found in the assoc list.  Check integer
1463         positions with `integerp'.
1464         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1466         * dired.el (dired-initial-position-hook): Rename back from
1467         `dired-initial-point-hook'.
1468         (dired-initial-position): Rename `dired-initial-point-hook' to
1469         `dired-initial-position-hook'.
1470         (dired-file-name-at-point): Doc fix.  (Bug#15329)
1472 2013-12-20  Juri Linkov  <juri@jurta.org>
1474         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1475         (read-regexp-suggestions): New function.
1476         (read-regexp): Use `read-regexp-defaults-function' to get default values.
1477         Use `read-regexp-suggestions'.  Add non-empty default to history
1478         for empty input.
1479         (occur-read-regexp-defaults-function): Remove function.
1480         (occur-read-primary-args): Use `regexp-history-last' instead of
1481         `occur-read-regexp-defaults-function'.
1483         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1484         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1485         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1486         `hi-lock-read-regexp-defaults-function'.  Doc fix.
1487         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1488         with `find-tag-default-as-symbol-regexp'.  Doc fix.
1489         (hi-lock-read-regexp-defaults): Remove function.
1490         (hi-lock-regexp-okay): Add check for null.
1492         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1493         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
1495         * subr.el (find-tag-default-as-symbol-regexp): New function.
1496         (find-tag-default-as-regexp): Move symbol regexp formatting to
1497         `find-tag-default-as-symbol-regexp'.
1499 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
1501         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1502         (Bug#14179)
1504 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1506         * calendar/todo-mode.el: New implementation of item insertion
1507         commands and key bindings.
1508         (todo-key-prompt): New face.
1509         (todo-insert-item): New command.
1510         (todo-insert-item--parameters): New defconst, replacing defvar
1511         todo-insertion-commands-args-genlist.
1512         (todo-insert-item--param-key-alist): New defconst, replacing
1513         defvar todo-insertion-commands-arg-key-list.
1514         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1515         (todo-insert-item--argsleft, todo-insert-item--apply-args)
1516         (todo-insert-item--next-param): New functions.
1517         (todo-insert-item--args, todo-insert-item--argleft)
1518         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1519         New variables.
1520         (todo-key-bindings-t): Change binding of "i" from
1521         todo-insertion-map to todo-insert-item.
1522         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1523         (todo-insertion-command-name, todo-insertion-commands-names)
1524         (todo-define-insertion-command, todo-insertion-commands)
1525         (todo-insertion-key-bindings, todo-insertion-map): Remove.
1527 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1529         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1530         (todo-toggle-item-highlighting): Use eval-and-compile instead of
1531         eval-when-compile.
1532         (todo-move-category): Allow choosing a non-existing todo file to
1533         move the category to, and create that file.
1534         (todo-default-priority): New user option.
1535         (todo-set-item-priority): Use it.
1536         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1537         (desktop-restore-file-buffer): Declare.
1538         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1539         (todo-modes-set-2): Locally set desktop-save-buffer to
1540         todo-desktop-save-buffer.
1541         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1542         (auto-mode-alist): Add autoload cookie.
1544 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
1546         * emacs-lisp/subr-x.el: Renamed from helpers.el.
1547         helpers.el was a poor choice of name.
1548         (string-remove-prefix): New function.
1549         (string-remove-suffix): New function.
1551 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
1553         Fix assignment for new window total sizes.
1554         * window.el (window--pixel-to-size): Remove function.
1555         (window--pixel-to-total-1, window--pixel-to-total):
1556         Fix calculation of new total sizes.
1558 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
1560         * comint.el (comint-output-filter): Fix rear-nonsticky property
1561         placement (Bug#16010).
1563 2013-12-20  Chong Yidong  <cyd@gnu.org>
1565         * faces.el (read-color): Minor fix for completion function.
1567 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
1569         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1570         New option.  (Bug#16182)
1571         (ruby-smie--indent-to-stmt-p): Use it.
1572         (ruby-smie-rules): Revert the logic in the handling of `when'.
1573         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1574         (ruby-deep-arglist, ruby-deep-indent-paren)
1575         (ruby-deep-indent-paren-style): Update docstrings to note that the
1576         vars don't have any effect with SMIE.
1578 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
1580         * calc/calc.el (calc-enter, calc-pop): Use the variable
1581         `calc-context-sensitive-enter'.
1583 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1585         * net/shr.el (shr-insert): Protect against infloops in degenerate
1586         tables.
1588 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1590         * progmodes/octave.el (octave): Add link to manual and octave
1591         homepage.
1592         (octave-mode-menu): Link to octave-mode manual.
1594 2013-12-20  Leo Liu  <sdl.web@gmail.com>
1596         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1597         insertion using skeleton-end-newline.  (Bug#16138)
1599 2013-12-20  Juri Linkov  <juri@jurta.org>
1601         * replace.el (occur-engine): Use `add-face-text-property'
1602         to add the face property to matches and titles.  (Bug#14645)
1604         * hi-lock.el (hi-green): Use lighter color "light green" closer to
1605         the palette of other hi-lock colors.
1606         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1608 2013-12-19  Juri Linkov  <juri@jurta.org>
1610         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1611         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
1612         (minibuffer-history-symbol): Move variable declaration closer to
1613         its usage.
1615         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1616         (Bug#14785)
1618 2013-12-19  Juri Linkov  <juri@jurta.org>
1620         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1621         New function.
1622         (log-edit-hook): Add it to :options.  (Bug#16170)
1624 2013-12-19  Juri Linkov  <juri@jurta.org>
1626         * simple.el (eval-expression-print-format): Don't check for
1627         command names and the last command.  Always display additional
1628         formats of the integer result in the echo area, and insert them
1629         to the current buffer only with a zero prefix arg.
1630         Display character when char-displayable-p is non-nil.
1631         (eval-expression): With a zero prefix arg, set `print-length' and
1632         `print-level' to nil, and insert the integer values from
1633         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
1635         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1636         `eval-last-sexp-arg-internal'.  Doc fix.
1637         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1638         `eval-last-sexp-print-value'.  Doc fix.
1639         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1640         Set `print-length' and `print-level' to nil when arg is zero.
1641         (eval-last-sexp): Doc fix.
1642         (eval-defun-2): Print the integer values from
1643         `eval-expression-print-format' at the end.
1645         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1646         values from `eval-expression-print-format' at the end.
1648         * ielm.el (ielm-eval-input): Print the integer
1649         values from `eval-expression-print-format' at the end.
1651 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
1653         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1654         2013-12-11 (r115470).
1656 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
1659         (hl-line-highlight, global-hl-line-highlight): Use it.
1660         (hl-line-overlay): Use defvar-local.
1662 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
1664         * term/ns-win.el: Require dnd.
1665         (global-map): Remove drag items.
1666         (ns-insert-text, ns-set-foreground-at-mouse)
1667         (ns-set-background-at-mouse):
1668         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1669         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1670         New functions.
1672 2013-12-19  Glenn Morris  <rgm@gnu.org>
1674         * emacs-lisp/ert.el (ert-select-tests):
1675         Fix string/symbol mixup.  (Bug#16121)
1677 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1679         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1680         keywords to their parent.
1682 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1684         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1685         first arg to be a string (fixed dead code), or an operator symbol.
1686         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1687         operator symbols.
1688         (ruby-smie-rules): Remove parent token check in the `.' clause, it
1689         did nothing.  Don't respond to `(:after ".")', it will be called
1690         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
1691         change anything.  Only return indentation for binary operators
1692         when they are hanging.  De-dent opening paren when its parent is
1693         `.', otherwise it looks bad when the dot is not at bol or eol
1694         (bug#16182).
1696 2013-12-19  Juri Linkov  <juri@jurta.org>
1698         * replace.el (query-replace-read-args): Split a non-negative arg
1699         and a negative arg into separate elements.
1700         (query-replace, query-replace-regexp, replace-string)
1701         (replace-regexp): Add arg `backward'.  Doc fix.
1702         (replace-match-maybe-edit): When new arg `backward' is non-nil,
1703         move point to the beginning of the match.
1704         (replace-search, replace-highlight): Use new arg `backward'
1705         to set the value of `isearch-forward'.
1706         (perform-replace): Add arg `backward' and use it to perform
1707         replacement backward.  (Bug#14979)
1709         * isearch.el (isearch-query-replace): Use a negative prefix arg
1710         to call `perform-replace' with a non-nil arg `backward'.
1712 2013-12-18  Juri Linkov  <juri@jurta.org>
1714         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1715         to the default list.  Move `log-edit-show-files' to the end.
1716         Add more available functions to options.
1717         (log-edit): Move default specific settings to
1718         `log-edit-insert-message-template'.  Don't move point.
1719         (log-edit-insert-message-template): New function.
1720         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1721         (Bug#16170)
1723 2013-12-18  Juri Linkov  <juri@jurta.org>
1725         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1726         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
1728 2013-12-18  Leo Liu  <sdl.web@gmail.com>
1730         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1731         (Bug#16186)
1733 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
1735         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1736         formats for displaying file sizes when the -s switch is given.
1737         Instead, compute a separate format for displaying the size in
1738         blocks, which is displayed in addition to the "regular" size.
1739         When -h is given in addition to -s, produce size in blocks in
1740         human-readable form as well.  (Bug#16179)
1742 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
1744         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1745         Reference tables with ~\ref{...} instead of only \ref{...}.
1747 2013-12-18  Chong Yidong  <cyd@gnu.org>
1749         * cus-edit.el (custom-magic-alist): Fix "themed" description
1750         (Bug#14348).
1752         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1753         is non-nil, do not create a new entry in the symbol's theme-value
1754         or theme-face property; update theme-settings only (Bug#14664).
1755         (custom-available-themes): Doc fix.
1757         * cus-theme.el (custom-new-theme-mode-map): Add bindings
1758         (Bug#15674).
1760         * replace.el (occur-engine): Avoid infloop (Bug#7593).
1762 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1764         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1765         (Bug#13914).
1767 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1769         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1771 2013-12-18  Glenn Morris  <rgm@gnu.org>
1773         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1774         * cus-start.el (load-prefer-newer): New option.
1776 2013-12-18  Le Wang  <l26wang@gmail.com>
1778         * comint.el (comint-previous-matching-input-from-input):
1779         Retain point (Bug#13404).
1781 2013-12-18  Chong Yidong  <cyd@gnu.org>
1783         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1785 2013-12-18  Glenn Morris  <rgm@gnu.org>
1787         * mail/emacsbug.el (report-emacs-bug):
1788         Only mention enable-multibyte-characters if non-standard.
1790 2013-12-17  Juri Linkov  <juri@jurta.org>
1792         * arc-mode.el (archive-extract-by-file): Check if directory exists
1793         before deletion to not show irrelevant errors if it doesn't exist.
1795 2013-12-17  Juri Linkov  <juri@jurta.org>
1797         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1798         (Bug#14751)
1800         * net/eww.el (browse-web): Add alias to `eww'.
1801         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1802         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1804         * net/browse-url.el (browse-url-browser-function): Move `eww'
1805         closer to similar functions.
1807         * startup.el (fancy-startup-screen, fancy-about-screen):
1808         Set browse-url-browser-function to eww-browse-url locally.
1809         (Bug#14751)
1811 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1813         * window.el (window--pixel-to-total): Remove unused `mini' var.
1814         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1815         (split-window): Remove unused `new' var.
1816         (window--display-buffer): Remove unused `frame' and `delta' vars.
1817         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1818         and display-width'.
1820 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1822         * dired.el (dired-mark-pop-up):
1823         * register.el (register-preview): Don't bind
1824         split-height-threshold here since it's now done in
1825         display-buffer-below-selected.
1827 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1829         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1830         xterm-rgb-convert-to-16bit.
1831         (rxvt-register-default-colors): Standardize with
1832         xterm-register-default-colors (Bug#14078).
1834 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1836         * simple.el (kill-region): Pass mark first, then point, so that
1837         kill-append works right (Bug#12819).
1838         (copy-region-as-kill, kill-ring-save): Likewise.
1840 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1842         * net/rcirc.el (rcirc-add-face):
1843         * eshell/em-prompt.el (eshell-emit-prompt):
1844         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1845         (Bug#16167)
1847 2013-12-17  Chong Yidong  <cyd@gnu.org>
1849         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1850         Suggested by Xue Fuqiao.
1852 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1854         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1856 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1858         * net/shr.el (shr-insert-document): Remove unused var
1859         `shr-preliminary-table-render'.
1860         (shr-rescale-image): Remove unused arg `force'.
1861         (shr-put-image): Update calls accordingly.
1862         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1864 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1866         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1867         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1868         :close-all, to see which indentation method to use (Bug#16116).
1869         (smie-rules-function): Document the method :close-all.
1871 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1873         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1875         * net/eww.el (eww-display-html): If we can't find the anchor we're
1876         looking for, then go to point-min.
1878 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1880         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1881         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1882         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1883         Expand dir too, in case it's relative.
1885 2013-12-16  Juri Linkov  <juri@jurta.org>
1887         * desktop.el (desktop-auto-save-timeout): Change default to
1888         `auto-save-timeout'.  Doc fix.
1889         (desktop-save): Skip the timestamp in desktop-saved-frameset
1890         when checking for auto-save changes.
1891         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1892         `desktop-auto-save' is called repeatedly by the idle timer.
1893         (desktop-auto-save-set-timer): Replace `run-with-timer' with
1894         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
1895         (Bug#15331)
1897 2013-12-16  Juri Linkov  <juri@jurta.org>
1899         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1900         (Bug#16035)
1901         (isearch-pre-command-hook): Check `this-command' for symbolp.
1903 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1905         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1907 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
1909         * progmodes/cfengine.el (cfengine3--current-word): Remove.
1910         (cfengine3--current-function): Bring in the current-function
1911         functionality from `cfengine3--current-word'.
1912         (cfengine3-completion-function): Bring in the
1913         bounds-of-current-word functionality from
1914         `cfengine3--current-word'.
1916 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
1918         * window.el (display-buffer-below-selected):
1919         Bind split-height-threshold to 0 as suggested by Juri Linkov.
1921 2013-12-16  Leo Liu  <sdl.web@gmail.com>
1923         * progmodes/compile.el (compile-goto-error): Do not push-mark.
1924         Remove NOMSG arg and all uses changed.
1926 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1928         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1929         (cua--deactivate-rectangle): Don't deactivate the mark.
1930         (cua-set-rectangle-mark): Don't set mark-active since
1931         cua--activate-rectangle already does it for us.
1932         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1933         non-rectangular region.
1935         * emulation/cua-base.el (cua-repeat-replace-region):
1936         Use with-current-buffer.
1938         * net/gnutls.el: Use cl-lib.
1939         (gnutls-negotiate): `mapcan' -> cl-mapcan.
1941 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1943         * emacs-lisp/package.el (package-built-in-p): Support both
1944         built-in and the package.el converted package descriptions.
1945         (package-show-package-list): Allow keywords.
1946         (package-keyword-button-action): Use it instead of
1947         `finder-list-matches'.
1948         (package-menu-filter-interactive): Interactive filtering (by
1949         keyword) function.
1950         (package-menu--generate): Support keywords and change keymappings
1951         and headers when they are given.
1952         (package--has-keyword-p): Helper function.
1953         (package-menu--refresh): Use it.
1954         (package--mapc): Helper function.
1955         (package-all-keywords): Use it.
1956         (package-menu-mode-map): Set up menu items and keybindings to
1957         provide a filtering UI.
1959 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1961         * net/gnutls.el (gnutls-verify-error): New defcustom to control
1962         the behavior when a certificate fails validation.  Defaults to
1963         old behavior: never abort, just warn.
1964         (gnutls-negotiate): Use it.
1966 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
1968         * window.el (display-buffer-below-selected): Never split window
1969         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
1971 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1973         * emacs-lisp/package.el (package--prepare-dependencies): New function.
1974         (package-buffer-info): Use it (bug#15108).
1976 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1978         * icomplete.el (icomplete-completions): Make sure the prefix is already
1979         displayed elsewhere before hiding it (bug#16219).
1981 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1983         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1984         open-paren tokens when preceded by a open-paren, too.
1985         (ruby-smie-rules): Handle virtual indentation after open-paren
1986         tokens specially.  If there is code between it and eol, return the
1987         column where is starts (Bug#16118).
1989 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1991         * progmodes/cfengine.el: Fix `add-hook' doc.
1992         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1993         (cfengine3--current-word): Fix parameters.
1994         (cfengine3-make-syntax-cache): Simplify further.
1995         (cfengine3-completion-function, cfengine3--current-function):
1996         Use `assq' for symbols.
1997         (cfengine3--current-function): Fix `cfengine3--current-word' call.
1999 2013-12-13  Glenn Morris  <rgm@gnu.org>
2001         * loadup.el (load-path): Warn if site-load or site-init changes it.
2002         No more need to reset it when bootstrapping.
2004 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2006         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2007         locations for cf-promises.
2008         (cfengine-mode-syntax-functions-regex): New caching variable.
2009         (cfengine3-fallback-syntax): Fallback syntax for cases where
2010         cf-promises doesn't run.
2011         (cfengine3--current-word): Reimplement using
2012         `cfengine-mode-syntax-functions-regex'.
2013         (cfengine3-completion-function, cfengine3--current-function):
2014         Use `cfengine3-make-syntax-cache' directly.
2015         (cfengine3-clear-syntax-cache): New function.
2016         (cfengine3-make-syntax-cache): Simplify and create
2017         `cfengine-mode-syntax-functions-regex' on demand.
2018         (cfengine3-format-function-docstring): Don't call
2019         `cfengine3-make-syntax-cache' explicitly.
2021 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
2023         Fix windmove-find-other-window broken after pixelwise resizing
2024         (Bug#16017).
2025         * windmove.el (windmove-other-window-loc): Revert change from
2026         2013-12-04.
2027         (windmove-find-other-window): Call window-in-direction.
2028         * window.el (window-in-direction): New arguments SIGN, WRAP and
2029         MINI to emulate original windmove-find-other-window behavior.
2031 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
2033         * simple.el (blink-matching--overlay): New variable.
2034         (blink-matching-open): Instead of moving point, highlight the
2035         matching paren with an overlay
2036         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2038         * faces.el (paren-showing-faces, show-paren-match)
2039         (show-paren-mismatch): Move from paren.el.
2041 2013-12-13  Leo Liu  <sdl.web@gmail.com>
2043         * indent.el (indent-region): Disable progress reporter in
2044         minibuffer.  (Bug#16108)
2046         * bindings.el (visual-order-cursor-movement): Fix version.
2048 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2050         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2051         Also match after beginning of line.
2052         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2053         files.  Thanks to Russell Sim.  (Bug#15378)
2055 2013-12-13  Juri Linkov  <juri@jurta.org>
2057         * simple.el <Keypad support>: Remove key bindings duplicated
2058         with bindings.el.  (Bug#14397)
2060 2013-12-13  Juri Linkov  <juri@jurta.org>
2062         * comint.el (comint-mode-map): Replace `delete-char' with
2063         `delete-forward-char'.  (Bug#16109)
2065 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2067         * progmodes/python.el (python-indent-calculate-indentation):
2068         Fix de-denters cornercase.  (Bug#15731)
2070 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2072         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2073         (advice--make): Pay attention to `depth'.
2074         (advice--make-1): Don't autoload commands eagerly.
2075         * emacs-lisp/elp.el (elp-instrument-function):
2076         * emacs-lisp/trace.el (trace-function-internal):
2077         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2079         * iswitchb.el (iswitchb-mode): Don't belittle ido.
2081 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
2083         * term/w32-win.el (w32-handle-dropped-file):
2084         * startup.el (normal-top-level):
2085         * net/browse-url.el (browse-url-file-url):
2086         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2087         decode file names using 'utf-8' rather than
2088         file-name-coding-system.
2090 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2092         * progmodes/python.el (python-indent-context)
2093         (python-indent-calculate-indentation): Fix auto-identation
2094         behavior for comment blocks.  (Bug#15916)
2096 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2098         * progmodes/python.el (python-indent-calculate-indentation):
2099         When determining indentation, don't treat "return", "pass", etc., as
2100         operators when they are just string constituents.  (Bug#15812)
2102 2013-12-12  Juri Linkov  <juri@jurta.org>
2104         * uniquify.el (uniquify-buffer-name-style): Change default to
2105         `post-forward-angle-brackets'.
2107         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2108         `uniquify'.  Change default to `post-forward-angle-brackets'.
2110 2013-12-11  Glenn Morris  <rgm@gnu.org>
2112         * emacs-lisp/package.el (finder-list-matches):
2113         Autoload rather than falsely declaring.
2115 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
2117         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2118         (eww-mode-map): Use them.
2120 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
2122         * window.el (display-buffer-in-side-window): Fix doc-string
2123         (Bug#16115).
2125 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
2127         * vc/vc-git.el: Silence byte-compiler warnings.
2128         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2129         (log-edit-set-header): Declare.
2131 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
2133         * Makefile.in (custom-deps, finder-data): Run output file names
2134         through unmsys--file-name.  (Bug#16099)
2136 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2138         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2139         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2141         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2142         instead of deleting the selection "by hand" (bug#16098).
2143         Rely on insert-for-yank to yank rectangles.
2144         (cua-highlight-region-shift-only): Mark obsolete.
2145         (cua-mode): Don't enable/disable transient-mark-mode,
2146         shift-select-mode (cua-mode works both with and without them), and
2147         pc-selection-mode (obsolete).
2148         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2149         (cua--deactivate-rectangle): Deactivate it.
2151         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2152         (delete-selection-helper): Make sure yank starts at the top of the
2153         deleted region.
2154         (minibuffer-keyboard-quit): Use region-active-p.
2156         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2158         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2159         to `delete' (bug#16109).
2161 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2163         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2164         info manual and show keybindings and set `:group' keyword.
2166 2013-12-11  Juri Linkov  <juri@jurta.org>
2168         * delsel.el (delete-active-region): Let-bind `this-command'
2169         to prevent `kill-region' from changing its original value.
2170         (delete-selection-helper): Handle `overwrite-mode' for the type
2171         `kill' exactly the same way as for the type `t'.
2172         (insert-char, quoted-insert, reindent-then-newline-and-indent):
2173         Support more commands.  (Bug#13312)
2175 2013-12-11  Juri Linkov  <juri@jurta.org>
2177         * bindings.el: Map kp keys to non-kp keys systematically
2178         with basic modifiers control, meta and shift.  (Bug#14397)
2180 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2182         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2183         "Close browser" menu items.  Fix wrong function of "List
2184         bookmarks".
2186 2013-12-11  Juri Linkov  <juri@jurta.org>
2188         * misearch.el (multi-isearch-buffers): Set the value of
2189         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2190         arg of isearch-forward to t.
2191         (multi-isearch-buffers-regexp): Set the value of
2192         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2193         arg of isearch-forward-regexp to t.
2194         (multi-isearch-files): Set the value of
2195         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2196         arg of isearch-forward to t.
2197         (multi-isearch-files-regexp): Set the value of
2198         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
2199         arg of isearch-forward-regexp to t.  (Bug#16035)
2201         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2202         arg of isearch-forward to t.
2203         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2204         arg of isearch-forward-regexp to t.
2205         (dired-isearch-filter-filenames): Remove unnecessary check for
2206         `dired-isearch-filenames'.
2208         * comint.el (comint-history-isearch-backward):
2209         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2210         (comint-history-isearch-backward-regexp):
2211         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2213 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
2215         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2216         unmsys--file-name.  (Bug#16099)
2218 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
2220         * emacs-lisp/package.el (package-keyword-button-action):
2221         Remove finder.el require dependency.
2223 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
2225         * emacs-lisp/package.el: Require finder.el.
2226         (describe-package-1): Add keyword buttons.
2227         (package-make-button): New convenience function.
2228         (package-keyword-button-action): Keyword button action using
2229         `finder-list-matches'.
2231 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
2233         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2234         last commit.
2236 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
2238         * autorevert.el (auto-revert-notify-add-watch): Do not handle
2239         symlinked files.
2241 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2243         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2244         after the end of a percent literal.
2246 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2248         * progmodes/ruby-mode.el (ruby-forward-string): Document.
2249         Handle caret-delimited strings (Bug#16079).
2251 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2253         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2254         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2255         `ruby-parse-partial' (Bug#16078).
2257 2013-12-09  Leo Liu  <sdl.web@gmail.com>
2259         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
2261 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
2263         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2264         (js-switch-indent-offset): New option.
2265         (js--proper-indentation): Use it.  And handle the case when
2266         "default" is actually a key in an object literal.
2267         (js--same-line): New function.
2268         (js--multi-line-declaration-indentation): Use it.
2269         (js--indent-in-array-comp, js--array-comp-indentation):
2270         New functions.
2271         (js--proper-indentation): Use them, to handle array comprehension
2272         continuations.
2274 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2276         * progmodes/flymake.el (flymake-highlight-line): Re-write.
2277         (flymake-make-overlay): Remove arg MOUSE-FACE.
2278         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2280 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2283         New function.
2284         (redisplay-highlight-region-function): Use it.
2286         * emulation/cua-base.el (cua--explicit-region-start)
2287         (cua--last-region-shifted): Remove.
2288         (cua--deactivate): Use deactivate-mark.
2289         (cua--pre-command-handler-1): Don't handle shift-selection.
2290         (cua--post-command-handler-1): Don't change transient-mark-mode.
2291         (cua--select-keymaps): Use region-active-p rather than
2292         cua--explicit-region-start or cua--last-region-shifted.
2293         (cua-mode): Enable shift-select-mode.
2295 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2297         * progmodes/flymake.el (flymake-popup-current-error-menu):
2298         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
2299         (flymake-posn-at-point-as-event, flymake-popup-menu)
2300         (flymake-make-emacs-menu): Remove.  (Bug#16077)
2302 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2304         * rect.el (rectangle-mark-mode): Activate mark even if
2305         transient-mark-mode is off (bug#16066).
2306         (rectangle--highlight-for-redisplay): Fix boundary condition when point
2307         is > mark and at bolp.
2309         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2310         (region-extract-function): Use it.
2311         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2312         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2313         Delete functions.
2314         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2315         kill-ring-save, kill-region, delete-char, delete-forward-char.
2316         Ignore self-insert-iso.
2318         * emulation/cua-gmrk.el (cua--init-global-mark):
2319         Ignore `self-insert-iso'.
2321         * emulation/cua-base.el (cua--prefix-copy-handler)
2322         (cua--prefix-cut-handler): Rely on region-extract-function rather than
2323         checking cua--rectangle.
2324         (cua-delete-region): Use region-extract-function.
2325         (cua-replace-region): Delete function.
2326         (cua-copy-region, cua-cut-region): Obey region-extract-function.
2327         (cua--pre-command-handler-1): Don't do the delete-selection thing.
2328         (cua--self-insert-char-p): Ignore `self-insert-iso'.
2329         (cua--init-keymaps): Don't remap delete-selection commands.
2330         (cua-mode): Use delete-selection-mode instead of rolling our own
2331         (bug#16085).
2333         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2334         Obey region-extract-function.
2336         Make registers and delete-selection-mode work on rectangles.
2337         * register.el (describe-register-1): Don't modify the register's value.
2338         (copy-to-register): Obey region-extract-function.
2339         * delsel.el (delete-active-region): Obey region-extract-function.
2341 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2343         * progmodes/flymake.el (flymake, flymake-error-bitmap)
2344         (flymake-warning-bitmap, flymake-fringe-indicator-position)
2345         (flymake-compilation-prevents-syntax-check)
2346         (flymake-start-syntax-check-on-newline)
2347         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2348         (flymake-start-syntax-check-on-find-file, flymake-log-level)
2349         (flymake-xml-program, flymake-master-file-dirs)
2350         (flymake-master-file-count-limit)
2351         (flymake-allowed-file-name-masks): Relocate.
2352         (flymake-makehash, flymake-float-time)
2353         (flymake-replace-regexp-in-string, flymake-split-string)
2354         (flymake-get-temp-dir): Remove.
2355         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2356         (flymake-current-row, flymake-selected-frame)
2357         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2358         related functions.  (Bug#16077)
2360 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
2362         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2364 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
2366         * help-fns.el (describe-function-1): Use new advice-* functions
2367         rather than old ad-* functions.  Fix function type description and
2368         source links for advised functions and subrs.
2370 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2372         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2374 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
2376         * progmodes/compile.el (compilation-start):
2377         * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
2379         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2380         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
2382 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2384         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2385         Touch up the last change.
2387 2013-12-06  Leo Liu  <sdl.web@gmail.com>
2389         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2390         (inferior-octave-startup): Always use "octave> " for prompt.
2391         (octave-goto-function-definition)
2392         (octave-sync-function-file-names)
2393         (octave-find-definition-default-filename): Remove redundant backquotes.
2395 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2397         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2398         syntax for `?'.
2399         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2400         where appropriate already.
2401         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2402         end of method names (Bug#15874).
2404 2013-12-06  Juri Linkov  <juri@jurta.org>
2406         * isearch.el (isearch--saved-overriding-local-map):
2407         New internal variable.
2408         (isearch-mode): Set it to the initial value of
2409         `overriding-terminal-local-map'.
2410         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2411         with `isearch--saved-overriding-local-map'.  (Bug#16035)
2413 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2415         * progmodes/octave.el (inferior-octave-completion-table):
2416         Turn back into function, use `completion-table-with-cache'
2417         (Bug#11906).  Update all references.
2419         * minibuffer.el (completion-table-with-cache): New function.
2421 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2423         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2425 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
2427         * net/eww.el (eww-current-source): New variable to store page
2428         source.
2429         (eww-display-html, eww-mode, eww-save-history)
2430         (eww-restore-history): Use it.
2431         (eww-view-source): New command to view page source.
2432         Opportunistically uses `html-mode' to highlight the buffer.
2433         (eww-mode-map): Install it.
2435 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
2437         * net/dbus.el (dbus-unregister-service)
2438         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2439         Fix docstring.
2440         (dbus-unregister-service): Skip :serial entries in
2441         `dbus-registered-objects-table'.
2442         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2444 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
2446         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2447         around keywords with extra `split-string' argument.
2449 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
2451         * windmove.el (windmove-other-window-loc): Handle navigation
2452         between windows (excluding the minibuffer window - Bug#16017).
2454 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
2456         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2457         in D-Bus type syntax.
2458         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2459         preserve unibyte strings.  (Bug#16048)
2461 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2463         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2464         Call force-mode-line-update is the proper buffer (bug#16042).
2466 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
2468         * vc/log-edit.el (log-edit-add-new-comment): Rename to
2469         `log-edit-remember-comment', make argument optional.  Adjust all
2470         callers.
2471         (log-edit-mode): Add `log-edit-remember-comment' to
2472         `kill-buffer-hook' locally.
2473         (log-edit-kill-buffer): Don't remember comment explicitly since
2474         the buffer is killed anyway.
2476 2013-12-04  Juri Linkov  <juri@jurta.org>
2478         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2479         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
2481 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
2483         * notifications.el (notifications-close-notification): Call the
2484         D-Bus method with ID being a `:uint32'.  (Bug#16030)
2486 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2488         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2490 2013-12-03  Juri Linkov  <juri@jurta.org>
2492         * progmodes/compile.el (compilation-start): Rename window alist
2493         entry `no-display-ok' to `allow-no-window'.
2495         * simple.el (shell-command): Add window alist entry
2496         `allow-no-window' to `display-buffer'.
2497         (async-shell-command): Doc fix.
2499         * window.el (display-buffer-no-window): New action function.
2500         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
2502 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2504         * vc/log-edit.el (log-edit-set-header): Extract from
2505         `log-edit-toggle-header'.
2506         (log-edit-extract-headers): Separate the summary, when extracted
2507         from header, from the rest of the message with an empty line.
2509         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2510         line, if present, to the Summary header.
2512 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2514         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2515         in current-buffer (bug#16029).
2517 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
2519         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2520         (debugger-mode-map): Bind it.
2521         (debugger--backtrace-base): New function.
2522         (debugger-eval-expression): Use it.
2523         (debugger-frame-number): Skip local vars when present.
2524         (debugger--locals-visible-p, debugger--insert-locals)
2525         (debugger--show-locals, debugger--hide-locals): New functions.
2527 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
2529         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2530         "LC_ALL".
2531         (tramp-get-remote-locale): New defun.
2532         (tramp-open-connection-setup-interactive-shell): Use it.
2534 2013-12-02  Leo Liu  <sdl.web@gmail.com>
2536         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
2538         * progmodes/sh-script.el (sh-shell-process):
2539         * progmodes/octave.el (inferior-octave-process-live-p):
2540         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2541         (gdb-inferior-io-sentinel):
2542         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2544 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2546         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2547         `save-selected-window' to `log-edit-hide-buf'.  This makes
2548         `log-edit-show-files' idempotent.
2549         (log-edit-show-files): Mark the new window as dedicated.
2551 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2553         * vc/log-edit.el (log-edit-mode-map): Add binding for
2554         `log-edit-kill-biffer'.
2555         (log-edit-hide-buf): Add a FIXME comment.
2556         (log-edit-add-new-comment): New function, extracted from
2557         `log-edit-done'.
2558         (log-edit-done, log-edit-add-to-changelog): Use it.
2559         (log-edit-kill-buffer): New command.
2561 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2563         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2564         instead of killing the buffer.
2566 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2568         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2570 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2572         * net/eww.el (eww-form-checkbox-selected-symbol)
2573         (eww-form-checkbox-symbol): New customizable variable.
2574         (eww-form-checkbox, eww-toggle-checkbox):
2575         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2577         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2578         (shr--get-media-pref, shr--extract-best-source): New function.
2579         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2580         no :src tag was specified.
2582         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2583         (eww-render): Handle `eww-use-external-browser-for-content-type'.
2584         Use \\` to match beginning of string instead of ^.
2585         (eww-browse-with-external-browser): Provide optional URL parameter.
2586         (eww-render): Set `eww-current-title' back to "".
2588         * net/shr.el (shr-tag-video): Display content for video if no
2589         poster is available.
2590         (shr-tag-audio): Add support for <audio> tag.
2592         * net/eww.el (eww-text-input-types): New const.
2593         (eww-process-text-input): Treat input types in
2594         `eww-text-input-types' as text.
2596         * net/shr.el (shr-tag-table): Fix comment typo.
2598 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2600         * net/eww.el (eww-follow-link): New command to avoid reloading
2601         pages when we follow #target links (bug#15243).
2602         (eww-quit): Special mode buffers shouldn't query before exiting.
2604 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2606         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2607         forms.
2609 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2611         * net/eww.el (eww-restore-history): Update the window title after
2612         moving in the history.
2613         (eww-current-dom): New variable used to save the current DOM.
2615 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
2617         * vc/log-edit.el (log-edit-mode-map): Add binding for
2618         `log-edit-beginning-of-line'.
2619         (log-edit-setup-add-author): New user option.
2620         (log-edit-beginning-of-line): New command.
2621         (log-edit): Move major mode call above the contents setup so that
2622         the local variable values are already applied.
2623         (log-edit): Only insert "Author: " when
2624         `log-edit-setup-add-author' is non-nil.
2625         (log-edit): When SETUP is non-nil, position point after ": "
2626         instead of point-min.
2628 2013-12-01  Glenn Morris  <rgm@gnu.org>
2630         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2632 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
2634         * startup.el (fancy-splash-frame): On MS-Windows, trigger
2635         redisplay to make sure the initial frame gets a chance to become
2636         visible.  (Bug#16014)
2638 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
2640         Support resizing frames and windows pixelwise.
2641         * cus-start.el (frame-resize-pixelwise)
2642         (window-resize-pixelwise): New entries.
2643         * emacs-lisp/debug.el (debug): Use window-total-height instead
2644         of window-total-size.
2645         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2646         * help.el (describe-bindings-internal): Call help-buffer
2647         (temp-buffer-max-width): New option.
2648         (resize-temp-buffer-window, help-window-setup)
2649         (with-help-window): Rewrite.
2650         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
2651         dragging dividers.
2652         * window.el (frame-char-size, window-min-pixel-height)
2653         (window-safe-min-pixel-height, window-safe-min-pixel-width)
2654         (window-min-pixel-width, window-safe-min-pixel-size)
2655         (window-combination-p, window-safe-min-size)
2656         (window-resizable-p, window--size-to-pixel)
2657         (window--pixel-to-size, window--resize-apply-p): New functions.
2658         (window-safe-min-height): Fix doc-string.
2659         (window-size, window-min-size, window--min-size-1)
2660         (window-sizable, window-sizable-p, window--min-delta-1)
2661         (window-min-delta, window--max-delta-1, window-max-delta)
2662         (window--resizable, window--resizable-p, window-resizable)
2663         (window-full-height-p, window-full-width-p, window-at-side-p)
2664         (window--in-direction-2, window-in-direction)
2665         (window--resize-reset-1, window--resize-mini-window)
2666         (window-resize, window-resize-no-error)
2667         (window--resize-child-windows-normal)
2668         (window--resize-child-windows, window--resize-siblings)
2669         (window--resize-this-window, window--resize-root-window)
2670         (window--resize-root-window-vertically)
2671         (adjust-window-trailing-edge, enlarge-window, shrink-window)
2672         (maximize-window, minimize-window, delete-window)
2673         (quit-restore-window, window-split-min-size, split-window)
2674         (balance-windows-2, balance-windows)
2675         (balance-windows-area-adjust, balance-windows-area)
2676         (window--state-get-1, window-state-get, window--state-put-1)
2677         (window--state-put-2, window-state-put)
2678         (display-buffer-record-window, window--display-buffer):
2679         Make functions handle pixelwise sizing of windows.
2680         (display-buffer--action-function-custom-type)
2681         (display-buffer-fallback-action):
2682         Add display-buffer-in-previous-window.
2683         (display-buffer-use-some-window): Resize window to height it had
2684         before.
2685         (fit-window-to-buffer-horizontally): New option.
2686         (fit-frame-to-buffer): Describe new values.
2687         (fit-frame-to-buffer-bottom-margin): Replace with
2688         fit-frame-to-buffer-margins.
2689         (window--sanitize-margin): New function.
2690         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2691         using window-text-pixel-size.
2693 2013-11-30  Glenn Morris  <rgm@gnu.org>
2695         * emacs-lisp/bytecomp.el (byte-compile-form):
2696         Make the `interactive-only' warning like the `obsolete' one.
2697         * comint.el (comint-run):
2698         * files.el (insert-file-literally, insert-file):
2699         * replace.el (replace-string, replace-regexp):
2700         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2701         (goto-line, insert-buffer, next-line, previous-line):
2702         Tweak `interactive-only' spec.
2704         Stop keeping (most) generated cedet grammar files in the repository.
2705         * Makefile.in (semantic): New.
2706         (compile-main): Depend on semantic.
2708 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2710         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2711         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2713         * uniquify.el (uniquify-buffer-name-style): Change default.
2715         * loadup.el: Preload "uniquify".
2717         * time.el (display-time-update): Update all mode lines (bug#15999).
2719         * electric.el (electric-indent-mode): Enable by default.
2720         * loadup.el: Preload "electric".
2722 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
2724         * emacs-lisp/helpers.el (string-empty-p): New function.
2725         (string-blank-p): New function.
2727 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
2729         * imenu.el (imenu--index-alist): Add missing dot to the docstring
2730         (Bug#14029).
2732 2013-11-29  Andreas Politz  <politza@fh-trier.de>
2733         * imenu.el (imenu--subalist-p): Don't error on non-conses and
2734         allow non-lambda lists as functions.
2735         (imenu--in-alist): Don't recurse into non-subalists.
2736         (imenu): Don't pass function itself as an argument (Bug#14029).
2738 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2740         * progmodes/python.el (python-mode-map): Remove binding for ":".
2741         (python-indent-electric-colon): Remove command.
2742         (python-indent-post-self-insert-function): Integrate the previous code
2743         of python-indent-electric-colon.  Make it conditional on
2744         electric-indent-mode.
2745         (python-mode): Add ?: to electric-indent-chars.
2746         Move python-indent-post-self-insert-function to the end of
2747         post-self-insert-hook.
2749 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2751         * doc-view.el (doc-view-goto-page): Update mode-line.
2753         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2755 2013-11-27  Glenn Morris  <rgm@gnu.org>
2757         * international/charprop.el, international/uni-bidi.el:
2758         * international/uni-category.el, international/uni-combining.el:
2759         * international/uni-comment.el, international/uni-decimal.el:
2760         * international/uni-decomposition.el, international/uni-digit.el:
2761         * international/uni-lowercase.el, international/uni-mirrored.el:
2762         * international/uni-name.el, international/uni-numeric.el:
2763         * international/uni-old-name.el, international/uni-titlecase.el:
2764         * international/uni-uppercase.el:
2765         Remove generated files from VCS repository.
2767 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
2769         * filenotify.el (file-notify-add-watch): Don't special-case
2770         w32notify when computing the directory to watch.
2772 2013-11-27  Glenn Morris  <rgm@gnu.org>
2774         Make bootstrap without generated uni-*.el files possible again.
2775         * loadup.el: Update command-line-args checking for unidata-gen.
2776         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2777         * composite.el, international/characters.el:
2778         Handle unicode tables being undefined.
2780         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2781         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2782         (compile-main): Depend on leim rule.
2783         (leim): New rule.
2784         * loadup.el: Move leim-list.el to leim/ subdirectory.
2785         * startup.el (normal-top-level): No more leim directory.
2786         * international/ja-dic-cnv.el (skkdic-convert):
2787         Disable version-control and autoloads in output files.
2788         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2789         Disable version-control and autoloads in output files.
2790         * leim/quail: Move here from ../leim.
2791         * leim/quail/hangul.el (hangul-input-method-activate):
2792         Add autoload cookie.
2793         (generated-autoload-load-name): Set file-local value.
2794         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2795         (generated-autoload-load-name): Set file-local value.
2797 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2799         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2800         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2801         (eww-quit): Ask confirmation before quitting eww.
2803 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2805         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2806         reading output from Diff on MS-Windows and MS-DOS.
2808 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2810         * emacs-lisp/helpers.el (string-reverse): New function.
2812 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2814         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2815         names on MS Windows, like "/[::1]:".
2817         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2818         SWITCHES.
2820 2013-11-26  Glenn Morris  <rgm@gnu.org>
2822         * progmodes/python.el (python-indent-guess-indent-offset):
2823         Avoid corner-case error.  (Bug#15975)
2825         Preload leim-list.el.  (Bug#4789)
2826         * loadup.el: Load leim-list.el when found.
2827         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2829 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2831         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2833         * emacs-lisp/helpers.el (string-join): New function.
2835 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2837         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2838         Mark as obsolete and replace it with a symbol property.
2839         (byte-compile-form): Use new 'interactive-only property.
2840         * comint.el, files.el, replace.el, simple.el:
2841         Apply new 'interactive-only properly.
2843 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2845         * window.el (display-buffer-at-bottom): Make sure that
2846         split-window-sensibly creates the new window on bottom
2847         (Bug#15961).
2849 2013-11-23  David Kastrup  <dak@gnu.org>
2851         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2852         on the conflict markers when available.
2853         (smerge--get-marker): New function.
2854         (smerge-end-re, smerge-base-re): Add subgroup.
2856 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2858         * frame.el (handle-focus-in, handle-focus-out): Add missing
2859         interactive spec.
2861 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2863         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2864         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2866 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2868         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2869         (gomoku--last-pos): New var.
2870         (gomoku--intangible-chars): New const.
2871         (gomoku--intangible): New function.
2872         (gomoku-mode): Use it.  Derive from special-mode.
2873         (gomoku-move-up): Adjust line count.
2874         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2875         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2876         Simplify accordingly.
2878         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2879         Remove blink-cursor code.
2880         (blink-cursor-timer-function, blink-cursor-suspend):
2881         Don't special-case GUIs.
2882         (blink-cursor-mode): Use focus-in/out-hook.
2884 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2886         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2887         work when annotation is invisible (Bug#13886).
2889 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
2891         * json.el (json-alist-p): Only return non-nil if the alist has
2892         simple keys (Bug#13518).
2894 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
2896         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2897         when control-statement is the first statement in a buffer (Bug#15956).
2899 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
2901         * imenu.el (imenu-generic-skip-comments-and-strings):
2902         New option (Bug#15560).
2903         (imenu--generic-function): Use it.
2905 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
2907         * minibuffer.el (completion--in-region-1): Scroll the correct window.
2908         (Bug#13898)
2910 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
2912         * emacs-lisp/helpers.el: Add some string helpers.
2913         (string-trim-left): Removes leading whitespace.
2914         (string-trim-right): Removes trailing whitespace.
2915         (string-trim): Removes leading and trailing whitespace.
2917         * subr.el (string-suffix-p): New function.
2919 2013-11-23  Glenn Morris  <rgm@gnu.org>
2921         * progmodes/python.el (python-shell-send-file):
2922         Add option to delete file when done.  (Bug#15647)
2923         (python-shell-send-string, python-shell-send-region): Use it.
2925 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
2927         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2928         to set buffer-read-only to t, never to nil.  (Bug#15938)
2930         * textmodes/tex-mode.el (latex-noindent-environments):
2931         Add safe-local-variable property.  (Bug#15936)
2933 2013-11-23  Glenn Morris  <rgm@gnu.org>
2935         * textmodes/enriched.el (enriched-mode): Doc fix.
2936         * emacs-lisp/authors.el (authors-renamed-files-alist):
2937         Add enriched.doc -> enriched.txt.
2939         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2941 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2943         * progmodes/octave.el (inferior-octave-startup): Spit out error
2944         message.
2946 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
2948         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2949         Improve docstring.
2950         Add :version.
2951         (ruby-encoding-magic-comment-style): Add :version.
2953 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2955         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2956         (Bug#15076)
2957         (octave-help-mode): Adapt to change to help-mode-finish to use
2958         derived-mode-p on 2013-09-17.
2959         (inferior-octave-prompt): Also match octave-gui.
2960         (octave-kill-process): Don't ask twice.  (Bug#10564)
2962 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2964         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2965         (inferior-octave-startup, inferior-octave-check-process)
2966         (inferior-octave-track-window-width-change)
2967         (octave-completion-at-point, octave-eldoc-function): Use it.
2968         (octave-kill-process): Provide confirmation.  (Bug#10564)
2970 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2972         * progmodes/octave.el (octave-mode, inferior-octave-mode):
2973         Fix obsolete variable comment-use-global-state.
2975 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2977         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2978         Add `octave-source-file'.
2979         (octave-source-file): New function.  (Bug#15935)
2981 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
2983         * net/eww.el (eww-local-regex): New variable.
2984         (eww): Use it to detect localhost and similar.
2986 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2988         Add completion for command `ag'.
2989         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2990         (pcomplete/ag): New function.
2991         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
2993 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2995         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2996         (bug#14646).
2997         (make-obsolete): Remove interactive spec.
2999 2013-11-21  Glenn Morris  <rgm@gnu.org>
3001         * startup.el (command-line-1): Use path-separator with -L.
3003 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
3005         * emacs-lisp/package.el (describe-package-1): Add package archive
3006         to shown fields.
3008 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
3010         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3011         Change default to "# encoding: %s" to differentiate it from the
3012         default Ruby encoding comment template.
3014 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
3016         * ses.el (ses-mode): Doc fix.  (Bug#14748)
3018 2013-11-20  Leo Liu  <sdl.web@gmail.com>
3020         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
3022 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
3024         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3025         when rebase or bisect are in progress.
3027 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
3029         * filenotify.el (file-notify-add-watch): Doc fix.
3031 2013-11-19  Leo Liu  <sdl.web@gmail.com>
3033         * obsolete/rcompile.el: Mark obsolete.
3035         * progmodes/compile.el (compilation-start)
3036         (compilation-goto-locus, compilation-find-file):
3037         Pass no-display-ok and handle nil value from display-buffer.
3038         (Bug#13594)
3040         * window.el (display-buffer-alist, display-buffer): Document the
3041         new parameter no-display-ok.  Return either a window or nil
3042         but never a non-window value.
3044 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3046         * electric.el (electric-indent-mode-map): Remove.
3047         (electric-indent-mode): Change the global-map instead (bug#15915).
3049         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3050         Use add-function.
3052 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3054         * emacs-lisp/nadvice.el (remove-function): Align with
3055         add-function's behavior.
3057         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3058         (gdb--string-regexp): New constant.
3059         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3060         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3061         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3062         submatch 1.
3063         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3064         Adjust use accordingly.
3065         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3067 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
3069         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3070         interpolation curlies (Bug#15914).
3072 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3074         * calc/calc.el (calc-context-sensitive-enter): New variable.
3075         (calc-enter): Use `calc-context-sensitive-enter'.
3077 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
3079         * progmodes/cfengine.el: Version bump.
3080         (cfengine-cf-promises): New defcustom to locate cf-promises.
3081         (cfengine3-vartypes): Add new "data" type.
3082         (cfengine3--current-word): New function to get current name-like
3083         word or its bounds.
3084         (cfengine3--current-function): New function to look up a CFEngine
3085         function's definition.
3086         (cfengine3-format-function-docstring): New function.
3087         (cfengine3-make-syntax-cache): New function.
3088         (cfengine3-documentation-function): New function: ElDoc glue.
3089         (cfengine3-completion-function): New function: completion glue.
3090         (cfengine3-mode): Set `compile-command',
3091         `eldoc-documentation-function', and add to
3092         `completion-at-point-functions'.
3094 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
3096         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3097         `tramp-current-connection'.
3099 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
3101         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3102         nil/self/true/false with "end of symbol".
3104 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
3106         * subr.el (version-regexp-alist): Fix a typo.
3108 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
3110         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3111         "en_US.utf8" and "LC_CTYPE" to "".
3112         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3113         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3115 2013-11-15  Leo Liu  <sdl.web@gmail.com>
3117         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
3119 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3121         * progmodes/gud.el (ctl-x-map):
3122         Remove C-x SPC binding.  (Bug#12342)
3123         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3125 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
3127         * subr.el (version-regexp-alist):
3128         Recognize hg, svn and darcs versions as snapshot versions.
3130         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3131         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3132         (ruby--encoding-comment-required-p): Extract from
3133         `ruby-mode-set-encoding'.
3134         (ruby-mode-set-encoding): Add the ability to always insert an
3135         utf-8 encoding comment.  Fix and simplify coding comment update
3136         logic.
3138 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
3140         * net/tramp-gvfs.el (top): Run init code only when
3141         `tramp-gvfs-enabled' is not nil.
3142         (tramp-gvfs-enabled): Check also :system bus.
3144 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3146         Sync with upstream verilog-mode revision 78e66ba.
3147         * progmodes/verilog-mode.el (verilog-end-of-defun)
3148         (verilog-type-completion, verilog-get-list): Remove unused funcs.
3149         (verilog-get-end-of-defun): Remove unused argument.
3150         (verilog-comment-depth): Remove unused local `e'.
3151         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3152         Don't pass arg to verilog-get-end-of-defun.
3154 2013-11-14  Glenn Morris  <rgm@gnu.org>
3156         * obsolete/assoc.el (aget): Prefix dynamic variable.
3158         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3160 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3162         * widget.el, hfy-cmap.el: Remove bogus package version number.
3164 2013-11-13  Glenn Morris  <rgm@gnu.org>
3166         * replace.el (replace-eval-replacement):
3167         Try to give more helpful error message.  (Bug#15836)
3169         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3170         (archive-7z-update): Avoid custom type mismatches.
3172         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3174 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
3176         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3177         address can be empty.
3179         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3180         Accept nil SWITCHES.
3181         (tramp-gvfs-handle-write-region): Implement APPEND.
3183 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
3185         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3186         binary "|" operator and closing block args delimiter.
3187         Remove FIXME comment referring to Ruby 1.8-only syntax.
3188         (ruby-smie--implicit-semi-p): Not after "|" operator.
3189         (ruby-smie--closing-pipe-p): New function.
3190         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3191         (ruby-smie-rules): Indent after "|".
3193 2013-11-12  Glenn Morris  <rgm@gnu.org>
3195         * ps-print.el (ps-face-attribute-list):
3196         Handle anonymous faces.  (Bug#15827)
3198 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
3200         * window.el (display-buffer-other-frame): Fix doc-string.
3201         (Bug#15868)
3203 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3205         * subr.el (force-mode-line-update): Delete, move to buffer.c.
3207 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
3209         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3210         (tramp-sh-handle-file-local-copy): Don't write a message when
3211         saving temporary files.
3213         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3214         both directories are remote.
3215         (tramp-smb-handle-directory-files): Do not return double entries.
3216         Do not expand full file names.
3217         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3218         (tramp-smb-handle-write-region): Implement APPEND.
3219         (tramp-smb-get-stat-capability): Fix a stupid bug.
3221 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3223         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3225 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3227         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3228         throwing error over malformed let/let* (bug#15814).
3230 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3232         * iswitchb.el (iswitchb-mode): Mark obsolete.
3234 2013-11-11  Glenn Morris  <rgm@gnu.org>
3236         * international/uni-bidi.el, international/uni-category.el:
3237         * international/uni-name.el, international/uni-numeric.el:
3238         Regenerate for Unicode 6.3.0.
3240 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
3242         * net/tramp.el (tramp-methods):
3243         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3244         2013-10-29 (r114834).
3246 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
3248         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3249         Force highlighting text after Summary keyword in doc face for rpm.
3251 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
3253         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3254         available and the word has no wildcards, append one to the grep pattern.
3255         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3256         (ispell-complete-word): Call `ispell-lookup-words' with the value
3257         independent of `ispell-look-p'.
3259 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3261         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3262         Not after "||".
3263         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3264         their parent.
3266 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3268         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
3269         (ruby-font-lock-keywords): Use backquote.
3271 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3273         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3274         (ruby-smie--backward-token): Only consider full-string matches.
3276 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
3278         * faces.el (describe-face): Add distant-foreground.
3280 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
3282         * progmodes/ruby-mode.el: Improve encoding comment handling.
3283         (ruby-encoding-magic-comment-style): New option.
3284         (ruby-custom-encoding-magic-comment-template): New option.
3285         (ruby--insert-coding-comment, ruby--detect-encoding):
3286         New functions extracted from `ruby-mode-set-encoding'.
3287         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3288         to control the style of the auto-inserted encoding comment.
3290 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3292         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3293         Use `smie-backward-sexp' with token argument.
3295 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
3297         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3298         Remove instrumentation code.
3300 2013-11-08  Glenn Morris  <rgm@gnu.org>
3302         * progmodes/autoconf.el (autoconf-mode):
3303         Tweak comment-start-skip.  (Bug#15822)
3305 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3307         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3308         at bobp (bug#15826).
3309         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3311 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
3313         * man.el (Man-start-calling): New macro, extracted from
3314         Man-getpage-in-background.
3315         (Man-getpage-in-background): Use it.
3316         (Man-update-manpage): New command.
3317         (Man-mode-map): Bind it.
3319 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3321         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3322         of "and", "or", "&&" and "||".
3323         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3324         argument.  Prohibit opening curly brace because it could only be a
3325         block opener in that position.
3326         (ruby-smie--forward-token, ruby-smie--backward-token):
3327         Separate "|" from "&" or "*" going after it.  That can happen in block
3328         arguments.
3329         (ruby-smie--indent-to-stmt): New function, seeks the end of
3330         previous statement or beginning of buffer.
3331         (ruby-smie-rules): Use it.
3332         (ruby-smie-rules): Check if there's a ":" before a curly block
3333         opener candidate; if there is, it's a hash.
3335 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3337         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3338         (cl--block-wrapper): Fix last accidental change.
3340 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
3342         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3343         Instrument, in order to hunt failure on hydra.
3345 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3347         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3348         malformed bindings form (bug#15814).
3350 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
3352         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3353         "." compared to " @ ".  This incidentally fixes some indentation
3354         examples with "do".
3355         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3356         (ruby-smie-grammar): New tokens: "and" and "or".
3357         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3358         Exclude "and" and "or".  Remove "do" in order to work around token
3359         priorities.
3360         (ruby-smie-rules): Add all infix tokens.  Handle the case of
3361         beginning-of-buffer.
3363 2013-11-06  Glenn Morris  <rgm@gnu.org>
3365         * Makefile.in (setwins_almost, setwins_for_subdirs):
3366         Avoid accidental matches.
3368 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3370         * menu-bar.el (popup-menu): Use key-binding.
3372 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
3374         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3375         menus, support also the menus produced by minor modes.
3376         (Bug#15817)
3378 2013-11-06  Leo Liu  <sdl.web@gmail.com>
3380         * thingatpt.el (thing-at-point-looking-at): Add optional arg
3381         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
3383 2013-11-06  Glenn Morris  <rgm@gnu.org>
3385         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3386         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3387         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3389 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3391         * electric.el (electric-indent-just-newline): New command.
3392         (electric-indent-mode-map): New keymap.
3393         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3394         Re-add :group which weren't redundant.
3396         * electric.el (electric-indent-local-mode): New minor mode.
3397         (electric-indent-functions-without-reindent): New var.
3398         (electric-indent-post-self-insert-function): Use it.
3399         * emacs-lisp/gv.el (buffer-local-value): Add setter.
3401 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
3403         * international/quail.el (quail-help): Be more explicit about the
3404         meaning of the labels shown on the keys.  (Bug#15800)
3406         * startup.el (normal-top-level): Load the subdirs.el files before
3407         setting the locale environment.  (Bug#15805)
3409 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3411         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3412         via arguments so as to get the right ones (bug#15418).
3414         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3416 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
3418         Fix problems found while writing a test suite.
3420         * net/tramp-compat.el (tramp-compat-load): New defun.
3421         * net/tramp.el (tramp-handle-load): Use it.
3423         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3424         "(numberp ok-if-already-exists)" correctly.
3426 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
3428         * international/characters.el (glyphless-char-display-control):
3429         Add usage note.
3431 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
3433         * progmodes/python.el (python-mode):
3434         * progmodes/scheme.el (scheme-mode):
3435         * progmodes/prolog.el (prolog-mode):
3436         * progmodes/ruby-mode.el (ruby-mode):
3437         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3438         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3440 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3442         * rect.el (rectangle--highlight-for-redisplay):
3443         * emacs-lisp/smie.el (smie--next-indent-change):
3444         Use buffer-chars-modified-tick.
3446         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3448         * electric.el (electric-indent-post-self-insert-function):
3449         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3451 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
3453         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3455 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3457         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3458         (bug#15786).
3460 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3462         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
3464         * progmodes/python.el: Fix up last change.
3465         (python-shell--save-temp-file): New function.
3466         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
3467         `string' comes from the current buffer.
3468         (python-shell-send-string-no-output): Remove `msg' arg.
3469         (python--use-fake-loc): New var.
3470         (python-shell-buffer-substring): Obey it.  Try to compensate for the
3471         extra coding line added by python-shell--save-temp-file.
3472         (python-shell-send-region): Use python-shell--save-temp-file and
3473         python-shell-send-file directly.  Add `nomain' argument.
3474         (python-shell-send-buffer): Use python-shell-send-region.
3475         (python-electric-pair-string-delimiter): New function.
3476         (python-mode): Use it.
3478 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
3480         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3481         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3482         environment and decoding all of the default-directory's to here
3483         from command-line.
3484         (command-line): Decode also argv[0].
3486         * loadup.el: Error out if default-directory is a multibyte string
3487         when we are dumping.
3489         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
3491 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
3493         * emacs-lisp/package.el (package-menu-mode)
3494         (package-menu--print-info, package-menu--archive-predicate):
3495         Add Archive column to package list.
3497 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
3499         Fix problems found while writing a test suite.
3501         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3502         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3503         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3504         to nil when running original file name handler.  Otherwise,
3505         there are problems with constructs like "$$FOO".
3507         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3508         for `localname'.
3510 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
3512         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3514         * subr.el (version<, version<=, version=):
3515         Update docstrings with information for snapshot versions.
3517         * helpers.el: New library for misc helper functions.
3518         (hash-table-keys): New function returning a list of hash keys.
3519         (hash-table-values): New function returning a list of hash values.
3521 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
3523         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3524         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3526 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
3528         * textmodes/fill.el (fill-single-char-nobreak-p): New function
3529         checking whether point is after a 1-letter word.
3531 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3533         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3534         Don't infloop when expanding region over `multiline' syntax-type that
3535         begins a line (bug#15778).
3537 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3539         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3540         Make it into a proper minor mode.
3541         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3542         (rectangle-mark-mode-map): New keymap.
3543         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3545 2013-11-04  Glenn Morris  <rgm@gnu.org>
3547         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3549 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3552         (ruby-smie-rules): Use smie-rule-parent instead.
3554         * emacs-lisp/smie.el (smie-rule-parent): Always call
3555         smie-indent-virtual rather than only for hanging tokens.
3556         (smie--next-indent-change): New helper command.
3558 2013-11-03  Glenn Morris  <rgm@gnu.org>
3560         * Makefile.in (abs_srcdir): Remove.
3561         (emacs): Unset EMACSLOADPATH.
3563 2013-11-02  Glenn Morris  <rgm@gnu.org>
3565         * Makefile.in (EMACS): Use a relative filename.
3566         (abs_top_builddir): Remove.
3567         (custom-deps, finder-data, autoloads): Use --chdir.
3569         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3571         Use relative filenames in TAGS files.
3572         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3573         (lisptagsfiles4, TAGS): Use relative file names.
3574         (TAGS-LISP): Remove.
3575         (maintainer-clean): No more TAGS-LISP file.
3577         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3578         (lisptagsfiles4): Use absolute filenames again.
3579         (TAGS, TAGS-LISP): Not everything needs to run in one line.
3580         Remove all *loaddefs files, not just the first.  Remove esh-groups.
3581         (maintainer-clean): Delete TAGS, TAGS-LISP.
3583 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3585         * emacs-lisp/package.el (package-version-join):
3586         Recognize snapshot versions.
3588 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3590         * subr.el (version-regexp-alist): Add support for snapshot versions.
3592 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3594         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3595         New function, replacement for `smie-rule-parent' for when we want to
3596         skip over our direct parent if it's an assignment token..
3597         (ruby-smie-rules): Use it.
3599 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3601         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3602         unconditionally.  Remove now unnecessary forward declarations.
3603         Remove XEmacs-specific setup.
3604         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3605         (ruby-font-lock-syntactic-keywords)
3606         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3607         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3608         (ruby-here-doc-end-syntax): Remove.
3609         (ruby-mode): Don't check whether `syntax-propertize-rules' is
3610         defined as function.
3612 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3614         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3616 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3618         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3619         table and abbrev table, `define-derived-mode' does that for us
3620         anyway.
3622 2013-11-01  Glenn Morris  <rgm@gnu.org>
3624         * Makefile.in: Remove manual mh-e dependencies (writing .elc
3625         files is atomic for some time, so no parallel compilation issues).
3627 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3629         * faces.el (face-x-resources): Add :distant-foreground.
3630         (region): Use :distant-foreground for gtk and ns.
3632 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
3634         Allow multiple bibliographies when BibLaTeX is used rather than
3635         BibTeX.
3636         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3637         (reftex-locate-bibliography-files): Us it.
3639 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
3641         * image.el (image-type-header-regexps): Fix the 'pbm' part to
3642         allow comments in pbm files.
3644         * term/w32-win.el (dynamic-library-alist): Support newer versions
3645         of libjpeg starting with v7: look only for the DLL from the
3646         version against which Emacs was built.
3647         Support versions of libpng beyond 1.4.x.
3648         Support libtiff v4.x.
3650 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3652         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3653         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3654         Add property :safe.
3655         (ruby-deep-arglist): Add property :type.
3657 2013-10-31  Glenn Morris  <rgm@gnu.org>
3659         * Makefile.in (custom-deps, finder-data): No need to setq the target
3660         variables, we are in the right directory and the defaults work fine.
3662 2013-10-30  Glenn Morris  <rgm@gnu.org>
3664         * Makefile.in (autoloads): Do not use abs_lisp.
3666         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3667         `newline' does not respect `standard-output', so use `princ'.
3669 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
3671         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
3672         * buff-menu.el (Buffer-menu--unmark): New function.
3673         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3675 2013-10-30  Glenn Morris  <rgm@gnu.org>
3677         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3679         * emacs-lisp/package.el (lm-homepage): Declare.
3681         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3682         Fix doc typos.
3684         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3686         * Makefile.in (finder-data, autoloads, update-subdirs)
3687         (compile-main, compile-clean, compile-always, bootstrap-clean):
3688         Check return value of cd.
3689         (compile-calc): Remove.
3691 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3693         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3695         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3696         (byte-compile-and-folded): New function.
3697         (=, <, >, <=, >=): Use it.
3699         * dos-w32.el (minibuffer-history-case-insensitive-variables)
3700         (path-separator, null-device, buffer-file-coding-system)
3701         (lpr-headers-switches): Check system-type before modifying them.
3702         (find-buffer-file-type-coding-system): Mark obsolete.
3703         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3704         find-file-not-found-set-buffer-file-coding-system.
3705         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3706         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3707         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3708         (w32-direct-print-region-helper, w32-direct-print-region-function)
3709         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3710         * startup.el (normal-top-level-add-subdirs-to-load-path):
3711         * ps-print.el (ps-print-region-function):
3712         * lpr.el (print-region-function): Use new name.
3714         * subr.el (custom-declare-variable-early): Remove function.
3715         (custom-declare-variable-list): Remove var.
3716         (error, user-error): Remove `while' loop.
3717         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3718         (user-emacs-directory-warning, locate-user-emacs-file):
3719         Move to files.el.
3720         * simple.el (read-quoted-char-radix, read-quoted-char):
3721         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3722         Move from subr.el.
3723         * custom.el (custom-declare-variable-list): Don't process
3724         custom-declare-variable-list.
3726         * progmodes/python.el (python-shell-get-buffer): New function.
3727         (python-shell-get-process): Use it.
3728         (python-shell-send-string): Always use utf-8 and add a cookie to tell
3729         Python which encoding was used.  Don't split-string since we only care
3730         about the first line.  Return the temp-file, if applicable.
3731         (python-shell-send-region): Tell compile.el how to turn locations in
3732         the temp-file into locations in the source buffer.
3734 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3736         * subr.el (undefined): Add missing behavior from the C code for
3737         unbound keys.
3739         * rect.el: Use lexical-binding.  Add new rectangular region support.
3740         (rectangle-mark): New command.
3741         (rectangle--region): New var.
3742         (deactivate-mark-hook): Reset rectangle--region.
3743         (rectangle--extract-region, rectangle--insert-for-yank)
3744         (rectangle--highlight-for-redisplay)
3745         (rectangle--unhighlight-for-redisplay): New functions.
3746         (region-extract-function, redisplay-unhighlight-region-function)
3747         (redisplay-highlight-region-function): Use them to handle
3748         rectangular region.
3749         * simple.el (region-extract-function): New var.
3750         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3751         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3752         (kill-region): Replace obsolete `yank-handler' arg with `region'.
3753         (copy-region-as-kill, kill-ring-save): Add `region' argument.
3754         (redisplay-unhighlight-region-function)
3755         (redisplay-highlight-region-function): New vars.
3756         (redisplay--update-region-highlight): New function.
3757         (pre-redisplay-function): Use it.
3758         (exchange-point-and-mark): Don't deactivate the mark before
3759         reactivate-it anyway.
3760         * comint.el (comint-kill-region): Remove yank-handler argument.
3761         * delsel.el (delete-backward-char, backward-delete-char-untabify)
3762         (delete-char): Remove property, since it's now part of their
3763         default behavior.
3764         (self-insert-iso): Remove property since this command doesn't exist.
3766         * emacs-lisp/package.el (package--download-one-archive)
3767         (describe-package-1): Don't query the user about final newline.
3769 2013-10-29  Daniel Colascione  <dancol@dancol.org>
3771         * net/tramp.el (tramp-methods): Document new functionality.
3772         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3773         tramp-hostname-checker if method provides one instead of scanning
3774         argument list for "%h" to decide hostname acceptability.
3776 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3778         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3779         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3780         Handle COPY-CONTENTS.  (Bug#15737)
3782 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3784         * epa-file.el
3785         (epa-file-cache-passphrase-for-symmetric-encryption):
3786         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3788 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3790         * image.el (defimage):
3791         (image-load-path): Doc fixes.
3793 2013-10-27  Alan Mackenzie  <acm@muc.de>
3795         Indent statements in macros following "##" correctly.
3796         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3797         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3799 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3801         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3803 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3805         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3806         after `=' is probably a new expression.
3808 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3810         * man.el (man-imenu-title): New option.
3811         (Man-mode-map): Add menu.  (Bug#15722)
3812         (Man-mode): Add imenu to menu.
3814 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3816         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3817         specific in what the first arg can be: a non-keyword word,
3818         string/regexp/percent literal opener, opening paren, or unary
3819         operator followed directly by word.
3821 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3823         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3824         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3825         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3826         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3827         Remove vars, they do not apply any more.
3828         (prolog-mode-abbrev-table): Remove redundant declaration.
3829         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3830         (prolog-use-smie): Remove.
3831         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3832         supported by prolog-electric-if-then-else-flag.
3833         (prolog-mode-variables, prolog-menu): Use setq-local.
3834         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3835         Remove binding to `Backspace' since this key doesn't exist anyway.
3836         Remove bindings for electric self-inserting keys.
3837         (prog-mode): Assume it's defined.
3838         (prolog-post-self-insert): New function.
3839         (prolog-mode): Use it.
3840         (prolog-indent-line, prolog-indent-level)
3841         (prolog-find-indent-of-matching-paren)
3842         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3843         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3844         (prolog-goto-next-paren, prolog-in-string-or-comment)
3845         (prolog-tokenize, prolog-inside-mline-comment)
3846         (prolog-find-start-of-mline-comment): Remove functions.
3847         (prolog-find-unmatched-paren, prolog-clause-end)
3848         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3849         (prolog-electric--if-then-else): Rename from
3850         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3851         (prolog-tokenize-searchkey): Remove const.
3852         (prolog-clause-info): Use forward-sexp.
3853         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3854         (prolog-electric-if-then-else): Remove commands.
3855         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3856         for use in post-self-insert-hook.
3857         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3858         for use in post-self-insert-hook.
3859         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3860         for use in post-self-insert-hook.
3861         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3862         adapt it for use in post-self-insert-hook.
3864 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3866         * emacs-lisp/ert.el (ert-run-tests-interactively):
3867         Use `completing-read'.  (Bug#9756)
3869 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3871         * simple.el (line-move): Call line-move-1 instead of
3872         line-move-visual when the current window hscroll is zero, but
3873         temporary-goal-column indicates we will need to hscroll as result
3874         of the movement.  (Bug#15712)
3876 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3878         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3879         capitalization.  Use :visible instead of :active.
3880         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3881         commands that are used with SMIE.
3882         (ruby-do-end-to-brace): Insert space after `{'.
3884 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3886         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3888         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
3890 2013-10-25  Glenn Morris  <rgm@gnu.org>
3892         * vc/vc.el (vc-print-log): Don't use a working revision unless
3893         one was explicitly specified.  (Bug#15322)
3895 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3897         * subr.el (add-to-list): Preserve return value in compiler-macro
3898         (bug#15692).
3900 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3902         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3903         result.  Ask user to retry using '-all' flag.  (Bug#15701)
3905 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * emacs-lisp/smie.el: New smie-config system.
3908         (smie-config): New defcustom.
3909         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3910         (smie-config-guess, smie-config-save): New commands.
3911         (smie-config--mode-local, smie-config--buffer-local)
3912         (smie-config--trace, smie-config--modefuns): New vars.
3913         (smie-config--advice, smie-config--mode-hook)
3914         (smie-config--setter, smie-config-local, smie-config--get-trace)
3915         (smie-config--guess-value, smie-config--guess): New functions.
3916         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3917         text properties.  Treat "string fence" syntax like string syntax.
3919         * progmodes/sh-script.el (sh-use-smie): Change default.
3920         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3921         (sh-var-value): Simplify by CSE.
3922         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3923         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3924         is used.
3925         (sh-guess-basic-offset): Use cl-incf.
3926         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3928 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
3930         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3931         (bug#15699).
3933 2013-10-24  Glenn Morris  <rgm@gnu.org>
3935         * Makefile.in (abs_top_srcdir): Remove.
3936         (update-subdirs): Use relative path to update-subdirs.
3938 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
3940         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3941         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3942         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3943         Call unmsys--file-name before expand-file-name, not after it.
3945 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
3947         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3948         (ert-test-skipped): New error.
3949         (ert-skip, ert-stats-skipped): New defuns.
3950         (ert--skip-unless): New macro.
3951         (ert-test-skipped): New struct.
3952         (ert--run-test-debugger, ert-test-result-type-p)
3953         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3954         (ert--stats-set-test-and-result, ert-char-for-test-result)
3955         (ert-string-for-test-result, ert-run-tests-batch)
3956         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3957         Handle skipped tests.  (Bug#9803)
3959 2013-10-24  Glenn Morris  <rgm@gnu.org>
3961         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3963         * Makefile.in (abs_top_srcdir): New, set by configure.
3964         (update-subdirs): Correct build-aux location.
3966 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
3968         * vc/vc.el (vc-print-root-log): Always set `default-directory'
3969         value, whether we could auto-deduce `backend', or not.
3971         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3972         with parameters" example.  Simplify the "is it block or is it
3973         hash" check, but also make it more thorough.
3975 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
3977         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
3979 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3981         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3982         { if it is hanging.
3984         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3985         :before ";".
3987 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
3989         * progmodes/compile.el (compilation-directory-matcher)
3990         (compilation-page-delimiter):
3991         Support GNU Make-4.0 directory quoting.  (Bug#15678)
3993 2013-10-23  Leo Liu  <sdl.web@gmail.com>
3995         * ido.el (ido-tidy): Handle read-only text.
3997 2013-10-23  Glenn Morris  <rgm@gnu.org>
3999         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4000         (emacs, compile, compile-always):
4001         Quote entities that might contain whitespace.
4002         (custom-deps, finder-data, autoloads): Use abs_lisp.
4003         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4004         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4005         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4007 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
4009         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4010         Use `following-char'.
4012 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4014         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4015         * progmodes/ruby-mode.el (ruby-smie-rules):
4016         Remove corresponding workaround.  Fix indentation rule of ";" so it
4017         also applies when ";" is the parent.
4019 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
4021         * frame.el (display-screens, display-pixel-height)
4022         (display-pixel-width, display-mm-width, display-backing-store)
4023         (display-save-under, display-planes, display-color-cells)
4024         (display-visual-class, display-monitor-attributes-list):
4025         Mention the optional ‘display’ argument in doc strings.
4027 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
4029         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4030         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
4032 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4034         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4035         TODO.  Add "." after " @ ".
4036         (ruby-smie--at-dot-call): New function.  Checks if point at method
4037         call with explicit target.
4038         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4039         to the method name tokens when it precedes them.
4040         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4041         (ruby-smie-rules): Add rule for indentation before and after "."
4042         token.
4044 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4046         * textmodes/remember.el (remember-diary-extract-entries):
4047         Avoid add-to-list.
4049         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4050         an instruction.
4052 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4054         * progmodes/ruby-mode.el (ruby-smie-grammar):
4055         Add (almost) all infix operators.
4056         (ruby-smie--implicit-semi-p): Add new operator chars.
4058         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4059         `smie-down-list'.
4060         (ruby-smie--args-separator-p): Check that there's no newline
4061         between method call and its arguments.
4063 2013-10-20  Alan Mackenzie  <acm@muc.de>
4065         Allow comma separated lists after Java "implements".
4067         * progmodes/cc-engine.el (c-backward-over-enum-header):
4068         Parse commas.
4069         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4070         from a "disallowed" list in enum fontification.
4072 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
4074         * startup.el (default-frame-background-mode): Remove unused defvar.
4076         * progmodes/verilog-mode.el (verilog-mode): Don't set
4077         comment-indent-function globally.
4079 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
4081         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4082         Move Info menu item creation to ns-win.el.
4084         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4085         in menu bar.
4087         * menu-bar.el: Move GNUstep specific menus...
4089         * term/ns-win.el (ns-initialize-window-system): ... to here.
4091 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4093         * simple.el (newline): Only run post-self-insert-hook when
4094         called interactively.
4096 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
4098         * icomplete.el (icomplete-with-completion-tables): Add :version.
4100 2013-10-19  Alan Mackenzie  <acm@muc.de>
4102         Fix fontification bugs with constructors and const.
4104         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4105         CASE 2) Remove the check for the absence of a suffix construct
4106         after a function declaration with only types (no identifiers) in
4107         the parentheses.  Also, accept a function declaration with just a
4108         type inside the parentheses, if this type can be positively
4109         recognised as such, or if a prefix keyword like "explicit" nails
4110         down the construct as a declaration.
4112 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
4114         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4115         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
4116         the problem whereby selecting a menu item that leads to a
4117         minibuffer prompt moves the cursor out of the minibuffer window,
4118         making it hard to type at the prompt.  Suggested by Stefan Monnier
4119         <monnier@iro.umontreal.ca>.
4121 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
4123         * menu-bar.el: Don't make Services menu.
4125 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4127         * ffap.el: Handle "/usr/include/c++/<version>" directories.
4128         (ffap-alist): Use ffap-c++-mode for c++-mode.
4129         (ffap-c++-path): New variable.
4130         (ffap-c++-mode): New function.
4132 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
4134         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
4136 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
4138         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4139         introduced on 2013-09-08, which results in an infinite loop
4140         requesting a password.
4142 2013-10-18  Glenn Morris  <rgm@gnu.org>
4144         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4146 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
4148         Sync with upstream verilog-mode revision 1a6ecec7.
4149         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4150         (verilog-mode-release-date): Remove.
4151         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4152         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4153         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4154         (verilog-auto-tieoff-ignore-regexp)
4155         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4156         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4157         (verilog-signals-with, verilog-dir-cache-preserving)
4158         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4159         Doc fixes.
4160         (verilog-case-fold): New option, to control case folding in
4161         regexp searches, bug597.
4162         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4163         (verilog-string-match-fold, verilog-in-paren-count)
4164         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4165         (verilog-at-close-struct-p): New functions.
4166         (verilog-beg-block-re-ordered, verilog-extended-case-re)
4167         (verilog-forward-sexp, verilog-set-auto-endcomments):
4168         (verilog-leap-to-case-head): Handle "unique0" case.
4169         (verilog-in-constraint-re): New constant.
4170         (verilog-keywords, verilog-type-font-keywords):
4171         Add some SystemVerilog 1800-2012 keywords.
4172         (verilog-label-be): Remove unimplemented argument, bug669.
4173         (verilog-batch-execute-func): When batch expanding clear
4174         create-lockfiles to prevent spurious user locks when a file ends
4175         up not changing.
4176         (verilog-calculate-indent, verilog-calc-1)
4177         (verilog-at-close-constraint-p, verilog-at-constraint-p)
4178         (verilog-do-indent): Fix indentation of nested constraints
4179         and structures.
4180         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4181         (verilog-auto-inst-param): Use verilog-string-match-fold.
4182         (verilog-read-inst-module-matcher):
4183         Fix AUTOINST on gate primitives with #1.
4184         (verilog-read-decls): Fix double-declaring user-defined typed signals.
4185         Reads all user-defined typed variables.
4186         (verilog-read-defines): Fix reading definitions inside comments, bug647.
4187         (verilog-signals-matching-regexp)
4188         (verilog-signals-not-matching-regexp, verilog-auto):
4189         Respect verilog-case-fold.
4190         (verilog-diff-report): Fix line count.
4191         (verilog-auto-assign-modport): Remove unused local `modi'.
4192         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4193         better handle multidimensional arrays.
4194         Fix packed array ports misadding bit index in AUTOINST, bug637.
4195         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4196         to not double-declare existing outputs and inputs, respectively.
4197         (verilog-template-map): Bind U to verilog-sk-uvm-component.
4198         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4199         (verilog-sk-uvm-component): New skeleton.
4200         (verilog-submit-bug-report): Add verilog-case-fold,
4201         remove verilog-mode-release-date.
4203 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
4205         * subr.el (sit-for): Call (input-pending-p t) so as to behave
4206         as before.
4208 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
4210         * textmodes/remember.el (remember): Set buffer-offer-save in
4211         remember buffers (bug#13566).
4213 2013-10-18  Daniel Colascione  <dancol@dancol.org>
4215         When evaluating forms in ielm, direct standard output to ielm
4216         buffer.  Add new ielm-return-for-effect command.  Remove trailing
4217         whitespace throughout.
4219         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4220         (ielm-return-for-effect): New command.
4221         (ielm-send-input): Accept optional `for-effect' parameter.
4222         (ielm-eval-input): Accept optional `for-effect' parameter.
4223         Bind `standard-output' to stream we create using
4224         `ielm-standard-output-impl'.  Suppress printing result when
4225         `for-effect'.
4226         (ielm-standard-output-impl): New function.
4227         (inferior-emacs-lisp-mode): Explain new features in documentation.
4229 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
4231         Code cleanup.
4233         * net/tramp.el (tramp-debug-message): Do not check for connection
4234         buffer.
4235         (tramp-message): Use "vector" connection property.
4237         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4238         (tramp-equal-remote, tramp-eshell-directory-change)
4239         * net/tramp-adb.el (tramp-adb-handle-copy-file)
4240         (tramp-adb-handle-rename-file)
4241         * net/tramp-cmds.el (tramp-list-remote-buffers)
4242         (tramp-cleanup-connection, tramp-cleanup-this-connection)
4243         * net/tramp-compat.el (tramp-compat-process-running-p)
4244         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4245         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4246         (tramp-gvfs-handle-rename-file)
4247         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4248         (tramp-set-file-uid-gid)
4249         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4250         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4251         of `file-remote-p'.
4253         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4254         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4255         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4256         (tramp-gw-open-network-stream): Suppress unrelated traces.
4258         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4259         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4260         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4261         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4262         connection property.
4264         * net/tramp-cache.el (top): Suppress traces when reading
4265         persistency file.
4267         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4268         Refactor common code.  Improve debug message.
4269         (tramp-maybe-open-connection)
4270         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4271         connection buffer too early.
4273         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4274         from `tramp-smb-actions-with-acl'.
4275         (tramp-smb-actions-set-acl): New defconst.
4276         (tramp-smb-handle-copy-directory)
4277         (tramp-smb-action-get-acl): New defun, renamed from
4278         `tramp-smb-action-with-acl'.
4279         (tramp-smb-action-set-acl): New defun.
4280         (tramp-smb-handle-set-file-acl): Rewrite.
4282 2013-10-17  Glenn Morris  <rgm@gnu.org>
4284         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
4286 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4288         * skeleton.el (skeleton-newline): Remove.
4289         (skeleton-internal-1): Use (insert "\n") instead.
4291         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4292         let-bindings.
4294         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4295         forward-sexp-function while we redo its job (bug#15613).
4297 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
4299         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4300         represented by lists.
4302 2013-10-16  Glenn Morris  <rgm@gnu.org>
4304         * tmm.el (tmm--history): New dynamic variable.
4305         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
4307 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
4309         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4310         (tramp-smb-errors): Add error messages.
4311         (tramp-smb-actions-with-acl): New defconst.
4312         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4313         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4314         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4315         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4316         (tramp-smb-get-stat-capability): Fix tests.
4318 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4320         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4321         (bug#15580).
4323 2013-10-16  Glenn Morris  <rgm@gnu.org>
4325         * ansi-color.el (ansi-color-drop-regexp):
4326         Add 1J, 1K, 2K.  (Bug#15617)
4328         * files.el (hack-local-variables--warned-lexical): New.
4329         (hack-local-variables):
4330         Warn about misplaced lexical-binding.  (Bug#15616)
4332         * net/eww.el (eww-render): Always set eww-current-url,
4333         and update header line.  (Bug#15622)
4334         (eww-display-html): ... Rather than just doing it here.
4336 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
4338         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4339         menu navigations commands.
4341 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4343         * progmodes/subword.el (subword-capitalize): Be careful when
4344         the search for [[:alpha:]] fails (bug#15580).
4346 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
4348         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4349         to commands that scroll the menu.
4351 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
4353         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4354         Handle methods ending with `?' and `!'.
4356 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
4358         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4359         `japanese-cp932' to `cp932' to fix the problem where saving a
4360         source file written in Shift_JIS twice would end up having
4361         `coding: japanese-cp932' which Ruby could not recognize.
4362         (ruby-mode-set-encoding): Add support for encodings mapped to nil
4363         in `ruby-encoding-map'.
4364         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4365         doesn't need to be explicitly declared in magic comment.
4366         (ruby-encoding-map): Add type declaration for better customize UI.
4368 2013-10-13  Glenn Morris  <rgm@gnu.org>
4370         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4371         Occur buffers are read-only.  http://bugs.debian.org/720775
4373         * emacs-lisp/authors.el (authors-fixed-entries):
4374         Comment out old alpha stuff.
4376 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
4378         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4379         to `after-save-hook' instead of `before-save-hook'.
4380         (ruby-mode-set-encoding): Use the value of coding system used to
4381         write the file.  Call `basic-save-buffer-1' after modifying the
4382         buffer.
4384 2013-10-13  Alan Mackenzie  <acm@muc.de>
4386         Fix indentation/fontification of Java enum with
4387         "implements"/generic.
4389         * progmodes/cc-engine.el (c-backward-over-enum-header):
4390         Extracted from the three other places and enhanced to handle generics.
4391         (c-inside-bracelist-p): Uses new function above.
4392         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4393         function above.
4394         (c-font-lock-enum-tail): Uses new function above.
4396 2013-10-13  Kenichi Handa  <handa@gnu.org>
4398         * international/mule-cmds.el (select-safe-coding-system): Remove a
4399         superfluous condition in chekcing whether a coding system is safe
4400         or not.
4402 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
4404         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
4406 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
4408         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
4410 2013-10-13  Glenn Morris  <rgm@gnu.org>
4412         * menu-bar.el (menu-bar-update-buffers):
4413         Unify Buffers menu prompt string.  (Bug#15576)
4415         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
4417         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4418         Add some entries.
4419         (authors-fixed-entries): Use accented form of name.
4421 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4423         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4424         method calls (bug#15594).
4425         (ruby-smie--args-separator-p): New function.
4426         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4427         recognize paren-free method calls.
4429         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4430         internals of universal-argument.
4432 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
4434         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4435         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4436         dropped menu on second mouse click on the menu bar.
4438 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4440         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4441         (explicit-shell-file-name): Declare.
4442         (sh--vars-before-point, sh--cmd-completion-table): New functions.
4443         (sh-completion-at-point-function): New function.
4444         (sh-mode): Use it.
4445         (sh-smie--keyword-p): Remove unused argument.
4446         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4447         vars.
4448         (sh-set-shell): Always setup SMIE, even if we use the
4449         old indentation code.
4451 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
4453         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4454         cases of ? and =.
4455         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
4456         predicate would return nil are almost non-existent.
4457         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4459         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4460         cache also after commands that modify the buffer but don't move
4461         point.
4463 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4465         * env.el (substitute-env-in-file-name): New function.
4466         (substitute-env-vars): Extend the meaning of the optional arg.
4468 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
4470         * term/w32-win.el (dynamic-library-alist): Define separate lists
4471         of GIF DLLs for versions before and after 5.0.0 of giflib.
4472         (Bug#15531)
4474 2013-10-10  João Távora  <joaotavora@gmail.com>
4476         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4477         not locked, use last revision and current source as
4478         defaults.  (Bug#15569)
4480 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
4482         * menu-bar.el (menu-bar-open): Don't use popup-menu if
4483         menu-bar is hidden.
4485 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
4487         * window.el (pop-to-buffer-same-window): Fix doc-string.
4488         (Bug#15492)
4490 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4492         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4494 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
4496         * calendar/icalendar.el (icalendar-import-file):
4497         Fix interactive spec.  (Bug#15482)
4499 2013-10-10  Glenn Morris  <rgm@gnu.org>
4501         * desktop.el (desktop-save): Default to saving in .emacs.d,
4502         since PWD is no longer in desktop-path by default.  (Bug#15319)
4504         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4505         now that text mode has a menu with the same entry.
4506         (menu-bar-text-mode-auto-fill): Remove now unused func.
4507         * textmodes/text-mode.el (text-mode-map):
4508         Use auto-fill help text from menu-bar.el.
4510 2013-10-10  John Anthony  <john@jo.hnanthony.com>
4512         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
4514 2013-10-09  Juri Linkov  <juri@jurta.org>
4516         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4517         instead of this-command-keys.  Add universal-argument-more and
4518         universal-argument-minus to the list of prefix commands.  (Bug#15568)
4520 2013-10-09  Glenn Morris  <rgm@gnu.org>
4522         * vc/vc-svn.el (vc-svn-create-repo):
4523         Expand paths in file://... url.  (Bug#15446)
4525         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4526         Add some entries.
4527         (authors): Remove unused local variables.
4529 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4531         * profiler.el: Create a more coherent calltree from partial backtraces.
4532         (profiler-format): Hide the tail with `invisible' so that C-s can still
4533         find the hidden elements.
4534         (profiler-calltree-depth): Don't recurse so enthusiastically.
4535         (profiler-function-equal): New hash-table-test.
4536         (profiler-calltree-build-unified): New function.
4537         (profiler-calltree-build): Use it.
4538         (profiler-report-make-name-part): Indent the calltree less.
4539         (profiler-report-mode): Add visibility specs for profiler-format.
4540         (profiler-report-expand-entry, profiler-report-toggle-entry):
4541         Expand the whole subtree when provided with a prefix arg.
4543 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
4545         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4546         iuwu-mod token.
4547         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4548         hanging iuwu-mod token.
4549         (ruby-smie--forward-token): Do not include a dot after a token in
4550         that token.
4551         (ruby-smie--backward-token): Likewise.
4553 2013-10-08  Juri Linkov  <juri@jurta.org>
4555         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4556         to isearch-other-control-char.
4557         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4558         and isearch-post-command-hook to post-command-hook.
4559         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4560         and isearch-post-command-hook from post-command-hook.
4561         (isearch-unread-key-sequence)
4562         (isearch-reread-key-sequence-naturally)
4563         (isearch-lookup-scroll-key, isearch-other-control-char)
4564         (isearch-other-meta-char): Remove functions.
4565         (isearch-pre-command-hook, isearch-post-command-hook):
4566         New functions based on isearch-other-meta-char rewritten
4567         relying on the new behavior of overriding-terminal-local-map
4568         that does not replace the local keymaps any more.  (Bug#15200)
4570 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
4572         Support menus on text-mode terminals.
4573         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4574         functionality.
4576         * tooltip.el (tooltip-mode): Don't error out on TTYs.
4578         * menu-bar.el (popup-menu, popup-menu-normalize-position):
4579         Move here from mouse.el.
4580         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4581         and arrow keys.
4582         (tty-menu-navigation-map): New map for TTY menu navigation.
4584         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4586         * frame.el (display-mouse-p): Report text-mode mouse as available
4587         on w32.
4588         (display-popup-menus-p): Report availability if mouse is
4589         available; don't condition on window-system.
4591         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4592         (tty-menu-selected-face): New faces.
4594 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4596         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4597         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4598         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4599         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4600         New constants.
4601         (lisp-mode-variables): New `elisp' argument.
4602         (emacs-lisp-mode): Use it.
4603         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4604         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4606         * indent.el: Use lexical-binding.
4607         (indent-region): Add progress reporter.
4608         (tab-stop-list): Make it implicitly extend to infinity by repeating the
4609         last step.
4610         (indent--next-tab-stop): New function to implement this behavior.
4611         (tab-to-tab-stop, move-to-tab-stop): Use it.
4613 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
4615         * indent.el (indent-rigidly--current-indentation): New function.
4616         (indent-rigidly-map): New var.
4617         (indent-rigidly): Use it to provide interactive mode (bug#8196).
4619 2013-10-08  Bastien Guerry  <bzg@gnu.org>
4621         * register.el (insert-register): Fix 2013-10-07 change.
4623 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * progmodes/perl-mode.el: Use lexical-binding.
4626         Remove redundant :group args.
4627         (perl-nochange): Change default to be closer to other major modes's
4628         standard behavior.
4629         (perl-indent-line): Don't consider text on current line as a
4630         valid beginning of function from which to indent.
4632         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4633         with more than one argument (bug#15538).
4635         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4637         * vc/pcvs.el: Use lexical-binding.
4638         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4639         environment of `eval'.
4640         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4641         than a list of expressions.  Adjust callers.
4642         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4644 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
4646         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4647         case of the dot in a chained method call being on the following line.
4649 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4651         * electric.el (electric-indent-inhibit): New var.
4652         (electric-indent-post-self-insert-function): Use it.
4653         * progmodes/python.el (python-mode): Set it.
4655         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4656         open braces.
4658         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4660         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4661         (css-mode): Use electric-indent-chars.
4663         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4664         (font-lock-beg, font-lock-end): Move before first use.
4665         (nxml-mode): Use syntax-propertize-function.
4666         (nxml-after-change, nxml-after-change1): Adjust accordingly.
4667         (nxml-extend-after-change-region): Remove.
4668         * nxml/xmltok.el: Use lexical-binding.
4669         (xmltok-save): Use `declare'.
4670         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4671         * nxml/nxml-util.el: Use lexical-binding.
4672         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4673         Use `declare'.
4674         * nxml/nxml-ns.el: Use lexical-binding.
4675         (nxml-ns-save): Use `declare'.
4676         (nxml-ns-prefixes-for): Avoid add-to-list.
4677         * nxml/rng-match.el: Use lexical-binding.
4678         (rng--ipattern): Use cl-defstruct.
4679         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4680         (rng-cons-group-after, rng-subst-group-after)
4681         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4682         Use closures instead of `(lambda...).
4684 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
4686         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4687         of BEG and END.
4689         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4690         Use `tramp-handle-insert-file-contents'.
4691         (tramp-gvfs-handle-insert-file-contents): Remove function.
4693         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4694         Use `save-restriction' in order to keep markers.
4696         * net/trampver.el: Update release number.
4698 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4700         * progmodes/compile.el (compilation-parse-errors):
4701         Use compilation--put-prop.
4702         (compilation--ensure-parse): Check compilation-multiline.
4704         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4706         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4707         lexical-binding.
4709         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4711         * progmodes/ruby-mode.el: Fix recently added tests.
4712         (ruby-smie-grammar): Add - and +.
4713         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4714         (ruby-smie--backward-id): New functions.
4715         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4716         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
4717         any more.
4719 2013-10-07  Leo Liu  <sdl.web@gmail.com>
4721         * register.el (register-preview-delay)
4722         (register-preview-functions): New variables.
4723         (register-read-with-preview, register-preview)
4724         (register-describe-oneline): New functions.
4725         (point-to-register, window-configuration-to-register)
4726         (frame-configuration-to-register, jump-to-register)
4727         (number-to-register, view-register, insert-register)
4728         (copy-to-register, append-to-register, prepend-to-register)
4729         (copy-rectangle-to-register): Use register-read-with-preview to
4730         read register.  (Bug#15525)
4732 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
4734         * net/network-stream.el (network-stream-open-starttls): Don't add
4735         --insecure if it's already present, because that gnutls-cli
4736         rejects getting that parameter twice.
4738 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
4740         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4741         keyword, too.
4743 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
4745         * newcomment.el (comment-use-global-state): Change default value
4746         to t, mark obsolete (Bug#15251).
4747         (comment-beginning): In addition to `comment-to-syntax', check the
4748         value of `comment-use-global-state'.
4750 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4752         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4753         (ruby-comment-column): Follow the global default, by default.
4754         (ruby-smie-grammar): Add assignment syntax.
4755         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4756         open-paren, a comma, or a \.
4757         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4758         and line continuations.
4759         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4760         followed by implicit semi-colons.  Add rule for string concatenation
4761         and for indentation at BOB.
4762         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4764         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4765         calling next-sexp, since next-token may have skipped chars which
4766         next-sexp doesn't know should be skipped!
4768 2013-10-05  Leo Liu  <sdl.web@gmail.com>
4770         * progmodes/octave.el (octave-send-region):
4771         Call compilation-forget-errors.
4773 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4775         * vc/vc-svn.el (vc-svn-find-admin-dir):
4776         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4777         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4778         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4779         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4781 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4783         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4785 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4787         * subr.el (read-passwd): Hide chars even when called within a context
4788         where after-change-functions is disabled (bug#15501).
4789         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4790         until we removed ourself from overriding-terminal-local-map.
4792 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4794         * progmodes/octave.el (inferior-octave-mode):
4795         Call compilation-forget-errors.
4797 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4799         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4801 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4803         * net/secrets.el (secrets-create-collection): Add optional
4804         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4805         dbus-call-method argument.  (Bug#15516)
4807 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4809         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4810         (inferior-octave-compilation-font-lock-keywords): New variables.
4811         (compilation-error-regexp-alist)
4812         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4813         (inferior-octave-mode): Use compilation-shell-minor-mode.
4815 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4817         * minibuffer.el (completion--replace): Be careful that `end' might be
4818         a marker.
4820 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4822         Add support for package signature checking.
4823         * emacs-lisp/package.el (url-http-file-exists-p)
4824         (epg-make-context, epg-context-set-home-directory)
4825         (epg-verify-string, epg-context-result-for)
4826         (epg-signature-status, epg-signature-to-string)
4827         (epg-check-configuration, epg-configuration)
4828         (epg-import-keys-from-file): Declare.
4829         (package-check-signature): New user option.
4830         (package-unsigned-archives): New user option.
4831         (package-desc): Add `signed' field.
4832         (package-load-descriptor): Set `signed' field if .signed file exists.
4833         (package--archive-file-exists-p): New function.
4834         (package--check-signature): New function.
4835         (package-install-from-archive): Check package signature.
4836         (package--download-one-archive): Check archive signature.
4837         (package-delete): Remove .signed file.
4838         (package-import-keyring): New command.
4839         (package-refresh-contents): Import default keyring.
4840         (package-desc-status): Add "unsigned" status.
4841         (describe-package-1, package-menu--print-info)
4842         (package-menu-mark-delete, package-menu--find-upgrades)
4843         (package-menu--status-predicate): Support "unsigned" status.
4845 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4847         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4848         the new compilation scheme using the new byte-codes.
4850         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4851         (byte-pophandler): New byte codes.
4852         (byte-goto-ops): Adjust accordingly.
4853         (byte-compile--use-old-handlers): New var.
4854         (byte-compile-catch): Use new byte codes depending on
4855         byte-compile--use-old-handlers.
4856         (byte-compile-condition-case--old): Rename from
4857         byte-compile-condition-case.
4858         (byte-compile-condition-case--new): New function.
4859         (byte-compile-condition-case): New function that dispatches depending
4860         on byte-compile--use-old-handlers.
4861         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4862         when we can.
4864         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4865         Optimize under `condition-case' and `catch' if
4866         byte-compile--use-old-handlers is nil.
4867         (disassemble-offset): Handle new bytecodes.
4869 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4871         * subr.el (error): Use `declare'.
4872         (decode-char, encode-char): Use advertised-calling-convention instead
4873         of the docstring to discourage use of the `restriction' arg.
4875 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4877         * epg.el (epg-verify-file): Add a comment saying that it does not
4878         notify verification error as a return value nor a signal.
4879         (epg-verify-string): Ditto.
4881 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4883         * progmodes/compile.el (compilation-start): Try globbing the arg to
4884         `cd' (bug#15417).
4886 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4888         Sync with Tramp 2.2.8.
4890         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4891         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4892         * net/trampver.el: Update release number.
4894 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
4896         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4897         and default-process-coding-system for darwin only.
4899 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4901         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4903 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
4905         * vc/vc-git.el (vc-git-grep): Disable pager.
4907 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4909         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4910         Use :url instead of :homepage, as per
4911         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4913         * newcomment.el (comment-beginning): When `comment-use-syntax' is
4914         non-nil, use `syntax-ppss' (Bug#15251).
4916 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4918         * progmodes/octave.el (inferior-octave-startup-file):
4919         Prefer ~/.emacs.d/init_octave.m.
4921 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
4923         * emacs-lisp/package.el (package-desc-from-define):
4924         Accept additional arguments as plist, convert them to an alist and store
4925         them in the `extras' slot.
4926         (package-generate-description-file): Convert extras alist back to
4927         plist and append to the `define-package' form arguments.
4928         (package--alist-to-plist): New function.
4929         (package--ac-desc): Add `extras' slot.
4930         (package--add-to-archive-contents): Check if the archive-contents
4931         vector is long enough, and if it is, pass its `extras' slot value
4932         to `package-desc-create'.
4933         (package-buffer-info): Call `lm-homepage', pass the returned value
4934         to `package-desc-from-define'.
4935         (describe-package-1): Render the homepage button (Bug#13291).
4937         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4938         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4940 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
4942         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4943         and default-process-coding-system to utf-8-unix (Bug#15402).
4945 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
4947         * subr.el (looking-back): Do not recommend using looking-back.
4949 2013-09-28  Alan Mackenzie  <acm@muc.de>
4951         Fix indentation/fontification of Java enum with "implements".
4953         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4954         regexp which matches "implements", etc., in Java.
4955         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4956         specifier clauses coming after "enum".
4957         * progmodes/cc-fonts.el (c-font-lock-declarations)
4958         (c-font-lock-enum-tail): Check for extra specifier clauses coming
4959         after "enum".
4961 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
4963         * faces.el (region): Change ns_selection_color to
4964         ns_selection_fg_color, add ns_selection_bg_color.
4966 2013-09-28  Leo Liu  <sdl.web@gmail.com>
4968         * progmodes/octave.el (inferior-octave-completion-table)
4969         (inferior-octave-completion-at-point): Minor tweaks.
4971         * textmodes/ispell.el (ispell-lookup-words): Rename from
4972         lookup-words.  (Bug#15460)
4973         (lookup-words): Obsolete.
4974         (ispell-complete-word, ispell-command-loop): All uses changed.
4976 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4978         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4979         (octave-mode-menu): Add octave-send-buffer.
4980         (octave-send-buffer): New function.
4982 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4984         * progmodes/octave.el (octave-mode-map): Add key binding for
4985         octave-lookfor.
4986         (octave-mode-menu): Add octave-lookfor.
4987         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4988         octave-lookfor.
4989         (octave-lookfor): New function.
4991 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4993         * emacs-lisp/cl-macs.el:
4994         (cl--loop-destr-temps): Remove.
4995         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4996         its convention.
4997         (cl--loop-set-iterator-function): New function.
4998         (cl-loop): Adjust accordingly, so as not to use cl-subst.
4999         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5000         Bind `it' with `let' instead of substituting it with `cl-subst'.
5001         (cl--unused-var-p): New function.
5002         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5003         Eliminate some unused variable warnings (bug#15326).
5005 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
5007         * doc-view.el (doc-view-scale-reset): Rename from
5008         `doc-view-reset-zoom-level'.
5009         (doc-view-scale-adjust): New command.
5010         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5011         `doc-view-scale-adjust'.
5013 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
5015         * doc-view.el (doc-view-reset-zoom-level): New command.
5016         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5017         zoom commands (bug#15466).
5019 2013-09-26  Kenichi Handa  <handa@gnu.org>
5021         * international/quail.el (quail-help): Make it not a command.
5023 2013-09-26  Leo Liu  <sdl.web@gmail.com>
5025         * minibuffer.el (completion-all-sorted-completions): Make args
5026         optional as they are.
5028 2013-09-25  Daniel Colascione  <dancol@dancol.org>
5030         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5031         specs are and that they're not evaluated.
5033 2013-09-24  Sam Steingold  <sds@gnu.org>
5035         * midnight.el (clean-buffer-list-kill-regexps)
5036         (clean-buffer-list-kill-buffer-names): Update for the new Man
5037         buffer naming which includes the object name.
5039 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5041         * eshell/esh-cmd.el (eshell--sep-terms): New var.
5042         (eshell-parse-command, eshell-parse-pipeline): Use it since
5043         eshell-separate-commands requires a dynamic scoped var.
5044         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5046 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5048         * autoinsert.el (auto-insert-alist): Make the value of
5049         lexical-binding match its file setting.
5051 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5053         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5055         * autoarg.el (autoarg-kp-digit-argument):
5056         * electric.el (Electric-command-loop):
5057         * kmacro.el (kmacro-step-edit-insert):
5058         Do not set universal-argument-num-events.
5060 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5062         * files.el (interpreter-mode-alist): Add octave.
5064 2013-09-21  Alan Mackenzie  <acm@muc.de>
5066         C++: fontify identifier in declaration following "public:" correctly.
5067         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5068         to match "public", etc.
5069         (c-decl-prefix-re): Add ":" into the C++ value.
5070         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5071         bit.  Add a check for a ":" preceded by "public", etc.
5073 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
5075         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5076         recognized by GDB 7.5 and later.
5078 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
5080         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5082 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * subr.el (internal--call-interactively): New const.
5085         (called-interactively-p): Use it (bug#3984).
5087 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
5089         * vc/pcvs.el (cvs-mode-ignore):
5090         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5091         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5093 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5095         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
5096         (eshell-ls-orig-insert-directory): Remove.
5097         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
5098         (eshell-ls-use-in-dired): Use advice-add/remove.
5099         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5100         Add `orig-fun' arg for use in :around advice.
5101         Make it check (redundantly) eshell-ls-use-in-dired.
5103 2013-09-19  Glenn Morris  <rgm@gnu.org>
5105         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5107         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5109         * emacs-lisp/eieio.el (class-parent): Undo previous change.
5111 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
5113         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5114         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5115         (tramp-get-remote-python): New defuns.
5116         (tramp-get-remote-uid-with-perl)
5117         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
5118         contributed by yary <not.com@gmail.com> (tiny change).
5119         (tramp-get-remote-uid-with-python)
5120         (tramp-get-remote-gid-with-python): New defuns.  Python code
5121         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5122         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5124 2013-09-19  Glenn Morris  <rgm@gnu.org>
5126         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5128         * eshell/em-unix.el (eshell-remove-entries):
5129         Rename argument to avoid name-clash with global `top-level'.
5131         * eshell/esh-proc.el (eshell-kill-process-function):
5132         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5133         (eshell-reset-after-proc): Remove unused arg `proc'.
5135         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5136         (directory-files-and-attributes): Mark unused arg.
5138         * eshell/em-unix.el (eshell-remove-entries):
5139         Remove unused arg `path'.  Update callers.
5141         * eshell/em-hist.el (eshell-hist-parse-arguments):
5142         Remove unused arg `silent'.  Update callers.
5144         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5145         Fix (f)boundp mix-up.
5147         * eshell/em-smart.el (eshell-smart-scroll-window)
5148         (eshell-disable-after-change):
5149         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5151 2013-09-18  Alan Mackenzie  <acm@muc.de>
5153         Fix fontification of type when followed by "const".
5154         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5155         "known" types from fontification.
5157 2013-09-18  Glenn Morris  <rgm@gnu.org>
5159         * emacs-lisp/chart.el (x-display-color-cells): Declare.
5160         (chart-face-list): Drop Emacsen without display-color-p.
5162         * net/eww.el (libxml-parse-html-region): Declare.
5163         (eww-display-html): Explicit error if no libxml2 support.
5165         * doc-view.el (doc-view-mode): Silence --without-x compilation.
5167         * image.el (image-type-from-buffer, image-multi-frame-p):
5168         Remove --without-x warning/error.
5170         * mouse.el (mouse-yank-primary):
5171         * term.el (term-mouse-paste):
5172         Reorder to silence --without-x compilation.
5174         * mpc.el (doc-view-mode): Silence --without-x compilation.
5176         * mail/rmailmm.el (rmail-mime-set-bulk-data):
5177         Silence --without-x compilation.
5179         * progmodes/gud.el (gud-find-file, gud-mode):
5180         Silence --without-x compilation.
5181         (tooltip-mode): Declare.
5183         * wdired.el (dired-backup-overwrite): Remove declaration.
5184         (wdired-mode-map): Add doc string.
5186         * custom.el (x-get-resource): Declare.
5188         * eshell/em-glob.el (ange-cache):
5189         * eshell/em-unix.el (ange-cache): Declare.
5191         * faces.el (x-display-list, x-open-connection, x-get-resource):
5192         Declare.
5194         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5195         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5196         Declare.
5198         * frame.el (x-display-grayscale-p, x-display-name): Declare.
5200         * net/gnutls.el (gnutls-log-level): Declare.
5202         * net/shr.el (image-size, image-animate): Declare.
5204         * simple.el (font-info): Declare.
5206         * subr.el (x-popup-dialog): Declare.
5208         * term/common-win.el (x-select-enable-primary)
5209         (x-last-selected-text-primary, x-last-selected-text-clipboard):
5210         Declare.
5212         * term/ns-win.el (x-handle-args): Declare.
5214         * term/x-win.el (x-select-enable-clipboard): Declare.
5216         * term/w32-win.el (create-default-fontset): Declare.
5218         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5219         Declare.
5221         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5222         (fit-frame-to-buffer): Explicit error if --without-x.
5223         (mouse-autoselect-window-select): Silence compiler.
5225         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5227         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5228         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5229         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5230         * eshell/esh-util.el (eshell-sublist):
5231         Remove unused local variables.
5233         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5235         * textmodes/two-column.el: Make 2C-split work for --without-x.
5236         (scroll-bar-columns): Autoload.
5237         (top-level): Require fringe when compiling.
5239 2013-09-18  Leo Liu  <sdl.web@gmail.com>
5241         * subr.el (add-hook): Robustify to handle closure as well.
5243 2013-09-17  Glenn Morris  <rgm@gnu.org>
5245         * simple.el (messages-buffer-mode-map): Unbind "g".
5247 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5249         * help-mode.el (help-mode-finish): Use derived-mode-p.
5250         Remove obsolete highlighting.
5252         * play/life.el (life-mode): Use define-derived-mode.  Derive from
5253         special-mode.
5254         (life): Let-bind inhibit-read-only.
5255         (life-setup): Avoid `setq'.  Use `life-mode'.
5257         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5258         which should not be needed any more.
5259         (package-menu-refresh, package-menu-describe-package): Use user-error.
5261         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5262         (eshell-post-rewrite-command-hook): Make obsolete.
5263         (eshell-parse-command): Simplify.
5264         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5265         (eshell--cmd): Declare.
5266         (eshell-parse-pipeline): Remove unused var `final-p'.
5267         Pass a dynvar to eshell-post-rewrite-command-hook.
5268         Implement the new eshell-post-rewrite-command-function.
5269         (eshell-invoke-directly): Remove unused arg `input'.
5270         * eshell/esh-io.el (eshell-io-initialize):
5271         Use eshell-post-rewrite-command-function (bug#15399).
5272         (eshell--apply-redirections): Rename from eshell-apply-redirections;
5273         adjust to new calling convention.
5274         (eshell-create-handles): Rename args to avoid clashing with dynvar
5275         `standard-output'.
5277 2013-09-17  Glenn Morris  <rgm@gnu.org>
5279         * simple.el (messages-buffer-mode): New major mode.
5280         (messages-buffer): New function.
5281         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5282         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5283         (ert-run-test): Use `messages-buffer' function.
5284         (ert--force-message-log-buffer-truncation): Ignore read-only.
5285         * help.el (view-echo-area-messages): Use `messages-buffer' function.
5286         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5288 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5290         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5292         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5294 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5296         * icomplete.el (icomplete-in-buffer): New var.
5297         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5298         vars and replace them with functions.
5299         (icomplete-minibuffer-setup): Adjust accordingly.
5300         (icomplete--completion-table, icomplete--completion-predicate)
5301         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5302         New functions.
5303         (icomplete-forward-completions, icomplete-backward-completions)
5304         (icomplete-simple-completing-p, icomplete-exhibit)
5305         (icomplete-completions): Use them.
5306         (icomplete--in-region-buffer): New var.
5307         (icomplete--in-region-setup): New function.
5308         (icomplete-mode): Use it.
5310         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5311         (bug#15379).
5312         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5313         return args and options.
5314         (eshell-eval-using-options): Use the new return value of
5315         eshell--do-opts to set the options's vars in their scope.
5316         (eshell--set-option): Rename from eshell-set-option.
5317         Add arg `opt-vals'.
5318         (eshell--process-option): Rename from eshell-process-option.
5319         Add arg `opt-vals'.
5320         (eshell--process-args): Use an `opt-vals' alist to store the options's
5321         values during their processing and return them additionally to the
5322         remaining args.
5324 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
5326         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5327         continuation character an operator, as far as indentation is
5328         concerned (Bug#15369).
5330 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
5332         * window.el (window--state-put-2): Don't process buffer state
5333         when buffer doesn't exist any more (Bug#15382).
5335 2013-09-15  Glenn Morris  <rgm@gnu.org>
5337         * eshell/em-unix.el (eshell/rm):
5338         Make -f ignore missing files.  (Bug#15373)
5340         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
5341         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5342         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5344 2013-09-14  Glenn Morris  <rgm@gnu.org>
5346         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5348 2013-09-13  Glenn Morris  <rgm@gnu.org>
5350         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5351         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
5353 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
5355         * frame.el (x-focus-frame): Mark as declared in frame.c.
5357 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5359         * ls-lisp.el: Use advice-add.
5360         (original-insert-directory): Remove.
5361         (ls-lisp--insert-directory): Rename from insert-directory; add
5362         `orig-fun' argument.
5363         (insert-directory): Advise.
5365 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
5367         * term.el (term-emulate-terminal): Decode the command string
5368         before passing it to term-command-hook.  (Bug#15337)
5370 2013-09-13  Glenn Morris  <rgm@gnu.org>
5372         * eshell/esh-util.el (ange-cache): Move declaration earlier.
5374         * eshell/esh-ext.el (eshell-search-path): Declare.
5376         * eshell/em-prompt.el (eshell/pwd): Autoload it.
5377         Otherwise an error occurs if eshell-dirs module not loaded.
5379         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5381 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
5383         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5384         `tramp-check-proper-host'.  Check for a valid method name.
5386         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5387         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5388         * net/tramp-sh.el (tramp-maybe-open-connection):
5389         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5391         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5392         also for hash values.
5394 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * term/ns-win.el (parameters): Don't declare as dynamic.
5397         (before-make-frame-hook): Don't add ineffective function.
5399         * eshell/*.el: Use lexical-binding (bug#15231).
5401 2013-09-12  Kenichi Handa  <handa@gnu.org>
5403         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5405 2013-09-12  Glenn Morris  <rgm@gnu.org>
5407         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5408         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5410         * subr.el (do-after-load-evaluation): Also give compiler warnings
5411         when obsolete files are used (except by obsolete files).
5413         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5414         in the status output, assume `filename' is the first.  (Bug#15322)
5416         * vc/vc.el (vc-deduce-fileset): Doc fix.
5418         * calc/calc-help.el (Info-goto-node):
5419         * progmodes/cperl-mode.el (Info-find-node):
5420         * vc/ediff.el (Info-goto-node): Update declarations.
5422         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5424         * vc/vc-bzr.el (vc-compilation-mode): Declare.
5425         (vc-bzr-pull): Require vc-dispatcher.
5426         * vc/vc-git.el (vc-compilation-mode): Declare.
5427         (vc-git-pull): Require vc-dispatcher.
5429         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5431         * progmodes/octave.el (help-button-action): Declare.
5433         * shell.el (shell-directory-tracker): Output error as a message
5434         rather than just returning it as a string.
5435         (shell-process-pushd): Remove useless use of message.
5437         * dframe.el (dframe-timer-fn):
5438         * files.el (dir-locals-read-from-file):
5439         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5440         (mpc-format):
5441         * reveal.el (reveal-post-command):
5442         * saveplace.el (load-save-place-alist-from-file):
5443         * shell.el (shell-resync-dirs):
5444         * w32-common-fns.el (x-get-selection-value):
5445         * emacs-lisp/copyright.el (copyright-find-copyright):
5446         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5447         * emulation/tpu-edt.el (tpu-copy-keyfile):
5448         * play/bubbles.el (bubbles--mark-neighbourhood):
5449         * progmodes/executable.el
5450         (executable-make-buffer-file-executable-if-script-p):
5451         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5453 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5455         Cleanup Eshell to rely less on dynamic scoping.
5456         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5457         last-value, and ext-command here.  Bind `args' closer to `body'.
5458         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5459         (eshell--args): Declare new dynamic var.
5460         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
5461         last-value, and ext-command.  Pass `args' to `body'.
5462         (eshell-process-args): Bind eshell--args.
5463         (eshell-set-option): Use eshell--args.
5464         * eshell/eshell.el (eshell): Use derived-mode-p.
5465         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5466         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5467         (eshell-glob-function): Declare.
5468         * eshell/esh-util.el: Require cl-lib.
5469         (eshell-read-hosts-file): Avoid add-to-list.
5470         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5471         `err'.
5472         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5473         Declare.
5474         (eshell/diff): Remove unused var `err'.
5475         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5476         `killflag'.
5477         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5478         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5479         first use.
5480         * eshell/em-glob.el (eshell-glob-matches, message-shown):
5481         Move declaration before first use.
5482         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5483         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5484         rely on cl-return.
5486 2013-09-12  Glenn Morris  <rgm@gnu.org>
5488         * term/ns-win.el (global-map): Remove binding for ispell-next,
5489         deleted 1999-05-29.  (Bug#15357)
5491 2013-09-11  Glenn Morris  <rgm@gnu.org>
5493         * echistory.el (electric-command-history): Remove call to deleted func.
5495         * play/landmark.el (landmark-mode): Fix typos.
5497         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5498         Check cvs-sort-ignore-file is bound.
5500         * savehist.el: No need for cl when compiling on Emacs.
5502 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5504         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5505         (bug#15338).
5506         (eshell-self-insert-command, eshell-send-invisible):
5507         Remove unused argument.
5508         (eshell-handle-control-codes): Remove unused var `orig'.
5509         Avoid delete-backward-char.
5511         * files.el (set-auto-mode): Simplify a bit further.
5513 2013-09-11  Glenn Morris  <rgm@gnu.org>
5515         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5516         (set-auto-mode): Don't regexp-quote elements.
5517         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5518         * progmodes/cc-mode.el (interpreter-mode-alist):
5519         * progmodes/ruby-mode.el (interpreter-mode-alist):
5520         Revert previous change.
5522 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5524         * play/snake.el (snake-mode):
5525         * play/mpuz.el (mpuz-mode):
5526         * play/landmark.el (lm-mode):
5527         * play/blackbox.el (blackbox-mode):
5528         * play/5x5.el (5x5-mode):
5529         * obsolete/options.el (Edit-options-mode):
5530         * net/quickurl.el (quickurl-list-mode):
5531         * net/newst-treeview.el (newsticker-treeview-mode):
5532         * mail/rmailsum.el (rmail-summary-mode):
5533         * mail/mspools.el (mspools-mode):
5534         * locate.el (locate-mode):
5535         * ibuffer.el (ibuffer-mode):
5536         * emulation/ws-mode.el (wordstar-mode):
5537         * emacs-lisp/debug.el (debugger-mode):
5538         * array.el (array-mode):
5539         * net/eudc.el (eudc-mode): Use define-derived-mode.
5540         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5541         Move initialization into declaration.
5542         (mairix-searches-mode): Use define-derived-mode.
5543         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5544         (eudc-edit-hotlist): Use dolist.
5545         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5546         (Man-mode): Use define-derived-mode.
5547         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5548         (Info-edit-mode): Use define-derived-mode.
5549         (Info-cease-edit): Use Info-mode.
5550         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5551         into declaration.
5552         (eshell-mode): Use define-derived-mode.
5553         * chistory.el (command-history-mode-map): Rename from
5554         command-history-map.
5555         (command-history-mode): Use define-derived-mode.
5556         (Command-history-setup): Remove function.
5557         * calc/calc.el (calc-trail-mode-map): New var.
5558         (calc-trail-mode): Use define-derived-mode.
5559         (calc-trail-buffer): Set calc-main-buffer manually.
5560         * bookmark.el (bookmark-insert-annotation): New function.
5561         (bookmark-edit-annotation): Use it.
5562         (bookmark-edit-annotation-mode): Make it a proper major mode.
5563         (bookmark-send-edited-annotation): Use derived-mode-p.
5564         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5565         closer to its ideal place.  Use \' to match EOS.
5567         * profiler.el (profiler-calltree-find): Use function-equal.
5569 2013-09-10  Glenn Morris  <rgm@gnu.org>
5571         * files.el (interpreter-mode-alist): Convert to regexps.
5572         (set-auto-mode): Adapt for this.  (Bug#15306)
5573         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5574         Comment out unused variable.
5575         * progmodes/cc-mode.el (interpreter-mode-alist):
5576         * progmodes/python.el (interpreter-mode-alist):
5577         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5578         * progmodes/sh-script.el (sh-set-shell):
5579         No longer use interpreter-mode-alist to get list of shells.
5581         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5583 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5585         * simple.el: Use set-temporary-overlay-map for universal-argument.
5586         (universal-argument-map): Don't use default-bindings (bug#15317).
5587         Bind switch-frame explicitly.  Replace universal-argument-minus with
5588         a conditional binding.
5589         (universal-argument-num-events, saved-overriding-map): Remove.
5590         (restore-overriding-map): Remove.
5591         (universal-argument--mode): Rename from save&set-overriding-map,
5592         and rewrite.
5593         (universal-argument, universal-argument-more, negative-argument)
5594         (digit-argument): Adjust accordingly.
5595         (universal-argument-minus): Remove.
5596         (universal-argument-other-key): Remove.
5598         * subr.el (with-demoted-errors): Add `format' argument.
5600 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
5602         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
5603         `tramp-cleanup-connection'.
5605         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5606         parameters KEEP-DEBUG and KEEP-PASSWORD.
5608         * net/tramp.el (tramp-file-name-handler):
5609         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5610         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5611         (tramp-maybe-open-connection):
5612         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5613         Use `tramp-cleanup-connection'.
5615         * net/tramp-sh.el (tramp-maybe-open-connection):
5616         Catch 'uname-changed inside the progress reporter.
5618 2013-09-10  Glenn Morris  <rgm@gnu.org>
5620         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
5622         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5623         returns "alternate access method" in mode (eg "-rw-r--r--.").
5625 2013-09-08  Glenn Morris  <rgm@gnu.org>
5627         * saveplace.el (load-save-place-alist-from-file):
5628         Demote errors.  (Bug#15305)
5630 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
5632         Improve compatibility with older Emacsen, and XEmacs.
5634         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5635         only if it is bound.  It isn't for XEmacs.
5636         (with-tramp-progress-reporter): Do not let-bind `result'.
5637         This yields to scoping errors in XEmacs.
5638         (tramp-handle-make-auto-save-file-name): New function, moved from
5639         tramp-sh.el.
5641         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5642         for `make-auto-save-file-name'.
5643         (tramp-adb--gnu-switches-to-ash):
5644         Use `tramp-compat-replace-regexp-in-string'.
5646         * net/tramp-cache.el (tramp-cache-print): Call
5647         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
5649         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5650         bound.  It isn't for XEmacs.
5652         * net/tramp-compat.el (tramp-compat-copy-file):
5653         Catch `wrong-number-of-arguments' error.
5654         (tramp-compat-replace-regexp-in-string): New defun.
5656         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5657         for `make-auto-save-file-name'.
5658         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5659         `copy-file'.
5660         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5661         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5662         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5664         * net/tramp-gw.el (tramp-gw-open-network-stream):
5665         Use `tramp-compat-replace-regexp-in-string'.
5667         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5668         Call `tramp-handle-make-auto-save-file-name'.
5669         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5670         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5671         (tramp-sh-file-inotifywait-process-filter):
5672         Use `tramp-compat-replace-regexp-in-string'.
5673         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5675         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5676         for `make-auto-save-file-name'.
5677         (tramp-smb-handle-copy-directory):
5678         Call `tramp-compat-replace-regexp-in-string'.
5679         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5680         (tramp-smb-handle-copy-file): Improve error message.
5681         (tramp-smb-handle-rename-file): Rename directly only in case
5682         `newname' does not exist yet.  This is a restriction of smbclient.
5683         (tramp-smb-maybe-open-connection): Rerun the function only when
5684         `auth-sources' is non-nil.
5686 2013-09-08  Kenichi Handa  <handa@gnu.org>
5688         * international/characters.el: Set category "^" (Combining) for
5689         more characters.
5691 2013-09-07  Alan Mackenzie  <acm@muc.de>
5693         Correctly fontify Java class constructors.
5694         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5695         in Java Mode.
5696         (c-recognize-typeless-decls): Set the Java value to t.
5697         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5698         While handling a "(", add a check for, effectively, Java, and handle a
5699         "typeless" declaration there.
5701 2013-09-07  Roland Winkler  <winkler@gnu.org>
5703         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5704         field subtitle for entry type book.
5706 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5708         * minibuffer.el: Make minibuffer-complete call completion-in-region
5709         rather than other way around.
5710         (completion--some, completion-pcm--find-all-completions):
5711         Don't delay signals when debugging.
5712         (minibuffer-completion-contents): Beware fields within the
5713         minibuffer contents.
5714         (completion-all-sorted-completions): Use defvar-local.
5715         (completion--do-completion, completion--cache-all-sorted-completions)
5716         (completion-all-sorted-completions, minibuffer-force-complete):
5717         Add args `beg' and `end'.
5718         (completion--in-region-1): New fun, extracted from minibuffer-complete.
5719         (minibuffer-complete): Use completion-in-region.
5720         (completion-complete-and-exit): New fun, extracted from
5721         minibuffer-complete-and-exit.
5722         (minibuffer-complete-and-exit): Use it.
5723         (completion--complete-and-exit): Rename from
5724         minibuffer--complete-and-exit.
5725         (completion-in-region--single-word): New function, extracted from
5726         minibuffer-complete-word.
5727         (minibuffer-complete-word): Use it.
5728         (display-completion-list): Make `common-substring' argument obsolete.
5729         (completion--in-region): Call completion--in-region-1 instead of
5730         minibuffer-complete.
5731         (completion-help-at-point): Pass boundaries to
5732         minibuffer-completion-help as args rather than via an overlay.
5733         (completion-pcm--string->pattern): Use `any-delim'.
5734         (completion-pcm--optimize-pattern): New function.
5735         (completion-pcm--pattern->regex): Handle `any-delim'.
5736         * icomplete.el (icomplete-forward-completions)
5737         (icomplete-backward-completions, icomplete-completions):
5738         Adjust calls to completion-all-sorted-completions and
5739         completion--cache-all-sorted-completions.
5740         (icomplete-with-completion-tables): Default to t.
5741         * emacs-lisp/crm.el (crm--current-element): Rename from
5742         crm--select-current-element.  Don't put an overlay but return the
5743         boundaries instead.
5744         (crm--completion-command): Take two new args to bind to the boundaries.
5745         (crm-completion-help): Adjust accordingly.
5746         (crm-complete): Use completion-in-region.
5747         (crm-complete-word): Use completion-in-region--single-word.
5748         (crm-complete-and-exit): Use completion-complete-and-exit.
5750 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5752         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5753         than dynamically.
5755 2013-09-06  Juri Linkov  <juri@jurta.org>
5757         * info.el (Info-display-images-node): When image file doesn't exist
5758         display text version of the image if it's provided in the Info file.
5759         Otherwise, display the location of missing image from SRC attribute.
5760         Add help-echo text property from ALT attribute.  (Bug#15279)
5762 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5765         (edit-abbrevs-mode): Use define-derived-mode.
5767         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5768         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5769         that it's defined.
5770         (epa-key-list-mode, epa-key-mode, epa-info-mode):
5771         Use define-derived-mode.
5773         * epg.el (epg-start-encrypt): Minor CSE simplification.
5775 2013-09-06  William Xu  <william.xwl@gmail.com>
5777         * arc-mode.el: Add support for 7za (bug#15264).
5778         (archive-7z-program): New var.
5779         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5780         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5781         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5783 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5785         Remove URL syntax.
5787         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5788         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5789         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5790         (tramp-postfix-host-format, tramp-file-name-regexp)
5791         (tramp-completion-file-name-regexp)
5792         (tramp-completion-dissect-file-name)
5793         (tramp-handle-substitute-in-file-name): Remove 'url case.
5794         (tramp-file-name-regexp-url)
5795         (tramp-completion-file-name-regexp-url): Remove constants.
5797 2013-09-06  Glenn Morris  <rgm@gnu.org>
5799         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5801 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5803         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5804         keywords" below "here-doc beginnings" (Bug#15270).
5806 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5808         * subr.el (pop): Use `car-safe'.
5809         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5810         to detect unused `pop' return value.
5812         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5813         var `block-regexp'.
5814         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5815         (python-fill-string): Remove unused var `marker'.
5816         (python-skeleton-add-menu-items): Remove unused var `items'.
5818         * international/mule-cmds.el: Require CL.
5819         (find-coding-systems-for-charsets): Avoid add-to-list.
5820         (sanitize-coding-system-list): New function, extracted from
5821         select-safe-coding-system-interactively.
5822         (select-safe-coding-system-interactively): Use it.
5823         (read-input-method-name): Accept symbols for `default'.
5825         * emacs-lisp/advice.el (defadvice): Add indent rule.
5827 2013-09-05  Daniel Hackney  <dan@haxney.org>
5829         * dired-x.el:
5830         * net/ange-ftp.el:
5831         * net/browse-url.el:
5832         * net/dbus.el:
5833         * net/eudc.el:
5834         * net/eudcb-ldap.el:
5835         * net/eww.el:
5836         * net/imap.el:
5837         * printing.el:
5838         * vc/ediff-diff.el:
5839         * vc/ediff-init.el:
5840         * vc/ediff-merg.el:
5841         * vc/ediff-mult.el:
5842         * vc/ediff-util.el:
5843         * vc/ediff-wind.el:
5844         * vc/ediff.el:
5845         * vc/emerge.el:
5846         * vc/pcvs.el:
5847         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5848         byte compiler.  Remove some unused let-bound variables.
5850 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5852         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5853         a "ref-cell", since it gets better optimized (bug#14883).
5855 2013-09-05  Glenn Morris  <rgm@gnu.org>
5857         * progmodes/cc-awk.el (c-forward-sws): Declare.
5859 2013-09-04  Glenn Morris  <rgm@gnu.org>
5861         * generic-x.el [rul-generic-mode]: Require cc-mode.
5862         (c++-mode-syntax-table): Declare.
5863         (rul-generic-mode-syntax-table): Init in the defvar.
5865 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5867         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5868         (vc-do-command, vc-set-async-update):
5869         * vc/vc-mtn.el (vc-mtn-dir-status):
5870         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5871         (vc-hg-pull, vc-hg-merge-branch):
5872         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5873         (vc-git-merge-branch):
5874         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5875         (vc-cvs-dir-status-files):
5876         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5877         (vc-bzr-dir-status-files):
5878         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5879         * vc/vc-annotate.el: Use lexical-binding.
5880         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5881         (vc-sentinel-movepoint): Declare.
5882         (vc-annotate): Don't use `goto-line'.
5883         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5884         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5885         (vc-sentinel-movepoint): Declare.
5886         * vc/vc-svn.el: Use lexical-binding.
5887         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5888         * vc/vc-sccs.el:
5889         * vc/vc-rcs.el: Use lexical-binding.
5891         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5892         `deleted'.  Don't drop errors silently.
5894         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5896 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
5898         * vc/vc.el (vc-ignore): Rewrite.
5899         (vc-default-ignore): New function.
5900         (vc-default-ignore-completion-table): Use find-ignore-file.
5902         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5903         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5904         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5905         Remove.  Most code moved to vc.el.
5907 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5909         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5910         * net/tramp-smb.el (tramp-smb-get-file-entries):
5911         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5912         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5914         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5915         Update call to it.
5916         (eww-change-select): Remove unused var `properties'.
5917         (eww-make-unique-file-name): Remove unused var `base'.
5919         * finder.el (finder-compile-keywords): Don't mess with windows.
5921         * calculator.el (calculator-funcall): Fix typo in last change.
5923         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5925         * emacs-lisp/package.el (package-activate-1): Don't let a missing
5926         <pkg>-autoloads.el file stop us.
5928         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5929         warnings, and factor out common code.
5931 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
5933         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5934         two-character operators and whether the character preceding them
5935         changes their meaning (Bug#15208).
5937 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5939         Format code sent to Python shell for robustness.
5940         * progmodes/python.el (python-shell-buffer-substring):
5941         New function.
5942         (python-shell-send-region, python-shell-send-buffer): Use it.
5944 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
5946         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5947         * net/tramp.el (tramp-user-error): ... here.
5948         (tramp-find-method, tramp-check-proper-host)
5949         (tramp-dissect-file-name, tramp-debug-message)
5950         (tramp-handle-shell-command):
5951         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5952         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5954         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5956 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
5958         * avoid.el (mouse-avoidance-point-position)
5959         (mouse-avoidance-too-close-p): Handle case where posn-at-point
5960         returns nil.
5962 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5964         * progmodes/python.el (python-shell-completion-get-completions):
5965         Drop use of deleted `comint-last-prompt-overlay'.
5966         (python-nav-if-name-main): New command.
5968 2013-09-01  Glenn Morris  <rgm@gnu.org>
5970         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5971         Avoid leading space in $wins.  Otherwise the sed command used by
5972         eg compile-main ends up containing "/*.el".  (Bug#15170)
5974         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
5976 2013-08-30  Glenn Morris  <rgm@gnu.org>
5978         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5979         Fix is-this-a-directory logic.  (Bug#15220)
5981 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5983         * textmodes/css-mode.el: Use SMIE.
5984         (css-smie-grammar): New var.
5985         (css-smie--forward-token, css-smie--backward-token)
5986         (css-smie-rules): New functions.
5987         (css-mode): Use them.
5988         (css-navigation-syntax-table): Remove var.
5989         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5990         (css-indent-calculate, css-indent-line): Remove functions.
5992         Misc changes to reduce use of `(lambda...); and other cleanups.
5993         * cus-edit.el: Use lexical-binding.
5994         (customize-push-and-save, customize-apropos)
5995         (custom-buffer-create-internal): Use closures.
5996         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5997         * progmodes/ada-xref.el: Use setq.
5998         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5999         * dframe.el: Use lexical-binding.
6000         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
6001         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6002         * descr-text.el: Use lexical-binding.
6003         (describe-text-widget, describe-text-sexp, describe-property-list):
6004         Use closures.
6005         * comint.el (comint-history-isearch-push-state): Use a closure.
6006         * calculator.el: Use lexical-binding.
6007         (calculator-number-to-string): Make it work with lexical-binding.
6008         (calculator-funcall): Same and use cl-letf.
6010         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6011         (lisp--company-doc-string, lisp--company-location): New functions.
6012         (lisp-completion-at-point): Use them to improve Company support.
6014         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6015         params of lambda expressions.
6016         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6017         (ruby-smie--opening-pipe-p): New function.
6018         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6019         symbols and matched |...| for formal params.
6020         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6021         from being treated as hanging.  Handle "rescue".
6023 2013-08-29  Glenn Morris  <rgm@gnu.org>
6025         * progmodes/cc-engine.el (c-pull-open-brace):
6026         Move definition before use.
6028 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6030         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6031         are immutable.  Don't use `unsafe' any more.
6032         (cl--defsubst-expand): Don't substitute at the same time as keeping
6033         a residual unused let-binding.  Don't use `unsafe' any more.
6035 2013-08-29  Glenn Morris  <rgm@gnu.org>
6037         * calendar/cal-china.el (calendar-chinese-year-cache):
6038         Recenter on 2015.
6040         * nxml/nxml-util.el (nxml-debug-clear-inside):
6041         Use cl-loop rather than loop.
6043         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6045         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6047 2013-08-28  Glenn Morris  <rgm@gnu.org>
6049         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6051         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6053         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6055 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6057         * simple.el (repeat-complex-command--called-interactively-skip):
6058         New function.
6059         (repeat-complex-command): Use it (bug#14136).
6061         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6062         (c-define-abbrev-table): Add `doc' argument.
6063         (c-mode-abbrev-table, c++-mode-abbrev-table)
6064         (objc-mode-abbrev-table, java-mode-abbrev-table)
6065         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6066         (awk-mode-abbrev-table): Use it.
6067         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6068         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6069         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6070         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6071         Move initialization into the declaration; and remove any
6072         autoload cookie.
6074         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6075         and dynamic let binding.
6077         * vc/smerge-mode.el: Remove redundant :group args.
6079         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6080         to load-path.
6082 2013-08-28  Juri Linkov  <juri@jurta.org>
6084         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6085         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6086         (isearch-other-meta-char): Handle an undefined shifted printing
6087         character by downshifting it.  (Bug#15200)
6089 2013-08-28  Juri Linkov  <juri@jurta.org>
6091         * isearch.el (isearch-search): Change regexp error message for
6092         non-regexp searches.  (Bug#15166)
6094 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
6096         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6097         for portability to hosts where /bin/sh has problems.
6099 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6101         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6103 2013-08-27  Juri Linkov  <juri@jurta.org>
6105         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6106         in the keyboard macro.  (Bug#15126)
6108 2013-08-27  Juri Linkov  <juri@jurta.org>
6110         * isearch.el (isearch-quote-char): Comment out converting unibyte
6111         to multibyte, thus syncing with its `quoted-insert' counterpart.
6112         (Bug#15166)
6114 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
6116         * window.el (display-buffer-use-some-window): Add missing
6117         argument in call of get-largest-window (Bug#15185).
6118         Reported by Stephen Leake.
6120 2013-08-27  Glenn Morris  <rgm@gnu.org>
6122         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6124 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6126         * progmodes/python.el (python-font-lock-keywords): Don't return nil
6127         from a matcher-function unless there's no more matches (bug#15161).
6129 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6131         * minibuffer.el: Revert change from 2013-08-20.
6133         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6134         with text property `tramp-default', if appropriate.
6135         (tramp-check-proper-host): New defun.
6136         (tramp-dissect-file-name): Do not check hostname.  Revert change
6137         of 2013-03-18.
6138         (tramp-backtrace): Make VEC-OR-PROC optional.
6140         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6141         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6142         * net/tramp-sh.el (tramp-maybe-open-connection):
6143         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6144         Apply `tramp-check-proper-host'.
6146 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
6148         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6149         lambda expression in order to have `describe-variable' display it.
6151 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6153         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6154         BUF can be optional.  (Bug#15186)
6156 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
6158         * progmodes/flymake.el (flymake-get-real-file-name-function):
6159         Fix broken customization.  (Bug#15184)
6161 2013-08-25  Alan Mackenzie  <acm@muc.de>
6163         Improve indentation of bracelists defined by macros (without "=").
6165         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6166         expansion begins with "{", regard it as bracelist when it doesn't
6167         contain a ";".
6169         Parse C++ inher-intro when there's a template split over 2 lines.
6171         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6172         rigorously the search for "class" etc. followed by ":".
6174         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6175         random languages a regexp which never matches rather than nil.
6177         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6179         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6180         (c-awk-regexp-one-line-possibly-open-char-list-re)
6181         (c-awk-one-line-possibly-open-regexp-re)
6182         (c-awk-one-line-non-syn-ws*-re): Remove.
6183         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6184         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6185         (c-awk-space*-unclosed-regexp-/-re): New constants.
6186         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6187         aren't regexp delimiters.
6189         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6190         handling for a rare situation in AWK Mode involving unterminated
6191         strings/regexps.
6193 2013-08-23  Glenn Morris  <rgm@gnu.org>
6195         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6197         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6199         * files.el (create-file-buffer): If the result would begin with
6200         spaces, prepend a "|" instead of removing them.  (Bug#15162)
6202 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6205         text-properties (bug#15155).
6207         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6208         exist any more.
6209         (calc-keypad-redraw): Remove unused var `pad'.
6210         (calc-keypad-press): Remove unused var `menu'.
6212 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
6214         * window.el (display-buffer-pop-up-frame):
6215         Call pop-up-frame-function with BUFFER current so `make-frame' will
6216         use it as the new frame's buffer (Bug#15133).
6218 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6220         * calendar/timeclock.el: Minor cleanups.
6221         (timeclock-ask-before-exiting, timeclock-use-display-time):
6222         Use `symbol'.
6223         (timeclock-modeline-display): Define as alias before the
6224         actual definition.
6225         (timeclock-mode-line-display): Use define-minor-mode.
6226         (timeclock-day-list-template): Make it a function, add an argument.
6227         (timeclock-day-list-required, timeclock-day-list-length)
6228         (timeclock-day-list-debt, timeclock-day-list-span)
6229         (timeclock-day-list-break): Adjust calls accordingly.
6231 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6233         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6234         Use read--expression so that completion works again.
6236 2013-08-21  Sam Steingold  <sds@gnu.org>
6238         Add rudimentary inferior shell interaction
6239         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6240         (sh-set-shell): Reset it.
6241         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6242         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6244 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6246         * align.el: Use lexical-binding.
6247         (align-region): Simplify accordingly.
6249 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
6251         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6253         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6254         `non-essential' up.
6256 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
6258         * net/tramp.el:
6259         * net/tramp-adb.el:
6260         * net/tramp-cmds.el:
6261         * net/tramp-ftp.el:
6262         * net/tramp-gvfs.el:
6263         * net/tramp-gw.el:
6264         * net/tramp-sh.el: Don't wrap external variable declarations by
6265         `eval-when-compile'.
6267 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6269         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6270         now that Emacs supports ImageMagick animations.
6272 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
6274         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6275         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6277 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
6279         * window.el (mouse-autoselect-window-select): Do autoselect when
6280         mouse pointer is on margin.
6282 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
6284         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
6286 2013-08-16  Glenn Morris  <rgm@gnu.org>
6288         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6289         Handle "Remote Directory" response of some clients.  (Bug#15058)
6291         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6292         Tweak warning.  (Bug#14926)
6294         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6295         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
6297         * image-mode.el (image-mode-map): Add menu items to reverse,
6298         increase, decrease, reset animation speed.
6299         (image--set-speed, image-increase-speed, image-decrease-speed)
6300         (image-reverse-speed, image-reset-speed): New functions.
6301         (image-mode-map): Add bindings for speed commands.
6303         * image.el (image-animate-get-speed, image-animate-set-speed):
6304         New functions.
6305         (image-animate-timeout): Respect image :speed property.
6307 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6309         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6310         previous line (bug#15101).
6311         (debugger-eval-expression, debugger-record-expression):
6312         Use read--expression (bug#15102).
6314 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
6316         Remove byte compiler warnings, visible when compiling with
6317         `byte-compile-force-lexical-warnings' set to t.
6319         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6320         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6321         (tramp-handle-unhandled-file-name-directory)
6322         (tramp-handle-file-notify-add-watch, tramp-action-login)
6323         (tramp-action-succeed, tramp-action-permission-denied)
6324         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6325         arguments with "_".
6327         * net/tramp-adb.el (tramp-adb-parse-device-names)
6328         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6329         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6330         (tramp-adb-handle-file-truename): Remove unused arguments.
6332         * net/tramp-cache.el (tramp-flush-directory-property)
6333         (tramp-flush-connection-property, tramp-list-connections)
6334         (tramp-parse-connection-properties): Prefix unused arguments with "_".
6336         * net/tramp-compat.el (tramp-compat-make-temp-file):
6337         Rename FILENAME to F.
6339         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6340         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6341         (tramp-zeroconf-parse-workstation-device-names)
6342         (tramp-zeroconf-parse-webdav-device-names)
6343         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6345         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6346         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6348         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6349         arguments.
6350         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6351         (tramp-sh-handle-insert-file-contents-literally)
6352         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6353         with "_".
6354         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6355         Remove unused variables.
6357         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6358         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6359         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6361         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6362         Make them a defconst.
6363         (tramp-uuencode-region): Remove unused variable.
6365 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
6367         * frameset.el (frameset--prop-setter): New function.
6368         (frameset-prop): Add gv-setter declaration.
6369         (frameset-filter-minibuffer): Deal with the case that the minibuffer
6370         parameter was already set in FILTERED.  Doc fix.
6371         (frameset--record-minibuffer-relationships): Allow saving a
6372         minibufferless frame without its corresponding minibuffer frame.
6373         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6374         frame, if the frame id matches.
6375         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6376         frames before orphaned ones.
6377         (frameset-restore): Warn about orphaned windows, instead of error out.
6379 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
6381         * window.el (window-make-atom): Don't overwrite parameter
6382         already present.
6383         (display-buffer-in-atom-window): Handle special case where we
6384         split an already atomic window.
6385         (window--major-non-side-window, display-buffer-in-side-window)
6386         (window--side-check): Ignore minibuffer window when walking
6387         window tree.
6388         (window-deletable-p): Return 'frame only if no other frame uses
6389         our minibuffer window.
6390         (record-window-buffer): Run buffer-list-update-hook.
6391         (split-window): Make sure window--check-frame won't destroy an
6392         existing atomic window in case the new window gets nested
6393         inside.
6394         (display-buffer-at-bottom): Ignore minibuffer window when
6395         walking window tree.  Don't split a side window.
6396         (pop-to-buffer): Don't set-buffer here, the select-window call
6397         should do that.
6398         (mouse-autoselect-window-select): Autoselect only if we are in the
6399         text portion of the window.
6401 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6403         * net/shr.el (shr-parse-image-data): New function to grab both the
6404         data itself and the Content-Type.
6405         (shr-put-image): Use it.
6407         * net/eww.el (eww-display-image): Ditto.
6409         * image.el (image-content-type-suffixes): New variable.
6411 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6413         * progmodes/python.el (python-imenu--build-tree)
6414         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6416 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
6418         * simple.el (backward-word): Mention the optional argument.
6420 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6422         * frameset.el (frameset--make): Rename constructor from make-frameset.
6423         (frameset-p, frameset-valid-p): Don't autoload.
6424         (frameset-valid-p): Use normal accessors.
6426 2013-08-13  Glenn Morris  <rgm@gnu.org>
6428         * progmodes/compile.el (compile-command): Tweak example in doc.
6429         * obsolete/scribe.el (scribe-mode):
6430         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
6432         * mail/feedmail.el (feedmail-confirm-outgoing)
6433         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6435         * cus-start.el (truncate-partial-width-windows): Fix type.
6437         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6439         * net/shr.el (shr-table-horizontal-line): Fix custom type.
6441 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6443         * emacs-lisp/timer.el (timer--time-setter): New function.
6444         (timer--time): Use it as gv-setter.
6446         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6447         setter is not a symbol.
6449 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
6451         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6452         if sending fails.  This makes debugging easier.
6454 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
6456         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6457         revno:113793, which breaks the test suite).
6458         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6460 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
6462         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6464 2013-08-12  Glenn Morris  <rgm@gnu.org>
6466         * format.el (format-annotate-function):
6467         Handle read-only text properties in the source.  (Bug#14887)
6469 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6471         * net/eww.el (eww-display-html): Ignore coding system errors.
6472         One web site uses "utf-8lias" as the coding system.
6474 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
6476         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6478 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
6480         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6481         (tutorial--detailed-help): Remove unused local variables.
6482         (tutorial--save-tutorial-to): Use ignore-errors.
6483         (help-with-tutorial): Use looking-at-p.
6485         * view.el (view-buffer-other-window, view-buffer-other-frame):
6486         Mark unused arguments.
6488         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6489         (woman-select-symbol-fonts, woman, woman-find-file)
6490         (woman-insert-file-contents, woman-non-underline-faces):
6491         Use string-match-p.
6492         (woman1-unquote): Move declaration.
6494         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6495         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
6496         argument.  Remove unused local variable.
6497         (xml-parse-elem-type): Use string-match-p.
6498         (xml-substitute-numeric-entities): Use ignore-errors.
6500         * calculator.el (calculator): Mark unused argument.
6501         (calculator-paste, calculator-quit, calculator-integer-p):
6502         Use ignore-errors.
6503         (calculator-string-to-number, calculator-decimal, calculator-exp)
6504         (calculator-op-or-exp): Use string-match-p.
6506         * dired.el (dired-buffer-more-recently-used-p): Declare.
6507         (dired-insert-set-properties, dired-insert-old-subdirs):
6508         Use ignore-errors.
6510         * dired-aux.el (dired-compress): Use ignore-errors.
6511         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6512         (dired-do-async-shell-command, dired-do-shell-command)
6513         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6514         (dired-insert-subdir-validate): Use string-match-p.
6515         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6516         (dired-add-entry): Use string-match-p, looking-at-p.
6517         (dired-insert-subdir-newpos): Remove unused local variable.
6519         * filenotify.el (file-notify-callback): Remove unused local variable.
6521         * filesets.el (filesets-error): Mark unused argument.
6522         (filesets-which-command-p, filesets-filter-dir-names)
6523         (filesets-directory-files, filesets-get-external-viewer)
6524         (filesets-ingroup-get-data): Use string-match-p.
6526         * find-file.el (ff-other-file-name, ff-other-file-name)
6527         (ff-find-the-other-file, ff-cc-hh-converter):
6528         Remove unused local variables.
6529         (ff-get-file-name): Use string-match-p.
6530         (ff-all-dirs-under): Use ignore-errors.
6532         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6533         (follow-select-if-visible): Remove unused local variable.
6535         * forms.el (read-file-filter): Move declaration.
6536         (forms--make-format, forms--make-parser, forms-insert-record):
6537         Quote function with #'.
6538         (forms--update): Use string-match-p.  Quote function with #'.
6540         * help-mode.el (help-dir-local-var-def): Mark unused argument.
6541         (help-make-xrefs): Use looking-at-p.
6542         (help-xref-on-pp): Use looking-at-p, ignore-errors.
6544         * ibuffer.el (ibuffer-ext-visible-p): Declare.
6545         (ibuffer-confirm-operation-on): Use string-match-p.
6547         * msb.el (msb-item-handler, msb-dired-item-handler):
6548         Mark unused arguments.
6550         * ses.el (ses-decode-cell-symbol)
6551         (ses-kill-override): Remove unused local variable.
6552         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6553         (ses-load): Use ignore-errors, looking-at-p.
6554         (ses-jump-safe): Use ignore-errors.
6555         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6557         * tabify.el (untabify, tabify): Mark unused arguments.
6559         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6560         Mark unused argument.
6561         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6562         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6564         * emacs-lisp/timer.el (timer--time): Define setter with
6565         gv-define-setter to avoid deprecation warning.
6567         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6568         (*record-cmpl-statistics-p*): Remove (was commented out).
6569         (cmpl-statistics-block): Remove (body was commented out).
6570         All callers changed.
6571         (add-completions-from-buffer, load-completions-from-file):
6572         Remove unused variables.
6574 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6576         * filecache.el (file-cache-delete-file-list):
6577         Print message only when told so.
6578         (file-cache-files-matching): Use #' in mapconcat argument.
6580         * ffap.el (ffap-url-at-point): Fix reference to variable
6581         thing-at-point-default-mail-uri-scheme.
6583 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6585         * subr.el (define-error): New function.
6586         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6587         error-file-not-found and define with define-error.
6588         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6589         and define with define-error.
6590         * userlock.el (file-locked, file-supersession):
6591         * simple.el (mark-inactive):
6592         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6593         * progmodes/ada-mode.el (ada-mode-errors):
6594         * play/life.el (life-extinct):
6595         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6596         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6597         * nxml/rng-util.el (rng-error):
6598         * nxml/rng-uri.el (rng-uri-error):
6599         * nxml/rng-match.el (rng-compile-error):
6600         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6601         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6602         * nxml/nxml-rap.el (nxml-scan-error):
6603         * nxml/nxml-outln.el (nxml-outline-error):
6604         * net/soap-client.el (soap-error):
6605         * net/gnutls.el (gnutls-error):
6606         * net/ange-ftp.el (ftp-error):
6607         * mpc.el (mpc-proc-error):
6608         * json.el (json-error, json-readtable-error, json-unknown-keyword)
6609         (json-number-format, json-string-escape, json-string-format)
6610         (json-key-format, json-object-format):
6611         * jka-compr.el (compression-error):
6612         * international/quail.el (quail-error):
6613         * international/kkc.el (kkc-error):
6614         * emacs-lisp/ert.el (ert-test-failed):
6615         * calc/calc.el (calc-error, inexact-result, math-overflow)
6616         (math-underflow):
6617         * bookmark.el (bookmark-error-no-filename):
6618         * epg.el (epg-error): Define with define-error.
6620         * time.el (display-time-event-handler)
6621         (display-time-next-load-average): Don't call sit-for since it seems
6622         unnecessary (bug#15045).
6624         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6625         Use #' instead of ' to quote functions.
6626         (checkdoc-output-mode): Use setq-local.
6627         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6628         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6629         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6630         (checkdoc-ispell, checkdoc-ispell-current-buffer)
6631         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6632         (checkdoc-ispell-message-text, checkdoc-ispell-start)
6633         (checkdoc-ispell-continue, checkdoc-ispell-comments)
6634         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6636         * ido.el (ido-completion-help): Fix up compiler warning.
6638 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6640         * frameset.el (frameset-p): Add autoload cookie.
6641         (frameset--jump-to-register): New function, based on code moved from
6642         register.el.
6643         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
6645         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6646         (frameset-restore, frameset-save, frameset-session-filter-alist):
6647         Remove declarations.
6648         (register-alist): Doc fix.
6649         (frameset-to-register): Move to frameset.el.
6650         (jump-to-register, describe-register-1): Remove frameset-specific code.
6652 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6654         * allout-widgets.el (allout-widgets-pre-command-business)
6655         (allout-widgets-post-command-business)
6656         (allout-widgets-after-change-handler)
6657         (allout-decorate-item-and-context, allout-set-boundary-marker)
6658         (allout-body-modification-handler)
6659         (allout-graphics-modification-handler): Mark ignored arguments.
6660         (allout-widgets-post-command-business)
6661         (allout-widgets-exposure-change-processor)
6662         (allout-widgets-exposure-undo-processor)
6663         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6664         (allout-parse-item-at-point, allout-decorate-item-guides)
6665         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6666         * allout.el (epa-passphrase-callback-function): Declare.
6667         (allout-overlay-insert-in-front-handler)
6668         (allout-overlay-interior-modification-handler)
6669         (allout-isearch-end-handler, allout-chart-siblings)
6670         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6671         (allout-yank-processing, allout-process-exposed)
6672         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6673         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6674         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6675         (lisp-indent-defform): Mark ignored arguments.
6676         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
6677         (calculate-lisp-indent): Remove unused variables.
6678         * international/characters.el (indian-2-column, arabic-2-column)
6679         (tibetan): Mark ignored arguments.
6680         (use-cjk-char-width-table): Mark ignored arguments.
6681         Remove unused variables.
6682         * international/fontset.el (build-default-fontset-data)
6683         (x-compose-font-name, create-fontset-from-fontset-spec):
6684         Mark ignored arguments.
6685         (fontset-plain-name): Remove unused variables.
6686         * international/mule.el (charset-id, charset-bytes, generic-char-p)
6687         (keyboard-coding-system): Mark ignored arguments.
6688         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
6689         * help.el (resize-temp-buffer-window):
6690         * window.el (display-buffer-in-major-side-window)
6691         (display-buffer-in-side-window, display-buffer-in-previous-window):
6692         Remove unused variables.
6693         * isearch.el (isearch-forward-symbol):
6694         * version.el (emacs-bzr-version-bzr):
6695         * international/mule-cmds.el (current-language-environment):
6696         * term/common-win.el (x-handle-iconic, x-handle-geometry)
6697         (x-handle-display):
6698         * term/pc-win.el (x-list-fonts, x-display-planes)
6699         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6700         (x-server-version, x-display-screens, x-display-mm-height)
6701         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6702         (x-selection-owner-p, x-own-selection-internal)
6703         (x-disown-selection-internal, x-get-selection-internal)
6704         (msdos-initialize-window-system):
6705         * term/tty-colors.el (tty-color-alist, tty-color-clear):
6706         * term/x-win.el (x-handle-no-bitmap-icon):
6707         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6708         (vc-default-find-file-hook, vc-default-extra-menu):
6709         Mark ignored arguments.
6711 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6714         break-condition in the context of the debugged code (bug#12685).
6716 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
6718         * comint.el:
6719         Do not use an overlay to highlight the last prompt.  (Bug#14744)
6720         (comint-mode): Make comint-last-prompt buffer local.
6721         (comint-last-prompt): New variable.
6722         (comint-last-prompt-overlay): Remove.  Superseded by
6723         comint-last-prompt.
6724         (comint-snapshot-last-prompt, comint-output-filter):
6725         Use comint-last-prompt.
6727 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6729         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
6730         (frameset-save): Check validity of the resulting frameset.
6732 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
6734         * ido.el (ido-record-command): Add doc string.
6736 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6738         * frameset.el (frameset): Do not disable creation of the default
6739         frameset-p predicate.  Doc fix.
6740         (frameset-valid-p): New function, copied from the old predicate-p.
6741         Add additional checks.
6742         (frameset-restore): Check with frameset-valid-p.
6743         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6744         (frameset-name, frameset-description, frameset-properties)
6745         (frameset-states): Add docstring.
6746         (frameset-session-filter-alist, frameset-persistent-filter-alist)
6747         (frameset-filter-alist): Doc fixes.
6749 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6751         * frameset.el (frameset-p, frameset-prop): Doc fixes.
6753 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6755         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6756         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6757         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6758         (byte-compile-normal-call): Remove obsolescence check.
6760 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6762         * frameset.el (frameset-restore): Doc fix.
6764         * register.el (frameset-frame-id, frameset-frame-with-id)
6765         (frameset-p, frameset-restore, frameset-save): Declare.
6766         (register-alist): Document framesets.
6767         (frameset-session-filter-alist): Declare.
6768         (frameset-to-register): New function.
6769         (jump-to-register): Implement jumping to framesets.  Doc fix.
6770         (describe-register-1): Describe framesets.
6772         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6774 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6776         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6777         Use lexical-binding.
6779         * frameset.el (frameset): Use type vector, not list (incompatible
6780         change).  Do not declare a new constructor, use the default one.
6781         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6782         `name' and `description', respectively, and add read-only slot
6783         `timestamp'.  Doc fixes.
6784         (frameset-copy, frameset-persistent-filter-alist)
6785         (frameset-filter-alist, frameset-switch-to-gui-p)
6786         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6787         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6788         (frameset-filter-iconified, frameset-keep-original-display-p):
6789         Doc fixes.
6790         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6791         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6792         Doc fix.
6793         (frameset-p): Adapt to change to vector and be more thorough.
6794         Change arg name to OBJECT.  Doc fix.
6795         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6796         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6797         All callers changed.
6798         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6799         All callers changed.
6800         (frameset--record-minibuffer-relationships): Rename from
6801         frameset--process-minibuffer-frames.  All callers changed.
6802         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6803         Use new default constructor (again).  Doc fix.
6804         (frameset--find-frame-if): Rename from `frameset--find-frame.
6805         All callers changed.
6806         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6807         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6808         Doc fix.
6809         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6810         PARAMETERS and WINDOW-STATE, respectively.
6811         (frameset-restore): Add new keyword argument PREDICATE.
6812         Reset frameset--target-display to nil.  Doc fix.
6814 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6816         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6817         (bat-mode): Use it.
6818         (bat-mode-syntax-table): Mark \n as end-of-comment.
6819         (bat-font-lock-keywords): Remove comment rule.
6821         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6822         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6824         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6825         (byte-compile-callargs-warn): Use `push'.
6826         (byte-compile-arglist-warn): Ignore higher-order "calls".
6827         (byte-compile-file-form-autoload): Use `pcase'.
6828         (byte-compile-function-form): If quoting a symbol, check that it exists.
6830 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6832         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6833         and add a few popular commands found in batch files.
6834         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6835         (dos-mode): Doc fixes.
6837 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6839         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6840         (dos-mode): Use setq-local.  Add space after "rem".
6841         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6842         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6844 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6846         * progmodes/dos.el: New file.
6847         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6848         dos-mode.
6850 2013-08-06  Glenn Morris  <rgm@gnu.org>
6852         * calendar/calendar.el: Add new faces, and day-header-array.
6853         (calendar-weekday-header, calendar-weekend-header)
6854         (calendar-month-header): New faces.
6855         (calendar-day-header-construct): New function.
6856         (calendar-day-header-width): Also :set calendar-day-header-array.
6857         (calendar-american-month-header, calendar-european-month-header)
6858         (calendar-iso-month-header): Use calendar- faces.
6859         (calendar-generate-month):
6860         Use calendar-day-header-array for day headers; apply faces to them.
6861         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6862         (calendar-abbrev-construct): Add optional maxlen argument.
6863         (calendar-day-name-array): Doc fix.
6864         (calendar-day-name-array, calendar-abbrev-length)
6865         (calendar-day-abbrev-array):
6866         Also :set calendar-day-header-array, and maybe redraw.
6867         (calendar-day-header-array): New option.  (Bug#15007)
6868         (calendar-font-lock-keywords): Set to nil and make obsolete.
6869         (calendar-day-name): Add option to use header array.
6871 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6873         * net/shr.el (shr-render-td): Remove debugging.
6874         (shr-render-td): Make width computation consistent by defaulting
6875         all zero-width columns to 10 characters.  This may not be optimal,
6876         but it's at least consistent.
6877         (shr-make-table-1): Redo last change to fix the real problem in
6878         colspan handling.
6880 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6882         * files.el (cache-long-line-scans):
6883         Make obsolete alias to `cache-long-scans'.
6885 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6887         * frameset.el (frameset, frameset-filter-alist)
6888         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6889         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6890         (frameset-compute-pos): Rename from frameset--compute-pos,
6891         and add docstring.
6892         (frameset-move-onscreen): Use frameset-compute-pos.
6893         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6895         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6896         Fix typos in docstrings.
6898 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6900         * frame.el (get-other-frame): Tiny cleanup.
6902 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6904         * vc/vc.el (vc-default-ignore-completion-table):
6905         Silence byte-compiler warning.
6907         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6908         slot, which can indeed be nil.
6909         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6910         Move entry for `left' from persistent to live filter alist.
6911         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6912         Doc fixes.
6913         (frameset-filter-params): When restoring a frame, copy items added to
6914         `filtered', to avoid unwittingly modifying the original parameters.
6915         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
6916         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6918         * dired.el (dired-insert-directory): Revert change in revno:113117
6919         to use looking-at-p instead of looking-at.  (Bug#15028)
6921 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6923         Revert introduction of isearch-filter-predicates (bug#14714).
6924         Rely on add-function instead.
6925         * isearch.el (isearch-filter-predicates): Rename it back to
6926         isearch-filter-predicate.
6927         (isearch-message-prefix): Use advice-function-mapc and advice
6928         properties to get the isearch-message-prefix.
6929         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6930         instead of run-hook-with-args-until-failure.
6931         (isearch-filter-visible): Not obsolete any more.
6932         * loadup.el: Preload nadvice.
6933         * replace.el (perform-replace): Revert to funcall
6934         instead of run-hook-with-args-until-failure.
6935         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6936         * dired-aux.el (dired-isearch-filenames-mode): Rename from
6937         dired-isearch-filenames-toggle; make it into a proper minor mode.
6938         Use add/remove-function.
6939         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6940         Call the minor-mode rather than add/remove-hook.
6941         (dired-isearch-filter-filenames):
6942         Remove isearch-message-prefix property.
6943         * info.el (Info--search-loop): New function, extracted from Info-search.
6944         Funcall isearch-filter-predicate instead of
6945         run-hook-with-args-until-failure isearch-filter-predicates.
6946         (Info-search): Use it.
6947         (Info-mode): Use isearch-filter-predicate instead of
6948         isearch-filter-predicates.
6950 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6952         Do not call to `selected-window' where it is assumed by default.
6953         Affected functions are `window-minibuffer-p', `window-dedicated-p',
6954         `window-hscroll', `window-width', `window-height', `window-buffer',
6955         `window-frame', `window-start', `window-point', `next-window'
6956         and `window-display-table'.
6957         * abbrev.el (abbrev--default-expand):
6958         * bs.el (bs--show-with-configuration):
6959         * buff-menu.el (Buffer-menu-mouse-select):
6960         * calc/calc.el (calc):
6961         * calendar/calendar.el (calendar-generate-window):
6962         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6963         (diary-make-entry):
6964         * comint.el (send-invisible, comint-dynamic-complete-filename)
6965         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6966         * completion.el (complete):
6967         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6968         * disp-table.el (describe-current-display-table):
6969         * doc-view.el (doc-view-insert-image):
6970         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6971         * ehelp.el (with-electric-help):
6972         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6973         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6974         * emacs-lisp/helper.el (Helper-help-scroller):
6975         * emulation/cua-base.el (cua--post-command-handler-1):
6976         * eshell/esh-mode.el (eshell-output-filter):
6977         * ffap.el (ffap-gnus-wrapper):
6978         * help-macro.el (make-help-screen):
6979         * hilit-chg.el (highlight-compare-buffers):
6980         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6981         * hl-line.el (global-hl-line-highlight):
6982         * icomplete.el (icomplete-simple-completing-p):
6983         * isearch.el (isearch-done):
6984         * jit-lock.el (jit-lock-stealth-fontify):
6985         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6986         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6987         * mpc.el (mpc-tagbrowser, mpc):
6988         * net/rcirc.el (rcirc-any-buffer):
6989         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6990         * play/landmark.el (landmark-max-width, landmark-max-height):
6991         * play/zone.el (zone):
6992         * progmodes/compile.el (compilation-goto-locus):
6993         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6994         * progmodes/etags.el (find-tag-other-window):
6995         * progmodes/fortran.el (fortran-column-ruler):
6996         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6997         * progmodes/verilog-mode.el (verilog-point-text):
6998         * reposition.el (reposition-window):
6999         * rot13.el (toggle-rot13-mode):
7000         * server.el (server-switch-buffer):
7001         * shell.el (shell-dynamic-complete-command)
7002         (shell-dynamic-complete-environment-variable):
7003         * simple.el (insert-buffer, set-selective-display)
7004         (delete-completion-window):
7005         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7006         (speedbar-recenter):
7007         * startup.el (fancy-splash-head):
7008         * textmodes/ispell.el (ispell-command-loop):
7009         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7010         * tutorial.el (help-with-tutorial):
7011         * vc/add-log.el (add-change-log-entry):
7012         * vc/compare-w.el (compare-windows):
7013         * vc/ediff-help.el (ediff-indent-help-message):
7014         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7015         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7016         (ediff-setup-control-frame):
7017         * vc/emerge.el (emerge-position-region):
7018         * vc/pcvs-util.el (cvs-bury-buffer):
7019         * window.el (walk-windows, mouse-autoselect-window-select):
7020         * winner.el (winner-set-conf, winner-undo): Related users changed.
7022 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7024         * frameset.el (frameset--set-id): Doc fix.
7025         (frameset-frame-id, frameset-frame-id-equal-p)
7026         (frameset-locate-frame-id): New functions.
7027         (frameset--process-minibuffer-frames, frameset--reuse-frame)
7028         (frameset-restore): Use them.
7030 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7032         Do not call to `selected-frame' where it is assumed by default.
7033         Affected functions are `raise-frame', `redraw-frame',
7034         `frame-first-window', `frame-terminal' and `delete-frame'.
7035         * calendar/appt.el (appt-disp-window):
7036         * epg.el (epg-wait-for-completion):
7037         * follow.el (follow-delete-other-windows-and-split)
7038         (follow-avoid-tail-recenter):
7039         * international/mule.el (set-terminal-coding-system):
7040         * mail/rmail.el (rmail-mail-return):
7041         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7042         * progmodes/f90.el (f90-add-imenu-menu):
7043         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7044         * server.el (server-switch-buffer):
7045         * simple.el (delete-completion-window):
7046         * talk.el (talk):
7047         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7048         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7049         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7050         * vc/ediff.el (ediff-documentation): Related users changed.
7051         * frame.el (selected-terminal): Remove the leftover.
7053 2013-08-05  Glenn Morris  <rgm@gnu.org>
7055         * calendar/calendar.el (calendar-generate-month):
7056         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7057         (calendar-generate-month, calendar-font-lock-keywords):
7058         Fix for calendar-day-header-width > length of any day name.
7060 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7062         * desktop.el (desktop-clear): Use new name of sort predicate.
7064         * frameset.el (frameset): Add docstring.  Move :version property to its
7065         own `version' slot.
7066         (frameset-copy): Rename from copy-frameset.
7067         (frameset-p): Check more thoroughly.
7068         (frameset-prop): Do not check for :version, which is no longer a prop.
7069         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7070         Use new :never value instead of t.
7071         (frameset-filter-alist): Expand and clarify docstring.
7072         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7073         (frameset-filter-minibuffer, frameset-filter-save-param)
7074         (frameset-filter-restore-param, frameset-filter-iconified):
7075         Add pointer to docstring of frameset-filter-alist.
7076         (frameset-filter-params): Rename filter values to be more meaningful:
7077         :never instead of t, and reverse the meanings of :save and :restore.
7078         (frameset--process-minibuffer-frames): Clarify error message.
7079         (frameset-save): Avoid unnecessary and confusing call to framep.
7080         Use new BOA constructor for framesets.
7081         (frameset--reuse-list): Doc fix.
7082         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
7083         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7084         (frameset-minibufferless-first-p): Doc fix.
7085         Rename from frameset-sort-frames-for-deletion.
7086         (frameset-restore): Doc fixes.  Use new function names.
7087         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7089 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7091         * desktop.el (desktop-restore-forces-onscreen)
7092         (desktop-restore-reuses-frames): Document :keyword constant values.
7093         (desktop-filter-parameters-alist): Remove, now identical to
7094         frameset-filter-alist.
7095         (desktop--filter-tty*): Remove, moved to frameset.el.
7096         (desktop-save-frameset, desktop-restore-frameset):
7097         Do not pass :filters argument.
7099         * frameset.el (frameset-live-filter-alist)
7100         (frameset-persistent-filter-alist): New variables.
7101         (frameset-filter-alist): Use them.  Add autoload cookie.
7102         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7103         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7104         `frameset--id' (it's supposed to be internal to frameset.el).
7105         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
7106         (frameset--initial-params): New function.
7107         (frameset--get-frame): Use it.  Doc fix.
7108         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7109         Accept :all, not 'all.
7110         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7111         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
7112         with fbound symbols.  Fix frame id matching, and remove matching ids if
7113         the frame being restored is deleted.  Obey :delete.
7115 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7117         * subr.el (macrop): New function.
7118         (text-clone--maintaining): New var.
7119         (text-clone--maintain): Rename from text-clone-maintain.  Use it
7120         instead of inhibit-modification-hooks.
7122         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7123         a proxy, so as handle autoloads and redefinitions of the target.
7124         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7126         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7127         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
7128         (pcase--mutually-exclusive-p): New function.
7129         (pcase--split-consp): Use it.
7130         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
7131         mutually exclusive with the current predicate.
7133         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7134         (edebug-macrop): Remove.  Use `macrop' instead.
7135         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
7136         (ad-macro-p):
7137         * eshell/esh-cmd.el (eshell-macrop):
7138         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
7140 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7142         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7143         (advice-mapc): New function, using it.
7144         (advice-function-member-p): New function.
7145         (advice--normalize): Store the cdr in advice--saved-rewrite since
7146         that's the part that will be changed.
7147         (advice--symbol-function): New function.
7148         (advice-remove): Handle removal before the function is defined.
7149         Adjust to new advice--saved-rewrite.
7150         (advice-member-p): Use advice-function-member-p and
7151         advice--symbol-function.
7153 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7155         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7156         (frameset-filter-minibuffer): Doc fix.
7157         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
7158         (frameset--set-id, frameset--process-minibuffer-frames)
7159         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7160         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7162         * desktop.el (desktop-clear): Only delete frames when called
7163         interactively and desktop-restore-frames is non-nil.  Doc fix.
7164         (desktop-read): Set desktop-saved-frameset to nil.
7166 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
7168         * vc/vc.el (vc-ignore): Rewrite.
7169         (vc-default-ignore-completion-table):
7170         (vc--read-lines):
7171         (vc--add-line, vc--remove-regexp): New functions.
7173         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7174         (vc-svn-ignore-completion-table): New function.
7176         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7177         (vc-hg-ignore-completion-table):
7178         (vc-hg-find-ignore-file): New functions.
7180         * vc/vc-git.el (vc-git-ignore): Rewrite.
7181         (vc-git-ignore-completion-table):
7182         (vc-git-find-ignore-file): New functions.
7184         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7186         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7187         (vc-bzr-ignore-completion-table):
7188         (vc-bzr-find-ignore-file): New functions.
7190 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
7192         * frameset.el (frameset-prop): New function and setter.
7193         (frameset-save): Do not modify frame list passed by the caller.
7195 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7197         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7199 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7201         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7202         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7204         * custom.el (custom-initialize-default, custom-initialize-set)
7205         (custom-initialize-reset, custom-initialize-changed): Affect the
7206         toplevel-default-value (bug#6275, bug#14586).
7207         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7208         for bug#6275.
7210 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7212         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7213         Add cl-def* expressions.
7215         * frameset.el (frameset-filter-params): Fix order of arguments.
7217 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7219         Move code related to saving frames to frameset.el.
7220         * desktop.el: Require frameset.
7221         (desktop-restore-frames): Doc fix.
7222         (desktop-restore-reuses-frames): Rename from
7223         desktop-restoring-reuses-frames.
7224         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7225         (desktop-clear): Clear frames too.
7226         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7227         (desktop--filter-tty*, desktop-save, desktop-read):
7228         Use frameset functions.
7229         (desktop-before-saving-frames-functions, desktop--filter-*-color)
7230         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7231         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7232         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7233         (desktop--process-minibuffer-frames, desktop-save-frames)
7234         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7235         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7236         (desktop--sort-states, desktop-restoring-frames-p)
7237         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
7238         (desktop-restoring-frameset-p, desktop-restore-frameset)
7239         (desktop--check-dont-save, desktop-save-frameset): New functions.
7240         (desktop--app-id): New constant.
7241         (desktop-first-buffer, desktop-buffer-ok-count)
7242         (desktop-buffer-fail-count): Move before first use.
7243         * frameset.el: New file.
7245 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7247         * files.el: Use lexical-binding.
7248         (dir-locals-read-from-file): Remove unused `err' variable.
7249         (hack-dir-local-variables--warned-coding): New var.
7250         (hack-dir-local-variables): Use it to avoid repeated warnings.
7251         (make-backup-file-name--default-function): New function.
7252         (make-backup-file-name-function): Use it as default.
7253         (buffer-stale--default-function): New function.
7254         (buffer-stale-function): Use it as default.
7255         (revert-buffer-insert-file-contents--default-function): New function.
7256         (revert-buffer-insert-file-contents-function): Use it as default.
7257         (insert-directory): Avoid add-to-list.
7259         * autorevert.el (auto-revert-handler): Simplify.
7260         Use buffer-stale--default-function.
7262 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
7264         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7266         * whitespace.el (whitespace-ensure-local-variables): New function.
7267         (whitespace-cleanup-region): Call it.
7268         (whitespace-turn-on): Call it.
7270 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
7272         Complete file name handlers.
7274         * net/tramp.el (tramp-handle-set-visited-file-modtime)
7275         (tramp-handle-verify-visited-file-modtime)
7276         (tramp-handle-file-notify-rm-watch): New functions.
7277         (tramp-call-process): Do not bind `default-directory'.
7279         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7280         Order alphabetically.
7281         [access-file, add-name-to-file, dired-call-process]:
7282         [dired-compress-file, file-acl, file-notify-rm-watch]:
7283         [file-ownership-preserved-p, file-selinux-context]:
7284         [make-directory-internal, make-symbolic-link, set-file-acl]:
7285         [set-file-selinux-context, set-visited-file-modtime]:
7286         [verify-visited-file-modtime]: Add handler.
7287         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7289         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7290         [file-notify-add-watch, file-notify-rm-watch]:
7291         [set-file-times, set-visited-file-modtime]:
7292         [verify-visited-file-modtime]: Add handler.
7293         (with-tramp-gvfs-error-message)
7294         (tramp-gvfs-handle-set-visited-file-modtime)
7295         (tramp-gvfs-fuse-file-name): Remove.
7296         (tramp-gvfs-handle-file-notify-add-watch)
7297         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7298         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7300         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7301         Order alphabetically.
7302         [file-notify-rm-watch ]: Use default Tramp handler.
7303         [executable-find]: Remove private handler.
7304         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7305         `default-directory'.
7306         (tramp-sh-handle-executable-find)
7307         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7308         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7309         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7310         Do not use `format' in `tramp-message'.
7312         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7313         [file-notify-rm-watch, set-visited-file-modtime]:
7314         [verify-visited-file-modtime]: Add handler.
7315         (tramp-smb-call-winexe): Do not bind `default-directory'.
7317 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
7319         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7321 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
7323         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7324         use it.
7325         (log-view-diff-changeset): Same.
7326         (log-view-diff-common): Call backend command `previous-revision'
7327         to find out the previous revision, in both cases.  Swap the
7328         variables `to' and `fr', so that `fr' usually refers to the
7329         earlier revision (Bug#14989).
7331 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
7333         * ibuf-ext.el (ibuffer-filter-by-filename):
7334         Make it work with dired buffers too.
7336 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
7338         * emacs-lisp/re-builder.el (reb-color-display-p):
7339         * files.el (save-buffers-kill-terminal):
7340         * net/browse-url.el (browse-url):
7341         * server.el (server-save-buffers-kill-terminal):
7342         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7343         Prefer nil to selected-frame for the first arg of frame-parameter.
7345 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
7347         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7349 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
7351         * minibuffer.el (completion--twq-all): Try and preserve each
7352         completion's case choice (bug#14907).
7354 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7356         * net/network-stream.el (open-network-stream): Mention the new
7357         :nogreeting parameter.
7358         (network-stream-open-starttls): Use the :nogreeting parameter
7359         (bug#14938).
7361         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7363         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7364         more natural than popping.
7366         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7367         (shr-urlify): Highlight under mouse.
7369 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7371         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7373         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7375         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
7376         buffer for output.
7378         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
7379         point-min==1.  Fix search string.  Fix parentheses missing.
7381         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
7382         assume point-min==1.  Fix search string.  Fix parentheses missing.
7384         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7386         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
7387         buffer for output.
7389 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
7391         * frame.el (frame-notice-user-settings): Avoid inflooping when the
7392         initial frame is minibuffer-less.  (Bug#14841)
7394 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
7396         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7397         option.
7399         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7400         (tramp-maybe-open-connection): Use it.
7402 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7404         * desktop.el (desktop--make-frame): Include `minibuffer' in the
7405         minimal set of parameters passed when creating a frame, because
7406         the minibuffer status of a frame cannot be changed later.
7408 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
7410         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7411         replace-regexp-in-string and inadvertent omissions in previous change.
7412         (todo-filter-items): Ensure only file names are comma-separated in
7413         name of filtered items buffer.
7415 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7417         * desktop.el: Optionally force offscreen frames back onscreen.
7418         (desktop-restoring-reuses-frames): New option.
7419         (desktop--compute-pos, desktop--move-onscreen): New functions.
7420         (desktop--make-frame): Use desktop--move-onscreen.
7422 2013-07-27  Alan Mackenzie  <acm@muc.de>
7424         Fontify a Java generic method as a function.
7425         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7426         value to t.
7428 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
7430         * calendar/todo-mode.el: Add command to rename todo files.
7431         (todo-rename-file): New command.
7432         (todo-key-bindings-t): Add key binding for it.  Change the
7433         bindings of todo-filter-regexp-items(-multifile) to use `x'
7434         instead of `r', since the latter is better suited to the new
7435         renaming command.
7437 2013-07-27  Alan Mackenzie  <acm@muc.de>
7439         Make Java try-with-resources statement parse properly.
7440         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7441         (c-block-stmt-1-2-key): New language constants/variables.
7442         * progmodes/cc-engine.el (c-beginning-of-statement-1)
7443         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7444         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7445         with c-block-stmt-1-2-key.
7447 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
7449         * desktop.el (desktop--make-frame): Apply most frame parameters after
7450         creating the frame to force (partially or totally) offscreen frames to
7451         be restored as such.
7453 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
7455         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7456         (Bug#14948)
7458 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7460         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7461         `base' arg of backtrace-frame.
7463 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
7465         * simple.el (list-processes): Doc fix.
7467 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7469         * desktop.el (desktop--select-frame):
7470         Try harder to reuse existing frames.
7472 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7474         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7475         (edebug-eval): Use backtrace-eval.
7476         (edebug--display, edebug--recursive-edit): Don't let-bind the
7477         edebug-outer-* vars that keep track of variables we locally let-bind.
7478         (edebug-outside-excursion): Don't restore outside values of locally
7479         let-bound vars.
7480         (edebug--display): Use user-error.
7481         (cl-lexical-debug, cl-debug-env): Remove.
7483 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7485         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7486         are restored to be sure that they are visible before deleting any
7487         remaining ones.
7489 2013-07-26  Matthias Meulien  <orontee@gmail.com>
7491         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7492         vc-print-root-log.  (Bug#14948)
7494 2013-07-26  Richard Stallman  <rms@gnu.org>
7496         Add aliases for encrypting mail.
7497         * epa.el (epa-mail-aliases): New option.
7498         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7499         Bind inhibit-read-only so read-only text doesn't ruin everything.
7500         (epa-mail-default-recipients): New subroutine broken out.
7501         Handle epa-mail-aliases.
7503 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7505         Add support for lexical variables to the debugger's `e' command.
7506         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7507         vars, except for debugger-outer-match-data.
7508         (debugger-frame-number): Move check for "on a function call" from
7509         callers into it.  Add `skip-base' argument.
7510         (debugger-frame, debugger-frame-clear): Simplify accordingly.
7511         (debugger-env-macro): Only reset the state stored in non-variables,
7512         i.e. current-buffer and match-data.
7513         (debugger-eval-expression): Rewrite using backtrace-eval.
7514         * subr.el (internal--called-interactively-p--get-frame): Remove.
7515         (called-interactively-p):
7516         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7517         `base' arg of backtrace-frame instead.
7519 2013-07-26  Glenn Morris  <rgm@gnu.org>
7521         * align.el (align-regexp): Doc fix.  (Bug#14857)
7522         (align-region): Explicit error if subexpression missing/does not match.
7524         * simple.el (global-visual-line-mode):
7525         Do not duplicate the mode lighter.  (Bug#14858)
7527 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
7529         * window.el (display-buffer): In display-buffer bind
7530         split-window-keep-point to t, bug#14829.
7532 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7534         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7535         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7536         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7537         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7538         Change accordingly.
7539         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7540         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7542 2013-07-25  Glenn Morris  <rgm@gnu.org>
7544         * dired-x.el (dired-mark-extension): Convert comment to doc string.
7546 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7548         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7549         parameter to modify-frame-parameters if the value has not changed;
7550         this is a workaround for bug#14949.
7551         (desktop--make-frame): On cl-delete-if call, check parameter name,
7552         not full parameter.
7554 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7556         * vc/vc.el (vc-ignore): New function.
7558         * vc/vc-svn.el (vc-svn-ignore): New function.
7560         * vc/vc-hg.el (vc-hg-ignore): New function.
7562         * vc/vc-git.el (vc-git-ignore): New function.
7564         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7565         (vc-dir-ignore): New function.
7567         * vc/vc-cvs.el (vc-cvs-ignore): New function.
7568         (cvs-append-to-ignore): Move here from pcvs.el.
7570         * vc/vc-bzr.el (vc-bzr-ignore): New function.
7572         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7574 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
7576         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7577         (desktop-restore-frames): Warn when deleting an existing frame failed.
7579 2013-07-24  Glenn Morris  <rgm@gnu.org>
7581         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
7583 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
7585         * filenotify.el (file-notify-supported-p):
7586         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7587         Remove functions.
7589         * autorevert.el (auto-revert-use-notify):
7590         (auto-revert-notify-add-watch):
7591         * net/tramp.el (tramp-file-name-for-operation):
7592         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7593         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7594         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7595         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7596         Remove `file-notify-supported-p' entry.
7598 2013-07-24  Glenn Morris  <rgm@gnu.org>
7600         * printing.el: Replace all uses of deleted ps-windows-system,
7601         ps-lp-system, ps-flatten-list with lpr- versions.
7603 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7605         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7606         checked with memq (bug#14935).
7608         * files.el (revert-buffer-function): Use a non-nil default.
7609         (revert-buffer-preserve-modes): Declare var to
7610         provide access to the `preserve-modes' argument.
7611         (revert-buffer): Let-bind it.
7612         (revert-buffer--default): New function, extracted from revert-buffer.
7614 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7616         * lpr.el: Signal print errors more prominently.
7617         (print-region-function): Don't default to nil.
7618         (lpr-print-region): New function, extracted from print-region-1.
7619         Check lpr's return value and signal an error in case of problem.
7620         (print-region-1): Use it.
7621         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
7622         versions instead.
7623         (ps-printer-name): Default to nil.
7624         (ps-printer-name-option): Default to lpr-printer-switch.
7625         (ps-print-region-function): Don't default to nil.
7626         (ps-postscript-code-directory): Simplify default.
7627         (ps-do-despool): Use lpr-print-region to properly check the outcome.
7628         (ps-string-list, ps-eval-switch, ps-flatten-list)
7629         (ps-flatten-list-1): Remove.
7630         (ps-multibyte-buffer): Avoid setq.
7631         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7632         (print-region-function, ps-print-region-function): Don't set them here.
7634 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
7636         * ido.el (ido-fractionp):
7637         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7638         (ido-max-file-prompt-width, ido-unc-hosts-cache)
7639         (ido-max-directory-size, ido-max-dir-file-cache)
7640         (ido-decorations): Doc fix.
7642         * ansi-color.el: Fix old URL.
7644 2013-07-23  Michael R. Mauger  <michael@mauger.com>
7646         * progmodes/sql.el: Version 3.3
7647         (sql-product-alist): Improve oracle :prompt-cont-regexp.
7648         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7649         (sql-interactive-remove-continuation-prompt): Rewrite, use
7650         functions above.  Fix continuation prompt and complete output line
7651         handling.
7652         (sql-redirect-one, sql-execute): Use `read-only-mode' on
7653         redirected output buffer.
7654         (sql-mode): Restore deleted code (Bug#13591).
7656 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7658         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7660 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
7662         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7664         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7665         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7666         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7668 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7670         * desktop.el (desktop-clear): Simplify; remove useless checks
7671         against invalid buffer names.
7672         (desktop-list*): Use cl-list*.
7673         (desktop-buffer-info, desktop-create-buffer): Simplify.
7675 2013-07-23  Leo Liu  <sdl.web@gmail.com>
7677         * bookmark.el (bookmark-make-record): Restore NAME as a default
7678         value.  (Bug#14933)
7680 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7682         * emacs-lisp/autoload.el (autoload--setup-output): New function,
7683         extracted from autoload--insert-text.
7684         (autoload--insert-text): Remove.
7685         (autoload--print-cookie-text): New function, extracted from
7686         autoload--insert-cookie-text.
7687         (autoload--insert-cookie-text): Remove.
7688         (autoload-generate-file-autoloads): Adjust calls accordingly.
7690         * winner.el (winner-hook-installed-p): Remove.
7691         (winner-mode): Simplify accordingly.
7693         * subr.el (add-to-list): Fix compiler-macro when `append' is
7694         not constant.  Don't use `cl-member' for the base case.
7696         * progmodes/subword.el: Fix boundary case (bug#13758).
7697         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
7698         own group.
7699         (subword-backward-regexp): Make it a constant.
7700         (subword-forward-internal): Don't treat a trailing capital as the
7701         beginning of a word.
7703 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
7705         * emacs-lisp/package.el (package-menu-mode): Don't modify the
7706         global value of tabulated-list-revert-hook (bug#14930).
7708 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
7710         * desktop.el: Require 'cl-lib.
7711         (desktop-before-saving-frames-functions): New hook.
7712         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7713         for frames being saved.  Rename from desktop--save-minibuffer-frames.
7714         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7715         Do not save frames with non-nil `desktop-dont-save' parameter.
7716         Filter out deleted frames.
7717         (desktop--find-frame): Use cl-find-if.
7718         (desktop--select-frame): Use cl-(first|second|third) to access values
7719         of desktop-mini.
7720         (desktop--make-frame): Use cl-delete-if.
7721         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7722         (desktop-restore-frames): Use cl-(first|second|third) to access values
7723         of desktop-mini.  Look for visible frame at the end, not while
7724         restoring frames.
7726         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7727         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7728         Use string-match-p, looking-at-p (bug#14927).
7730 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
7732         * desktop.el (desktop-saved-frame-states):
7733         Rename from desktop--saved-states; all users changed.
7734         (desktop-save-frames): Rename from desktop--save-frames.
7735         Do not save state to desktop file.
7736         (desktop-save): Save desktop-saved-frame-states to desktop file
7737         and reset to nil.
7738         (desktop-restoring-frames-p): New function.
7739         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
7740         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
7741         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
7743         * desktop.el: Correctly restore iconified frames.
7744         (desktop--filter-iconified-position): New function.
7745         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7747 2013-07-20  Glenn Morris  <rgm@gnu.org>
7749         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7750         Let `message' do the formatting.
7751         (def-gdb-preempt-display-buffer): Add explicit format.
7753         * image-dired.el (image-dired-track-original-file):
7754         Use with-current-buffer.
7755         (image-dired-track-thumbnail): Use with-current-buffer.
7756         Avoid changing point of wrong window.
7758         * image-dired.el (image-dired-track-original-file):
7759         Avoid changing point of wrong window.  (Bug#14909)
7761 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
7763         * progmodes/gdb-mi.el (gdb-done-or-error):
7764         Guard against "%" in gdb output.  (Bug#14127)
7766 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
7768         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7769         (Bug#14826)
7771         * international/mule.el (coding-system-iso-2022-flags): Fix last
7772         change.
7774 2013-07-20  Kenichi Handa  <handa@gnu.org>
7776         * international/mule.el (coding-system-iso-2022-flags):
7777         Add `8-bit-level-4'.  (Bug#8522)
7779 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7781         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7782         (bug#14815).
7784         * net/eww.el (eww-process-text-input): Allow inputting when the
7785         point is at the start of the line, as the properties aren't
7786         front-sticky.
7788         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7789         degenerate widths.
7791 2013-07-19  Richard Stallman  <rms@gnu.org>
7793         * epa.el (epa-popup-info-window): Doc fix.
7795         * subr.el (split-string): New arg TRIM.
7797 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7799         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7800         Add check for W32 (followup to revno:113431).
7802 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7804         * filenotify.el (file-notify--library): Rename from
7805         `file-notify-support'.  Do not autoload.  Adapt all uses.
7806         (file-notify-supported-p): New defun.
7808         * autorevert.el (auto-revert-use-notify):
7809         Use `file-notify-supported-p' instead of `file-notify-support'.
7810         Adapt docstring.
7811         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7813         * net/tramp.el (tramp-file-name-for-operation):
7814         Add `file-notify-supported-p'.
7816         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7817         New defun.
7818         (tramp-sh-file-name-handler-alist): Add it as handler for
7819         `file-notify-supported-p '.
7821         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7822         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7823         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7824         Add `ignore' as handler for `file-notify-*' functions.
7826 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7828         * simple.el (line-move-partial, line-move): Don't start vscroll or
7829         scroll-up if the current line is not taller than the window.
7830         (Bug#14881)
7832 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7834         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7835         highlight question marks in the method names as strings.
7836         (ruby-block-beg-keywords): Inline.
7837         (ruby-font-lock-keyword-beg-re): Extract from
7838         `ruby-font-lock-keywords'.
7840 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7842         * frame.el (blink-cursor-blinks): New defcustom.
7843         (blink-cursor-blinks-done): New defvar.
7844         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7845         (blink-cursor-timer-function): Check if number of blinks has been
7846         done on X and NS.
7847         (blink-cursor-suspend, blink-cursor-check): New defuns.
7849 2013-07-15  Glenn Morris  <rgm@gnu.org>
7851         * edmacro.el (edmacro-format-keys): Fix previous change.
7853 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7855         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7856         The hack didn't work outside English locales anyway.
7858 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7860         * simple.el (define-alternatives): Rename from alternatives-define,
7861         per RMS' suggestion.
7863 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7865         * desktop.el (desktop-restore-frames): Change default to t.
7866         (desktop-restore-in-current-display): Now offer more options.
7867         (desktop-restoring-reuses-frames): New customization option.
7868         (desktop--saved-states): Doc fix.
7869         (desktop-filter-parameters-alist): New variable, renamed and expanded
7870         from desktop--excluded-frame-parameters.
7871         (desktop--target-display): New variable.
7872         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7873         (desktop--filter-tty*, desktop--filter-*-color)
7874         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7875         (desktop--filter-save-desktop-parm)
7876         (desktop-restore-in-original-display-p): New functions.
7877         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7878         (desktop--save-minibuffer-frames): New function, inspired by a similar
7879         function from Martin Rudalics.
7880         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7881         (desktop--restore-in-this-display-p): Remove.
7882         (desktop--find-frame): Rename from desktop--find-frame-in-display
7883         and add predicate argument.
7884         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7885         (desktop--reuse-list): New variable.
7886         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7887         New functions.
7888         (desktop--restore-frames): Add support for "minibuffer-special" frames.
7890 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
7892         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7894 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
7896         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7897         Highlight conversion methods on Kernel.
7899 2013-07-13  Alan Mackenzie  <acm@muc.de>
7901         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7902         and comment it out.  This out-commenting enables certain C++
7903         declarations to be parsed correctly.
7905 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
7907         * international/mule.el (define-coding-system): Doc fix.
7909         * simple.el (default-font-height): Don't call font-info if the
7910         frame's default font didn't change since the frame was created.
7911         (Bug#14838)
7913 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7915         * ido.el (ido-read-file-name): Guard against non-symbol value.
7917 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7919         * progmodes/python.el (python-imenu--build-tree): Fix corner case
7920         in nested defuns.
7922 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7924         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7925         ido-set-matches call.  (Bug#6852)
7927 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
7929         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7930         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7931         Ruby 2.0.
7932         (ruby-font-lock-keywords): Distinguish calls to functions with
7933         module-like names from module references.  Highlight character
7934         literals.
7936 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
7938         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7939         (gdb-send): Handle continued commands.  (Bug#14847)
7941 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7943         * desktop.el (desktop--v2s): Remove unused local variable.
7944         (desktop-save-buffer): Make defvar-local; adjust docstring.
7945         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7946         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7948 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7950         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7952 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
7954         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7955         (Bug#14842)
7957 2013-07-12  Glenn Morris  <rgm@gnu.org>
7959         * doc-view.el: Require cl-lib at runtime too.
7960         (doc-view-remove-if): Remove.
7961         (doc-view-search-next-match, doc-view-search-previous-match):
7962         Use cl-remove-if.
7964         * edmacro.el: Require cl-lib at runtime too.
7965         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7966         (edmacro-mismatch, edmacro-subseq): Remove.
7968         * shadowfile.el: Require cl-lib.
7969         (shadow-remove-if): Remove.
7970         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7971         Use cl-remove-if.
7973         * wid-edit.el: Require cl-lib.
7974         (widget-choose): Use cl-remove-if.
7975         (widget-remove-if): Remove.
7977         * progmodes/ebrowse.el: Require cl-lib at runtime too.
7978         (ebrowse-delete-if-not): Remove.
7979         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7980         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7981         Use cl-delete-if-not.
7983 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7985         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7986         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7988 2013-07-12  Leo Liu  <sdl.web@gmail.com>
7990         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
7992 2013-07-11  Glenn Morris  <rgm@gnu.org>
7994         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7995         (edebug-gensym-index, edebug-gensym):
7996         Remove reimplementation of cl-gensym.
7997         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7999         * thumbs.el: Require cl-lib at run-time too.
8000         (thumbs-gensym-counter, thumbs-gensym):
8001         Remove reimplementation of cl-gensym.
8002         (thumbs-temp-file): Use cl-gensym.
8004         * emacs-lisp/ert.el: Require cl-lib at runtime too.
8005         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8006         (ert--intersection, ert--set-difference, ert--set-difference-eq)
8007         (ert--union, ert--gensym-counter, ert--gensym-counter)
8008         (ert--coerce-to-vector, ert--remove*, ert--string-position)
8009         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8010         (ert-make-test-unbound, ert--expand-should-1)
8011         (ert--expand-should, ert--should-error-handle-error)
8012         (should-error, ert--explain-equal-rec)
8013         (ert--plist-difference-explanation, ert-select-tests)
8014         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8015         Use cl-lib functions rather than reimplementations.
8017 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
8019         * net/tramp.el (tramp-methods): Extend docstring.
8020         (tramp-connection-timeout): New defcustom.
8021         (tramp-error-with-buffer): Reset timestamp only when appropriate.
8022         (with-tramp-progress-reporter): Simplify.
8023         (tramp-process-actions): Improve messages.
8025         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8026         * net/tramp-sh.el (tramp-maybe-open-connection):
8027         Use `tramp-connection-timeout'.
8028         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8029         (Bug#14808)
8031 2013-07-11  Leo Liu  <sdl.web@gmail.com>
8033         * ido.el (ido-read-file-name): Conform to the requirements of
8034         read-file-name.  (Bug#11861)
8035         (ido-read-directory-name): Conform to the requirements of
8036         read-directory-name.
8038 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
8040         * subr.el (delay-warning): New function.
8042 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
8044         * simple.el (default-line-height): New function.
8045         (line-move-partial, line-move): Use it instead of computing the
8046         line height inline.
8047         (line-move-partial): Always compute ROWH.  If the last line is
8048         partially-visible, but its text is completely visible, allow
8049         cursor to enter such a partially-visible line.
8051 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8053         Improve error messages.  (Bug#14808)
8055         * net/tramp.el (tramp-current-connection): New defvar, moved from
8056         tramp-sh.el.
8057         (tramp-message-show-progress-reporter-message): Remove, not
8058         needed anymore.
8059         (tramp-error-with-buffer): Show message in minibuffer.
8060         Discard input before waiting.  Reset connection timestamp.
8061         (with-tramp-progress-reporter): Improve messages.
8062         (tramp-process-actions): Use progress reporter.  Delete process in
8063         case of error.  Improve messages.
8065         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8066         Call `tramp-error-with-buffer' with vector and buffer.
8067         (tramp-current-connection): Remove.
8068         (tramp-maybe-open-connection): The car of
8069         `tramp-current-connection' are the first 3 slots of the vector.
8071 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
8073         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8074         inside continued strings.
8076 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
8078         Timestamp fixes for undo (Bug#14824).
8079         * files.el (clear-visited-file-modtime): Move here from fileio.c.
8081 2013-07-10  Leo Liu  <sdl.web@gmail.com>
8083         * files.el (require-final-newline): Allow safe local value.
8084         (Bug#14834)
8086 2013-07-09  Leo Liu  <sdl.web@gmail.com>
8088         * ido.el (ido-read-directory-name): Handle fallback.
8089         (ido-read-file-name): Update DIR to ido-current-directory.
8090         (Bug#1516)
8091         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
8093 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
8095         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8096         "autoload".  Remove "warn lower camel case" section, previously
8097         commented out.  Highlight negation char.  Do not highlight the
8098         target in singleton method definitions.
8100 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8102         * faces.el (tty-setup-hook): Declare the hook.
8104         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8105         and detect when a guard/pred depends on local vars (bug#14773).
8106         (pcase--u1): Adjust caller.
8108 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
8110         * simple.el (line-move-partial, line-move): Account for
8111         line-spacing.
8112         (line-move-partial): Avoid setting vscroll when the last
8113         partially-visible line in window is of default height.
8115 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8117         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8118         been used a while.
8120 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
8122         * subr.el (read-quoted-char): Remove unused local variable `char'.
8124 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8126         * ediff.el (ediff-version): Version update.
8127         (ediff-files-command, ediff3-files-command, ediff-merge-command)
8128         (ediff-merge-with-ancestor-command, ediff-directories-command)
8129         (ediff-directories3-command, ediff-merge-directories-command)
8130         (ediff-merge-directories-with-ancestor-command): New functions.
8131         All are command-line interfaces to ediff: to facilitate calling
8132         Emacs with the appropriate ediff functions invoked.
8134         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8135         (viper-save-kill-buffer): Check if buffer is modified.
8137         * viper.el (viper-version): Version update.
8138         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8140 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8142         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8143         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8144         (viper-intercept-ESC-key): Simplify.
8145         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8146         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8147         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8148         (viper-setup-ESC-to-escape): New functions.
8149         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8150         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
8152 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
8154         * simple.el (default-font-height, window-screen-lines):
8155         New functions.
8156         (line-move, line-move-partial): Use them instead of
8157         frame-char-height and window-text-height.  This makes scrolling
8158         text smoother when the buffer's default face uses a font that is
8159         different from the frame's default font.
8161 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
8163         * files.el (write-file): Do not display confirm dialog for NS,
8164         it does its own dialog, which can't be canceled (Bug#14578).
8166 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
8168         * simple.el (line-move-partial): Adjust the row returned by
8169         posn-at-point for the current window-vscroll.  (Bug#14567)
8171 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
8173         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8174         (tramp-sh-file-inotifywait-process-filter): Handle file names with
8175         spaces.
8177 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
8179         * window.el (window-state-put-stale-windows): New variable.
8180         (window--state-put-2): Save list of windows without matching buffer.
8181         (window-state-put): Remove "bufferless" windows if possible.
8183 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8185         * simple.el (alternatives-define): Remove leftover :group keyword.
8186         Tweak docstring.
8188 2013-07-06  Leo Liu  <sdl.web@gmail.com>
8190         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8191         (ido-enable-virtual-buffers): New variable.
8192         (ido-buffer-internal, ido-toggle-virtual-buffers)
8193         (ido-make-buffer-list): Use it.
8194         (ido-exhibit): Support turning on and off virtual buffers
8195         automatically.
8197 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8199         * simple.el (alternatives-define): New macro.
8201 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8203         * subr.el (read-quoted-char): Use read-key.
8204         (sit-for): Let read-event decode tty input (bug#14782).
8206 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
8208         * calendar/todo-mode.el: Add handling of file deletion, both by
8209         mode command and externally.  Fix various related bugs.
8210         Clarify Commentary and improve some documentation strings and code.
8211         (todo-delete-file): New command.
8212         (todo-check-file): New function.
8213         (todo-show): Handle external deletion of the file we're trying to
8214         show (bug#14688).  Replace called-interactively-p by an optional
8215         prefix argument to avoid problematic interaction with catch form
8216         when byte compiled (bug#14702).
8217         (todo-quit): Handle external deletion of the archive's todo file.
8218         Make sure the buffer that was visiting the archive file is still
8219         live before trying to bury it.
8220         (todo-category-completions): Handle external deletion of any
8221         category completion files.
8222         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8223         of todo files, in case of external deletion.
8224         (todo-add-file): Replace unnecessary setq by let-binding.
8225         (todo-find-archive): Check whether there are any archives.
8226         Replace unnecessary setq by let-binding.
8227         (todo-archive-done-item): Use find-file-noselect to get the
8228         archive buffer whether or not the archive already exists.
8229         Remove superfluous code.  Use file size instead of buffer-file-name to
8230         check if the archive is new; if it is, update list of archives.
8231         (todo-default-todo-file): Allow nil to be a valid value for when
8232         there are no todo files.
8233         (todo-reevaluate-default-file-defcustom): Use corrected definition
8234         of todo-default-todo-file.
8235         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8236         (todo-delete-category, todo-show-categories-table)
8237         (todo-category-number): Clarify comment.
8238         (todo-filter-items): Clarify documentation string.
8239         (todo-show-current-file, todo-display-as-todo-file)
8240         (todo-reset-and-enable-done-separator): Tweak documentation string.
8241         (todo-done-separator): Make separator length window-width, since
8242         bug#2749 is now fixed.
8244 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
8246         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8247         Support both "gvfs-monitor-dir" and "inotifywait".
8248         (tramp-sh-file-inotifywait-process-filter): Rename from
8249         `tramp-sh-file-notify-process-filter'.
8250         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8251         (tramp-get-remote-gvfs-monitor-dir): New defuns.
8253 2013-07-05  Leo Liu  <sdl.web@gmail.com>
8255         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8257 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8259         * frame.el (display-pixel-height, display-pixel-width)
8260         (display-mm-height, display-mm-width): Mention behavior on
8261         multi-monitor setups in docstrings.
8262         (w32-display-monitor-attributes-list): Declare function.
8263         (display-monitor-attributes-list): Use it.
8265 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
8267         * filenotify.el: New package.
8269         * autorevert.el (top): Require filenotify.el.
8270         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
8271         instead.
8272         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8273         (auto-revert-notify-handler): Use `file-notify-*' functions.
8275         * subr.el (file-notify-handle-event): Move function to filenotify.el.
8277         * net/tramp.el (tramp-file-name-for-operation):
8278         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8280         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8281         for `file-notify-add-watch' and `file-notify-rm-watch'.
8282         (tramp-process-sentinel): Improve trace.
8283         (tramp-sh-handle-file-notify-add-watch)
8284         (tramp-sh-file-notify-process-filter)
8285         (tramp-sh-handle-file-notify-rm-watch)
8286         (tramp-get-remote-inotifywait): New defuns.
8288 2013-07-03  Juri Linkov  <juri@jurta.org>
8290         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8291         call of `occur-read-primary-args' to interactive spec.
8293         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8294         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
8296 2013-07-03  Matthias Meulien  <orontee@gmail.com>
8298         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8299         `Buffer-menu-multi-occur'.  Add it to the menu.
8300         (Buffer-menu-mode): Document it in docstring.
8301         (Buffer-menu-multi-occur): New command.  (Bug#14673)
8303 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8305         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8306         keywords and built-ins.
8308 2013-07-03  Glenn Morris  <rgm@gnu.org>
8310         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
8312         Make info-xref checks case-sensitive by default
8313         * info.el (Info-find-node, Info-find-in-tag-table)
8314         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8315         Add option for exact case matching of nodes.
8316         * info-xref.el (info-xref): New custom group.
8317         (info-xref-case-fold): New option.
8318         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8320 2013-07-03  Leo Liu  <sdl.web@gmail.com>
8322         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8324 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8326         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8327         middle of block statement initially, lower the depth.  Remove
8328         FIXME comment, not longer valid.  Remove middle of block statement
8329         detection, no need to do that anymore since we've been using
8330         `ruby-parse-region' here.
8332 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
8334         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8336 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
8338         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8340 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
8342         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8343         (desktop-restore-in-current-display): New customization option.
8344         (desktop--excluded-frame-parameters): Add `font'.
8345         (desktop--save-frames): Rename from desktop--save-windows.
8346         (desktop--restore-in-this-display-p): New function.
8347         (desktop--make-full-frame): Remove unwanted width/height from
8348         full(width|height) frames.
8349         (desktop--restore-frames): Rename from desktop--restore-windows.
8350         Obey desktop-restore-current-display.  Do not delete old frames or
8351         select a new frame unless we were able to restore at least one frame.
8353 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
8355         * files.el (find-file-noselect): Simplify conditional expression.
8357         * textmodes/remember.el (remember-append-to-file):
8358         Don't mix `find-buffer-visiting' and `get-file-buffer'.
8360         Add `remember-notes' function to store random notes across Emacs
8361         restarts.
8362         * textmodes/remember.el (remember-data-file): Add :set callback to
8363         affect notes buffer (if any).
8364         (remember-notes): New command.
8365         (remember-notes-buffer-name, bury-remember-notes-on-kill):
8366         New defcustoms for the `remember-notes' function.
8367         (remember-notes-save-and-bury-buffer): New command.
8368         (remember-notes-mode-map): New variable.
8369         (remember-mode): New minor mode.
8370         (remember-notes--kill-buffer-query): New function.
8371         * startup.el (initial-buffer-choice): Add notes to custom type.
8373 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
8375         * bindings.el (right-char, left-char): Don't call sit-for, this is
8376         no longer needed.  Use arithmetic comparison only for numerical
8377         arguments.
8379         * international/mule-cmds.el (select-safe-coding-system):
8380         Handle the case of FROM being a string correctly.  (Bug#14755)
8382 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8384         * net/shr.el (shr-make-table-1): Add a sanity check that allows
8385         progression on degenerate tables.
8386         (shr-rescale-image): ImageMagick animated images currently don't work.
8388 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
8390         Some fixes and improvements for desktop frame restoration.
8391         It is still experimental and disabled by default.
8392         * desktop.el (desktop--save-windows): Put the selected frame at
8393         the head of the list.
8394         (desktop--make-full-frame): New function.
8395         (desktop--restore-windows): Try to re-select the frame that was
8396         selected upon saving.  Do not abort if some frames fail to restore,
8397         just show an error message and continue.  Set up maximized frames
8398         so they have default non-maximized dimensions.
8400 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
8402         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8403         Don't start heredoc inside a string or comment.
8405 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
8407         * bindings.el (visual-order-cursor-movement): New defcustom.
8408         (right-char, left-char): Provide visual-order cursor motion by
8409         calling move-point-visually.  Update the doc strings.
8411 2013-06-28  Kenichi Handa  <handa@gnu.org>
8413         * international/mule.el (define-coding-system): New coding system
8414         properties :inhibit-null-byte-detection,
8415         :inhibit-iso-escape-detection, and :prefer-utf-8.
8416         (set-buffer-file-coding-system): If :charset-list property of
8417         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8418         appropriate for setting.
8420         * international/mule-cmds.el (select-safe-coding-system):
8421         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8422         multibyte characters, return utf-8 (or one of its siblings).
8424         * international/mule-conf.el (prefer-utf-8): New coding system.
8425         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8426         files.
8428 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
8430         * net/shr.el (shr-render-region): New function.
8432         * net/eww.el: Autoload `eww-browse-url'.
8434 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
8436         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8437         Adapt to `package-desc-version' being a list.
8438         Use `package--ac-desc-version' to retrieve version from a package
8439         archive element.
8441 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
8443         New experimental feature to save&restore window and frame setup.
8444         * desktop.el (desktop-save-windows): New defcustom.
8445         (desktop--saved-states): New var.
8446         (desktop--excluded-frame-parameters): New defconst.
8447         (desktop--filter-frame-parms, desktop--find-frame-in-display)
8448         (desktop--restore-windows, desktop--save-windows): New functions.
8449         (desktop-save): Call `desktop--save-windows'.
8450         (desktop-read): Call `desktop--restore-windows'.
8452 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8454         * net/shr.el (add-face-text-property): Remove compat definition.
8456 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8458         * info.el (Info-try-follow-nearest-node): Move search for footnote
8459         above search for node name to prevent missing a footnote (bug#14717).
8461 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8463         * obsolete/otodo-mode.el: Add obsolescence info to file header.
8465 2013-06-27  Leo Liu  <sdl.web@gmail.com>
8467         * net/eww.el (eww-read-bookmarks): Check file size.
8469 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8471         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8472         advice--pending if newdef is nil or an autoload (bug#13820).
8473         (advice-mapc): New function.
8475 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8477         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8478         probably.
8479         (eww-mode-map): Add a menu bar.
8480         (eww-add-bookmark): New command.
8481         (eww-bookmark-mode): New mode and commands.
8482         (eww-add-bookmark): Remove newlines from the title.
8483         (eww-bookmark-browse): Don't bug out if it's the only window.
8485 2013-06-26  Glenn Morris  <rgm@gnu.org>
8487         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8488         (hfy-size): Handle ttys.  (Bug#14668)
8490         * info-xref.el: Update for Texinfo 5 change in *note format.
8491         (info-xref-node-re, info-xref-note-re): New constants.
8492         (info-xref-check-buffer): Use info-xref-note-re.
8494 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8496         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8498         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8499         nil terminate the loop (bug#14718).
8501 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8503         * net/eww.el: Rework history traversal.  When going forward/back,
8504         put these actions into the history, too, so that they can be
8505         replayed.
8506         (eww-render): Move the history reset to the correct buffer.
8508 2013-06-25  Juri Linkov  <juri@jurta.org>
8510         * files-x.el (modify-dir-local-variable): Change the header comment
8511         in the file with directory local variables.  (Bug#14692)
8513         * files-x.el (read-file-local-variable-value): Add `default'.
8514         (Bug#14710)
8516 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8518         * net/eww.el (eww-make-unique-file-name): Create a unique file
8519         name before saving to entering `y' accidentally asynchronously.
8521 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
8523         * net/eww.el (eww-download): New command and keystroke.
8525 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8527         * net/eww.el (eww-copy-page-url): Change name of command.
8529         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8530         be more consistent with Info and dired.
8532         * net/eww.el (eww-mode-map): Ditto.
8534 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8536         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
8537         packages from archives.
8538         (package-archive-contents): Change format; include obsolete packages.
8539         (package-desc): Use `dir' to mark builtin packages.
8540         (package--from-builtin): Set the `dir' field to `builtin'.
8541         (generated-autoload-file, version-control): Declare.
8542         (package-compute-transaction): Change first arg and return value to be
8543         lists of package-descs.  Adjust to new package-archive-contents format.
8544         (package--add-to-archive-contents): Adjust to new
8545         package-archive-contents format.
8546         (package-download-transaction): Arg is now a list of package-descs.
8547         (package-install): If `pkg' is a package name, pass it as
8548         a requirement, so it is subject to the usual (e.g. disabled) checks.
8549         (describe-package): Accept package-desc as well.
8550         (describe-package-1): Describe a specific package-desc.  Add links to
8551         other package-descs for the same package name.
8552         (package-menu-describe-package): Pass the actual package-desc.
8553         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8554         works correctly.
8555         (package-desc-status): New function.
8556         (package-menu--refresh): New function, extracted
8557         from package-menu--generate.
8558         (package-menu--generate): Use it.
8559         (package-delete): Update package-alist.
8560         (package-menu-execute): Don't call package-initialize.
8562         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8563         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8564         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8565         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8566         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8567         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8569 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
8571         * window.el (window--state-get-1): Workaround for bug#14527.
8572         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8574 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8576         * net/eww.el (eww-back-url): Implement the history by stashing all
8577         the data into a list.
8578         (eww-forward-url): Allow going forward in the history, too.
8580 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8582         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8583         for values and use read--expression for expressions (bug#14710).
8584         (read-file-local-variable): Avoid setq.
8585         (read-file-local-variable-mode): Use minor-mode-list.
8587 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8589         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8590         for DOI URLs.
8592 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8594         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8595         Update imenu-support when dialect changes.
8597 2013-06-25  Leo Liu  <sdl.web@gmail.com>
8599         * ido.el (ido-read-internal): Allow forward slash on windows.
8601 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8603         * net/eww.el (eww): Start of strings is \\`, not ^.
8605 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8607         * net/shr.el (shr-browse-url): Fix interactive spec.
8609         * net/eww.el (eww): Add a trailing slash to domain names.
8611 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
8613         * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
8615 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8617         * net/shr.el (shr-browse-url): Use an external browser if given a
8618         prefix.
8620         * net/eww.el (eww-external-browser): Move to shr.
8622 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8624         * net/eww.el (eww): Work more correctly for file: URLs.
8625         (eww-detect-charset): Allow quoted charsets.
8626         (eww-yank-page-url): New command and keystroke.
8628 2013-06-24  Daiki Ueno  <ueno@gnu.org>
8630         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8631         file name of gpg executable.
8632         (epg-context-program): New function.
8633         (epg-context-home-directory): New function.
8634         (epg-context-set-program): New function.
8635         (epg-context-set-home-directory): New function.
8636         (epg--start): Use `epg-context-program' instead of
8637         'epg-gpg-program'.
8638         (epg--list-keys-1): Likewise.
8640 2013-06-24  Leo Liu  <sdl.web@gmail.com>
8642         * ido.el (ido-read-internal): Fix bug#14620.
8644 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8646         * faces.el (face-documentation): Simplify.
8647         (read-face-attribute, tty-find-type, x-resolve-font-name):
8648         Use `string-match-p'.
8649         (list-faces-display): Use `string-match-p'.  Simplify.
8650         (face-spec-recalc): Check face to avoid face alias loops.
8651         (read-color): Use `string-match-p' and non-capturing parenthesis.
8653 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8655         * net/shr.el (shr-rescale-image): Use the new
8656         :max-width/:max-height functionality.
8658 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
8660         * net/eww.el (eww-search-prefix): New variable.
8661         (eww): Use it.
8662         (eww-external-browser): New variable.
8663         (eww-mode-map): New keystroke.
8664         (eww-browse-with-external-browser): New command.
8666         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8668 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8670         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8671         Don't skip aligning the next header field when padding is 0;
8672         otherwise, field width is not respected unless the title is as
8673         wide as the field.
8675 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8677         * emacs-lisp/package.el (package-el-version): Remove.
8678         (package-process-define-package): Fix inf-loop.
8679         (package-install): Allow symbols as arguments again.
8681 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8683         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8684         add some more keyword-like methods.
8685         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8687 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
8689         * bs.el (bs-buffer-show-mark): Make defvar-local.
8690         (bs-mode): Use setq-local.
8692         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8693         (emacs-lock--try-unlocking): Make defvar-local.
8695 2013-06-22  Glenn Morris  <rgm@gnu.org>
8697         * play/cookie1.el (cookie-apropos): Minor simplification.
8699         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8701 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8703         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8704         `regexp-opt', it breaks the build during dumping.
8706 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8708         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8709         Highlight keyword-like methods on Kernel and Module with
8710         font-lock-builtin-face.
8711         (auto-mode-alist): Consolidate different entries into one regexp
8712         and add more *file-s.
8714 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
8716         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8718         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8719         (diary-entry): Use it in the action of this button type instead of
8720         diary-goto-entry.
8722         * calendar/todo-mode.el: New version.
8723         (todo-add-category): Append new category to end of file and give
8724         it the highest number, instead of putting it at the beginning and
8725         giving it 0.  Incorporate noninteractive functionality.
8726         (todo-forward-category): Adapt to 1-based category numbering.
8727         Allow skipping over archived categories.
8728         (todo-backward-category): Derive from todo-forward-category.
8729         (todo-backward-item, todo-forward-item): Make noninteractive and
8730         delegate interactive part to new commands.  Make sensitive to done items.
8731         (todo-categories): Make value an alist of category names and
8732         vectors of item counts.
8733         (todo-category-beg): Make a defconst.
8734         (todo-category-number): Use 1 instead of 0 as initial value.
8735         (todo-category-select): Make sensitive to overlays, optional item
8736         highlighting and done items.
8737         (todo-delete-item): Make sensitive to overlays and marked and done items.
8738         (todo-edit-item): Make sensitive to overlays and editing of
8739         date/time header optional.  Add format checks.
8740         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
8741         no-op if point is not on an item.  Advertise using todo-edit-quit.
8742         (todo-edit-mode): Make sensitive to new format, font-locking, and
8743         multiple todo files.
8744         (todo-insert-item, todo-insert-item-here): Derive from
8745         todo-basic-insert-item and extend functionality.
8746         (todo-item-end, todo-item-start): Make sensitive to done items.
8747         (todo-item-string): Don't return text properties.  Restore point.
8748         (todo-jump-to-category): Make sensitive to multiple todo files and
8749         todo archives.  Use extended category completion.
8750         (todo-lower-item, todo-raise-item): Rename to *-priority and
8751         derive from todo-set-item-priority.
8752         (todo-mode): Derive from special-mode.  Make sensitive to new
8753         format, font-locking and multiple todo files.  Make read-only.
8754         (todo-mode-map): Don't suppress digit keys, so they can supply
8755         prefix arguments.  Add many new key bindings.
8756         (todo-prefix): Insert as an overlay instead of file text.
8757         Change semantics from diary date expression to purely visual mark.
8758         (todo-print): Rename to todo-print-buffer.  Make buffer display
8759         features printable.  Remove option to restrict number of items
8760         printed.  Add option to print to file.
8761         (todo-print-function): Rename to todo-print-buffer-function.
8762         (todo-quit): Extend to handle exiting new todo modes.
8763         (todo-remove-item): Make sensitive to overlays.
8764         (todo-save): Extend to buffers of filtered items.
8765         (todo-show): Make sensitive to done items, multiple todo files and
8766         new todo modes.  Offer to convert legacy todo file before creating
8767         first new todo file.
8768         (todo-show-priorities): Rename to todo-top-priorities.
8769         Change semantics of value 0.
8770         (todo-top-priorities): Rename to todo-filter-top-priorities,
8771         derive from todo-filter-items and extend functionality.
8772         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8773         and extend functionality to other types of filtered items.
8774         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8775         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8776         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8777         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8778         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8779         (todo-edit-mode-hook, todo-entry-prefix-function)
8780         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8781         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8782         (todo-initials, todo-insert-threshold, todo-item-string-start)
8783         (todo-line-string, todo-menu, todo-mode-hook)
8784         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8785         (todo-print-priorities, todo-remove-separator)
8786         (todo-save-top-priorities-too, todo-string-count-lines)
8787         (todo-string-multiline-p, todo-time-string-format)
8788         (todo-tmp-buffer-name): Remove.
8789         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8790         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8791         (todo-edit-category-diary-inclusion)
8792         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8793         (todo-edit-file, todo-edit-item-date-day)
8794         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8795         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8796         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8797         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8798         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8799         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8800         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8801         (todo-filter-top-priorities-multifile, todo-find-archive)
8802         (todo-find-filtered-items-file, todo-go-to-source-item)
8803         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8804         (todo-jump-to-archive-category, todo-lower-category)
8805         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8806         (todo-move-category, todo-move-item, todo-next-button)
8807         (todo-next-item, todo-padded-string, todo-powerset)
8808         (todo-previous-button, todo-previous-item)
8809         (todo-print-buffer-to-file, todo-raise-category)
8810         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8811         (todo-set-category-number, todo-set-item-priority)
8812         (todo-set-top-priorities-in-category)
8813         (todo-set-top-priorities-in-file, todo-show-categories-table)
8814         (todo-sort-categories-alphabetically-or-numerically)
8815         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8816         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8817         (todo-toggle-item-header, todo-toggle-item-highlighting)
8818         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8819         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8820         (todo-unarchive-items, todo-unmark-category): New commands.
8821         (todo-absolute-file-name, todo-add-to-buffer-list)
8822         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8823         (todo-basic-insert-item, todo-category-completions)
8824         (todo-category-number, todo-category-string-matcher-1)
8825         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8826         (todo-check-format, todo-clear-matches)
8827         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8828         (todo-current-category, todo-date-string-matcher)
8829         (todo-define-insertion-command, todo-diary-expired-matcher)
8830         (todo-diary-goto-entry, todo-diary-item-p)
8831         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8832         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8833         (todo-done-item-section-p, todo-done-separator)
8834         (todo-done-string-matcher, todo-files, todo-filter-items)
8835         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8836         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8837         (todo-insert-category-line, todo-insert-item-from-calendar)
8838         (todo-insert-sort-button, todo-insert-with-overlays)
8839         (todo-insertion-command-name, todo-insertion-key-bindings)
8840         (todo-label-to-key, todo-longest-category-name-length)
8841         (todo-make-categories-list, todo-mode-external-set)
8842         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8843         (todo-modes-set-3, todo-multiple-filter-files)
8844         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8845         (todo-read-category, todo-read-date, todo-read-dayname)
8846         (todo-read-file-name, todo-read-time)
8847         (todo-reevaluate-category-completions-files-defcustom)
8848         (todo-reevaluate-default-file-defcustom)
8849         (todo-reevaluate-filelist-defcustoms)
8850         (todo-reevaluate-filter-files-defcustom)
8851         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8852         (todo-reset-done-separator, todo-reset-done-separator-string)
8853         (todo-reset-done-string, todo-reset-global-current-todo-file)
8854         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8855         (todo-reset-prefix, todo-set-categories)
8856         (todo-set-date-from-calendar, todo-set-show-current-file)
8857         (todo-set-top-priorities, todo-short-file-name)
8858         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8859         (todo-total-item-counts, todo-update-buffer-list)
8860         (todo-update-categories-display, todo-update-categories-sexp)
8861         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8862         New functions.
8863         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8864         New major modes.
8865         (todo-categories, todo-display, todo-edit, todo-faces)
8866         (todo-filtered): New defgroups.
8867         (todo-archived-only, todo-button, todo-category-string, todo-date)
8868         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8869         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8870         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8871         (todo-add-item-if-new-category, todo-always-add-time-string)
8872         (todo-categories-align, todo-categories-archived-label)
8873         (todo-categories-category-label, todo-categories-diary-label)
8874         (todo-categories-done-label, todo-categories-number-separator)
8875         (todo-categories-todo-label, todo-categories-totals-label)
8876         (todo-category-completions-files, todo-completion-ignore-case)
8877         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8878         (todo-done-separator-string, todo-done-string)
8879         (todo-files-function, todo-filter-done-items, todo-filter-files)
8880         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8881         (todo-initial-category, todo-initial-file, todo-item-mark)
8882         (todo-legacy-date-time-regexp, todo-mode-line-function)
8883         (todo-nondiary-marker, todo-number-prefix)
8884         (todo-print-buffer-function, todo-show-current-file)
8885         (todo-show-done-only, todo-show-first, todo-show-with-done)
8886         (todo-skip-archived-categories, todo-top-priorities-overrides)
8887         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8888         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8889         New defcustoms.
8890         (todo-category-done, todo-date-pattern, todo-date-string-start)
8891         (todo-diary-items-buffer, todo-done-string-start)
8892         (todo-filtered-items-buffer, todo-item-start)
8893         (todo-month-abbrev-array, todo-month-name-array)
8894         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8895         (todo-top-priorities-buffer): New defconsts.
8896         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8897         (todo-categories-with-marks, todo-category-string-face)
8898         (todo-comment-face, todo-comment-string, todo-current-todo-file)
8899         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8900         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8901         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8902         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8903         (todo-font-lock-keywords, todo-global-current-todo-file)
8904         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8905         (todo-insertion-commands-args)
8906         (todo-insertion-commands-args-genlist)
8907         (todo-insertion-commands-names, todo-insertion-map)
8908         (todo-key-bindings-t, todo-key-bindings-t+a)
8909         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8910         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8911         (todo-nondiary-face, todo-print-buffer, todo-time-face)
8912         (todo-visited): New variables.
8914 2013-06-21  Glenn Morris  <rgm@gnu.org>
8916         * play/cookie1.el (cookie-apropos): Add optional display argument.
8917         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8918         (psychoanalyze-pinhead): Use cookie-doctor.
8920 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8922         * emacs-lisp/package.el (tar-get-file-descriptor)
8923         (tar--extract): Declare.
8925 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
8927         Extend flymake's warning predicate to be a function (bug#14217).
8928         * progmodes/flymake.el (flymake-warning-predicate): New.
8929         (flymake-parse-line): Use it.
8930         (flymake-warning-re): Make obsolete alias to
8931         `flymake-warning-predicate'.
8933 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8935         * emacs-lisp/package.el (package-alist): Include obsolete packages.
8936         (package-obsolete-list): Remove.
8937         (package-activate): Remove min-version argument.  Add `force' argument.
8938         Adjust to new package-alist format.
8939         (package-mark-obsolete): Remove.
8940         (package-unpack): Force reload of the package's autoloads.
8941         (package-installed-p): Check builtins if the installed package is not
8942         recent enough.
8943         (package-initialize): Don't reset package-obsolete-list.
8944         Don't specify which package version to activate.
8945         (package-process-define-package, describe-package-1)
8946         (package-menu--generate): Adjust to new package-alist format.
8948 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8950         * allout-widgets.el (allout-widgets-mode-off)
8951         (allout-widgets-mode-on, allout-widgets-pre-command-business)
8952         (allout-widgets-post-command-business)
8953         (allout-widgets-after-copy-or-kill-function)
8954         (allout-widgets-after-undo-function, allout-test-range-overlaps)
8955         (allout-decorate-item-and-context)
8956         (allout-graphics-modification-handler): Fix typos in docstrings.
8957         (allout-get-or-create-parent-widget): Use `looking-at-p'.
8959         * cmuscheme.el (scheme-start-file): Doc fix.
8960         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8961         (scheme-input-filter): Use `string-match-p'.
8963         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8965         * dired-x.el: Use Dired consistently in docstrings.
8967         * dired.el: Use Dired consistently in docstrings.
8968         (dired-readin, dired-mode): Use `setq-local'.
8969         (dired-switches-alist): Make defvar-local.
8970         (dired-buffers-for-dir): Use `zerop'.
8971         (dired-safe-switches-p, dired-switches-escape-p)
8972         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8973         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8974         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8975         (dired-goto-next-nontrivial-file): Use `string-match-p'.
8976         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8977         (dired-toggle-marks, dired-mark-files-containing-regexp)
8978         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8979         (dired-flag-auto-save-files, dired-flag-backup-files):
8980         Use `looking-at-p'.
8981         (dired-mark-files-regexp, dired-build-subdir-alist):
8982         Use `string-match-p', `looking-at-p'.
8984         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8985         (direct-print-region-helper): Use `string-match-p'.
8987 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8989         * comint.el (comint-redirect-results-list-from-process):
8990         Fix infinite loop.
8992 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8994         * net/eww.el (eww-update-header-line-format): Quote % characters.
8996 2013-06-21  Glenn Morris  <rgm@gnu.org>
8998         * play/cookie1.el (cookie): New custom group.
8999         (cookie-file): New option.
9000         (cookie-check-file): New function.
9001         (cookie): Make it interactive.  Make start and end messages optional.
9002         Interactively, display the result.  Default to cookie-file.
9003         (cookie-insert): Default to cookie-file.
9004         (cookie-snarf): Make start and end messages optional.
9005         Default to cookie-file.  Use with-temp-buffer.
9006         (cookie-read): Rename from read-cookie.
9007         Make start and end messages optional.  Default to cookie-file.
9008         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
9009         Do not autoload it.
9010         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9011         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9013 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9015         * progmodes/octave.el (octave-mode): Backward compatibility fix.
9017 2013-06-21  Glenn Morris  <rgm@gnu.org>
9019         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9021 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9022             Daniel Hackney  <dan@haxney.org>
9024         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9025         Consolidate the single-file vs tarball code.
9026         (package-desc-suffix): New function.
9027         (package-desc-full-name): Don't bother inlining it.
9028         (package-load-descriptor): Return the new package-desc.
9029         (package-mark-obsolete): Remove unused arg `package'.
9030         (package-unpack): Make it work for single files as well.
9031         Make it update package-alist.
9032         (package--make-autoloads-and-stuff): Rename from
9033         package--make-autoloads-and-compile.  Don't compile any more.
9034         (package--compile): New function.
9035         (package-generate-description-file): New function, extracted from
9036         package-unpack-single.
9037         (package-unpack-single): Remove.
9038         (package--with-work-buffer): Add indentation and debugging info.
9039         (package-download-single): Remove.
9040         (package-install-from-archive): Rename from package-download-tar, make
9041         it take a pkg-desc, and make it work for single files as well.
9042         (package-download-transaction): Simplify.
9043         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
9044         external tar program.
9045         (package-install-from-buffer): Remove `pkg-desc' argument.
9046         Use package-tar-file-info for tar-mode buffers.
9047         (package-install-file): Simplify accordingly.
9048         (package-archive-base): Change to take a pkg-desc.
9049         * tar-mode.el (tar--check-descriptor): New function, extracted from
9050         tar-get-descriptor.
9051         (tar-get-descriptor): Use it.
9052         (tar-get-file-descriptor): New function.
9053         (tar--extract): New function, extracted from tar-extract.
9054         (tar--extract): Use it.
9055         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9056         case the summary uses non-ascii.  Adjust to new calling convention of
9057         package-tar-file-info.
9059 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9061         * comint.el (comint-redirect-results-list-from-process):
9062         Fix random delay.  (Bug#14681)
9064 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9066         * profiler.el (profiler-format-number): Use log, not log10.
9068 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9070         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9072 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9075         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9076         yet available.
9077         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9078         (AUTOGENEL): ... here.
9079         * emacs-lisp/cl-macs.el (cl--sublis): New function.
9080         (cl--defsubst-expand): Use it.
9082 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
9084         * subr.el (log10): Move here from C code, and declare as obsolete.
9085         All uses of (log10 X) replaced with (log X 10).
9087 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9089         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9090         Declare with `defvar-local'.
9091         (tabulated-list-use-header-line, tabulated-list-entries)
9092         (tabulated-list-padding, tabulated-list-printer)
9093         (tabulated-list-sort-key): Declare with `defvar-local'.
9094         (tabulated-list-init-header, tabulated-list-print-fake-header):
9095         Use `setq-local'.
9097 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
9099         * arc-mode.el (archive-mode): Add `archive-write-file' to
9100         `write-contents-functions' also for remote files.  (Bug#14652)
9102 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9104         * cus-edit.el (custom-commands): Fix typos.
9105         (custom-display): Fix tooltip text.
9106         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9107         Fix typos in docstrings.
9108         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9109         (custom-unlispify-menu-entry, custom-magic-value-create)
9110         (custom-add-see-also, custom-group-value-create): Use ?\s.
9111         (custom-guess-type, customize-apropos, editable-field)
9112         (custom-face-value-create): Use `string-match-p'.
9113         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9115         * custom.el (custom-load-symbol): Use `string-match-p'.
9117         * ansi-color.el: Convert to lexical binding.
9118         (ansi-colors): Fix URL.
9119         (ansi-color-context, ansi-color-context-region): Use defvar-local.
9120         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9121         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9123 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9125         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9127         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9129 2013-06-19  Tom Tromey  <tromey@redhat.com>
9131         * net/eww.el (eww-top-url): Remove.
9132         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9133         (eww-render): Set new variables.  Don't set eww-top-url.
9134         (eww-handle-link): Handle "prev", "home", and "contents".
9135         Downcase the rel text.
9136         (eww-top-url): Choose best top URL.
9138 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9140         * net/eww.el: Rewrite to implement form elements "by hand" instead of
9141         relying in widget.el.  Using widget.el leads to too many
9142         user interface inconsistencies.
9143         (eww-self-insert): Implement entering commands in text fields.
9144         (eww-process-text-input): New function to make text input field editing
9145         work.
9146         (eww-submit): Rewrite to use the new-style form methods.
9147         (eww-select-display): Display the correct selected item.
9148         (eww-change-select): Implement changing the select value.
9149         (eww-toggle-checkbox): Implement radio/checkboxes.
9150         (eww-update-field): Fix compilation error.
9151         (eww-tag-textarea): Implement <textarea>.
9153         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9154         we don't shadow mode-specific bindings.
9156         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9157         nothing to push.
9159         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9161 2013-06-19  Glenn Morris  <rgm@gnu.org>
9163         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9165 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9167         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9168         not needed.
9170         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9172 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9174         * net/browse-url.el (browse-url-browser-function):
9175         `eww-browse-url' has the right calling signature, `eww' does not.
9177 2013-06-19  Glenn Morris  <rgm@gnu.org>
9179         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9180         Only eval autoloaded macros.
9181         (byte-compile-autoload): Only give the macro warning for macros.
9183         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9184         (ps-underlined-faces): Declare.
9186         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9187         (speedbar-add-supported-extension): Declare.
9189         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9190         Don't include a date stamp in the header of the generated file;
9191         it leads to needless differences between output files.
9193 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9195         * net/secrets.el (secrets-struct-secret-content-type):
9196         Replace check of introspection data by a test call of "CreateItem".
9197         Some servers do not offer introspection.
9199 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9201         * electric.el (electric-pair-mode): Improve interaction with
9202         electric-layout-mode.
9203         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9204         (electric-pair-syntax): Use text-mode-syntax-table in comments
9205         and strings.
9206         (electric-pair--insert): New function.
9207         (electric-pair-post-self-insert-function): Use it and
9208         electric--after-char-pos.
9210 2013-06-19  Leo Liu  <sdl.web@gmail.com>
9212         * progmodes/octave.el (octave-help): Fix regexp.
9214 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9216         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9217         (shr-table-horizontal-line): Allow nil as a value, and change the
9218         default.
9219         (shr-insert-table-ruler): Respect the nil value.
9221 2013-06-18  Tom Tromey  <tromey@barimba>
9223         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9224         New defvars.
9225         (eww-open-file): New defun.
9226         (eww-render): Initialize new variables.
9227         (eww-display-html): Handle "link" and "a".
9228         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9229         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
9230         (eww-back-url): Rename from eww-previous-url.
9231         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9232         New defuns.
9234 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
9236         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9237         Distinguish ternary operator tokens from slash symbol and slash
9238         char literal.
9240 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9242         Convert symbol prettification into minor mode and global minor mode.
9244         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9245         `prog-prettify-symbols', and make a local defvar instead of defcustom.
9246         (prettify-symbols--keywords): Rename from
9247         `prog-prettify-symbols-alist' and make a local defvar.
9248         (prettify-symbols--compose-symbol): Rename from
9249         `prog--prettify-font-lock-compose-symbol'.
9250         (prettify-symbols--make-keywords): Rename from
9251         `prog-prettify-font-lock-symbols-keywords' and simplify.
9252         (prog-prettify-install): Remove.
9253         (prettify-symbols-mode): New minor mode, based on
9254         `prog-prettify-install'.
9255         (turn-on-prettify-symbols-mode): New function.
9256         (global-prettify-symbols-mode): New globalized minor mode.
9258         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9259         * progmodes/cfengine.el (cfengine3-mode):
9260         * progmodes/perl-mode.el (perl-mode): Don't call
9261         `prog-prettify-install'; set `prettify-symbols-alist' instead.
9263 2013-06-18  Juri Linkov  <juri@jurta.org>
9265         * files-x.el (modify-file-local-variable-message): New function.
9266         (modify-file-local-variable)
9267         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9268         and call `modify-file-local-variable-message' when it's non-nil.
9269         (add-file-local-variable, delete-file-local-variable)
9270         (add-file-local-variable-prop-line)
9271         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9272         and use it.  (Bug#9820)
9274 2013-06-18  Juri Linkov  <juri@jurta.org>
9276         * emulation/vi.el (vi-shell-op):
9277         * emulation/vip.el (vip-execute-com, ex-command):
9278         * emulation/viper-cmd.el (viper-exec-bang):
9279         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9280         the call of `shell-command-on-region'.  (Bug#14637)
9282         * simple.el (shell-command-on-region): Doc fix.
9284 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9286         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9287         (bug#14633).
9289 2013-06-18  Glenn Morris  <rgm@gnu.org>
9291         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9293         * newcomment.el (comment-search-forward, comment-search-backward):
9294         Doc fix.  (Bug#14376)
9296 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9298         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9299         (buffer-face-mode-invoke): Doc fix.
9301 2013-06-18  Matthias Meulien  <orontee@gmail.com>
9303         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9304         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9306 2013-06-18  Glenn Morris  <rgm@gnu.org>
9308         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9309         Replace obsolete function generic-make-keywords with its expansion.
9311         * progmodes/python.el (ffap-alist): Declare.
9313         * textmodes/reftex.el (bibtex-mode-map): Declare.
9315 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9317         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9318         (package-unpack, package-unpack-single): Return the pkg-dir.
9319         (package-download-transaction): Use it to update package-alist.
9321 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9323         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9324         possible choice.
9326 2013-06-17  Juri Linkov  <juri@jurta.org>
9328         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9330 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9332         * emacs-lisp/package.el (package-load-descriptor):
9333         Remove `with-syntax-table' call, `read' doesn't need it.
9334         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9336 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9338         * startup.el (command-line): Expand package name returned by
9339         `package--description-file' (bug#14639).
9341 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9343         * emacs-lisp/package.el (package-load-descriptor): Do not call
9344         `emacs-lisp-mode', just use its syntax table.
9346 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9348         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9349         `font-lock-extra-managed-props' if any prettifying keyword is added.
9350         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9351         (prog-mode): Use `setq-local'.
9353 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9355         * international/characters.el (standard-case-table): Set syntax of ?»
9356         and ?« to punctuation.
9358 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
9360         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9361         Save relevant match data before calling `syntax-ppss' (bug#14595).
9363 2013-06-15  Juri Linkov  <juri@jurta.org>
9365         * files-x.el (modify-file-local-variable-prop-line): Add local
9366         variables to the end of the existing comment on the first line.
9367         Use `file-auto-mode-skip' to skip interpreter magic line,
9368         and also skip XML declaration.
9370 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9372         * startup.el (package--builtin-versions): New var.
9373         (package-subdirectory-regexp): Remove.
9374         (package--description-file): Hard code its value instead.
9376         * emacs-lisp/package.el: Don't activate packages older than builtin.
9377         (package-obsolete-list): Rename from package-obsolete-alist, and make
9378         it into a simple list of package-desc.
9379         (package-strip-version): Remove.
9380         (package-built-in-p): Use package--builtin-versions.
9381         (package-mark-obsolete): Simplify.
9382         (package-process-define-package): Mark it obsolete if older than the
9383         builtin version.
9384         (package-handle-response): Use line-end-position.
9385         (package-read-archive-contents, package--download-one-archive):
9386         Simplify.
9387         (package--add-to-archive-contents): Skip if older than the builtin or
9388         installed version.
9389         (package-menu-describe-package): Fix last change.
9390         (package-list-unversioned): New var.
9391         (package-menu--generate): Use it.
9393         * emacs-lisp/autoload.el: Manage package--builtin-versions.
9394         (autoload--insert-text, autoload--insert-cookie-text): New functions.
9395         (autoload-builtin-package-versions): New variable.
9396         (autoload-generate-file-autoloads): Use them.
9397         Remove the list of autoloaded functions/macros from the
9398         (autoload...) comments.
9400         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9402 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
9404         * simple.el (line-move-partial): Don't jump to the next screen
9405         line as soon as it becomes visible.  Instead, continue enlarging
9406         the vscroll until the portion of a tall screen line that's left on
9407         display is about the height of the frame's default font.
9408         (Bug#14567)
9410 2013-06-15  Glenn Morris  <rgm@gnu.org>
9412         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9413         compilation-error-regexp-alist void, or local while let-bound.
9415         * progmodes/make-mode.el (makefile-mode-syntax-table):
9416         Treat "=" as punctuation.  (Bug#14614)
9418 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
9420         * help-fns.el (describe-variable):
9421         Add extra line for permanent-local variables.
9423 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
9425         * progmodes/scheme.el (scheme-font-lock-keywords-2):
9426         Add export, import, library.  (Bug#9164)
9427         (library): Set indent function.
9429 2013-06-14  Glenn Morris  <rgm@gnu.org>
9431         * term/xterm.el (xterm--query):
9432         Stop after first matching handler.  (Bug#14615)
9434 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
9436         Add support for dired in saveplace.
9437         * dired.el (dired-initial-position-hook): New variable.
9438         (dired-initial-position): Call hook to place cursor position.
9439         * saveplace.el (save-place-to-alist): Add dired position.
9440         (save-place-dired-hook): New function.
9442 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9444         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9445         through a symbol rather than letrec.
9447         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
9448         (package-desc): Add `dir' field.
9449         (package-desc-full-name): New function.
9450         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
9451         (package-maybe-load-descriptor): Remove.
9452         (package-load-all-descriptors): Just call package-load-descriptor.
9453         (package--disabled-p): New function.
9454         (package-desc-vers, package-desc-doc): Remove aliases.
9455         (package--dir): Remove function.
9456         (package-activate): Check if a package is disabled.
9457         (package-process-define-package): New function, extracted from
9458         define-package.
9459         (define-package): Turn into a place holder.
9460         (package-unpack-single, package-tar-file-info):
9461         Use package--description-file.
9462         (package-compute-transaction): Use package--disabled-p.
9463         (package-download-transaction): Don't call
9464         package-maybe-load-descriptor since they're all loaded anyway.
9465         (package-install): Change argument to be a pkg-desc.
9466         (package-delete): Use a single pkg-desc argument.
9467         (describe-package-1): Use package-desc-dir instead of package--dir.
9468         Use package-desc property instead of package-symbol.
9469         (package-install-button-action): Adjust accordingly.
9470         (package--push): Rewrite.
9471         (package-menu--print-info): Adjust accordingly.  Change the ID format
9472         to be a pkg-desc.
9473         (package-menu-describe-package, package-menu-get-status)
9474         (package-menu--find-upgrades, package-menu-mark-upgrades)
9475         (package-menu-execute, package-menu--name-predicate):
9476         Adjust accordingly.
9477         * startup.el (package--description-file): New function.
9478         (command-line): Use it.
9479         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9480         Use package-desc-version.
9482         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9483         (byte-compile-preprocess): Use it.
9484         (byte-compile-file-form-defalias): Try a bit harder to use macros we
9485         can't quite recognize.
9486         (byte-compile-add-to-list): Remove.
9487         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9488         (cconv-closure-convert): Add assertion.
9490         * emacs-lisp/map-ynp.el: Use lexical-binding.
9491         (map-y-or-n-p): Remove unused vars `tail' and `object'.
9492         Factor out some repeated code.
9494 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9496         * subr.el (with-eval-after-load): New macro.
9497         (eval-after-load): Allow form to be a function.
9498         take advantage of lexical-binding.
9499         (do-after-load-evaluation): Use dolist and adjust to new format.
9500         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9502 2013-06-13  Juri Linkov  <juri@jurta.org>
9504         * replace.el (perform-replace): Display "symbol " and other search
9505         modes from `isearch-message-prefix' in the *Help* buffer.
9507         * isearch.el (isearch-query-replace): Add " symbol" and other
9508         possible search modes from `isearch-message-prefix' to the prompt.
9509         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9510         when reading a regexp to collect.
9512 2013-06-13  Juri Linkov  <juri@jurta.org>
9514         * isearch.el (word-search-regexp): Match whitespace if the search
9515         string begins or ends in whitespace.  The LAX arg is applied to
9516         both ends of the search string.  Use `regexp-quote' and explicit
9517         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
9518         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9519         boundaries are replaced with symbol boundaries, and characters
9520         between symbols match non-word non-symbol syntax.  (Bug#14602)
9522 2013-06-13  Juri Linkov  <juri@jurta.org>
9524         * isearch.el (isearch-del-char): Don't exceed the length of
9525         `isearch-string' by the prefix arg.  (Bug#14563)
9527 2013-06-13  Juri Linkov  <juri@jurta.org>
9529         * isearch.el (isearch-yank-word, isearch-yank-line)
9530         (isearch-char-by-name, isearch-quote-char)
9531         (isearch-printing-char, isearch-process-search-char):
9532         Add optional count prefix arg.  (Bug#14563)
9534         * international/isearch-x.el
9535         (isearch-process-search-multibyte-characters):
9536         Add optional count prefix arg.
9538 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9540         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9541         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9542         lexical-binding.
9544 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
9546         * subr.el (set-temporary-overlay-map): Add on-exit argument.
9548 2013-06-13  Glenn Morris  <rgm@gnu.org>
9550         * startup.el (tty-handle-args):
9551         Don't just discard "--" and anything after.  (Bug#14608)
9553         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9555 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
9557         Implement changes in Secret Service API.  Make it backward compatible.
9558         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9559         (secrets-create-item): Use it.  Prefix properties with interface.
9561 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
9563         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
9564         (term-emulate-terminal): Respect term-suppress-hard-newline.
9566 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
9568         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9569         Only remove a `thumb-file' overlay.  (Bug#14548)
9571 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
9573         * mail/reporter.el (reporter-submit-bug-report):
9574         Handle missing package-name.  (Bug#14600)
9576 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9578         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9579         (reftex-citation-prompt, reftex-default-bibliography)
9580         (reftex-bib-or-thebib, reftex-get-bibfile-list)
9581         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9582         (reftex-bib-sort-author, reftex-bib-sort-year)
9583         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9584         (reftex-extract-bib-entries-from-thebibliography)
9585         (reftex-get-bibkey-default, reftex-get-bib-names)
9586         (reftex-parse-bibtex-entry, reftex-get-bib-field)
9587         (reftex-format-bib-entry, reftex-parse-bibitem)
9588         (reftex-format-bibitem, reftex-do-citation)
9589         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9590         (reftex-restrict-bib-matches, reftex-extract-bib-file)
9591         (reftex-insert-bib-matches, reftex-format-citation)
9592         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9593         (reftex-create-bibtex-file): Add docstrings, mostly by converting
9594         existing comments into docstrings.
9596 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9598         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9600 2013-06-12  Andreas Schwab  <schwab@suse.de>
9602         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9603         for auto-save files.
9605 2013-06-12  Glenn Morris  <rgm@gnu.org>
9607         * ido.el (ido-delete-ignored-files): Remove.
9608         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9609         Go back to calling ido-ignore-item-p directly.
9611 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
9613         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9615         * ido.el (ido-delete-ignored-files): New function,
9616         split from ido-make-file-list-1.
9617         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
9618         (ido-make-file-list-1): Use ido-delete-ignored-files.
9620 2013-06-12  Leo Liu  <sdl.web@gmail.com>
9622         * progmodes/octave.el (inferior-octave-startup)
9623         (inferior-octave-completion-table)
9624         (inferior-octave-track-window-width-change)
9625         (octave-eldoc-function-signatures, octave-help)
9626         (octave-find-definition): Use single quoted strings.
9627         (inferior-octave-startup-args): Change default value.
9628         (inferior-octave-startup): Do not hard code "-i" and
9629         "--no-line-editing".
9630         (inferior-octave-resync-dirs): Add optional arg NOERROR.
9631         (inferior-octave-directory-tracker): Use it.
9632         (octave-goto-function-definition): Robustify.
9633         (octave-help): Support highlighting operators in 'See also'.
9634         (octave-find-definition): Find subfunctions only in Octave mode.
9636 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9638         * help-fns.el (help-fns--compiler-macro): If the handler function is
9639         named, then put a link to it.
9640         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9641         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9642         (cl-typep): Use it.
9643         (cl-eval-when): Simplify debug spec.
9644         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
9645         compiler-macro function instead of setting `compiler-macro-file'.
9647 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9649         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9650         * vc/vc-hooks.el (vc-stay-local): Doc fix.
9652 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9653             Daniel Hackney  <dan@haxney.org>
9655         First part of Daniel Hackney's patch to package.el.
9656         * emacs-lisp/package.el: Use defstruct.
9657         (package-desc): New, main struct.
9658         (package--bi-desc, package--ac-desc): New structs, used to describe the
9659         format in external files.
9660         (package-desc-vers): Replace with package-desc-version accessor.
9661         (package-desc-doc): Replace with package-desc-summary accessor.
9662         (package-activate-1): Remove `package' arg since the pkg-vec now
9663         includes the name.
9664         (define-package): Use package-desc-from-define.
9665         (package-unpack-single): Change file-name arg to be a symbol.
9666         (package--add-to-archive-contents): Use package-desc-create and new
9667         accessor functions to package--ac-desc.
9668         (package-buffer-info, package-tar-file-info): Return a package-desc.
9669         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
9670         arg to be a package-desc.
9671         (package-install-file): Adjust accordingly.  Use \' to match EOS.
9672         (package--from-builtin): New function.
9673         (describe-package-1, package-menu--generate): Use it.
9674         (package--make-autoloads-and-compile): Change name arg to be a symbol.
9675         (package-generate-autoloads): Idem and return the name of the file.
9676         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9677         Change pkg-info arg to be a package-desc.
9678         Use package-make-ac-desc.
9679         (package-upload-file): Use \' to match EOS.
9680         * finder.el (finder-compile-keywords): Use package-make-builtin.
9682 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9684         * vc/vc.el (vc-deduce-fileset): Change error message.
9685         (vc-read-backend): New function.
9686         (vc-next-action): Use it.
9688         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9690         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9691         (prolog-font-lock-keywords): Use regexp-opt instead.
9692         Don't manually highlight strings.
9693         (prolog-mode-variables): Simplify comment-start-skip.
9694         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
9696         * emacs-lisp/generic.el (generic--normalise-comments)
9697         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9698         (generic-mode-set-comments): Use them.
9699         (generic-bracket-support): Use setq-local.
9700         (generic-make-keywords-list): Declare obsolete.
9702 2013-06-11  Glenn Morris  <rgm@gnu.org>
9704         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9705         Prettify after setting font-lock-defaults.  (Bug#14574)
9707 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
9709         * replace.el (query-replace, occur-read-regexp-defaults-function)
9710         (replace-search):
9711         * subr.el (declare-function, number-sequence, local-set-key)
9712         (substitute-key-definition, locate-user-emacs-file)
9713         (with-silent-modifications, split-string, eval-after-load):
9714         Fix typos, remove unneeded backslashes and reflow some docstrings.
9716 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9718         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9719         default for Elisp files.
9721 2013-06-11  Glenn Morris  <rgm@gnu.org>
9723         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9724         although define-derived-mode was doing this anyway.  (Bug#14583)
9726 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
9728         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9729         Fix make-variable-buffer-local call to refer to the correct variable.
9731 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
9733         * eshell/em-term.el (eshell-visual-commands)
9734         (eshell-visual-subcommands, eshell-visual-options):
9735         Add summary line to docstrings.  Add cross-references.
9737 2013-06-10  Glenn Morris  <rgm@gnu.org>
9739         * epa.el (epa-read-file-name): New function.  (Bug#14510)
9740         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
9742 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9744         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9745         output redirection to be ignored with visual commands.
9747 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9749         * eshell/em-term.el (eshell-visual-command-p): New function.
9750         (eshell-term-initialize): Move long lambda to separate function
9751         eshell-visual-command-p.
9752         * eshell/em-dirs.el (eshell-dirs-initialise):
9753         * eshell/em-script.el (eshell-script-initialize):
9754         Add missing #' to lambda.
9756 2013-06-08  Leo Liu  <sdl.web@gmail.com>
9758         * progmodes/octave.el (octave-add-log-current-defun): New function.
9759         (octave-mode): Set add-log-current-defun-function.
9760         (octave-goto-function-definition): Do not move point if not found.
9761         (octave-find-definition): Enhance to try subfunctions first.
9763 2013-06-08  Glenn Morris  <rgm@gnu.org>
9765         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9766         (byte-compile-backward-char, byte-compile-backward-word):
9767         Improve previous change, to handle non-explicit nil.
9769 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9771         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9772         (smie--opener/closer-at-point): New function.
9773         (smie--matching-block-data): Use it.  Don't match from right after an
9774         opener or right before a closer.  Obey smie-blink-matching-inners.
9775         Don't signal a mismatch for repeated inners like "switch..case..case".
9777 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9779         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9780         to t.  (Bug#14303)
9781         (octave-function-header-regexp): Fix.  (Bug#14570)
9782         (octave-help-mode-finish-hook, octave-help-mode-finish):
9783         Remove.  Just use temp-buffer-show-hook.
9785         * newcomment.el (comment-search-backward): Revert last change.
9786         (Bug#14434)
9788         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9790 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9792         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9793         through xargs, to avoid failure due to MS-Windows limitations on
9794         command-line length.
9796 2013-06-06  Glenn Morris  <rgm@gnu.org>
9798         * font-lock.el (lisp-font-lock-keywords-2):
9799         Treat user-error like error.
9801         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9802         (byte-compile-backward-char, byte-compile-backward-word):
9803         Handle explicit nil arguments.  (Bug#14565)
9805 2013-06-05  Alan Mackenzie  <acm@muc.de>
9807         * isearch.el (isearch-allow-prefix): New user option.
9808         (isearch-other-meta-char): Don't exit isearch when a prefix
9809         argument is typed whilst `isearch-allow-prefix' is non-nil.
9810         (Bug#9706)
9812 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9814         * autorevert.el (auto-revert-notify-handler): Use memq.
9815         Hide assertion failure.
9817         * skeleton.el: Use cl-lib.
9818         (skeleton-further-elements): Use defvar-local.
9819         (skeleton-insert): Use cl-progv.
9821 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9823         * progmodes/prog-mode.el (prog-prettify-symbols)
9824         (prog-prettify-install): Update docstrings.
9826 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         * simple.el: Move all the prog-mode code to prog-mode.el.
9829         * progmodes/prog-mode.el: New file.
9830         * loadup.el: Add prog-mode.el.
9832 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9834         * simple.el (prog-prettify-symbols): Add version.
9835         (prog-prettify-install): Add convenience function to prettify symbols.
9837         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9838         (perl--augmented-font-lock-keywords-1)
9839         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9840         variables and use it.
9842         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9843         (cfengine3-mode): Remove unneeded variable and use it.
9845         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9846         (lisp--augmented-font-lock-keywords-1)
9847         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9848         Remove unneeded variables and use it.
9850 2013-06-05  João Távora  <joaotavora@gmail.com>
9852         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9853         to point when opening the connection.  (Bug#14380)
9855 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9857         * subr.el (load-history-regexp, load-history-filename-element)
9858         (eval-after-load, after-load-functions, do-after-load-evaluation)
9859         (eval-next-after-load, display-delayed-warnings)
9860         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9861         definition of save-match-data.
9862         (overriding-local-map): Remove accidental obsolescence declaration.
9864         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9866 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9868         Generalize symbol prettify support to prog-mode and implement it
9869         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9870         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9871         (prog--prettify-font-lock-compose-symbol)
9872         (prog-prettify-font-lock-symbols-keywords): New variables and
9873         functions to support symbol prettification.
9874         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9875         (lisp--augmented-font-lock-keywords-1)
9876         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9877         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9878         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9879         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9880         Implement prettify of -> => :: strings.
9881         * progmodes/perl-mode.el (perl-prettify-symbols)
9882         (perl--font-lock-compose-symbol)
9883         (perl--font-lock-symbols-keywords): Move to prog-mode.
9884         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9885         (perl-font-lock-keywords-1)
9886         (perl-font-lock-keywords-2): Remove explicit prettify support.
9887         (perl--augmented-font-lock-keywords)
9888         (perl--augmented-font-lock-keywords-1)
9889         (perl--augmented-font-lock-keywords-2, perl-mode):
9890         Implement prettify support.
9892 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9894         Re-implement smie matching block highlight using
9895         show-paren-data-function.  (Bug#14395)
9896         * emacs-lisp/smie.el (smie-matching-block-highlight)
9897         (smie--highlight-matching-block-overlay)
9898         (smie--highlight-matching-block-lastpos)
9899         (smie-highlight-matching-block)
9900         (smie-highlight-matching-block-mode): Remove.
9901         (smie--matching-block-data-cache): New variable.
9902         (smie--matching-block-data): New function.
9903         (smie-setup): Use smie--matching-block-data for
9904         show-paren-data-function.
9906         * progmodes/octave.el (octave-mode-menu): Fix.
9907         (octave-find-definition): Skip garbage lines.
9909 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9911         Fix compilation error with simultaneous dynamic+lexical scoping.
9912         Add warning when a defvar appears after the first let-binding.
9913         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9914         (byte-compile-close-variables): Initialize it.
9915         (byte-compile--declare-var): New function.
9916         (byte-compile-file-form-defvar)
9917         (byte-compile-file-form-define-abbrev-table)
9918         (byte-compile-file-form-custom-declare-variable): Use it.
9919         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
9920         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9921         (byte-compile-bind): Handle dynamic bindings that shadow
9922         lexical bindings.
9923         (byte-compile-unbind): Make arg non-optional.
9924         (byte-compile-let): Simplify.
9925         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9926         (cconv--analyse-function, cconv-analyse-form): Populate it.
9927         Protect byte-compile-bound-variables to limit the scope of defvars.
9928         (cconv-analyse-form): Add missing rule for (defvar <foo>).
9929         Remove unneeded rule for `declare'.
9931         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9932         so as to avoid depending on cl-adjoin at run-time.
9933         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9935         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9936         (macroexp--warn-and-return): Use it.
9938 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         * subr.el: Convert to lexical binding.
9941         (overriding-local-map): Make obsolete.
9942         (add-to-list): Doc fix.  Add compiler macro.
9943         (read-key): Swap values of local maps.
9945 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9947         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9949 2013-06-04  Leo Liu  <sdl.web@gmail.com>
9951         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9952         (compilation-auto-jump): Suppress the "Mark set" message to give
9953         way to exit message.
9955 2013-06-04  Alan Mackenzie  <acm@muc.de>
9957         Remove faulty optimisation from indentation calculation.
9958         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9959         search limit based on 2000 characters back from indent-point.
9961 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9963         * eshell/em-term.el (cl-lib): Require `cl-lib'.
9965 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9967         * emacs-lisp/lisp.el: Use lexical-binding.
9968         (lisp--local-variables-1, lisp--local-variables): New functions.
9969         (lisp--local-variables-completion-table): New var.
9970         (lisp-completion-at-point): Use it complete let-bound vars.
9972         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9973         eagerly (bug#14422).
9975 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
9977         * autorevert.el (auto-revert-notify-enabled)
9978         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9979         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9980         (auto-revert-notify-handler): Handle also gfilenotify.
9982         * subr.el (file-notify-handle-event): New defun.  Replacing ...
9983         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9984         Remove.
9986 2013-06-03  Juri Linkov  <juri@jurta.org>
9988         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9989         `M-s h .'.  (Bug#14427)
9991         * hi-lock.el (highlight-symbol-at-point): New alias for the new
9992         command `hi-lock-face-symbol-at-point'.
9993         (hi-lock-face-symbol-at-point): New command.
9994         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9995         (hi-lock-menu): Add `highlight-symbol-at-point'.
9996         (hi-lock-mode): Doc fix.
9998         * isearch.el (isearch-forward-symbol-at-point): New command.
9999         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10000         (isearch-highlight-regexp): Add a regexp which matches
10001         words/symbols for word/symbol mode.
10003         * subr.el (find-tag-default-bounds): New function with the body
10004         mostly moved from `find-tag-default'.
10005         (find-tag-default): Move most code to `find-tag-default-bounds',
10006         call it and apply `buffer-substring-no-properties' afterwards.
10008 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10010         * eshell/em-term.el (eshell-term-initialize):
10011         Use `cl-intersection' rather than `intersection'.
10013 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
10015         * vc/log-view.el: Doc fix.
10016         (log-view-mode-map): Copy keymap from `special-mode-map'.
10018 2013-06-02  Eric Ludlam  <zappo@gnu.org>
10020         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10021         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10022         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10023         (eieio-unbound, eieio-default-superclass)
10024         (eieio--define-field-accessors, method-static, method-before)
10025         (method-primary, method-after, method-num-lists)
10026         (method-generic-before, method-generic-primary)
10027         (method-generic-after, method-num-slots)
10028         (eieio-specialized-key-to-generic-key)
10029         (eieio--check-type, class-v, class-p)
10030         (eieio-class-name, define-obsolete-function-alias)
10031         (eieio-class-parents-fast, eieio-class-children-fast)
10032         (same-class-fast-p, class-constructor, generic-p)
10033         (generic-primary-only-p, generic-primary-only-one-p)
10034         (class-option-assoc, class-option, eieio-object-p)
10035         (class-abstract-p, class-method-invocation-order)
10036         (eieio-defclass-autoload-map, eieio-defclass-autoload)
10037         (eieio-class-un-autoload, eieio-defclass)
10038         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10039         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10040         (eieio--defgeneric-init-form, eieio-defgeneric-form)
10041         (eieio-defgeneric-reset-generic-form)
10042         (eieio-defgeneric-form-primary-only)
10043         (eieio-defgeneric-reset-generic-form-primary-only)
10044         (eieio-defgeneric-form-primary-only-one)
10045         (eieio-defgeneric-reset-generic-form-primary-only-one)
10046         (eieio-unbind-method-implementations)
10047         (eieio--defmethod, eieio--typep)
10048         (eieio-perform-slot-validation, eieio-validate-slot-value)
10049         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10050         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10051         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10052         (eieio-slot-name-index, eieio-class-slot-name-index)
10053         (eieio-set-defaults, eieio-initarg-to-attribute)
10054         (eieio-attribute-to-initarg, eieio-c3-candidate)
10055         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10056         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10057         (eieio-class-precedence-list, eieio-generic-call-methodname)
10058         (eieio-generic-call-arglst, eieio-generic-call-key)
10059         (eieio-generic-call-next-method-list)
10060         (eieio-pre-method-execution-functions, eieio-generic-call)
10061         (eieio-generic-call-primary-only, eieiomt-method-list)
10062         (eieiomt-optimizing-obarray, eieiomt-install)
10063         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10064         (eieio-generic-form, eieio-defmethod, make-obsolete)
10065         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10066         (defclass): Remove `eval-and-compile' from macro.
10067         (call-next-method, shared-initialize): Instead of using
10068         `scoped-class' variable, use new eieio--scoped-class, and
10069         eieio--with-scoped-class.
10070         (initialize-instance): Rename local variable 'scoped-class' to
10071         'this-class' to remove ambiguitity from old global.
10073         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
10074         eieio.el.
10075         (eieio--scoped-class-stack): New variable.
10076         (eieio--scoped-class): New fcn.
10077         (eieio--with-scoped-class): New scoping macro.
10078         (eieio-defclass): Use pushnew instead of add-to-list.
10079         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10080         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10081         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10082         `scoped-class' variable, use new eieio--scoped-class, and
10083         eieio--with-scoped-class.
10085         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10087 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
10089         * eshell/esh-ext.el (eshell-external-command): Pass args to
10090         `eshell-find-interpreter'.
10091         (eshell-find-interpreter): Add new second parameter ARGS.
10093         * eshell/em-script.el (eshell-script-initialize): Add second arg
10094         to the function added as MATCH to `eshell-interpreter-alist'.
10096         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10097         the function added as MATCH to `eshell-interpreter-alist'.
10099         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10100         (eshell-visual-options): New defcustom.
10101         (eshell-escape-control-x): Adapt docstring.
10102         (eshell-term-initialize): Test `eshell-visual-subcommands' and
10103         `eshell-visual-options' in addition to `eshell-visual-commands'.
10104         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10106 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10108         * progmodes/python.el (python-indent-block-enders): Add break,
10109         continue and raise keywords.
10111 2013-06-01  Glenn Morris  <rgm@gnu.org>
10113         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10115         Plain (f)boundp silences compilation warnings since Emacs 22.1.
10116         * progmodes/cc-cmds.el (delete-forward-p):
10117         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10118         * progmodes/cc-engine.el (buffer-syntactic-context):
10119         * progmodes/cc-fonts.el (face-property-instance):
10120         * progmodes/cc-mode.el (set-keymap-parents):
10121         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10122         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10123         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10124         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10125         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10127         * progmodes/cc-vars.el (other): Emacs has this widget since
10128         at least 21.1, so don't (re)define it.
10130         * eshell/em-cmpl.el (eshell-cmpl-initialize):
10131         Replace the obsolete alias pcomplete-arg-quote-list.
10133 2013-06-01  Leo Liu  <sdl.web@gmail.com>
10135         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10136         punctuation syntax.
10137         (inferior-octave-minimal-columns)
10138         (inferior-octave-last-column-width): New variables.
10139         (inferior-octave-track-window-width-change): New function.
10140         (inferior-octave-mode): Adjust column width so that Octave output,
10141         for example from 'ls', can fit into the window nicely.
10143 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10145         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10146         Highlight expansions inside regexp literals.
10148 2013-05-31  Glenn Morris  <rgm@gnu.org>
10150         * obsolete/sym-comp.el (symbol-complete):
10151         Replace obsolete completion-annotate-function.
10153         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10155 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10157         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10158         New function, checks if point is inside a literal that allows
10159         expression expansion.
10160         (ruby-syntax-propertize-expansion): Use it.
10161         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10162         around the body.
10164 2013-05-30  Juri Linkov  <juri@jurta.org>
10166         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10167         to "\M-si".
10168         (isearch-invisible): New variable.
10169         (isearch-forward): Doc fix.
10170         (isearch-mode): Set `isearch-invisible'
10171         to the value of `search-invisible'.
10172         (isearch-toggle-case-fold): Doc fix.
10173         (isearch-toggle-invisible): New command.
10174         (isearch-query-replace): Let-bind `search-invisible'
10175         to the value of `isearch-invisible'.
10176         (isearch-search): Use `isearch-invisible' instead of
10177         `search-invisible'.  Let-bind `search-invisible'
10178         to the value of `isearch-invisible'.  (Bug#11378)
10180 2013-05-30  Juri Linkov  <juri@jurta.org>
10182         * replace.el (perform-replace): Avoid `isearch-range-invisible'
10183         call when `query-flag' is nil and `search-invisible' is non-nil.
10184         (Bug#11746)
10186 2013-05-30  Glenn Morris  <rgm@gnu.org>
10188         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10190         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10191         (cc-require): Suppress spurious "noruntime" warnings.
10192         (cc-require-when-compile): Use fboundp, for sake of compiler.
10194         * progmodes/cc-mode.el: Move load of cc-vars before that of
10195         cc-langs (which in turn loads cc-vars), to quieten compiler.
10197 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * paren.el: Simplify the code.
10200         (show-paren-mode): Always start the timer.
10201         (show-paren--idle-timer): Rename from show-paren-idle-timer.
10202         (show-paren--overlay, show-paren--overlay-1): Rename from
10203         show-paren-overlay and show-paren-overlay-1, and initialize to an
10204         overlay rather than to nil.
10205         (show-paren-function): Misc cleanup and simplifications.
10207 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10209         * paren.el (show-paren-data-function): New hook.
10210         (show-paren--default): New function, extracted from show-paren-function.
10211         (show-paren-function): Use show-paren-data-function.
10213 2013-05-30  Glenn Morris  <rgm@gnu.org>
10215         * ielm.el (ielm-map, ielm-complete-symbol):
10216         Use completion-at-point rather than obsolete functions.
10217         (inferior-emacs-lisp-mode): Doc fix.
10218         Set completion-at-point-functions, rather than
10219         comint-dynamic-complete-functions.
10221         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10222         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10223         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10225         * image.el (image-animated-p): Tweak definition.
10227         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10228         (rlogin-process-connection-type): Tweak default.  Add set-after.
10229         (rlogin-host): Doc fix.
10230         (rlogin): Tweak prompt.
10231         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10233         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10234         * progmodes/tcl.el (inferior-tcl-mode-map):
10235         Use completion-at-point rather than obsolete alias.
10237         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10239         * minibuffer.el (read-file-name-completion-ignore-case):
10240         Move before completion--in-region, for eager macro expansion.
10242 2013-05-29  Juri Linkov  <juri@jurta.org>
10244         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10245         for total count of matching lines.  Add `global-matches' for total
10246         count of matches.  Rename `matches' to `lines' for count of
10247         matching lines.  Add `matches' for count of matches.
10248         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
10249         to `prev-line' for line number of prev match endpt.
10250         Increment `matches' for every match.  Print the number of
10251         matching lines in the header.
10252         (occur-context-lines): Rename `lines' to `curr-line'.
10253         Rename `prev-lines' to `prev-line'.  (Bug#14017)
10255 2013-05-29  Juri Linkov  <juri@jurta.org>
10257         * replace.el (perform-replace): Add `skip-read-only-count',
10258         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10259         Increment them for corresponding conditions and report the number
10260         of skipped occurrences in the final message.  (Bug#11746)
10261         (query-replace, query-replace-regexp, query-replace-regexp-eval)
10262         (replace-string, replace-regexp): Doc fix.
10264 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10266         * emacs-lisp/trace.el (trace--read-args): Provide a default.
10268         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10269         prog-mode-map (bug#14504).
10271 2013-05-29  Leo Liu  <sdl.web@gmail.com>
10273         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10274         (octave-help): Small simplification.
10276         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10277         off the highlight first.
10279 2013-05-29  Glenn Morris  <rgm@gnu.org>
10281         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10282         Handle idlwave-last-system-routine-info-cons-cell being nil.
10284         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10285         (idlwave-write-paths): Simplify via with-temp-buffer.
10287         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10288         * emulation/cua-rect.el: Also load cua-base at run time.
10290         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10291         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10292         (cperl-imenu-on-info): Require imenu.
10294 2013-05-28  Alan Mackenzie  <acm@muc.de>
10296         Handle "capitalised keywords" correctly.
10297         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10299 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
10301         * eshell/em-unix.el: Add -r option to cp.
10303 2013-05-28  Glenn Morris  <rgm@gnu.org>
10305         * vc/vc-arch.el (vc-exec-after): Declare.
10306         (vc-switches): Autoload.
10307         * vc/vc-bzr.el: No need to require vc when compiling.
10308         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10309         (vc-resynch-buffer, vc-dir-refresh): Declare.
10310         (vc-setup-buffer, vc-switches): Autoload.
10311         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10312         (vc-resynch-buffer): Declare.
10313         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10314         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10315         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10316         (grep-read-regexp, grep-read-files, grep-expand-template)
10317         (vc-dir-refresh): Declare.
10318         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10319         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10320         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10321         * vc/vc-mtn.el (vc-exec-after): Declare.
10322         (vc-switches): Autoload.
10323         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10324         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10325         (vc-file-tree-walk): Declare.
10326         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10327         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10328         (vc-tag-precondition, vc-rename-master): Autoload.
10329         * vc/vc-svn.el (vc-exec-after): Declare.
10330         (vc-switches, vc-setup-buffer): Autoload.
10331         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10332         Autoload.
10333         (vc-resynch-buffer): Declare.
10335         * obsolete/fast-lock.el (byte-compile-warnings):
10336         Don't warn about obsolete features in this obsolete file.
10338         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10339         Move definition before use.
10341         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10342         (dun-unix-verbs): Remove dun-zippy.
10343         (dun-zippy): Remove function.
10345         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10347 2013-05-27  Juri Linkov  <juri@jurta.org>
10349         * replace.el (replace-search): New function with code moved out
10350         from `perform-replace'.
10351         (replace-highlight, replace-dehighlight): Move function definitions
10352         up closer to `replace-search'.  (Bug#11746)
10354 2013-05-27  Juri Linkov  <juri@jurta.org>
10356         * replace.el (perform-replace): Ignore invisible matches.
10357         In addition to checking `query-replace-skip-read-only', also
10358         filter out matches by calling `run-hook-with-args-until-failure'
10359         on `isearch-filter-predicates', and also check `search-invisible'
10360         for t or call `isearch-range-invisible'.
10361         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
10363 2013-05-27  Juri Linkov  <juri@jurta.org>
10365         * isearch.el (isearch-filter-predicates): Rename from
10366         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
10367         (isearch-message-prefix): Display text from the property
10368         `isearch-message-prefix' of the currently active filters.
10369         (isearch-search): Don't compare `isearch-filter-predicate' with
10370         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
10371         on `isearch-filter-predicates'.  Also check `search-invisible' for t
10372         or call `isearch-range-invisible'.
10373         (isearch-filter-visible): Make obsolete.
10374         (isearch-lazy-highlight-search):
10375         Call `run-hook-with-args-until-failure' on
10376         `isearch-filter-predicates' and use `isearch-range-invisible'.
10378         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10379         `isearch-filter-predicates' instead of `funcall'ing
10380         `isearch-filter-predicate'.
10381         (Info-mode): Set `Info-isearch-filter' to
10382         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10384         * dired-aux.el (dired-isearch-filter-predicate-orig):
10385         Remove variable.
10386         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10387         (dired-isearch-filenames-end): Add and remove
10388         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10389         instead of changing the value of `isearch-filter-predicate'.
10390         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10391         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10392         Put property `isearch-message-prefix' to "filename " on
10393         `dired-isearch-filter-filenames'.
10395         * wdired.el (wdired-change-to-wdired-mode):
10396         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10397         locally instead of changing `isearch-filter-predicate'.
10398         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10400 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
10402         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10403         return the commit hash (Bug#14459).  Also set the
10404         `vc-git-detached' property.
10405         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10406         (vc-git-mode-line-string): Use the same help-echo format whether
10407         in detached mode or not, because we know the actual revision now.
10408         When in detached mode, shorten the revision to 7 chars.
10410 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10412         * emacs-lisp/easy-mmode.el (define-minor-mode):
10413         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10414         mode hook and provide a docstring.
10416 2013-05-27  Alan Mackenzie  <acm@muc.de>
10418         Remove spurious syntax-table text properties inserted by C-y.
10419         * progmodes/cc-mode.el (c-after-change): Also clear hard
10420         syntax-table property with value nil.
10422 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
10424         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10425         when reading the events; the buffer layout shall not be changed.
10427 2013-05-27  Leo Liu  <sdl.web@gmail.com>
10429         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10430         New variable.
10431         (inferior-octave-directory-tracker): Automatically re-sync
10432         default-directory.
10433         (octave-help): Improve handling of 'See also'.
10435 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10437         * doc-view.el: Minor naming convention tweaks.
10438         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10440         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10441         even if there's no `display' property yet (bug#14435).
10443 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
10445         * subr.el (unmsys--file-name): Rename from reveal-filename.
10447         * Makefile.in (custom-deps, finder-data, autoloads)
10448         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10449         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10450         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10452 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10454         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10455         error-completion on the first 2 args of condition-case (bug#14446).
10456         Don't burp at EOB.
10458 2013-05-25  Leo Liu  <sdl.web@gmail.com>
10460         * comint.el (comint-previous-matching-input): Do not flood the
10461         *Messages* buffer with trivial messages.
10463 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10465         * progmodes/flymake.el (flymake-nop): Don't return a string.
10466         (flymake-set-at): Fix typo.
10468         * simple.el (read--expression): New function, extracted from
10469         eval-expression.  Set completion-at-point-functions (bug#14465).
10470         (eval-expression, eval-minibuffer): Use it.
10472 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
10474         * progmodes/flymake.el (flymake-save-buffer-in-file)
10475         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10476         (flymake-selected-frame, flymake-log, flymake-ins-after)
10477         (flymake-set-at, flymake-get-buildfile-from-cache)
10478         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10479         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10480         Refine the doc string.
10481         (flymake-get-file-name-mode-and-masks): Reformat.
10482         (flymake-get-real-file-name-function): Fix a minor bug.
10484 2013-05-24  Juri Linkov  <juri@jurta.org>
10486         * progmodes/grep.el (grep-mode-font-lock-keywords):
10487         Support =linenumber= format used by git-grep for lines with
10488         function names.  (Bug#13549)
10490 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10492         * progmodes/octave.el (octave-smie-rules): Return nil rather than
10493         0 after a semi-colon; it works better for smie-auto-fill.
10494         (octave--indent-new-comment-line): New function.
10495         (octave-indent-new-comment-line): Use it (indirectly).
10496         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
10497         modify comment-line-break-function.
10499         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10500         (smie-setup): Use add-function to set it.
10502 2013-05-24  Sam Steingold  <sds@gnu.org>
10504         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10505         argument (before the `interactive' argument).
10507 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10509         * image-mode.el (image-mode-winprops): Add winprops to
10510         image-mode-winprops-alist before running
10511         image-mode-new-window-functions.
10512         * doc-view.el (doc-view-new-window-function): Don't delay
10513         doc-view-goto-page via timers (bug#14435).
10515 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
10517         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
10518         (doc-view-desktop-save-buffer): New function.
10519         (doc-view-restore-desktop-buffer): New function.
10520         (desktop-buffer-mode-handlers):
10521         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10522         handler.
10523         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10524         `desktop-save-buffer' function.
10526 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
10528         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10529         (tramp-gvfs-file-name-handler): Raise a user error when
10530         `tramp-gvfs-enabled' is nil.
10531         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10532         Do not raise a user error when loading package.  (Bug#14447)
10534         * net/xesam.el: Move to obsolete/.
10536 2013-05-24  Glenn Morris  <rgm@gnu.org>
10538         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10540         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10542         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10543         (Info-find-node, Man-getpage-in-background): Declare.
10545         * mail/unrmail.el (unrmail):
10546         Replace obsolete detect-coding-with-priority.
10548         * net/socks.el (socks-split-string): Use this rather than split-string.
10549         (socks-nslookup-host): Update for above change.
10550         (dynamic-choice, s5-dynamic-choice-match)
10551         (s5-dynamic-choice-match-inline, s5-widget-value-create):
10552         Comment out unused code.
10554         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10555         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10556         (gud-tooltip-echo-area): Make obsolete.
10557         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10559         * progmodes/js.el (js--optimize-arglist): Declare.
10561         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10563         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10564         (ediff-window-C): Declare.
10566         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10567         Tweak requires to silence compiler.
10569         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10570         (he-search-string, he-tried-table, he-expand-list)
10571         (he-init-string, he-string-member, he-substitute-string)
10572         (he-reset-string): Declare.
10574         * obsolete/options.el (list-options): Use custom-variable-p,
10575         rather than obsolete alias.
10577 2013-05-23  Sam Steingold  <sds@gnu.org>
10579         * simple.el (shell-command-on-region): Pass the `replace' argument
10580         down to `call-process-region' to comply with the doc as reported on
10581         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10583 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10585         * emacs-lisp/smie.el (smie-indent-forward-token)
10586         (smie-indent-backward-token): Handle string tokens (bug#14381).
10588 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10590         * ielm.el (ielm-menu): New menu.
10591         (inferior-emacs-lisp-mode): Set comment-start.
10593 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10595         * textmodes/reftex.el (reftex-ref-style-toggle):
10596         Fix deactivate action.
10598         * textmodes/reftex-vars.el (reftex-ref-style-alist):
10599         Add cleveref macros.
10601         * textmodes/reftex-parse.el
10602         (reftex-locate-bibliography-files): Accept options for
10603         bibliography commands.
10604         * textmodes/reftex-vars.el (reftex-bibliography-commands):
10605         Add addbibresource.  Basic Biblatex support.
10607 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
10609         * net/tramp-gvfs.el (top):
10610         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10611         when loading package.  (Bug#14447)
10613 2013-05-23  Glenn Morris  <rgm@gnu.org>
10615         * progmodes/js.el: No need to load comint when compiling.
10616         (ring-insert, comint-send-string, comint-send-input)
10617         (comint-last-input-end, ido-chop): Declare.
10619         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10620         * vc/ediff-mult.el: Adjust requires.
10621         (ediff-directories-internal, ediff-directory-revisions-internal)
10622         (ediff-patch-file-internal): Declare.
10623         * vc/ediff-ptch.el: Adjust requires.
10624         (ediff-use-last-dir, ediff-buffers-internal): Declare.
10625         (ediff-find-file): Autoload.
10626         * vc/ediff-util.el: No need to load ediff when compiling.
10627         (ediff-regions-internal): Declare.
10628         * vc/ediff-wind.el: Adjust requires.
10629         (ediff-compute-toolbar-width): Define when compiling.
10630         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10631         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10632         (dired-get-filename, dired-get-marked-files)
10633         (ediff-last-dir-patch, ediff-patch-default-directory)
10634         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10635         (ediff-patch-buffer-internal): Declare.
10637         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10638         (ispell-process, ispell-buffer-local-words, lm-summary)
10639         (lm-section-start, lm-section-end): Declare.
10640         (checkdoc-ispell-init): Simplify.
10642         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10643         (he-string-member, he-reset-string, he-substitute-string): Declare.
10645         * eshell/em-ls.el: Adjust requires.
10646         (eshell-glob-regexp): Declare.
10647         * eshell/em-tramp.el: Adjust requires.
10648         (eshell-parse-command): Autoload.
10649         * eshell/em-xtra.el: Adjust requires.
10650         (eshell-parse-command): Autoload.
10651         * eshell/esh-ext.el: Adjust requires.
10652         (eshell-parse-command, eshell-close-handles): Autoload.
10653         * eshell/esh-io.el: Adjust requires.
10654         (eshell-output-filter): Autoload.
10655         * eshell/esh-util.el: No need to load tramp when compiling.
10656         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10657         Declare.
10658         (eshell-parse-ange-ls): Require ange-ftp and tramp.
10659         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10660         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10661         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10662         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10663         * eshell/esh-opt.el, eshell/esh-proc.el:
10664         * eshell/esh-var.el: Adjust requires.
10665         * eshell/eshell.el: Do not require esh-util twice.
10666         (eshell-add-input-to-history): Declare.
10667         (eshell-command): Check history module is active before using it.
10669         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10671 2013-05-22  Leo Liu  <sdl.web@gmail.com>
10673         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10675 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
10677         * autorevert.el (auto-revert-notify-add-watch)
10678         (auto-revert-notify-handler): Add `attrib' for the inotify case,
10679         it indicates changes in file modification time.
10681 2013-05-22  Glenn Morris  <rgm@gnu.org>
10683         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10684         Always delete the autoloaded function from the noruntime and
10685         unresolved functions lists.
10687         * allout.el: No need to load epa, epg, overlay when compiling.
10688         (epg-context-set-passphrase-callback, epg-list-keys)
10689         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10690         (epg-key-user-id-list): Declare.
10692         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10693         (viper-set-parsing-style-toggling-macro)
10694         (viper-set-emacs-state-searchstyle-macros):
10695         Use called-interactively-p on Emacs.
10696         (viper-looking-back): Make it an obsolete alias.  Update callers.
10697         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10698         Use looking-back rather than viper-looking-back.
10699         (viper-tmp-insert-at-eob, viper-enlarge-region)
10700         (viper-read-string-with-history, viper-register-to-point)
10701         (viper-append-to-register, viper-change-state-to-vi)
10702         (viper-backward-char-carefully, viper-forward-char-carefully)
10703         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10704         (viper-change-state-to-emacs): Declare.
10705         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10706         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10707         * emulation/viper-mous.el: Do not load viper-cmd.
10708         (viper-backward-char-carefully, viper-forward-char-carefully)
10709         (viper-forward-word, viper-adjust-window): Declare.
10711         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10713         * progmodes/idlw-help.el (idlwave-help-fontify):
10714         Use called-interactively-p.
10716         * term/w32console.el (w32-get-console-codepage)
10717         (w32-get-console-output-codepage): Declare.
10719         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10720         Remove unnecessary declarations.
10721         (dframe-message): Doc fix.
10723         * info.el (dframe-select-attached-frame, dframe-current-frame):
10724         Declare.
10726         * speedbar.el (speedbar-message): Make it an obsolete alias.
10727         Update all callers.
10728         (speedbar-with-attached-buffer)
10729         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10730         (speedbar-with-writable): Use backquote.
10731         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10732         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10733         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10734         rather than speedbar- aliases.
10735         * mail/rmail.el: Load dframe rather than speedbar when compiling.
10736         (speedbar-make-specialized-keymap, speedbar-insert-button)
10737         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10738         (speedbar-do-function-pointer): Declare.
10739         (rmail-speedbar-button, rmail-speedbar-find-file)
10740         (rmail-speedbar-move-message):
10741         Use dframe-with-attached-buffer rather than speedbar- alias.
10742         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10743         (dframe-message, speedbar-make-specialized-keymap)
10744         (speedbar-add-expansion-list, speedbar-mode-functions-list)
10745         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10746         (speedbar-insert-button, dframe-select-attached-frame)
10747         (dframe-maybee-jump-to-attached-frame)
10748         (speedbar-change-initial-expansion-list)
10749         (speedbar-previously-used-expansion-list-name): Declare.
10750         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10751         Use dframe-message, dframe-with-attached-buffer rather than
10752         speedbar- aliases.
10753         (gud-sentinel): Silence compiler.
10754         * progmodes/vhdl-mode.el (speedbar-refresh)
10755         (speedbar-do-function-pointer, speedbar-add-supported-extension)
10756         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10757         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10758         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10759         (speedbar-file-lists, speedbar-make-tag-line)
10760         (speedbar-line-directory, speedbar-goto-this-file)
10761         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10762         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10763         (speedbar-make-button, speedbar-reset-scanners)
10764         (speedbar-files-item-info, speedbar-line-text)
10765         (speedbar-find-file-in-frame, speedbar-set-timer)
10766         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10767         (speedbar-with-writable): Do not (re)define it.
10768         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10769         rather than speedbar- alias.
10771 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10773         * progmodes/octave.el (octave-mode-menu): Update and re-organize
10774         menu items.
10775         (octave-mode): Tweak fill-nobreak-predicate.
10776         (inferior-octave-startup): Check process to avoid infinite loop.
10777         (inferior-octave): Pop to buffer first to show abornmal process
10778         exit information.
10780 2013-05-21  Glenn Morris  <rgm@gnu.org>
10782         * printing.el (pr-menu-bar): Define when compiling.
10784 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10786         * progmodes/octave.el (octave-auto-fill): Remove.
10787         (octave-indent-new-comment-line): Improve.
10788         (octave-mode): Use auto fill mode through
10789         comment-line-break-function and fill-nobreak-predicate.
10790         (octave-goto-function-definition): Support DEFUN_DLD.
10791         (octave-beginning-of-defun): Small tweak.
10792         (octave-help): Show parent directory.
10794 2013-05-21  Glenn Morris  <rgm@gnu.org>
10796         * files.el (dired-unmark):
10797         * progmodes/gud.el (gdb-input): Update declarations.
10799         * calculator.el (electric, ehelp): No need to load when compiling.
10800         (Electric-command-loop, electric-describe-mode): Declare.
10802         * doc-view.el (doc-view-current-converter-processes): Move before use.
10804         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10805         Move MODE-set-explicitly definition before use.
10807         * international/mule-diag.el (mule-diag):
10808         Don't use obsolete window-system-version.
10810         * mail/feedmail.el (smtpmail): No need to load when compiling.
10811         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10813         * mail/mail-utils.el (rfc822): No need to load when compiling.
10814         (rfc822-addresses): Autoload it.
10815         (mail-strip-quoted-names): Trivial simplification.
10817         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10818         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10820         * net/snmp-mode.el (tempo): Don't duplicate requires.
10822         * progmodes/prolog.el (info): No need to load when compiling.
10823         (comint): Require before shell requires it.
10824         (Info-goto-node): Autoload it.
10825         (Info-follow-nearest-node): Declare.
10826         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10828         * textmodes/artist.el (picture-mode-exit): Declare.
10830         * textmodes/reftex-parse.el (reftex-parse-from-file):
10831         Trivial rewrite so the compiler can parse it better.
10833 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10835         * progmodes/octave.el (octave-help-mode-map)
10836         (octave-help-mode-finish-hook): New variables.
10837         (octave-help-mode, octave-help-mode-finish): New functions.
10838         (octave-help): Use octave-help-mode.
10840 2013-05-20  Glenn Morris  <rgm@gnu.org>
10842         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10844 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10846         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10847         start at point, so that expansion starting right after opening
10848         slash in a regexp is recognized.
10849         (ruby-syntax-before-regexp-re): New defvar, extracted from
10850         ruby-syntax-propertize-function.  Since the value of this regexp
10851         is looked up at runtime now, we should be able to turn
10852         `ruby-syntax-methods-before-regexp' into a defcustom later.
10853         (ruby-syntax-propertize-function): Split regexp matching into two
10854         parts, for opening and closing slashes.  That allows us to skip
10855         over string interpolations and support multiline regexps.
10856         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10857         for them, which calls `ruby-syntax-propertize-expansion'.
10858         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10859         call to `ruby-syntax-propertize-function'.
10860         (ruby-syntax-propertize-expansion): Extracted from
10861         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10862         (ruby-syntax-propertize-percent-literal): Leave point right after
10863         the percent symbol, so that the expression expansion rule can
10864         propertize the contents.
10865         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10866         heredoc openers.
10867         (ruby-syntax-propertize-expansions): Remove.
10869 2013-05-18  Juri Linkov  <juri@jurta.org>
10871         * man.el (Man-default-man-entry): Remove `-' from the end
10872         of the default value.  (Bug#14400)
10874 2013-05-18  Glenn Morris  <rgm@gnu.org>
10876         * comint.el (comint-password-prompt-regexp):
10877         Allow "password for XXX" where XXX contains colons (eg https://...).
10879 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10881         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10882         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10883         (octave-source-directories): Don't check process.
10884         (octave-source-directories, octave-find-definition): Doc fix.
10886 2013-05-18  Glenn Morris  <rgm@gnu.org>
10888         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10889         Remove backspace/delete bindings.  (Bug#14392)
10891         * cus-dep.el (custom-make-dependencies): Sort the output.
10892         (custom-versions-load-alist): Convert comment to doc.
10894 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10896         * newcomment.el (comment-search-backward): Stricter in finding
10897         comment start.  (Bug#14303)
10899         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10900         (octave-comment-start-skip): Properly anchored.
10902 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10904         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10905         Clean up when turned off.  (Bug#14395)
10906         (smie--highlight-matching-block-overlay): No longer buffer-local.
10907         (smie-highlight-matching-block): Adjust.
10909 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
10911         Doc string fix for "nanoseconds" (Bug#14406).
10912         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10913         Fix doc string typo that had "nanoseconds" instead of "microseconds".
10915 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10917         * calc/calc-units.el (math-extract-units): Preserve powers
10918         of units.
10920 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10922         * subr.el (delete-consecutive-dups): New function.
10923         * ido.el (ido-set-matches-1): Use it.
10924         * progmodes/octave.el (inferior-octave-completion-table): Use it.
10925         * ido.el (ido-remove-consecutive-dups): Remove.
10927 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10929         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10930         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10931         regexp-opt's `words'.
10933 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10935         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10936         (smie--highlight-matching-block-overlay)
10937         (smie--highlight-matching-block-lastpos)
10938         (smie--highlight-matching-block-timer): New variables.
10939         (smie-highlight-matching-block): New function.
10940         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
10941         (smie-setup): Conditionally enable smie-blink-matching-open.
10943 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
10945         Sync with upstream verilog-mode r840.
10946         * progmodes/verilog-mode.el (verilog-mode-version)
10947         (verilog-mode-release-date): Update.
10948         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10949         (verilog-sig-tieoff): Fix string error on
10950         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
10951         (verilog-read-decls): Fix parameters confusing
10952         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
10954 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
10956         * subr.el (reveal-filename): New function.
10958         * loadup.el: Compute Emacs executable versions on MS-Windows,
10959         where executables have the .exe extension.  Add a hard link
10960         emacs-XX.YY.ZZ.exe on MS-Windows.
10962         * Makefile.in (XARGS_LIMIT): New variable.
10963         (custom-deps, finder-data, autoloads)
10964         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10965         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10966         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10967         (compile-main): Limit xargs according to $(XARGS_LIMIT).
10969 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10971         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10972         (octave-mode-menu, octave-mode-map): Remove its uses.
10974 2013-05-16  Reto Zimmermann  <reto@gnu.org>
10976         Sync with upstream vhdl mode v3.34.2.
10977         * progmodes/vhdl-mode.el: Use `push' throughout.
10978         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10979         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10980         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
10981         (vhdl-actual-generic-name): New option to derive actual generic name.
10982         (vhdl-port-paste-signals): Replace formal by actual generics.
10983         (vhdl-beautify): New name for old group vhdl-align.  Update users.
10984         (vhdl-beautify-options): New option.
10985         (vhdl-last-input-event): New compat alias.  Use throughout.
10986         (vhdl-goto-line): Replace user level function `goto-line'.
10987         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10988         vhdl-fix-statement-buffer.
10989         (vhdl-create-mode-menu): Add some entries.
10990         (vhdl-align-region-groups): Respect vhdl-beautify-options.
10991         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10992         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10993         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10994         to force statements on one line.
10995         (vhdl-remove-trailing-spaces-region):
10996         New, split from vhdl-remove-trailing-spaces.
10997         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10998         Respect vhdl-beautify-options.
10999         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11000         (vhdl-update-sensitivity-list): Not add with index if exists without.
11001         Not include array index with signal.  Ignore keywords in comments.
11002         (vhdl-get-visible-signals): Regexp tweaks.
11003         (vhdl-template-component-inst): Handle empty library.
11004         (vhdl-template-type): Add template for 'enum' type.
11005         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11006         Use vhdl-replace-string.
11007         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11008         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11009         (vhdl-speedbar-initialize): Update for above name change.
11010         (vhdl-compose-wire-components): Fix in handling of constants.
11011         (vhdl-error-regexp-emacs-alist): New variable.
11012         (vhdl-error-regexp-add-emacs): New function;
11013         adds support for new compile.el (Emacs 22+)
11014         (vhdl-generate-makefile-1): Change target order for single lib. units.
11015         Allow use of absolute file names.
11017 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11019         * simple.el (prog-indent-sexp): Indent enclosing defun.
11021 2013-05-15  Glenn Morris  <rgm@gnu.org>
11023         * cus-start.el (show-trailing-whitespace): Move to editing basics.
11024         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11025         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11026         (whitespace-highlight): Move to whitespace group.
11028         * comint.el (comint-source):
11029         * pcmpl-linux.el (pcmpl-linux):
11030         * shell.el (shell-faces):
11031         * eshell/esh-opt.el (eshell-opt):
11032         * international/ccl.el (ccl): Remove empty custom groups.
11034         * completion.el (dynamic-completion-mode):
11035         * jit-lock.el (jit-lock-debug-mode):
11036         * minibuffer.el (completion-in-region-mode):
11037         * type-break.el (type-break-mode-line-message-mode)
11038         (type-break-query-mode):
11039         * emulation/tpu-edt.el (tpu-edt-mode):
11040         * progmodes/subword.el (global-subword-mode, global-superword-mode):
11041         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11042         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11044         * term/xterm.el (xterm): Change parent group to terminals.
11046         * master.el (master): Remove empty custom group.
11047         (master-mode): Remove unused :group argument.
11048         * textmodes/refill.el (refill): Remove empty custom group.
11049         (refill-mode): Remove unused :group argument.
11051         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11053         * cus-dep.el: Provide a feature.
11054         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11055         Don't mistakenly ignore files whose basenames match a basename
11056         from preloaded-file-list (eg cedet/ede/simple.el).
11057         Add a fallback method for getting :group.
11059 2013-05-15  Juri Linkov  <juri@jurta.org>
11061         * isearch.el (isearch-char-by-name): Rename from
11062         `isearch-insert-char-by-name'.  Doc fix.
11063         (isearch-forward): Mention `isearch-char-by-name' in
11064         the docstring.  (Bug#13348)
11066         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11067         `exit-minibuffer' instead of
11068         `isearch-nonincremental-exit-minibuffer'.
11069         (isearch-edit-string): Remove mention of
11070         `isearch-nonincremental-exit-minibuffer' from docstring.
11071         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11072         (isearch-forward-exit-minibuffer)
11073         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
11075 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11077         * loadup.el: Just use unversioned DOC.
11079         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11080         literals as extending to EOB.
11081         (nxml-last-fontify-end): Remove unused variable.
11082         (nxml-after-change1): Use with-silent-modifications.
11083         (nxml-extend-after-change-region): Simplify.
11084         (nxml-extend-after-change-region1): Remove function.
11085         (nxml-after-change1): Don't adjust for dependent regions.
11086         (nxml-fontify-matcher): Simplify.
11087         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11088         (xmltok-add-dependent): Remove function.
11089         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11090         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11091         (xmltok-scan-prolog-after-processing-instruction-open): Treat
11092         unclosed <[[, <?, comment, and other literals as extending to EOB.
11093         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11094         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11095         Remove functions.
11096         (rng-do-some-validation-1): Don't mark dependent regions.
11097         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11098         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11099         (nxml-clear-dependent-regions): Remove functions.
11100         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11101         (nxml-ensure-scan-up-to-date):
11102         Don't clear&mark dependent regions.
11104 2013-05-15  Leo Liu  <sdl.web@gmail.com>
11106         * progmodes/octave.el (octave-goto-function-definition):
11107         Improve and fix callers.
11109 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11111         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11112         the setter (bug#14387).
11114         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11115         surrounding group (bug#14402).
11117 2013-05-14  Juri Linkov  <juri@jurta.org>
11119         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11120         (Bug#14390)
11122 2013-05-14  Glenn Morris  <rgm@gnu.org>
11124         * progmodes/f90.el (f90-imenu-generic-expression):
11125         Fix typo in 2013-05-08 change.  (Bug#14402)
11127 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11129         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11130         Remove signals for which replies are never received.
11132 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11134         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11135         (gdb-handler-alist, gdb-handler-number): Remove variables.
11136         (gdb-handler-list): New variable.
11137         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11138         (gdb-pending-handler-p, gdb-handle-reply)
11139         (gdb-remove-all-pending-triggers): New functions.
11140         (gdb-discard-unordered-replies): New defcustom.
11141         (gdb-handler): New defstruct.
11142         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
11143         instead of gdb-pending-triggers.  Update docstring.
11144         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
11145         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11146         (gdb-var-update-handler, def-gdb-auto-update-trigger)
11147         (def-gdb-auto-update-handler, gdb-get-changed-registers)
11148         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11149         (gdb-frame-handler): Pending triggers are now automatically managed.
11150         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11151         Remove argument.
11152         (gdb-input): Automatically handles pending triggers.  Update docstring.
11153         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11154         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11155         Update comments.
11156         (gdb-done-or-error): Now use gdb-handle-reply.
11158 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11160         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11161         gdb-debug-log.
11163 2013-05-14  Glenn Morris  <rgm@gnu.org>
11165         * subr.el (user-emacs-directory-warning): New option.
11166         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
11168 2013-05-14  Leo Liu  <sdl.web@gmail.com>
11170         * progmodes/octave.el (octave-font-lock-keywords): Fix error
11171         during redisplay.
11172         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11173         (octave-font-lock-texinfo-comment): Fix invalid search bound
11174         error: wrong side of point.
11176 2013-05-14  Glenn Morris  <rgm@gnu.org>
11178         * progmodes/flymake.el (flymake-xml-program): New option.
11179         (flymake-xml-init): Use it.
11181         * term/xterm.el: Provide a feature.
11183         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
11185 2013-05-13  Glenn Morris  <rgm@gnu.org>
11187         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11188         Add compat aliases as a hack workaround.  (Bug#14384)
11190 2013-05-13  Leo Liu  <sdl.web@gmail.com>
11192         * progmodes/octave.el (octave-indent-comment): Fix indentation for
11193         ###, and %!.
11194         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11195         C-M-q.
11196         (octave-comment-start-skip): Include %!.
11197         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11199 2013-05-12  Leo Liu  <sdl.web@gmail.com>
11201         * progmodes/octave.el (inferior-octave-startup): Store the value
11202         of __octave_srcdir__ for octave-source-directories.
11203         (inferior-octave-check-process): New function refactored out of
11204         inferior-octave-send-list-and-digest.
11205         (octave-source-directories)
11206         (octave-find-definition-filename-function): New variables.
11207         (octave-source-directories)
11208         (octave-find-definition-default-filename): New functions.
11209         (octave-find-definition): Improve to find functions implemented in C++.
11211 2013-05-12  Glenn Morris  <rgm@gnu.org>
11213         * calendar/diary-lib.el (diary-outlook-format-1):
11214         Don't include dayname in the output.  (Bug#14349)
11216 2013-05-11  Glenn Morris  <rgm@gnu.org>
11218         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11220         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11221         Treat cc-provide like provide.
11223 2013-05-11  Kevin Ryde  <user42@zip.com.au>
11225         * cus-dep.el (custom-make-dependencies):
11226         Use generated-autoload-load-name for the sake of files such
11227         such cedet/semantic/bovine/c.el, where the base file name
11228         is not in load-path.  (Bug#5277)
11230 2013-05-11  Glenn Morris  <rgm@gnu.org>
11232         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11233         Provide features.
11235 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11237         * progmodes/octave.el (octave-indent-comment): Improve.
11238         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11239         (octave-eldoc-function-signatures, octave-eldoc-function):
11240         New functions.
11241         (octave-mode, inferior-octave-mode): Add eldoc support.
11243 2013-05-11  Richard Stallman  <rms@gnu.org>
11245         * epa.el (epa-decrypt-file): Take output file name as argument
11246         and read it using `interactive'.
11248 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11250         * progmodes/octave.el (octave-beginning-of-line)
11251         (octave-end-of-line): Check before using up-list because it jumps
11252         out of more syntactic contructs since moving to smie.
11253         (octave-indent-comment): New function.
11254         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
11255         (octave-begin-keywords, octave-end-keywords)
11256         (octave-reserved-words, octave-smie-bnf-table)
11257         (octave-smie-rules): Add new keywords from Octave 3.6.4.
11259 2013-05-11  Glenn Morris  <rgm@gnu.org>
11261         * faces.el (internal-face-x-get-resource):
11262         * frame.el (ns-display-monitor-attributes-list):
11263         * calc/calc-aent.el (math-to-radians-2):
11264         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11265         Fix declarations.
11267         * calc/calc-menu.el: Make it loadable in isolation.
11269         * net/eudcb-bbdb.el: Make it loadable without bbdb.
11270         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11271         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11272         (eudc-bbdb-query-internal): Require 'bbdb.
11274         * lpr.el (lpr-headers-switches):
11275         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11277         * progmodes/sql.el (sql-login-params): Fix and improve :type.
11279         * emulation/edt-mapper.el: In batch mode, error rather than hang.
11281         * term.el (term-set-escape-char): Make it idempotent.
11283 2013-05-10  Leo Liu  <sdl.web@gmail.com>
11285         * progmodes/octave.el (inferior-octave-completion-table):
11286         No longer a function and all uses changed.  Use cache to speed up
11287         completion due to bug#11906.
11288         (octave-beginning-of-defun): Re-write to be more general.
11290 2013-05-10  Glenn Morris  <rgm@gnu.org>
11292         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11294 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11296         * comint.el (comint-redirect-send-command-to-process): Use :around
11297         rather than :override for comint-redirect-filter.
11298         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11299         Call it instead of comint-redirect-original-filter-function (which
11300         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
11302 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
11304         * frame.el (display-monitor-attributes-list): Add NS case.
11305         (ns-display-monitor-attributes-list): Declare.
11307 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
11309         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
11311 2013-05-09  Glenn Morris  <rgm@gnu.org>
11313         * international/fontset.el (vertical-centering-font-regexp):
11314         Set standard-value.
11316         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11318         * bookmark.el (bookmark-search-delay):
11319         * cus-start.el (vertical-centering-font-regexp):
11320         * ps-mule.el (ps-mule-font-info-database-default):
11321         * ps-print.el (ps-default-fg, ps-default-bg):
11322         * type-break.el (type-break-good-break-interval):
11323         * whitespace.el (whitespace-indentation-regexp)
11324         (whitespace-space-after-tab-regexp):
11325         * emacs-lisp/testcover.el (testcover-1value-functions)
11326         (testcover-noreturn-functions, testcover-progn-functions)
11327         (testcover-prog1-functions):
11328         * emulation/viper-init.el (viper-emacs-state-cursor-color):
11329         * eshell/em-glob.el (eshell-glob-translate-alist):
11330         * play/tetris.el (tetris-tty-colors):
11331         * progmodes/cpp.el (cpp-face-default-list):
11332         * progmodes/flymake.el (flymake-allowed-file-name-masks):
11333         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11334         (idlwave-help-browser-generic-args):
11335         * progmodes/make-mode.el (makefile-special-targets-list):
11336         * progmodes/python.el (python-shell-virtualenv-path):
11337         * progmodes/verilog-mode.el (verilog-active-low-regexp)
11338         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11339         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11340         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11341         * textmodes/reftex-vars.el (reftex-format-label-function):
11342         * textmodes/remember.el (remember-diary-file): Fix custom types.
11344         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11345         Add :version.
11347 2013-05-09  Leo Liu  <sdl.web@gmail.com>
11349         * progmodes/octave.el (inferior-octave-completion-at-point):
11350         Restore file completion.  (Bug#14300)
11351         (inferior-octave-startup): Fix incorrect highlighting for the
11352         first prompt.
11354 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11356         * progmodes/ruby-mode.el: First cut at SMIE support.
11357         (ruby-use-smie): New var.
11358         (ruby-smie-grammar): New constant.
11359         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11360         (ruby-smie--forward-token, ruby-smie--backward-token)
11361         (ruby-smie-rules): New functions.
11362         (ruby-mode-variables): Setup SMIE if applicable.
11364 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
11366         * simple.el (line-move-visual): Signal beginning/end of buffer
11367         only if vertical-motion moved less than it was requested.  Avoids
11368         silly incorrect error messages when there are display strings with
11369         multiple newlines at EOL.
11371 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11373         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11374         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11375         (prolog-char-quote-workaround):
11376         * progmodes/cperl-mode.el (cperl-under-as-char):
11377         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11378         Mark as obsolete.
11379         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11380         their declaration.
11381         (vhdl-mode-syntax-table-init): Remove.
11383         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11384         last change.
11386         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11387         syntax for "_".
11388         (ld-script-font-lock-keywords):
11389         Change regexps to use things like \_< and \_>.
11391         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11392         Change all regexps to use things like \_< and \_>.
11394         * progmodes/autoconf.el (autoconf-definition-regexp)
11395         (autoconf-font-lock-keywords, autoconf-current-defun-function):
11396         Handle a _ with symbol syntax.
11397         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11399         * progmodes/ada-mode.el (ada-mode-abbrev-table):
11400         Consolidate declaration.
11401         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11402         the declaration.
11403         (ada-create-syntax-table): Remove.
11404         (ada-capitalize-word): Don't mess with the syntax of "_" since it
11405         already has the right syntax nowadays.
11406         (ada-goto-next-word): Don't change the syntax of "_".
11408         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11409         with-wrapper-hook.
11411 2013-05-08  Sam Steingold  <sds@gnu.org>
11413         * thingatpt.el (thing-at-point): Accept optional second argument
11414         NO-PROPERTIES to strip the text properties from the return value.
11415         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11416         to `thing-at-point' instead of stripping the properties ourselves.
11417         Also, when `thing-at-point' fails to find a url, prepend "http://"
11418         to the filename at point on the assumption that the user is
11419         pointing at something like gnu.org/gnu.
11421 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
11423         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11424         * faces.el (crm-separator):
11425         Silence byte-compiler.
11427         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11428         (tool-bar-map): Remove unneeded defvars.
11430 2013-05-08  Leo Liu  <sdl.web@gmail.com>
11432         Re-work a fix for bug#10994 based on Le Wang's patch.
11433         * ido.el (ido-remove-consecutive-dups): New helper.
11434         (ido-completing-read): Use it.
11435         (ido-chop): Revert fix for bug#10994.
11437 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
11439         * cus-edit.el (custom-save-variables):
11440         Pretty-print long values.  (Bug#14187)
11442 2013-05-08  Glenn Morris  <rgm@gnu.org>
11444         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11445         (m4-mode-syntax-table): Init in the defvar.
11446         (m4-mode-abbrev-table): Let define-derived-mode define it.
11448 2013-05-08  Tom Tromey  <tromey@redhat.com>
11450         * progmodes/m4-mode.el (m4-mode-syntax-table):
11451         Do not treat "_" as word constituent.  (Bug#14167)
11453 2013-05-07  Glenn Morris  <rgm@gnu.org>
11455         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11456         Remove explicit eshell-isearch-cancel-map.
11458         * progmodes/f90.el (f90-smart-end-names): New option.
11459         (f90-smart-end): Doc fix.
11460         (f90-end-block-optional-name): New constant.
11461         (f90-block-match): Respect f90-smart-end-names.
11463 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11465         * progmodes/octave.el (octave-smie-forward-token): Be more careful
11466         about implicit semi-colons (bug#14218).
11468 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11470         * frame.el (display-monitor-attributes-list)
11471         (frame-monitor-attributes): New functions.
11473 2013-05-06  Leo Liu  <sdl.web@gmail.com>
11475         * progmodes/octave.el (octave-syntax-propertize-function): Change
11476         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
11477         (octave-font-lock-keywords): Use octave-operator-regexp.
11478         (octave-completion-at-point): Rename from
11479         octave-completion-at-point-function.
11480         (inferior-octave-directory-tracker): Robustify.
11481         (octave-text-functions): Remove and fix its uses.  No such things
11482         any more.
11484 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11486         * emacs-lisp/trace.el (trace--display-buffer): New function.
11487         (trace-make-advice): Use it.
11489 2013-05-06  Juri Linkov  <juri@jurta.org>
11491         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
11492         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11493         Doc fix.
11494         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11495         in the help string.  (Bug#12985)
11497 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
11499         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
11501 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11503         * progmodes/perl-mode.el: Add support for here documents.
11504         (perl-syntax-propertize-function): Match here-doc markers.
11505         (perl-syntax-propertize-special-constructs): Find their end.
11506         (perl-imenu-generic-expression): Use [:alnum:].
11508         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11509         (advice--add-function): Refresh the advice if already present
11510         (bug#14317).
11512 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
11514         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
11516 2013-05-06  Glenn Morris  <rgm@gnu.org>
11518         * w32-fns.el (w32-charset-info-alist): Declare.
11520         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11521         of its defcustom properties.
11522         (eshell-cmpl-initialize): No need to load pcomplete.
11524         * generic-x.el: No need to require comint when compiling.
11526         * net/eudc-export.el: Make it loadable without bbdb.
11527         (top-level): Use require rather than load-library.
11528         (eudc-create-bbdb-record, eudc-bbdbify-phone)
11529         (eudc-batch-export-records-to-bbdb)
11530         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11531         Require bbdb.
11533 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11535         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11536         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11537         some tweaks, instead.
11539 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11541         * progmodes/octave.el (octave-font-lock-keywords)
11542         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11543         (inferior-octave-send-list-and-digest): Improve error message.
11544         (octave-mode, inferior-octave-mode): Use setq-local.
11545         (octave-help): Set info-lookup-mode.
11547 2013-05-05  Richard Stallman  <rms@gnu.org>
11549         * vc/compare-w.el (compare-windows-whitespace):
11550         Treat no-break space as whitespace.
11552         * mail/rmailsum.el (rmail-summary-rmail-update):
11553         Detect empty summary and don't change selected message.
11554         (rmail-summary-goto-msg): Likewise.
11556         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11557         Doc fixes, rename args.
11559 2013-05-05  Alan Mackenzie  <acm@muc.de>
11561         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11563 2013-05-05  Juri Linkov  <juri@jurta.org>
11565         * info.el (Info-read-subfile): Use (point-min) instead of (point)
11566         to not add the length of the summary segment to the return value.
11567         (Bug#14125)
11569 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11571         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11572         (inferior-octave-output-filter): Remove.
11573         (octave-send-region, inferior-octave-startup): Fix callers.
11574         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11575         (octave-binary-file-extensions): New user variable.
11576         (octave-find-definition): Confirm if opening binary files.
11577         (octave-help-file): Use octave-find-definition to get the binary
11578         confirmation.
11579         (octave-help): Adjust for octave-help-file change.
11581 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11583         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11584         Merge the two entries that handle function definitions.
11585         (pascal--syntax-propertize): New const.
11586         (pascal-mode): Use it.  Use setq-local.
11588 2013-05-04  Glenn Morris  <rgm@gnu.org>
11590         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11591         (diary-from-outlook): Respect diary-from-outlook-function.
11593 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11595         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11596         Move the declaration from C.
11597         (read-minibuffer, eval-minibuffer): Move from C.
11598         (completion-setup-function): Avoid minibuffer-completion-contents.
11600 2013-05-03  Leo Liu  <sdl.web@gmail.com>
11602         * progmodes/octave.el (octave-font-lock-keywords): Do not
11603         dehighlight 'end' in comments or strings.
11604         (octave-completing-read, octave-goto-function-definition):
11605         New helpers.
11606         (octave-help-buffer): New user variable.
11607         (octave-help-file, octave-help-function): New button types.
11608         (octave-help): New command and bind it to C-h ;.
11609         (octave-find-definition): New command and bind it to M-.
11610         (user-error): Alias to error if not defined.
11612 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11614         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11615         for \.  (bug#14332)
11616         (octave-font-lock-keywords): Include [ and {.
11618 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11620         * progmodes/octave.el (inferior-octave-startup-file): Change default.
11621         (inferior-octave): Remove calling comint-mode and return the buffer.
11622         (inferior-octave-startup): Cosmetic changes.
11624 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11626         * progmodes/octave.el (octave-syntax-propertize-function):
11627         Include the case when ' is at line beginning.  (Bug#14336)
11629 2013-05-02  Glenn Morris  <rgm@gnu.org>
11631         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11632         * desktop.el (vc-dir-mode): Just autoload it here.
11634 2013-05-02  Alan Mackenzie  <acm@muc.de>
11636         Eliminate variable c-standard-font-lock-fontify-region-function.
11637         * progmodes/cc-mode.el
11638         (c-standard-font-lock-fontify-region-function): Remove.
11639         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11641 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11643         * progmodes/octave.el: Compatible with older emacs-24 releases.
11644         (inferior-octave-has-built-in-variables): Remove.  Built-in
11645         variables were removed from Octave in 2007.
11646         (inferior-octave-startup): Fix uses.
11647         (comint-line-beginning-position): Remove compatibility code for
11648         emacs 21.
11650 2013-05-01  Juri Linkov  <juri@jurta.org>
11652         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
11654 2013-05-01  Juri Linkov  <juri@jurta.org>
11656         * comint.el (comint-previous-matching-input): Don't print message
11657         "History item: %d" when `isearch-mode' is active.
11658         (comint-history-isearch-message): Print message "History item: %d"
11659         when `comint-input-ring-index' is not empty and this function is
11660         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
11662 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11664         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11665         definitions.  Use completion-at-point to insert keywords.
11666         (octave-abbrev-start): Remove.
11667         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11669 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11671         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11672         change.
11674 2013-04-30  Alan Mackenzie  <acm@muc.de>
11676         Handle arbitrarily long C++ member initialisation lists.
11677         * progmodes/cc-engine.el (c-back-over-member-initializers):
11678         new function.
11679         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11680         (most) member init lists.
11682 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11684         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11685         variable.
11687 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11689         * progmodes/octave.el (octave-variables): Remove.  No builtin
11690         variables any more.  All converted to functions.
11691         (octave-font-lock-keywords, octave-completion-at-point-function):
11692         Fix uses.
11693         (octave-font-lock-texinfo-comment): New user variable.
11694         (octave-texinfo-font-lock-keywords): New variable for texinfo
11695         comment block.
11696         (octave-function-comment-block): New face.
11697         (octave-font-lock-texinfo-comment): New function.
11698         (octave-mode): Font lock texinfo comment block.
11700 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11702         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11703         indexing expression.
11704         (octave-continuation-string): Do not use \.
11705         (inferior-octave-complete-impossible): Remove.
11706         (inferior-octave-completion-table)
11707         (inferior-octave-completion-at-point): Remove its uses.
11708         (inferior-octave-startup): completion_matches was introduced to
11709         Octave in 1996 so safe to assume it.
11710         (octave-function-file-comment): Improve to follow how Octave does it.
11711         (octave-update-function-file-comment): Tweak.
11713 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11715         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11716         (inferior-octave-startup): Remove inferior-octave-startup-hook.
11717         (octave-function-file-comment): Fix typo.
11718         (octave-sync-function-file-names): Use read-char-choice.
11720 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
11722         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11723         to t for the less important warnings.
11725 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
11727         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
11729 2013-04-27  Glenn Morris  <rgm@gnu.org>
11731         * vc/log-view.el (log-view-current-entry):
11732         Treat "---" separator lines as part of the following rev.  (Bug#14169)
11734 2013-04-27  Juri Linkov  <juri@jurta.org>
11736         * subr.el (read-number): Doc fix about using it by interactive
11737         code letter `n'.  (Bug#14254)
11739 2013-04-27  Juri Linkov  <juri@jurta.org>
11741         * desktop.el (desktop-auto-save-timeout): New option.
11742         (desktop-file-checksum): New variable.
11743         (desktop-save): Add optional arg `auto-save' and don't auto-save
11744         if nothing changed.
11745         (desktop-auto-save-timer): New variable.
11746         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11747         (after-init-hook): Call `desktop-auto-save-set-timer'.
11748         Suggested by Reuben Thomas <rrt@sc3d.org> in
11749         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11751 2013-04-27  Leo Liu  <sdl.web@gmail.com>
11753         * progmodes/octave.el (octave-function-file-p)
11754         (octave-skip-comment-forward, octave-function-file-comment)
11755         (octave-update-function-file-comment): New functions.
11756         (octave-mode-map): Bind C-c ; to
11757         octave-update-function-file-comment.
11758         (octave-mode-menu): Add octave-update-function-file-comment.
11759         (octave-mode, inferior-octave-mode): Fix doc-string.
11760         (octave-insert-defun): Conform to Octave's coding convention.
11761         (Bug#14285)
11763         * files.el (basic-save-buffer): Don't let errors in
11764         before-save-hook prevent saving buffer.
11766 2013-04-20  Roland Winkler  <winkler@gnu.org>
11768         * faces.el (read-face-name): Use completing-read if arg multiple
11769         is nil.
11771 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
11773         * ls-lisp.el (ls-lisp-insert-directory): If no files are
11774         displayed, move point to after the totals line.
11775         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11776         for the details.
11778 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11780         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11781         Add current dir to the load-path.
11782         (package-generate-autoloads): Don't rely on
11783         autoload-ensure-default-file.
11785 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11787         * textmodes/remember.el (remember-store-in-files): Document that
11788         the file name format is passed to `format-time-string'.
11790 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11792         * progmodes/octave.el (octave-sync-function-file-names): New function.
11793         (octave-mode): Use it in before-save-hook.
11795 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11797         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11798         (bug#14274).
11800         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11801         \n and comment, even if it's not an implicit ; (bug#14218).
11803 2013-04-26  Glenn Morris  <rgm@gnu.org>
11805         * subr.el (read-number): Once more use `read' rather than
11806         `string-to-number', to trap non-numeric input.  (Bug#14254)
11808 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11810         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11811         Use `syntax-multiline' text property consistently instead of
11812         `font-lock-multiline'.  (Bug#14237)
11814 2013-04-26  Glenn Morris  <rgm@gnu.org>
11816         * emacs-lisp/shadow.el (list-load-path-shadows):
11817         No longer necessary to check for duplicate simple.el, since
11818         2012-07-07 change to init_lread to not include installation lisp
11819         directories in load-path when running uninstalled.  (Bug#14270)
11821 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11823         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11824         (octave-mode, inferior-octave-mode): Use setq-local.
11825         (octave-not-in-string-or-comment-p): Rename to
11826         octave-in-string-or-comment-p.
11827         (octave-in-comment-p, octave-in-string-p)
11828         (octave-in-string-or-comment-p): Replace defsubst with defun.
11830 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11832         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11834 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11836         * textmodes/remember.el (remember-data-directory)
11837         (remember-directory-file-name-format): Fix custom types.
11839 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11841         * progmodes/octave.el (octave-completion-at-point-function):
11842         Make use of inferior octave process.
11843         (octave-initialize-completions): Remove.
11844         (inferior-octave-completion-table): New function.
11845         (inferior-octave-completion-at-point): Use it.
11846         (octave-completion-alist): Remove.
11848 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11850         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11851         (opascal-mode-syntax-table): New var.
11852         (opascal-literal-kind, opascal-is-literal-end)
11853         (opascal-literal-token-at): Rewrite.
11854         (opascal--literal-start-re, opascal-font-lock-keywords)
11855         (opascal--syntax-propertize): New constants.
11856         (opascal-font-lock-defaults): Adjust.
11857         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11858         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11859         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11860         (delphi-other-face, opascal-other-face): Remove face variables.
11861         (opascal-save-state): Remove macro.
11862         (opascal-fontifying-progress-step): Remove constant.
11863         (opascal--ignore-changes): Remove var.
11864         (opascal-set-token-property, opascal-parse-next-literal)
11865         (opascal-is-stable-literal, opascal-complete-literal)
11866         (opascal-is-literal-start, opascal-face-of)
11867         (opascal-parse-region, opascal-parse-region-until-stable)
11868         (opascal-fontify-region, opascal-after-change)
11869         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11870         (opascal-debug-parse-region, opascal-debug-parse-window)
11871         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11872         (opascal-debug-fontify-buffer): Remove.
11873         (opascal-debug-mode-map): Adjust accordingly.
11875 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11877         Merge octave-mod.el and octave-inf.el into octave.el with some
11878         cleanups.
11879         * progmodes/octave.el: New file renamed from octave-mod.el.
11880         * progmodes/octave-inf.el: Merged into octave.el.
11881         * progmodes/octave-mod.el: Renamed to octave.el.
11883 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11885         * textmodes/reftex-vars.el
11886         (reftex-label-ignored-macros-and-environments): New defcustom.
11888         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11890 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11892         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11893         (smie-indent-keyword): Improve the check to ensure that the next
11894         comment is really on the same line.
11895         (smie-indent-comment): Don't align with a subsequent closer (or eob).
11897         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11898         semi-colons if the line is not otherwise empty (bug#14218).
11900 2013-04-25  Glenn Morris  <rgm@gnu.org>
11902         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11904 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11906         * progmodes/opascal.el (opascal-set-token-property): Rename from
11907         opascal-set-text-properties and only set `token' (bug#14134).
11908         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11909         (opascal-literal-text-properties): Remove.
11910         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11911         Adjust callers.
11913 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
11915         * textmodes/remember.el (remember-handler-functions): Add an
11916         option for a new handler `remember-store-in-files'.
11917         (remember-data-directory, remember-directory-file-name-format):
11918         New options.
11919         (remember-store-in-files): New function to store remember notes
11920         as separate files within a directory.
11922 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
11924         * progmodes/compile.el (compilation-next-error-function):
11925         Pass "formats" to compilation-find-file (bug#11777).
11927 2013-04-24  Glenn Morris  <rgm@gnu.org>
11929         * vc/vc-bzr.el (vc-bzr-print-log):
11930         * vc/vc-hg.el (vc-hg-print-log):
11931         * vc/vc-svn.el (vc-svn-print-log):
11932         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
11934         * vc/vc-bzr.el (vc-bzr-print-log):
11935         * vc/vc-cvs.el (vc-cvs-print-log):
11936         * vc/vc-git.el (vc-git-print-log):
11937         * vc/vc-hg.el (vc-hg-print-log):
11938         * vc/vc-mtn.el (vc-mtn-print-log):
11939         * vc/vc-rcs.el (vc-rcs-print-log):
11940         * vc/vc-sccs.el (vc-sccs-print-log):
11941         * vc/vc-svn.el (vc-svn-print-log):
11942         * vc/vc.el (vc-print-log-internal): Doc fixes.
11944 2013-04-23  Glenn Morris  <rgm@gnu.org>
11946         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11947         Remove venerable code attempting to avoid substitute-command-keys.
11949 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
11951         * textmodes/reftex-vars.el (reftex-label-regexps):
11952         Call `reftex-compile-variables' after changes to this variable.
11954 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11956         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11957         Use lexical-binding.
11958         (jit-lock-force-redisplay): Use markers, check buffer's continued
11959         existence and beware narrowed buffers.
11960         (jit-lock-fontify-now): Adjust call accordingly.
11962 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11964         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11965         to avoid misleading the user.
11967 2013-04-22  Leo Liu  <sdl.web@gmail.com>
11969         * info-look.el: Prefer latex2e.info.  (Bug#14240)
11971 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
11973         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
11975         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11976         * net/tramp.el (tramp-call-process): ... here.
11977         (tramp-set-completion-function, tramp-parse-putty):
11978         * net/tramp-adb.el (tramp-adb-execute-adb-command):
11979         * net/tramp-gvfs.el (tramp-gvfs-send-command):
11980         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11981         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11982         (tramp-call-local-coding-command): Use `tramp-call-process'
11983         instead of `tramp-compat-call-process'.
11985         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11986         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11987         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11988         (tramp-find-inline-compress): Improve traces.
11989         (tramp-maybe-send-script): Check for Perl binary.
11990         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11992 2013-04-22  Daiki Ueno  <ueno@gnu.org>
11994         * epg.el (epg-context-pinentry-mode): New function.
11995         (epg-context-set-pinentry-mode): New function.
11996         (epg--start): Pass --pinentry-mode option to gpg command.
11998 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
12000         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12001         `comint-dynamic-complete' is obsolete since 24.1, replaced by
12002         `completion-at-point'.  (Bug#13774)
12004         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12005         default key binding for `describe-distribution' has been moved to
12006         `C-h C-o'.  (Bug#13970)
12008 2013-04-21  Glenn Morris  <rgm@gnu.org>
12010         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12011         Add doc strings.
12012         (vc-print-log): Clarify interactive prompt.
12014 2013-04-20  Glenn Morris  <rgm@gnu.org>
12016         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12017         No longer include timestamp etc information.
12019 2013-04-20  Roland Winkler  <winkler@gnu.org>
12021         * faces.el (read-face-name): Bug fix, return just one face if arg
12022         multiple is nil.  (Bug#14209)
12024 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12026         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12027         (remove-function): Autoload.
12029         * comint.el (comint-redirect-original-filter-function): Remove.
12030         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12031         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12032         (vc-cvs-annotate-command):
12033         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12034         * progmodes/prolog.el (prolog-consult-compile):
12035         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12036         Use add/remove-function instead.
12037         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12038         (gud-tooltip-process-output, gud-tooltip-tips):
12039         Use add/remove-function instead.
12040         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12041         (scheme-interaction-mode, exit-scheme-interaction-mode):
12042         Use add/remove-function instead.
12044         * vc/vc-dispatcher.el: Use lexical-binding.
12045         (vc--process-sentinel): Rename from vc-process-sentinel.
12046         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12047         and vc-sentinel-commands any more.
12048         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12049         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12051 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12053         * progmodes/sh-script.el (sh-imenu-generic-expression):
12054         Handle function names with a single character.   (Bug#14111)
12056 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
12058         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12059         for subroutines defined in an eval (bug#14182).
12061 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12063         * bookmark.el (bookmark-completing-read): Improve handling of empty
12064         string (bug#14176).
12066 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12068         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12070 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12072         New faster Imenu implementation (bug#14058).
12073         * progmodes/python.el:
12074         (python-imenu-prev-index-position):
12075         (python-imenu-format-item-label-function)
12076         (python-imenu-format-parent-item-label-function)
12077         (python-imenu-format-parent-item-jump-label-function):
12078         New vars.
12079         (python-imenu-format-item-label)
12080         (python-imenu-format-parent-item-label)
12081         (python-imenu-format-parent-item-jump-label)
12082         (python-imenu--put-parent, python-imenu--build-tree)
12083         (python-imenu-create-index, python-imenu-create-flat-index)
12084         (python-util-popn): New functions.
12085         (python-mode): Set imenu-create-index-function to
12086         python-imenu-create-index.
12088 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12090         * winner.el (winner-active-region): Use region-active-p, activate-mark
12091         and deactivate-mark (bug#14225).
12093         * simple.el (deactivate-mark): Don't inline it.
12095 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
12097         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12099 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
12101         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12102         file extensions from the archive-mode entry in order to prefer
12103         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12105 2013-04-18  Leo Liu  <sdl.web@gmail.com>
12107         * bindings.el (help-event-list): Add ?\?.
12109 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12111         * subr.el (with-wrapper-hook): Declare obsolete.
12112         * simple.el (filter-buffer-substring-function): New hook.
12113         (filter-buffer-substring): Use it.
12114         (filter-buffer-substring-functions): Mark obsolete.
12115         * minibuffer.el (completion-in-region-function): New hook.
12116         (completion-in-region): Use it.
12117         (completion-in-region-functions): Mark obsolete.
12118         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12119         * abbrev.el (abbrev-expand-function): New hook.
12120         (expand-abbrev): Use it.
12121         (abbrev-expand-functions): Mark obsolete.
12122         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12123         and :filter-return.
12125 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12127         * progmodes/python.el (python-nav--syntactically): Fix cornercases
12128         and do not care about match data.
12130 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12132         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12133         completion tables when completing error conditions and
12134         `declare' arguments.
12135         (lisp-complete-symbol, field-complete): Mark as obsolete.
12136         (check-parens): Unmatched parens are user errors.
12137         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12139 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
12141         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12142         command changed buffer (ie. `flyspell-pre-buffer' is not current
12143         buffer), which prevents making decisions based on invalid value of
12144         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
12145         cause an error when `flyspell-pre-point' was nil after switching
12146         buffers.
12147         (flyspell-post-command-hook): No longer needs to change buffers when
12148         checking pre-word.  While at it remove unnecessary progn.
12150 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
12152         * textmodes/ispell.el (ispell-add-per-file-word-list):
12153         Fix `flyspell-correct-word-before-point' error when accepting
12154         words and `coment-padding' is an integer by using
12155         `comment-normalize-vars' (Bug #14214).
12157 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12159         New defun movement commands.
12160         * progmodes/python.el (python-nav--syntactically)
12161         (python-nav--forward-defun, python-nav-backward-defun)
12162         (python-nav-forward-defun): New functions.
12164 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12166         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12167         (python-syntax-context): Use named compiler-macro for backwards
12168         compatibility with Emacs 24.x.
12170 2013-04-17  Leo Liu  <sdl.web@gmail.com>
12172         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12173         octave-hide-process-buffer.
12175 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12177         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12178         (bug#14216).
12180 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
12182         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12183         Fix adjustment of offset when receiving incomplete responses from GDB
12184         (bug#14129).
12186 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12188         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12189         python-mode-abbrev-table.
12190         (python-skeleton-define): Adjust accordingly.
12191         (python-mode-abbrev-table): New table that inherits from it so that
12192         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12194         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12195         (abbrev-symbol): Use it.
12196         (abbrev--before-point): Use it since we already handle inheritance.
12198 2013-04-16  Leo Liu  <sdl.web@gmail.com>
12200         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12201         binding to info-lookup-symbol.
12203 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
12205         * minibuffer.el (completion--twq-all):
12206         * term/ns-win.el (ns-initialize-window-system):
12207         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12209 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12211         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12212         global bindings.
12214         * doc-view.el (doc-view-start-process): Handle url-handler directories.
12216 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
12218         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12219         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12220         to nil.
12221         (ruby-end-of-defun): Remove the unused arg, change the docstring
12222         to reflect that this function is only used as the value of
12223         `end-of-defun-function'.
12224         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12225         to reflect an earlier change that beginning/end-of-defun functions
12226         jump between methods in a class definition, as well as top-level
12227         functions.
12229 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12231         * minibuffer.el (minibuffer-complete): Don't just scroll
12232         a *Completions* that's been iconified.
12233         (minibuffer-force-complete): Make sure repetitions do cycle when going
12234         through completion-in-region -> minibuffer-complete.
12236 2013-04-15  Alan Mackenzie  <acm@muc.de>
12238         Correct the placement of c-cpp-delimiters when there're #s not at
12239         col 0.
12241         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12242         place a submatch around the #.
12243         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12244         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
12245         on the #, not BOL.
12247 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12249         * emacs-lisp/nadvice.el: Properly test names when adding advice.
12250         (advice--member-p): New arg `name'.
12251         (advice--add-function, advice-member-p): Use it (bug#14202).
12253 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
12255         Reformulate java imenu-generic-expression.
12256         The old expression contained ill formed regexps.
12258         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12259         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12260         (cc-imenu-java-method-arg-regexp): New defconsts.
12261         (cc-imenu-java-build-type-args-regex): New defun.
12262         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12263         handling of spaces in the regexp.
12265 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12267         * textmodes/ispell.el (ispell-command-loop): Remove
12268         flyspell highlight of a word when ispell accepts it (bug #14178).
12270 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
12272         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12273         uses code from the previous `ange-ftp-run-real-handler'.
12274         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12275         only in case that function exist.  This is needed for proper
12276         unloading of Tramp.
12278 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
12280         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12282         * textmodes/reftex.el (reftex-compile-variables): Use it.
12284 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12286         * files.el (normal-mode): Only use default major-mode if no other mode
12287         was specified.
12289         * emacs-lisp/trace.el (trace-values): New function.
12291         * files.el: Allow : in local variables (bug#14089).
12292         (hack-local-variable-regexp): New var.
12293         (hack-local-variables-prop-line, hack-local-variables): Use it.
12295 2013-04-13  Roland Winkler  <winkler@gnu.org>
12297         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
12298         data before it gets modified by bibtex-beginning-of-entry.
12300 2013-04-13  Roland Winkler  <winkler@gnu.org>
12302         * textmodes/bibtex.el (bibtex-url): Doc fix.
12304 2013-04-13  Roland Winkler  <winkler@gnu.org>
12306         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12307         does not visit a BibTeX file, exclude it from the list of buffers
12308         returned by bibtex-initialize.
12310 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
12312         * window.el (split-window): Remove interactive form, since as a
12313         command this function is a special case of split-window-below.
12314         Correct doc string.
12316 2013-04-12  Roland Winkler  <winkler@gnu.org>
12318         * faces.el (read-face-name): Do not override value of arg default.
12319         Allow single faces and strings as default values.  Remove those
12320         elements from return value that are not faces.
12321         (describe-face): Simplify.
12322         (face-at-point): New optional args thing and multiple so that this
12323         function can provide the same functionality previously provided by
12324         read-face-name.
12325         (make-face-bold, make-face-unbold, make-face-italic)
12326         (make-face-unitalic, make-face-bold-italic, invert-face)
12327         (modify-face, read-face-and-attribute): Use face-at-point.
12329         * cus-edit.el (customize-face, customize-face-other-window)
12330         * cus-theme.el (custom-theme-add-face)
12331         * face-remap.el (buffer-face-set)
12332         * facemenu.el (facemenu-set-face): Use face-at-point.
12334 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
12336         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12338 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
12340         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12341         off leading { and trailing } from field values.
12343 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12345         * emacs-lisp/timer.el (timer--check): New function.
12346         (timer--time, timer-set-function, timer-event-handler): Use it.
12347         (timer-set-idle-time): Simplify.
12348         (timer--activate): CSE.
12349         (timer-event-handler): Give more info in error message.
12350         (internal-timer-start-idle): New function, moved from C.
12352         * mpc.el (mpc-proc): Add `restart' argument.
12353         (mpc-proc-cmd): Use it.
12354         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12355         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12356         less often.
12358 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
12360         * progmodes/sh-script.el: Implement `sh-mode' own
12361         `add-log-current-defun-function' (bug#14112).
12362         (sh-current-defun-name): New function.
12363         (sh-mode): Use the function.
12365 2013-04-09  Bastien Guerry  <bzg@gnu.org>
12367         * simple.el (choose-completion-string): Fix docstring (bug#14163).
12369 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12371         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12373         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12374         timer (bug#14156).
12376 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
12378         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12379         declaration.
12381 2013-04-07  Leo Liu  <sdl.web@gmail.com>
12383         * pcmpl-x.el: New file.
12385 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
12387         Do not set x-display-name until X connection is established.
12388         This is needed to prevent from weird situation described at
12389         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12390         * frame.el (make-frame): Set x-display-name after call to
12391         window system initialization function, not before.
12392         * term/x-win.el (x-initialize-window-system): Add optional
12393         display argument and use it.
12394         * term/w32-win.el (w32-initialize-window-system):
12395         * term/ns-win.el (ns-initialize-window-system):
12396         * term/pc-win.el (msdos-initialize-window-system):
12397         Add compatible optional display argument.
12399 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
12401         * files.el (normal-backup-enable-predicate): On MS-Windows and
12402         MS-DOS compare truenames of temporary-file-directory and of the
12403         file, so that 8+3 aliases (usually found in $TEMP on Windows)
12404         don't fail comparison by compare-strings.  Also, compare file
12405         names case-insensitively on MS-Windows and MS-DOS.
12407 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12409         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12410         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12412 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
12414         * whitespace.el (whitespace-color-on, whitespace-color-off):
12415         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12417 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
12419         * ispell.el (ispell-set-spellchecker-params):
12420         Really set `ispell-args' for all equivs.
12422 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12424         * ido.el (ido-completions): Use extra elements of ido-decorations
12425         (bug#14143).
12426         (ido-decorations): Update docstring.
12428 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
12430         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12431         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12432         nil during initialization, in order not to miss changes since the
12433         file was opened.  (Bug#14140)
12435 2013-04-05  Leo Liu  <sdl.web@gmail.com>
12437         * kmacro.el (kmacro-call-macro): Fix bug#14135.
12439 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
12441         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12443 2013-04-04  Glenn Morris  <rgm@gnu.org>
12445         * electric.el (electric-pair-inhibit-predicate): Add :version.
12447 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12449         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12450         when a package is required several times (bug#14082).
12452 2013-04-04  Roland Winkler  <winkler@gnu.org>
12454         * faces.el (read-face-name): Behave as promised by the docstring.
12455         Assume that arg default is a list of faces.
12456         (describe-face): Call read-face-name with list of default faces.
12458 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12460         * bookmark.el: Fix deletion of bookmarks (bug#13972).
12461         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12462         (bookmark-bmenu-execute-deletions): Only skip first line if it's
12463         the header.
12464         (bookmark-exit-hook-internal): Save even if list is empty.
12466 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
12468         * emacs-lisp/package.el (package-pinned-packages): New var.
12469         (package--add-to-archive-contents): Obey it (bug#14118).
12471 2013-04-03  Alan Mackenzie  <acm@muc.de>
12473         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12474         Also adapt to the new values of element 7 of a parse state.
12476         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12477         parameter `not-in-delimiter'.  Handle being inside comment opener.
12478         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12479         character in case we're typing a '*' after a '/'.
12480         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12481         instead by passing the parameter to c-state-pp-to-literal.
12483         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12484         for elt. 7 of a parse state.
12486 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
12488         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12489         * international/latin1-disp.el, international/mule-util.el:
12490         * language/cyril-util.el, language/european.el, language/ind-util.el:
12491         * language/lao-util.el, language/thai.el, language/tibet-util.el:
12492         * language/tibetan.el, language/viet-util.el:
12493         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12495 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12497         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12498         (electric-pair-post-self-insert-function): Use it.
12499         (electric-pair-default-inhibit): New function, extracted from
12500         electric-pair-post-self-insert-function.
12502 2013-03-31  Roland Winkler  <winkler@gnu.org>
12504         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12506 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12508         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12510 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
12512         Un-indent after "pass" and "return" statements (Bug#13888)
12513         * progmodes/python.el (python-indent-block-enders): New var.
12514         (python-indent-calculate-indentation): Use it.
12516 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
12518         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12519         defun.  Defining it as defalias could introduce too eager
12520         byte-compiler optimization.  (Bug#14030)
12522 2013-03-30  Chong Yidong  <cyd@gnu.org>
12524         * iswitchb.el (iswitchb-read-buffer): Fix typo.
12526 2013-03-30  Leo Liu  <sdl.web@gmail.com>
12528         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12529         (kmacro-execute-from-register): Pass the keyboard macro to
12530         kmacro-call-macro or repeating won't work correctly.
12532 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
12534         * progmodes/subword.el: Back to using `forward-symbol'.
12536         * subr.el (forward-whitespace, forward-symbol)
12537         (forward-same-syntax): Move from thingatpt.el.
12539 2013-03-29  Leo Liu  <sdl.web@gmail.com>
12541         * kmacro.el (kmacro-to-register): New command.
12542         (kmacro-execute-from-register): New function.
12543         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
12545 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12547         * mpc.el: Use defvar-local and setq-local.
12548         (mpc--proc-connect): Connection failures are not bugs.
12549         (mpc-mode-map): `follow-link' only applies to the buffer's content.
12550         (mpc-volume-map): Bind to the up-events.
12552 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
12554         * progmodes/subword.el (superword-mode): Use `forward-sexp'
12555         instead of `forward-symbol'.
12557 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12559         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12560         (edebug--recursive-edit): Use it.
12561         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12562         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12564 2013-03-28  Leo Liu  <sdl.web@gmail.com>
12566         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
12568 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
12570         * facemenu.el (list-colors-callback): New defvar.
12571         (list-colors-redisplay): New function.
12572         (list-colors-display): Install list-colors-redisplay as the
12573         revert-buffer-function.  (Bug#14063)
12575 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12577         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12578         and suffixes don't overlap (bug#14061).
12580         * case-table.el: Use lexical-binding.
12581         (case-table-get-table): New function.
12582         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
12584 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
12586         * progmodes/subword.el: Add `superword-mode' to do word motion
12587         over symbol_words (parallels and leverages `subword-mode' which
12588         does word motion inside MixedCaseWords).
12590 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
12592         * eshell/em-unix.el: Move su and sudo to...
12593         * eshell/em-tramp.el: ...Eshell tramp module.
12595 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12597         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12598         Change return value to be a sexp.  Delay `get-buffer' to after
12599         restoring the desktop (bug#13951).
12601 2013-03-26  Leo Liu  <sdl.web@gmail.com>
12603         * register.el: Move semantic tag handling back to
12604         cedet/semantic/senator.el.  (Bug#14052)
12606 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12608         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12609         into the prompt either (bug#13963).
12611 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12613         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12614         part of "(error-foo)".
12616 2013-03-24  Juri Linkov  <juri@jurta.org>
12618         * replace.el (list-matching-lines-prefix-face): New defcustom.
12619         (occur-1): Pass `list-matching-lines-prefix-face' to the function
12620         `occur-engine' if `face-differs-from-default-p' returns t.
12621         (occur-engine): Add `,' inside backquote construct to evaluate
12622         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
12623         Pass `prefix-face' to the functions `occur-context-lines' and
12624         `occur-engine-add-prefix'.
12625         (occur-engine-add-prefix, occur-context-lines): Add optional arg
12626         `prefix-face' and propertize the prefix with `prefix-face'.
12627         (Bug#14017)
12629 2013-03-24  Leo Liu  <sdl.web@gmail.com>
12631         * nxml/rng-valid.el (rng-validate-while-idle)
12632         (rng-validate-quick-while-idle): Guard against deleted buffer.
12633         (Bug#13999)
12635         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12636         is the last entry in kill-buffer-hook.
12638         * files.el (kill-buffer-hook): Doc fix.
12640 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
12642         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12643         Make it safe-local.
12645         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12647 2013-03-23  Leo Liu  <sdl.web@gmail.com>
12649         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12650         Remove.
12652         * nxml/rng-valid.el (rng-validate-mode)
12653         (rng-after-change-function, rng-do-some-validation):
12654         * nxml/rng-maint.el (rng-validate-buffer):
12655         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12656         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12657         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12658         (nxml-extend-after-change-region): Use with-silent-modifications.
12660         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12661         timer-idle-list.
12663         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12664         (rng-next-error-1, rng-previous-error-1): Do not let-bind
12665         timer-idle-list.  (Bug#13999)
12667 2013-03-23  Juri Linkov  <juri@jurta.org>
12669         * info.el (info-index-match): New face.
12670         (Info-index, Info-apropos-matches): Add a nested subgroup to the
12671         main pattern and add text properties with the new face to matches
12672         in index entries relative to the beginning of the index entry.
12673         (Bug#14015)
12675 2013-03-21  Eric Ludlam  <zappo@gnu.org>
12677         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12678         Inhibit read only while inserting objects.
12680 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
12682         * progmodes/cfengine.el: Update docs to mention
12683         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
12684         symbol motion.  Remove "_" from the word syntax.
12686 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
12688         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12689         syntax for both `cfengine2-mode' and `cfengine3-mode'.
12691 2013-03-20  Juri Linkov  <juri@jurta.org>
12693         * info.el (Info-next-reference-or-link)
12694         (Info-prev-reference-or-link): New functions.
12695         (Info-next-reference, Info-prev-reference): Use them.
12696         (Info-try-follow-nearest-node): Handle footnote navigation.
12697         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
12699 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12701         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12702         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12704 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
12706         Suppress unnecessary non-ASCII chatter during build process.
12707         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12708         (batch-skkdic-convert): Suppress most of the chatter.
12709         It's not needed so much now that machines are faster,
12710         and its non-ASCII component was confusing; see Dmitry Gutov in
12711         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12713 2013-03-20  Leo Liu  <sdl.web@gmail.com>
12715         * ido.el (ido-chop): Fix bug#10994.
12717 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12719         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12720         Remove vars.
12721         (whitespace-color-on, whitespace-color-off):
12722         Use `font-lock-fontify-buffer' (Bug#13817).
12724 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12726         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12727         remapping in mode-line.
12728         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12730 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12732         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12733         value for `whitespace-line' face (Bug#13875).
12734         (whitespace-font-lock-keywords): Change description.
12735         (whitespace-color-on): Don't save `font-lock-keywords' value, save
12736         the constructed keywords instead.
12737         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12739 2013-03-19  Leo Liu  <sdl.web@gmail.com>
12741         * progmodes/compile.el (compilation-display-error): New command.
12742         (compilation-mode-map, compilation-minor-mode-map): Bind it to
12743         C-o.  (Bug#13992)
12745 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12747         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12749 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
12751         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12753 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
12755         * net/tramp-compat.el (tramp-compat-user-error): New defun.
12757         * net/tramp-adb.el (tramp-adb-handle-shell-command):
12758         * net/tramp-gvfs.el (top):
12759         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12760         (tramp-handle-shell-command): Use it.
12761         (tramp-dissect-file-name): Raise an error when hostname is a
12762         method name, and neither method nor user is specified.
12764         * net/trampver.el: Update release number.
12766 2013-03-18  Leo Liu  <sdl.web@gmail.com>
12768         Make sure eldoc can be turned off properly.
12769         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12770         eldoc-mode.
12771         (eldoc-display-message-p): Revert last change.
12772         (eldoc-display-message-no-interference-p)
12773         (eldoc-print-current-symbol-info): Tweak.
12775 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12777         * doc-view.el (doc-view-new-window-function): Check the new window
12778         overlay's display property instead the char property of the
12779         buffer's first char.  Use `with-selected-window' instead of
12780         `save-window-excursion' with `select-window'.
12781         (doc-view-document->bitmap): Check the current doc-view overlay's
12782         display property instead the char property of the buffer's first char.
12784 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12786         Automate the build of ja-dic.el (Bug#13984).
12787         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12788         from the input, rather than assume that it's been done for us by the
12789         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12790         the current date into a ja-dic.el comment, as that complicates
12791         regression testing.
12793 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12795         * whitespace.el: Fix double evaluation.
12796         (whitespace-space, whitespace-hspace, whitespace-tab)
12797         (whitespace-newline, whitespace-trailing, whitespace-line)
12798         (whitespace-space-before-tab, whitespace-indentation)
12799         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12800         obsolete defvars.
12801         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12802         (whitespace-color-on): Use a single font-lock-add-keywords call.
12803         Fix double-evaluation of face variables.
12805 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12807         * net/tramp-adb.el (tramp-adb-parse-device-names):
12808         Use `start-process' instead of `call-process'.  Otherwise, the
12809         function might be blocked under MS Windows.  (Bug#13299)
12811 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12813         Extend eldoc to display info in the mode-line.  (Bug#13978)
12814         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12815         (eldoc-mode-line-string): New variable.
12816         (eldoc-minibuffer-message): New function.
12817         (eldoc-message-function): New variable.
12818         (eldoc-message): Use it.
12819         (eldoc-display-message-p)
12820         (eldoc-display-message-no-interference-p):
12821         Support eldoc-post-insert-mode.
12823         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12824         (eval-expression): Run it.
12826 2013-03-17  Roland Winkler  <winkler@gnu.org>
12828         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12829         strings in the list of return values.
12831 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12833         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12834         radix before checking for HMS forms.
12836 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12838         * progmodes/scheme.el: Add indentation and font-locking for λ.
12839         (Bug#13975)
12841 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12843         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12844         token before point (bug#13942).
12846 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12848         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12850 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12852         * startup.el (command-line-normalize-file-name): Fix handling of
12853         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12854         <xfq.free@gmail.com> in
12855         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12857 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12859         Sync with Tramp 2.2.7.
12861         * net/trampver.el: Update release number.
12863 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12865         * doc-view.el: Fix bug#13887.
12866         (doc-view-insert-image): Don't modify overlay associated to
12867         non-live windows, and implement horizontal centering of image in
12868         case it's smaller than the window.
12869         (doc-view-new-window-function): Force redisplay of new windows on
12870         doc-view buffers.
12872 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12874         * saveplace.el (save-place-alist-to-file): Don't sort
12875         `save-place-alist', just pretty-print it (bug#13882).
12877 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12879         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12880         Check whether `default-file-name-coding-system' is bound.
12881         It isn't in XEmacs.
12883 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12885         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12886         backquotes for `obsolete' (bug#13929).
12888         * international/mule.el (find-auto-coding): Include file name in
12889         obsolescence warning (bug#13922).
12891 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
12893         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12894         for CFEngine 3-specific indentation.
12895         (cfengine3-indent-line): Use it.  Fix up category regex.
12896         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12898 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12900         * type-break.el (type-break-file-name):
12901         * textmodes/remember.el (remember-data-file):
12902         * strokes.el (strokes-file):
12903         * shadowfile.el (shadow-initialize):
12904         * saveplace.el (save-place-file):
12905         * ps-bdf.el (bdf-cache-file):
12906         * progmodes/idlwave.el (idlwave-config-directory):
12907         * net/quickurl.el (quickurl-url-file):
12908         * international/kkc.el (kkc-init-file-name):
12909         * ido.el (ido-save-directory-list-file):
12910         * emulation/viper.el (viper-custom-file-name):
12911         * emulation/vip.el (vip-startup-file):
12912         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12913         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12915 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
12917         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12918         * language/thai-word.el: Switch to UTF-8.
12920 See ChangeLog.16 for earlier changes.
12922 ;; Local Variables:
12923 ;; coding: utf-8
12924 ;; End:
12926   Copyright (C) 2011-2014 Free Software Foundation, Inc.
12928   This file is part of GNU Emacs.
12930   GNU Emacs is free software: you can redistribute it and/or modify
12931   it under the terms of the GNU General Public License as published by
12932   the Free Software Foundation, either version 3 of the License, or
12933   (at your option) any later version.
12935   GNU Emacs is distributed in the hope that it will be useful,
12936   but WITHOUT ANY WARRANTY; without even the implied warranty of
12937   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12938   GNU General Public License for more details.
12940   You should have received a copy of the GNU General Public License
12941   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.