* lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current...
[emacs.git] / lisp / ChangeLog
blobfd1ad94af2920390436ac1a73c3099fae8fe0c78
1 2014-02-07  Juri Linkov  <juri@jurta.org>
3         * desktop.el (desktop-read): Claim the lock when the owner is not
4         the current process.  (Bug#16157)
6 2014-02-07  Juri Linkov  <juri@jurta.org>
8         * desktop.el (desktop-buffers-not-to-save): Change default from nil
9         to "\\` ".  (Bug#16651)
11 2014-02-07  Juri Linkov  <juri@jurta.org>
13         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
14         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
15         (desktop-auto-save-cancel-timer): New function with some code from
16         `desktop-auto-save-set-timer'.
17         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
18         Instead of setting `desktop-save-mode' to nil, call
19         `desktop-save-mode' with arg 0.  (Bug#16630)
21 2014-02-07  Glenn Morris  <rgm@gnu.org>
23         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
24         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
25         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
27         * obsolete/iswitchb.el: Move to obsolete/.
28         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
29         since obsolete/ is not scanned for autoloads.
30         * emacs-lisp/authors.el (authors-valid-file-names):
31         Add iswitchb.el.
33         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
34         Disable now non-functional find-file-hook.
36 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
38         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
39         instead of ";" in order to avoid additional prompts.  Let heredoc
40         scripts read from tty.  (Bug#16582)
41         (tramp-send-command): No special handling of heredocs, it isn't
42         necessary anymore.
44 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
46         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
47         with a space (bug#16664).  Limit the symbols considered to the ones
48         that are bound or fbound (bug#16646).
50 2014-02-06  Glenn Morris  <rgm@gnu.org>
52         * epa.el (epa-mail-aliases): Doc fix.
54 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
56         * emacs-lisp/lisp.el (lisp-completion-at-point):
57         Use `completion-table-merge' instead of `completion-table-in-turn'
58         (bug#16604).
60         * minibuffer.el (completion-table-merge): New function.
62 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
64         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
65         (tramp-sh-handle-set-file-acl)
66         (tramp-sh-handle-start-file-process)
67         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
68         (tramp-find-executable, tramp-send-command): Use it.
70 2014-02-05  Glenn Morris  <rgm@gnu.org>
72         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
74 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
76         * progmodes/python.el (python-shell-send-string):
77         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
79 2014-02-04  Anders Lindgren  <andlind@gmail.com>
81         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
82         the names (bug#16620).
84 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
86         * faces.el (window-divider): New default value.  Rewrite doc-string.
87         (window-divider-first-pixel, window-divider-last-pixel): New faces.
89 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
91         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
92         `protected' and `public' can also be called without arguments.
94 2014-02-03  Glenn Morris  <rgm@gnu.org>
96         * register.el (window-configuration-to-register)
97         (frame-configuration-to-register): Unadvertise unused argument.
98         * frameset.el (frameset-to-register): Remove unused argument.
100         * frameset.el (frameset-to-register):
101         * kmacro.el (kmacro-to-register):
102         * register.el (increment-register):
103         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
104         (calc-append-to-register, calc-prepend-to-register):
105         * play/gametree.el (gametree-layout-to-register)
106         (gametree-apply-register-layout):
107         * textmodes/picture.el (picture-clear-rectangle-to-register)
108         (picture-yank-rectangle-from-register):
109         * vc/emerge.el (emerge-combine-versions-register):
110         Use register-read-with-preview to read registers.
112 2014-02-03  João Távora  <joaotavora@gmail.com>
114         * elec-pair.el (electric-pair-backward-delete-char): Don't error
115         when at beginning of (possibly narrowed) buffer.
117 2014-02-02  Daniel Colascione  <dancol@dancol.org>
119         * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
120         Also try to display local help from just before point.
122 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
124         c-parse-state.  Don't "append-lower-brace-pair" in certain
125         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
126         recognised as a comment.
128         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
129         as well as normal comment starter.
130         (c-parse-state-get-strategy): Extra return possibility
131         'back-and-forward.
132         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
133         return value list to indicate replacement of a brace-pair cons
134         with its car.
135         (c-parse-state-1): With 'back-and-forward, only call
136         c-append-lower-brace-pair-to state-cache when cons-separated.
138 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
140         * term/ns-win.el (ns-suspend-error): New function.
141         (ns-initialize-window-system): Add ns-suspend-error to
142         suspend-hook (Bug#16612).
144 2014-02-02  Daniel Colascione  <dancol@dancol.org>
146         * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
148 2014-02-02  Daniel Colascione  <dancol@dancol.org>
150         * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
152 2014-02-02  Glenn Morris  <rgm@gnu.org>
154         * register.el (register-read-with-preview, point-to-register)
155         (window-configuration-to-register, frame-configuration-to-register)
156         (jump-to-register, number-to-register, view-register, insert-register)
157         (copy-to-register, append-to-register, prepend-to-register)
158         (copy-rectangle-to-register): Doc fixes.
160 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
163         * emacs-lisp/find-func.el (find-function-C-source): Idem.
164         * emacs-lisp/nadvice.el (advice--cd*r): New function.
165         * help-fns.el (describe-function-1): Use it.
167 2014-02-02  Glenn Morris  <rgm@gnu.org>
169         * register.el (register-preview-default): New function,
170         split from register-preview.
171         (register-preview-function): Rename from register-preview-functions,
172         make it not a hook.
173         (register-preview): Use register-preview-function.
174         (register-read-with-preview): Error on non-character event.  (Bug#16595)
176 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
178         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
179         `:' before binary operators (bug#16609).  Don't check for `:'
180         before `[' and `(', or their syntax status.  A percent literal
181         can't end with either.
182         (ruby-font-lock-keywords): For built-ins that require arguments,
183         check that they're followed by something that looks like argument
184         (bug#16610).
186 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
188         * subr.el (butlast): Document what an omitted N means (bug#13437).
189         (nbutlast): Ditto.
191 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
193         * net/shr.el (shr-generic): Make into a defsubst to make the stack
194         depth shallower (bug#16587).
195         (shr-tag-svg): Respect `shr-inhibit-images'.
196         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
198 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
200         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
201         (ruby-smie-grammar): Make "." right-associative.  Make its priority
202         lower than the ternary and all binary operators.
203         (ruby-smie-rules): Indent "(" relative to the first non-"."
204         parent, or the first "." parent at indentation.
205         Use `ruby-align-chained-calls' for indentation of "." tokens.
206         (Bug#16593)
208 2014-01-31  Juri Linkov  <juri@jurta.org>
210         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
211         from `make-hash-table'.
213         * textmodes/ispell.el (ispell-init-process): Change message format
214         to be consistent with other messages.
216 2014-01-31  Glenn Morris  <rgm@gnu.org>
218         * delsel.el (delete-selection-mode): Doc fix.
220         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
221         (trace-function-background): Doc fixes.
223         * ido.el (ido-use-virtual-buffers): Doc fix.
224         Reset :version, since the default value has not changed.
226         * register.el (register-preview-delay, register-read-with-preview):
227         Doc fixes.
229         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
230         do not mess with mail-buffer position (fixes 2009-11-03 change).
231         * progmodes/cc-mode.el (c-submit-bug-report):
232         Check auto-fill-mode is bound.  (Bug#16592)
234 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
236         * startup.el (fancy-splash-image-file): New function,
237         split from fancy-splash-head.
238         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
239         so that we are both using the same image.  (Bug#16574)
241 2014-01-30  Glenn Morris  <rgm@gnu.org>
243         * simple.el (eval-expression): Doc fix.
245         * hexl.el (hexl-mode-hook):
246         * ielm.el (ielm-mode-hook):
247         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
248         (lisp-interaction-mode-hook):
249         * progmodes/cfengine.e (cfengine3-documentation-function):
250         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
252 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
254         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
255         is a symbol (bug#16584).
257 2014-01-30  Glenn Morris  <rgm@gnu.org>
259         * help.el (help-for-help-internal): Add "P" to text.
261 2014-01-29  Glenn Morris  <rgm@gnu.org>
263         * simple.el (just-one-space, cycle-spacing): Doc fixes.
265 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
267         * window.el (fit-frame-to-buffer): Fix calculations for margins and
268         height constraints.
270 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
272         * progmodes/hideif.el: Extend to full CPP expression syntax.
273         (hif-token-alist): Add missing tokens.
274         (hif-token-regexp): Add support for float/octal/hex immediates.
275         (hif-string-literal-regexp): New const.
276         (hif-tokenize): Recognize strings and float/octal/hex immediates.
277         (hif-exprlist): New function.
278         (hif-parse-if-exp): Use it.
279         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
280         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
281         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
282         (hif-logxor, hif-comma): New functions.
284 2014-01-28  Glenn Morris  <rgm@gnu.org>
286         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
288         * indent.el (tab-stop-list): Doc fix.  Add :version.
290         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
291         (cvs-append-to-ignore): Add compatibility alias.
293 2014-01-27  Glenn Morris  <rgm@gnu.org>
295         * dired.el (dired-hide-details-mode): Don't autoload it,
296         since it cannot be used outside Dired buffers anyway.
298         * emulation/cua-base.el (cua-mode): Doc fix.
300         * dired.el (dired-hide-details-hide-symlink-targets)
301         (dired-hide-details-hide-information-lines)
302         (dired-hide-details-mode): Doc fixes.
304         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
305         * strokes.el (strokes-file): Doc fix.  Bump :version.
306         (strokes-help): Doc fix.
307         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
308         * emulation/viper.el (viper): Doc fix for custom group.
309         (top-level): Remove oh-so-no-longer-relevant text about vip.
310         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
312         * ido.el (ido-save-directory-list-file):
313         * saveplace.el (save-place-file):
314         * calendar/timeclock.el (timeclock-file):
315         * net/quickurl.el (quickurl-url-file):
316         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
317         * progmodes/idlwave.el (idlwave-config-directory):
318         * textmodes/remember.el (remember-data-file):
319         Bump :version.
321 2014-01-26  Glenn Morris  <rgm@gnu.org>
323         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
324         Doc fix.  Make obsolete.
325         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
327         * sort.el (delete-duplicate-lines): Doc fix.
329 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
331         * progmodes/ada-mode.el (ada):
332         * woman.el (woman): Link to info manual and Commentary section.
334         * progmodes/flymake.el (flymake):
335         * nxml/nxml-mode.el (nxml):
336         * net/eww.el (eww):
337         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
338         * htmlfontify.el (htmlfontify):
339         * ses.el (ses):
340         * epa.el (epa):
341         * ido.el (ido): Link to info manual.
343 2014-01-25  Leo Liu  <sdl.web@gmail.com>
345         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
347 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
349         * net/shr.el (shr-tag-img): Prefer the title over the alt text
350         (bug#16537).
352 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
354         * net/eww.el (eww-download-callback):
355         Fix reference to eww-download-directory.
357         * emacs-lisp/bytecomp.el (byte-compile-file):
358         Remove unused local variable `file-name'.
360 2014-01-24  Glenn Morris  <rgm@gnu.org>
362         * woman.el (woman-default-faces, woman-monochrome-faces):
363         Fix obsolescence specification.
365         * subr.el (with-demoted-errors): Doc fix.
367 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
370         (cl--macroexp-fboundp): New function.
371         (cl--make-type-test): Use it.
373 2014-01-23  Glenn Morris  <rgm@gnu.org>
375         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
376         * simple.el (eval-expression): Doc fixes.
378 2014-01-22  Glenn Morris  <rgm@gnu.org>
380         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
382 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
384         * emacs-lisp/package.el: Write files silently.
385         (package-autoload-ensure-default-file, package--write-file-no-coding)
386         (package-generate-description-file, package--download-one-archive)
387         (package-install-from-archive): Tell `write-region' to stay quiet.
388         (package-menu-mode, package-menu--print-info): Omit the Archive column
389         if there's only one archive.
390         (package-all-keywords, package--has-keyword-p): Remove dead code.
392 2014-01-22  Glenn Morris  <rgm@gnu.org>
394         * version.el (emacs-bzr-version-bzr): Fix typo.
396         * version.el (emacs-repository-get-version):
397         Check either .bzr or .git, but not both.
398         Make the git case actually use the DIR argument, and return nil
399         rather than the empty string.
400         Avoid error if .git exists but the git executable is not found.
402 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
404         Fixes in window size functions around Bug#16430 and Bug#16470.
405         * window.el (window-total-size, window-size): New argument ROUND.
406         (window--min-delta-1, window-min-delta, window--max-delta-1):
407         Be more conservative when calculating the numbers of lines or
408         columns a window can shrink (Bug#16430).
409         (fit-window-to-buffer): Simplify code.
410         * term.el (term-window-width): Call window-body-width again.
412 2014-01-22  Glenn Morris  <rgm@gnu.org>
414         * image.el (image-format-suffixes): Doc fix.
416         * international/quail.el (quail-define-package): Doc fix.
418         * emacs-lisp/authors.el (authors-valid-file-names):
419         (authors-renamed-files-alist): Additions.
421         * vc/vc-git.el (vc-git-print-log): Remove --follow;
422         reverts 2014-01-09 change.  (Bug#16422)
424         * calc/calc-embed.el (thing-at-point-looking-at):
425         * emacs-lisp/map-ynp.el (x-popup-dialog):
426         * obsolete/lmenu.el (x-popup-dialog):
427         * emacs-lisp/package.el (url-recreate-url):
428         * mail/mailclient.el (clipboard-kill-ring-save):
429         * subr.el (x-popup-dialog): Update declaration.
430         * mail/rmail.el (rmail-mime-message-p):
431         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
433 2014-01-21  Daniel Colascione  <dancol@dancol.org>
435         * progmodes/sh-script.el (sh--inside-noncommand-expression):
436         Correctly detect when we're inside an arithmetic expansion form
437         containing nested parenthesis.
438         (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
439         to detect cases where we shouldn't expand "<<" to a heredoc
440         skeleton.
442 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
444         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
445         (eldoc--message-command-p): New function.
446         (eldoc-display-message-p): Use it.
447         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
448         message is not automatically erased for us.
449         (eldoc-print-current-symbol-info): Erase previous message, if any.
451 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
453         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
454         specify it's an interactive function.
456         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
457         Fix regex used for scanning for citation keys which failed for
458         citations with optional arguments.
460 2014-01-21  Leo Liu  <sdl.web@gmail.com>
462         * simple.el (read--expression): Don't enable eldoc-mode.
464 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
466         * simple.el (move-beginning-of-line): Make sure we don't move forward
467         (bug#16497).
469 2014-01-20  Juri Linkov  <juri@jurta.org>
471         * saveplace.el (toggle-save-place, save-place-to-alist)
472         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
473         'dired-mode) before checking for dired-directory.  (Bug#16477)
475 2014-01-20  Juri Linkov  <juri@jurta.org>
477         * indent.el (indent-line-to): Use backward-to-indentation
478         instead of back-to-indentation.  (Bug#16461)
480 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
482         Revert some of the CANNOT_DUMP fix (Bug#16494).
483         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
484         but fixing this can wait until after the next release.
485         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
487 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
489         * eshell/esh-mode.el (eshell-password-prompt-regexp):
490         Use `password-word-equivalents'.
491         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
492         to t.  (Bug#5664, Bug#13124)
494 2014-01-19  Alan Mackenzie  <acm@muc.de>
496         Bind open-paren-in-column-0-is-defun-start to nil at some entry
497         points.
498         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
499         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
500         * progmodes/cc-mode.el (c-before-change, c-after-change)
501         (c-font-lock-fontify-region): Bind it here.
503 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
505         * term.el (term-window-width): Call window-text-width instead of
506         window-width (Bug#16470).
508 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
510         * simple.el (password-word-equivalents): Remove duplicates.
511         Sort, to make this easier next time.
512         Downcase.  Omit ": " after "jelszó".
514 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
516         * term/common-win.el (saved-region-selection): Defvar it.
517         (x-select-text): Set saved-region-selection (Bug#16382).
519 2014-01-18  Glenn Morris  <rgm@gnu.org>
521         * emacs-lisp/authors.el (authors-aliases)
522         (authors-renamed-files-alist): Add some entries.
524 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
526         * net/tramp.el (tramp-password-prompt-regexp):
527         Use `password-word-equivalents' if available.
528         (tramp-action-password, tramp-process-one-action)
529         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
531 2014-01-17  Chong Yidong  <cyd@gnu.org>
533         * simple.el (password-word-equivalents): New defcustom.
534         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
535         to 24.4.
536         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
537         to t.  (Bug#13124)
539 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
541         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
542         (ruby-align-to-stmt-keywords): Change the default value.
543         Use `ruby-alignable-keywords' to generate the possible customization
544         choices.
545         (ruby-smie-rules): Instead of using a hardcoded list of alignable
546         keywords, check against the value of `ruby-alignable-keywords'
547         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
549 2014-01-17  Glenn Morris  <rgm@gnu.org>
551         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
553         Make M-x authors return zero *Authors Errors* from current logs.
554         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
555         (authors-ignored-files): Add some entries, remove others.
556         (authors-ambiguous-files, authors-valid-file-names):
557         Add some entries.
558         (authors-renamed-files-alist): Add, remove, and adjust entries.
559         (authors-renamed-files-regexps): Add some entries.
560         Remove some very broad ones.  Make some entries `lax'.
561         (authors-lax-changelogs): New constant.
562         (authors-disambiguate-file-name): Treat top-level specially.
563         (authors-lax-changelog-p): New function.
564         (authors-canonical-file-name): Check file as written against
565         authors-valid-file-names.  Do not special-case etc/.
566         Handle `lax' logs and authors-renamed-files-regexps elements.
568 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
570         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
571         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
572         callers.
574 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
576         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
577         Assume we're already in the proper buffer.
578         Inspired by Anders Lindgren <andlind@gmail.com>.
579         (follow-post-command-hook): Call it from the right buffer.
580         (follow-comint-scroll-to-bottom): Adjust call.
581         (follow-all-followers): Use get-buffer-window-list.
583 2014-01-15  Daniel Colascione  <dancol@dancol.org>
585         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
586         `buffer-file-name' in interactive-form so that we don't leave
587         pathless file names in `file-name-history'.
589 2014-01-15  Juri Linkov  <juri@jurta.org>
591         * indent.el (indent-rigidly): Set deactivate-mark to nil
592         in transient indentation mode.  (Bug#16438)
594 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
596         * emacs-lisp/package.el (package-desc-keywords): New function
597         (Bug#16222).
598         (describe-package-1, package-all-keywords)
599         (package--has-keyword-p): Use it.
601 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
603         * simple.el (define-alternatives): When creating the
604         COMMAND-alternatives variable, assign COMMAND as its definition
605         name so that `describe-variable' can relocate it.
607 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
609         * font-lock.el (font-lock-keywords): Fix typo in docstring
610         (bug#16307).
612 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
614         * ispell.el (ispell-region): Reset `in-comment' for new line
615         instead of wrongly reset `add-coment' (bug#13577).
617 2014-01-14  Daiki Ueno  <ueno@gnu.org>
619         * epa-file.el (epa-file-write-region): Encode the region according
620         to `buffer-file-format'.  Problem reported at:
621         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
623 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
626         so it applies in the right buffer (bug#16410).
628 2014-01-13  Daniel Colascione  <dancol@dancol.org>
630         * textmodes/rst.el (rst-define-key): Provide deprecated
631         keybindings through named functions instead of anonymous ones so
632         that "??" doesn't appear in describe-mode output.
634 2014-01-13  Bastien Guerry  <bzg@gnu.org>
636         * simple.el (define-alternatives): Call the selected command
637         interactively.  When setting `COMMAND--implementation' for the
638         first time, tell the user how to chose another implementation.
639         Enhance the docstring.
641 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
643         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
644         (log-edit--match-first-line): New function.
645         (log-edit-font-lock-keywords): Use it.
646         (log-edit-mode): Make jit-lock-defer-multiline work.
648 2014-01-13  Bastien Guerry  <bzg@gnu.org>
650         * rect.el (rectangle-mark-mode): When the region is not active,
651         display a message saying that the mark as been set and that
652         rectangle mode is in use.
653         (rectangle--highlight-for-redisplay): Only put an overlay with a
654         visible vertical bar when (display-graphic-p) is non-nil.
655         This partially fixes Bug#16403.
657 2014-01-13  Juri Linkov  <juri@jurta.org>
659         * info.el (Info-find-file): Go to DIR before displaying the error
660         about a nonexistent file if no previous Info file is visited.
661         Use `user-error' instead of `error' for "Info file %s does not exist".
662         (Info-find-node-2): In case of a nonexistent node in unwind forms
663         go to the Top node if there is no previous node to revert to.
664         (Bug#16405)
666 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
668         fit-frame/window-to-buffer code fixes including one for Bug#14096.
669         * window.el (fit-frame-to-buffer): Fix doc-string.
670         Respect window-min-height/-width.  Fit pixelwise when
671         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
672         when avoiding that frame goes partially off-screen.
673         (fit-window-to-buffer): Respect window-min-height/-width
674         (Bug#14096).
676 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
679         after an empty line.
681 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
683         * net/shr.el (shr-render-region): Autoload.
685 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
687         * net/eww.el (eww-download-directory): Rename from
688         `eww-download-path' (Bug#16419).
690 2014-01-12  Leo Liu  <sdl.web@gmail.com>
692         * dired-x.el (dired-mode-map): Fix last change.
694         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
696 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
698         Spelling fixes.
699         * emacs-lisp/generic.el (generic--normalize-comments):
700         Rename from generic--normalise-comments.  All uses changed.
701         * play/bubbles.el (bubbles--neighborhood-score):
702         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
703         (bubbles--neighborhood-available)
704         (bubbles--update-neighborhood-score):
705         Rename from names with 'neighbourhood'.  All uses changed.
707 2014-01-12  Leo Liu  <sdl.web@gmail.com>
709         Re-implement the feature of showing eldoc info after editing.
710         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
711         (eldoc-edit-message-commands): New function.
712         (eldoc-print-after-edit): New variable.
713         (eldoc-pre-command-refresh-echo-area): Emit message only by
714         eldoc-message-commands.
715         (eldoc-mode): Restrict eldoc-message-commands to editing commands
716         if eldoc-print-after-edit is set.  (Bug#16346)
717         * simple.el (read--expression): Enable eldoc-mode.
718         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
720 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
721             Eric S. Raymond  <esr@thyrsus.com>
723         * version.el (emacs-repository-get-version): Enhance so the
724         function works correctly in either a Bazaar or Git repo.
726 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
728         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
729         Goes with removal of the joke manpages from /etc.
731 2014-01-10  K. Handa  <handa@gnu.org>
733         * mail/rmail.el (rmail-get-coding-system):
734         Check rmail-get-coding-function before "funcall"ing it.
736 2014-01-10  Glenn Morris  <rgm@gnu.org>
738         * emacs-lisp/authors.el (authors-fixed-entries):
739         Update for files that no longer exist.
741 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
743         * version.el (emacs-bzr-get-version): Restore compatibilty with
744         24.3 (Tested).
746 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
748         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
749         and Podfile.
751 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
753         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
755 2014-01-10  Chong Yidong  <cyd@gnu.org>
757         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
759 2014-01-10  Anders Lindgren  <andlind@gmail.com>
761         * follow.el (follow-cache-command-list): Include right-char and
762         left-char.
764 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
766         Spelling fixes.
767         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
768         * woman.el (woman-mark-horizontal-position):
769         Rename from woman-mark-horizonal-position.  Use changed.
771 2014-01-10  Glenn Morris  <rgm@gnu.org>
773         * info.el (info-initialize): If running uninstalled, ensure our
774         own info files are always found first, even if INFOPATH is set.
776         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
778 2014-01-09  David Engster  <deng@randomsample.de>
780         * emacs-lisp/eieio-custom.el:
781         * emacs-lisp/eieio-opt.el: Set generated autoload file to
782         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
783         * emacs-lisp/eieio.el: Regenerate autoloads.
785 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
787         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
788         following renames.  (Bug#8756)
790 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
792         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
793         (bug#16382).
794         (activate-mark): Add `no-tmm' argument.
795         (set-mark, push-mark-command): Use it instead of running
796         activate-mark-hook by hand.
798 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
800         In preparation for the move to git, sanitize out some
801         Bazaar-specific names.
803         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
805         * version.el (emacs-bzr-version): Name changed to
806         emacs-repository-version.  Obsolete-variable alias made.
807         * loadup.el: Follow through on this name change.
808         * mail/emacsbug.el (report-emacs-bug): Factor out any
809         assumption about the version control system in use.
811 2014-01-08  David Engster  <deng@randomsample.de>
813         * help-fns.el (help-fns-describe-function-functions):
814         New variable to call functions for augmenting help buffers.
815         (describe-function-1): Remove explicit calls to
816         `help-fns--compiler-macro', `help-fns--parent-mode' and
817         `help-fns--obsolete'.  Put them in above new variable instead, and
818         call them through `run-hook-with-args'.
819         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
820         `eieio-describe-class'.  Not meant for interactive use anymore,
821         but to augment existing help buffers.  Remove optional second
822         argument.  Create proper button for file location.
823         Rewrite function to use `insert' instead of `princ' and `prin1' where
824         possible.
825         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
826         (eieio-method-def, eieio-class-def): Move further up.
827         (describe-method, describe-generic, eieio-describe-method):
828         Remove aliases.
829         (eieio-help-constructor, eieio-help-generic): Rename from
830         `eieio-describe-constructor' and `eieio-describe-generic', resp.
831         Rewrite to use `insert' in the current buffer and use proper help
832         buttons.
833         (eieio-help-find-method-definition)
834         (eieio-help-find-class-definition): Also accept symbols as
835         arguments.
836         (eieio-help-mode-augmentation-maybee): Remove.
837         (eieio-describe-class-sb): Use `describe-function'.
838         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
839         Add `eieio-help-generic' and `eieio-help-constructor'.
841 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
843         Spelling fixes.
844         * language/china-util.el (hz-ascii-designation):
845         Rename from hz-ascii-designnation.
846         (hz-ascii-designation): Rename from hz-ascii-designnation.
847         All uses changed.
849 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
851         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
852         package-alist.
854 2014-01-08  Bastien Guerry  <bzg@gnu.org>
856         * emacs-lisp/package.el (package-delete):
857         Correctly delete the package from package-alist.
859 2014-01-08  Daiki Ueno  <ueno@gnu.org>
861         * emacs-lisp/package.el (url-recreate-url): Declare.
862         (url-http-target-url): Declare.
863         (package-handle-response): Include requested URL in the error message.
864         (package--check-signature): Don't re-signal errors from
865         package--with-work-buffer.  Suggested by Stefan Monnier.
867 2014-01-07  Bastien Guerry  <bzg@gnu.org>
869         * minibuffer.el (completion--try-word-completion): When both a
870         hyphen and a space are possible candidates for the character
871         following a word, display both candidates.  (Bug#15980)
873 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
875         * window.el (balance-windows-2): While rounding don't give a
876         window more than the remainder.  Bug#16351, Bug#16383.
878 2014-01-07  Glenn Morris  <rgm@gnu.org>
880         * menu-bar.el (menu-bar-help-extra-packages): Remove.
881         (menu-bar-help-menu): Use view-external-packages instead.
883 2014-01-07  Bastien Guerry  <bzg@gnu.org>
885         * emacs-lisp/package.el (package-delete): Also delete the package
886         name from `package-alist', not its description only.
888 2014-01-07  Glenn Morris  <rgm@gnu.org>
890         * help.el (view-external-packages):
891         * menu-bar.el (menu-bar-help-extra-packages):
892         Visit efaq.info rather than etc/MORE.STUFF.
894 2014-01-07  Juri Linkov  <juri@jurta.org>
896         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
897         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
899         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
900         that shadows RET.  (Bug#16342)
902 2014-01-07  Chong Yidong  <cyd@gnu.org>
904         * isearch.el (isearch-yank-char, isearch-yank-word)
905         (isearch-yank-line): Doc fix.
907 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
909         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
910         * emacs-lisp/elint.el (elint-find-builtins):
911         * emacs-lisp/eldoc.el (eldoc-symbol-function):
912         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
913         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
914         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
915         * apropos.el (apropos-safe-documentation):
916         * subr.el (symbol-file): Remove redundant fboundp.
917         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
919 2014-01-06  Bastien Guerry  <bzg@gnu.org>
921         * hl-line.el (global-hl-line-overlay): Make a local variable.
922         (global-hl-line-overlays): New variable to store all overlays.
923         (global-hl-line-mode): Don't delete overlays from the current
924         buffer when `global-hl-line-sticky-flag' is non-nil.
925         (global-hl-line-highlight): Add new overlays to
926         `global-hl-line-overlays'.
927         (global-hl-line-unhighlight-all): New function to delete all
928         overlays when turning off `global-hl-line-mode'.
929         This fixes Bug#16183.
931 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
933         * subr.el (set-transient-map): Fix nested case and docstring.
935 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
937         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
938         `Texinfo' entry.
940 2014-01-06  Daniel Colascione  <dancol@dancol.org>
942         Fix defun navigation in vc log view.
944         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
945         like `beginning-of-defun'.
946         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
947         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
948         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
949         (log-view-extract-comment): Call `log-view-current-entry' directly
950         instead of relying on broken `log-view-beginning-of-defun' behavior.
952 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
954         Spelling fixes.
955         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
956         * emacs-lisp/debug.el (cancel-debug-on-entry):
957         * epg.el (epg-error-to-string):
958         * files.el (recover-file):
959         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
960         * mail/emacsbug.el (report-emacs-bug-hook):
961         * mail/sendmail.el (mail-recover):
962         * ses.el (ses-yank-resize):
963         * term/ns-win.el (ns-print-buffer):
964         Spelling fixes in diagnostics, mostly for "canceled" with one L.
965         * epg.el (epg-key-capability-alist): Rename from misspelled version.
966         All uses changed.
967         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
969 2014-01-06  Leo Liu  <sdl.web@gmail.com>
971         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
972         to avoid shadowing global key.  (Bug#16354)
974 2014-01-06  Daniel Colascione  <dancol@dancol.org>
976         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
977         rst-mode.
979 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
981         * window.el (balance-windows): Add mising t to fix Bug#16351.
983 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
985         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
986         (bug#16285).
987         (shr-insert): If we have a word that's longer than `shr-width',
988         break after it anyway.  Otherwise we'll do no breaking once we get
989         such a long word.
991 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
993         * net/eww.el (eww): Support single/double quote for search.
994         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
995         (eww-history-quit): Delete and use quit-window.
996         (eww-history-kill): Delete, because it doesn't work well and
997         not necessary.
998         (eww-history-mode-map): Delete some keys and add easy-menu.
1000 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1002         Fix misspelling of 'chinese' in rx (Bug#16237).
1003         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1004         chinese-two-byte.
1006         Change subword regexps back to vars (Bug#16296).
1007         * progmodes/subword.el (subword-forward-regexp)
1008         (subword-backward-regexp): Change these back to variables.
1010 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1012         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1013         syntax-begin-function (bug#16247).
1015 2014-01-03  Chong Yidong  <cyd@gnu.org>
1017         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1018         (advice--docstring): Delete variable.
1019         (advice--make-1): Leave the docstring empty.
1020         (advice-add): Use function-documentation for advised docstring.
1022         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1023         Ignore function-documentation property when getting documentation.
1024         (ad-activate-advised-definition): Use function-documentation
1025         generate the docstring.
1026         (ad-make-advised-definition): Don't call
1027         ad-make-advised-definition-docstring.
1028         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1029         Delete functions.
1031         * progmodes/sql.el (sql-help): Use function-documentation instead
1032         of dynamic-docstring-function property.  No need to autoload now.
1033         (sql--help-docstring): New variable.
1034         (sql--make-help-docstring): Use it.
1036 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1038         * ielm.el (ielm-tab): Retarget.
1039         (ielm-map): Use ielm-tab for tab.
1040         (ielm-complete-filename): Use comint-filename-completion.
1041         (ielm-complete-symbol): Remove.
1042         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1043         remove ielm-tab from completion-at-point-functions (bug#16224).
1045         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1046         Beware signals raised by predicates (bug#16201).
1048 2014-01-02  Richard Stallman  <rms@gnu.org>
1050         * dired-aux.el (dired-do-print): Handle printer-name.
1052         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1053         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1054         (rmail-epa-decrypt): Turn off mime processing.
1056         * mail/rmail.el (rmail-make-in-reply-to-field):
1057         Add parens in message-id.
1059         * mail/rmail.el (rmail-get-coding-function): Variable.
1060         (rmail-get-coding-system): Use it.
1062 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
1064         * international/mule-conf.el: Unify the charset indian-is13194.
1065         (indian-is13194): Specify unify-map.
1067 2013-12-31  Leo Liu  <sdl.web@gmail.com>
1069         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
1071 2013-12-30  Daniel Colascione  <dancol@dancol.org>
1073         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1074         of printing a useless when we resume from sleep.
1076         * progmodes/sh-script.el
1077         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1078         in indentation code.  (Bug#16233)
1080 2013-12-28  João Távora  <joaotavora@gmail.com>
1082         * elec-pair.el (electric-pair-post-self-insert-function):
1083         Don't open extra newlines at beginning of buffer.  (Bug#16272)
1085 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
1087         * frame.el (window-system-for-display): Don't allow to create a
1088         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
1090 2013-12-28  Glenn Morris  <rgm@gnu.org>
1092         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1093         Update callers.
1095         * apropos.el (apropos-match-face):
1096         * calculator.el (calculator-displayer):
1097         * dabbrev.el (dabbrev-search-these-buffers-only):
1098         * face-remap.el (buffer-face-mode-face):
1099         * simple.el (yank-handled-properties):
1100         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1101         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1102         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1103         (hashcash-double-spend-database):
1104         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1105         (ruby-deep-indent-paren-style):
1106         * textmodes/flyspell.el (flyspell-auto-correct-binding):
1107         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1108         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1109         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1110         Specify custom types.
1112         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1113         * bookmark.el (bookmark-bmenu-use-header-line):
1114         * doc-view.el (doc-view-scale-internally):
1115         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1116         * register.el (register-preview-delay):
1117         * net/shr.el (shr-bullet):
1118         * progmodes/cfengine.el (cfengine-cf-promises)
1119         (cfengine-parameters-indent):
1120         * progmodes/octave.el (inferior-octave-error-regexp-alist):
1121         * textmodes/reftex-vars.el (reftex-label-regexps):
1122         * vc/log-edit.el (log-edit-setup-add-author): Add version.
1124         * net/tls.el (tls-certtool-program): Fix default value.
1126         * desktop.el (desktop-restore-in-current-display):
1127         * newcomment.el (comment-empty-lines):
1128         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1129         (idlwave-pad-keyword):
1130         * progmodes/tcl.el (tcl-tab-always-indent):
1131         * textmodes/reftex-vars.el (reftex-index-default-tag):
1132         * elec-pair.el (electric-pair-skip-whitespace):
1133         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1135         * emacs-lisp/authors.el (authors-ignored-files)
1136         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1138 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1140         * shell.el (shell-dynamic-complete-command): Doc fix.
1141         (shell--command-completion-data): Shell completion now matches
1142         executable filenames from the current buffer's directory, on
1143         systems in which this behavior is the default (windows-nt, ms-dos).
1145 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1147         * net/shr.el (shr-insert): Don't infloop if the width is zero.
1149 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1151         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1152         (bug#16251).
1154         * electric.el: Move all electric-pair-* to elec-pair.el.
1155         * elec-pair.el: New file, split from electric.el.
1157 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1159         * net/shr.el (shr-find-fill-point): Don't try to fill if the
1160         indentation level is larger than the width, because that will
1161         infloop.
1162         (shr-insert): Fill repeatedly long texts, so that Japanese is
1163         formatted correctly (bug#16263).
1164         (shr-find-fill-point): Off by one error in comparison with the
1165         indentation.
1167 2013-12-26  João Távora  <joaotavora@gmail.com>
1169         * electric.el (electric-pair-mode): More flexible engine for skip-
1170         and inhibit predicates, new options for pairing-related functionality.
1171         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1172         if that keeps or improves their balance in buffers.
1173         (electric-pair-delete-adjacent-pairs): Delete the pair when
1174         backspacing over adjacent matched delimiters.
1175         (electric-pair-open-extra-newline): Open extra newline when
1176         inserting newlines between adjacent matched delimiters.
1177         (electric--sort-post-self-insertion-hook):
1178         Sort post-self-insert-hook according to priority values when
1179         minor-modes are activated.
1180         * simple.el (newline-and-indent): Call newline with interactive
1181         set to t.
1182         (blink-paren-post-self-insert-function): Set priority to 100.
1183         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1184         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1185         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
1186         electric-pair-open-newline-between-pairs to nil.
1188 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1190         * progmodes/python.el: Use lexical-binding.
1191         (python-nav-beginning-of-defun): Stop searching ASAP.
1193 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
1195         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1196         Fix interactive spec.  Doc fix.  (Bug#15754)
1198 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1200         * emacs-lisp/byte-run.el (eval-when-compile):
1201         * progmodes/cc-defs.el (cc-eval-when-compile):
1202         Fix edebug spec (bug#16184).
1204 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1206         * net/shr.el (shr-visit-file): Remove debugging function.
1207         (shr-insert): Don't infloop if we can't find a good place to break
1208         the line (bug#16256).
1210 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1212         * progmodes/python.el:
1213         (python-nav--lisp-forward-sexp): New function.
1214         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
1215         python-nav-lisp-forward-sexp-safe.
1216         (python-nav--forward-sexp): New argument SAFE allows switching
1217         forward sexp movement behavior for parens.
1218         (python-nav-forward-sexp): Throw errors on unterminated parens
1219         (Bug#16191).
1220         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1221         (python-nav-backward-sexp-safe): New functions.
1222         (python-shell-buffer-substring):
1223         Use `python-nav-forward-sexp-safe'.
1225 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1227         * net/shr.el (shr-find-fill-point): Don't break lines before a
1228         quotation mark.
1229         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1230         (shr-find-fill-point): Remove the special checks for the quotation
1231         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1233 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1235         * net/eww.el (eww-form-textarea): Use a different face for
1236         textareas than text input since they have different keymaps
1237         (bug#16142).
1239 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1241         * progmodes/python.el (python-nav-beginning-of-statement):
1242         Speed up (Bug#15295).
1244 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1246         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1247         the window configuration.
1249 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
1251         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1252         we run on MS-Windows or MS-DOS.
1254 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
1256         * window.el (balance-windows-area): Call window-size instead of
1257         window-height and window-width.  Bug#16241.
1259 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1261         * net/eww.el (eww-bookmark-quit): Remove.
1262         (eww-bookmark-browse): Restore the window configuration when you
1263         choose a bookmark (bug#16144).
1265 2013-12-24  Daniel Colascione  <dancol@dancol.org>
1267         * icomplete.el: Remove redundant :group arguments to `defcustom'
1268         throughout.
1269         (icomplete-show-matches-on-no-input): New customizable variable.
1270         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1271         we have something to show.
1272         (icomplete-exhibit): Compute completions even if we have no user input.
1274 2013-12-23  Daniel Colascione  <dancol@dancol.org>
1276         * icomplete.el: Move `provide' to end of file.
1278 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
1280         * net/gnutls.el (gnutls-verify-error): Add version tag.
1282 2013-12-23  Chong Yidong  <cyd@gnu.org>
1284         * subr.el (set-transient-map): Rename from
1285         set-temporary-overlay-map.  Doc fix.
1287         * face-remap.el (text-scale-adjust):
1288         * indent.el (indent-rigidly):
1289         * kmacro.el (kmacro-call-macro):
1290         * minibuffer.el (minibuffer-force-complete):
1291         * repeat.el (repeat):
1292         * simple.el (universal-argument--mode):
1293         * calendar/todo-mode.el (todo-insert-item--next-param):
1294         * progmodes/f90.el (f90-abbrev-start): Callers changed.
1296         * indent.el (indent-rigidly): Use substitute-command-keys.
1298 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1300         * net/eww.el (eww-tag-select): Add text-property to jump to next
1301         select field.
1302         (eww): Add non-supported ftp error.
1304 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1306         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1307         comments.  Handle electric indent after typing `?' and `!'.
1309 2013-12-22  Chong Yidong  <cyd@gnu.org>
1311         * faces.el (face-spec-recalc): If the theme specs are not
1312         applicable to a frame, fall back on the defface spec.
1313         This prevents themes from obliterating faces on low-color terminals.
1315 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1317         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1318         after `{'.  We need it after block openers, and it doesn't seem
1319         to hurt after hash openers.
1321 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1323         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1324         extracted from `ruby-smie-rules'.
1325         (ruby--electric-indent-chars): New variable.
1326         (ruby--electric-indent-p): New function.
1327         (ruby-mode): Use `electric-indent-functions' instead of
1328         `electric-indent-chars'.
1330 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1332         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1333         docstring.
1334         (ruby-smie-rules): Indent plus one level after `=>'.
1336 2013-12-21  Richard Stallman  <rms@gnu.org>
1338         * simple.el (newline): Doc fix.
1340 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1342         * net/eww.el (eww-list-histories, eww-list-histories)
1343         (eww-history-browse, eww-history-quit, eww-history-kill)
1344         (eww-history-mode-map, eww-history-mode): New command and
1345         functions to list browser histories.
1346         (eww-form-text): Support text form with disabled
1347         and readonly attributes.
1348         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1350 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1352         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1353         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1354         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1355         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1356         Use `user-error'.
1357         (eww-bookmark-mode-map): Add menu.
1358         (eww-render, eww-mode): Use `setq-local'.
1359         (eww-tool-bar-map): New variable.
1360         (eww-mode): Set `tool-bar-map'.
1361         (eww-view-source): Check for `html-mode' with `fboundp'.
1363 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1365         * net/shr.el (shr--extract-best-source): Don't bug out on audio
1366         elements with text inside.  Also remove debugging.
1368 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
1370         * cus-start.el (all): Add ns-use-srgb-colorspace.
1372 2013-12-21  Chong Yidong  <cyd@gnu.org>
1374         * custom.el (custom-theme-recalc-face): Do nothing if the face is
1375         undefined.  Thus, theme settings for undefined faces do not take
1376         effect until the faces are defined with defface, the same as with
1377         theme variables.
1379         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1380         (face-spec-reset-face): Don't assign extra properties in temacs.
1381         (face-spec-recalc): Apply X resources too.
1383 2013-12-21  Chong Yidong  <cyd@gnu.org>
1385         * faces.el (face-spec-set):
1386         * cus-face.el (custom-theme-set-faces, custom-set-faces):
1387         * custom.el (defface): Doc fixes (Bug#16203).
1389         * indent.el (indent-rigidly-map): Add docstring, and move commands
1390         into named functions.
1391         (indent-rigidly-left, indent-rigidly-right)
1392         (indent-rigidly-left-to-tab-stop)
1393         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
1394         indentation direction based on bidi direction, and accumulate
1395         sequential commands in a single undo boundary.
1396         (indent-rigidly--pop-undo): New utility function.
1398 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
1400         * faces.el (read-face-name): Require crm.el when using crm-separator.
1402 2013-12-20  Daniel Colascione  <dancol@dancol.org>
1404         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1405         so that we don't reflow comments into the shebang line.
1407 2013-12-20  Juri Linkov  <juri@jurta.org>
1409         * saveplace.el (save-place-to-alist): Add `dired-filename' as
1410         a position when `dired-directory' is non-nil.  Check integer
1411         positions with `integerp'.
1412         (toggle-save-place, save-places-to-alist): Add check for
1413         `dired-directory'.
1414         (save-place-find-file-hook): Check integer positions with
1415         `integerp'.
1416         (save-place-dired-hook): Use `dired-goto-file' when
1417         `dired-filename' is found in the assoc list.  Check integer
1418         positions with `integerp'.
1419         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1421         * dired.el (dired-initial-position-hook): Rename back from
1422         `dired-initial-point-hook'.
1423         (dired-initial-position): Rename `dired-initial-point-hook' to
1424         `dired-initial-position-hook'.
1425         (dired-file-name-at-point): Doc fix.  (Bug#15329)
1427 2013-12-20  Juri Linkov  <juri@jurta.org>
1429         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1430         (read-regexp-suggestions): New function.
1431         (read-regexp): Use `read-regexp-defaults-function' to get default values.
1432         Use `read-regexp-suggestions'.  Add non-empty default to history
1433         for empty input.
1434         (occur-read-regexp-defaults-function): Remove function.
1435         (occur-read-primary-args): Use `regexp-history-last' instead of
1436         `occur-read-regexp-defaults-function'.
1438         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1439         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1440         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1441         `hi-lock-read-regexp-defaults-function'.  Doc fix.
1442         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1443         with `find-tag-default-as-symbol-regexp'.  Doc fix.
1444         (hi-lock-read-regexp-defaults): Remove function.
1445         (hi-lock-regexp-okay): Add check for null.
1447         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1448         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
1450         * subr.el (find-tag-default-as-symbol-regexp): New function.
1451         (find-tag-default-as-regexp): Move symbol regexp formatting to
1452         `find-tag-default-as-symbol-regexp'.
1454 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
1456         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1457         (Bug#14179)
1459 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1461         * calendar/todo-mode.el: New implementation of item insertion
1462         commands and key bindings.
1463         (todo-key-prompt): New face.
1464         (todo-insert-item): New command.
1465         (todo-insert-item--parameters): New defconst, replacing defvar
1466         todo-insertion-commands-args-genlist.
1467         (todo-insert-item--param-key-alist): New defconst, replacing
1468         defvar todo-insertion-commands-arg-key-list.
1469         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1470         (todo-insert-item--argsleft, todo-insert-item--apply-args)
1471         (todo-insert-item--next-param): New functions.
1472         (todo-insert-item--args, todo-insert-item--argleft)
1473         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1474         New variables.
1475         (todo-key-bindings-t): Change binding of "i" from
1476         todo-insertion-map to todo-insert-item.
1477         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1478         (todo-insertion-command-name, todo-insertion-commands-names)
1479         (todo-define-insertion-command, todo-insertion-commands)
1480         (todo-insertion-key-bindings, todo-insertion-map): Remove.
1482 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1484         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1485         (todo-toggle-item-highlighting): Use eval-and-compile instead of
1486         eval-when-compile.
1487         (todo-move-category): Allow choosing a non-existing todo file to
1488         move the category to, and create that file.
1489         (todo-default-priority): New user option.
1490         (todo-set-item-priority): Use it.
1491         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1492         (desktop-restore-file-buffer): Declare.
1493         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1494         (todo-modes-set-2): Locally set desktop-save-buffer to
1495         todo-desktop-save-buffer.
1496         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1497         (auto-mode-alist): Add autoload cookie.
1499 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
1501         * emacs-lisp/subr-x.el: Renamed from helpers.el.
1502         helpers.el was a poor choice of name.
1503         (string-remove-prefix): New function.
1504         (string-remove-suffix): New function.
1506 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
1508         Fix assignment for new window total sizes.
1509         * window.el (window--pixel-to-size): Remove function.
1510         (window--pixel-to-total-1, window--pixel-to-total):
1511         Fix calculation of new total sizes.
1513 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
1515         * comint.el (comint-output-filter): Fix rear-nonsticky property
1516         placement (Bug#16010).
1518 2013-12-20  Chong Yidong  <cyd@gnu.org>
1520         * faces.el (read-color): Minor fix for completion function.
1522 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
1524         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1525         New option.  (Bug#16182)
1526         (ruby-smie--indent-to-stmt-p): Use it.
1527         (ruby-smie-rules): Revert the logic in the handling of `when'.
1528         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1529         (ruby-deep-arglist, ruby-deep-indent-paren)
1530         (ruby-deep-indent-paren-style): Update docstrings to note that the
1531         vars don't have any effect with SMIE.
1533 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
1535         * calc/calc.el (calc-enter, calc-pop): Use the variable
1536         `calc-context-sensitive-enter'.
1538 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1540         * net/shr.el (shr-insert): Protect against infloops in degenerate
1541         tables.
1543 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1545         * progmodes/octave.el (octave): Add link to manual and octave
1546         homepage.
1547         (octave-mode-menu): Link to octave-mode manual.
1549 2013-12-20  Leo Liu  <sdl.web@gmail.com>
1551         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1552         insertion using skeleton-end-newline.  (Bug#16138)
1554 2013-12-20  Juri Linkov  <juri@jurta.org>
1556         * replace.el (occur-engine): Use `add-face-text-property'
1557         to add the face property to matches and titles.  (Bug#14645)
1559         * hi-lock.el (hi-green): Use lighter color "light green" closer to
1560         the palette of other hi-lock colors.
1561         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1563 2013-12-19  Juri Linkov  <juri@jurta.org>
1565         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1566         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
1567         (minibuffer-history-symbol): Move variable declaration closer to
1568         its usage.
1570         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1571         (Bug#14785)
1573 2013-12-19  Juri Linkov  <juri@jurta.org>
1575         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1576         New function.
1577         (log-edit-hook): Add it to :options.  (Bug#16170)
1579 2013-12-19  Juri Linkov  <juri@jurta.org>
1581         * simple.el (eval-expression-print-format): Don't check for
1582         command names and the last command.  Always display additional
1583         formats of the integer result in the echo area, and insert them
1584         to the current buffer only with a zero prefix arg.
1585         Display character when char-displayable-p is non-nil.
1586         (eval-expression): With a zero prefix arg, set `print-length' and
1587         `print-level' to nil, and insert the integer values from
1588         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
1590         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1591         `eval-last-sexp-arg-internal'.  Doc fix.
1592         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1593         `eval-last-sexp-print-value'.  Doc fix.
1594         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1595         Set `print-length' and `print-level' to nil when arg is zero.
1596         (eval-last-sexp): Doc fix.
1597         (eval-defun-2): Print the integer values from
1598         `eval-expression-print-format' at the end.
1600         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1601         values from `eval-expression-print-format' at the end.
1603         * ielm.el (ielm-eval-input): Print the integer
1604         values from `eval-expression-print-format' at the end.
1606 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
1608         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1609         2013-12-11T19:01:44Z!tzz@lifelogs.com.
1611 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
1614         (hl-line-highlight, global-hl-line-highlight): Use it.
1615         (hl-line-overlay): Use defvar-local.
1617 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
1619         * term/ns-win.el: Require dnd.
1620         (global-map): Remove drag items.
1621         (ns-insert-text, ns-set-foreground-at-mouse)
1622         (ns-set-background-at-mouse):
1623         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1624         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1625         New functions.
1627 2013-12-19  Glenn Morris  <rgm@gnu.org>
1629         * emacs-lisp/ert.el (ert-select-tests):
1630         Fix string/symbol mixup.  (Bug#16121)
1632 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1634         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1635         keywords to their parent.
1637 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1639         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1640         first arg to be a string (fixed dead code), or an operator symbol.
1641         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1642         operator symbols.
1643         (ruby-smie-rules): Remove parent token check in the `.' clause, it
1644         did nothing.  Don't respond to `(:after ".")', it will be called
1645         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
1646         change anything.  Only return indentation for binary operators
1647         when they are hanging.  De-dent opening paren when its parent is
1648         `.', otherwise it looks bad when the dot is not at bol or eol
1649         (bug#16182).
1651 2013-12-19  Juri Linkov  <juri@jurta.org>
1653         * replace.el (query-replace-read-args): Split a non-negative arg
1654         and a negative arg into separate elements.
1655         (query-replace, query-replace-regexp, replace-string)
1656         (replace-regexp): Add arg `backward'.  Doc fix.
1657         (replace-match-maybe-edit): When new arg `backward' is non-nil,
1658         move point to the beginning of the match.
1659         (replace-search, replace-highlight): Use new arg `backward'
1660         to set the value of `isearch-forward'.
1661         (perform-replace): Add arg `backward' and use it to perform
1662         replacement backward.  (Bug#14979)
1664         * isearch.el (isearch-query-replace): Use a negative prefix arg
1665         to call `perform-replace' with a non-nil arg `backward'.
1667 2013-12-18  Juri Linkov  <juri@jurta.org>
1669         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1670         to the default list.  Move `log-edit-show-files' to the end.
1671         Add more available functions to options.
1672         (log-edit): Move default specific settings to
1673         `log-edit-insert-message-template'.  Don't move point.
1674         (log-edit-insert-message-template): New function.
1675         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1676         (Bug#16170)
1678 2013-12-18  Juri Linkov  <juri@jurta.org>
1680         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1681         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
1683 2013-12-18  Leo Liu  <sdl.web@gmail.com>
1685         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1686         (Bug#16186)
1688 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
1690         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1691         formats for displaying file sizes when the -s switch is given.
1692         Instead, compute a separate format for displaying the size in
1693         blocks, which is displayed in addition to the "regular" size.
1694         When -h is given in addition to -s, produce size in blocks in
1695         human-readable form as well.  (Bug#16179)
1697 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
1699         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1700         Reference tables with ~\ref{...} instead of only \ref{...}.
1702 2013-12-18  Chong Yidong  <cyd@gnu.org>
1704         * cus-edit.el (custom-magic-alist): Fix "themed" description
1705         (Bug#14348).
1707         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1708         is non-nil, do not create a new entry in the symbol's theme-value
1709         or theme-face property; update theme-settings only (Bug#14664).
1710         (custom-available-themes): Doc fix.
1712         * cus-theme.el (custom-new-theme-mode-map): Add bindings
1713         (Bug#15674).
1715         * replace.el (occur-engine): Avoid infloop (Bug#7593).
1717 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1719         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1720         (Bug#13914).
1722 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1724         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1726 2013-12-18  Glenn Morris  <rgm@gnu.org>
1728         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1729         * cus-start.el (load-prefer-newer): New option.
1731 2013-12-18  Le Wang  <l26wang@gmail.com>
1733         * comint.el (comint-previous-matching-input-from-input):
1734         Retain point (Bug#13404).
1736 2013-12-18  Chong Yidong  <cyd@gnu.org>
1738         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1740 2013-12-18  Glenn Morris  <rgm@gnu.org>
1742         * mail/emacsbug.el (report-emacs-bug):
1743         Only mention enable-multibyte-characters if non-standard.
1745 2013-12-17  Juri Linkov  <juri@jurta.org>
1747         * arc-mode.el (archive-extract-by-file): Check if directory exists
1748         before deletion to not show irrelevant errors if it doesn't exist.
1750 2013-12-17  Juri Linkov  <juri@jurta.org>
1752         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1753         (Bug#14751)
1755         * net/eww.el (browse-web): Add alias to `eww'.
1756         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1757         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1759         * net/browse-url.el (browse-url-browser-function): Move `eww'
1760         closer to similar functions.
1762         * startup.el (fancy-startup-screen, fancy-about-screen):
1763         Set browse-url-browser-function to eww-browse-url locally.
1764         (Bug#14751)
1766 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         * window.el (window--pixel-to-total): Remove unused `mini' var.
1769         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1770         (split-window): Remove unused `new' var.
1771         (window--display-buffer): Remove unused `frame' and `delta' vars.
1772         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1773         and display-width'.
1775 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1777         * dired.el (dired-mark-pop-up):
1778         * register.el (register-preview): Don't bind
1779         split-height-threshold here since it's now done in
1780         display-buffer-below-selected.
1782 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1784         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1785         xterm-rgb-convert-to-16bit.
1786         (rxvt-register-default-colors): Standardize with
1787         xterm-register-default-colors (Bug#14078).
1789 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1791         * simple.el (kill-region): Pass mark first, then point, so that
1792         kill-append works right (Bug#12819).
1793         (copy-region-as-kill, kill-ring-save): Likewise.
1795 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1797         * net/rcirc.el (rcirc-add-face):
1798         * eshell/em-prompt.el (eshell-emit-prompt):
1799         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1800         (Bug#16167)
1802 2013-12-17  Chong Yidong  <cyd@gnu.org>
1804         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1805         Suggested by Xue Fuqiao.
1807 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1809         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1811 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1813         * net/shr.el (shr-insert-document): Remove unused var
1814         `shr-preliminary-table-render'.
1815         (shr-rescale-image): Remove unused arg `force'.
1816         (shr-put-image): Update calls accordingly.
1817         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1819 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1821         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1822         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1823         :close-all, to see which indentation method to use (Bug#16116).
1824         (smie-rules-function): Document the method :close-all.
1826 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1828         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1830         * net/eww.el (eww-display-html): If we can't find the anchor we're
1831         looking for, then go to point-min.
1833 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1835         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1836         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1837         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1838         Expand dir too, in case it's relative.
1840 2013-12-16  Juri Linkov  <juri@jurta.org>
1842         * desktop.el (desktop-auto-save-timeout): Change default to
1843         `auto-save-timeout'.  Doc fix.
1844         (desktop-save): Skip the timestamp in desktop-saved-frameset
1845         when checking for auto-save changes.
1846         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1847         `desktop-auto-save' is called repeatedly by the idle timer.
1848         (desktop-auto-save-set-timer): Replace `run-with-timer' with
1849         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
1850         (Bug#15331)
1852 2013-12-16  Juri Linkov  <juri@jurta.org>
1854         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1855         (Bug#16035)
1856         (isearch-pre-command-hook): Check `this-command' for symbolp.
1858 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1860         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1862 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
1864         * progmodes/cfengine.el (cfengine3--current-word): Remove.
1865         (cfengine3--current-function): Bring in the current-function
1866         functionality from `cfengine3--current-word'.
1867         (cfengine3-completion-function): Bring in the
1868         bounds-of-current-word functionality from
1869         `cfengine3--current-word'.
1871 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
1873         * window.el (display-buffer-below-selected):
1874         Bind split-height-threshold to 0 as suggested by Juri Linkov.
1876 2013-12-16  Leo Liu  <sdl.web@gmail.com>
1878         * progmodes/compile.el (compile-goto-error): Do not push-mark.
1879         Remove NOMSG arg and all uses changed.
1881 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1883         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1884         (cua--deactivate-rectangle): Don't deactivate the mark.
1885         (cua-set-rectangle-mark): Don't set mark-active since
1886         cua--activate-rectangle already does it for us.
1887         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1888         non-rectangular region.
1890         * emulation/cua-base.el (cua-repeat-replace-region):
1891         Use with-current-buffer.
1893         * net/gnutls.el: Use cl-lib.
1894         (gnutls-negotiate): `mapcan' -> cl-mapcan.
1896 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1898         * emacs-lisp/package.el (package-built-in-p): Support both
1899         built-in and the package.el converted package descriptions.
1900         (package-show-package-list): Allow keywords.
1901         (package-keyword-button-action): Use it instead of
1902         `finder-list-matches'.
1903         (package-menu-filter-interactive): Interactive filtering (by
1904         keyword) function.
1905         (package-menu--generate): Support keywords and change keymappings
1906         and headers when they are given.
1907         (package--has-keyword-p): Helper function.
1908         (package-menu--refresh): Use it.
1909         (package--mapc): Helper function.
1910         (package-all-keywords): Use it.
1911         (package-menu-mode-map): Set up menu items and keybindings to
1912         provide a filtering UI.
1914 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1916         * net/gnutls.el (gnutls-verify-error): New defcustom to control
1917         the behavior when a certificate fails validation.  Defaults to
1918         old behavior: never abort, just warn.
1919         (gnutls-negotiate): Use it.
1921 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
1923         * window.el (display-buffer-below-selected): Never split window
1924         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
1926 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1928         * emacs-lisp/package.el (package--prepare-dependencies): New function.
1929         (package-buffer-info): Use it (bug#15108).
1931 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * icomplete.el (icomplete-completions): Make sure the prefix is already
1934         displayed elsewhere before hiding it (bug#16219).
1936 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1938         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1939         open-paren tokens when preceded by a open-paren, too.
1940         (ruby-smie-rules): Handle virtual indentation after open-paren
1941         tokens specially.  If there is code between it and eol, return the
1942         column where is starts (Bug#16118).
1944 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1946         * progmodes/cfengine.el: Fix `add-hook' doc.
1947         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1948         (cfengine3--current-word): Fix parameters.
1949         (cfengine3-make-syntax-cache): Simplify further.
1950         (cfengine3-completion-function, cfengine3--current-function):
1951         Use `assq' for symbols.
1952         (cfengine3--current-function): Fix `cfengine3--current-word' call.
1954 2013-12-13  Glenn Morris  <rgm@gnu.org>
1956         * loadup.el (load-path): Warn if site-load or site-init changes it.
1957         No more need to reset it when bootstrapping.
1959 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1961         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1962         locations for cf-promises.
1963         (cfengine-mode-syntax-functions-regex): New caching variable.
1964         (cfengine3-fallback-syntax): Fallback syntax for cases where
1965         cf-promises doesn't run.
1966         (cfengine3--current-word): Reimplement using
1967         `cfengine-mode-syntax-functions-regex'.
1968         (cfengine3-completion-function, cfengine3--current-function):
1969         Use `cfengine3-make-syntax-cache' directly.
1970         (cfengine3-clear-syntax-cache): New function.
1971         (cfengine3-make-syntax-cache): Simplify and create
1972         `cfengine-mode-syntax-functions-regex' on demand.
1973         (cfengine3-format-function-docstring): Don't call
1974         `cfengine3-make-syntax-cache' explicitly.
1976 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
1978         Fix windmove-find-other-window broken after pixelwise resizing
1979         (Bug#16017).
1980         * windmove.el (windmove-other-window-loc): Revert change from
1981         2013-12-04.
1982         (windmove-find-other-window): Call window-in-direction.
1983         * window.el (window-in-direction): New arguments SIGN, WRAP and
1984         MINI to emulate original windmove-find-other-window behavior.
1986 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
1988         * simple.el (blink-matching--overlay): New variable.
1989         (blink-matching-open): Instead of moving point, highlight the
1990         matching paren with an overlay
1991         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1993         * faces.el (paren-showing-faces, show-paren-match)
1994         (show-paren-mismatch): Move from paren.el.
1996 2013-12-13  Leo Liu  <sdl.web@gmail.com>
1998         * indent.el (indent-region): Disable progress reporter in
1999         minibuffer.  (Bug#16108)
2001         * bindings.el (visual-order-cursor-movement): Fix version.
2003 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2005         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2006         Also match after beginning of line.
2007         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2008         files.  Thanks to Russell Sim.  (Bug#15378)
2010 2013-12-13  Juri Linkov  <juri@jurta.org>
2012         * simple.el <Keypad support>: Remove key bindings duplicated
2013         with bindings.el.  (Bug#14397)
2015 2013-12-13  Juri Linkov  <juri@jurta.org>
2017         * comint.el (comint-mode-map): Replace `delete-char' with
2018         `delete-forward-char'.  (Bug#16109)
2020 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2022         * progmodes/python.el (python-indent-calculate-indentation):
2023         Fix de-denters cornercase.  (Bug#15731)
2025 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2027         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2028         (advice--make): Pay attention to `depth'.
2029         (advice--make-1): Don't autoload commands eagerly.
2030         * emacs-lisp/elp.el (elp-instrument-function):
2031         * emacs-lisp/trace.el (trace-function-internal):
2032         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2034         * iswitchb.el (iswitchb-mode): Don't belittle ido.
2036 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
2038         * term/w32-win.el (w32-handle-dropped-file):
2039         * startup.el (normal-top-level):
2040         * net/browse-url.el (browse-url-file-url):
2041         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2042         decode file names using 'utf-8' rather than
2043         file-name-coding-system.
2045 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2047         * progmodes/python.el (python-indent-context)
2048         (python-indent-calculate-indentation): Fix auto-identation
2049         behavior for comment blocks.  (Bug#15916)
2051 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2053         * progmodes/python.el (python-indent-calculate-indentation):
2054         When determining indentation, don't treat "return", "pass", etc., as
2055         operators when they are just string constituents.  (Bug#15812)
2057 2013-12-12  Juri Linkov  <juri@jurta.org>
2059         * uniquify.el (uniquify-buffer-name-style): Change default to
2060         `post-forward-angle-brackets'.
2062         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2063         `uniquify'.  Change default to `post-forward-angle-brackets'.
2065 2013-12-11  Glenn Morris  <rgm@gnu.org>
2067         * emacs-lisp/package.el (finder-list-matches):
2068         Autoload rather than falsely declaring.
2070 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
2072         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2073         (eww-mode-map): Use them.
2075 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
2077         * window.el (display-buffer-in-side-window): Fix doc-string
2078         (Bug#16115).
2080 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
2082         * vc/vc-git.el: Silence byte-compiler warnings.
2083         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2084         (log-edit-set-header): Declare.
2086 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
2088         * Makefile.in (custom-deps, finder-data): Run output file names
2089         through unmsys--file-name.  (Bug#16099)
2091 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2093         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2094         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2096         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2097         instead of deleting the selection "by hand" (bug#16098).
2098         Rely on insert-for-yank to yank rectangles.
2099         (cua-highlight-region-shift-only): Mark obsolete.
2100         (cua-mode): Don't enable/disable transient-mark-mode,
2101         shift-select-mode (cua-mode works both with and without them), and
2102         pc-selection-mode (obsolete).
2103         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2104         (cua--deactivate-rectangle): Deactivate it.
2106         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2107         (delete-selection-helper): Make sure yank starts at the top of the
2108         deleted region.
2109         (minibuffer-keyboard-quit): Use region-active-p.
2111         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2113         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2114         to `delete' (bug#16109).
2116 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2118         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2119         info manual and show keybindings and set `:group' keyword.
2121 2013-12-11  Juri Linkov  <juri@jurta.org>
2123         * delsel.el (delete-active-region): Let-bind `this-command'
2124         to prevent `kill-region' from changing its original value.
2125         (delete-selection-helper): Handle `overwrite-mode' for the type
2126         `kill' exactly the same way as for the type `t'.
2127         (insert-char, quoted-insert, reindent-then-newline-and-indent):
2128         Support more commands.  (Bug#13312)
2130 2013-12-11  Juri Linkov  <juri@jurta.org>
2132         * bindings.el: Map kp keys to non-kp keys systematically
2133         with basic modifiers control, meta and shift.  (Bug#14397)
2135 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2137         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2138         "Close browser" menu items.  Fix wrong function of "List
2139         bookmarks".
2141 2013-12-11  Juri Linkov  <juri@jurta.org>
2143         * misearch.el (multi-isearch-buffers): Set the value of
2144         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2145         arg of isearch-forward to t.
2146         (multi-isearch-buffers-regexp): Set the value of
2147         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2148         arg of isearch-forward-regexp to t.
2149         (multi-isearch-files): Set the value of
2150         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2151         arg of isearch-forward to t.
2152         (multi-isearch-files-regexp): Set the value of
2153         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
2154         arg of isearch-forward-regexp to t.  (Bug#16035)
2156         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2157         arg of isearch-forward to t.
2158         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2159         arg of isearch-forward-regexp to t.
2160         (dired-isearch-filter-filenames): Remove unnecessary check for
2161         `dired-isearch-filenames'.
2163         * comint.el (comint-history-isearch-backward):
2164         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2165         (comint-history-isearch-backward-regexp):
2166         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2168 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
2170         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2171         unmsys--file-name.  (Bug#16099)
2173 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
2175         * emacs-lisp/package.el (package-keyword-button-action):
2176         Remove finder.el require dependency.
2178 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
2180         * emacs-lisp/package.el: Require finder.el.
2181         (describe-package-1): Add keyword buttons.
2182         (package-make-button): New convenience function.
2183         (package-keyword-button-action): Keyword button action using
2184         `finder-list-matches'.
2186 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
2188         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2189         last commit.
2191 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
2193         * autorevert.el (auto-revert-notify-add-watch): Do not handle
2194         symlinked files.
2196 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2198         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2199         after the end of a percent literal.
2201 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2203         * progmodes/ruby-mode.el (ruby-forward-string): Document.
2204         Handle caret-delimited strings (Bug#16079).
2206 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2208         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2209         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2210         `ruby-parse-partial' (Bug#16078).
2212 2013-12-09  Leo Liu  <sdl.web@gmail.com>
2214         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
2216 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
2218         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2219         (js-switch-indent-offset): New option.
2220         (js--proper-indentation): Use it.  And handle the case when
2221         "default" is actually a key in an object literal.
2222         (js--same-line): New function.
2223         (js--multi-line-declaration-indentation): Use it.
2224         (js--indent-in-array-comp, js--array-comp-indentation):
2225         New functions.
2226         (js--proper-indentation): Use them, to handle array comprehension
2227         continuations.
2229 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2231         * progmodes/flymake.el (flymake-highlight-line): Re-write.
2232         (flymake-make-overlay): Remove arg MOUSE-FACE.
2233         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2235 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2237         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2238         New function.
2239         (redisplay-highlight-region-function): Use it.
2241         * emulation/cua-base.el (cua--explicit-region-start)
2242         (cua--last-region-shifted): Remove.
2243         (cua--deactivate): Use deactivate-mark.
2244         (cua--pre-command-handler-1): Don't handle shift-selection.
2245         (cua--post-command-handler-1): Don't change transient-mark-mode.
2246         (cua--select-keymaps): Use region-active-p rather than
2247         cua--explicit-region-start or cua--last-region-shifted.
2248         (cua-mode): Enable shift-select-mode.
2250 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2252         * progmodes/flymake.el (flymake-popup-current-error-menu):
2253         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
2254         (flymake-posn-at-point-as-event, flymake-popup-menu)
2255         (flymake-make-emacs-menu): Remove.  (Bug#16077)
2257 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2259         * rect.el (rectangle-mark-mode): Activate mark even if
2260         transient-mark-mode is off (bug#16066).
2261         (rectangle--highlight-for-redisplay): Fix boundary condition when point
2262         is > mark and at bolp.
2264         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2265         (region-extract-function): Use it.
2266         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2267         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2268         Delete functions.
2269         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2270         kill-ring-save, kill-region, delete-char, delete-forward-char.
2271         Ignore self-insert-iso.
2273         * emulation/cua-gmrk.el (cua--init-global-mark):
2274         Ignore `self-insert-iso'.
2276         * emulation/cua-base.el (cua--prefix-copy-handler)
2277         (cua--prefix-cut-handler): Rely on region-extract-function rather than
2278         checking cua--rectangle.
2279         (cua-delete-region): Use region-extract-function.
2280         (cua-replace-region): Delete function.
2281         (cua-copy-region, cua-cut-region): Obey region-extract-function.
2282         (cua--pre-command-handler-1): Don't do the delete-selection thing.
2283         (cua--self-insert-char-p): Ignore `self-insert-iso'.
2284         (cua--init-keymaps): Don't remap delete-selection commands.
2285         (cua-mode): Use delete-selection-mode instead of rolling our own
2286         (bug#16085).
2288         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2289         Obey region-extract-function.
2291         Make registers and delete-selection-mode work on rectangles.
2292         * register.el (describe-register-1): Don't modify the register's value.
2293         (copy-to-register): Obey region-extract-function.
2294         * delsel.el (delete-active-region): Obey region-extract-function.
2296 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2298         * progmodes/flymake.el (flymake, flymake-error-bitmap)
2299         (flymake-warning-bitmap, flymake-fringe-indicator-position)
2300         (flymake-compilation-prevents-syntax-check)
2301         (flymake-start-syntax-check-on-newline)
2302         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2303         (flymake-start-syntax-check-on-find-file, flymake-log-level)
2304         (flymake-xml-program, flymake-master-file-dirs)
2305         (flymake-master-file-count-limit)
2306         (flymake-allowed-file-name-masks): Relocate.
2307         (flymake-makehash, flymake-float-time)
2308         (flymake-replace-regexp-in-string, flymake-split-string)
2309         (flymake-get-temp-dir): Remove.
2310         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2311         (flymake-current-row, flymake-selected-frame)
2312         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2313         related functions.  (Bug#16077)
2315 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
2317         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2319 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
2321         * help-fns.el (describe-function-1): Use new advice-* functions
2322         rather than old ad-* functions.  Fix function type description and
2323         source links for advised functions and subrs.
2325 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2327         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2329 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
2331         * progmodes/compile.el (compilation-start):
2332         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2334         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2335         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
2337 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2339         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2340         Touch up the last change.
2342 2013-12-06  Leo Liu  <sdl.web@gmail.com>
2344         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2345         (inferior-octave-startup): Always use "octave> " for prompt.
2346         (octave-goto-function-definition)
2347         (octave-sync-function-file-names)
2348         (octave-find-definition-default-filename): Remove redundant backquotes.
2350 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2352         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2353         syntax for `?'.
2354         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2355         where appropriate already.
2356         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2357         end of method names (Bug#15874).
2359 2013-12-06  Juri Linkov  <juri@jurta.org>
2361         * isearch.el (isearch--saved-overriding-local-map):
2362         New internal variable.
2363         (isearch-mode): Set it to the initial value of
2364         `overriding-terminal-local-map'.
2365         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2366         with `isearch--saved-overriding-local-map'.  (Bug#16035)
2368 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2370         * progmodes/octave.el (inferior-octave-completion-table):
2371         Turn back into function, use `completion-table-with-cache'
2372         (Bug#11906).  Update all references.
2374         * minibuffer.el (completion-table-with-cache): New function.
2376 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2378         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2380 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
2382         * net/eww.el (eww-current-source): New variable to store page
2383         source.
2384         (eww-display-html, eww-mode, eww-save-history)
2385         (eww-restore-history): Use it.
2386         (eww-view-source): New command to view page source.
2387         Opportunistically uses `html-mode' to highlight the buffer.
2388         (eww-mode-map): Install it.
2390 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
2392         * net/dbus.el (dbus-unregister-service)
2393         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2394         Fix docstring.
2395         (dbus-unregister-service): Skip :serial entries in
2396         `dbus-registered-objects-table'.
2397         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2399 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
2401         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2402         around keywords with extra `split-string' argument.
2404 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
2406         * windmove.el (windmove-other-window-loc): Handle navigation
2407         between windows (excluding the minibuffer window - Bug#16017).
2409 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
2411         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2412         in D-Bus type syntax.
2413         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2414         preserve unibyte strings.  (Bug#16048)
2416 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2418         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2419         Call force-mode-line-update is the proper buffer (bug#16042).
2421 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
2423         * vc/log-edit.el (log-edit-add-new-comment): Rename to
2424         `log-edit-remember-comment', make argument optional.  Adjust all
2425         callers.
2426         (log-edit-mode): Add `log-edit-remember-comment' to
2427         `kill-buffer-hook' locally.
2428         (log-edit-kill-buffer): Don't remember comment explicitly since
2429         the buffer is killed anyway.
2431 2013-12-04  Juri Linkov  <juri@jurta.org>
2433         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2434         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
2436 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
2438         * notifications.el (notifications-close-notification): Call the
2439         D-Bus method with ID being a `:uint32'.  (Bug#16030)
2441 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2443         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2445 2013-12-03  Juri Linkov  <juri@jurta.org>
2447         * progmodes/compile.el (compilation-start): Rename window alist
2448         entry `no-display-ok' to `allow-no-window'.
2450         * simple.el (shell-command): Add window alist entry
2451         `allow-no-window' to `display-buffer'.
2452         (async-shell-command): Doc fix.
2454         * window.el (display-buffer-no-window): New action function.
2455         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
2457 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2459         * vc/log-edit.el (log-edit-set-header): Extract from
2460         `log-edit-toggle-header'.
2461         (log-edit-extract-headers): Separate the summary, when extracted
2462         from header, from the rest of the message with an empty line.
2464         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2465         line, if present, to the Summary header.
2467 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2469         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2470         in current-buffer (bug#16029).
2472 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
2474         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2475         (debugger-mode-map): Bind it.
2476         (debugger--backtrace-base): New function.
2477         (debugger-eval-expression): Use it.
2478         (debugger-frame-number): Skip local vars when present.
2479         (debugger--locals-visible-p, debugger--insert-locals)
2480         (debugger--show-locals, debugger--hide-locals): New functions.
2482 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
2484         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2485         "LC_ALL".
2486         (tramp-get-remote-locale): New defun.
2487         (tramp-open-connection-setup-interactive-shell): Use it.
2489 2013-12-02  Leo Liu  <sdl.web@gmail.com>
2491         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
2493         * progmodes/sh-script.el (sh-shell-process):
2494         * progmodes/octave.el (inferior-octave-process-live-p):
2495         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2496         (gdb-inferior-io-sentinel):
2497         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2499 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2501         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2502         `save-selected-window' to `log-edit-hide-buf'.  This makes
2503         `log-edit-show-files' idempotent.
2504         (log-edit-show-files): Mark the new window as dedicated.
2506 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2508         * vc/log-edit.el (log-edit-mode-map): Add binding for
2509         `log-edit-kill-biffer'.
2510         (log-edit-hide-buf): Add a FIXME comment.
2511         (log-edit-add-new-comment): New function, extracted from
2512         `log-edit-done'.
2513         (log-edit-done, log-edit-add-to-changelog): Use it.
2514         (log-edit-kill-buffer): New command.
2516 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2518         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2519         instead of killing the buffer.
2521 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2523         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2525 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2527         * net/eww.el (eww-form-checkbox-selected-symbol)
2528         (eww-form-checkbox-symbol): New customizable variable.
2529         (eww-form-checkbox, eww-toggle-checkbox):
2530         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2532         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2533         (shr--get-media-pref, shr--extract-best-source): New function.
2534         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2535         no :src tag was specified.
2537         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2538         (eww-render): Handle `eww-use-external-browser-for-content-type'.
2539         Use \\` to match beginning of string instead of ^.
2540         (eww-browse-with-external-browser): Provide optional URL parameter.
2541         (eww-render): Set `eww-current-title' back to "".
2543         * net/shr.el (shr-tag-video): Display content for video if no
2544         poster is available.
2545         (shr-tag-audio): Add support for <audio> tag.
2547         * net/eww.el (eww-text-input-types): New const.
2548         (eww-process-text-input): Treat input types in
2549         `eww-text-input-types' as text.
2551         * net/shr.el (shr-tag-table): Fix comment typo.
2553 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2555         * net/eww.el (eww-follow-link): New command to avoid reloading
2556         pages when we follow #target links (bug#15243).
2557         (eww-quit): Special mode buffers shouldn't query before exiting.
2559 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2561         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2562         forms.
2564 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2566         * net/eww.el (eww-restore-history): Update the window title after
2567         moving in the history.
2568         (eww-current-dom): New variable used to save the current DOM.
2570 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
2572         * vc/log-edit.el (log-edit-mode-map): Add binding for
2573         `log-edit-beginning-of-line'.
2574         (log-edit-setup-add-author): New user option.
2575         (log-edit-beginning-of-line): New command.
2576         (log-edit): Move major mode call above the contents setup so that
2577         the local variable values are already applied.
2578         (log-edit): Only insert "Author: " when
2579         `log-edit-setup-add-author' is non-nil.
2580         (log-edit): When SETUP is non-nil, position point after ": "
2581         instead of point-min.
2583 2013-12-01  Glenn Morris  <rgm@gnu.org>
2585         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2587 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
2589         * startup.el (fancy-splash-frame): On MS-Windows, trigger
2590         redisplay to make sure the initial frame gets a chance to become
2591         visible.  (Bug#16014)
2593 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
2595         Support resizing frames and windows pixelwise.
2596         * cus-start.el (frame-resize-pixelwise)
2597         (window-resize-pixelwise): New entries.
2598         * emacs-lisp/debug.el (debug): Use window-total-height instead
2599         of window-total-size.
2600         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2601         * help.el (describe-bindings-internal): Call help-buffer
2602         (temp-buffer-max-width): New option.
2603         (resize-temp-buffer-window, help-window-setup)
2604         (with-help-window): Rewrite.
2605         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
2606         dragging dividers.
2607         * window.el (frame-char-size, window-min-pixel-height)
2608         (window-safe-min-pixel-height, window-safe-min-pixel-width)
2609         (window-min-pixel-width, window-safe-min-pixel-size)
2610         (window-combination-p, window-safe-min-size)
2611         (window-resizable-p, window--size-to-pixel)
2612         (window--pixel-to-size, window--resize-apply-p): New functions.
2613         (window-safe-min-height): Fix doc-string.
2614         (window-size, window-min-size, window--min-size-1)
2615         (window-sizable, window-sizable-p, window--min-delta-1)
2616         (window-min-delta, window--max-delta-1, window-max-delta)
2617         (window--resizable, window--resizable-p, window-resizable)
2618         (window-full-height-p, window-full-width-p, window-at-side-p)
2619         (window--in-direction-2, window-in-direction)
2620         (window--resize-reset-1, window--resize-mini-window)
2621         (window-resize, window-resize-no-error)
2622         (window--resize-child-windows-normal)
2623         (window--resize-child-windows, window--resize-siblings)
2624         (window--resize-this-window, window--resize-root-window)
2625         (window--resize-root-window-vertically)
2626         (adjust-window-trailing-edge, enlarge-window, shrink-window)
2627         (maximize-window, minimize-window, delete-window)
2628         (quit-restore-window, window-split-min-size, split-window)
2629         (balance-windows-2, balance-windows)
2630         (balance-windows-area-adjust, balance-windows-area)
2631         (window--state-get-1, window-state-get, window--state-put-1)
2632         (window--state-put-2, window-state-put)
2633         (display-buffer-record-window, window--display-buffer):
2634         Make functions handle pixelwise sizing of windows.
2635         (display-buffer--action-function-custom-type)
2636         (display-buffer-fallback-action):
2637         Add display-buffer-in-previous-window.
2638         (display-buffer-use-some-window): Resize window to height it had
2639         before.
2640         (fit-window-to-buffer-horizontally): New option.
2641         (fit-frame-to-buffer): Describe new values.
2642         (fit-frame-to-buffer-bottom-margin): Replace with
2643         fit-frame-to-buffer-margins.
2644         (window--sanitize-margin): New function.
2645         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2646         using window-text-pixel-size.
2648 2013-11-30  Glenn Morris  <rgm@gnu.org>
2650         * emacs-lisp/bytecomp.el (byte-compile-form):
2651         Make the `interactive-only' warning like the `obsolete' one.
2652         * comint.el (comint-run):
2653         * files.el (insert-file-literally, insert-file):
2654         * replace.el (replace-string, replace-regexp):
2655         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2656         (goto-line, insert-buffer, next-line, previous-line):
2657         Tweak `interactive-only' spec.
2659         Stop keeping (most) generated cedet grammar files in the repository.
2660         * Makefile.in (semantic): New.
2661         (compile-main): Depend on semantic.
2663 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2665         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2666         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2668         * uniquify.el (uniquify-buffer-name-style): Change default.
2670         * loadup.el: Preload "uniquify".
2672         * time.el (display-time-update): Update all mode lines (bug#15999).
2674         * electric.el (electric-indent-mode): Enable by default.
2675         * loadup.el: Preload "electric".
2677 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
2679         * emacs-lisp/helpers.el (string-empty-p): New function.
2680         (string-blank-p): New function.
2682 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
2684         * imenu.el (imenu--index-alist): Add missing dot to the docstring
2685         (Bug#14029).
2687 2013-11-29  Andreas Politz  <politza@fh-trier.de>
2688         * imenu.el (imenu--subalist-p): Don't error on non-conses and
2689         allow non-lambda lists as functions.
2690         (imenu--in-alist): Don't recurse into non-subalists.
2691         (imenu): Don't pass function itself as an argument (Bug#14029).
2693 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2695         * progmodes/python.el (python-mode-map): Remove binding for ":".
2696         (python-indent-electric-colon): Remove command.
2697         (python-indent-post-self-insert-function): Integrate the previous code
2698         of python-indent-electric-colon.  Make it conditional on
2699         electric-indent-mode.
2700         (python-mode): Add ?: to electric-indent-chars.
2701         Move python-indent-post-self-insert-function to the end of
2702         post-self-insert-hook.
2704 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2706         * doc-view.el (doc-view-goto-page): Update mode-line.
2708         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2710 2013-11-27  Glenn Morris  <rgm@gnu.org>
2712         * international/charprop.el, international/uni-bidi.el:
2713         * international/uni-category.el, international/uni-combining.el:
2714         * international/uni-comment.el, international/uni-decimal.el:
2715         * international/uni-decomposition.el, international/uni-digit.el:
2716         * international/uni-lowercase.el, international/uni-mirrored.el:
2717         * international/uni-name.el, international/uni-numeric.el:
2718         * international/uni-old-name.el, international/uni-titlecase.el:
2719         * international/uni-uppercase.el:
2720         Remove generated files from VCS repository.
2722 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
2724         * filenotify.el (file-notify-add-watch): Don't special-case
2725         w32notify when computing the directory to watch.
2727 2013-11-27  Glenn Morris  <rgm@gnu.org>
2729         Make bootstrap without generated uni-*.el files possible again.
2730         * loadup.el: Update command-line-args checking for unidata-gen.
2731         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2732         * composite.el, international/characters.el:
2733         Handle unicode tables being undefined.
2735         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2736         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2737         (compile-main): Depend on leim rule.
2738         (leim): New rule.
2739         * loadup.el: Move leim-list.el to leim/ subdirectory.
2740         * startup.el (normal-top-level): No more leim directory.
2741         * international/ja-dic-cnv.el (skkdic-convert):
2742         Disable version-control and autoloads in output files.
2743         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2744         Disable version-control and autoloads in output files.
2745         * leim/quail: Move here from ../leim.
2746         * leim/quail/hangul.el (hangul-input-method-activate):
2747         Add autoload cookie.
2748         (generated-autoload-load-name): Set file-local value.
2749         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2750         (generated-autoload-load-name): Set file-local value.
2752 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2754         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2755         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2756         (eww-quit): Ask confirmation before quitting eww.
2758 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2760         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2761         reading output from Diff on MS-Windows and MS-DOS.
2763 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2765         * emacs-lisp/helpers.el (string-reverse): New function.
2767 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2769         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2770         names on MS Windows, like "/[::1]:".
2772         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2773         SWITCHES.
2775 2013-11-26  Glenn Morris  <rgm@gnu.org>
2777         * progmodes/python.el (python-indent-guess-indent-offset):
2778         Avoid corner-case error.  (Bug#15975)
2780         Preload leim-list.el.  (Bug#4789)
2781         * loadup.el: Load leim-list.el when found.
2782         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2784 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2786         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2788         * emacs-lisp/helpers.el (string-join): New function.
2790 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2792         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2793         Mark as obsolete and replace it with a symbol property.
2794         (byte-compile-form): Use new 'interactive-only property.
2795         * comint.el, files.el, replace.el, simple.el:
2796         Apply new 'interactive-only properly.
2798 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2800         * window.el (display-buffer-at-bottom): Make sure that
2801         split-window-sensibly creates the new window on bottom
2802         (Bug#15961).
2804 2013-11-23  David Kastrup  <dak@gnu.org>
2806         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2807         on the conflict markers when available.
2808         (smerge--get-marker): New function.
2809         (smerge-end-re, smerge-base-re): Add subgroup.
2811 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2813         * frame.el (handle-focus-in, handle-focus-out): Add missing
2814         interactive spec.
2816 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2818         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2819         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2821 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2823         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2824         (gomoku--last-pos): New var.
2825         (gomoku--intangible-chars): New const.
2826         (gomoku--intangible): New function.
2827         (gomoku-mode): Use it.  Derive from special-mode.
2828         (gomoku-move-up): Adjust line count.
2829         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2830         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2831         Simplify accordingly.
2833         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2834         Remove blink-cursor code.
2835         (blink-cursor-timer-function, blink-cursor-suspend):
2836         Don't special-case GUIs.
2837         (blink-cursor-mode): Use focus-in/out-hook.
2839 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2841         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2842         work when annotation is invisible (Bug#13886).
2844 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
2846         * json.el (json-alist-p): Only return non-nil if the alist has
2847         simple keys (Bug#13518).
2849 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
2851         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2852         when control-statement is the first statement in a buffer (Bug#15956).
2854 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
2856         * imenu.el (imenu-generic-skip-comments-and-strings):
2857         New option (Bug#15560).
2858         (imenu--generic-function): Use it.
2860 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
2862         * minibuffer.el (completion--in-region-1): Scroll the correct window.
2863         (Bug#13898)
2865 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
2867         * emacs-lisp/helpers.el: Add some string helpers.
2868         (string-trim-left): Removes leading whitespace.
2869         (string-trim-right): Removes trailing whitespace.
2870         (string-trim): Removes leading and trailing whitespace.
2872         * subr.el (string-suffix-p): New function.
2874 2013-11-23  Glenn Morris  <rgm@gnu.org>
2876         * progmodes/python.el (python-shell-send-file):
2877         Add option to delete file when done.  (Bug#15647)
2878         (python-shell-send-string, python-shell-send-region): Use it.
2880 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
2882         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2883         to set buffer-read-only to t, never to nil.  (Bug#15938)
2885         * textmodes/tex-mode.el (latex-noindent-environments):
2886         Add safe-local-variable property.  (Bug#15936)
2888 2013-11-23  Glenn Morris  <rgm@gnu.org>
2890         * textmodes/enriched.el (enriched-mode): Doc fix.
2891         * emacs-lisp/authors.el (authors-renamed-files-alist):
2892         Add enriched.doc -> enriched.txt.
2894         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2896 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2898         * progmodes/octave.el (inferior-octave-startup): Spit out error
2899         message.
2901 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
2903         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2904         Improve docstring.
2905         Add :version.
2906         (ruby-encoding-magic-comment-style): Add :version.
2908 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2910         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2911         (Bug#15076)
2912         (octave-help-mode): Adapt to change to help-mode-finish to use
2913         derived-mode-p on 2013-09-17.
2914         (inferior-octave-prompt): Also match octave-gui.
2915         (octave-kill-process): Don't ask twice.  (Bug#10564)
2917 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2919         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2920         (inferior-octave-startup, inferior-octave-check-process)
2921         (inferior-octave-track-window-width-change)
2922         (octave-completion-at-point, octave-eldoc-function): Use it.
2923         (octave-kill-process): Provide confirmation.  (Bug#10564)
2925 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2927         * progmodes/octave.el (octave-mode, inferior-octave-mode):
2928         Fix obsolete variable comment-use-global-state.
2930 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2932         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2933         Add `octave-source-file'.
2934         (octave-source-file): New function.  (Bug#15935)
2936 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
2938         * net/eww.el (eww-local-regex): New variable.
2939         (eww): Use it to detect localhost and similar.
2941 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2943         Add completion for command `ag'.
2944         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2945         (pcomplete/ag): New function.
2946         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
2948 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2950         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2951         (bug#14646).
2952         (make-obsolete): Remove interactive spec.
2954 2013-11-21  Glenn Morris  <rgm@gnu.org>
2956         * startup.el (command-line-1): Use path-separator with -L.
2958 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
2960         * emacs-lisp/package.el (describe-package-1): Add package archive
2961         to shown fields.
2963 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
2965         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2966         Change default to "# encoding: %s" to differentiate it from the
2967         default Ruby encoding comment template.
2969 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
2971         * ses.el (ses-mode): Doc fix.  (Bug#14748)
2973 2013-11-20  Leo Liu  <sdl.web@gmail.com>
2975         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2977 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
2979         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2980         when rebase or bisect are in progress.
2982 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
2984         * filenotify.el (file-notify-add-watch): Doc fix.
2986 2013-11-19  Leo Liu  <sdl.web@gmail.com>
2988         * obsolete/rcompile.el: Mark obsolete.
2990         * progmodes/compile.el (compilation-start)
2991         (compilation-goto-locus, compilation-find-file):
2992         Pass no-display-ok and handle nil value from display-buffer.
2993         (Bug#13594)
2995         * window.el (display-buffer-alist, display-buffer): Document the
2996         new parameter no-display-ok.  Return either a window or nil
2997         but never a non-window value.
2999 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3001         * electric.el (electric-indent-mode-map): Remove.
3002         (electric-indent-mode): Change the global-map instead (bug#15915).
3004         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3005         Use add-function.
3007 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3009         * emacs-lisp/nadvice.el (remove-function): Align with
3010         add-function's behavior.
3012         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3013         (gdb--string-regexp): New constant.
3014         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3015         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3016         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3017         submatch 1.
3018         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3019         Adjust use accordingly.
3020         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3022 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
3024         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3025         interpolation curlies (Bug#15914).
3027 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3029         * calc/calc.el (calc-context-sensitive-enter): New variable.
3030         (calc-enter): Use `calc-context-sensitive-enter'.
3032 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
3034         * progmodes/cfengine.el: Version bump.
3035         (cfengine-cf-promises): New defcustom to locate cf-promises.
3036         (cfengine3-vartypes): Add new "data" type.
3037         (cfengine3--current-word): New function to get current name-like
3038         word or its bounds.
3039         (cfengine3--current-function): New function to look up a CFEngine
3040         function's definition.
3041         (cfengine3-format-function-docstring): New function.
3042         (cfengine3-make-syntax-cache): New function.
3043         (cfengine3-documentation-function): New function: ElDoc glue.
3044         (cfengine3-completion-function): New function: completion glue.
3045         (cfengine3-mode): Set `compile-command',
3046         `eldoc-documentation-function', and add to
3047         `completion-at-point-functions'.
3049 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
3051         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3052         `tramp-current-connection'.
3054 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
3056         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3057         nil/self/true/false with "end of symbol".
3059 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
3061         * subr.el (version-regexp-alist): Fix a typo.
3063 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
3065         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3066         "en_US.utf8" and "LC_CTYPE" to "".
3067         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3068         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3070 2013-11-15  Leo Liu  <sdl.web@gmail.com>
3072         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
3074 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3076         * progmodes/gud.el (ctl-x-map):
3077         Remove C-x SPC binding.  (Bug#12342)
3078         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3080 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
3082         * subr.el (version-regexp-alist):
3083         Recognize hg, svn and darcs versions as snapshot versions.
3085         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3086         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3087         (ruby--encoding-comment-required-p): Extract from
3088         `ruby-mode-set-encoding'.
3089         (ruby-mode-set-encoding): Add the ability to always insert an
3090         utf-8 encoding comment.  Fix and simplify coding comment update
3091         logic.
3093 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
3095         * net/tramp-gvfs.el (top): Run init code only when
3096         `tramp-gvfs-enabled' is not nil.
3097         (tramp-gvfs-enabled): Check also :system bus.
3099 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3101         Sync with upstream verilog-mode revision 78e66ba.
3102         * progmodes/verilog-mode.el (verilog-end-of-defun)
3103         (verilog-type-completion, verilog-get-list): Remove unused funcs.
3104         (verilog-get-end-of-defun): Remove unused argument.
3105         (verilog-comment-depth): Remove unused local `e'.
3106         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3107         Don't pass arg to verilog-get-end-of-defun.
3109 2013-11-14  Glenn Morris  <rgm@gnu.org>
3111         * obsolete/assoc.el (aget): Prefix dynamic variable.
3113         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3115 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3117         * widget.el, hfy-cmap.el: Remove bogus package version number.
3119 2013-11-13  Glenn Morris  <rgm@gnu.org>
3121         * replace.el (replace-eval-replacement):
3122         Try to give more helpful error message.  (Bug#15836)
3124         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3125         (archive-7z-update): Avoid custom type mismatches.
3127         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3129 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
3131         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3132         address can be empty.
3134         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3135         Accept nil SWITCHES.
3136         (tramp-gvfs-handle-write-region): Implement APPEND.
3138 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
3140         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3141         binary "|" operator and closing block args delimiter.
3142         Remove FIXME comment referring to Ruby 1.8-only syntax.
3143         (ruby-smie--implicit-semi-p): Not after "|" operator.
3144         (ruby-smie--closing-pipe-p): New function.
3145         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3146         (ruby-smie-rules): Indent after "|".
3148 2013-11-12  Glenn Morris  <rgm@gnu.org>
3150         * ps-print.el (ps-face-attribute-list):
3151         Handle anonymous faces.  (Bug#15827)
3153 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
3155         * window.el (display-buffer-other-frame): Fix doc-string.
3156         (Bug#15868)
3158 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * subr.el (force-mode-line-update): Delete, move to buffer.c.
3162 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
3164         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3165         (tramp-sh-handle-file-local-copy): Don't write a message when
3166         saving temporary files.
3168         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3169         both directories are remote.
3170         (tramp-smb-handle-directory-files): Do not return double entries.
3171         Do not expand full file names.
3172         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3173         (tramp-smb-handle-write-region): Implement APPEND.
3174         (tramp-smb-get-stat-capability): Fix a stupid bug.
3176 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3180 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3182         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3183         throwing error over malformed let/let* (bug#15814).
3185 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3187         * iswitchb.el (iswitchb-mode): Mark obsolete.
3189 2013-11-11  Glenn Morris  <rgm@gnu.org>
3191         * international/uni-bidi.el, international/uni-category.el:
3192         * international/uni-name.el, international/uni-numeric.el:
3193         Regenerate for Unicode 6.3.0.
3195 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
3197         * net/tramp.el (tramp-methods):
3198         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3199         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3201 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
3203         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3204         Force highlighting text after Summary keyword in doc face for rpm.
3206 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
3208         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3209         available and the word has no wildcards, append one to the grep pattern.
3210         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3211         (ispell-complete-word): Call `ispell-lookup-words' with the value
3212         independent of `ispell-look-p'.
3214 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3216         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3217         Not after "||".
3218         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3219         their parent.
3221 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3223         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
3224         (ruby-font-lock-keywords): Use backquote.
3226 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3228         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3229         (ruby-smie--backward-token): Only consider full-string matches.
3231 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
3233         * faces.el (describe-face): Add distant-foreground.
3235 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
3237         * progmodes/ruby-mode.el: Improve encoding comment handling.
3238         (ruby-encoding-magic-comment-style): New option.
3239         (ruby-custom-encoding-magic-comment-template): New option.
3240         (ruby--insert-coding-comment, ruby--detect-encoding):
3241         New functions extracted from `ruby-mode-set-encoding'.
3242         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3243         to control the style of the auto-inserted encoding comment.
3245 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3247         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3248         Use `smie-backward-sexp' with token argument.
3250 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
3252         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3253         Remove instrumentation code.
3255 2013-11-08  Glenn Morris  <rgm@gnu.org>
3257         * progmodes/autoconf.el (autoconf-mode):
3258         Tweak comment-start-skip.  (Bug#15822)
3260 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3262         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3263         at bobp (bug#15826).
3264         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3266 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
3268         * man.el (Man-start-calling): New macro, extracted from
3269         Man-getpage-in-background.
3270         (Man-getpage-in-background): Use it.
3271         (Man-update-manpage): New command.
3272         (Man-mode-map): Bind it.
3274 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3276         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3277         of "and", "or", "&&" and "||".
3278         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3279         argument.  Prohibit opening curly brace because it could only be a
3280         block opener in that position.
3281         (ruby-smie--forward-token, ruby-smie--backward-token):
3282         Separate "|" from "&" or "*" going after it.  That can happen in block
3283         arguments.
3284         (ruby-smie--indent-to-stmt): New function, seeks the end of
3285         previous statement or beginning of buffer.
3286         (ruby-smie-rules): Use it.
3287         (ruby-smie-rules): Check if there's a ":" before a curly block
3288         opener candidate; if there is, it's a hash.
3290 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3292         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3293         (cl--block-wrapper): Fix last accidental change.
3295 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
3297         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3298         Instrument, in order to hunt failure on hydra.
3300 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3302         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3303         malformed bindings form (bug#15814).
3305 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
3307         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3308         "." compared to " @ ".  This incidentally fixes some indentation
3309         examples with "do".
3310         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3311         (ruby-smie-grammar): New tokens: "and" and "or".
3312         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3313         Exclude "and" and "or".  Remove "do" in order to work around token
3314         priorities.
3315         (ruby-smie-rules): Add all infix tokens.  Handle the case of
3316         beginning-of-buffer.
3318 2013-11-06  Glenn Morris  <rgm@gnu.org>
3320         * Makefile.in (setwins_almost, setwins_for_subdirs):
3321         Avoid accidental matches.
3323 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3325         * menu-bar.el (popup-menu): Use key-binding.
3327 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
3329         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3330         menus, support also the menus produced by minor modes.
3331         (Bug#15817)
3333 2013-11-06  Leo Liu  <sdl.web@gmail.com>
3335         * thingatpt.el (thing-at-point-looking-at): Add optional arg
3336         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
3338 2013-11-06  Glenn Morris  <rgm@gnu.org>
3340         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3341         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3342         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3344 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         * electric.el (electric-indent-just-newline): New command.
3347         (electric-indent-mode-map): New keymap.
3348         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3349         Re-add :group which weren't redundant.
3351         * electric.el (electric-indent-local-mode): New minor mode.
3352         (electric-indent-functions-without-reindent): New var.
3353         (electric-indent-post-self-insert-function): Use it.
3354         * emacs-lisp/gv.el (buffer-local-value): Add setter.
3356 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
3358         * international/quail.el (quail-help): Be more explicit about the
3359         meaning of the labels shown on the keys.  (Bug#15800)
3361         * startup.el (normal-top-level): Load the subdirs.el files before
3362         setting the locale environment.  (Bug#15805)
3364 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3366         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3367         via arguments so as to get the right ones (bug#15418).
3369         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3371 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
3373         Fix problems found while writing a test suite.
3375         * net/tramp-compat.el (tramp-compat-load): New defun.
3376         * net/tramp.el (tramp-handle-load): Use it.
3378         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3379         "(numberp ok-if-already-exists)" correctly.
3381 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
3383         * international/characters.el (glyphless-char-display-control):
3384         Add usage note.
3386 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
3388         * progmodes/python.el (python-mode):
3389         * progmodes/scheme.el (scheme-mode):
3390         * progmodes/prolog.el (prolog-mode):
3391         * progmodes/ruby-mode.el (ruby-mode):
3392         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3393         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3395 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3397         * rect.el (rectangle--highlight-for-redisplay):
3398         * emacs-lisp/smie.el (smie--next-indent-change):
3399         Use buffer-chars-modified-tick.
3401         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3403         * electric.el (electric-indent-post-self-insert-function):
3404         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3406 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
3408         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3410 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3412         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3413         (bug#15786).
3415 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3417         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
3419         * progmodes/python.el: Fix up last change.
3420         (python-shell--save-temp-file): New function.
3421         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
3422         `string' comes from the current buffer.
3423         (python-shell-send-string-no-output): Remove `msg' arg.
3424         (python--use-fake-loc): New var.
3425         (python-shell-buffer-substring): Obey it.  Try to compensate for the
3426         extra coding line added by python-shell--save-temp-file.
3427         (python-shell-send-region): Use python-shell--save-temp-file and
3428         python-shell-send-file directly.  Add `nomain' argument.
3429         (python-shell-send-buffer): Use python-shell-send-region.
3430         (python-electric-pair-string-delimiter): New function.
3431         (python-mode): Use it.
3433 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
3435         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3436         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3437         environment and decoding all of the default-directory's to here
3438         from command-line.
3439         (command-line): Decode also argv[0].
3441         * loadup.el: Error out if default-directory is a multibyte string
3442         when we are dumping.
3444         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
3446 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
3448         * emacs-lisp/package.el (package-menu-mode)
3449         (package-menu--print-info, package-menu--archive-predicate):
3450         Add Archive column to package list.
3452 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
3454         Fix problems found while writing a test suite.
3456         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3457         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3458         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3459         to nil when running original file name handler.  Otherwise,
3460         there are problems with constructs like "$$FOO".
3462         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3463         for `localname'.
3465 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
3467         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3469         * subr.el (version<, version<=, version=):
3470         Update docstrings with information for snapshot versions.
3472         * helpers.el: New library for misc helper functions.
3473         (hash-table-keys): New function returning a list of hash keys.
3474         (hash-table-values): New function returning a list of hash values.
3476 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
3478         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3479         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3481 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
3483         * textmodes/fill.el (fill-single-char-nobreak-p): New function
3484         checking whether point is after a 1-letter word.
3486 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3488         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3489         Don't infloop when expanding region over `multiline' syntax-type that
3490         begins a line (bug#15778).
3492 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3494         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3495         Make it into a proper minor mode.
3496         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3497         (rectangle-mark-mode-map): New keymap.
3498         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3500 2013-11-04  Glenn Morris  <rgm@gnu.org>
3502         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3504 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3506         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3507         (ruby-smie-rules): Use smie-rule-parent instead.
3509         * emacs-lisp/smie.el (smie-rule-parent): Always call
3510         smie-indent-virtual rather than only for hanging tokens.
3511         (smie--next-indent-change): New helper command.
3513 2013-11-03  Glenn Morris  <rgm@gnu.org>
3515         * Makefile.in (abs_srcdir): Remove.
3516         (emacs): Unset EMACSLOADPATH.
3518 2013-11-02  Glenn Morris  <rgm@gnu.org>
3520         * Makefile.in (EMACS): Use a relative filename.
3521         (abs_top_builddir): Remove.
3522         (custom-deps, finder-data, autoloads): Use --chdir.
3524         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3526         Use relative filenames in TAGS files.
3527         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3528         (lisptagsfiles4, TAGS): Use relative file names.
3529         (TAGS-LISP): Remove.
3530         (maintainer-clean): No more TAGS-LISP file.
3532         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3533         (lisptagsfiles4): Use absolute filenames again.
3534         (TAGS, TAGS-LISP): Not everything needs to run in one line.
3535         Remove all *loaddefs files, not just the first.  Remove esh-groups.
3536         (maintainer-clean): Delete TAGS, TAGS-LISP.
3538 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3540         * emacs-lisp/package.el (package-version-join):
3541         Recognize snapshot versions.
3543 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3545         * subr.el (version-regexp-alist): Add support for snapshot versions.
3547 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3549         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3550         New function, replacement for `smie-rule-parent' for when we want to
3551         skip over our direct parent if it's an assignment token..
3552         (ruby-smie-rules): Use it.
3554 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3556         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3557         unconditionally.  Remove now unnecessary forward declarations.
3558         Remove XEmacs-specific setup.
3559         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3560         (ruby-font-lock-syntactic-keywords)
3561         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3562         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3563         (ruby-here-doc-end-syntax): Remove.
3564         (ruby-mode): Don't check whether `syntax-propertize-rules' is
3565         defined as function.
3567 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3569         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3571 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3573         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3574         table and abbrev table, `define-derived-mode' does that for us
3575         anyway.
3577 2013-11-01  Glenn Morris  <rgm@gnu.org>
3579         * Makefile.in: Remove manual mh-e dependencies (writing .elc
3580         files is atomic for some time, so no parallel compilation issues).
3582 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3584         * faces.el (face-x-resources): Add :distant-foreground.
3585         (region): Use :distant-foreground for gtk and ns.
3587 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
3589         Allow multiple bibliographies when BibLaTeX is used rather than
3590         BibTeX.
3591         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3592         (reftex-locate-bibliography-files): Us it.
3594 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
3596         * image.el (image-type-header-regexps): Fix the 'pbm' part to
3597         allow comments in pbm files.
3599         * term/w32-win.el (dynamic-library-alist): Support newer versions
3600         of libjpeg starting with v7: look only for the DLL from the
3601         version against which Emacs was built.
3602         Support versions of libpng beyond 1.4.x.
3603         Support libtiff v4.x.
3605 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3607         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3608         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3609         Add property :safe.
3610         (ruby-deep-arglist): Add property :type.
3612 2013-10-31  Glenn Morris  <rgm@gnu.org>
3614         * Makefile.in (custom-deps, finder-data): No need to setq the target
3615         variables, we are in the right directory and the defaults work fine.
3617 2013-10-30  Glenn Morris  <rgm@gnu.org>
3619         * Makefile.in (autoloads): Do not use abs_lisp.
3621         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3622         `newline' does not respect `standard-output', so use `princ'.
3624 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
3626         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
3627         * buff-menu.el (Buffer-menu--unmark): New function.
3628         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3630 2013-10-30  Glenn Morris  <rgm@gnu.org>
3632         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3634         * emacs-lisp/package.el (lm-homepage): Declare.
3636         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3637         Fix doc typos.
3639         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3641         * Makefile.in (finder-data, autoloads, update-subdirs)
3642         (compile-main, compile-clean, compile-always, bootstrap-clean):
3643         Check return value of cd.
3644         (compile-calc): Remove.
3646 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3650         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3651         (byte-compile-and-folded): New function.
3652         (=, <, >, <=, >=): Use it.
3654         * dos-w32.el (minibuffer-history-case-insensitive-variables)
3655         (path-separator, null-device, buffer-file-coding-system)
3656         (lpr-headers-switches): Check system-type before modifying them.
3657         (find-buffer-file-type-coding-system): Mark obsolete.
3658         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3659         find-file-not-found-set-buffer-file-coding-system.
3660         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3661         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3662         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3663         (w32-direct-print-region-helper, w32-direct-print-region-function)
3664         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3665         * startup.el (normal-top-level-add-subdirs-to-load-path):
3666         * ps-print.el (ps-print-region-function):
3667         * lpr.el (print-region-function): Use new name.
3669         * subr.el (custom-declare-variable-early): Remove function.
3670         (custom-declare-variable-list): Remove var.
3671         (error, user-error): Remove `while' loop.
3672         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3673         (user-emacs-directory-warning, locate-user-emacs-file):
3674         Move to files.el.
3675         * simple.el (read-quoted-char-radix, read-quoted-char):
3676         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3677         Move from subr.el.
3678         * custom.el (custom-declare-variable-list): Don't process
3679         custom-declare-variable-list.
3681         * progmodes/python.el (python-shell-get-buffer): New function.
3682         (python-shell-get-process): Use it.
3683         (python-shell-send-string): Always use utf-8 and add a cookie to tell
3684         Python which encoding was used.  Don't split-string since we only care
3685         about the first line.  Return the temp-file, if applicable.
3686         (python-shell-send-region): Tell compile.el how to turn locations in
3687         the temp-file into locations in the source buffer.
3689 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3691         * subr.el (undefined): Add missing behavior from the C code for
3692         unbound keys.
3694         * rect.el: Use lexical-binding.  Add new rectangular region support.
3695         (rectangle-mark): New command.
3696         (rectangle--region): New var.
3697         (deactivate-mark-hook): Reset rectangle--region.
3698         (rectangle--extract-region, rectangle--insert-for-yank)
3699         (rectangle--highlight-for-redisplay)
3700         (rectangle--unhighlight-for-redisplay): New functions.
3701         (region-extract-function, redisplay-unhighlight-region-function)
3702         (redisplay-highlight-region-function): Use them to handle
3703         rectangular region.
3704         * simple.el (region-extract-function): New var.
3705         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3706         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3707         (kill-region): Replace obsolete `yank-handler' arg with `region'.
3708         (copy-region-as-kill, kill-ring-save): Add `region' argument.
3709         (redisplay-unhighlight-region-function)
3710         (redisplay-highlight-region-function): New vars.
3711         (redisplay--update-region-highlight): New function.
3712         (pre-redisplay-function): Use it.
3713         (exchange-point-and-mark): Don't deactivate the mark before
3714         reactivate-it anyway.
3715         * comint.el (comint-kill-region): Remove yank-handler argument.
3716         * delsel.el (delete-backward-char, backward-delete-char-untabify)
3717         (delete-char): Remove property, since it's now part of their
3718         default behavior.
3719         (self-insert-iso): Remove property since this command doesn't exist.
3721         * emacs-lisp/package.el (package--download-one-archive)
3722         (describe-package-1): Don't query the user about final newline.
3724 2013-10-29  Daniel Colascione  <dancol@dancol.org>
3726         * net/tramp.el (tramp-methods): Document new functionality.
3727         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3728         tramp-hostname-checker if method provides one instead of scanning
3729         argument list for "%h" to decide hostname acceptability.
3731 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3733         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3734         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3735         Handle COPY-CONTENTS.  (Bug#15737)
3737 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3739         * epa-file.el
3740         (epa-file-cache-passphrase-for-symmetric-encryption):
3741         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3743 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3745         * image.el (defimage):
3746         (image-load-path): Doc fixes.
3748 2013-10-27  Alan Mackenzie  <acm@muc.de>
3750         Indent statements in macros following "##" correctly.
3751         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3752         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3754 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3756         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3758 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3760         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3761         after `=' is probably a new expression.
3763 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3765         * man.el (man-imenu-title): New option.
3766         (Man-mode-map): Add menu.  (Bug#15722)
3767         (Man-mode): Add imenu to menu.
3769 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3771         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3772         specific in what the first arg can be: a non-keyword word,
3773         string/regexp/percent literal opener, opening paren, or unary
3774         operator followed directly by word.
3776 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3778         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3779         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3780         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3781         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3782         Remove vars, they do not apply any more.
3783         (prolog-mode-abbrev-table): Remove redundant declaration.
3784         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3785         (prolog-use-smie): Remove.
3786         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3787         supported by prolog-electric-if-then-else-flag.
3788         (prolog-mode-variables, prolog-menu): Use setq-local.
3789         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3790         Remove binding to `Backspace' since this key doesn't exist anyway.
3791         Remove bindings for electric self-inserting keys.
3792         (prog-mode): Assume it's defined.
3793         (prolog-post-self-insert): New function.
3794         (prolog-mode): Use it.
3795         (prolog-indent-line, prolog-indent-level)
3796         (prolog-find-indent-of-matching-paren)
3797         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3798         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3799         (prolog-goto-next-paren, prolog-in-string-or-comment)
3800         (prolog-tokenize, prolog-inside-mline-comment)
3801         (prolog-find-start-of-mline-comment): Remove functions.
3802         (prolog-find-unmatched-paren, prolog-clause-end)
3803         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3804         (prolog-electric--if-then-else): Rename from
3805         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3806         (prolog-tokenize-searchkey): Remove const.
3807         (prolog-clause-info): Use forward-sexp.
3808         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3809         (prolog-electric-if-then-else): Remove commands.
3810         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3811         for use in post-self-insert-hook.
3812         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3813         for use in post-self-insert-hook.
3814         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3815         for use in post-self-insert-hook.
3816         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3817         adapt it for use in post-self-insert-hook.
3819 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3821         * emacs-lisp/ert.el (ert-run-tests-interactively):
3822         Use `completing-read'.  (Bug#9756)
3824 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3826         * simple.el (line-move): Call line-move-1 instead of
3827         line-move-visual when the current window hscroll is zero, but
3828         temporary-goal-column indicates we will need to hscroll as result
3829         of the movement.  (Bug#15712)
3831 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3833         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3834         capitalization.  Use :visible instead of :active.
3835         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3836         commands that are used with SMIE.
3837         (ruby-do-end-to-brace): Insert space after `{'.
3839 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3841         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3843         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
3845 2013-10-25  Glenn Morris  <rgm@gnu.org>
3847         * vc/vc.el (vc-print-log): Don't use a working revision unless
3848         one was explicitly specified.  (Bug#15322)
3850 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3852         * subr.el (add-to-list): Preserve return value in compiler-macro
3853         (bug#15692).
3855 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3857         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3858         result.  Ask user to retry using '-all' flag.  (Bug#15701)
3860 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3862         * emacs-lisp/smie.el: New smie-config system.
3863         (smie-config): New defcustom.
3864         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3865         (smie-config-guess, smie-config-save): New commands.
3866         (smie-config--mode-local, smie-config--buffer-local)
3867         (smie-config--trace, smie-config--modefuns): New vars.
3868         (smie-config--advice, smie-config--mode-hook)
3869         (smie-config--setter, smie-config-local, smie-config--get-trace)
3870         (smie-config--guess-value, smie-config--guess): New functions.
3871         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3872         text properties.  Treat "string fence" syntax like string syntax.
3874         * progmodes/sh-script.el (sh-use-smie): Change default.
3875         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3876         (sh-var-value): Simplify by CSE.
3877         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3878         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3879         is used.
3880         (sh-guess-basic-offset): Use cl-incf.
3881         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3883 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
3885         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3886         (bug#15699).
3888 2013-10-24  Glenn Morris  <rgm@gnu.org>
3890         * Makefile.in (abs_top_srcdir): Remove.
3891         (update-subdirs): Use relative path to update-subdirs.
3893 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
3895         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3896         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3897         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3898         Call unmsys--file-name before expand-file-name, not after it.
3900 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
3902         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3903         (ert-test-skipped): New error.
3904         (ert-skip, ert-stats-skipped): New defuns.
3905         (ert--skip-unless): New macro.
3906         (ert-test-skipped): New struct.
3907         (ert--run-test-debugger, ert-test-result-type-p)
3908         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3909         (ert--stats-set-test-and-result, ert-char-for-test-result)
3910         (ert-string-for-test-result, ert-run-tests-batch)
3911         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3912         Handle skipped tests.  (Bug#9803)
3914 2013-10-24  Glenn Morris  <rgm@gnu.org>
3916         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3918         * Makefile.in (abs_top_srcdir): New, set by configure.
3919         (update-subdirs): Correct build-aux location.
3921 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
3923         * vc/vc.el (vc-print-root-log): Always set `default-directory'
3924         value, whether we could auto-deduce `backend', or not.
3926         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3927         with parameters" example.  Simplify the "is it block or is it
3928         hash" check, but also make it more thorough.
3930 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
3932         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
3934 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3936         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3937         { if it is hanging.
3939         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3940         :before ";".
3942 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
3944         * progmodes/compile.el (compilation-directory-matcher)
3945         (compilation-page-delimiter):
3946         Support GNU Make-4.0 directory quoting.  (Bug#15678)
3948 2013-10-23  Leo Liu  <sdl.web@gmail.com>
3950         * ido.el (ido-tidy): Handle read-only text.
3952 2013-10-23  Glenn Morris  <rgm@gnu.org>
3954         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3955         (emacs, compile, compile-always):
3956         Quote entities that might contain whitespace.
3957         (custom-deps, finder-data, autoloads): Use abs_lisp.
3958         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3959         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3960         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3962 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
3964         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3965         Use `following-char'.
3967 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3969         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3970         * progmodes/ruby-mode.el (ruby-smie-rules):
3971         Remove corresponding workaround.  Fix indentation rule of ";" so it
3972         also applies when ";" is the parent.
3974 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
3976         * frame.el (display-screens, display-pixel-height)
3977         (display-pixel-width, display-mm-width, display-backing-store)
3978         (display-save-under, display-planes, display-color-cells)
3979         (display-visual-class, display-monitor-attributes-list):
3980         Mention the optional ‘display’ argument in doc strings.
3982 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
3984         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3985         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
3987 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3989         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3990         TODO.  Add "." after " @ ".
3991         (ruby-smie--at-dot-call): New function.  Checks if point at method
3992         call with explicit target.
3993         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3994         to the method name tokens when it precedes them.
3995         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3996         (ruby-smie-rules): Add rule for indentation before and after "."
3997         token.
3999 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4001         * textmodes/remember.el (remember-diary-extract-entries):
4002         Avoid add-to-list.
4004         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4005         an instruction.
4007 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4009         * progmodes/ruby-mode.el (ruby-smie-grammar):
4010         Add (almost) all infix operators.
4011         (ruby-smie--implicit-semi-p): Add new operator chars.
4013         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4014         `smie-down-list'.
4015         (ruby-smie--args-separator-p): Check that there's no newline
4016         between method call and its arguments.
4018 2013-10-20  Alan Mackenzie  <acm@muc.de>
4020         Allow comma separated lists after Java "implements".
4022         * progmodes/cc-engine.el (c-backward-over-enum-header):
4023         Parse commas.
4024         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4025         from a "disallowed" list in enum fontification.
4027 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
4029         * startup.el (default-frame-background-mode): Remove unused defvar.
4031         * progmodes/verilog-mode.el (verilog-mode): Don't set
4032         comment-indent-function globally.
4034 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
4036         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4037         Move Info menu item creation to ns-win.el.
4039         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4040         in menu bar.
4042         * menu-bar.el: Move GNUstep specific menus...
4044         * term/ns-win.el (ns-initialize-window-system): ... to here.
4046 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4048         * simple.el (newline): Only run post-self-insert-hook when
4049         called interactively.
4051 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
4053         * icomplete.el (icomplete-with-completion-tables): Add :version.
4055 2013-10-19  Alan Mackenzie  <acm@muc.de>
4057         Fix fontification bugs with constructors and const.
4059         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4060         CASE 2) Remove the check for the absence of a suffix construct
4061         after a function declaration with only types (no identifiers) in
4062         the parentheses.  Also, accept a function declaration with just a
4063         type inside the parentheses, if this type can be positively
4064         recognised as such, or if a prefix keyword like "explicit" nails
4065         down the construct as a declaration.
4067 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
4069         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4070         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
4071         the problem whereby selecting a menu item that leads to a
4072         minibuffer prompt moves the cursor out of the minibuffer window,
4073         making it hard to type at the prompt.  Suggested by Stefan Monnier
4074         <monnier@iro.umontreal.ca>.
4076 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
4078         * menu-bar.el: Don't make Services menu.
4080 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4082         * ffap.el: Handle "/usr/include/c++/<version>" directories.
4083         (ffap-alist): Use ffap-c++-mode for c++-mode.
4084         (ffap-c++-path): New variable.
4085         (ffap-c++-mode): New function.
4087 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
4089         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
4091 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
4093         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4094         introduced on 2013-09-08, which results in an infinite loop
4095         requesting a password.
4097 2013-10-18  Glenn Morris  <rgm@gnu.org>
4099         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4101 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
4103         Sync with upstream verilog-mode revision 1a6ecec7.
4104         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4105         (verilog-mode-release-date): Remove.
4106         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4107         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4108         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4109         (verilog-auto-tieoff-ignore-regexp)
4110         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4111         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4112         (verilog-signals-with, verilog-dir-cache-preserving)
4113         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4114         Doc fixes.
4115         (verilog-case-fold): New option, to control case folding in
4116         regexp searches, bug597.
4117         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4118         (verilog-string-match-fold, verilog-in-paren-count)
4119         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4120         (verilog-at-close-struct-p): New functions.
4121         (verilog-beg-block-re-ordered, verilog-extended-case-re)
4122         (verilog-forward-sexp, verilog-set-auto-endcomments):
4123         (verilog-leap-to-case-head): Handle "unique0" case.
4124         (verilog-in-constraint-re): New constant.
4125         (verilog-keywords, verilog-type-font-keywords):
4126         Add some SystemVerilog 1800-2012 keywords.
4127         (verilog-label-be): Remove unimplemented argument, bug669.
4128         (verilog-batch-execute-func): When batch expanding clear
4129         create-lockfiles to prevent spurious user locks when a file ends
4130         up not changing.
4131         (verilog-calculate-indent, verilog-calc-1)
4132         (verilog-at-close-constraint-p, verilog-at-constraint-p)
4133         (verilog-do-indent): Fix indentation of nested constraints
4134         and structures.
4135         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4136         (verilog-auto-inst-param): Use verilog-string-match-fold.
4137         (verilog-read-inst-module-matcher):
4138         Fix AUTOINST on gate primitives with #1.
4139         (verilog-read-decls): Fix double-declaring user-defined typed signals.
4140         Reads all user-defined typed variables.
4141         (verilog-read-defines): Fix reading definitions inside comments, bug647.
4142         (verilog-signals-matching-regexp)
4143         (verilog-signals-not-matching-regexp, verilog-auto):
4144         Respect verilog-case-fold.
4145         (verilog-diff-report): Fix line count.
4146         (verilog-auto-assign-modport): Remove unused local `modi'.
4147         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4148         better handle multidimensional arrays.
4149         Fix packed array ports misadding bit index in AUTOINST, bug637.
4150         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4151         to not double-declare existing outputs and inputs, respectively.
4152         (verilog-template-map): Bind U to verilog-sk-uvm-component.
4153         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4154         (verilog-sk-uvm-component): New skeleton.
4155         (verilog-submit-bug-report): Add verilog-case-fold,
4156         remove verilog-mode-release-date.
4158 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
4160         * subr.el (sit-for): Call (input-pending-p t) so as to behave
4161         as before.
4163 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
4165         * textmodes/remember.el (remember): Set buffer-offer-save in
4166         remember buffers (bug#13566).
4168 2013-10-18  Daniel Colascione  <dancol@dancol.org>
4170         When evaluating forms in ielm, direct standard output to ielm
4171         buffer.  Add new ielm-return-for-effect command.  Remove trailing
4172         whitespace throughout.
4174         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4175         (ielm-return-for-effect): New command.
4176         (ielm-send-input): Accept optional `for-effect' parameter.
4177         (ielm-eval-input): Accept optional `for-effect' parameter.
4178         Bind `standard-output' to stream we create using
4179         `ielm-standard-output-impl'.  Suppress printing result when
4180         `for-effect'.
4181         (ielm-standard-output-impl): New function.
4182         (inferior-emacs-lisp-mode): Explain new features in documentation.
4184 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
4186         Code cleanup.
4188         * net/tramp.el (tramp-debug-message): Do not check for connection
4189         buffer.
4190         (tramp-message): Use "vector" connection property.
4192         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4193         (tramp-equal-remote, tramp-eshell-directory-change)
4194         * net/tramp-adb.el (tramp-adb-handle-copy-file)
4195         (tramp-adb-handle-rename-file)
4196         * net/tramp-cmds.el (tramp-list-remote-buffers)
4197         (tramp-cleanup-connection, tramp-cleanup-this-connection)
4198         * net/tramp-compat.el (tramp-compat-process-running-p)
4199         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4200         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4201         (tramp-gvfs-handle-rename-file)
4202         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4203         (tramp-set-file-uid-gid)
4204         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4205         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4206         of `file-remote-p'.
4208         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4209         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4210         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4211         (tramp-gw-open-network-stream): Suppress unrelated traces.
4213         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4214         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4215         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4216         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4217         connection property.
4219         * net/tramp-cache.el (top): Suppress traces when reading
4220         persistency file.
4222         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4223         Refactor common code.  Improve debug message.
4224         (tramp-maybe-open-connection)
4225         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4226         connection buffer too early.
4228         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4229         from `tramp-smb-actions-with-acl'.
4230         (tramp-smb-actions-set-acl): New defconst.
4231         (tramp-smb-handle-copy-directory)
4232         (tramp-smb-action-get-acl): New defun, renamed from
4233         `tramp-smb-action-with-acl'.
4234         (tramp-smb-action-set-acl): New defun.
4235         (tramp-smb-handle-set-file-acl): Rewrite.
4237 2013-10-17  Glenn Morris  <rgm@gnu.org>
4239         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
4241 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4243         * skeleton.el (skeleton-newline): Remove.
4244         (skeleton-internal-1): Use (insert "\n") instead.
4246         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4247         let-bindings.
4249         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4250         forward-sexp-function while we redo its job (bug#15613).
4252 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
4254         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4255         represented by lists.
4257 2013-10-16  Glenn Morris  <rgm@gnu.org>
4259         * tmm.el (tmm--history): New dynamic variable.
4260         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
4262 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
4264         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4265         (tramp-smb-errors): Add error messages.
4266         (tramp-smb-actions-with-acl): New defconst.
4267         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4268         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4269         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4270         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4271         (tramp-smb-get-stat-capability): Fix tests.
4273 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4275         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4276         (bug#15580).
4278 2013-10-16  Glenn Morris  <rgm@gnu.org>
4280         * ansi-color.el (ansi-color-drop-regexp):
4281         Add 1J, 1K, 2K.  (Bug#15617)
4283         * files.el (hack-local-variables--warned-lexical): New.
4284         (hack-local-variables):
4285         Warn about misplaced lexical-binding.  (Bug#15616)
4287         * net/eww.el (eww-render): Always set eww-current-url,
4288         and update header line.  (Bug#15622)
4289         (eww-display-html): ... Rather than just doing it here.
4291 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
4293         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4294         menu navigations commands.
4296 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4298         * progmodes/subword.el (subword-capitalize): Be careful when
4299         the search for [[:alpha:]] fails (bug#15580).
4301 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
4303         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4304         to commands that scroll the menu.
4306 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
4308         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4309         Handle methods ending with `?' and `!'.
4311 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
4313         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4314         `japanese-cp932' to `cp932' to fix the problem where saving a
4315         source file written in Shift_JIS twice would end up having
4316         `coding: japanese-cp932' which Ruby could not recognize.
4317         (ruby-mode-set-encoding): Add support for encodings mapped to nil
4318         in `ruby-encoding-map'.
4319         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4320         doesn't need to be explicitly declared in magic comment.
4321         (ruby-encoding-map): Add type declaration for better customize UI.
4323 2013-10-13  Glenn Morris  <rgm@gnu.org>
4325         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4326         Occur buffers are read-only.  http://bugs.debian.org/720775
4328         * emacs-lisp/authors.el (authors-fixed-entries):
4329         Comment out old alpha stuff.
4331 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
4333         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4334         to `after-save-hook' instead of `before-save-hook'.
4335         (ruby-mode-set-encoding): Use the value of coding system used to
4336         write the file.  Call `basic-save-buffer-1' after modifying the
4337         buffer.
4339 2013-10-13  Alan Mackenzie  <acm@muc.de>
4341         Fix indentation/fontification of Java enum with
4342         "implements"/generic.
4344         * progmodes/cc-engine.el (c-backward-over-enum-header):
4345         Extracted from the three other places and enhanced to handle generics.
4346         (c-inside-bracelist-p): Uses new function above.
4347         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4348         function above.
4349         (c-font-lock-enum-tail): Uses new function above.
4351 2013-10-13  Kenichi Handa  <handa@gnu.org>
4353         * international/mule-cmds.el (select-safe-coding-system): Remove a
4354         superfluous condition in chekcing whether a coding system is safe
4355         or not.
4357 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
4359         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
4361 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
4363         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
4365 2013-10-13  Glenn Morris  <rgm@gnu.org>
4367         * menu-bar.el (menu-bar-update-buffers):
4368         Unify Buffers menu prompt string.  (Bug#15576)
4370         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
4372         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4373         Add some entries.
4374         (authors-fixed-entries): Use accented form of name.
4376 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4379         method calls (bug#15594).
4380         (ruby-smie--args-separator-p): New function.
4381         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4382         recognize paren-free method calls.
4384         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4385         internals of universal-argument.
4387 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
4389         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4390         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4391         dropped menu on second mouse click on the menu bar.
4393 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4395         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4396         (explicit-shell-file-name): Declare.
4397         (sh--vars-before-point, sh--cmd-completion-table): New functions.
4398         (sh-completion-at-point-function): New function.
4399         (sh-mode): Use it.
4400         (sh-smie--keyword-p): Remove unused argument.
4401         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4402         vars.
4403         (sh-set-shell): Always setup SMIE, even if we use the
4404         old indentation code.
4406 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
4408         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4409         cases of ? and =.
4410         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
4411         predicate would return nil are almost non-existent.
4412         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4414         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4415         cache also after commands that modify the buffer but don't move
4416         point.
4418 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4420         * env.el (substitute-env-in-file-name): New function.
4421         (substitute-env-vars): Extend the meaning of the optional arg.
4423 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
4425         * term/w32-win.el (dynamic-library-alist): Define separate lists
4426         of GIF DLLs for versions before and after 5.0.0 of giflib.
4427         (Bug#15531)
4429 2013-10-10  João Távora  <joaotavora@gmail.com>
4431         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4432         not locked, use last revision and current source as
4433         defaults.  (Bug#15569)
4435 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
4437         * menu-bar.el (menu-bar-open): Don't use popup-menu if
4438         menu-bar is hidden.
4440 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
4442         * window.el (pop-to-buffer-same-window): Fix doc-string.
4443         (Bug#15492)
4445 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4449 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
4451         * calendar/icalendar.el (icalendar-import-file):
4452         Fix interactive spec.  (Bug#15482)
4454 2013-10-10  Glenn Morris  <rgm@gnu.org>
4456         * desktop.el (desktop-save): Default to saving in .emacs.d,
4457         since PWD is no longer in desktop-path by default.  (Bug#15319)
4459         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4460         now that text mode has a menu with the same entry.
4461         (menu-bar-text-mode-auto-fill): Remove now unused func.
4462         * textmodes/text-mode.el (text-mode-map):
4463         Use auto-fill help text from menu-bar.el.
4465 2013-10-10  John Anthony  <john@jo.hnanthony.com>
4467         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
4469 2013-10-09  Juri Linkov  <juri@jurta.org>
4471         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4472         instead of this-command-keys.  Add universal-argument-more and
4473         universal-argument-minus to the list of prefix commands.  (Bug#15568)
4475 2013-10-09  Glenn Morris  <rgm@gnu.org>
4477         * vc/vc-svn.el (vc-svn-create-repo):
4478         Expand paths in file://... url.  (Bug#15446)
4480         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4481         Add some entries.
4482         (authors): Remove unused local variables.
4484 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4486         * profiler.el: Create a more coherent calltree from partial backtraces.
4487         (profiler-format): Hide the tail with `invisible' so that C-s can still
4488         find the hidden elements.
4489         (profiler-calltree-depth): Don't recurse so enthusiastically.
4490         (profiler-function-equal): New hash-table-test.
4491         (profiler-calltree-build-unified): New function.
4492         (profiler-calltree-build): Use it.
4493         (profiler-report-make-name-part): Indent the calltree less.
4494         (profiler-report-mode): Add visibility specs for profiler-format.
4495         (profiler-report-expand-entry, profiler-report-toggle-entry):
4496         Expand the whole subtree when provided with a prefix arg.
4498 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
4500         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4501         iuwu-mod token.
4502         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4503         hanging iuwu-mod token.
4504         (ruby-smie--forward-token): Do not include a dot after a token in
4505         that token.
4506         (ruby-smie--backward-token): Likewise.
4508 2013-10-08  Juri Linkov  <juri@jurta.org>
4510         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4511         to isearch-other-control-char.
4512         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4513         and isearch-post-command-hook to post-command-hook.
4514         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4515         and isearch-post-command-hook from post-command-hook.
4516         (isearch-unread-key-sequence)
4517         (isearch-reread-key-sequence-naturally)
4518         (isearch-lookup-scroll-key, isearch-other-control-char)
4519         (isearch-other-meta-char): Remove functions.
4520         (isearch-pre-command-hook, isearch-post-command-hook):
4521         New functions based on isearch-other-meta-char rewritten
4522         relying on the new behavior of overriding-terminal-local-map
4523         that does not replace the local keymaps any more.  (Bug#15200)
4525 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
4527         Support menus on text-mode terminals.
4528         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4529         functionality.
4531         * tooltip.el (tooltip-mode): Don't error out on TTYs.
4533         * menu-bar.el (popup-menu, popup-menu-normalize-position):
4534         Move here from mouse.el.
4535         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4536         and arrow keys.
4537         (tty-menu-navigation-map): New map for TTY menu navigation.
4539         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4541         * frame.el (display-mouse-p): Report text-mode mouse as available
4542         on w32.
4543         (display-popup-menus-p): Report availability if mouse is
4544         available; don't condition on window-system.
4546         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4547         (tty-menu-selected-face): New faces.
4549 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4551         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4552         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4553         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4554         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4555         New constants.
4556         (lisp-mode-variables): New `elisp' argument.
4557         (emacs-lisp-mode): Use it.
4558         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4559         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4561         * indent.el: Use lexical-binding.
4562         (indent-region): Add progress reporter.
4563         (tab-stop-list): Make it implicitly extend to infinity by repeating the
4564         last step.
4565         (indent--next-tab-stop): New function to implement this behavior.
4566         (tab-to-tab-stop, move-to-tab-stop): Use it.
4568 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
4570         * indent.el (indent-rigidly--current-indentation): New function.
4571         (indent-rigidly-map): New var.
4572         (indent-rigidly): Use it to provide interactive mode (bug#8196).
4574 2013-10-08  Bastien Guerry  <bzg@gnu.org>
4576         * register.el (insert-register): Fix 2013-10-07 change.
4578 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4580         * progmodes/perl-mode.el: Use lexical-binding.
4581         Remove redundant :group args.
4582         (perl-nochange): Change default to be closer to other major modes's
4583         standard behavior.
4584         (perl-indent-line): Don't consider text on current line as a
4585         valid beginning of function from which to indent.
4587         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4588         with more than one argument (bug#15538).
4590         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4592         * vc/pcvs.el: Use lexical-binding.
4593         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4594         environment of `eval'.
4595         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4596         than a list of expressions.  Adjust callers.
4597         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4599 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
4601         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4602         case of the dot in a chained method call being on the following line.
4604 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4606         * electric.el (electric-indent-inhibit): New var.
4607         (electric-indent-post-self-insert-function): Use it.
4608         * progmodes/python.el (python-mode): Set it.
4610         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4611         open braces.
4613         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4615         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4616         (css-mode): Use electric-indent-chars.
4618         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4619         (font-lock-beg, font-lock-end): Move before first use.
4620         (nxml-mode): Use syntax-propertize-function.
4621         (nxml-after-change, nxml-after-change1): Adjust accordingly.
4622         (nxml-extend-after-change-region): Remove.
4623         * nxml/xmltok.el: Use lexical-binding.
4624         (xmltok-save): Use `declare'.
4625         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4626         * nxml/nxml-util.el: Use lexical-binding.
4627         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4628         Use `declare'.
4629         * nxml/nxml-ns.el: Use lexical-binding.
4630         (nxml-ns-save): Use `declare'.
4631         (nxml-ns-prefixes-for): Avoid add-to-list.
4632         * nxml/rng-match.el: Use lexical-binding.
4633         (rng--ipattern): Use cl-defstruct.
4634         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4635         (rng-cons-group-after, rng-subst-group-after)
4636         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4637         Use closures instead of `(lambda...).
4639 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
4641         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4642         of BEG and END.
4644         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4645         Use `tramp-handle-insert-file-contents'.
4646         (tramp-gvfs-handle-insert-file-contents): Remove function.
4648         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4649         Use `save-restriction' in order to keep markers.
4651         * net/trampver.el: Update release number.
4653 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4655         * progmodes/compile.el (compilation-parse-errors):
4656         Use compilation--put-prop.
4657         (compilation--ensure-parse): Check compilation-multiline.
4659         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4661         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4662         lexical-binding.
4664         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4666         * progmodes/ruby-mode.el: Fix recently added tests.
4667         (ruby-smie-grammar): Add - and +.
4668         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4669         (ruby-smie--backward-id): New functions.
4670         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4671         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
4672         any more.
4674 2013-10-07  Leo Liu  <sdl.web@gmail.com>
4676         * register.el (register-preview-delay)
4677         (register-preview-functions): New variables.
4678         (register-read-with-preview, register-preview)
4679         (register-describe-oneline): New functions.
4680         (point-to-register, window-configuration-to-register)
4681         (frame-configuration-to-register, jump-to-register)
4682         (number-to-register, view-register, insert-register)
4683         (copy-to-register, append-to-register, prepend-to-register)
4684         (copy-rectangle-to-register): Use register-read-with-preview to
4685         read register.  (Bug#15525)
4687 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
4689         * net/network-stream.el (network-stream-open-starttls): Don't add
4690         --insecure if it's already present, because that gnutls-cli
4691         rejects getting that parameter twice.
4693 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
4695         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4696         keyword, too.
4698 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
4700         * newcomment.el (comment-use-global-state): Change default value
4701         to t, mark obsolete (Bug#15251).
4702         (comment-beginning): In addition to `comment-to-syntax', check the
4703         value of `comment-use-global-state'.
4705 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4708         (ruby-comment-column): Follow the global default, by default.
4709         (ruby-smie-grammar): Add assignment syntax.
4710         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4711         open-paren, a comma, or a \.
4712         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4713         and line continuations.
4714         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4715         followed by implicit semi-colons.  Add rule for string concatenation
4716         and for indentation at BOB.
4717         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4719         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4720         calling next-sexp, since next-token may have skipped chars which
4721         next-sexp doesn't know should be skipped!
4723 2013-10-05  Leo Liu  <sdl.web@gmail.com>
4725         * progmodes/octave.el (octave-send-region):
4726         Call compilation-forget-errors.
4728 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4730         * vc/vc-svn.el (vc-svn-find-admin-dir):
4731         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4732         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4733         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4734         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4736 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4738         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4740 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4742         * subr.el (read-passwd): Hide chars even when called within a context
4743         where after-change-functions is disabled (bug#15501).
4744         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4745         until we removed ourself from overriding-terminal-local-map.
4747 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4749         * progmodes/octave.el (inferior-octave-mode):
4750         Call compilation-forget-errors.
4752 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4754         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4756 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4758         * net/secrets.el (secrets-create-collection): Add optional
4759         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4760         dbus-call-method argument.  (Bug#15516)
4762 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4764         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4765         (inferior-octave-compilation-font-lock-keywords): New variables.
4766         (compilation-error-regexp-alist)
4767         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4768         (inferior-octave-mode): Use compilation-shell-minor-mode.
4770 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4772         * minibuffer.el (completion--replace): Be careful that `end' might be
4773         a marker.
4775 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4777         Add support for package signature checking.
4778         * emacs-lisp/package.el (url-http-file-exists-p)
4779         (epg-make-context, epg-context-set-home-directory)
4780         (epg-verify-string, epg-context-result-for)
4781         (epg-signature-status, epg-signature-to-string)
4782         (epg-check-configuration, epg-configuration)
4783         (epg-import-keys-from-file): Declare.
4784         (package-check-signature): New user option.
4785         (package-unsigned-archives): New user option.
4786         (package-desc): Add `signed' field.
4787         (package-load-descriptor): Set `signed' field if .signed file exists.
4788         (package--archive-file-exists-p): New function.
4789         (package--check-signature): New function.
4790         (package-install-from-archive): Check package signature.
4791         (package--download-one-archive): Check archive signature.
4792         (package-delete): Remove .signed file.
4793         (package-import-keyring): New command.
4794         (package-refresh-contents): Import default keyring.
4795         (package-desc-status): Add "unsigned" status.
4796         (describe-package-1, package-menu--print-info)
4797         (package-menu-mark-delete, package-menu--find-upgrades)
4798         (package-menu--status-predicate): Support "unsigned" status.
4800 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4802         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4803         the new compilation scheme using the new byte-codes.
4805         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4806         (byte-pophandler): New byte codes.
4807         (byte-goto-ops): Adjust accordingly.
4808         (byte-compile--use-old-handlers): New var.
4809         (byte-compile-catch): Use new byte codes depending on
4810         byte-compile--use-old-handlers.
4811         (byte-compile-condition-case--old): Rename from
4812         byte-compile-condition-case.
4813         (byte-compile-condition-case--new): New function.
4814         (byte-compile-condition-case): New function that dispatches depending
4815         on byte-compile--use-old-handlers.
4816         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4817         when we can.
4819         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4820         Optimize under `condition-case' and `catch' if
4821         byte-compile--use-old-handlers is nil.
4822         (disassemble-offset): Handle new bytecodes.
4824 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4826         * subr.el (error): Use `declare'.
4827         (decode-char, encode-char): Use advertised-calling-convention instead
4828         of the docstring to discourage use of the `restriction' arg.
4830 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4832         * epg.el (epg-verify-file): Add a comment saying that it does not
4833         notify verification error as a return value nor a signal.
4834         (epg-verify-string): Ditto.
4836 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4838         * progmodes/compile.el (compilation-start): Try globbing the arg to
4839         `cd' (bug#15417).
4841 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4843         Sync with Tramp 2.2.8.
4845         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4846         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4847         * net/trampver.el: Update release number.
4849 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
4851         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4852         and default-process-coding-system for darwin only.
4854 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4858 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
4860         * vc/vc-git.el (vc-git-grep): Disable pager.
4862 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4864         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4865         Use :url instead of :homepage, as per
4866         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4868         * newcomment.el (comment-beginning): When `comment-use-syntax' is
4869         non-nil, use `syntax-ppss' (Bug#15251).
4871 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4873         * progmodes/octave.el (inferior-octave-startup-file):
4874         Prefer ~/.emacs.d/init_octave.m.
4876 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
4878         * emacs-lisp/package.el (package-desc-from-define):
4879         Accept additional arguments as plist, convert them to an alist and store
4880         them in the `extras' slot.
4881         (package-generate-description-file): Convert extras alist back to
4882         plist and append to the `define-package' form arguments.
4883         (package--alist-to-plist): New function.
4884         (package--ac-desc): Add `extras' slot.
4885         (package--add-to-archive-contents): Check if the archive-contents
4886         vector is long enough, and if it is, pass its `extras' slot value
4887         to `package-desc-create'.
4888         (package-buffer-info): Call `lm-homepage', pass the returned value
4889         to `package-desc-from-define'.
4890         (describe-package-1): Render the homepage button (Bug#13291).
4892         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4893         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4895 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
4897         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4898         and default-process-coding-system to utf-8-unix (Bug#15402).
4900 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
4902         * subr.el (looking-back): Do not recommend using looking-back.
4904 2013-09-28  Alan Mackenzie  <acm@muc.de>
4906         Fix indentation/fontification of Java enum with "implements".
4908         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4909         regexp which matches "implements", etc., in Java.
4910         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4911         specifier clauses coming after "enum".
4912         * progmodes/cc-fonts.el (c-font-lock-declarations)
4913         (c-font-lock-enum-tail): Check for extra specifier clauses coming
4914         after "enum".
4916 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
4918         * faces.el (region): Change ns_selection_color to
4919         ns_selection_fg_color, add ns_selection_bg_color.
4921 2013-09-28  Leo Liu  <sdl.web@gmail.com>
4923         * progmodes/octave.el (inferior-octave-completion-table)
4924         (inferior-octave-completion-at-point): Minor tweaks.
4926         * textmodes/ispell.el (ispell-lookup-words): Rename from
4927         lookup-words.  (Bug#15460)
4928         (lookup-words): Obsolete.
4929         (ispell-complete-word, ispell-command-loop): All uses changed.
4931 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4933         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4934         (octave-mode-menu): Add octave-send-buffer.
4935         (octave-send-buffer): New function.
4937 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4939         * progmodes/octave.el (octave-mode-map): Add key binding for
4940         octave-lookfor.
4941         (octave-mode-menu): Add octave-lookfor.
4942         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4943         octave-lookfor.
4944         (octave-lookfor): New function.
4946 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4948         * emacs-lisp/cl-macs.el:
4949         (cl--loop-destr-temps): Remove.
4950         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4951         its convention.
4952         (cl--loop-set-iterator-function): New function.
4953         (cl-loop): Adjust accordingly, so as not to use cl-subst.
4954         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4955         Bind `it' with `let' instead of substituting it with `cl-subst'.
4956         (cl--unused-var-p): New function.
4957         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4958         Eliminate some unused variable warnings (bug#15326).
4960 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
4962         * doc-view.el (doc-view-scale-reset): Rename from
4963         `doc-view-reset-zoom-level'.
4964         (doc-view-scale-adjust): New command.
4965         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4966         `doc-view-scale-adjust'.
4968 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
4970         * doc-view.el (doc-view-reset-zoom-level): New command.
4971         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4972         zoom commands (bug#15466).
4974 2013-09-26  Kenichi Handa  <handa@gnu.org>
4976         * international/quail.el (quail-help): Make it not a command.
4978 2013-09-26  Leo Liu  <sdl.web@gmail.com>
4980         * minibuffer.el (completion-all-sorted-completions): Make args
4981         optional as they are.
4983 2013-09-25  Daniel Colascione  <dancol@dancol.org>
4985         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4986         specs are and that they're not evaluated.
4988 2013-09-24  Sam Steingold  <sds@gnu.org>
4990         * midnight.el (clean-buffer-list-kill-regexps)
4991         (clean-buffer-list-kill-buffer-names): Update for the new Man
4992         buffer naming which includes the object name.
4994 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4996         * eshell/esh-cmd.el (eshell--sep-terms): New var.
4997         (eshell-parse-command, eshell-parse-pipeline): Use it since
4998         eshell-separate-commands requires a dynamic scoped var.
4999         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5001 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5003         * autoinsert.el (auto-insert-alist): Make the value of
5004         lexical-binding match its file setting.
5006 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5008         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5010         * autoarg.el (autoarg-kp-digit-argument):
5011         * electric.el (Electric-command-loop):
5012         * kmacro.el (kmacro-step-edit-insert):
5013         Do not set universal-argument-num-events.
5015 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5017         * files.el (interpreter-mode-alist): Add octave.
5019 2013-09-21  Alan Mackenzie  <acm@muc.de>
5021         C++: fontify identifier in declaration following "public:" correctly.
5022         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5023         to match "public", etc.
5024         (c-decl-prefix-re): Add ":" into the C++ value.
5025         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5026         bit.  Add a check for a ":" preceded by "public", etc.
5028 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
5030         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5031         recognized by GDB 7.5 and later.
5033 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
5035         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5037 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5039         * subr.el (internal--call-interactively): New const.
5040         (called-interactively-p): Use it (bug#3984).
5042 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
5044         * vc/pcvs.el (cvs-mode-ignore):
5045         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5046         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5048 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5050         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
5051         (eshell-ls-orig-insert-directory): Remove.
5052         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
5053         (eshell-ls-use-in-dired): Use advice-add/remove.
5054         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5055         Add `orig-fun' arg for use in :around advice.
5056         Make it check (redundantly) eshell-ls-use-in-dired.
5058 2013-09-19  Glenn Morris  <rgm@gnu.org>
5060         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5062         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5064         * emacs-lisp/eieio.el (class-parent): Undo previous change.
5066 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
5068         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5069         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5070         (tramp-get-remote-python): New defuns.
5071         (tramp-get-remote-uid-with-perl)
5072         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
5073         contributed by yary <not.com@gmail.com> (tiny change).
5074         (tramp-get-remote-uid-with-python)
5075         (tramp-get-remote-gid-with-python): New defuns.  Python code
5076         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5077         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5079 2013-09-19  Glenn Morris  <rgm@gnu.org>
5081         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5083         * eshell/em-unix.el (eshell-remove-entries):
5084         Rename argument to avoid name-clash with global `top-level'.
5086         * eshell/esh-proc.el (eshell-kill-process-function):
5087         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5088         (eshell-reset-after-proc): Remove unused arg `proc'.
5090         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5091         (directory-files-and-attributes): Mark unused arg.
5093         * eshell/em-unix.el (eshell-remove-entries):
5094         Remove unused arg `path'.  Update callers.
5096         * eshell/em-hist.el (eshell-hist-parse-arguments):
5097         Remove unused arg `silent'.  Update callers.
5099         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5100         Fix (f)boundp mix-up.
5102         * eshell/em-smart.el (eshell-smart-scroll-window)
5103         (eshell-disable-after-change):
5104         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5106 2013-09-18  Alan Mackenzie  <acm@muc.de>
5108         Fix fontification of type when followed by "const".
5109         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5110         "known" types from fontification.
5112 2013-09-18  Glenn Morris  <rgm@gnu.org>
5114         * emacs-lisp/chart.el (x-display-color-cells): Declare.
5115         (chart-face-list): Drop Emacsen without display-color-p.
5117         * net/eww.el (libxml-parse-html-region): Declare.
5118         (eww-display-html): Explicit error if no libxml2 support.
5120         * doc-view.el (doc-view-mode): Silence --without-x compilation.
5122         * image.el (image-type-from-buffer, image-multi-frame-p):
5123         Remove --without-x warning/error.
5125         * mouse.el (mouse-yank-primary):
5126         * term.el (term-mouse-paste):
5127         Reorder to silence --without-x compilation.
5129         * mpc.el (doc-view-mode): Silence --without-x compilation.
5131         * mail/rmailmm.el (rmail-mime-set-bulk-data):
5132         Silence --without-x compilation.
5134         * progmodes/gud.el (gud-find-file, gud-mode):
5135         Silence --without-x compilation.
5136         (tooltip-mode): Declare.
5138         * wdired.el (dired-backup-overwrite): Remove declaration.
5139         (wdired-mode-map): Add doc string.
5141         * custom.el (x-get-resource): Declare.
5143         * eshell/em-glob.el (ange-cache):
5144         * eshell/em-unix.el (ange-cache): Declare.
5146         * faces.el (x-display-list, x-open-connection, x-get-resource):
5147         Declare.
5149         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5150         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5151         Declare.
5153         * frame.el (x-display-grayscale-p, x-display-name): Declare.
5155         * net/gnutls.el (gnutls-log-level): Declare.
5157         * net/shr.el (image-size, image-animate): Declare.
5159         * simple.el (font-info): Declare.
5161         * subr.el (x-popup-dialog): Declare.
5163         * term/common-win.el (x-select-enable-primary)
5164         (x-last-selected-text-primary, x-last-selected-text-clipboard):
5165         Declare.
5167         * term/ns-win.el (x-handle-args): Declare.
5169         * term/x-win.el (x-select-enable-clipboard): Declare.
5171         * term/w32-win.el (create-default-fontset): Declare.
5173         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5174         Declare.
5176         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5177         (fit-frame-to-buffer): Explicit error if --without-x.
5178         (mouse-autoselect-window-select): Silence compiler.
5180         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5182         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5183         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5184         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5185         * eshell/esh-util.el (eshell-sublist):
5186         Remove unused local variables.
5188         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5190         * textmodes/two-column.el: Make 2C-split work for --without-x.
5191         (scroll-bar-columns): Autoload.
5192         (top-level): Require fringe when compiling.
5194 2013-09-18  Leo Liu  <sdl.web@gmail.com>
5196         * subr.el (add-hook): Robustify to handle closure as well.
5198 2013-09-17  Glenn Morris  <rgm@gnu.org>
5200         * simple.el (messages-buffer-mode-map): Unbind "g".
5202 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5204         * help-mode.el (help-mode-finish): Use derived-mode-p.
5205         Remove obsolete highlighting.
5207         * play/life.el (life-mode): Use define-derived-mode.  Derive from
5208         special-mode.
5209         (life): Let-bind inhibit-read-only.
5210         (life-setup): Avoid `setq'.  Use `life-mode'.
5212         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5213         which should not be needed any more.
5214         (package-menu-refresh, package-menu-describe-package): Use user-error.
5216         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5217         (eshell-post-rewrite-command-hook): Make obsolete.
5218         (eshell-parse-command): Simplify.
5219         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5220         (eshell--cmd): Declare.
5221         (eshell-parse-pipeline): Remove unused var `final-p'.
5222         Pass a dynvar to eshell-post-rewrite-command-hook.
5223         Implement the new eshell-post-rewrite-command-function.
5224         (eshell-invoke-directly): Remove unused arg `input'.
5225         * eshell/esh-io.el (eshell-io-initialize):
5226         Use eshell-post-rewrite-command-function (bug#15399).
5227         (eshell--apply-redirections): Rename from eshell-apply-redirections;
5228         adjust to new calling convention.
5229         (eshell-create-handles): Rename args to avoid clashing with dynvar
5230         `standard-output'.
5232 2013-09-17  Glenn Morris  <rgm@gnu.org>
5234         * simple.el (messages-buffer-mode): New major mode.
5235         (messages-buffer): New function.
5236         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5237         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5238         (ert-run-test): Use `messages-buffer' function.
5239         (ert--force-message-log-buffer-truncation): Ignore read-only.
5240         * help.el (view-echo-area-messages): Use `messages-buffer' function.
5241         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5243 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5245         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5247         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5249 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5251         * icomplete.el (icomplete-in-buffer): New var.
5252         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5253         vars and replace them with functions.
5254         (icomplete-minibuffer-setup): Adjust accordingly.
5255         (icomplete--completion-table, icomplete--completion-predicate)
5256         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5257         New functions.
5258         (icomplete-forward-completions, icomplete-backward-completions)
5259         (icomplete-simple-completing-p, icomplete-exhibit)
5260         (icomplete-completions): Use them.
5261         (icomplete--in-region-buffer): New var.
5262         (icomplete--in-region-setup): New function.
5263         (icomplete-mode): Use it.
5265         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5266         (bug#15379).
5267         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5268         return args and options.
5269         (eshell-eval-using-options): Use the new return value of
5270         eshell--do-opts to set the options's vars in their scope.
5271         (eshell--set-option): Rename from eshell-set-option.
5272         Add arg `opt-vals'.
5273         (eshell--process-option): Rename from eshell-process-option.
5274         Add arg `opt-vals'.
5275         (eshell--process-args): Use an `opt-vals' alist to store the options's
5276         values during their processing and return them additionally to the
5277         remaining args.
5279 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
5281         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5282         continuation character an operator, as far as indentation is
5283         concerned (Bug#15369).
5285 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
5287         * window.el (window--state-put-2): Don't process buffer state
5288         when buffer doesn't exist any more (Bug#15382).
5290 2013-09-15  Glenn Morris  <rgm@gnu.org>
5292         * eshell/em-unix.el (eshell/rm):
5293         Make -f ignore missing files.  (Bug#15373)
5295         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
5296         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5297         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5299 2013-09-14  Glenn Morris  <rgm@gnu.org>
5301         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5303 2013-09-13  Glenn Morris  <rgm@gnu.org>
5305         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5306         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
5308 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
5310         * frame.el (x-focus-frame): Mark as declared in frame.c.
5312 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5314         * ls-lisp.el: Use advice-add.
5315         (original-insert-directory): Remove.
5316         (ls-lisp--insert-directory): Rename from insert-directory; add
5317         `orig-fun' argument.
5318         (insert-directory): Advise.
5320 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
5322         * term.el (term-emulate-terminal): Decode the command string
5323         before passing it to term-command-hook.  (Bug#15337)
5325 2013-09-13  Glenn Morris  <rgm@gnu.org>
5327         * eshell/esh-util.el (ange-cache): Move declaration earlier.
5329         * eshell/esh-ext.el (eshell-search-path): Declare.
5331         * eshell/em-prompt.el (eshell/pwd): Autoload it.
5332         Otherwise an error occurs if eshell-dirs module not loaded.
5334         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5336 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
5338         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5339         `tramp-check-proper-host'.  Check for a valid method name.
5341         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5342         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5343         * net/tramp-sh.el (tramp-maybe-open-connection):
5344         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5346         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5347         also for hash values.
5349 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5351         * term/ns-win.el (parameters): Don't declare as dynamic.
5352         (before-make-frame-hook): Don't add ineffective function.
5354         * eshell/*.el: Use lexical-binding (bug#15231).
5356 2013-09-12  Kenichi Handa  <handa@gnu.org>
5358         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5360 2013-09-12  Glenn Morris  <rgm@gnu.org>
5362         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5363         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5365         * subr.el (do-after-load-evaluation): Also give compiler warnings
5366         when obsolete files are used (except by obsolete files).
5368         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5369         in the status output, assume `filename' is the first.  (Bug#15322)
5371         * vc/vc.el (vc-deduce-fileset): Doc fix.
5373         * calc/calc-help.el (Info-goto-node):
5374         * progmodes/cperl-mode.el (Info-find-node):
5375         * vc/ediff.el (Info-goto-node): Update declarations.
5377         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5379         * vc/vc-bzr.el (vc-compilation-mode): Declare.
5380         (vc-bzr-pull): Require vc-dispatcher.
5381         * vc/vc-git.el (vc-compilation-mode): Declare.
5382         (vc-git-pull): Require vc-dispatcher.
5384         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5386         * progmodes/octave.el (help-button-action): Declare.
5388         * shell.el (shell-directory-tracker): Output error as a message
5389         rather than just returning it as a string.
5390         (shell-process-pushd): Remove useless use of message.
5392         * dframe.el (dframe-timer-fn):
5393         * files.el (dir-locals-read-from-file):
5394         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5395         (mpc-format):
5396         * reveal.el (reveal-post-command):
5397         * saveplace.el (load-save-place-alist-from-file):
5398         * shell.el (shell-resync-dirs):
5399         * w32-common-fns.el (x-get-selection-value):
5400         * emacs-lisp/copyright.el (copyright-find-copyright):
5401         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5402         * emulation/tpu-edt.el (tpu-copy-keyfile):
5403         * play/bubbles.el (bubbles--mark-neighbourhood):
5404         * progmodes/executable.el
5405         (executable-make-buffer-file-executable-if-script-p):
5406         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5408 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5410         Cleanup Eshell to rely less on dynamic scoping.
5411         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5412         last-value, and ext-command here.  Bind `args' closer to `body'.
5413         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5414         (eshell--args): Declare new dynamic var.
5415         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
5416         last-value, and ext-command.  Pass `args' to `body'.
5417         (eshell-process-args): Bind eshell--args.
5418         (eshell-set-option): Use eshell--args.
5419         * eshell/eshell.el (eshell): Use derived-mode-p.
5420         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5421         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5422         (eshell-glob-function): Declare.
5423         * eshell/esh-util.el: Require cl-lib.
5424         (eshell-read-hosts-file): Avoid add-to-list.
5425         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5426         `err'.
5427         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5428         Declare.
5429         (eshell/diff): Remove unused var `err'.
5430         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5431         `killflag'.
5432         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5433         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5434         first use.
5435         * eshell/em-glob.el (eshell-glob-matches, message-shown):
5436         Move declaration before first use.
5437         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5438         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5439         rely on cl-return.
5441 2013-09-12  Glenn Morris  <rgm@gnu.org>
5443         * term/ns-win.el (global-map): Remove binding for ispell-next,
5444         deleted 1999-05-29.  (Bug#15357)
5446 2013-09-11  Glenn Morris  <rgm@gnu.org>
5448         * echistory.el (electric-command-history): Remove call to deleted func.
5450         * play/landmark.el (landmark-mode): Fix typos.
5452         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5453         Check cvs-sort-ignore-file is bound.
5455         * savehist.el: No need for cl when compiling on Emacs.
5457 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5459         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5460         (bug#15338).
5461         (eshell-self-insert-command, eshell-send-invisible):
5462         Remove unused argument.
5463         (eshell-handle-control-codes): Remove unused var `orig'.
5464         Avoid delete-backward-char.
5466         * files.el (set-auto-mode): Simplify a bit further.
5468 2013-09-11  Glenn Morris  <rgm@gnu.org>
5470         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5471         (set-auto-mode): Don't regexp-quote elements.
5472         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5473         * progmodes/cc-mode.el (interpreter-mode-alist):
5474         * progmodes/ruby-mode.el (interpreter-mode-alist):
5475         Revert previous change.
5477 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5479         * play/snake.el (snake-mode):
5480         * play/mpuz.el (mpuz-mode):
5481         * play/landmark.el (lm-mode):
5482         * play/blackbox.el (blackbox-mode):
5483         * play/5x5.el (5x5-mode):
5484         * obsolete/options.el (Edit-options-mode):
5485         * net/quickurl.el (quickurl-list-mode):
5486         * net/newst-treeview.el (newsticker-treeview-mode):
5487         * mail/rmailsum.el (rmail-summary-mode):
5488         * mail/mspools.el (mspools-mode):
5489         * locate.el (locate-mode):
5490         * ibuffer.el (ibuffer-mode):
5491         * emulation/ws-mode.el (wordstar-mode):
5492         * emacs-lisp/debug.el (debugger-mode):
5493         * array.el (array-mode):
5494         * net/eudc.el (eudc-mode): Use define-derived-mode.
5495         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5496         Move initialization into declaration.
5497         (mairix-searches-mode): Use define-derived-mode.
5498         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5499         (eudc-edit-hotlist): Use dolist.
5500         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5501         (Man-mode): Use define-derived-mode.
5502         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5503         (Info-edit-mode): Use define-derived-mode.
5504         (Info-cease-edit): Use Info-mode.
5505         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5506         into declaration.
5507         (eshell-mode): Use define-derived-mode.
5508         * chistory.el (command-history-mode-map): Rename from
5509         command-history-map.
5510         (command-history-mode): Use define-derived-mode.
5511         (Command-history-setup): Remove function.
5512         * calc/calc.el (calc-trail-mode-map): New var.
5513         (calc-trail-mode): Use define-derived-mode.
5514         (calc-trail-buffer): Set calc-main-buffer manually.
5515         * bookmark.el (bookmark-insert-annotation): New function.
5516         (bookmark-edit-annotation): Use it.
5517         (bookmark-edit-annotation-mode): Make it a proper major mode.
5518         (bookmark-send-edited-annotation): Use derived-mode-p.
5519         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5520         closer to its ideal place.  Use \' to match EOS.
5522         * profiler.el (profiler-calltree-find): Use function-equal.
5524 2013-09-10  Glenn Morris  <rgm@gnu.org>
5526         * files.el (interpreter-mode-alist): Convert to regexps.
5527         (set-auto-mode): Adapt for this.  (Bug#15306)
5528         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5529         Comment out unused variable.
5530         * progmodes/cc-mode.el (interpreter-mode-alist):
5531         * progmodes/python.el (interpreter-mode-alist):
5532         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5533         * progmodes/sh-script.el (sh-set-shell):
5534         No longer use interpreter-mode-alist to get list of shells.
5536         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5538 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5540         * simple.el: Use set-temporary-overlay-map for universal-argument.
5541         (universal-argument-map): Don't use default-bindings (bug#15317).
5542         Bind switch-frame explicitly.  Replace universal-argument-minus with
5543         a conditional binding.
5544         (universal-argument-num-events, saved-overriding-map): Remove.
5545         (restore-overriding-map): Remove.
5546         (universal-argument--mode): Rename from save&set-overriding-map,
5547         and rewrite.
5548         (universal-argument, universal-argument-more, negative-argument)
5549         (digit-argument): Adjust accordingly.
5550         (universal-argument-minus): Remove.
5551         (universal-argument-other-key): Remove.
5553         * subr.el (with-demoted-errors): Add `format' argument.
5555 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
5557         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
5558         `tramp-cleanup-connection'.
5560         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5561         parameters KEEP-DEBUG and KEEP-PASSWORD.
5563         * net/tramp.el (tramp-file-name-handler):
5564         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5565         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5566         (tramp-maybe-open-connection):
5567         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5568         Use `tramp-cleanup-connection'.
5570         * net/tramp-sh.el (tramp-maybe-open-connection):
5571         Catch 'uname-changed inside the progress reporter.
5573 2013-09-10  Glenn Morris  <rgm@gnu.org>
5575         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
5577         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5578         returns "alternate access method" in mode (eg "-rw-r--r--.").
5580 2013-09-08  Glenn Morris  <rgm@gnu.org>
5582         * saveplace.el (load-save-place-alist-from-file):
5583         Demote errors.  (Bug#15305)
5585 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
5587         Improve compatibility with older Emacsen, and XEmacs.
5589         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5590         only if it is bound.  It isn't for XEmacs.
5591         (with-tramp-progress-reporter): Do not let-bind `result'.
5592         This yields to scoping errors in XEmacs.
5593         (tramp-handle-make-auto-save-file-name): New function, moved from
5594         tramp-sh.el.
5596         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5597         for `make-auto-save-file-name'.
5598         (tramp-adb--gnu-switches-to-ash):
5599         Use `tramp-compat-replace-regexp-in-string'.
5601         * net/tramp-cache.el (tramp-cache-print): Call
5602         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
5604         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5605         bound.  It isn't for XEmacs.
5607         * net/tramp-compat.el (tramp-compat-copy-file):
5608         Catch `wrong-number-of-arguments' error.
5609         (tramp-compat-replace-regexp-in-string): New defun.
5611         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5612         for `make-auto-save-file-name'.
5613         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5614         `copy-file'.
5615         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5616         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5617         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5619         * net/tramp-gw.el (tramp-gw-open-network-stream):
5620         Use `tramp-compat-replace-regexp-in-string'.
5622         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5623         Call `tramp-handle-make-auto-save-file-name'.
5624         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5625         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5626         (tramp-sh-file-inotifywait-process-filter):
5627         Use `tramp-compat-replace-regexp-in-string'.
5628         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5630         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5631         for `make-auto-save-file-name'.
5632         (tramp-smb-handle-copy-directory):
5633         Call `tramp-compat-replace-regexp-in-string'.
5634         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5635         (tramp-smb-handle-copy-file): Improve error message.
5636         (tramp-smb-handle-rename-file): Rename directly only in case
5637         `newname' does not exist yet.  This is a restriction of smbclient.
5638         (tramp-smb-maybe-open-connection): Rerun the function only when
5639         `auth-sources' is non-nil.
5641 2013-09-08  Kenichi Handa  <handa@gnu.org>
5643         * international/characters.el: Set category "^" (Combining) for
5644         more characters.
5646 2013-09-07  Alan Mackenzie  <acm@muc.de>
5648         Correctly fontify Java class constructors.
5649         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5650         in Java Mode.
5651         (c-recognize-typeless-decls): Set the Java value to t.
5652         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5653         While handling a "(", add a check for, effectively, Java, and handle a
5654         "typeless" declaration there.
5656 2013-09-07  Roland Winkler  <winkler@gnu.org>
5658         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5659         field subtitle for entry type book.
5661 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5663         * minibuffer.el: Make minibuffer-complete call completion-in-region
5664         rather than other way around.
5665         (completion--some, completion-pcm--find-all-completions):
5666         Don't delay signals when debugging.
5667         (minibuffer-completion-contents): Beware fields within the
5668         minibuffer contents.
5669         (completion-all-sorted-completions): Use defvar-local.
5670         (completion--do-completion, completion--cache-all-sorted-completions)
5671         (completion-all-sorted-completions, minibuffer-force-complete):
5672         Add args `beg' and `end'.
5673         (completion--in-region-1): New fun, extracted from minibuffer-complete.
5674         (minibuffer-complete): Use completion-in-region.
5675         (completion-complete-and-exit): New fun, extracted from
5676         minibuffer-complete-and-exit.
5677         (minibuffer-complete-and-exit): Use it.
5678         (completion--complete-and-exit): Rename from
5679         minibuffer--complete-and-exit.
5680         (completion-in-region--single-word): New function, extracted from
5681         minibuffer-complete-word.
5682         (minibuffer-complete-word): Use it.
5683         (display-completion-list): Make `common-substring' argument obsolete.
5684         (completion--in-region): Call completion--in-region-1 instead of
5685         minibuffer-complete.
5686         (completion-help-at-point): Pass boundaries to
5687         minibuffer-completion-help as args rather than via an overlay.
5688         (completion-pcm--string->pattern): Use `any-delim'.
5689         (completion-pcm--optimize-pattern): New function.
5690         (completion-pcm--pattern->regex): Handle `any-delim'.
5691         * icomplete.el (icomplete-forward-completions)
5692         (icomplete-backward-completions, icomplete-completions):
5693         Adjust calls to completion-all-sorted-completions and
5694         completion--cache-all-sorted-completions.
5695         (icomplete-with-completion-tables): Default to t.
5696         * emacs-lisp/crm.el (crm--current-element): Rename from
5697         crm--select-current-element.  Don't put an overlay but return the
5698         boundaries instead.
5699         (crm--completion-command): Take two new args to bind to the boundaries.
5700         (crm-completion-help): Adjust accordingly.
5701         (crm-complete): Use completion-in-region.
5702         (crm-complete-word): Use completion-in-region--single-word.
5703         (crm-complete-and-exit): Use completion-complete-and-exit.
5705 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5707         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5708         than dynamically.
5710 2013-09-06  Juri Linkov  <juri@jurta.org>
5712         * info.el (Info-display-images-node): When image file doesn't exist
5713         display text version of the image if it's provided in the Info file.
5714         Otherwise, display the location of missing image from SRC attribute.
5715         Add help-echo text property from ALT attribute.  (Bug#15279)
5717 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5719         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5720         (edit-abbrevs-mode): Use define-derived-mode.
5722         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5723         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5724         that it's defined.
5725         (epa-key-list-mode, epa-key-mode, epa-info-mode):
5726         Use define-derived-mode.
5728         * epg.el (epg-start-encrypt): Minor CSE simplification.
5730 2013-09-06  William Xu  <william.xwl@gmail.com>
5732         * arc-mode.el: Add support for 7za (bug#15264).
5733         (archive-7z-program): New var.
5734         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5735         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5736         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5738 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5740         Remove URL syntax.
5742         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5743         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5744         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5745         (tramp-postfix-host-format, tramp-file-name-regexp)
5746         (tramp-completion-file-name-regexp)
5747         (tramp-completion-dissect-file-name)
5748         (tramp-handle-substitute-in-file-name): Remove 'url case.
5749         (tramp-file-name-regexp-url)
5750         (tramp-completion-file-name-regexp-url): Remove constants.
5752 2013-09-06  Glenn Morris  <rgm@gnu.org>
5754         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5756 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5758         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5759         keywords" below "here-doc beginnings" (Bug#15270).
5761 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5763         * subr.el (pop): Use `car-safe'.
5764         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5765         to detect unused `pop' return value.
5767         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5768         var `block-regexp'.
5769         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5770         (python-fill-string): Remove unused var `marker'.
5771         (python-skeleton-add-menu-items): Remove unused var `items'.
5773         * international/mule-cmds.el: Require CL.
5774         (find-coding-systems-for-charsets): Avoid add-to-list.
5775         (sanitize-coding-system-list): New function, extracted from
5776         select-safe-coding-system-interactively.
5777         (select-safe-coding-system-interactively): Use it.
5778         (read-input-method-name): Accept symbols for `default'.
5780         * emacs-lisp/advice.el (defadvice): Add indent rule.
5782 2013-09-05  Daniel Hackney  <dan@haxney.org>
5784         * dired-x.el:
5785         * net/ange-ftp.el:
5786         * net/browse-url.el:
5787         * net/dbus.el:
5788         * net/eudc.el:
5789         * net/eudcb-ldap.el:
5790         * net/eww.el:
5791         * net/imap.el:
5792         * printing.el:
5793         * vc/ediff-diff.el:
5794         * vc/ediff-init.el:
5795         * vc/ediff-merg.el:
5796         * vc/ediff-mult.el:
5797         * vc/ediff-util.el:
5798         * vc/ediff-wind.el:
5799         * vc/ediff.el:
5800         * vc/emerge.el:
5801         * vc/pcvs.el:
5802         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5803         byte compiler.  Remove some unused let-bound variables.
5805 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5807         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5808         a "ref-cell", since it gets better optimized (bug#14883).
5810 2013-09-05  Glenn Morris  <rgm@gnu.org>
5812         * progmodes/cc-awk.el (c-forward-sws): Declare.
5814 2013-09-04  Glenn Morris  <rgm@gnu.org>
5816         * generic-x.el [rul-generic-mode]: Require cc-mode.
5817         (c++-mode-syntax-table): Declare.
5818         (rul-generic-mode-syntax-table): Init in the defvar.
5820 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5822         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5823         (vc-do-command, vc-set-async-update):
5824         * vc/vc-mtn.el (vc-mtn-dir-status):
5825         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5826         (vc-hg-pull, vc-hg-merge-branch):
5827         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5828         (vc-git-merge-branch):
5829         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5830         (vc-cvs-dir-status-files):
5831         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5832         (vc-bzr-dir-status-files):
5833         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5834         * vc/vc-annotate.el: Use lexical-binding.
5835         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5836         (vc-sentinel-movepoint): Declare.
5837         (vc-annotate): Don't use `goto-line'.
5838         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5839         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5840         (vc-sentinel-movepoint): Declare.
5841         * vc/vc-svn.el: Use lexical-binding.
5842         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5843         * vc/vc-sccs.el:
5844         * vc/vc-rcs.el: Use lexical-binding.
5846         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5847         `deleted'.  Don't drop errors silently.
5849         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5851 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
5853         * vc/vc.el (vc-ignore): Rewrite.
5854         (vc-default-ignore): New function.
5855         (vc-default-ignore-completion-table): Use find-ignore-file.
5857         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5858         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5859         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5860         Remove.  Most code moved to vc.el.
5862 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5864         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5865         * net/tramp-smb.el (tramp-smb-get-file-entries):
5866         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5867         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5869         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5870         Update call to it.
5871         (eww-change-select): Remove unused var `properties'.
5872         (eww-make-unique-file-name): Remove unused var `base'.
5874         * finder.el (finder-compile-keywords): Don't mess with windows.
5876         * calculator.el (calculator-funcall): Fix typo in last change.
5878         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5880         * emacs-lisp/package.el (package-activate-1): Don't let a missing
5881         <pkg>-autoloads.el file stop us.
5883         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5884         warnings, and factor out common code.
5886 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
5888         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5889         two-character operators and whether the character preceding them
5890         changes their meaning (Bug#15208).
5892 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5894         Format code sent to Python shell for robustness.
5895         * progmodes/python.el (python-shell-buffer-substring):
5896         New function.
5897         (python-shell-send-region, python-shell-send-buffer): Use it.
5899 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
5901         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5902         * net/tramp.el (tramp-user-error): ... here.
5903         (tramp-find-method, tramp-check-proper-host)
5904         (tramp-dissect-file-name, tramp-debug-message)
5905         (tramp-handle-shell-command):
5906         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5907         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5909         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5911 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
5913         * avoid.el (mouse-avoidance-point-position)
5914         (mouse-avoidance-too-close-p): Handle case where posn-at-point
5915         returns nil.
5917 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5919         * progmodes/python.el (python-shell-completion-get-completions):
5920         Drop use of deleted `comint-last-prompt-overlay'.
5921         (python-nav-if-name-main): New command.
5923 2013-09-01  Glenn Morris  <rgm@gnu.org>
5925         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5926         Avoid leading space in $wins.  Otherwise the sed command used by
5927         eg compile-main ends up containing "/*.el".  (Bug#15170)
5929         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
5931 2013-08-30  Glenn Morris  <rgm@gnu.org>
5933         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5934         Fix is-this-a-directory logic.  (Bug#15220)
5936 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5938         * textmodes/css-mode.el: Use SMIE.
5939         (css-smie-grammar): New var.
5940         (css-smie--forward-token, css-smie--backward-token)
5941         (css-smie-rules): New functions.
5942         (css-mode): Use them.
5943         (css-navigation-syntax-table): Remove var.
5944         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5945         (css-indent-calculate, css-indent-line): Remove functions.
5947         Misc changes to reduce use of `(lambda...); and other cleanups.
5948         * cus-edit.el: Use lexical-binding.
5949         (customize-push-and-save, customize-apropos)
5950         (custom-buffer-create-internal): Use closures.
5951         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5952         * progmodes/ada-xref.el: Use setq.
5953         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5954         * dframe.el: Use lexical-binding.
5955         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
5956         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5957         * descr-text.el: Use lexical-binding.
5958         (describe-text-widget, describe-text-sexp, describe-property-list):
5959         Use closures.
5960         * comint.el (comint-history-isearch-push-state): Use a closure.
5961         * calculator.el: Use lexical-binding.
5962         (calculator-number-to-string): Make it work with lexical-binding.
5963         (calculator-funcall): Same and use cl-letf.
5965         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5966         (lisp--company-doc-string, lisp--company-location): New functions.
5967         (lisp-completion-at-point): Use them to improve Company support.
5969         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5970         params of lambda expressions.
5971         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5972         (ruby-smie--opening-pipe-p): New function.
5973         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5974         symbols and matched |...| for formal params.
5975         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5976         from being treated as hanging.  Handle "rescue".
5978 2013-08-29  Glenn Morris  <rgm@gnu.org>
5980         * progmodes/cc-engine.el (c-pull-open-brace):
5981         Move definition before use.
5983 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5985         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5986         are immutable.  Don't use `unsafe' any more.
5987         (cl--defsubst-expand): Don't substitute at the same time as keeping
5988         a residual unused let-binding.  Don't use `unsafe' any more.
5990 2013-08-29  Glenn Morris  <rgm@gnu.org>
5992         * calendar/cal-china.el (calendar-chinese-year-cache):
5993         Recenter on 2015.
5995         * nxml/nxml-util.el (nxml-debug-clear-inside):
5996         Use cl-loop rather than loop.
5998         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6000         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6002 2013-08-28  Glenn Morris  <rgm@gnu.org>
6004         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6006         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6008         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6010 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6012         * simple.el (repeat-complex-command--called-interactively-skip):
6013         New function.
6014         (repeat-complex-command): Use it (bug#14136).
6016         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6017         (c-define-abbrev-table): Add `doc' argument.
6018         (c-mode-abbrev-table, c++-mode-abbrev-table)
6019         (objc-mode-abbrev-table, java-mode-abbrev-table)
6020         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6021         (awk-mode-abbrev-table): Use it.
6022         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6023         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6024         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6025         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6026         Move initialization into the declaration; and remove any
6027         autoload cookie.
6029         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6030         and dynamic let binding.
6032         * vc/smerge-mode.el: Remove redundant :group args.
6034         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6035         to load-path.
6037 2013-08-28  Juri Linkov  <juri@jurta.org>
6039         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6040         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6041         (isearch-other-meta-char): Handle an undefined shifted printing
6042         character by downshifting it.  (Bug#15200)
6044 2013-08-28  Juri Linkov  <juri@jurta.org>
6046         * isearch.el (isearch-search): Change regexp error message for
6047         non-regexp searches.  (Bug#15166)
6049 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
6051         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6052         for portability to hosts where /bin/sh has problems.
6054 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6056         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6058 2013-08-27  Juri Linkov  <juri@jurta.org>
6060         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6061         in the keyboard macro.  (Bug#15126)
6063 2013-08-27  Juri Linkov  <juri@jurta.org>
6065         * isearch.el (isearch-quote-char): Comment out converting unibyte
6066         to multibyte, thus syncing with its `quoted-insert' counterpart.
6067         (Bug#15166)
6069 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
6071         * window.el (display-buffer-use-some-window): Add missing
6072         argument in call of get-largest-window (Bug#15185).
6073         Reported by Stephen Leake.
6075 2013-08-27  Glenn Morris  <rgm@gnu.org>
6077         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6079 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         * progmodes/python.el (python-font-lock-keywords): Don't return nil
6082         from a matcher-function unless there's no more matches (bug#15161).
6084 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6086         * minibuffer.el: Revert change from 2013-08-20.
6088         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6089         with text property `tramp-default', if appropriate.
6090         (tramp-check-proper-host): New defun.
6091         (tramp-dissect-file-name): Do not check hostname.  Revert change
6092         of 2013-03-18.
6093         (tramp-backtrace): Make VEC-OR-PROC optional.
6095         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6096         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6097         * net/tramp-sh.el (tramp-maybe-open-connection):
6098         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6099         Apply `tramp-check-proper-host'.
6101 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
6103         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6104         lambda expression in order to have `describe-variable' display it.
6106 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6108         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6109         BUF can be optional.  (Bug#15186)
6111 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
6113         * progmodes/flymake.el (flymake-get-real-file-name-function):
6114         Fix broken customization.  (Bug#15184)
6116 2013-08-25  Alan Mackenzie  <acm@muc.de>
6118         Improve indentation of bracelists defined by macros (without "=").
6120         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6121         expansion begins with "{", regard it as bracelist when it doesn't
6122         contain a ";".
6124         Parse C++ inher-intro when there's a template split over 2 lines.
6126         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6127         rigorously the search for "class" etc. followed by ":".
6129         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6130         random languages a regexp which never matches rather than nil.
6132         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6134         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6135         (c-awk-regexp-one-line-possibly-open-char-list-re)
6136         (c-awk-one-line-possibly-open-regexp-re)
6137         (c-awk-one-line-non-syn-ws*-re): Remove.
6138         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6139         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6140         (c-awk-space*-unclosed-regexp-/-re): New constants.
6141         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6142         aren't regexp delimiters.
6144         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6145         handling for a rare situation in AWK Mode involving unterminated
6146         strings/regexps.
6148 2013-08-23  Glenn Morris  <rgm@gnu.org>
6150         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6152         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6154         * files.el (create-file-buffer): If the result would begin with
6155         spaces, prepend a "|" instead of removing them.  (Bug#15162)
6157 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6159         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6160         text-properties (bug#15155).
6162         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6163         exist any more.
6164         (calc-keypad-redraw): Remove unused var `pad'.
6165         (calc-keypad-press): Remove unused var `menu'.
6167 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
6169         * window.el (display-buffer-pop-up-frame):
6170         Call pop-up-frame-function with BUFFER current so `make-frame' will
6171         use it as the new frame's buffer (Bug#15133).
6173 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6175         * calendar/timeclock.el: Minor cleanups.
6176         (timeclock-ask-before-exiting, timeclock-use-display-time):
6177         Use `symbol'.
6178         (timeclock-modeline-display): Define as alias before the
6179         actual definition.
6180         (timeclock-mode-line-display): Use define-minor-mode.
6181         (timeclock-day-list-template): Make it a function, add an argument.
6182         (timeclock-day-list-required, timeclock-day-list-length)
6183         (timeclock-day-list-debt, timeclock-day-list-span)
6184         (timeclock-day-list-break): Adjust calls accordingly.
6186 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6188         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6189         Use read--expression so that completion works again.
6191 2013-08-21  Sam Steingold  <sds@gnu.org>
6193         Add rudimentary inferior shell interaction
6194         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6195         (sh-set-shell): Reset it.
6196         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6197         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6199 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6201         * align.el: Use lexical-binding.
6202         (align-region): Simplify accordingly.
6204 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
6206         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6208         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6209         `non-essential' up.
6211 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
6213         * net/tramp.el:
6214         * net/tramp-adb.el:
6215         * net/tramp-cmds.el:
6216         * net/tramp-ftp.el:
6217         * net/tramp-gvfs.el:
6218         * net/tramp-gw.el:
6219         * net/tramp-sh.el: Don't wrap external variable declarations by
6220         `eval-when-compile'.
6222 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6224         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6225         now that Emacs supports ImageMagick animations.
6227 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
6229         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6230         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6232 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
6234         * window.el (mouse-autoselect-window-select): Do autoselect when
6235         mouse pointer is on margin.
6237 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
6239         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
6241 2013-08-16  Glenn Morris  <rgm@gnu.org>
6243         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6244         Handle "Remote Directory" response of some clients.  (Bug#15058)
6246         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6247         Tweak warning.  (Bug#14926)
6249         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6250         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
6252         * image-mode.el (image-mode-map): Add menu items to reverse,
6253         increase, decrease, reset animation speed.
6254         (image--set-speed, image-increase-speed, image-decrease-speed)
6255         (image-reverse-speed, image-reset-speed): New functions.
6256         (image-mode-map): Add bindings for speed commands.
6258         * image.el (image-animate-get-speed, image-animate-set-speed):
6259         New functions.
6260         (image-animate-timeout): Respect image :speed property.
6262 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6264         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6265         previous line (bug#15101).
6266         (debugger-eval-expression, debugger-record-expression):
6267         Use read--expression (bug#15102).
6269 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
6271         Remove byte compiler warnings, visible when compiling with
6272         `byte-compile-force-lexical-warnings' set to t.
6274         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6275         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6276         (tramp-handle-unhandled-file-name-directory)
6277         (tramp-handle-file-notify-add-watch, tramp-action-login)
6278         (tramp-action-succeed, tramp-action-permission-denied)
6279         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6280         arguments with "_".
6282         * net/tramp-adb.el (tramp-adb-parse-device-names)
6283         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6284         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6285         (tramp-adb-handle-file-truename): Remove unused arguments.
6287         * net/tramp-cache.el (tramp-flush-directory-property)
6288         (tramp-flush-connection-property, tramp-list-connections)
6289         (tramp-parse-connection-properties): Prefix unused arguments with "_".
6291         * net/tramp-compat.el (tramp-compat-make-temp-file):
6292         Rename FILENAME to F.
6294         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6295         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6296         (tramp-zeroconf-parse-workstation-device-names)
6297         (tramp-zeroconf-parse-webdav-device-names)
6298         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6300         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6301         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6303         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6304         arguments.
6305         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6306         (tramp-sh-handle-insert-file-contents-literally)
6307         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6308         with "_".
6309         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6310         Remove unused variables.
6312         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6313         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6314         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6316         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6317         Make them a defconst.
6318         (tramp-uuencode-region): Remove unused variable.
6320 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
6322         * frameset.el (frameset--prop-setter): New function.
6323         (frameset-prop): Add gv-setter declaration.
6324         (frameset-filter-minibuffer): Deal with the case that the minibuffer
6325         parameter was already set in FILTERED.  Doc fix.
6326         (frameset--record-minibuffer-relationships): Allow saving a
6327         minibufferless frame without its corresponding minibuffer frame.
6328         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6329         frame, if the frame id matches.
6330         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6331         frames before orphaned ones.
6332         (frameset-restore): Warn about orphaned windows, instead of error out.
6334 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
6336         * window.el (window-make-atom): Don't overwrite parameter
6337         already present.
6338         (display-buffer-in-atom-window): Handle special case where we
6339         split an already atomic window.
6340         (window--major-non-side-window, display-buffer-in-side-window)
6341         (window--side-check): Ignore minibuffer window when walking
6342         window tree.
6343         (window-deletable-p): Return 'frame only if no other frame uses
6344         our minibuffer window.
6345         (record-window-buffer): Run buffer-list-update-hook.
6346         (split-window): Make sure window--check-frame won't destroy an
6347         existing atomic window in case the new window gets nested
6348         inside.
6349         (display-buffer-at-bottom): Ignore minibuffer window when
6350         walking window tree.  Don't split a side window.
6351         (pop-to-buffer): Don't set-buffer here, the select-window call
6352         should do that.
6353         (mouse-autoselect-window-select): Autoselect only if we are in the
6354         text portion of the window.
6356 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6358         * net/shr.el (shr-parse-image-data): New function to grab both the
6359         data itself and the Content-Type.
6360         (shr-put-image): Use it.
6362         * net/eww.el (eww-display-image): Ditto.
6364         * image.el (image-content-type-suffixes): New variable.
6366 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6368         * progmodes/python.el (python-imenu--build-tree)
6369         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6371 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
6373         * simple.el (backward-word): Mention the optional argument.
6375 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         * frameset.el (frameset--make): Rename constructor from make-frameset.
6378         (frameset-p, frameset-valid-p): Don't autoload.
6379         (frameset-valid-p): Use normal accessors.
6381 2013-08-13  Glenn Morris  <rgm@gnu.org>
6383         * progmodes/compile.el (compile-command): Tweak example in doc.
6384         * obsolete/scribe.el (scribe-mode):
6385         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
6387         * mail/feedmail.el (feedmail-confirm-outgoing)
6388         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6390         * cus-start.el (truncate-partial-width-windows): Fix type.
6392         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6394         * net/shr.el (shr-table-horizontal-line): Fix custom type.
6396 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6398         * emacs-lisp/timer.el (timer--time-setter): New function.
6399         (timer--time): Use it as gv-setter.
6401         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6402         setter is not a symbol.
6404 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
6406         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6407         if sending fails.  This makes debugging easier.
6409 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
6411         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6412         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6413         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6415 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
6417         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6419 2013-08-12  Glenn Morris  <rgm@gnu.org>
6421         * format.el (format-annotate-function):
6422         Handle read-only text properties in the source.  (Bug#14887)
6424 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6426         * net/eww.el (eww-display-html): Ignore coding system errors.
6427         One web site uses "utf-8lias" as the coding system.
6429 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
6431         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6433 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
6435         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6436         (tutorial--detailed-help): Remove unused local variables.
6437         (tutorial--save-tutorial-to): Use ignore-errors.
6438         (help-with-tutorial): Use looking-at-p.
6440         * view.el (view-buffer-other-window, view-buffer-other-frame):
6441         Mark unused arguments.
6443         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6444         (woman-select-symbol-fonts, woman, woman-find-file)
6445         (woman-insert-file-contents, woman-non-underline-faces):
6446         Use string-match-p.
6447         (woman1-unquote): Move declaration.
6449         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6450         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
6451         argument.  Remove unused local variable.
6452         (xml-parse-elem-type): Use string-match-p.
6453         (xml-substitute-numeric-entities): Use ignore-errors.
6455         * calculator.el (calculator): Mark unused argument.
6456         (calculator-paste, calculator-quit, calculator-integer-p):
6457         Use ignore-errors.
6458         (calculator-string-to-number, calculator-decimal, calculator-exp)
6459         (calculator-op-or-exp): Use string-match-p.
6461         * dired.el (dired-buffer-more-recently-used-p): Declare.
6462         (dired-insert-set-properties, dired-insert-old-subdirs):
6463         Use ignore-errors.
6465         * dired-aux.el (dired-compress): Use ignore-errors.
6466         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6467         (dired-do-async-shell-command, dired-do-shell-command)
6468         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6469         (dired-insert-subdir-validate): Use string-match-p.
6470         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6471         (dired-add-entry): Use string-match-p, looking-at-p.
6472         (dired-insert-subdir-newpos): Remove unused local variable.
6474         * filenotify.el (file-notify-callback): Remove unused local variable.
6476         * filesets.el (filesets-error): Mark unused argument.
6477         (filesets-which-command-p, filesets-filter-dir-names)
6478         (filesets-directory-files, filesets-get-external-viewer)
6479         (filesets-ingroup-get-data): Use string-match-p.
6481         * find-file.el (ff-other-file-name, ff-other-file-name)
6482         (ff-find-the-other-file, ff-cc-hh-converter):
6483         Remove unused local variables.
6484         (ff-get-file-name): Use string-match-p.
6485         (ff-all-dirs-under): Use ignore-errors.
6487         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6488         (follow-select-if-visible): Remove unused local variable.
6490         * forms.el (read-file-filter): Move declaration.
6491         (forms--make-format, forms--make-parser, forms-insert-record):
6492         Quote function with #'.
6493         (forms--update): Use string-match-p.  Quote function with #'.
6495         * help-mode.el (help-dir-local-var-def): Mark unused argument.
6496         (help-make-xrefs): Use looking-at-p.
6497         (help-xref-on-pp): Use looking-at-p, ignore-errors.
6499         * ibuffer.el (ibuffer-ext-visible-p): Declare.
6500         (ibuffer-confirm-operation-on): Use string-match-p.
6502         * msb.el (msb-item-handler, msb-dired-item-handler):
6503         Mark unused arguments.
6505         * ses.el (ses-decode-cell-symbol)
6506         (ses-kill-override): Remove unused local variable.
6507         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6508         (ses-load): Use ignore-errors, looking-at-p.
6509         (ses-jump-safe): Use ignore-errors.
6510         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6512         * tabify.el (untabify, tabify): Mark unused arguments.
6514         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6515         Mark unused argument.
6516         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6517         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6519         * emacs-lisp/timer.el (timer--time): Define setter with
6520         gv-define-setter to avoid deprecation warning.
6522         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6523         (*record-cmpl-statistics-p*): Remove (was commented out).
6524         (cmpl-statistics-block): Remove (body was commented out).
6525         All callers changed.
6526         (add-completions-from-buffer, load-completions-from-file):
6527         Remove unused variables.
6529 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6531         * filecache.el (file-cache-delete-file-list):
6532         Print message only when told so.
6533         (file-cache-files-matching): Use #' in mapconcat argument.
6535         * ffap.el (ffap-url-at-point): Fix reference to variable
6536         thing-at-point-default-mail-uri-scheme.
6538 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6540         * subr.el (define-error): New function.
6541         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6542         error-file-not-found and define with define-error.
6543         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6544         and define with define-error.
6545         * userlock.el (file-locked, file-supersession):
6546         * simple.el (mark-inactive):
6547         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6548         * progmodes/ada-mode.el (ada-mode-errors):
6549         * play/life.el (life-extinct):
6550         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6551         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6552         * nxml/rng-util.el (rng-error):
6553         * nxml/rng-uri.el (rng-uri-error):
6554         * nxml/rng-match.el (rng-compile-error):
6555         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6556         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6557         * nxml/nxml-rap.el (nxml-scan-error):
6558         * nxml/nxml-outln.el (nxml-outline-error):
6559         * net/soap-client.el (soap-error):
6560         * net/gnutls.el (gnutls-error):
6561         * net/ange-ftp.el (ftp-error):
6562         * mpc.el (mpc-proc-error):
6563         * json.el (json-error, json-readtable-error, json-unknown-keyword)
6564         (json-number-format, json-string-escape, json-string-format)
6565         (json-key-format, json-object-format):
6566         * jka-compr.el (compression-error):
6567         * international/quail.el (quail-error):
6568         * international/kkc.el (kkc-error):
6569         * emacs-lisp/ert.el (ert-test-failed):
6570         * calc/calc.el (calc-error, inexact-result, math-overflow)
6571         (math-underflow):
6572         * bookmark.el (bookmark-error-no-filename):
6573         * epg.el (epg-error): Define with define-error.
6575         * time.el (display-time-event-handler)
6576         (display-time-next-load-average): Don't call sit-for since it seems
6577         unnecessary (bug#15045).
6579         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6580         Use #' instead of ' to quote functions.
6581         (checkdoc-output-mode): Use setq-local.
6582         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6583         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6584         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6585         (checkdoc-ispell, checkdoc-ispell-current-buffer)
6586         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6587         (checkdoc-ispell-message-text, checkdoc-ispell-start)
6588         (checkdoc-ispell-continue, checkdoc-ispell-comments)
6589         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6591         * ido.el (ido-completion-help): Fix up compiler warning.
6593 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6595         * frameset.el (frameset-p): Add autoload cookie.
6596         (frameset--jump-to-register): New function, based on code moved from
6597         register.el.
6598         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
6600         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6601         (frameset-restore, frameset-save, frameset-session-filter-alist):
6602         Remove declarations.
6603         (register-alist): Doc fix.
6604         (frameset-to-register): Move to frameset.el.
6605         (jump-to-register, describe-register-1): Remove frameset-specific code.
6607 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6609         * allout-widgets.el (allout-widgets-pre-command-business)
6610         (allout-widgets-post-command-business)
6611         (allout-widgets-after-change-handler)
6612         (allout-decorate-item-and-context, allout-set-boundary-marker)
6613         (allout-body-modification-handler)
6614         (allout-graphics-modification-handler): Mark ignored arguments.
6615         (allout-widgets-post-command-business)
6616         (allout-widgets-exposure-change-processor)
6617         (allout-widgets-exposure-undo-processor)
6618         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6619         (allout-parse-item-at-point, allout-decorate-item-guides)
6620         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6621         * allout.el (epa-passphrase-callback-function): Declare.
6622         (allout-overlay-insert-in-front-handler)
6623         (allout-overlay-interior-modification-handler)
6624         (allout-isearch-end-handler, allout-chart-siblings)
6625         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6626         (allout-yank-processing, allout-process-exposed)
6627         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6628         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6629         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6630         (lisp-indent-defform): Mark ignored arguments.
6631         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
6632         (calculate-lisp-indent): Remove unused variables.
6633         * international/characters.el (indian-2-column, arabic-2-column)
6634         (tibetan): Mark ignored arguments.
6635         (use-cjk-char-width-table): Mark ignored arguments.
6636         Remove unused variables.
6637         * international/fontset.el (build-default-fontset-data)
6638         (x-compose-font-name, create-fontset-from-fontset-spec):
6639         Mark ignored arguments.
6640         (fontset-plain-name): Remove unused variables.
6641         * international/mule.el (charset-id, charset-bytes, generic-char-p)
6642         (keyboard-coding-system): Mark ignored arguments.
6643         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
6644         * help.el (resize-temp-buffer-window):
6645         * window.el (display-buffer-in-major-side-window)
6646         (display-buffer-in-side-window, display-buffer-in-previous-window):
6647         Remove unused variables.
6648         * isearch.el (isearch-forward-symbol):
6649         * version.el (emacs-bzr-version-bzr):
6650         * international/mule-cmds.el (current-language-environment):
6651         * term/common-win.el (x-handle-iconic, x-handle-geometry)
6652         (x-handle-display):
6653         * term/pc-win.el (x-list-fonts, x-display-planes)
6654         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6655         (x-server-version, x-display-screens, x-display-mm-height)
6656         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6657         (x-selection-owner-p, x-own-selection-internal)
6658         (x-disown-selection-internal, x-get-selection-internal)
6659         (msdos-initialize-window-system):
6660         * term/tty-colors.el (tty-color-alist, tty-color-clear):
6661         * term/x-win.el (x-handle-no-bitmap-icon):
6662         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6663         (vc-default-find-file-hook, vc-default-extra-menu):
6664         Mark ignored arguments.
6666 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6668         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6669         break-condition in the context of the debugged code (bug#12685).
6671 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
6673         * comint.el:
6674         Do not use an overlay to highlight the last prompt.  (Bug#14744)
6675         (comint-mode): Make comint-last-prompt buffer local.
6676         (comint-last-prompt): New variable.
6677         (comint-last-prompt-overlay): Remove.  Superseded by
6678         comint-last-prompt.
6679         (comint-snapshot-last-prompt, comint-output-filter):
6680         Use comint-last-prompt.
6682 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6684         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
6685         (frameset-save): Check validity of the resulting frameset.
6687 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
6689         * ido.el (ido-record-command): Add doc string.
6691 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6693         * frameset.el (frameset): Do not disable creation of the default
6694         frameset-p predicate.  Doc fix.
6695         (frameset-valid-p): New function, copied from the old predicate-p.
6696         Add additional checks.
6697         (frameset-restore): Check with frameset-valid-p.
6698         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6699         (frameset-name, frameset-description, frameset-properties)
6700         (frameset-states): Add docstring.
6701         (frameset-session-filter-alist, frameset-persistent-filter-alist)
6702         (frameset-filter-alist): Doc fixes.
6704 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6706         * frameset.el (frameset-p, frameset-prop): Doc fixes.
6708 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6710         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6711         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6712         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6713         (byte-compile-normal-call): Remove obsolescence check.
6715 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6717         * frameset.el (frameset-restore): Doc fix.
6719         * register.el (frameset-frame-id, frameset-frame-with-id)
6720         (frameset-p, frameset-restore, frameset-save): Declare.
6721         (register-alist): Document framesets.
6722         (frameset-session-filter-alist): Declare.
6723         (frameset-to-register): New function.
6724         (jump-to-register): Implement jumping to framesets.  Doc fix.
6725         (describe-register-1): Describe framesets.
6727         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6729 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6731         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6732         Use lexical-binding.
6734         * frameset.el (frameset): Use type vector, not list (incompatible
6735         change).  Do not declare a new constructor, use the default one.
6736         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6737         `name' and `description', respectively, and add read-only slot
6738         `timestamp'.  Doc fixes.
6739         (frameset-copy, frameset-persistent-filter-alist)
6740         (frameset-filter-alist, frameset-switch-to-gui-p)
6741         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6742         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6743         (frameset-filter-iconified, frameset-keep-original-display-p):
6744         Doc fixes.
6745         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6746         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6747         Doc fix.
6748         (frameset-p): Adapt to change to vector and be more thorough.
6749         Change arg name to OBJECT.  Doc fix.
6750         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6751         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6752         All callers changed.
6753         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6754         All callers changed.
6755         (frameset--record-minibuffer-relationships): Rename from
6756         frameset--process-minibuffer-frames.  All callers changed.
6757         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6758         Use new default constructor (again).  Doc fix.
6759         (frameset--find-frame-if): Rename from `frameset--find-frame.
6760         All callers changed.
6761         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6762         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6763         Doc fix.
6764         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6765         PARAMETERS and WINDOW-STATE, respectively.
6766         (frameset-restore): Add new keyword argument PREDICATE.
6767         Reset frameset--target-display to nil.  Doc fix.
6769 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6771         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6772         (bat-mode): Use it.
6773         (bat-mode-syntax-table): Mark \n as end-of-comment.
6774         (bat-font-lock-keywords): Remove comment rule.
6776         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6777         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6779         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6780         (byte-compile-callargs-warn): Use `push'.
6781         (byte-compile-arglist-warn): Ignore higher-order "calls".
6782         (byte-compile-file-form-autoload): Use `pcase'.
6783         (byte-compile-function-form): If quoting a symbol, check that it exists.
6785 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6787         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6788         and add a few popular commands found in batch files.
6789         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6790         (dos-mode): Doc fixes.
6792 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6794         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6795         (dos-mode): Use setq-local.  Add space after "rem".
6796         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6797         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6799 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6801         * progmodes/dos.el: New file.
6802         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6803         dos-mode.
6805 2013-08-06  Glenn Morris  <rgm@gnu.org>
6807         * calendar/calendar.el: Add new faces, and day-header-array.
6808         (calendar-weekday-header, calendar-weekend-header)
6809         (calendar-month-header): New faces.
6810         (calendar-day-header-construct): New function.
6811         (calendar-day-header-width): Also :set calendar-day-header-array.
6812         (calendar-american-month-header, calendar-european-month-header)
6813         (calendar-iso-month-header): Use calendar- faces.
6814         (calendar-generate-month):
6815         Use calendar-day-header-array for day headers; apply faces to them.
6816         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6817         (calendar-abbrev-construct): Add optional maxlen argument.
6818         (calendar-day-name-array): Doc fix.
6819         (calendar-day-name-array, calendar-abbrev-length)
6820         (calendar-day-abbrev-array):
6821         Also :set calendar-day-header-array, and maybe redraw.
6822         (calendar-day-header-array): New option.  (Bug#15007)
6823         (calendar-font-lock-keywords): Set to nil and make obsolete.
6824         (calendar-day-name): Add option to use header array.
6826 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6828         * net/shr.el (shr-render-td): Remove debugging.
6829         (shr-render-td): Make width computation consistent by defaulting
6830         all zero-width columns to 10 characters.  This may not be optimal,
6831         but it's at least consistent.
6832         (shr-make-table-1): Redo last change to fix the real problem in
6833         colspan handling.
6835 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6837         * files.el (cache-long-line-scans):
6838         Make obsolete alias to `cache-long-scans'.
6840 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6842         * frameset.el (frameset, frameset-filter-alist)
6843         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6844         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6845         (frameset-compute-pos): Rename from frameset--compute-pos,
6846         and add docstring.
6847         (frameset-move-onscreen): Use frameset-compute-pos.
6848         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6850         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6851         Fix typos in docstrings.
6853 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6855         * frame.el (get-other-frame): Tiny cleanup.
6857 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6859         * vc/vc.el (vc-default-ignore-completion-table):
6860         Silence byte-compiler warning.
6862         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6863         slot, which can indeed be nil.
6864         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6865         Move entry for `left' from persistent to live filter alist.
6866         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6867         Doc fixes.
6868         (frameset-filter-params): When restoring a frame, copy items added to
6869         `filtered', to avoid unwittingly modifying the original parameters.
6870         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
6871         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6873         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6874         to use looking-at-p instead of looking-at.  (Bug#15028)
6876 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6878         Revert introduction of isearch-filter-predicates (bug#14714).
6879         Rely on add-function instead.
6880         * isearch.el (isearch-filter-predicates): Rename it back to
6881         isearch-filter-predicate.
6882         (isearch-message-prefix): Use advice-function-mapc and advice
6883         properties to get the isearch-message-prefix.
6884         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6885         instead of run-hook-with-args-until-failure.
6886         (isearch-filter-visible): Not obsolete any more.
6887         * loadup.el: Preload nadvice.
6888         * replace.el (perform-replace): Revert to funcall
6889         instead of run-hook-with-args-until-failure.
6890         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6891         * dired-aux.el (dired-isearch-filenames-mode): Rename from
6892         dired-isearch-filenames-toggle; make it into a proper minor mode.
6893         Use add/remove-function.
6894         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6895         Call the minor-mode rather than add/remove-hook.
6896         (dired-isearch-filter-filenames):
6897         Remove isearch-message-prefix property.
6898         * info.el (Info--search-loop): New function, extracted from Info-search.
6899         Funcall isearch-filter-predicate instead of
6900         run-hook-with-args-until-failure isearch-filter-predicates.
6901         (Info-search): Use it.
6902         (Info-mode): Use isearch-filter-predicate instead of
6903         isearch-filter-predicates.
6905 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6907         Do not call to `selected-window' where it is assumed by default.
6908         Affected functions are `window-minibuffer-p', `window-dedicated-p',
6909         `window-hscroll', `window-width', `window-height', `window-buffer',
6910         `window-frame', `window-start', `window-point', `next-window'
6911         and `window-display-table'.
6912         * abbrev.el (abbrev--default-expand):
6913         * bs.el (bs--show-with-configuration):
6914         * buff-menu.el (Buffer-menu-mouse-select):
6915         * calc/calc.el (calc):
6916         * calendar/calendar.el (calendar-generate-window):
6917         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6918         (diary-make-entry):
6919         * comint.el (send-invisible, comint-dynamic-complete-filename)
6920         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6921         * completion.el (complete):
6922         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6923         * disp-table.el (describe-current-display-table):
6924         * doc-view.el (doc-view-insert-image):
6925         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6926         * ehelp.el (with-electric-help):
6927         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6928         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6929         * emacs-lisp/helper.el (Helper-help-scroller):
6930         * emulation/cua-base.el (cua--post-command-handler-1):
6931         * eshell/esh-mode.el (eshell-output-filter):
6932         * ffap.el (ffap-gnus-wrapper):
6933         * help-macro.el (make-help-screen):
6934         * hilit-chg.el (highlight-compare-buffers):
6935         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6936         * hl-line.el (global-hl-line-highlight):
6937         * icomplete.el (icomplete-simple-completing-p):
6938         * isearch.el (isearch-done):
6939         * jit-lock.el (jit-lock-stealth-fontify):
6940         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6941         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6942         * mpc.el (mpc-tagbrowser, mpc):
6943         * net/rcirc.el (rcirc-any-buffer):
6944         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6945         * play/landmark.el (landmark-max-width, landmark-max-height):
6946         * play/zone.el (zone):
6947         * progmodes/compile.el (compilation-goto-locus):
6948         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6949         * progmodes/etags.el (find-tag-other-window):
6950         * progmodes/fortran.el (fortran-column-ruler):
6951         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6952         * progmodes/verilog-mode.el (verilog-point-text):
6953         * reposition.el (reposition-window):
6954         * rot13.el (toggle-rot13-mode):
6955         * server.el (server-switch-buffer):
6956         * shell.el (shell-dynamic-complete-command)
6957         (shell-dynamic-complete-environment-variable):
6958         * simple.el (insert-buffer, set-selective-display)
6959         (delete-completion-window):
6960         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6961         (speedbar-recenter):
6962         * startup.el (fancy-splash-head):
6963         * textmodes/ispell.el (ispell-command-loop):
6964         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6965         * tutorial.el (help-with-tutorial):
6966         * vc/add-log.el (add-change-log-entry):
6967         * vc/compare-w.el (compare-windows):
6968         * vc/ediff-help.el (ediff-indent-help-message):
6969         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6970         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6971         (ediff-setup-control-frame):
6972         * vc/emerge.el (emerge-position-region):
6973         * vc/pcvs-util.el (cvs-bury-buffer):
6974         * window.el (walk-windows, mouse-autoselect-window-select):
6975         * winner.el (winner-set-conf, winner-undo): Related users changed.
6977 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6979         * frameset.el (frameset--set-id): Doc fix.
6980         (frameset-frame-id, frameset-frame-id-equal-p)
6981         (frameset-locate-frame-id): New functions.
6982         (frameset--process-minibuffer-frames, frameset--reuse-frame)
6983         (frameset-restore): Use them.
6985 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6987         Do not call to `selected-frame' where it is assumed by default.
6988         Affected functions are `raise-frame', `redraw-frame',
6989         `frame-first-window', `frame-terminal' and `delete-frame'.
6990         * calendar/appt.el (appt-disp-window):
6991         * epg.el (epg-wait-for-completion):
6992         * follow.el (follow-delete-other-windows-and-split)
6993         (follow-avoid-tail-recenter):
6994         * international/mule.el (set-terminal-coding-system):
6995         * mail/rmail.el (rmail-mail-return):
6996         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6997         * progmodes/f90.el (f90-add-imenu-menu):
6998         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6999         * server.el (server-switch-buffer):
7000         * simple.el (delete-completion-window):
7001         * talk.el (talk):
7002         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7003         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7004         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7005         * vc/ediff.el (ediff-documentation): Related users changed.
7006         * frame.el (selected-terminal): Remove the leftover.
7008 2013-08-05  Glenn Morris  <rgm@gnu.org>
7010         * calendar/calendar.el (calendar-generate-month):
7011         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7012         (calendar-generate-month, calendar-font-lock-keywords):
7013         Fix for calendar-day-header-width > length of any day name.
7015 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7017         * desktop.el (desktop-clear): Use new name of sort predicate.
7019         * frameset.el (frameset): Add docstring.  Move :version property to its
7020         own `version' slot.
7021         (frameset-copy): Rename from copy-frameset.
7022         (frameset-p): Check more thoroughly.
7023         (frameset-prop): Do not check for :version, which is no longer a prop.
7024         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7025         Use new :never value instead of t.
7026         (frameset-filter-alist): Expand and clarify docstring.
7027         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7028         (frameset-filter-minibuffer, frameset-filter-save-param)
7029         (frameset-filter-restore-param, frameset-filter-iconified):
7030         Add pointer to docstring of frameset-filter-alist.
7031         (frameset-filter-params): Rename filter values to be more meaningful:
7032         :never instead of t, and reverse the meanings of :save and :restore.
7033         (frameset--process-minibuffer-frames): Clarify error message.
7034         (frameset-save): Avoid unnecessary and confusing call to framep.
7035         Use new BOA constructor for framesets.
7036         (frameset--reuse-list): Doc fix.
7037         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
7038         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7039         (frameset-minibufferless-first-p): Doc fix.
7040         Rename from frameset-sort-frames-for-deletion.
7041         (frameset-restore): Doc fixes.  Use new function names.
7042         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7044 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7046         * desktop.el (desktop-restore-forces-onscreen)
7047         (desktop-restore-reuses-frames): Document :keyword constant values.
7048         (desktop-filter-parameters-alist): Remove, now identical to
7049         frameset-filter-alist.
7050         (desktop--filter-tty*): Remove, moved to frameset.el.
7051         (desktop-save-frameset, desktop-restore-frameset):
7052         Do not pass :filters argument.
7054         * frameset.el (frameset-live-filter-alist)
7055         (frameset-persistent-filter-alist): New variables.
7056         (frameset-filter-alist): Use them.  Add autoload cookie.
7057         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7058         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7059         `frameset--id' (it's supposed to be internal to frameset.el).
7060         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
7061         (frameset--initial-params): New function.
7062         (frameset--get-frame): Use it.  Doc fix.
7063         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7064         Accept :all, not 'all.
7065         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7066         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
7067         with fbound symbols.  Fix frame id matching, and remove matching ids if
7068         the frame being restored is deleted.  Obey :delete.
7070 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7072         * subr.el (macrop): New function.
7073         (text-clone--maintaining): New var.
7074         (text-clone--maintain): Rename from text-clone-maintain.  Use it
7075         instead of inhibit-modification-hooks.
7077         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7078         a proxy, so as handle autoloads and redefinitions of the target.
7079         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7081         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7082         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
7083         (pcase--mutually-exclusive-p): New function.
7084         (pcase--split-consp): Use it.
7085         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
7086         mutually exclusive with the current predicate.
7088         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7089         (edebug-macrop): Remove.  Use `macrop' instead.
7090         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
7091         (ad-macro-p):
7092         * eshell/esh-cmd.el (eshell-macrop):
7093         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
7095 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7097         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7098         (advice-mapc): New function, using it.
7099         (advice-function-member-p): New function.
7100         (advice--normalize): Store the cdr in advice--saved-rewrite since
7101         that's the part that will be changed.
7102         (advice--symbol-function): New function.
7103         (advice-remove): Handle removal before the function is defined.
7104         Adjust to new advice--saved-rewrite.
7105         (advice-member-p): Use advice-function-member-p and
7106         advice--symbol-function.
7108 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7110         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7111         (frameset-filter-minibuffer): Doc fix.
7112         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
7113         (frameset--set-id, frameset--process-minibuffer-frames)
7114         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7115         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7117         * desktop.el (desktop-clear): Only delete frames when called
7118         interactively and desktop-restore-frames is non-nil.  Doc fix.
7119         (desktop-read): Set desktop-saved-frameset to nil.
7121 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
7123         * vc/vc.el (vc-ignore): Rewrite.
7124         (vc-default-ignore-completion-table):
7125         (vc--read-lines):
7126         (vc--add-line, vc--remove-regexp): New functions.
7128         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7129         (vc-svn-ignore-completion-table): New function.
7131         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7132         (vc-hg-ignore-completion-table):
7133         (vc-hg-find-ignore-file): New functions.
7135         * vc/vc-git.el (vc-git-ignore): Rewrite.
7136         (vc-git-ignore-completion-table):
7137         (vc-git-find-ignore-file): New functions.
7139         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7141         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7142         (vc-bzr-ignore-completion-table):
7143         (vc-bzr-find-ignore-file): New functions.
7145 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
7147         * frameset.el (frameset-prop): New function and setter.
7148         (frameset-save): Do not modify frame list passed by the caller.
7150 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7152         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7154 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7156         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7157         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7159         * custom.el (custom-initialize-default, custom-initialize-set)
7160         (custom-initialize-reset, custom-initialize-changed): Affect the
7161         toplevel-default-value (bug#6275, bug#14586).
7162         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7163         for bug#6275.
7165 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7167         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7168         Add cl-def* expressions.
7170         * frameset.el (frameset-filter-params): Fix order of arguments.
7172 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7174         Move code related to saving frames to frameset.el.
7175         * desktop.el: Require frameset.
7176         (desktop-restore-frames): Doc fix.
7177         (desktop-restore-reuses-frames): Rename from
7178         desktop-restoring-reuses-frames.
7179         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7180         (desktop-clear): Clear frames too.
7181         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7182         (desktop--filter-tty*, desktop-save, desktop-read):
7183         Use frameset functions.
7184         (desktop-before-saving-frames-functions, desktop--filter-*-color)
7185         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7186         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7187         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7188         (desktop--process-minibuffer-frames, desktop-save-frames)
7189         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7190         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7191         (desktop--sort-states, desktop-restoring-frames-p)
7192         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
7193         (desktop-restoring-frameset-p, desktop-restore-frameset)
7194         (desktop--check-dont-save, desktop-save-frameset): New functions.
7195         (desktop--app-id): New constant.
7196         (desktop-first-buffer, desktop-buffer-ok-count)
7197         (desktop-buffer-fail-count): Move before first use.
7198         * frameset.el: New file.
7200 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7202         * files.el: Use lexical-binding.
7203         (dir-locals-read-from-file): Remove unused `err' variable.
7204         (hack-dir-local-variables--warned-coding): New var.
7205         (hack-dir-local-variables): Use it to avoid repeated warnings.
7206         (make-backup-file-name--default-function): New function.
7207         (make-backup-file-name-function): Use it as default.
7208         (buffer-stale--default-function): New function.
7209         (buffer-stale-function): Use it as default.
7210         (revert-buffer-insert-file-contents--default-function): New function.
7211         (revert-buffer-insert-file-contents-function): Use it as default.
7212         (insert-directory): Avoid add-to-list.
7214         * autorevert.el (auto-revert-handler): Simplify.
7215         Use buffer-stale--default-function.
7217 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
7219         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7221         * whitespace.el (whitespace-ensure-local-variables): New function.
7222         (whitespace-cleanup-region): Call it.
7223         (whitespace-turn-on): Call it.
7225 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
7227         Complete file name handlers.
7229         * net/tramp.el (tramp-handle-set-visited-file-modtime)
7230         (tramp-handle-verify-visited-file-modtime)
7231         (tramp-handle-file-notify-rm-watch): New functions.
7232         (tramp-call-process): Do not bind `default-directory'.
7234         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7235         Order alphabetically.
7236         [access-file, add-name-to-file, dired-call-process]:
7237         [dired-compress-file, file-acl, file-notify-rm-watch]:
7238         [file-ownership-preserved-p, file-selinux-context]:
7239         [make-directory-internal, make-symbolic-link, set-file-acl]:
7240         [set-file-selinux-context, set-visited-file-modtime]:
7241         [verify-visited-file-modtime]: Add handler.
7242         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7244         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7245         [file-notify-add-watch, file-notify-rm-watch]:
7246         [set-file-times, set-visited-file-modtime]:
7247         [verify-visited-file-modtime]: Add handler.
7248         (with-tramp-gvfs-error-message)
7249         (tramp-gvfs-handle-set-visited-file-modtime)
7250         (tramp-gvfs-fuse-file-name): Remove.
7251         (tramp-gvfs-handle-file-notify-add-watch)
7252         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7253         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7255         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7256         Order alphabetically.
7257         [file-notify-rm-watch ]: Use default Tramp handler.
7258         [executable-find]: Remove private handler.
7259         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7260         `default-directory'.
7261         (tramp-sh-handle-executable-find)
7262         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7263         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7264         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7265         Do not use `format' in `tramp-message'.
7267         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7268         [file-notify-rm-watch, set-visited-file-modtime]:
7269         [verify-visited-file-modtime]: Add handler.
7270         (tramp-smb-call-winexe): Do not bind `default-directory'.
7272 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
7274         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7276 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
7278         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7279         use it.
7280         (log-view-diff-changeset): Same.
7281         (log-view-diff-common): Call backend command `previous-revision'
7282         to find out the previous revision, in both cases.  Swap the
7283         variables `to' and `fr', so that `fr' usually refers to the
7284         earlier revision (Bug#14989).
7286 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
7288         * ibuf-ext.el (ibuffer-filter-by-filename):
7289         Make it work with dired buffers too.
7291 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
7293         * emacs-lisp/re-builder.el (reb-color-display-p):
7294         * files.el (save-buffers-kill-terminal):
7295         * net/browse-url.el (browse-url):
7296         * server.el (server-save-buffers-kill-terminal):
7297         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7298         Prefer nil to selected-frame for the first arg of frame-parameter.
7300 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
7302         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7304 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
7306         * minibuffer.el (completion--twq-all): Try and preserve each
7307         completion's case choice (bug#14907).
7309 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7311         * net/network-stream.el (open-network-stream): Mention the new
7312         :nogreeting parameter.
7313         (network-stream-open-starttls): Use the :nogreeting parameter
7314         (bug#14938).
7316         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7318         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7319         more natural than popping.
7321         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7322         (shr-urlify): Highlight under mouse.
7324 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7326         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7328         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7330         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
7331         buffer for output.
7333         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
7334         point-min==1.  Fix search string.  Fix parentheses missing.
7336         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
7337         assume point-min==1.  Fix search string.  Fix parentheses missing.
7339         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7341         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
7342         buffer for output.
7344 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
7346         * frame.el (frame-notice-user-settings): Avoid inflooping when the
7347         initial frame is minibuffer-less.  (Bug#14841)
7349 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
7351         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7352         option.
7354         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7355         (tramp-maybe-open-connection): Use it.
7357 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7359         * desktop.el (desktop--make-frame): Include `minibuffer' in the
7360         minimal set of parameters passed when creating a frame, because
7361         the minibuffer status of a frame cannot be changed later.
7363 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
7365         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7366         replace-regexp-in-string and inadvertent omissions in previous change.
7367         (todo-filter-items): Ensure only file names are comma-separated in
7368         name of filtered items buffer.
7370 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7372         * desktop.el: Optionally force offscreen frames back onscreen.
7373         (desktop-restoring-reuses-frames): New option.
7374         (desktop--compute-pos, desktop--move-onscreen): New functions.
7375         (desktop--make-frame): Use desktop--move-onscreen.
7377 2013-07-27  Alan Mackenzie  <acm@muc.de>
7379         Fontify a Java generic method as a function.
7380         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7381         value to t.
7383 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
7385         * calendar/todo-mode.el: Add command to rename todo files.
7386         (todo-rename-file): New command.
7387         (todo-key-bindings-t): Add key binding for it.  Change the
7388         bindings of todo-filter-regexp-items(-multifile) to use `x'
7389         instead of `r', since the latter is better suited to the new
7390         renaming command.
7392 2013-07-27  Alan Mackenzie  <acm@muc.de>
7394         Make Java try-with-resources statement parse properly.
7395         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7396         (c-block-stmt-1-2-key): New language constants/variables.
7397         * progmodes/cc-engine.el (c-beginning-of-statement-1)
7398         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7399         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7400         with c-block-stmt-1-2-key.
7402 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
7404         * desktop.el (desktop--make-frame): Apply most frame parameters after
7405         creating the frame to force (partially or totally) offscreen frames to
7406         be restored as such.
7408 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
7410         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7411         (Bug#14948)
7413 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7415         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7416         `base' arg of backtrace-frame.
7418 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
7420         * simple.el (list-processes): Doc fix.
7422 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7424         * desktop.el (desktop--select-frame):
7425         Try harder to reuse existing frames.
7427 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7429         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7430         (edebug-eval): Use backtrace-eval.
7431         (edebug--display, edebug--recursive-edit): Don't let-bind the
7432         edebug-outer-* vars that keep track of variables we locally let-bind.
7433         (edebug-outside-excursion): Don't restore outside values of locally
7434         let-bound vars.
7435         (edebug--display): Use user-error.
7436         (cl-lexical-debug, cl-debug-env): Remove.
7438 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7440         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7441         are restored to be sure that they are visible before deleting any
7442         remaining ones.
7444 2013-07-26  Matthias Meulien  <orontee@gmail.com>
7446         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7447         vc-print-root-log.  (Bug#14948)
7449 2013-07-26  Richard Stallman  <rms@gnu.org>
7451         Add aliases for encrypting mail.
7452         * epa.el (epa-mail-aliases): New option.
7453         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7454         Bind inhibit-read-only so read-only text doesn't ruin everything.
7455         (epa-mail-default-recipients): New subroutine broken out.
7456         Handle epa-mail-aliases.
7458 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7460         Add support for lexical variables to the debugger's `e' command.
7461         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7462         vars, except for debugger-outer-match-data.
7463         (debugger-frame-number): Move check for "on a function call" from
7464         callers into it.  Add `skip-base' argument.
7465         (debugger-frame, debugger-frame-clear): Simplify accordingly.
7466         (debugger-env-macro): Only reset the state stored in non-variables,
7467         i.e. current-buffer and match-data.
7468         (debugger-eval-expression): Rewrite using backtrace-eval.
7469         * subr.el (internal--called-interactively-p--get-frame): Remove.
7470         (called-interactively-p):
7471         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7472         `base' arg of backtrace-frame instead.
7474 2013-07-26  Glenn Morris  <rgm@gnu.org>
7476         * align.el (align-regexp): Doc fix.  (Bug#14857)
7477         (align-region): Explicit error if subexpression missing/does not match.
7479         * simple.el (global-visual-line-mode):
7480         Do not duplicate the mode lighter.  (Bug#14858)
7482 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
7484         * window.el (display-buffer): In display-buffer bind
7485         split-window-keep-point to t, bug#14829.
7487 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7489         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7490         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7491         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7492         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7493         Change accordingly.
7494         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7495         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7497 2013-07-25  Glenn Morris  <rgm@gnu.org>
7499         * dired-x.el (dired-mark-extension): Convert comment to doc string.
7501 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7503         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7504         parameter to modify-frame-parameters if the value has not changed;
7505         this is a workaround for bug#14949.
7506         (desktop--make-frame): On cl-delete-if call, check parameter name,
7507         not full parameter.
7509 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7511         * vc/vc.el (vc-ignore): New function.
7513         * vc/vc-svn.el (vc-svn-ignore): New function.
7515         * vc/vc-hg.el (vc-hg-ignore): New function.
7517         * vc/vc-git.el (vc-git-ignore): New function.
7519         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7520         (vc-dir-ignore): New function.
7522         * vc/vc-cvs.el (vc-cvs-ignore): New function.
7523         (cvs-append-to-ignore): Move here from pcvs.el.
7525         * vc/vc-bzr.el (vc-bzr-ignore): New function.
7527         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7529 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
7531         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7532         (desktop-restore-frames): Warn when deleting an existing frame failed.
7534 2013-07-24  Glenn Morris  <rgm@gnu.org>
7536         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
7538 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
7540         * filenotify.el (file-notify-supported-p):
7541         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7542         Remove functions.
7544         * autorevert.el (auto-revert-use-notify):
7545         (auto-revert-notify-add-watch):
7546         * net/tramp.el (tramp-file-name-for-operation):
7547         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7548         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7549         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7550         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7551         Remove `file-notify-supported-p' entry.
7553 2013-07-24  Glenn Morris  <rgm@gnu.org>
7555         * printing.el: Replace all uses of deleted ps-windows-system,
7556         ps-lp-system, ps-flatten-list with lpr- versions.
7558 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7560         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7561         checked with memq (bug#14935).
7563         * files.el (revert-buffer-function): Use a non-nil default.
7564         (revert-buffer-preserve-modes): Declare var to
7565         provide access to the `preserve-modes' argument.
7566         (revert-buffer): Let-bind it.
7567         (revert-buffer--default): New function, extracted from revert-buffer.
7569 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7571         * lpr.el: Signal print errors more prominently.
7572         (print-region-function): Don't default to nil.
7573         (lpr-print-region): New function, extracted from print-region-1.
7574         Check lpr's return value and signal an error in case of problem.
7575         (print-region-1): Use it.
7576         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
7577         versions instead.
7578         (ps-printer-name): Default to nil.
7579         (ps-printer-name-option): Default to lpr-printer-switch.
7580         (ps-print-region-function): Don't default to nil.
7581         (ps-postscript-code-directory): Simplify default.
7582         (ps-do-despool): Use lpr-print-region to properly check the outcome.
7583         (ps-string-list, ps-eval-switch, ps-flatten-list)
7584         (ps-flatten-list-1): Remove.
7585         (ps-multibyte-buffer): Avoid setq.
7586         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7587         (print-region-function, ps-print-region-function): Don't set them here.
7589 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
7591         * ido.el (ido-fractionp):
7592         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7593         (ido-max-file-prompt-width, ido-unc-hosts-cache)
7594         (ido-max-directory-size, ido-max-dir-file-cache)
7595         (ido-decorations): Doc fix.
7597         * ansi-color.el: Fix old URL.
7599 2013-07-23  Michael R. Mauger  <michael@mauger.com>
7601         * progmodes/sql.el: Version 3.3
7602         (sql-product-alist): Improve oracle :prompt-cont-regexp.
7603         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7604         (sql-interactive-remove-continuation-prompt): Rewrite, use
7605         functions above.  Fix continuation prompt and complete output line
7606         handling.
7607         (sql-redirect-one, sql-execute): Use `read-only-mode' on
7608         redirected output buffer.
7609         (sql-mode): Restore deleted code (Bug#13591).
7611 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7613         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7615 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
7617         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7619         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7620         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7621         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7623 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7625         * desktop.el (desktop-clear): Simplify; remove useless checks
7626         against invalid buffer names.
7627         (desktop-list*): Use cl-list*.
7628         (desktop-buffer-info, desktop-create-buffer): Simplify.
7630 2013-07-23  Leo Liu  <sdl.web@gmail.com>
7632         * bookmark.el (bookmark-make-record): Restore NAME as a default
7633         value.  (Bug#14933)
7635 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7637         * emacs-lisp/autoload.el (autoload--setup-output): New function,
7638         extracted from autoload--insert-text.
7639         (autoload--insert-text): Remove.
7640         (autoload--print-cookie-text): New function, extracted from
7641         autoload--insert-cookie-text.
7642         (autoload--insert-cookie-text): Remove.
7643         (autoload-generate-file-autoloads): Adjust calls accordingly.
7645         * winner.el (winner-hook-installed-p): Remove.
7646         (winner-mode): Simplify accordingly.
7648         * subr.el (add-to-list): Fix compiler-macro when `append' is
7649         not constant.  Don't use `cl-member' for the base case.
7651         * progmodes/subword.el: Fix boundary case (bug#13758).
7652         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
7653         own group.
7654         (subword-backward-regexp): Make it a constant.
7655         (subword-forward-internal): Don't treat a trailing capital as the
7656         beginning of a word.
7658 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
7660         * emacs-lisp/package.el (package-menu-mode): Don't modify the
7661         global value of tabulated-list-revert-hook (bug#14930).
7663 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
7665         * desktop.el: Require 'cl-lib.
7666         (desktop-before-saving-frames-functions): New hook.
7667         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7668         for frames being saved.  Rename from desktop--save-minibuffer-frames.
7669         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7670         Do not save frames with non-nil `desktop-dont-save' parameter.
7671         Filter out deleted frames.
7672         (desktop--find-frame): Use cl-find-if.
7673         (desktop--select-frame): Use cl-(first|second|third) to access values
7674         of desktop-mini.
7675         (desktop--make-frame): Use cl-delete-if.
7676         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7677         (desktop-restore-frames): Use cl-(first|second|third) to access values
7678         of desktop-mini.  Look for visible frame at the end, not while
7679         restoring frames.
7681         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7682         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7683         Use string-match-p, looking-at-p (bug#14927).
7685 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
7687         * desktop.el (desktop-saved-frame-states):
7688         Rename from desktop--saved-states; all users changed.
7689         (desktop-save-frames): Rename from desktop--save-frames.
7690         Do not save state to desktop file.
7691         (desktop-save): Save desktop-saved-frame-states to desktop file
7692         and reset to nil.
7693         (desktop-restoring-frames-p): New function.
7694         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
7695         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
7696         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
7698         * desktop.el: Correctly restore iconified frames.
7699         (desktop--filter-iconified-position): New function.
7700         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7702 2013-07-20  Glenn Morris  <rgm@gnu.org>
7704         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7705         Let `message' do the formatting.
7706         (def-gdb-preempt-display-buffer): Add explicit format.
7708         * image-dired.el (image-dired-track-original-file):
7709         Use with-current-buffer.
7710         (image-dired-track-thumbnail): Use with-current-buffer.
7711         Avoid changing point of wrong window.
7713         * image-dired.el (image-dired-track-original-file):
7714         Avoid changing point of wrong window.  (Bug#14909)
7716 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
7718         * progmodes/gdb-mi.el (gdb-done-or-error):
7719         Guard against "%" in gdb output.  (Bug#14127)
7721 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
7723         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7724         (Bug#14826)
7726         * international/mule.el (coding-system-iso-2022-flags): Fix last
7727         change.
7729 2013-07-20  Kenichi Handa  <handa@gnu.org>
7731         * international/mule.el (coding-system-iso-2022-flags):
7732         Add `8-bit-level-4'.  (Bug#8522)
7734 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7736         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7737         (bug#14815).
7739         * net/eww.el (eww-process-text-input): Allow inputting when the
7740         point is at the start of the line, as the properties aren't
7741         front-sticky.
7743         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7744         degenerate widths.
7746 2013-07-19  Richard Stallman  <rms@gnu.org>
7748         * epa.el (epa-popup-info-window): Doc fix.
7750         * subr.el (split-string): New arg TRIM.
7752 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7754         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7755         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7757 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7759         * filenotify.el (file-notify--library): Rename from
7760         `file-notify-support'.  Do not autoload.  Adapt all uses.
7761         (file-notify-supported-p): New defun.
7763         * autorevert.el (auto-revert-use-notify):
7764         Use `file-notify-supported-p' instead of `file-notify-support'.
7765         Adapt docstring.
7766         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7768         * net/tramp.el (tramp-file-name-for-operation):
7769         Add `file-notify-supported-p'.
7771         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7772         New defun.
7773         (tramp-sh-file-name-handler-alist): Add it as handler for
7774         `file-notify-supported-p '.
7776         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7777         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7778         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7779         Add `ignore' as handler for `file-notify-*' functions.
7781 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7783         * simple.el (line-move-partial, line-move): Don't start vscroll or
7784         scroll-up if the current line is not taller than the window.
7785         (Bug#14881)
7787 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7789         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7790         highlight question marks in the method names as strings.
7791         (ruby-block-beg-keywords): Inline.
7792         (ruby-font-lock-keyword-beg-re): Extract from
7793         `ruby-font-lock-keywords'.
7795 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7797         * frame.el (blink-cursor-blinks): New defcustom.
7798         (blink-cursor-blinks-done): New defvar.
7799         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7800         (blink-cursor-timer-function): Check if number of blinks has been
7801         done on X and NS.
7802         (blink-cursor-suspend, blink-cursor-check): New defuns.
7804 2013-07-15  Glenn Morris  <rgm@gnu.org>
7806         * edmacro.el (edmacro-format-keys): Fix previous change.
7808 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7810         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7811         The hack didn't work outside English locales anyway.
7813 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7815         * simple.el (define-alternatives): Rename from alternatives-define,
7816         per RMS' suggestion.
7818 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7820         * desktop.el (desktop-restore-frames): Change default to t.
7821         (desktop-restore-in-current-display): Now offer more options.
7822         (desktop-restoring-reuses-frames): New customization option.
7823         (desktop--saved-states): Doc fix.
7824         (desktop-filter-parameters-alist): New variable, renamed and expanded
7825         from desktop--excluded-frame-parameters.
7826         (desktop--target-display): New variable.
7827         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7828         (desktop--filter-tty*, desktop--filter-*-color)
7829         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7830         (desktop--filter-save-desktop-parm)
7831         (desktop-restore-in-original-display-p): New functions.
7832         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7833         (desktop--save-minibuffer-frames): New function, inspired by a similar
7834         function from Martin Rudalics.
7835         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7836         (desktop--restore-in-this-display-p): Remove.
7837         (desktop--find-frame): Rename from desktop--find-frame-in-display
7838         and add predicate argument.
7839         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7840         (desktop--reuse-list): New variable.
7841         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7842         New functions.
7843         (desktop--restore-frames): Add support for "minibuffer-special" frames.
7845 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
7847         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7849 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
7851         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7852         Highlight conversion methods on Kernel.
7854 2013-07-13  Alan Mackenzie  <acm@muc.de>
7856         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7857         and comment it out.  This out-commenting enables certain C++
7858         declarations to be parsed correctly.
7860 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
7862         * international/mule.el (define-coding-system): Doc fix.
7864         * simple.el (default-font-height): Don't call font-info if the
7865         frame's default font didn't change since the frame was created.
7866         (Bug#14838)
7868 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7870         * ido.el (ido-read-file-name): Guard against non-symbol value.
7872 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7874         * progmodes/python.el (python-imenu--build-tree): Fix corner case
7875         in nested defuns.
7877 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7879         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7880         ido-set-matches call.  (Bug#6852)
7882 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
7884         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7885         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7886         Ruby 2.0.
7887         (ruby-font-lock-keywords): Distinguish calls to functions with
7888         module-like names from module references.  Highlight character
7889         literals.
7891 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
7893         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7894         (gdb-send): Handle continued commands.  (Bug#14847)
7896 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7898         * desktop.el (desktop--v2s): Remove unused local variable.
7899         (desktop-save-buffer): Make defvar-local; adjust docstring.
7900         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7901         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7903 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7905         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7907 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
7909         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7910         (Bug#14842)
7912 2013-07-12  Glenn Morris  <rgm@gnu.org>
7914         * doc-view.el: Require cl-lib at runtime too.
7915         (doc-view-remove-if): Remove.
7916         (doc-view-search-next-match, doc-view-search-previous-match):
7917         Use cl-remove-if.
7919         * edmacro.el: Require cl-lib at runtime too.
7920         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7921         (edmacro-mismatch, edmacro-subseq): Remove.
7923         * shadowfile.el: Require cl-lib.
7924         (shadow-remove-if): Remove.
7925         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7926         Use cl-remove-if.
7928         * wid-edit.el: Require cl-lib.
7929         (widget-choose): Use cl-remove-if.
7930         (widget-remove-if): Remove.
7932         * progmodes/ebrowse.el: Require cl-lib at runtime too.
7933         (ebrowse-delete-if-not): Remove.
7934         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7935         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7936         Use cl-delete-if-not.
7938 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7940         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7941         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7943 2013-07-12  Leo Liu  <sdl.web@gmail.com>
7945         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
7947 2013-07-11  Glenn Morris  <rgm@gnu.org>
7949         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7950         (edebug-gensym-index, edebug-gensym):
7951         Remove reimplementation of cl-gensym.
7952         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7954         * thumbs.el: Require cl-lib at run-time too.
7955         (thumbs-gensym-counter, thumbs-gensym):
7956         Remove reimplementation of cl-gensym.
7957         (thumbs-temp-file): Use cl-gensym.
7959         * emacs-lisp/ert.el: Require cl-lib at runtime too.
7960         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7961         (ert--intersection, ert--set-difference, ert--set-difference-eq)
7962         (ert--union, ert--gensym-counter, ert--gensym-counter)
7963         (ert--coerce-to-vector, ert--remove*, ert--string-position)
7964         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7965         (ert-make-test-unbound, ert--expand-should-1)
7966         (ert--expand-should, ert--should-error-handle-error)
7967         (should-error, ert--explain-equal-rec)
7968         (ert--plist-difference-explanation, ert-select-tests)
7969         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7970         Use cl-lib functions rather than reimplementations.
7972 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
7974         * net/tramp.el (tramp-methods): Extend docstring.
7975         (tramp-connection-timeout): New defcustom.
7976         (tramp-error-with-buffer): Reset timestamp only when appropriate.
7977         (with-tramp-progress-reporter): Simplify.
7978         (tramp-process-actions): Improve messages.
7980         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7981         * net/tramp-sh.el (tramp-maybe-open-connection):
7982         Use `tramp-connection-timeout'.
7983         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7984         (Bug#14808)
7986 2013-07-11  Leo Liu  <sdl.web@gmail.com>
7988         * ido.el (ido-read-file-name): Conform to the requirements of
7989         read-file-name.  (Bug#11861)
7990         (ido-read-directory-name): Conform to the requirements of
7991         read-directory-name.
7993 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
7995         * subr.el (delay-warning): New function.
7997 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
7999         * simple.el (default-line-height): New function.
8000         (line-move-partial, line-move): Use it instead of computing the
8001         line height inline.
8002         (line-move-partial): Always compute ROWH.  If the last line is
8003         partially-visible, but its text is completely visible, allow
8004         cursor to enter such a partially-visible line.
8006 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8008         Improve error messages.  (Bug#14808)
8010         * net/tramp.el (tramp-current-connection): New defvar, moved from
8011         tramp-sh.el.
8012         (tramp-message-show-progress-reporter-message): Remove, not
8013         needed anymore.
8014         (tramp-error-with-buffer): Show message in minibuffer.
8015         Discard input before waiting.  Reset connection timestamp.
8016         (with-tramp-progress-reporter): Improve messages.
8017         (tramp-process-actions): Use progress reporter.  Delete process in
8018         case of error.  Improve messages.
8020         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8021         Call `tramp-error-with-buffer' with vector and buffer.
8022         (tramp-current-connection): Remove.
8023         (tramp-maybe-open-connection): The car of
8024         `tramp-current-connection' are the first 3 slots of the vector.
8026 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
8028         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8029         inside continued strings.
8031 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
8033         Timestamp fixes for undo (Bug#14824).
8034         * files.el (clear-visited-file-modtime): Move here from fileio.c.
8036 2013-07-10  Leo Liu  <sdl.web@gmail.com>
8038         * files.el (require-final-newline): Allow safe local value.
8039         (Bug#14834)
8041 2013-07-09  Leo Liu  <sdl.web@gmail.com>
8043         * ido.el (ido-read-directory-name): Handle fallback.
8044         (ido-read-file-name): Update DIR to ido-current-directory.
8045         (Bug#1516)
8046         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
8048 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
8050         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8051         "autoload".  Remove "warn lower camel case" section, previously
8052         commented out.  Highlight negation char.  Do not highlight the
8053         target in singleton method definitions.
8055 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8057         * faces.el (tty-setup-hook): Declare the hook.
8059         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8060         and detect when a guard/pred depends on local vars (bug#14773).
8061         (pcase--u1): Adjust caller.
8063 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
8065         * simple.el (line-move-partial, line-move): Account for
8066         line-spacing.
8067         (line-move-partial): Avoid setting vscroll when the last
8068         partially-visible line in window is of default height.
8070 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8072         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8073         been used a while.
8075 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
8077         * subr.el (read-quoted-char): Remove unused local variable `char'.
8079 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8081         * ediff.el (ediff-version): Version update.
8082         (ediff-files-command, ediff3-files-command, ediff-merge-command)
8083         (ediff-merge-with-ancestor-command, ediff-directories-command)
8084         (ediff-directories3-command, ediff-merge-directories-command)
8085         (ediff-merge-directories-with-ancestor-command): New functions.
8086         All are command-line interfaces to ediff: to facilitate calling
8087         Emacs with the appropriate ediff functions invoked.
8089         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8090         (viper-save-kill-buffer): Check if buffer is modified.
8092         * viper.el (viper-version): Version update.
8093         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8095 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8097         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8098         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8099         (viper-intercept-ESC-key): Simplify.
8100         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8101         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8102         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8103         (viper-setup-ESC-to-escape): New functions.
8104         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8105         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
8107 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
8109         * simple.el (default-font-height, window-screen-lines):
8110         New functions.
8111         (line-move, line-move-partial): Use them instead of
8112         frame-char-height and window-text-height.  This makes scrolling
8113         text smoother when the buffer's default face uses a font that is
8114         different from the frame's default font.
8116 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
8118         * files.el (write-file): Do not display confirm dialog for NS,
8119         it does its own dialog, which can't be canceled (Bug#14578).
8121 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
8123         * simple.el (line-move-partial): Adjust the row returned by
8124         posn-at-point for the current window-vscroll.  (Bug#14567)
8126 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
8128         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8129         (tramp-sh-file-inotifywait-process-filter): Handle file names with
8130         spaces.
8132 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
8134         * window.el (window-state-put-stale-windows): New variable.
8135         (window--state-put-2): Save list of windows without matching buffer.
8136         (window-state-put): Remove "bufferless" windows if possible.
8138 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8140         * simple.el (alternatives-define): Remove leftover :group keyword.
8141         Tweak docstring.
8143 2013-07-06  Leo Liu  <sdl.web@gmail.com>
8145         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8146         (ido-enable-virtual-buffers): New variable.
8147         (ido-buffer-internal, ido-toggle-virtual-buffers)
8148         (ido-make-buffer-list): Use it.
8149         (ido-exhibit): Support turning on and off virtual buffers
8150         automatically.
8152 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8154         * simple.el (alternatives-define): New macro.
8156 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8158         * subr.el (read-quoted-char): Use read-key.
8159         (sit-for): Let read-event decode tty input (bug#14782).
8161 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
8163         * calendar/todo-mode.el: Add handling of file deletion, both by
8164         mode command and externally.  Fix various related bugs.
8165         Clarify Commentary and improve some documentation strings and code.
8166         (todo-delete-file): New command.
8167         (todo-check-file): New function.
8168         (todo-show): Handle external deletion of the file we're trying to
8169         show (bug#14688).  Replace called-interactively-p by an optional
8170         prefix argument to avoid problematic interaction with catch form
8171         when byte compiled (bug#14702).
8172         (todo-quit): Handle external deletion of the archive's todo file.
8173         Make sure the buffer that was visiting the archive file is still
8174         live before trying to bury it.
8175         (todo-category-completions): Handle external deletion of any
8176         category completion files.
8177         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8178         of todo files, in case of external deletion.
8179         (todo-add-file): Replace unnecessary setq by let-binding.
8180         (todo-find-archive): Check whether there are any archives.
8181         Replace unnecessary setq by let-binding.
8182         (todo-archive-done-item): Use find-file-noselect to get the
8183         archive buffer whether or not the archive already exists.
8184         Remove superfluous code.  Use file size instead of buffer-file-name to
8185         check if the archive is new; if it is, update list of archives.
8186         (todo-default-todo-file): Allow nil to be a valid value for when
8187         there are no todo files.
8188         (todo-reevaluate-default-file-defcustom): Use corrected definition
8189         of todo-default-todo-file.
8190         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8191         (todo-delete-category, todo-show-categories-table)
8192         (todo-category-number): Clarify comment.
8193         (todo-filter-items): Clarify documentation string.
8194         (todo-show-current-file, todo-display-as-todo-file)
8195         (todo-reset-and-enable-done-separator): Tweak documentation string.
8196         (todo-done-separator): Make separator length window-width, since
8197         bug#2749 is now fixed.
8199 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
8201         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8202         Support both "gvfs-monitor-dir" and "inotifywait".
8203         (tramp-sh-file-inotifywait-process-filter): Rename from
8204         `tramp-sh-file-notify-process-filter'.
8205         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8206         (tramp-get-remote-gvfs-monitor-dir): New defuns.
8208 2013-07-05  Leo Liu  <sdl.web@gmail.com>
8210         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8212 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8214         * frame.el (display-pixel-height, display-pixel-width)
8215         (display-mm-height, display-mm-width): Mention behavior on
8216         multi-monitor setups in docstrings.
8217         (w32-display-monitor-attributes-list): Declare function.
8218         (display-monitor-attributes-list): Use it.
8220 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
8222         * filenotify.el: New package.
8224         * autorevert.el (top): Require filenotify.el.
8225         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
8226         instead.
8227         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8228         (auto-revert-notify-handler): Use `file-notify-*' functions.
8230         * subr.el (file-notify-handle-event): Move function to filenotify.el.
8232         * net/tramp.el (tramp-file-name-for-operation):
8233         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8235         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8236         for `file-notify-add-watch' and `file-notify-rm-watch'.
8237         (tramp-process-sentinel): Improve trace.
8238         (tramp-sh-handle-file-notify-add-watch)
8239         (tramp-sh-file-notify-process-filter)
8240         (tramp-sh-handle-file-notify-rm-watch)
8241         (tramp-get-remote-inotifywait): New defuns.
8243 2013-07-03  Juri Linkov  <juri@jurta.org>
8245         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8246         call of `occur-read-primary-args' to interactive spec.
8248         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8249         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
8251 2013-07-03  Matthias Meulien  <orontee@gmail.com>
8253         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8254         `Buffer-menu-multi-occur'.  Add it to the menu.
8255         (Buffer-menu-mode): Document it in docstring.
8256         (Buffer-menu-multi-occur): New command.  (Bug#14673)
8258 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8260         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8261         keywords and built-ins.
8263 2013-07-03  Glenn Morris  <rgm@gnu.org>
8265         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
8267         Make info-xref checks case-sensitive by default
8268         * info.el (Info-find-node, Info-find-in-tag-table)
8269         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8270         Add option for exact case matching of nodes.
8271         * info-xref.el (info-xref): New custom group.
8272         (info-xref-case-fold): New option.
8273         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8275 2013-07-03  Leo Liu  <sdl.web@gmail.com>
8277         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8279 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8281         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8282         middle of block statement initially, lower the depth.  Remove
8283         FIXME comment, not longer valid.  Remove middle of block statement
8284         detection, no need to do that anymore since we've been using
8285         `ruby-parse-region' here.
8287 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
8289         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8291 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
8293         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8295 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
8297         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8298         (desktop-restore-in-current-display): New customization option.
8299         (desktop--excluded-frame-parameters): Add `font'.
8300         (desktop--save-frames): Rename from desktop--save-windows.
8301         (desktop--restore-in-this-display-p): New function.
8302         (desktop--make-full-frame): Remove unwanted width/height from
8303         full(width|height) frames.
8304         (desktop--restore-frames): Rename from desktop--restore-windows.
8305         Obey desktop-restore-current-display.  Do not delete old frames or
8306         select a new frame unless we were able to restore at least one frame.
8308 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
8310         * files.el (find-file-noselect): Simplify conditional expression.
8312         * textmodes/remember.el (remember-append-to-file):
8313         Don't mix `find-buffer-visiting' and `get-file-buffer'.
8315         Add `remember-notes' function to store random notes across Emacs
8316         restarts.
8317         * textmodes/remember.el (remember-data-file): Add :set callback to
8318         affect notes buffer (if any).
8319         (remember-notes): New command.
8320         (remember-notes-buffer-name, bury-remember-notes-on-kill):
8321         New defcustoms for the `remember-notes' function.
8322         (remember-notes-save-and-bury-buffer): New command.
8323         (remember-notes-mode-map): New variable.
8324         (remember-mode): New minor mode.
8325         (remember-notes--kill-buffer-query): New function.
8326         * startup.el (initial-buffer-choice): Add notes to custom type.
8328 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
8330         * bindings.el (right-char, left-char): Don't call sit-for, this is
8331         no longer needed.  Use arithmetic comparison only for numerical
8332         arguments.
8334         * international/mule-cmds.el (select-safe-coding-system):
8335         Handle the case of FROM being a string correctly.  (Bug#14755)
8337 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8339         * net/shr.el (shr-make-table-1): Add a sanity check that allows
8340         progression on degenerate tables.
8341         (shr-rescale-image): ImageMagick animated images currently don't work.
8343 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
8345         Some fixes and improvements for desktop frame restoration.
8346         It is still experimental and disabled by default.
8347         * desktop.el (desktop--save-windows): Put the selected frame at
8348         the head of the list.
8349         (desktop--make-full-frame): New function.
8350         (desktop--restore-windows): Try to re-select the frame that was
8351         selected upon saving.  Do not abort if some frames fail to restore,
8352         just show an error message and continue.  Set up maximized frames
8353         so they have default non-maximized dimensions.
8355 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
8357         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8358         Don't start heredoc inside a string or comment.
8360 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
8362         * bindings.el (visual-order-cursor-movement): New defcustom.
8363         (right-char, left-char): Provide visual-order cursor motion by
8364         calling move-point-visually.  Update the doc strings.
8366 2013-06-28  Kenichi Handa  <handa@gnu.org>
8368         * international/mule.el (define-coding-system): New coding system
8369         properties :inhibit-null-byte-detection,
8370         :inhibit-iso-escape-detection, and :prefer-utf-8.
8371         (set-buffer-file-coding-system): If :charset-list property of
8372         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8373         appropriate for setting.
8375         * international/mule-cmds.el (select-safe-coding-system):
8376         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8377         multibyte characters, return utf-8 (or one of its siblings).
8379         * international/mule-conf.el (prefer-utf-8): New coding system.
8380         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8381         files.
8383 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
8385         * net/shr.el (shr-render-region): New function.
8387         * net/eww.el: Autoload `eww-browse-url'.
8389 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
8391         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8392         Adapt to `package-desc-version' being a list.
8393         Use `package--ac-desc-version' to retrieve version from a package
8394         archive element.
8396 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
8398         New experimental feature to save&restore window and frame setup.
8399         * desktop.el (desktop-save-windows): New defcustom.
8400         (desktop--saved-states): New var.
8401         (desktop--excluded-frame-parameters): New defconst.
8402         (desktop--filter-frame-parms, desktop--find-frame-in-display)
8403         (desktop--restore-windows, desktop--save-windows): New functions.
8404         (desktop-save): Call `desktop--save-windows'.
8405         (desktop-read): Call `desktop--restore-windows'.
8407 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8409         * net/shr.el (add-face-text-property): Remove compat definition.
8411 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8413         * info.el (Info-try-follow-nearest-node): Move search for footnote
8414         above search for node name to prevent missing a footnote (bug#14717).
8416 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8418         * obsolete/otodo-mode.el: Add obsolescence info to file header.
8420 2013-06-27  Leo Liu  <sdl.web@gmail.com>
8422         * net/eww.el (eww-read-bookmarks): Check file size.
8424 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8426         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8427         advice--pending if newdef is nil or an autoload (bug#13820).
8428         (advice-mapc): New function.
8430 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8432         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8433         probably.
8434         (eww-mode-map): Add a menu bar.
8435         (eww-add-bookmark): New command.
8436         (eww-bookmark-mode): New mode and commands.
8437         (eww-add-bookmark): Remove newlines from the title.
8438         (eww-bookmark-browse): Don't bug out if it's the only window.
8440 2013-06-26  Glenn Morris  <rgm@gnu.org>
8442         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8443         (hfy-size): Handle ttys.  (Bug#14668)
8445         * info-xref.el: Update for Texinfo 5 change in *note format.
8446         (info-xref-node-re, info-xref-note-re): New constants.
8447         (info-xref-check-buffer): Use info-xref-note-re.
8449 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8451         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8453         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8454         nil terminate the loop (bug#14718).
8456 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8458         * net/eww.el: Rework history traversal.  When going forward/back,
8459         put these actions into the history, too, so that they can be
8460         replayed.
8461         (eww-render): Move the history reset to the correct buffer.
8463 2013-06-25  Juri Linkov  <juri@jurta.org>
8465         * files-x.el (modify-dir-local-variable): Change the header comment
8466         in the file with directory local variables.  (Bug#14692)
8468         * files-x.el (read-file-local-variable-value): Add `default'.
8469         (Bug#14710)
8471 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8473         * net/eww.el (eww-make-unique-file-name): Create a unique file
8474         name before saving to entering `y' accidentally asynchronously.
8476 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
8478         * net/eww.el (eww-download): New command and keystroke.
8480 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8482         * net/eww.el (eww-copy-page-url): Change name of command.
8484         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8485         be more consistent with Info and dired.
8487         * net/eww.el (eww-mode-map): Ditto.
8489 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8491         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
8492         packages from archives.
8493         (package-archive-contents): Change format; include obsolete packages.
8494         (package-desc): Use `dir' to mark builtin packages.
8495         (package--from-builtin): Set the `dir' field to `builtin'.
8496         (generated-autoload-file, version-control): Declare.
8497         (package-compute-transaction): Change first arg and return value to be
8498         lists of package-descs.  Adjust to new package-archive-contents format.
8499         (package--add-to-archive-contents): Adjust to new
8500         package-archive-contents format.
8501         (package-download-transaction): Arg is now a list of package-descs.
8502         (package-install): If `pkg' is a package name, pass it as
8503         a requirement, so it is subject to the usual (e.g. disabled) checks.
8504         (describe-package): Accept package-desc as well.
8505         (describe-package-1): Describe a specific package-desc.  Add links to
8506         other package-descs for the same package name.
8507         (package-menu-describe-package): Pass the actual package-desc.
8508         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8509         works correctly.
8510         (package-desc-status): New function.
8511         (package-menu--refresh): New function, extracted
8512         from package-menu--generate.
8513         (package-menu--generate): Use it.
8514         (package-delete): Update package-alist.
8515         (package-menu-execute): Don't call package-initialize.
8517         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8518         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8519         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8520         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8521         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8522         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8524 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
8526         * window.el (window--state-get-1): Workaround for bug#14527.
8527         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8529 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8531         * net/eww.el (eww-back-url): Implement the history by stashing all
8532         the data into a list.
8533         (eww-forward-url): Allow going forward in the history, too.
8535 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8538         for values and use read--expression for expressions (bug#14710).
8539         (read-file-local-variable): Avoid setq.
8540         (read-file-local-variable-mode): Use minor-mode-list.
8542 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8544         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8545         for DOI URLs.
8547 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8549         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8550         Update imenu-support when dialect changes.
8552 2013-06-25  Leo Liu  <sdl.web@gmail.com>
8554         * ido.el (ido-read-internal): Allow forward slash on windows.
8556 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8558         * net/eww.el (eww): Start of strings is \\`, not ^.
8560 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8562         * net/shr.el (shr-browse-url): Fix interactive spec.
8564         * net/eww.el (eww): Add a trailing slash to domain names.
8566 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
8568         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8570 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8572         * net/shr.el (shr-browse-url): Use an external browser if given a
8573         prefix.
8575         * net/eww.el (eww-external-browser): Move to shr.
8577 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8579         * net/eww.el (eww): Work more correctly for file: URLs.
8580         (eww-detect-charset): Allow quoted charsets.
8581         (eww-yank-page-url): New command and keystroke.
8583 2013-06-24  Daiki Ueno  <ueno@gnu.org>
8585         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8586         file name of gpg executable.
8587         (epg-context-program): New function.
8588         (epg-context-home-directory): New function.
8589         (epg-context-set-program): New function.
8590         (epg-context-set-home-directory): New function.
8591         (epg--start): Use `epg-context-program' instead of
8592         'epg-gpg-program'.
8593         (epg--list-keys-1): Likewise.
8595 2013-06-24  Leo Liu  <sdl.web@gmail.com>
8597         * ido.el (ido-read-internal): Fix bug#14620.
8599 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8601         * faces.el (face-documentation): Simplify.
8602         (read-face-attribute, tty-find-type, x-resolve-font-name):
8603         Use `string-match-p'.
8604         (list-faces-display): Use `string-match-p'.  Simplify.
8605         (face-spec-recalc): Check face to avoid face alias loops.
8606         (read-color): Use `string-match-p' and non-capturing parenthesis.
8608 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8610         * net/shr.el (shr-rescale-image): Use the new
8611         :max-width/:max-height functionality.
8613 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
8615         * net/eww.el (eww-search-prefix): New variable.
8616         (eww): Use it.
8617         (eww-external-browser): New variable.
8618         (eww-mode-map): New keystroke.
8619         (eww-browse-with-external-browser): New command.
8621         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8623 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8625         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8626         Don't skip aligning the next header field when padding is 0;
8627         otherwise, field width is not respected unless the title is as
8628         wide as the field.
8630 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8632         * emacs-lisp/package.el (package-el-version): Remove.
8633         (package-process-define-package): Fix inf-loop.
8634         (package-install): Allow symbols as arguments again.
8636 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8638         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8639         add some more keyword-like methods.
8640         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8642 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
8644         * bs.el (bs-buffer-show-mark): Make defvar-local.
8645         (bs-mode): Use setq-local.
8647         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8648         (emacs-lock--try-unlocking): Make defvar-local.
8650 2013-06-22  Glenn Morris  <rgm@gnu.org>
8652         * play/cookie1.el (cookie-apropos): Minor simplification.
8654         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8656 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8658         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8659         `regexp-opt', it breaks the build during dumping.
8661 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8663         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8664         Highlight keyword-like methods on Kernel and Module with
8665         font-lock-builtin-face.
8666         (auto-mode-alist): Consolidate different entries into one regexp
8667         and add more *file-s.
8669 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
8671         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8673         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8674         (diary-entry): Use it in the action of this button type instead of
8675         diary-goto-entry.
8677         * calendar/todo-mode.el: New version.
8678         (todo-add-category): Append new category to end of file and give
8679         it the highest number, instead of putting it at the beginning and
8680         giving it 0.  Incorporate noninteractive functionality.
8681         (todo-forward-category): Adapt to 1-based category numbering.
8682         Allow skipping over archived categories.
8683         (todo-backward-category): Derive from todo-forward-category.
8684         (todo-backward-item, todo-forward-item): Make noninteractive and
8685         delegate interactive part to new commands.  Make sensitive to done items.
8686         (todo-categories): Make value an alist of category names and
8687         vectors of item counts.
8688         (todo-category-beg): Make a defconst.
8689         (todo-category-number): Use 1 instead of 0 as initial value.
8690         (todo-category-select): Make sensitive to overlays, optional item
8691         highlighting and done items.
8692         (todo-delete-item): Make sensitive to overlays and marked and done items.
8693         (todo-edit-item): Make sensitive to overlays and editing of
8694         date/time header optional.  Add format checks.
8695         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
8696         no-op if point is not on an item.  Advertise using todo-edit-quit.
8697         (todo-edit-mode): Make sensitive to new format, font-locking, and
8698         multiple todo files.
8699         (todo-insert-item, todo-insert-item-here): Derive from
8700         todo-basic-insert-item and extend functionality.
8701         (todo-item-end, todo-item-start): Make sensitive to done items.
8702         (todo-item-string): Don't return text properties.  Restore point.
8703         (todo-jump-to-category): Make sensitive to multiple todo files and
8704         todo archives.  Use extended category completion.
8705         (todo-lower-item, todo-raise-item): Rename to *-priority and
8706         derive from todo-set-item-priority.
8707         (todo-mode): Derive from special-mode.  Make sensitive to new
8708         format, font-locking and multiple todo files.  Make read-only.
8709         (todo-mode-map): Don't suppress digit keys, so they can supply
8710         prefix arguments.  Add many new key bindings.
8711         (todo-prefix): Insert as an overlay instead of file text.
8712         Change semantics from diary date expression to purely visual mark.
8713         (todo-print): Rename to todo-print-buffer.  Make buffer display
8714         features printable.  Remove option to restrict number of items
8715         printed.  Add option to print to file.
8716         (todo-print-function): Rename to todo-print-buffer-function.
8717         (todo-quit): Extend to handle exiting new todo modes.
8718         (todo-remove-item): Make sensitive to overlays.
8719         (todo-save): Extend to buffers of filtered items.
8720         (todo-show): Make sensitive to done items, multiple todo files and
8721         new todo modes.  Offer to convert legacy todo file before creating
8722         first new todo file.
8723         (todo-show-priorities): Rename to todo-top-priorities.
8724         Change semantics of value 0.
8725         (todo-top-priorities): Rename to todo-filter-top-priorities,
8726         derive from todo-filter-items and extend functionality.
8727         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8728         and extend functionality to other types of filtered items.
8729         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8730         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8731         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8732         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8733         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8734         (todo-edit-mode-hook, todo-entry-prefix-function)
8735         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8736         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8737         (todo-initials, todo-insert-threshold, todo-item-string-start)
8738         (todo-line-string, todo-menu, todo-mode-hook)
8739         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8740         (todo-print-priorities, todo-remove-separator)
8741         (todo-save-top-priorities-too, todo-string-count-lines)
8742         (todo-string-multiline-p, todo-time-string-format)
8743         (todo-tmp-buffer-name): Remove.
8744         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8745         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8746         (todo-edit-category-diary-inclusion)
8747         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8748         (todo-edit-file, todo-edit-item-date-day)
8749         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8750         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8751         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8752         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8753         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8754         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8755         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8756         (todo-filter-top-priorities-multifile, todo-find-archive)
8757         (todo-find-filtered-items-file, todo-go-to-source-item)
8758         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8759         (todo-jump-to-archive-category, todo-lower-category)
8760         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8761         (todo-move-category, todo-move-item, todo-next-button)
8762         (todo-next-item, todo-padded-string, todo-powerset)
8763         (todo-previous-button, todo-previous-item)
8764         (todo-print-buffer-to-file, todo-raise-category)
8765         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8766         (todo-set-category-number, todo-set-item-priority)
8767         (todo-set-top-priorities-in-category)
8768         (todo-set-top-priorities-in-file, todo-show-categories-table)
8769         (todo-sort-categories-alphabetically-or-numerically)
8770         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8771         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8772         (todo-toggle-item-header, todo-toggle-item-highlighting)
8773         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8774         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8775         (todo-unarchive-items, todo-unmark-category): New commands.
8776         (todo-absolute-file-name, todo-add-to-buffer-list)
8777         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8778         (todo-basic-insert-item, todo-category-completions)
8779         (todo-category-number, todo-category-string-matcher-1)
8780         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8781         (todo-check-format, todo-clear-matches)
8782         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8783         (todo-current-category, todo-date-string-matcher)
8784         (todo-define-insertion-command, todo-diary-expired-matcher)
8785         (todo-diary-goto-entry, todo-diary-item-p)
8786         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8787         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8788         (todo-done-item-section-p, todo-done-separator)
8789         (todo-done-string-matcher, todo-files, todo-filter-items)
8790         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8791         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8792         (todo-insert-category-line, todo-insert-item-from-calendar)
8793         (todo-insert-sort-button, todo-insert-with-overlays)
8794         (todo-insertion-command-name, todo-insertion-key-bindings)
8795         (todo-label-to-key, todo-longest-category-name-length)
8796         (todo-make-categories-list, todo-mode-external-set)
8797         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8798         (todo-modes-set-3, todo-multiple-filter-files)
8799         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8800         (todo-read-category, todo-read-date, todo-read-dayname)
8801         (todo-read-file-name, todo-read-time)
8802         (todo-reevaluate-category-completions-files-defcustom)
8803         (todo-reevaluate-default-file-defcustom)
8804         (todo-reevaluate-filelist-defcustoms)
8805         (todo-reevaluate-filter-files-defcustom)
8806         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8807         (todo-reset-done-separator, todo-reset-done-separator-string)
8808         (todo-reset-done-string, todo-reset-global-current-todo-file)
8809         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8810         (todo-reset-prefix, todo-set-categories)
8811         (todo-set-date-from-calendar, todo-set-show-current-file)
8812         (todo-set-top-priorities, todo-short-file-name)
8813         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8814         (todo-total-item-counts, todo-update-buffer-list)
8815         (todo-update-categories-display, todo-update-categories-sexp)
8816         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8817         New functions.
8818         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8819         New major modes.
8820         (todo-categories, todo-display, todo-edit, todo-faces)
8821         (todo-filtered): New defgroups.
8822         (todo-archived-only, todo-button, todo-category-string, todo-date)
8823         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8824         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8825         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8826         (todo-add-item-if-new-category, todo-always-add-time-string)
8827         (todo-categories-align, todo-categories-archived-label)
8828         (todo-categories-category-label, todo-categories-diary-label)
8829         (todo-categories-done-label, todo-categories-number-separator)
8830         (todo-categories-todo-label, todo-categories-totals-label)
8831         (todo-category-completions-files, todo-completion-ignore-case)
8832         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8833         (todo-done-separator-string, todo-done-string)
8834         (todo-files-function, todo-filter-done-items, todo-filter-files)
8835         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8836         (todo-initial-category, todo-initial-file, todo-item-mark)
8837         (todo-legacy-date-time-regexp, todo-mode-line-function)
8838         (todo-nondiary-marker, todo-number-prefix)
8839         (todo-print-buffer-function, todo-show-current-file)
8840         (todo-show-done-only, todo-show-first, todo-show-with-done)
8841         (todo-skip-archived-categories, todo-top-priorities-overrides)
8842         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8843         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8844         New defcustoms.
8845         (todo-category-done, todo-date-pattern, todo-date-string-start)
8846         (todo-diary-items-buffer, todo-done-string-start)
8847         (todo-filtered-items-buffer, todo-item-start)
8848         (todo-month-abbrev-array, todo-month-name-array)
8849         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8850         (todo-top-priorities-buffer): New defconsts.
8851         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8852         (todo-categories-with-marks, todo-category-string-face)
8853         (todo-comment-face, todo-comment-string, todo-current-todo-file)
8854         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8855         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8856         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8857         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8858         (todo-font-lock-keywords, todo-global-current-todo-file)
8859         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8860         (todo-insertion-commands-args)
8861         (todo-insertion-commands-args-genlist)
8862         (todo-insertion-commands-names, todo-insertion-map)
8863         (todo-key-bindings-t, todo-key-bindings-t+a)
8864         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8865         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8866         (todo-nondiary-face, todo-print-buffer, todo-time-face)
8867         (todo-visited): New variables.
8869 2013-06-21  Glenn Morris  <rgm@gnu.org>
8871         * play/cookie1.el (cookie-apropos): Add optional display argument.
8872         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8873         (psychoanalyze-pinhead): Use cookie-doctor.
8875 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8877         * emacs-lisp/package.el (tar-get-file-descriptor)
8878         (tar--extract): Declare.
8880 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
8882         Extend flymake's warning predicate to be a function (bug#14217).
8883         * progmodes/flymake.el (flymake-warning-predicate): New.
8884         (flymake-parse-line): Use it.
8885         (flymake-warning-re): Make obsolete alias to
8886         `flymake-warning-predicate'.
8888 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8890         * emacs-lisp/package.el (package-alist): Include obsolete packages.
8891         (package-obsolete-list): Remove.
8892         (package-activate): Remove min-version argument.  Add `force' argument.
8893         Adjust to new package-alist format.
8894         (package-mark-obsolete): Remove.
8895         (package-unpack): Force reload of the package's autoloads.
8896         (package-installed-p): Check builtins if the installed package is not
8897         recent enough.
8898         (package-initialize): Don't reset package-obsolete-list.
8899         Don't specify which package version to activate.
8900         (package-process-define-package, describe-package-1)
8901         (package-menu--generate): Adjust to new package-alist format.
8903 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8905         * allout-widgets.el (allout-widgets-mode-off)
8906         (allout-widgets-mode-on, allout-widgets-pre-command-business)
8907         (allout-widgets-post-command-business)
8908         (allout-widgets-after-copy-or-kill-function)
8909         (allout-widgets-after-undo-function, allout-test-range-overlaps)
8910         (allout-decorate-item-and-context)
8911         (allout-graphics-modification-handler): Fix typos in docstrings.
8912         (allout-get-or-create-parent-widget): Use `looking-at-p'.
8914         * cmuscheme.el (scheme-start-file): Doc fix.
8915         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8916         (scheme-input-filter): Use `string-match-p'.
8918         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8920         * dired-x.el: Use Dired consistently in docstrings.
8922         * dired.el: Use Dired consistently in docstrings.
8923         (dired-readin, dired-mode): Use `setq-local'.
8924         (dired-switches-alist): Make defvar-local.
8925         (dired-buffers-for-dir): Use `zerop'.
8926         (dired-safe-switches-p, dired-switches-escape-p)
8927         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8928         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8929         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8930         (dired-goto-next-nontrivial-file): Use `string-match-p'.
8931         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8932         (dired-toggle-marks, dired-mark-files-containing-regexp)
8933         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8934         (dired-flag-auto-save-files, dired-flag-backup-files):
8935         Use `looking-at-p'.
8936         (dired-mark-files-regexp, dired-build-subdir-alist):
8937         Use `string-match-p', `looking-at-p'.
8939         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8940         (direct-print-region-helper): Use `string-match-p'.
8942 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8944         * comint.el (comint-redirect-results-list-from-process):
8945         Fix infinite loop.
8947 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8949         * net/eww.el (eww-update-header-line-format): Quote % characters.
8951 2013-06-21  Glenn Morris  <rgm@gnu.org>
8953         * play/cookie1.el (cookie): New custom group.
8954         (cookie-file): New option.
8955         (cookie-check-file): New function.
8956         (cookie): Make it interactive.  Make start and end messages optional.
8957         Interactively, display the result.  Default to cookie-file.
8958         (cookie-insert): Default to cookie-file.
8959         (cookie-snarf): Make start and end messages optional.
8960         Default to cookie-file.  Use with-temp-buffer.
8961         (cookie-read): Rename from read-cookie.
8962         Make start and end messages optional.  Default to cookie-file.
8963         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
8964         Do not autoload it.
8965         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8966         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8968 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8970         * progmodes/octave.el (octave-mode): Backward compatibility fix.
8972 2013-06-21  Glenn Morris  <rgm@gnu.org>
8974         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8976 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8977             Daniel Hackney  <dan@haxney.org>
8979         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8980         Consolidate the single-file vs tarball code.
8981         (package-desc-suffix): New function.
8982         (package-desc-full-name): Don't bother inlining it.
8983         (package-load-descriptor): Return the new package-desc.
8984         (package-mark-obsolete): Remove unused arg `package'.
8985         (package-unpack): Make it work for single files as well.
8986         Make it update package-alist.
8987         (package--make-autoloads-and-stuff): Rename from
8988         package--make-autoloads-and-compile.  Don't compile any more.
8989         (package--compile): New function.
8990         (package-generate-description-file): New function, extracted from
8991         package-unpack-single.
8992         (package-unpack-single): Remove.
8993         (package--with-work-buffer): Add indentation and debugging info.
8994         (package-download-single): Remove.
8995         (package-install-from-archive): Rename from package-download-tar, make
8996         it take a pkg-desc, and make it work for single files as well.
8997         (package-download-transaction): Simplify.
8998         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
8999         external tar program.
9000         (package-install-from-buffer): Remove `pkg-desc' argument.
9001         Use package-tar-file-info for tar-mode buffers.
9002         (package-install-file): Simplify accordingly.
9003         (package-archive-base): Change to take a pkg-desc.
9004         * tar-mode.el (tar--check-descriptor): New function, extracted from
9005         tar-get-descriptor.
9006         (tar-get-descriptor): Use it.
9007         (tar-get-file-descriptor): New function.
9008         (tar--extract): New function, extracted from tar-extract.
9009         (tar--extract): Use it.
9010         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9011         case the summary uses non-ascii.  Adjust to new calling convention of
9012         package-tar-file-info.
9014 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9016         * comint.el (comint-redirect-results-list-from-process):
9017         Fix random delay.  (Bug#14681)
9019 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9021         * profiler.el (profiler-format-number): Use log, not log10.
9023 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9025         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9027 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9029         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9030         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9031         yet available.
9032         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9033         (AUTOGENEL): ... here.
9034         * emacs-lisp/cl-macs.el (cl--sublis): New function.
9035         (cl--defsubst-expand): Use it.
9037 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
9039         * subr.el (log10): Move here from C code, and declare as obsolete.
9040         All uses of (log10 X) replaced with (log X 10).
9042 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9044         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9045         Declare with `defvar-local'.
9046         (tabulated-list-use-header-line, tabulated-list-entries)
9047         (tabulated-list-padding, tabulated-list-printer)
9048         (tabulated-list-sort-key): Declare with `defvar-local'.
9049         (tabulated-list-init-header, tabulated-list-print-fake-header):
9050         Use `setq-local'.
9052 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
9054         * arc-mode.el (archive-mode): Add `archive-write-file' to
9055         `write-contents-functions' also for remote files.  (Bug#14652)
9057 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9059         * cus-edit.el (custom-commands): Fix typos.
9060         (custom-display): Fix tooltip text.
9061         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9062         Fix typos in docstrings.
9063         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9064         (custom-unlispify-menu-entry, custom-magic-value-create)
9065         (custom-add-see-also, custom-group-value-create): Use ?\s.
9066         (custom-guess-type, customize-apropos, editable-field)
9067         (custom-face-value-create): Use `string-match-p'.
9068         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9070         * custom.el (custom-load-symbol): Use `string-match-p'.
9072         * ansi-color.el: Convert to lexical binding.
9073         (ansi-colors): Fix URL.
9074         (ansi-color-context, ansi-color-context-region): Use defvar-local.
9075         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9076         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9078 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9080         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9082         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9084 2013-06-19  Tom Tromey  <tromey@redhat.com>
9086         * net/eww.el (eww-top-url): Remove.
9087         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9088         (eww-render): Set new variables.  Don't set eww-top-url.
9089         (eww-handle-link): Handle "prev", "home", and "contents".
9090         Downcase the rel text.
9091         (eww-top-url): Choose best top URL.
9093 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9095         * net/eww.el: Rewrite to implement form elements "by hand" instead of
9096         relying in widget.el.  Using widget.el leads to too many
9097         user interface inconsistencies.
9098         (eww-self-insert): Implement entering commands in text fields.
9099         (eww-process-text-input): New function to make text input field editing
9100         work.
9101         (eww-submit): Rewrite to use the new-style form methods.
9102         (eww-select-display): Display the correct selected item.
9103         (eww-change-select): Implement changing the select value.
9104         (eww-toggle-checkbox): Implement radio/checkboxes.
9105         (eww-update-field): Fix compilation error.
9106         (eww-tag-textarea): Implement <textarea>.
9108         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9109         we don't shadow mode-specific bindings.
9111         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9112         nothing to push.
9114         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9116 2013-06-19  Glenn Morris  <rgm@gnu.org>
9118         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9120 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9122         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9123         not needed.
9125         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9127 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9129         * net/browse-url.el (browse-url-browser-function):
9130         `eww-browse-url' has the right calling signature, `eww' does not.
9132 2013-06-19  Glenn Morris  <rgm@gnu.org>
9134         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9135         Only eval autoloaded macros.
9136         (byte-compile-autoload): Only give the macro warning for macros.
9138         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9139         (ps-underlined-faces): Declare.
9141         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9142         (speedbar-add-supported-extension): Declare.
9144         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9145         Don't include a date stamp in the header of the generated file;
9146         it leads to needless differences between output files.
9148 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9150         * net/secrets.el (secrets-struct-secret-content-type):
9151         Replace check of introspection data by a test call of "CreateItem".
9152         Some servers do not offer introspection.
9154 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9156         * electric.el (electric-pair-mode): Improve interaction with
9157         electric-layout-mode.
9158         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9159         (electric-pair-syntax): Use text-mode-syntax-table in comments
9160         and strings.
9161         (electric-pair--insert): New function.
9162         (electric-pair-post-self-insert-function): Use it and
9163         electric--after-char-pos.
9165 2013-06-19  Leo Liu  <sdl.web@gmail.com>
9167         * progmodes/octave.el (octave-help): Fix regexp.
9169 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9171         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9172         (shr-table-horizontal-line): Allow nil as a value, and change the
9173         default.
9174         (shr-insert-table-ruler): Respect the nil value.
9176 2013-06-18  Tom Tromey  <tromey@barimba>
9178         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9179         New defvars.
9180         (eww-open-file): New defun.
9181         (eww-render): Initialize new variables.
9182         (eww-display-html): Handle "link" and "a".
9183         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9184         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
9185         (eww-back-url): Rename from eww-previous-url.
9186         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9187         New defuns.
9189 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
9191         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9192         Distinguish ternary operator tokens from slash symbol and slash
9193         char literal.
9195 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9197         Convert symbol prettification into minor mode and global minor mode.
9199         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9200         `prog-prettify-symbols', and make a local defvar instead of defcustom.
9201         (prettify-symbols--keywords): Rename from
9202         `prog-prettify-symbols-alist' and make a local defvar.
9203         (prettify-symbols--compose-symbol): Rename from
9204         `prog--prettify-font-lock-compose-symbol'.
9205         (prettify-symbols--make-keywords): Rename from
9206         `prog-prettify-font-lock-symbols-keywords' and simplify.
9207         (prog-prettify-install): Remove.
9208         (prettify-symbols-mode): New minor mode, based on
9209         `prog-prettify-install'.
9210         (turn-on-prettify-symbols-mode): New function.
9211         (global-prettify-symbols-mode): New globalized minor mode.
9213         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9214         * progmodes/cfengine.el (cfengine3-mode):
9215         * progmodes/perl-mode.el (perl-mode): Don't call
9216         `prog-prettify-install'; set `prettify-symbols-alist' instead.
9218 2013-06-18  Juri Linkov  <juri@jurta.org>
9220         * files-x.el (modify-file-local-variable-message): New function.
9221         (modify-file-local-variable)
9222         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9223         and call `modify-file-local-variable-message' when it's non-nil.
9224         (add-file-local-variable, delete-file-local-variable)
9225         (add-file-local-variable-prop-line)
9226         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9227         and use it.  (Bug#9820)
9229 2013-06-18  Juri Linkov  <juri@jurta.org>
9231         * emulation/vi.el (vi-shell-op):
9232         * emulation/vip.el (vip-execute-com, ex-command):
9233         * emulation/viper-cmd.el (viper-exec-bang):
9234         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9235         the call of `shell-command-on-region'.  (Bug#14637)
9237         * simple.el (shell-command-on-region): Doc fix.
9239 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9241         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9242         (bug#14633).
9244 2013-06-18  Glenn Morris  <rgm@gnu.org>
9246         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9248         * newcomment.el (comment-search-forward, comment-search-backward):
9249         Doc fix.  (Bug#14376)
9251 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9253         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9254         (buffer-face-mode-invoke): Doc fix.
9256 2013-06-18  Matthias Meulien  <orontee@gmail.com>
9258         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9259         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9261 2013-06-18  Glenn Morris  <rgm@gnu.org>
9263         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9264         Replace obsolete function generic-make-keywords with its expansion.
9266         * progmodes/python.el (ffap-alist): Declare.
9268         * textmodes/reftex.el (bibtex-mode-map): Declare.
9270 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9272         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9273         (package-unpack, package-unpack-single): Return the pkg-dir.
9274         (package-download-transaction): Use it to update package-alist.
9276 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9278         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9279         possible choice.
9281 2013-06-17  Juri Linkov  <juri@jurta.org>
9283         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9285 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9287         * emacs-lisp/package.el (package-load-descriptor):
9288         Remove `with-syntax-table' call, `read' doesn't need it.
9289         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9291 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9293         * startup.el (command-line): Expand package name returned by
9294         `package--description-file' (bug#14639).
9296 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9298         * emacs-lisp/package.el (package-load-descriptor): Do not call
9299         `emacs-lisp-mode', just use its syntax table.
9301 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9303         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9304         `font-lock-extra-managed-props' if any prettifying keyword is added.
9305         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9306         (prog-mode): Use `setq-local'.
9308 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9310         * international/characters.el (standard-case-table): Set syntax of ?»
9311         and ?« to punctuation.
9313 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
9315         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9316         Save relevant match data before calling `syntax-ppss' (bug#14595).
9318 2013-06-15  Juri Linkov  <juri@jurta.org>
9320         * files-x.el (modify-file-local-variable-prop-line): Add local
9321         variables to the end of the existing comment on the first line.
9322         Use `file-auto-mode-skip' to skip interpreter magic line,
9323         and also skip XML declaration.
9325 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9327         * startup.el (package--builtin-versions): New var.
9328         (package-subdirectory-regexp): Remove.
9329         (package--description-file): Hard code its value instead.
9331         * emacs-lisp/package.el: Don't activate packages older than builtin.
9332         (package-obsolete-list): Rename from package-obsolete-alist, and make
9333         it into a simple list of package-desc.
9334         (package-strip-version): Remove.
9335         (package-built-in-p): Use package--builtin-versions.
9336         (package-mark-obsolete): Simplify.
9337         (package-process-define-package): Mark it obsolete if older than the
9338         builtin version.
9339         (package-handle-response): Use line-end-position.
9340         (package-read-archive-contents, package--download-one-archive):
9341         Simplify.
9342         (package--add-to-archive-contents): Skip if older than the builtin or
9343         installed version.
9344         (package-menu-describe-package): Fix last change.
9345         (package-list-unversioned): New var.
9346         (package-menu--generate): Use it.
9348         * emacs-lisp/autoload.el: Manage package--builtin-versions.
9349         (autoload--insert-text, autoload--insert-cookie-text): New functions.
9350         (autoload-builtin-package-versions): New variable.
9351         (autoload-generate-file-autoloads): Use them.
9352         Remove the list of autoloaded functions/macros from the
9353         (autoload...) comments.
9355         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9357 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
9359         * simple.el (line-move-partial): Don't jump to the next screen
9360         line as soon as it becomes visible.  Instead, continue enlarging
9361         the vscroll until the portion of a tall screen line that's left on
9362         display is about the height of the frame's default font.
9363         (Bug#14567)
9365 2013-06-15  Glenn Morris  <rgm@gnu.org>
9367         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9368         compilation-error-regexp-alist void, or local while let-bound.
9370         * progmodes/make-mode.el (makefile-mode-syntax-table):
9371         Treat "=" as punctuation.  (Bug#14614)
9373 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
9375         * help-fns.el (describe-variable):
9376         Add extra line for permanent-local variables.
9378 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
9380         * progmodes/scheme.el (scheme-font-lock-keywords-2):
9381         Add export, import, library.  (Bug#9164)
9382         (library): Set indent function.
9384 2013-06-14  Glenn Morris  <rgm@gnu.org>
9386         * term/xterm.el (xterm--query):
9387         Stop after first matching handler.  (Bug#14615)
9389 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
9391         Add support for dired in saveplace.
9392         * dired.el (dired-initial-position-hook): New variable.
9393         (dired-initial-position): Call hook to place cursor position.
9394         * saveplace.el (save-place-to-alist): Add dired position.
9395         (save-place-dired-hook): New function.
9397 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9399         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9400         through a symbol rather than letrec.
9402         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
9403         (package-desc): Add `dir' field.
9404         (package-desc-full-name): New function.
9405         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
9406         (package-maybe-load-descriptor): Remove.
9407         (package-load-all-descriptors): Just call package-load-descriptor.
9408         (package--disabled-p): New function.
9409         (package-desc-vers, package-desc-doc): Remove aliases.
9410         (package--dir): Remove function.
9411         (package-activate): Check if a package is disabled.
9412         (package-process-define-package): New function, extracted from
9413         define-package.
9414         (define-package): Turn into a place holder.
9415         (package-unpack-single, package-tar-file-info):
9416         Use package--description-file.
9417         (package-compute-transaction): Use package--disabled-p.
9418         (package-download-transaction): Don't call
9419         package-maybe-load-descriptor since they're all loaded anyway.
9420         (package-install): Change argument to be a pkg-desc.
9421         (package-delete): Use a single pkg-desc argument.
9422         (describe-package-1): Use package-desc-dir instead of package--dir.
9423         Use package-desc property instead of package-symbol.
9424         (package-install-button-action): Adjust accordingly.
9425         (package--push): Rewrite.
9426         (package-menu--print-info): Adjust accordingly.  Change the ID format
9427         to be a pkg-desc.
9428         (package-menu-describe-package, package-menu-get-status)
9429         (package-menu--find-upgrades, package-menu-mark-upgrades)
9430         (package-menu-execute, package-menu--name-predicate):
9431         Adjust accordingly.
9432         * startup.el (package--description-file): New function.
9433         (command-line): Use it.
9434         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9435         Use package-desc-version.
9437         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9438         (byte-compile-preprocess): Use it.
9439         (byte-compile-file-form-defalias): Try a bit harder to use macros we
9440         can't quite recognize.
9441         (byte-compile-add-to-list): Remove.
9442         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9443         (cconv-closure-convert): Add assertion.
9445         * emacs-lisp/map-ynp.el: Use lexical-binding.
9446         (map-y-or-n-p): Remove unused vars `tail' and `object'.
9447         Factor out some repeated code.
9449 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9451         * subr.el (with-eval-after-load): New macro.
9452         (eval-after-load): Allow form to be a function.
9453         take advantage of lexical-binding.
9454         (do-after-load-evaluation): Use dolist and adjust to new format.
9455         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9457 2013-06-13  Juri Linkov  <juri@jurta.org>
9459         * replace.el (perform-replace): Display "symbol " and other search
9460         modes from `isearch-message-prefix' in the *Help* buffer.
9462         * isearch.el (isearch-query-replace): Add " symbol" and other
9463         possible search modes from `isearch-message-prefix' to the prompt.
9464         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9465         when reading a regexp to collect.
9467 2013-06-13  Juri Linkov  <juri@jurta.org>
9469         * isearch.el (word-search-regexp): Match whitespace if the search
9470         string begins or ends in whitespace.  The LAX arg is applied to
9471         both ends of the search string.  Use `regexp-quote' and explicit
9472         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
9473         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9474         boundaries are replaced with symbol boundaries, and characters
9475         between symbols match non-word non-symbol syntax.  (Bug#14602)
9477 2013-06-13  Juri Linkov  <juri@jurta.org>
9479         * isearch.el (isearch-del-char): Don't exceed the length of
9480         `isearch-string' by the prefix arg.  (Bug#14563)
9482 2013-06-13  Juri Linkov  <juri@jurta.org>
9484         * isearch.el (isearch-yank-word, isearch-yank-line)
9485         (isearch-char-by-name, isearch-quote-char)
9486         (isearch-printing-char, isearch-process-search-char):
9487         Add optional count prefix arg.  (Bug#14563)
9489         * international/isearch-x.el
9490         (isearch-process-search-multibyte-characters):
9491         Add optional count prefix arg.
9493 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9495         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9496         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9497         lexical-binding.
9499 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
9501         * subr.el (set-temporary-overlay-map): Add on-exit argument.
9503 2013-06-13  Glenn Morris  <rgm@gnu.org>
9505         * startup.el (tty-handle-args):
9506         Don't just discard "--" and anything after.  (Bug#14608)
9508         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9510 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
9512         Implement changes in Secret Service API.  Make it backward compatible.
9513         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9514         (secrets-create-item): Use it.  Prefix properties with interface.
9516 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
9518         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
9519         (term-emulate-terminal): Respect term-suppress-hard-newline.
9521 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
9523         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9524         Only remove a `thumb-file' overlay.  (Bug#14548)
9526 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
9528         * mail/reporter.el (reporter-submit-bug-report):
9529         Handle missing package-name.  (Bug#14600)
9531 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9533         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9534         (reftex-citation-prompt, reftex-default-bibliography)
9535         (reftex-bib-or-thebib, reftex-get-bibfile-list)
9536         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9537         (reftex-bib-sort-author, reftex-bib-sort-year)
9538         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9539         (reftex-extract-bib-entries-from-thebibliography)
9540         (reftex-get-bibkey-default, reftex-get-bib-names)
9541         (reftex-parse-bibtex-entry, reftex-get-bib-field)
9542         (reftex-format-bib-entry, reftex-parse-bibitem)
9543         (reftex-format-bibitem, reftex-do-citation)
9544         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9545         (reftex-restrict-bib-matches, reftex-extract-bib-file)
9546         (reftex-insert-bib-matches, reftex-format-citation)
9547         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9548         (reftex-create-bibtex-file): Add docstrings, mostly by converting
9549         existing comments into docstrings.
9551 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9553         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9555 2013-06-12  Andreas Schwab  <schwab@suse.de>
9557         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9558         for auto-save files.
9560 2013-06-12  Glenn Morris  <rgm@gnu.org>
9562         * ido.el (ido-delete-ignored-files): Remove.
9563         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9564         Go back to calling ido-ignore-item-p directly.
9566 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
9568         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9570         * ido.el (ido-delete-ignored-files): New function,
9571         split from ido-make-file-list-1.
9572         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
9573         (ido-make-file-list-1): Use ido-delete-ignored-files.
9575 2013-06-12  Leo Liu  <sdl.web@gmail.com>
9577         * progmodes/octave.el (inferior-octave-startup)
9578         (inferior-octave-completion-table)
9579         (inferior-octave-track-window-width-change)
9580         (octave-eldoc-function-signatures, octave-help)
9581         (octave-find-definition): Use single quoted strings.
9582         (inferior-octave-startup-args): Change default value.
9583         (inferior-octave-startup): Do not hard code "-i" and
9584         "--no-line-editing".
9585         (inferior-octave-resync-dirs): Add optional arg NOERROR.
9586         (inferior-octave-directory-tracker): Use it.
9587         (octave-goto-function-definition): Robustify.
9588         (octave-help): Support highlighting operators in 'See also'.
9589         (octave-find-definition): Find subfunctions only in Octave mode.
9591 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9593         * help-fns.el (help-fns--compiler-macro): If the handler function is
9594         named, then put a link to it.
9595         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9596         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9597         (cl-typep): Use it.
9598         (cl-eval-when): Simplify debug spec.
9599         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
9600         compiler-macro function instead of setting `compiler-macro-file'.
9602 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9604         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9605         * vc/vc-hooks.el (vc-stay-local): Doc fix.
9607 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9608             Daniel Hackney  <dan@haxney.org>
9610         First part of Daniel Hackney's patch to package.el.
9611         * emacs-lisp/package.el: Use defstruct.
9612         (package-desc): New, main struct.
9613         (package--bi-desc, package--ac-desc): New structs, used to describe the
9614         format in external files.
9615         (package-desc-vers): Replace with package-desc-version accessor.
9616         (package-desc-doc): Replace with package-desc-summary accessor.
9617         (package-activate-1): Remove `package' arg since the pkg-vec now
9618         includes the name.
9619         (define-package): Use package-desc-from-define.
9620         (package-unpack-single): Change file-name arg to be a symbol.
9621         (package--add-to-archive-contents): Use package-desc-create and new
9622         accessor functions to package--ac-desc.
9623         (package-buffer-info, package-tar-file-info): Return a package-desc.
9624         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
9625         arg to be a package-desc.
9626         (package-install-file): Adjust accordingly.  Use \' to match EOS.
9627         (package--from-builtin): New function.
9628         (describe-package-1, package-menu--generate): Use it.
9629         (package--make-autoloads-and-compile): Change name arg to be a symbol.
9630         (package-generate-autoloads): Idem and return the name of the file.
9631         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9632         Change pkg-info arg to be a package-desc.
9633         Use package-make-ac-desc.
9634         (package-upload-file): Use \' to match EOS.
9635         * finder.el (finder-compile-keywords): Use package-make-builtin.
9637 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9639         * vc/vc.el (vc-deduce-fileset): Change error message.
9640         (vc-read-backend): New function.
9641         (vc-next-action): Use it.
9643         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9645         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9646         (prolog-font-lock-keywords): Use regexp-opt instead.
9647         Don't manually highlight strings.
9648         (prolog-mode-variables): Simplify comment-start-skip.
9649         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
9651         * emacs-lisp/generic.el (generic--normalise-comments)
9652         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9653         (generic-mode-set-comments): Use them.
9654         (generic-bracket-support): Use setq-local.
9655         (generic-make-keywords-list): Declare obsolete.
9657 2013-06-11  Glenn Morris  <rgm@gnu.org>
9659         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9660         Prettify after setting font-lock-defaults.  (Bug#14574)
9662 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
9664         * replace.el (query-replace, occur-read-regexp-defaults-function)
9665         (replace-search):
9666         * subr.el (declare-function, number-sequence, local-set-key)
9667         (substitute-key-definition, locate-user-emacs-file)
9668         (with-silent-modifications, split-string, eval-after-load):
9669         Fix typos, remove unneeded backslashes and reflow some docstrings.
9671 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9674         default for Elisp files.
9676 2013-06-11  Glenn Morris  <rgm@gnu.org>
9678         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9679         although define-derived-mode was doing this anyway.  (Bug#14583)
9681 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
9683         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9684         Fix make-variable-buffer-local call to refer to the correct variable.
9686 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
9688         * eshell/em-term.el (eshell-visual-commands)
9689         (eshell-visual-subcommands, eshell-visual-options):
9690         Add summary line to docstrings.  Add cross-references.
9692 2013-06-10  Glenn Morris  <rgm@gnu.org>
9694         * epa.el (epa-read-file-name): New function.  (Bug#14510)
9695         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
9697 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9699         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9700         output redirection to be ignored with visual commands.
9702 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9704         * eshell/em-term.el (eshell-visual-command-p): New function.
9705         (eshell-term-initialize): Move long lambda to separate function
9706         eshell-visual-command-p.
9707         * eshell/em-dirs.el (eshell-dirs-initialise):
9708         * eshell/em-script.el (eshell-script-initialize):
9709         Add missing #' to lambda.
9711 2013-06-08  Leo Liu  <sdl.web@gmail.com>
9713         * progmodes/octave.el (octave-add-log-current-defun): New function.
9714         (octave-mode): Set add-log-current-defun-function.
9715         (octave-goto-function-definition): Do not move point if not found.
9716         (octave-find-definition): Enhance to try subfunctions first.
9718 2013-06-08  Glenn Morris  <rgm@gnu.org>
9720         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9721         (byte-compile-backward-char, byte-compile-backward-word):
9722         Improve previous change, to handle non-explicit nil.
9724 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9726         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9727         (smie--opener/closer-at-point): New function.
9728         (smie--matching-block-data): Use it.  Don't match from right after an
9729         opener or right before a closer.  Obey smie-blink-matching-inners.
9730         Don't signal a mismatch for repeated inners like "switch..case..case".
9732 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9734         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9735         to t.  (Bug#14303)
9736         (octave-function-header-regexp): Fix.  (Bug#14570)
9737         (octave-help-mode-finish-hook, octave-help-mode-finish):
9738         Remove.  Just use temp-buffer-show-hook.
9740         * newcomment.el (comment-search-backward): Revert last change.
9741         (Bug#14434)
9743         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9745 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9747         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9748         through xargs, to avoid failure due to MS-Windows limitations on
9749         command-line length.
9751 2013-06-06  Glenn Morris  <rgm@gnu.org>
9753         * font-lock.el (lisp-font-lock-keywords-2):
9754         Treat user-error like error.
9756         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9757         (byte-compile-backward-char, byte-compile-backward-word):
9758         Handle explicit nil arguments.  (Bug#14565)
9760 2013-06-05  Alan Mackenzie  <acm@muc.de>
9762         * isearch.el (isearch-allow-prefix): New user option.
9763         (isearch-other-meta-char): Don't exit isearch when a prefix
9764         argument is typed whilst `isearch-allow-prefix' is non-nil.
9765         (Bug#9706)
9767 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9769         * autorevert.el (auto-revert-notify-handler): Use memq.
9770         Hide assertion failure.
9772         * skeleton.el: Use cl-lib.
9773         (skeleton-further-elements): Use defvar-local.
9774         (skeleton-insert): Use cl-progv.
9776 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9778         * progmodes/prog-mode.el (prog-prettify-symbols)
9779         (prog-prettify-install): Update docstrings.
9781 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9783         * simple.el: Move all the prog-mode code to prog-mode.el.
9784         * progmodes/prog-mode.el: New file.
9785         * loadup.el: Add prog-mode.el.
9787 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9789         * simple.el (prog-prettify-symbols): Add version.
9790         (prog-prettify-install): Add convenience function to prettify symbols.
9792         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9793         (perl--augmented-font-lock-keywords-1)
9794         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9795         variables and use it.
9797         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9798         (cfengine3-mode): Remove unneeded variable and use it.
9800         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9801         (lisp--augmented-font-lock-keywords-1)
9802         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9803         Remove unneeded variables and use it.
9805 2013-06-05  João Távora  <joaotavora@gmail.com>
9807         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9808         to point when opening the connection.  (Bug#14380)
9810 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9812         * subr.el (load-history-regexp, load-history-filename-element)
9813         (eval-after-load, after-load-functions, do-after-load-evaluation)
9814         (eval-next-after-load, display-delayed-warnings)
9815         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9816         definition of save-match-data.
9817         (overriding-local-map): Remove accidental obsolescence declaration.
9819         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9821 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9823         Generalize symbol prettify support to prog-mode and implement it
9824         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9825         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9826         (prog--prettify-font-lock-compose-symbol)
9827         (prog-prettify-font-lock-symbols-keywords): New variables and
9828         functions to support symbol prettification.
9829         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9830         (lisp--augmented-font-lock-keywords-1)
9831         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9832         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9833         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9834         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9835         Implement prettify of -> => :: strings.
9836         * progmodes/perl-mode.el (perl-prettify-symbols)
9837         (perl--font-lock-compose-symbol)
9838         (perl--font-lock-symbols-keywords): Move to prog-mode.
9839         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9840         (perl-font-lock-keywords-1)
9841         (perl-font-lock-keywords-2): Remove explicit prettify support.
9842         (perl--augmented-font-lock-keywords)
9843         (perl--augmented-font-lock-keywords-1)
9844         (perl--augmented-font-lock-keywords-2, perl-mode):
9845         Implement prettify support.
9847 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9849         Re-implement smie matching block highlight using
9850         show-paren-data-function.  (Bug#14395)
9851         * emacs-lisp/smie.el (smie-matching-block-highlight)
9852         (smie--highlight-matching-block-overlay)
9853         (smie--highlight-matching-block-lastpos)
9854         (smie-highlight-matching-block)
9855         (smie-highlight-matching-block-mode): Remove.
9856         (smie--matching-block-data-cache): New variable.
9857         (smie--matching-block-data): New function.
9858         (smie-setup): Use smie--matching-block-data for
9859         show-paren-data-function.
9861         * progmodes/octave.el (octave-mode-menu): Fix.
9862         (octave-find-definition): Skip garbage lines.
9864 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9866         Fix compilation error with simultaneous dynamic+lexical scoping.
9867         Add warning when a defvar appears after the first let-binding.
9868         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9869         (byte-compile-close-variables): Initialize it.
9870         (byte-compile--declare-var): New function.
9871         (byte-compile-file-form-defvar)
9872         (byte-compile-file-form-define-abbrev-table)
9873         (byte-compile-file-form-custom-declare-variable): Use it.
9874         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
9875         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9876         (byte-compile-bind): Handle dynamic bindings that shadow
9877         lexical bindings.
9878         (byte-compile-unbind): Make arg non-optional.
9879         (byte-compile-let): Simplify.
9880         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9881         (cconv--analyse-function, cconv-analyse-form): Populate it.
9882         Protect byte-compile-bound-variables to limit the scope of defvars.
9883         (cconv-analyse-form): Add missing rule for (defvar <foo>).
9884         Remove unneeded rule for `declare'.
9886         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9887         so as to avoid depending on cl-adjoin at run-time.
9888         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9890         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9891         (macroexp--warn-and-return): Use it.
9893 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9895         * subr.el: Convert to lexical binding.
9896         (overriding-local-map): Make obsolete.
9897         (add-to-list): Doc fix.  Add compiler macro.
9898         (read-key): Swap values of local maps.
9900 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9902         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9904 2013-06-04  Leo Liu  <sdl.web@gmail.com>
9906         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9907         (compilation-auto-jump): Suppress the "Mark set" message to give
9908         way to exit message.
9910 2013-06-04  Alan Mackenzie  <acm@muc.de>
9912         Remove faulty optimisation from indentation calculation.
9913         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9914         search limit based on 2000 characters back from indent-point.
9916 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9918         * eshell/em-term.el (cl-lib): Require `cl-lib'.
9920 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9922         * emacs-lisp/lisp.el: Use lexical-binding.
9923         (lisp--local-variables-1, lisp--local-variables): New functions.
9924         (lisp--local-variables-completion-table): New var.
9925         (lisp-completion-at-point): Use it complete let-bound vars.
9927         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9928         eagerly (bug#14422).
9930 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
9932         * autorevert.el (auto-revert-notify-enabled)
9933         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9934         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9935         (auto-revert-notify-handler): Handle also gfilenotify.
9937         * subr.el (file-notify-handle-event): New defun.  Replacing ...
9938         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9939         Remove.
9941 2013-06-03  Juri Linkov  <juri@jurta.org>
9943         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9944         `M-s h .'.  (Bug#14427)
9946         * hi-lock.el (highlight-symbol-at-point): New alias for the new
9947         command `hi-lock-face-symbol-at-point'.
9948         (hi-lock-face-symbol-at-point): New command.
9949         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9950         (hi-lock-menu): Add `highlight-symbol-at-point'.
9951         (hi-lock-mode): Doc fix.
9953         * isearch.el (isearch-forward-symbol-at-point): New command.
9954         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9955         (isearch-highlight-regexp): Add a regexp which matches
9956         words/symbols for word/symbol mode.
9958         * subr.el (find-tag-default-bounds): New function with the body
9959         mostly moved from `find-tag-default'.
9960         (find-tag-default): Move most code to `find-tag-default-bounds',
9961         call it and apply `buffer-substring-no-properties' afterwards.
9963 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9965         * eshell/em-term.el (eshell-term-initialize):
9966         Use `cl-intersection' rather than `intersection'.
9968 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
9970         * vc/log-view.el: Doc fix.
9971         (log-view-mode-map): Copy keymap from `special-mode-map'.
9973 2013-06-02  Eric Ludlam  <zappo@gnu.org>
9975         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9976         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9977         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9978         (eieio-unbound, eieio-default-superclass)
9979         (eieio--define-field-accessors, method-static, method-before)
9980         (method-primary, method-after, method-num-lists)
9981         (method-generic-before, method-generic-primary)
9982         (method-generic-after, method-num-slots)
9983         (eieio-specialized-key-to-generic-key)
9984         (eieio--check-type, class-v, class-p)
9985         (eieio-class-name, define-obsolete-function-alias)
9986         (eieio-class-parents-fast, eieio-class-children-fast)
9987         (same-class-fast-p, class-constructor, generic-p)
9988         (generic-primary-only-p, generic-primary-only-one-p)
9989         (class-option-assoc, class-option, eieio-object-p)
9990         (class-abstract-p, class-method-invocation-order)
9991         (eieio-defclass-autoload-map, eieio-defclass-autoload)
9992         (eieio-class-un-autoload, eieio-defclass)
9993         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9994         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9995         (eieio--defgeneric-init-form, eieio-defgeneric-form)
9996         (eieio-defgeneric-reset-generic-form)
9997         (eieio-defgeneric-form-primary-only)
9998         (eieio-defgeneric-reset-generic-form-primary-only)
9999         (eieio-defgeneric-form-primary-only-one)
10000         (eieio-defgeneric-reset-generic-form-primary-only-one)
10001         (eieio-unbind-method-implementations)
10002         (eieio--defmethod, eieio--typep)
10003         (eieio-perform-slot-validation, eieio-validate-slot-value)
10004         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10005         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10006         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10007         (eieio-slot-name-index, eieio-class-slot-name-index)
10008         (eieio-set-defaults, eieio-initarg-to-attribute)
10009         (eieio-attribute-to-initarg, eieio-c3-candidate)
10010         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10011         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10012         (eieio-class-precedence-list, eieio-generic-call-methodname)
10013         (eieio-generic-call-arglst, eieio-generic-call-key)
10014         (eieio-generic-call-next-method-list)
10015         (eieio-pre-method-execution-functions, eieio-generic-call)
10016         (eieio-generic-call-primary-only, eieiomt-method-list)
10017         (eieiomt-optimizing-obarray, eieiomt-install)
10018         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10019         (eieio-generic-form, eieio-defmethod, make-obsolete)
10020         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10021         (defclass): Remove `eval-and-compile' from macro.
10022         (call-next-method, shared-initialize): Instead of using
10023         `scoped-class' variable, use new eieio--scoped-class, and
10024         eieio--with-scoped-class.
10025         (initialize-instance): Rename local variable 'scoped-class' to
10026         'this-class' to remove ambiguitity from old global.
10028         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
10029         eieio.el.
10030         (eieio--scoped-class-stack): New variable.
10031         (eieio--scoped-class): New fcn.
10032         (eieio--with-scoped-class): New scoping macro.
10033         (eieio-defclass): Use pushnew instead of add-to-list.
10034         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10035         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10036         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10037         `scoped-class' variable, use new eieio--scoped-class, and
10038         eieio--with-scoped-class.
10040         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10042 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
10044         * eshell/esh-ext.el (eshell-external-command): Pass args to
10045         `eshell-find-interpreter'.
10046         (eshell-find-interpreter): Add new second parameter ARGS.
10048         * eshell/em-script.el (eshell-script-initialize): Add second arg
10049         to the function added as MATCH to `eshell-interpreter-alist'.
10051         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10052         the function added as MATCH to `eshell-interpreter-alist'.
10054         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10055         (eshell-visual-options): New defcustom.
10056         (eshell-escape-control-x): Adapt docstring.
10057         (eshell-term-initialize): Test `eshell-visual-subcommands' and
10058         `eshell-visual-options' in addition to `eshell-visual-commands'.
10059         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10061 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10063         * progmodes/python.el (python-indent-block-enders): Add break,
10064         continue and raise keywords.
10066 2013-06-01  Glenn Morris  <rgm@gnu.org>
10068         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10070         Plain (f)boundp silences compilation warnings since Emacs 22.1.
10071         * progmodes/cc-cmds.el (delete-forward-p):
10072         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10073         * progmodes/cc-engine.el (buffer-syntactic-context):
10074         * progmodes/cc-fonts.el (face-property-instance):
10075         * progmodes/cc-mode.el (set-keymap-parents):
10076         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10077         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10078         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10079         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10080         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10082         * progmodes/cc-vars.el (other): Emacs has this widget since
10083         at least 21.1, so don't (re)define it.
10085         * eshell/em-cmpl.el (eshell-cmpl-initialize):
10086         Replace the obsolete alias pcomplete-arg-quote-list.
10088 2013-06-01  Leo Liu  <sdl.web@gmail.com>
10090         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10091         punctuation syntax.
10092         (inferior-octave-minimal-columns)
10093         (inferior-octave-last-column-width): New variables.
10094         (inferior-octave-track-window-width-change): New function.
10095         (inferior-octave-mode): Adjust column width so that Octave output,
10096         for example from 'ls', can fit into the window nicely.
10098 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10100         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10101         Highlight expansions inside regexp literals.
10103 2013-05-31  Glenn Morris  <rgm@gnu.org>
10105         * obsolete/sym-comp.el (symbol-complete):
10106         Replace obsolete completion-annotate-function.
10108         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10110 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10112         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10113         New function, checks if point is inside a literal that allows
10114         expression expansion.
10115         (ruby-syntax-propertize-expansion): Use it.
10116         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10117         around the body.
10119 2013-05-30  Juri Linkov  <juri@jurta.org>
10121         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10122         to "\M-si".
10123         (isearch-invisible): New variable.
10124         (isearch-forward): Doc fix.
10125         (isearch-mode): Set `isearch-invisible'
10126         to the value of `search-invisible'.
10127         (isearch-toggle-case-fold): Doc fix.
10128         (isearch-toggle-invisible): New command.
10129         (isearch-query-replace): Let-bind `search-invisible'
10130         to the value of `isearch-invisible'.
10131         (isearch-search): Use `isearch-invisible' instead of
10132         `search-invisible'.  Let-bind `search-invisible'
10133         to the value of `isearch-invisible'.  (Bug#11378)
10135 2013-05-30  Juri Linkov  <juri@jurta.org>
10137         * replace.el (perform-replace): Avoid `isearch-range-invisible'
10138         call when `query-flag' is nil and `search-invisible' is non-nil.
10139         (Bug#11746)
10141 2013-05-30  Glenn Morris  <rgm@gnu.org>
10143         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10145         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10146         (cc-require): Suppress spurious "noruntime" warnings.
10147         (cc-require-when-compile): Use fboundp, for sake of compiler.
10149         * progmodes/cc-mode.el: Move load of cc-vars before that of
10150         cc-langs (which in turn loads cc-vars), to quieten compiler.
10152 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10154         * paren.el: Simplify the code.
10155         (show-paren-mode): Always start the timer.
10156         (show-paren--idle-timer): Rename from show-paren-idle-timer.
10157         (show-paren--overlay, show-paren--overlay-1): Rename from
10158         show-paren-overlay and show-paren-overlay-1, and initialize to an
10159         overlay rather than to nil.
10160         (show-paren-function): Misc cleanup and simplifications.
10162 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10164         * paren.el (show-paren-data-function): New hook.
10165         (show-paren--default): New function, extracted from show-paren-function.
10166         (show-paren-function): Use show-paren-data-function.
10168 2013-05-30  Glenn Morris  <rgm@gnu.org>
10170         * ielm.el (ielm-map, ielm-complete-symbol):
10171         Use completion-at-point rather than obsolete functions.
10172         (inferior-emacs-lisp-mode): Doc fix.
10173         Set completion-at-point-functions, rather than
10174         comint-dynamic-complete-functions.
10176         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10177         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10178         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10180         * image.el (image-animated-p): Tweak definition.
10182         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10183         (rlogin-process-connection-type): Tweak default.  Add set-after.
10184         (rlogin-host): Doc fix.
10185         (rlogin): Tweak prompt.
10186         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10188         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10189         * progmodes/tcl.el (inferior-tcl-mode-map):
10190         Use completion-at-point rather than obsolete alias.
10192         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10194         * minibuffer.el (read-file-name-completion-ignore-case):
10195         Move before completion--in-region, for eager macro expansion.
10197 2013-05-29  Juri Linkov  <juri@jurta.org>
10199         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10200         for total count of matching lines.  Add `global-matches' for total
10201         count of matches.  Rename `matches' to `lines' for count of
10202         matching lines.  Add `matches' for count of matches.
10203         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
10204         to `prev-line' for line number of prev match endpt.
10205         Increment `matches' for every match.  Print the number of
10206         matching lines in the header.
10207         (occur-context-lines): Rename `lines' to `curr-line'.
10208         Rename `prev-lines' to `prev-line'.  (Bug#14017)
10210 2013-05-29  Juri Linkov  <juri@jurta.org>
10212         * replace.el (perform-replace): Add `skip-read-only-count',
10213         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10214         Increment them for corresponding conditions and report the number
10215         of skipped occurrences in the final message.  (Bug#11746)
10216         (query-replace, query-replace-regexp, query-replace-regexp-eval)
10217         (replace-string, replace-regexp): Doc fix.
10219 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10221         * emacs-lisp/trace.el (trace--read-args): Provide a default.
10223         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10224         prog-mode-map (bug#14504).
10226 2013-05-29  Leo Liu  <sdl.web@gmail.com>
10228         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10229         (octave-help): Small simplification.
10231         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10232         off the highlight first.
10234 2013-05-29  Glenn Morris  <rgm@gnu.org>
10236         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10237         Handle idlwave-last-system-routine-info-cons-cell being nil.
10239         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10240         (idlwave-write-paths): Simplify via with-temp-buffer.
10242         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10243         * emulation/cua-rect.el: Also load cua-base at run time.
10245         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10246         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10247         (cperl-imenu-on-info): Require imenu.
10249 2013-05-28  Alan Mackenzie  <acm@muc.de>
10251         Handle "capitalised keywords" correctly.
10252         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10254 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
10256         * eshell/em-unix.el: Add -r option to cp.
10258 2013-05-28  Glenn Morris  <rgm@gnu.org>
10260         * vc/vc-arch.el (vc-exec-after): Declare.
10261         (vc-switches): Autoload.
10262         * vc/vc-bzr.el: No need to require vc when compiling.
10263         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10264         (vc-resynch-buffer, vc-dir-refresh): Declare.
10265         (vc-setup-buffer, vc-switches): Autoload.
10266         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10267         (vc-resynch-buffer): Declare.
10268         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10269         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10270         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10271         (grep-read-regexp, grep-read-files, grep-expand-template)
10272         (vc-dir-refresh): Declare.
10273         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10274         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10275         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10276         * vc/vc-mtn.el (vc-exec-after): Declare.
10277         (vc-switches): Autoload.
10278         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10279         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10280         (vc-file-tree-walk): Declare.
10281         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10282         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10283         (vc-tag-precondition, vc-rename-master): Autoload.
10284         * vc/vc-svn.el (vc-exec-after): Declare.
10285         (vc-switches, vc-setup-buffer): Autoload.
10286         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10287         Autoload.
10288         (vc-resynch-buffer): Declare.
10290         * obsolete/fast-lock.el (byte-compile-warnings):
10291         Don't warn about obsolete features in this obsolete file.
10293         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10294         Move definition before use.
10296         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10297         (dun-unix-verbs): Remove dun-zippy.
10298         (dun-zippy): Remove function.
10300         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10302 2013-05-27  Juri Linkov  <juri@jurta.org>
10304         * replace.el (replace-search): New function with code moved out
10305         from `perform-replace'.
10306         (replace-highlight, replace-dehighlight): Move function definitions
10307         up closer to `replace-search'.  (Bug#11746)
10309 2013-05-27  Juri Linkov  <juri@jurta.org>
10311         * replace.el (perform-replace): Ignore invisible matches.
10312         In addition to checking `query-replace-skip-read-only', also
10313         filter out matches by calling `run-hook-with-args-until-failure'
10314         on `isearch-filter-predicates', and also check `search-invisible'
10315         for t or call `isearch-range-invisible'.
10316         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
10318 2013-05-27  Juri Linkov  <juri@jurta.org>
10320         * isearch.el (isearch-filter-predicates): Rename from
10321         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
10322         (isearch-message-prefix): Display text from the property
10323         `isearch-message-prefix' of the currently active filters.
10324         (isearch-search): Don't compare `isearch-filter-predicate' with
10325         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
10326         on `isearch-filter-predicates'.  Also check `search-invisible' for t
10327         or call `isearch-range-invisible'.
10328         (isearch-filter-visible): Make obsolete.
10329         (isearch-lazy-highlight-search):
10330         Call `run-hook-with-args-until-failure' on
10331         `isearch-filter-predicates' and use `isearch-range-invisible'.
10333         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10334         `isearch-filter-predicates' instead of `funcall'ing
10335         `isearch-filter-predicate'.
10336         (Info-mode): Set `Info-isearch-filter' to
10337         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10339         * dired-aux.el (dired-isearch-filter-predicate-orig):
10340         Remove variable.
10341         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10342         (dired-isearch-filenames-end): Add and remove
10343         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10344         instead of changing the value of `isearch-filter-predicate'.
10345         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10346         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10347         Put property `isearch-message-prefix' to "filename " on
10348         `dired-isearch-filter-filenames'.
10350         * wdired.el (wdired-change-to-wdired-mode):
10351         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10352         locally instead of changing `isearch-filter-predicate'.
10353         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10355 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
10357         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10358         return the commit hash (Bug#14459).  Also set the
10359         `vc-git-detached' property.
10360         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10361         (vc-git-mode-line-string): Use the same help-echo format whether
10362         in detached mode or not, because we know the actual revision now.
10363         When in detached mode, shorten the revision to 7 chars.
10365 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10367         * emacs-lisp/easy-mmode.el (define-minor-mode):
10368         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10369         mode hook and provide a docstring.
10371 2013-05-27  Alan Mackenzie  <acm@muc.de>
10373         Remove spurious syntax-table text properties inserted by C-y.
10374         * progmodes/cc-mode.el (c-after-change): Also clear hard
10375         syntax-table property with value nil.
10377 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
10379         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10380         when reading the events; the buffer layout shall not be changed.
10382 2013-05-27  Leo Liu  <sdl.web@gmail.com>
10384         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10385         New variable.
10386         (inferior-octave-directory-tracker): Automatically re-sync
10387         default-directory.
10388         (octave-help): Improve handling of 'See also'.
10390 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10392         * doc-view.el: Minor naming convention tweaks.
10393         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10395         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10396         even if there's no `display' property yet (bug#14435).
10398 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
10400         * subr.el (unmsys--file-name): Rename from reveal-filename.
10402         * Makefile.in (custom-deps, finder-data, autoloads)
10403         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10404         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10405         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10407 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10409         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10410         error-completion on the first 2 args of condition-case (bug#14446).
10411         Don't burp at EOB.
10413 2013-05-25  Leo Liu  <sdl.web@gmail.com>
10415         * comint.el (comint-previous-matching-input): Do not flood the
10416         *Messages* buffer with trivial messages.
10418 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10420         * progmodes/flymake.el (flymake-nop): Don't return a string.
10421         (flymake-set-at): Fix typo.
10423         * simple.el (read--expression): New function, extracted from
10424         eval-expression.  Set completion-at-point-functions (bug#14465).
10425         (eval-expression, eval-minibuffer): Use it.
10427 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
10429         * progmodes/flymake.el (flymake-save-buffer-in-file)
10430         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10431         (flymake-selected-frame, flymake-log, flymake-ins-after)
10432         (flymake-set-at, flymake-get-buildfile-from-cache)
10433         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10434         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10435         Refine the doc string.
10436         (flymake-get-file-name-mode-and-masks): Reformat.
10437         (flymake-get-real-file-name-function): Fix a minor bug.
10439 2013-05-24  Juri Linkov  <juri@jurta.org>
10441         * progmodes/grep.el (grep-mode-font-lock-keywords):
10442         Support =linenumber= format used by git-grep for lines with
10443         function names.  (Bug#13549)
10445 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10447         * progmodes/octave.el (octave-smie-rules): Return nil rather than
10448         0 after a semi-colon; it works better for smie-auto-fill.
10449         (octave--indent-new-comment-line): New function.
10450         (octave-indent-new-comment-line): Use it (indirectly).
10451         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
10452         modify comment-line-break-function.
10454         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10455         (smie-setup): Use add-function to set it.
10457 2013-05-24  Sam Steingold  <sds@gnu.org>
10459         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10460         argument (before the `interactive' argument).
10462 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10464         * image-mode.el (image-mode-winprops): Add winprops to
10465         image-mode-winprops-alist before running
10466         image-mode-new-window-functions.
10467         * doc-view.el (doc-view-new-window-function): Don't delay
10468         doc-view-goto-page via timers (bug#14435).
10470 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
10472         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
10473         (doc-view-desktop-save-buffer): New function.
10474         (doc-view-restore-desktop-buffer): New function.
10475         (desktop-buffer-mode-handlers):
10476         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10477         handler.
10478         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10479         `desktop-save-buffer' function.
10481 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
10483         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10484         (tramp-gvfs-file-name-handler): Raise a user error when
10485         `tramp-gvfs-enabled' is nil.
10486         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10487         Do not raise a user error when loading package.  (Bug#14447)
10489         * net/xesam.el: Move to obsolete/.
10491 2013-05-24  Glenn Morris  <rgm@gnu.org>
10493         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10495         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10497         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10498         (Info-find-node, Man-getpage-in-background): Declare.
10500         * mail/unrmail.el (unrmail):
10501         Replace obsolete detect-coding-with-priority.
10503         * net/socks.el (socks-split-string): Use this rather than split-string.
10504         (socks-nslookup-host): Update for above change.
10505         (dynamic-choice, s5-dynamic-choice-match)
10506         (s5-dynamic-choice-match-inline, s5-widget-value-create):
10507         Comment out unused code.
10509         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10510         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10511         (gud-tooltip-echo-area): Make obsolete.
10512         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10514         * progmodes/js.el (js--optimize-arglist): Declare.
10516         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10518         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10519         (ediff-window-C): Declare.
10521         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10522         Tweak requires to silence compiler.
10524         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10525         (he-search-string, he-tried-table, he-expand-list)
10526         (he-init-string, he-string-member, he-substitute-string)
10527         (he-reset-string): Declare.
10529         * obsolete/options.el (list-options): Use custom-variable-p,
10530         rather than obsolete alias.
10532 2013-05-23  Sam Steingold  <sds@gnu.org>
10534         * simple.el (shell-command-on-region): Pass the `replace' argument
10535         down to `call-process-region' to comply with the doc as reported on
10536         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10538 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10540         * emacs-lisp/smie.el (smie-indent-forward-token)
10541         (smie-indent-backward-token): Handle string tokens (bug#14381).
10543 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10545         * ielm.el (ielm-menu): New menu.
10546         (inferior-emacs-lisp-mode): Set comment-start.
10548 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10550         * textmodes/reftex.el (reftex-ref-style-toggle):
10551         Fix deactivate action.
10553         * textmodes/reftex-vars.el (reftex-ref-style-alist):
10554         Add cleveref macros.
10556         * textmodes/reftex-parse.el
10557         (reftex-locate-bibliography-files): Accept options for
10558         bibliography commands.
10559         * textmodes/reftex-vars.el (reftex-bibliography-commands):
10560         Add addbibresource.  Basic Biblatex support.
10562 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
10564         * net/tramp-gvfs.el (top):
10565         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10566         when loading package.  (Bug#14447)
10568 2013-05-23  Glenn Morris  <rgm@gnu.org>
10570         * progmodes/js.el: No need to load comint when compiling.
10571         (ring-insert, comint-send-string, comint-send-input)
10572         (comint-last-input-end, ido-chop): Declare.
10574         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10575         * vc/ediff-mult.el: Adjust requires.
10576         (ediff-directories-internal, ediff-directory-revisions-internal)
10577         (ediff-patch-file-internal): Declare.
10578         * vc/ediff-ptch.el: Adjust requires.
10579         (ediff-use-last-dir, ediff-buffers-internal): Declare.
10580         (ediff-find-file): Autoload.
10581         * vc/ediff-util.el: No need to load ediff when compiling.
10582         (ediff-regions-internal): Declare.
10583         * vc/ediff-wind.el: Adjust requires.
10584         (ediff-compute-toolbar-width): Define when compiling.
10585         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10586         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10587         (dired-get-filename, dired-get-marked-files)
10588         (ediff-last-dir-patch, ediff-patch-default-directory)
10589         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10590         (ediff-patch-buffer-internal): Declare.
10592         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10593         (ispell-process, ispell-buffer-local-words, lm-summary)
10594         (lm-section-start, lm-section-end): Declare.
10595         (checkdoc-ispell-init): Simplify.
10597         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10598         (he-string-member, he-reset-string, he-substitute-string): Declare.
10600         * eshell/em-ls.el: Adjust requires.
10601         (eshell-glob-regexp): Declare.
10602         * eshell/em-tramp.el: Adjust requires.
10603         (eshell-parse-command): Autoload.
10604         * eshell/em-xtra.el: Adjust requires.
10605         (eshell-parse-command): Autoload.
10606         * eshell/esh-ext.el: Adjust requires.
10607         (eshell-parse-command, eshell-close-handles): Autoload.
10608         * eshell/esh-io.el: Adjust requires.
10609         (eshell-output-filter): Autoload.
10610         * eshell/esh-util.el: No need to load tramp when compiling.
10611         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10612         Declare.
10613         (eshell-parse-ange-ls): Require ange-ftp and tramp.
10614         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10615         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10616         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10617         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10618         * eshell/esh-opt.el, eshell/esh-proc.el:
10619         * eshell/esh-var.el: Adjust requires.
10620         * eshell/eshell.el: Do not require esh-util twice.
10621         (eshell-add-input-to-history): Declare.
10622         (eshell-command): Check history module is active before using it.
10624         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10626 2013-05-22  Leo Liu  <sdl.web@gmail.com>
10628         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10630 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
10632         * autorevert.el (auto-revert-notify-add-watch)
10633         (auto-revert-notify-handler): Add `attrib' for the inotify case,
10634         it indicates changes in file modification time.
10636 2013-05-22  Glenn Morris  <rgm@gnu.org>
10638         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10639         Always delete the autoloaded function from the noruntime and
10640         unresolved functions lists.
10642         * allout.el: No need to load epa, epg, overlay when compiling.
10643         (epg-context-set-passphrase-callback, epg-list-keys)
10644         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10645         (epg-key-user-id-list): Declare.
10647         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10648         (viper-set-parsing-style-toggling-macro)
10649         (viper-set-emacs-state-searchstyle-macros):
10650         Use called-interactively-p on Emacs.
10651         (viper-looking-back): Make it an obsolete alias.  Update callers.
10652         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10653         Use looking-back rather than viper-looking-back.
10654         (viper-tmp-insert-at-eob, viper-enlarge-region)
10655         (viper-read-string-with-history, viper-register-to-point)
10656         (viper-append-to-register, viper-change-state-to-vi)
10657         (viper-backward-char-carefully, viper-forward-char-carefully)
10658         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10659         (viper-change-state-to-emacs): Declare.
10660         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10661         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10662         * emulation/viper-mous.el: Do not load viper-cmd.
10663         (viper-backward-char-carefully, viper-forward-char-carefully)
10664         (viper-forward-word, viper-adjust-window): Declare.
10666         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10668         * progmodes/idlw-help.el (idlwave-help-fontify):
10669         Use called-interactively-p.
10671         * term/w32console.el (w32-get-console-codepage)
10672         (w32-get-console-output-codepage): Declare.
10674         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10675         Remove unnecessary declarations.
10676         (dframe-message): Doc fix.
10678         * info.el (dframe-select-attached-frame, dframe-current-frame):
10679         Declare.
10681         * speedbar.el (speedbar-message): Make it an obsolete alias.
10682         Update all callers.
10683         (speedbar-with-attached-buffer)
10684         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10685         (speedbar-with-writable): Use backquote.
10686         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10687         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10688         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10689         rather than speedbar- aliases.
10690         * mail/rmail.el: Load dframe rather than speedbar when compiling.
10691         (speedbar-make-specialized-keymap, speedbar-insert-button)
10692         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10693         (speedbar-do-function-pointer): Declare.
10694         (rmail-speedbar-button, rmail-speedbar-find-file)
10695         (rmail-speedbar-move-message):
10696         Use dframe-with-attached-buffer rather than speedbar- alias.
10697         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10698         (dframe-message, speedbar-make-specialized-keymap)
10699         (speedbar-add-expansion-list, speedbar-mode-functions-list)
10700         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10701         (speedbar-insert-button, dframe-select-attached-frame)
10702         (dframe-maybee-jump-to-attached-frame)
10703         (speedbar-change-initial-expansion-list)
10704         (speedbar-previously-used-expansion-list-name): Declare.
10705         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10706         Use dframe-message, dframe-with-attached-buffer rather than
10707         speedbar- aliases.
10708         (gud-sentinel): Silence compiler.
10709         * progmodes/vhdl-mode.el (speedbar-refresh)
10710         (speedbar-do-function-pointer, speedbar-add-supported-extension)
10711         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10712         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10713         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10714         (speedbar-file-lists, speedbar-make-tag-line)
10715         (speedbar-line-directory, speedbar-goto-this-file)
10716         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10717         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10718         (speedbar-make-button, speedbar-reset-scanners)
10719         (speedbar-files-item-info, speedbar-line-text)
10720         (speedbar-find-file-in-frame, speedbar-set-timer)
10721         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10722         (speedbar-with-writable): Do not (re)define it.
10723         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10724         rather than speedbar- alias.
10726 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10728         * progmodes/octave.el (octave-mode-menu): Update and re-organize
10729         menu items.
10730         (octave-mode): Tweak fill-nobreak-predicate.
10731         (inferior-octave-startup): Check process to avoid infinite loop.
10732         (inferior-octave): Pop to buffer first to show abornmal process
10733         exit information.
10735 2013-05-21  Glenn Morris  <rgm@gnu.org>
10737         * printing.el (pr-menu-bar): Define when compiling.
10739 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10741         * progmodes/octave.el (octave-auto-fill): Remove.
10742         (octave-indent-new-comment-line): Improve.
10743         (octave-mode): Use auto fill mode through
10744         comment-line-break-function and fill-nobreak-predicate.
10745         (octave-goto-function-definition): Support DEFUN_DLD.
10746         (octave-beginning-of-defun): Small tweak.
10747         (octave-help): Show parent directory.
10749 2013-05-21  Glenn Morris  <rgm@gnu.org>
10751         * files.el (dired-unmark):
10752         * progmodes/gud.el (gdb-input): Update declarations.
10754         * calculator.el (electric, ehelp): No need to load when compiling.
10755         (Electric-command-loop, electric-describe-mode): Declare.
10757         * doc-view.el (doc-view-current-converter-processes): Move before use.
10759         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10760         Move MODE-set-explicitly definition before use.
10762         * international/mule-diag.el (mule-diag):
10763         Don't use obsolete window-system-version.
10765         * mail/feedmail.el (smtpmail): No need to load when compiling.
10766         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10768         * mail/mail-utils.el (rfc822): No need to load when compiling.
10769         (rfc822-addresses): Autoload it.
10770         (mail-strip-quoted-names): Trivial simplification.
10772         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10773         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10775         * net/snmp-mode.el (tempo): Don't duplicate requires.
10777         * progmodes/prolog.el (info): No need to load when compiling.
10778         (comint): Require before shell requires it.
10779         (Info-goto-node): Autoload it.
10780         (Info-follow-nearest-node): Declare.
10781         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10783         * textmodes/artist.el (picture-mode-exit): Declare.
10785         * textmodes/reftex-parse.el (reftex-parse-from-file):
10786         Trivial rewrite so the compiler can parse it better.
10788 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10790         * progmodes/octave.el (octave-help-mode-map)
10791         (octave-help-mode-finish-hook): New variables.
10792         (octave-help-mode, octave-help-mode-finish): New functions.
10793         (octave-help): Use octave-help-mode.
10795 2013-05-20  Glenn Morris  <rgm@gnu.org>
10797         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10799 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10801         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10802         start at point, so that expansion starting right after opening
10803         slash in a regexp is recognized.
10804         (ruby-syntax-before-regexp-re): New defvar, extracted from
10805         ruby-syntax-propertize-function.  Since the value of this regexp
10806         is looked up at runtime now, we should be able to turn
10807         `ruby-syntax-methods-before-regexp' into a defcustom later.
10808         (ruby-syntax-propertize-function): Split regexp matching into two
10809         parts, for opening and closing slashes.  That allows us to skip
10810         over string interpolations and support multiline regexps.
10811         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10812         for them, which calls `ruby-syntax-propertize-expansion'.
10813         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10814         call to `ruby-syntax-propertize-function'.
10815         (ruby-syntax-propertize-expansion): Extracted from
10816         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10817         (ruby-syntax-propertize-percent-literal): Leave point right after
10818         the percent symbol, so that the expression expansion rule can
10819         propertize the contents.
10820         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10821         heredoc openers.
10822         (ruby-syntax-propertize-expansions): Remove.
10824 2013-05-18  Juri Linkov  <juri@jurta.org>
10826         * man.el (Man-default-man-entry): Remove `-' from the end
10827         of the default value.  (Bug#14400)
10829 2013-05-18  Glenn Morris  <rgm@gnu.org>
10831         * comint.el (comint-password-prompt-regexp):
10832         Allow "password for XXX" where XXX contains colons (eg https://...).
10834 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10836         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10837         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10838         (octave-source-directories): Don't check process.
10839         (octave-source-directories, octave-find-definition): Doc fix.
10841 2013-05-18  Glenn Morris  <rgm@gnu.org>
10843         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10844         Remove backspace/delete bindings.  (Bug#14392)
10846         * cus-dep.el (custom-make-dependencies): Sort the output.
10847         (custom-versions-load-alist): Convert comment to doc.
10849 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10851         * newcomment.el (comment-search-backward): Stricter in finding
10852         comment start.  (Bug#14303)
10854         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10855         (octave-comment-start-skip): Properly anchored.
10857 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10859         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10860         Clean up when turned off.  (Bug#14395)
10861         (smie--highlight-matching-block-overlay): No longer buffer-local.
10862         (smie-highlight-matching-block): Adjust.
10864 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
10866         Doc string fix for "nanoseconds" (Bug#14406).
10867         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10868         Fix doc string typo that had "nanoseconds" instead of "microseconds".
10870 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10872         * calc/calc-units.el (math-extract-units): Preserve powers
10873         of units.
10875 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10877         * subr.el (delete-consecutive-dups): New function.
10878         * ido.el (ido-set-matches-1): Use it.
10879         * progmodes/octave.el (inferior-octave-completion-table): Use it.
10880         * ido.el (ido-remove-consecutive-dups): Remove.
10882 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10884         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10885         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10886         regexp-opt's `words'.
10888 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10890         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10891         (smie--highlight-matching-block-overlay)
10892         (smie--highlight-matching-block-lastpos)
10893         (smie--highlight-matching-block-timer): New variables.
10894         (smie-highlight-matching-block): New function.
10895         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
10896         (smie-setup): Conditionally enable smie-blink-matching-open.
10898 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
10900         Sync with upstream verilog-mode r840.
10901         * progmodes/verilog-mode.el (verilog-mode-version)
10902         (verilog-mode-release-date): Update.
10903         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10904         (verilog-sig-tieoff): Fix string error on
10905         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
10906         (verilog-read-decls): Fix parameters confusing
10907         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
10909 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
10911         * subr.el (reveal-filename): New function.
10913         * loadup.el: Compute Emacs executable versions on MS-Windows,
10914         where executables have the .exe extension.  Add a hard link
10915         emacs-XX.YY.ZZ.exe on MS-Windows.
10917         * Makefile.in (XARGS_LIMIT): New variable.
10918         (custom-deps, finder-data, autoloads)
10919         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10920         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10921         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10922         (compile-main): Limit xargs according to $(XARGS_LIMIT).
10924 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10926         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10927         (octave-mode-menu, octave-mode-map): Remove its uses.
10929 2013-05-16  Reto Zimmermann  <reto@gnu.org>
10931         Sync with upstream vhdl mode v3.34.2.
10932         * progmodes/vhdl-mode.el: Use `push' throughout.
10933         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10934         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10935         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
10936         (vhdl-actual-generic-name): New option to derive actual generic name.
10937         (vhdl-port-paste-signals): Replace formal by actual generics.
10938         (vhdl-beautify): New name for old group vhdl-align.  Update users.
10939         (vhdl-beautify-options): New option.
10940         (vhdl-last-input-event): New compat alias.  Use throughout.
10941         (vhdl-goto-line): Replace user level function `goto-line'.
10942         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10943         vhdl-fix-statement-buffer.
10944         (vhdl-create-mode-menu): Add some entries.
10945         (vhdl-align-region-groups): Respect vhdl-beautify-options.
10946         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10947         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10948         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10949         to force statements on one line.
10950         (vhdl-remove-trailing-spaces-region):
10951         New, split from vhdl-remove-trailing-spaces.
10952         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10953         Respect vhdl-beautify-options.
10954         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10955         (vhdl-update-sensitivity-list): Not add with index if exists without.
10956         Not include array index with signal.  Ignore keywords in comments.
10957         (vhdl-get-visible-signals): Regexp tweaks.
10958         (vhdl-template-component-inst): Handle empty library.
10959         (vhdl-template-type): Add template for 'enum' type.
10960         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10961         Use vhdl-replace-string.
10962         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10963         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10964         (vhdl-speedbar-initialize): Update for above name change.
10965         (vhdl-compose-wire-components): Fix in handling of constants.
10966         (vhdl-error-regexp-emacs-alist): New variable.
10967         (vhdl-error-regexp-add-emacs): New function;
10968         adds support for new compile.el (Emacs 22+)
10969         (vhdl-generate-makefile-1): Change target order for single lib. units.
10970         Allow use of absolute file names.
10972 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10974         * simple.el (prog-indent-sexp): Indent enclosing defun.
10976 2013-05-15  Glenn Morris  <rgm@gnu.org>
10978         * cus-start.el (show-trailing-whitespace): Move to editing basics.
10979         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10980         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10981         (whitespace-highlight): Move to whitespace group.
10983         * comint.el (comint-source):
10984         * pcmpl-linux.el (pcmpl-linux):
10985         * shell.el (shell-faces):
10986         * eshell/esh-opt.el (eshell-opt):
10987         * international/ccl.el (ccl): Remove empty custom groups.
10989         * completion.el (dynamic-completion-mode):
10990         * jit-lock.el (jit-lock-debug-mode):
10991         * minibuffer.el (completion-in-region-mode):
10992         * type-break.el (type-break-mode-line-message-mode)
10993         (type-break-query-mode):
10994         * emulation/tpu-edt.el (tpu-edt-mode):
10995         * progmodes/subword.el (global-subword-mode, global-superword-mode):
10996         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10997         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10999         * term/xterm.el (xterm): Change parent group to terminals.
11001         * master.el (master): Remove empty custom group.
11002         (master-mode): Remove unused :group argument.
11003         * textmodes/refill.el (refill): Remove empty custom group.
11004         (refill-mode): Remove unused :group argument.
11006         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11008         * cus-dep.el: Provide a feature.
11009         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11010         Don't mistakenly ignore files whose basenames match a basename
11011         from preloaded-file-list (eg cedet/ede/simple.el).
11012         Add a fallback method for getting :group.
11014 2013-05-15  Juri Linkov  <juri@jurta.org>
11016         * isearch.el (isearch-char-by-name): Rename from
11017         `isearch-insert-char-by-name'.  Doc fix.
11018         (isearch-forward): Mention `isearch-char-by-name' in
11019         the docstring.  (Bug#13348)
11021         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11022         `exit-minibuffer' instead of
11023         `isearch-nonincremental-exit-minibuffer'.
11024         (isearch-edit-string): Remove mention of
11025         `isearch-nonincremental-exit-minibuffer' from docstring.
11026         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11027         (isearch-forward-exit-minibuffer)
11028         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
11030 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11032         * loadup.el: Just use unversioned DOC.
11034         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11035         literals as extending to EOB.
11036         (nxml-last-fontify-end): Remove unused variable.
11037         (nxml-after-change1): Use with-silent-modifications.
11038         (nxml-extend-after-change-region): Simplify.
11039         (nxml-extend-after-change-region1): Remove function.
11040         (nxml-after-change1): Don't adjust for dependent regions.
11041         (nxml-fontify-matcher): Simplify.
11042         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11043         (xmltok-add-dependent): Remove function.
11044         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11045         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11046         (xmltok-scan-prolog-after-processing-instruction-open): Treat
11047         unclosed <[[, <?, comment, and other literals as extending to EOB.
11048         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11049         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11050         Remove functions.
11051         (rng-do-some-validation-1): Don't mark dependent regions.
11052         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11053         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11054         (nxml-clear-dependent-regions): Remove functions.
11055         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11056         (nxml-ensure-scan-up-to-date):
11057         Don't clear&mark dependent regions.
11059 2013-05-15  Leo Liu  <sdl.web@gmail.com>
11061         * progmodes/octave.el (octave-goto-function-definition):
11062         Improve and fix callers.
11064 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11066         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11067         the setter (bug#14387).
11069         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11070         surrounding group (bug#14402).
11072 2013-05-14  Juri Linkov  <juri@jurta.org>
11074         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11075         (Bug#14390)
11077 2013-05-14  Glenn Morris  <rgm@gnu.org>
11079         * progmodes/f90.el (f90-imenu-generic-expression):
11080         Fix typo in 2013-05-08 change.  (Bug#14402)
11082 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11084         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11085         Remove signals for which replies are never received.
11087 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11089         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11090         (gdb-handler-alist, gdb-handler-number): Remove variables.
11091         (gdb-handler-list): New variable.
11092         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11093         (gdb-pending-handler-p, gdb-handle-reply)
11094         (gdb-remove-all-pending-triggers): New functions.
11095         (gdb-discard-unordered-replies): New defcustom.
11096         (gdb-handler): New defstruct.
11097         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
11098         instead of gdb-pending-triggers.  Update docstring.
11099         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
11100         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11101         (gdb-var-update-handler, def-gdb-auto-update-trigger)
11102         (def-gdb-auto-update-handler, gdb-get-changed-registers)
11103         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11104         (gdb-frame-handler): Pending triggers are now automatically managed.
11105         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11106         Remove argument.
11107         (gdb-input): Automatically handles pending triggers.  Update docstring.
11108         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11109         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11110         Update comments.
11111         (gdb-done-or-error): Now use gdb-handle-reply.
11113 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11115         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11116         gdb-debug-log.
11118 2013-05-14  Glenn Morris  <rgm@gnu.org>
11120         * subr.el (user-emacs-directory-warning): New option.
11121         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
11123 2013-05-14  Leo Liu  <sdl.web@gmail.com>
11125         * progmodes/octave.el (octave-font-lock-keywords): Fix error
11126         during redisplay.
11127         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11128         (octave-font-lock-texinfo-comment): Fix invalid search bound
11129         error: wrong side of point.
11131 2013-05-14  Glenn Morris  <rgm@gnu.org>
11133         * progmodes/flymake.el (flymake-xml-program): New option.
11134         (flymake-xml-init): Use it.
11136         * term/xterm.el: Provide a feature.
11138         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
11140 2013-05-13  Glenn Morris  <rgm@gnu.org>
11142         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11143         Add compat aliases as a hack workaround.  (Bug#14384)
11145 2013-05-13  Leo Liu  <sdl.web@gmail.com>
11147         * progmodes/octave.el (octave-indent-comment): Fix indentation for
11148         ###, and %!.
11149         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11150         C-M-q.
11151         (octave-comment-start-skip): Include %!.
11152         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11154 2013-05-12  Leo Liu  <sdl.web@gmail.com>
11156         * progmodes/octave.el (inferior-octave-startup): Store the value
11157         of __octave_srcdir__ for octave-source-directories.
11158         (inferior-octave-check-process): New function refactored out of
11159         inferior-octave-send-list-and-digest.
11160         (octave-source-directories)
11161         (octave-find-definition-filename-function): New variables.
11162         (octave-source-directories)
11163         (octave-find-definition-default-filename): New functions.
11164         (octave-find-definition): Improve to find functions implemented in C++.
11166 2013-05-12  Glenn Morris  <rgm@gnu.org>
11168         * calendar/diary-lib.el (diary-outlook-format-1):
11169         Don't include dayname in the output.  (Bug#14349)
11171 2013-05-11  Glenn Morris  <rgm@gnu.org>
11173         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11175         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11176         Treat cc-provide like provide.
11178 2013-05-11  Kevin Ryde  <user42@zip.com.au>
11180         * cus-dep.el (custom-make-dependencies):
11181         Use generated-autoload-load-name for the sake of files such
11182         such cedet/semantic/bovine/c.el, where the base file name
11183         is not in load-path.  (Bug#5277)
11185 2013-05-11  Glenn Morris  <rgm@gnu.org>
11187         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11188         Provide features.
11190 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11192         * progmodes/octave.el (octave-indent-comment): Improve.
11193         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11194         (octave-eldoc-function-signatures, octave-eldoc-function):
11195         New functions.
11196         (octave-mode, inferior-octave-mode): Add eldoc support.
11198 2013-05-11  Richard Stallman  <rms@gnu.org>
11200         * epa.el (epa-decrypt-file): Take output file name as argument
11201         and read it using `interactive'.
11203 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11205         * progmodes/octave.el (octave-beginning-of-line)
11206         (octave-end-of-line): Check before using up-list because it jumps
11207         out of more syntactic contructs since moving to smie.
11208         (octave-indent-comment): New function.
11209         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
11210         (octave-begin-keywords, octave-end-keywords)
11211         (octave-reserved-words, octave-smie-bnf-table)
11212         (octave-smie-rules): Add new keywords from Octave 3.6.4.
11214 2013-05-11  Glenn Morris  <rgm@gnu.org>
11216         * faces.el (internal-face-x-get-resource):
11217         * frame.el (ns-display-monitor-attributes-list):
11218         * calc/calc-aent.el (math-to-radians-2):
11219         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11220         Fix declarations.
11222         * calc/calc-menu.el: Make it loadable in isolation.
11224         * net/eudcb-bbdb.el: Make it loadable without bbdb.
11225         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11226         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11227         (eudc-bbdb-query-internal): Require 'bbdb.
11229         * lpr.el (lpr-headers-switches):
11230         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11232         * progmodes/sql.el (sql-login-params): Fix and improve :type.
11234         * emulation/edt-mapper.el: In batch mode, error rather than hang.
11236         * term.el (term-set-escape-char): Make it idempotent.
11238 2013-05-10  Leo Liu  <sdl.web@gmail.com>
11240         * progmodes/octave.el (inferior-octave-completion-table):
11241         No longer a function and all uses changed.  Use cache to speed up
11242         completion due to bug#11906.
11243         (octave-beginning-of-defun): Re-write to be more general.
11245 2013-05-10  Glenn Morris  <rgm@gnu.org>
11247         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11249 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11251         * comint.el (comint-redirect-send-command-to-process): Use :around
11252         rather than :override for comint-redirect-filter.
11253         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11254         Call it instead of comint-redirect-original-filter-function (which
11255         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
11257 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
11259         * frame.el (display-monitor-attributes-list): Add NS case.
11260         (ns-display-monitor-attributes-list): Declare.
11262 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
11264         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
11266 2013-05-09  Glenn Morris  <rgm@gnu.org>
11268         * international/fontset.el (vertical-centering-font-regexp):
11269         Set standard-value.
11271         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11273         * bookmark.el (bookmark-search-delay):
11274         * cus-start.el (vertical-centering-font-regexp):
11275         * ps-mule.el (ps-mule-font-info-database-default):
11276         * ps-print.el (ps-default-fg, ps-default-bg):
11277         * type-break.el (type-break-good-break-interval):
11278         * whitespace.el (whitespace-indentation-regexp)
11279         (whitespace-space-after-tab-regexp):
11280         * emacs-lisp/testcover.el (testcover-1value-functions)
11281         (testcover-noreturn-functions, testcover-progn-functions)
11282         (testcover-prog1-functions):
11283         * emulation/viper-init.el (viper-emacs-state-cursor-color):
11284         * eshell/em-glob.el (eshell-glob-translate-alist):
11285         * play/tetris.el (tetris-tty-colors):
11286         * progmodes/cpp.el (cpp-face-default-list):
11287         * progmodes/flymake.el (flymake-allowed-file-name-masks):
11288         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11289         (idlwave-help-browser-generic-args):
11290         * progmodes/make-mode.el (makefile-special-targets-list):
11291         * progmodes/python.el (python-shell-virtualenv-path):
11292         * progmodes/verilog-mode.el (verilog-active-low-regexp)
11293         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11294         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11295         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11296         * textmodes/reftex-vars.el (reftex-format-label-function):
11297         * textmodes/remember.el (remember-diary-file): Fix custom types.
11299         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11300         Add :version.
11302 2013-05-09  Leo Liu  <sdl.web@gmail.com>
11304         * progmodes/octave.el (inferior-octave-completion-at-point):
11305         Restore file completion.  (Bug#14300)
11306         (inferior-octave-startup): Fix incorrect highlighting for the
11307         first prompt.
11309 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11311         * progmodes/ruby-mode.el: First cut at SMIE support.
11312         (ruby-use-smie): New var.
11313         (ruby-smie-grammar): New constant.
11314         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11315         (ruby-smie--forward-token, ruby-smie--backward-token)
11316         (ruby-smie-rules): New functions.
11317         (ruby-mode-variables): Setup SMIE if applicable.
11319 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
11321         * simple.el (line-move-visual): Signal beginning/end of buffer
11322         only if vertical-motion moved less than it was requested.  Avoids
11323         silly incorrect error messages when there are display strings with
11324         multiple newlines at EOL.
11326 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11328         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11329         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11330         (prolog-char-quote-workaround):
11331         * progmodes/cperl-mode.el (cperl-under-as-char):
11332         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11333         Mark as obsolete.
11334         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11335         their declaration.
11336         (vhdl-mode-syntax-table-init): Remove.
11338         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11339         last change.
11341         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11342         syntax for "_".
11343         (ld-script-font-lock-keywords):
11344         Change regexps to use things like \_< and \_>.
11346         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11347         Change all regexps to use things like \_< and \_>.
11349         * progmodes/autoconf.el (autoconf-definition-regexp)
11350         (autoconf-font-lock-keywords, autoconf-current-defun-function):
11351         Handle a _ with symbol syntax.
11352         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11354         * progmodes/ada-mode.el (ada-mode-abbrev-table):
11355         Consolidate declaration.
11356         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11357         the declaration.
11358         (ada-create-syntax-table): Remove.
11359         (ada-capitalize-word): Don't mess with the syntax of "_" since it
11360         already has the right syntax nowadays.
11361         (ada-goto-next-word): Don't change the syntax of "_".
11363         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11364         with-wrapper-hook.
11366 2013-05-08  Sam Steingold  <sds@gnu.org>
11368         * thingatpt.el (thing-at-point): Accept optional second argument
11369         NO-PROPERTIES to strip the text properties from the return value.
11370         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11371         to `thing-at-point' instead of stripping the properties ourselves.
11372         Also, when `thing-at-point' fails to find a url, prepend "http://"
11373         to the filename at point on the assumption that the user is
11374         pointing at something like gnu.org/gnu.
11376 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
11378         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11379         * faces.el (crm-separator):
11380         Silence byte-compiler.
11382         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11383         (tool-bar-map): Remove unneeded defvars.
11385 2013-05-08  Leo Liu  <sdl.web@gmail.com>
11387         Re-work a fix for bug#10994 based on Le Wang's patch.
11388         * ido.el (ido-remove-consecutive-dups): New helper.
11389         (ido-completing-read): Use it.
11390         (ido-chop): Revert fix for bug#10994.
11392 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
11394         * cus-edit.el (custom-save-variables):
11395         Pretty-print long values.  (Bug#14187)
11397 2013-05-08  Glenn Morris  <rgm@gnu.org>
11399         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11400         (m4-mode-syntax-table): Init in the defvar.
11401         (m4-mode-abbrev-table): Let define-derived-mode define it.
11403 2013-05-08  Tom Tromey  <tromey@redhat.com>
11405         * progmodes/m4-mode.el (m4-mode-syntax-table):
11406         Do not treat "_" as word constituent.  (Bug#14167)
11408 2013-05-07  Glenn Morris  <rgm@gnu.org>
11410         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11411         Remove explicit eshell-isearch-cancel-map.
11413         * progmodes/f90.el (f90-smart-end-names): New option.
11414         (f90-smart-end): Doc fix.
11415         (f90-end-block-optional-name): New constant.
11416         (f90-block-match): Respect f90-smart-end-names.
11418 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11420         * progmodes/octave.el (octave-smie-forward-token): Be more careful
11421         about implicit semi-colons (bug#14218).
11423 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11425         * frame.el (display-monitor-attributes-list)
11426         (frame-monitor-attributes): New functions.
11428 2013-05-06  Leo Liu  <sdl.web@gmail.com>
11430         * progmodes/octave.el (octave-syntax-propertize-function): Change
11431         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
11432         (octave-font-lock-keywords): Use octave-operator-regexp.
11433         (octave-completion-at-point): Rename from
11434         octave-completion-at-point-function.
11435         (inferior-octave-directory-tracker): Robustify.
11436         (octave-text-functions): Remove and fix its uses.  No such things
11437         any more.
11439 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11441         * emacs-lisp/trace.el (trace--display-buffer): New function.
11442         (trace-make-advice): Use it.
11444 2013-05-06  Juri Linkov  <juri@jurta.org>
11446         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
11447         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11448         Doc fix.
11449         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11450         in the help string.  (Bug#12985)
11452 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
11454         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
11456 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11458         * progmodes/perl-mode.el: Add support for here documents.
11459         (perl-syntax-propertize-function): Match here-doc markers.
11460         (perl-syntax-propertize-special-constructs): Find their end.
11461         (perl-imenu-generic-expression): Use [:alnum:].
11463         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11464         (advice--add-function): Refresh the advice if already present
11465         (bug#14317).
11467 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
11469         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
11471 2013-05-06  Glenn Morris  <rgm@gnu.org>
11473         * w32-fns.el (w32-charset-info-alist): Declare.
11475         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11476         of its defcustom properties.
11477         (eshell-cmpl-initialize): No need to load pcomplete.
11479         * generic-x.el: No need to require comint when compiling.
11481         * net/eudc-export.el: Make it loadable without bbdb.
11482         (top-level): Use require rather than load-library.
11483         (eudc-create-bbdb-record, eudc-bbdbify-phone)
11484         (eudc-batch-export-records-to-bbdb)
11485         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11486         Require bbdb.
11488 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11490         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11491         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11492         some tweaks, instead.
11494 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11496         * progmodes/octave.el (octave-font-lock-keywords)
11497         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11498         (inferior-octave-send-list-and-digest): Improve error message.
11499         (octave-mode, inferior-octave-mode): Use setq-local.
11500         (octave-help): Set info-lookup-mode.
11502 2013-05-05  Richard Stallman  <rms@gnu.org>
11504         * vc/compare-w.el (compare-windows-whitespace):
11505         Treat no-break space as whitespace.
11507         * mail/rmailsum.el (rmail-summary-rmail-update):
11508         Detect empty summary and don't change selected message.
11509         (rmail-summary-goto-msg): Likewise.
11511         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11512         Doc fixes, rename args.
11514 2013-05-05  Alan Mackenzie  <acm@muc.de>
11516         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11518 2013-05-05  Juri Linkov  <juri@jurta.org>
11520         * info.el (Info-read-subfile): Use (point-min) instead of (point)
11521         to not add the length of the summary segment to the return value.
11522         (Bug#14125)
11524 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11526         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11527         (inferior-octave-output-filter): Remove.
11528         (octave-send-region, inferior-octave-startup): Fix callers.
11529         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11530         (octave-binary-file-extensions): New user variable.
11531         (octave-find-definition): Confirm if opening binary files.
11532         (octave-help-file): Use octave-find-definition to get the binary
11533         confirmation.
11534         (octave-help): Adjust for octave-help-file change.
11536 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11538         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11539         Merge the two entries that handle function definitions.
11540         (pascal--syntax-propertize): New const.
11541         (pascal-mode): Use it.  Use setq-local.
11543 2013-05-04  Glenn Morris  <rgm@gnu.org>
11545         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11546         (diary-from-outlook): Respect diary-from-outlook-function.
11548 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11550         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11551         Move the declaration from C.
11552         (read-minibuffer, eval-minibuffer): Move from C.
11553         (completion-setup-function): Avoid minibuffer-completion-contents.
11555 2013-05-03  Leo Liu  <sdl.web@gmail.com>
11557         * progmodes/octave.el (octave-font-lock-keywords): Do not
11558         dehighlight 'end' in comments or strings.
11559         (octave-completing-read, octave-goto-function-definition):
11560         New helpers.
11561         (octave-help-buffer): New user variable.
11562         (octave-help-file, octave-help-function): New button types.
11563         (octave-help): New command and bind it to C-h ;.
11564         (octave-find-definition): New command and bind it to M-.
11565         (user-error): Alias to error if not defined.
11567 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11569         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11570         for \.  (bug#14332)
11571         (octave-font-lock-keywords): Include [ and {.
11573 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11575         * progmodes/octave.el (inferior-octave-startup-file): Change default.
11576         (inferior-octave): Remove calling comint-mode and return the buffer.
11577         (inferior-octave-startup): Cosmetic changes.
11579 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11581         * progmodes/octave.el (octave-syntax-propertize-function):
11582         Include the case when ' is at line beginning.  (Bug#14336)
11584 2013-05-02  Glenn Morris  <rgm@gnu.org>
11586         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11587         * desktop.el (vc-dir-mode): Just autoload it here.
11589 2013-05-02  Alan Mackenzie  <acm@muc.de>
11591         Eliminate variable c-standard-font-lock-fontify-region-function.
11592         * progmodes/cc-mode.el
11593         (c-standard-font-lock-fontify-region-function): Remove.
11594         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11596 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11598         * progmodes/octave.el: Compatible with older emacs-24 releases.
11599         (inferior-octave-has-built-in-variables): Remove.  Built-in
11600         variables were removed from Octave in 2007.
11601         (inferior-octave-startup): Fix uses.
11602         (comint-line-beginning-position): Remove compatibility code for
11603         emacs 21.
11605 2013-05-01  Juri Linkov  <juri@jurta.org>
11607         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
11609 2013-05-01  Juri Linkov  <juri@jurta.org>
11611         * comint.el (comint-previous-matching-input): Don't print message
11612         "History item: %d" when `isearch-mode' is active.
11613         (comint-history-isearch-message): Print message "History item: %d"
11614         when `comint-input-ring-index' is not empty and this function is
11615         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
11617 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11619         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11620         definitions.  Use completion-at-point to insert keywords.
11621         (octave-abbrev-start): Remove.
11622         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11624 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11626         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11627         change.
11629 2013-04-30  Alan Mackenzie  <acm@muc.de>
11631         Handle arbitrarily long C++ member initialisation lists.
11632         * progmodes/cc-engine.el (c-back-over-member-initializers):
11633         new function.
11634         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11635         (most) member init lists.
11637 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11639         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11640         variable.
11642 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11644         * progmodes/octave.el (octave-variables): Remove.  No builtin
11645         variables any more.  All converted to functions.
11646         (octave-font-lock-keywords, octave-completion-at-point-function):
11647         Fix uses.
11648         (octave-font-lock-texinfo-comment): New user variable.
11649         (octave-texinfo-font-lock-keywords): New variable for texinfo
11650         comment block.
11651         (octave-function-comment-block): New face.
11652         (octave-font-lock-texinfo-comment): New function.
11653         (octave-mode): Font lock texinfo comment block.
11655 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11657         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11658         indexing expression.
11659         (octave-continuation-string): Do not use \.
11660         (inferior-octave-complete-impossible): Remove.
11661         (inferior-octave-completion-table)
11662         (inferior-octave-completion-at-point): Remove its uses.
11663         (inferior-octave-startup): completion_matches was introduced to
11664         Octave in 1996 so safe to assume it.
11665         (octave-function-file-comment): Improve to follow how Octave does it.
11666         (octave-update-function-file-comment): Tweak.
11668 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11670         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11671         (inferior-octave-startup): Remove inferior-octave-startup-hook.
11672         (octave-function-file-comment): Fix typo.
11673         (octave-sync-function-file-names): Use read-char-choice.
11675 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
11677         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11678         to t for the less important warnings.
11680 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
11682         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
11684 2013-04-27  Glenn Morris  <rgm@gnu.org>
11686         * vc/log-view.el (log-view-current-entry):
11687         Treat "---" separator lines as part of the following rev.  (Bug#14169)
11689 2013-04-27  Juri Linkov  <juri@jurta.org>
11691         * subr.el (read-number): Doc fix about using it by interactive
11692         code letter `n'.  (Bug#14254)
11694 2013-04-27  Juri Linkov  <juri@jurta.org>
11696         * desktop.el (desktop-auto-save-timeout): New option.
11697         (desktop-file-checksum): New variable.
11698         (desktop-save): Add optional arg `auto-save' and don't auto-save
11699         if nothing changed.
11700         (desktop-auto-save-timer): New variable.
11701         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11702         (after-init-hook): Call `desktop-auto-save-set-timer'.
11703         Suggested by Reuben Thomas <rrt@sc3d.org> in
11704         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11706 2013-04-27  Leo Liu  <sdl.web@gmail.com>
11708         * progmodes/octave.el (octave-function-file-p)
11709         (octave-skip-comment-forward, octave-function-file-comment)
11710         (octave-update-function-file-comment): New functions.
11711         (octave-mode-map): Bind C-c ; to
11712         octave-update-function-file-comment.
11713         (octave-mode-menu): Add octave-update-function-file-comment.
11714         (octave-mode, inferior-octave-mode): Fix doc-string.
11715         (octave-insert-defun): Conform to Octave's coding convention.
11716         (Bug#14285)
11718         * files.el (basic-save-buffer): Don't let errors in
11719         before-save-hook prevent saving buffer.
11721 2013-04-20  Roland Winkler  <winkler@gnu.org>
11723         * faces.el (read-face-name): Use completing-read if arg multiple
11724         is nil.
11726 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
11728         * ls-lisp.el (ls-lisp-insert-directory): If no files are
11729         displayed, move point to after the totals line.
11730         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11731         for the details.
11733 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11735         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11736         Add current dir to the load-path.
11737         (package-generate-autoloads): Don't rely on
11738         autoload-ensure-default-file.
11740 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11742         * textmodes/remember.el (remember-store-in-files): Document that
11743         the file name format is passed to `format-time-string'.
11745 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11747         * progmodes/octave.el (octave-sync-function-file-names): New function.
11748         (octave-mode): Use it in before-save-hook.
11750 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11752         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11753         (bug#14274).
11755         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11756         \n and comment, even if it's not an implicit ; (bug#14218).
11758 2013-04-26  Glenn Morris  <rgm@gnu.org>
11760         * subr.el (read-number): Once more use `read' rather than
11761         `string-to-number', to trap non-numeric input.  (Bug#14254)
11763 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11765         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11766         Use `syntax-multiline' text property consistently instead of
11767         `font-lock-multiline'.  (Bug#14237)
11769 2013-04-26  Glenn Morris  <rgm@gnu.org>
11771         * emacs-lisp/shadow.el (list-load-path-shadows):
11772         No longer necessary to check for duplicate simple.el, since
11773         2012-07-07 change to init_lread to not include installation lisp
11774         directories in load-path when running uninstalled.  (Bug#14270)
11776 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11778         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11779         (octave-mode, inferior-octave-mode): Use setq-local.
11780         (octave-not-in-string-or-comment-p): Rename to
11781         octave-in-string-or-comment-p.
11782         (octave-in-comment-p, octave-in-string-p)
11783         (octave-in-string-or-comment-p): Replace defsubst with defun.
11785 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11787         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11789 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11791         * textmodes/remember.el (remember-data-directory)
11792         (remember-directory-file-name-format): Fix custom types.
11794 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11796         * progmodes/octave.el (octave-completion-at-point-function):
11797         Make use of inferior octave process.
11798         (octave-initialize-completions): Remove.
11799         (inferior-octave-completion-table): New function.
11800         (inferior-octave-completion-at-point): Use it.
11801         (octave-completion-alist): Remove.
11803 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11805         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11806         (opascal-mode-syntax-table): New var.
11807         (opascal-literal-kind, opascal-is-literal-end)
11808         (opascal-literal-token-at): Rewrite.
11809         (opascal--literal-start-re, opascal-font-lock-keywords)
11810         (opascal--syntax-propertize): New constants.
11811         (opascal-font-lock-defaults): Adjust.
11812         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11813         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11814         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11815         (delphi-other-face, opascal-other-face): Remove face variables.
11816         (opascal-save-state): Remove macro.
11817         (opascal-fontifying-progress-step): Remove constant.
11818         (opascal--ignore-changes): Remove var.
11819         (opascal-set-token-property, opascal-parse-next-literal)
11820         (opascal-is-stable-literal, opascal-complete-literal)
11821         (opascal-is-literal-start, opascal-face-of)
11822         (opascal-parse-region, opascal-parse-region-until-stable)
11823         (opascal-fontify-region, opascal-after-change)
11824         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11825         (opascal-debug-parse-region, opascal-debug-parse-window)
11826         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11827         (opascal-debug-fontify-buffer): Remove.
11828         (opascal-debug-mode-map): Adjust accordingly.
11830 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11832         Merge octave-mod.el and octave-inf.el into octave.el with some
11833         cleanups.
11834         * progmodes/octave.el: New file renamed from octave-mod.el.
11835         * progmodes/octave-inf.el: Merged into octave.el.
11836         * progmodes/octave-mod.el: Renamed to octave.el.
11838 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11840         * textmodes/reftex-vars.el
11841         (reftex-label-ignored-macros-and-environments): New defcustom.
11843         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11845 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11847         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11848         (smie-indent-keyword): Improve the check to ensure that the next
11849         comment is really on the same line.
11850         (smie-indent-comment): Don't align with a subsequent closer (or eob).
11852         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11853         semi-colons if the line is not otherwise empty (bug#14218).
11855 2013-04-25  Glenn Morris  <rgm@gnu.org>
11857         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11859 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11861         * progmodes/opascal.el (opascal-set-token-property): Rename from
11862         opascal-set-text-properties and only set `token' (bug#14134).
11863         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11864         (opascal-literal-text-properties): Remove.
11865         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11866         Adjust callers.
11868 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
11870         * textmodes/remember.el (remember-handler-functions): Add an
11871         option for a new handler `remember-store-in-files'.
11872         (remember-data-directory, remember-directory-file-name-format):
11873         New options.
11874         (remember-store-in-files): New function to store remember notes
11875         as separate files within a directory.
11877 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
11879         * progmodes/compile.el (compilation-next-error-function):
11880         Pass "formats" to compilation-find-file (bug#11777).
11882 2013-04-24  Glenn Morris  <rgm@gnu.org>
11884         * vc/vc-bzr.el (vc-bzr-print-log):
11885         * vc/vc-hg.el (vc-hg-print-log):
11886         * vc/vc-svn.el (vc-svn-print-log):
11887         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
11889         * vc/vc-bzr.el (vc-bzr-print-log):
11890         * vc/vc-cvs.el (vc-cvs-print-log):
11891         * vc/vc-git.el (vc-git-print-log):
11892         * vc/vc-hg.el (vc-hg-print-log):
11893         * vc/vc-mtn.el (vc-mtn-print-log):
11894         * vc/vc-rcs.el (vc-rcs-print-log):
11895         * vc/vc-sccs.el (vc-sccs-print-log):
11896         * vc/vc-svn.el (vc-svn-print-log):
11897         * vc/vc.el (vc-print-log-internal): Doc fixes.
11899 2013-04-23  Glenn Morris  <rgm@gnu.org>
11901         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11902         Remove venerable code attempting to avoid substitute-command-keys.
11904 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
11906         * textmodes/reftex-vars.el (reftex-label-regexps):
11907         Call `reftex-compile-variables' after changes to this variable.
11909 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11911         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11912         Use lexical-binding.
11913         (jit-lock-force-redisplay): Use markers, check buffer's continued
11914         existence and beware narrowed buffers.
11915         (jit-lock-fontify-now): Adjust call accordingly.
11917 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11919         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11920         to avoid misleading the user.
11922 2013-04-22  Leo Liu  <sdl.web@gmail.com>
11924         * info-look.el: Prefer latex2e.info.  (Bug#14240)
11926 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
11928         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
11930         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11931         * net/tramp.el (tramp-call-process): ... here.
11932         (tramp-set-completion-function, tramp-parse-putty):
11933         * net/tramp-adb.el (tramp-adb-execute-adb-command):
11934         * net/tramp-gvfs.el (tramp-gvfs-send-command):
11935         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11936         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11937         (tramp-call-local-coding-command): Use `tramp-call-process'
11938         instead of `tramp-compat-call-process'.
11940         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11941         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11942         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11943         (tramp-find-inline-compress): Improve traces.
11944         (tramp-maybe-send-script): Check for Perl binary.
11945         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11947 2013-04-22  Daiki Ueno  <ueno@gnu.org>
11949         * epg.el (epg-context-pinentry-mode): New function.
11950         (epg-context-set-pinentry-mode): New function.
11951         (epg--start): Pass --pinentry-mode option to gpg command.
11953 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
11955         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11956         `comint-dynamic-complete' is obsolete since 24.1, replaced by
11957         `completion-at-point'.  (Bug#13774)
11959         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11960         default key binding for `describe-distribution' has been moved to
11961         `C-h C-o'.  (Bug#13970)
11963 2013-04-21  Glenn Morris  <rgm@gnu.org>
11965         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11966         Add doc strings.
11967         (vc-print-log): Clarify interactive prompt.
11969 2013-04-20  Glenn Morris  <rgm@gnu.org>
11971         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11972         No longer include timestamp etc information.
11974 2013-04-20  Roland Winkler  <winkler@gnu.org>
11976         * faces.el (read-face-name): Bug fix, return just one face if arg
11977         multiple is nil.  (Bug#14209)
11979 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11982         (remove-function): Autoload.
11984         * comint.el (comint-redirect-original-filter-function): Remove.
11985         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11986         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11987         (vc-cvs-annotate-command):
11988         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11989         * progmodes/prolog.el (prolog-consult-compile):
11990         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11991         Use add/remove-function instead.
11992         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11993         (gud-tooltip-process-output, gud-tooltip-tips):
11994         Use add/remove-function instead.
11995         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11996         (scheme-interaction-mode, exit-scheme-interaction-mode):
11997         Use add/remove-function instead.
11999         * vc/vc-dispatcher.el: Use lexical-binding.
12000         (vc--process-sentinel): Rename from vc-process-sentinel.
12001         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12002         and vc-sentinel-commands any more.
12003         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12004         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12006 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12008         * progmodes/sh-script.el (sh-imenu-generic-expression):
12009         Handle function names with a single character.   (Bug#14111)
12011 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
12013         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12014         for subroutines defined in an eval (bug#14182).
12016 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12018         * bookmark.el (bookmark-completing-read): Improve handling of empty
12019         string (bug#14176).
12021 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12023         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12025 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12027         New faster Imenu implementation (bug#14058).
12028         * progmodes/python.el:
12029         (python-imenu-prev-index-position):
12030         (python-imenu-format-item-label-function)
12031         (python-imenu-format-parent-item-label-function)
12032         (python-imenu-format-parent-item-jump-label-function):
12033         New vars.
12034         (python-imenu-format-item-label)
12035         (python-imenu-format-parent-item-label)
12036         (python-imenu-format-parent-item-jump-label)
12037         (python-imenu--put-parent, python-imenu--build-tree)
12038         (python-imenu-create-index, python-imenu-create-flat-index)
12039         (python-util-popn): New functions.
12040         (python-mode): Set imenu-create-index-function to
12041         python-imenu-create-index.
12043 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12045         * winner.el (winner-active-region): Use region-active-p, activate-mark
12046         and deactivate-mark (bug#14225).
12048         * simple.el (deactivate-mark): Don't inline it.
12050 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
12052         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12054 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
12056         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12057         file extensions from the archive-mode entry in order to prefer
12058         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12060 2013-04-18  Leo Liu  <sdl.web@gmail.com>
12062         * bindings.el (help-event-list): Add ?\?.
12064 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12066         * subr.el (with-wrapper-hook): Declare obsolete.
12067         * simple.el (filter-buffer-substring-function): New hook.
12068         (filter-buffer-substring): Use it.
12069         (filter-buffer-substring-functions): Mark obsolete.
12070         * minibuffer.el (completion-in-region-function): New hook.
12071         (completion-in-region): Use it.
12072         (completion-in-region-functions): Mark obsolete.
12073         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12074         * abbrev.el (abbrev-expand-function): New hook.
12075         (expand-abbrev): Use it.
12076         (abbrev-expand-functions): Mark obsolete.
12077         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12078         and :filter-return.
12080 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12082         * progmodes/python.el (python-nav--syntactically): Fix cornercases
12083         and do not care about match data.
12085 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12087         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12088         completion tables when completing error conditions and
12089         `declare' arguments.
12090         (lisp-complete-symbol, field-complete): Mark as obsolete.
12091         (check-parens): Unmatched parens are user errors.
12092         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12094 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
12096         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12097         command changed buffer (ie. `flyspell-pre-buffer' is not current
12098         buffer), which prevents making decisions based on invalid value of
12099         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
12100         cause an error when `flyspell-pre-point' was nil after switching
12101         buffers.
12102         (flyspell-post-command-hook): No longer needs to change buffers when
12103         checking pre-word.  While at it remove unnecessary progn.
12105 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
12107         * textmodes/ispell.el (ispell-add-per-file-word-list):
12108         Fix `flyspell-correct-word-before-point' error when accepting
12109         words and `coment-padding' is an integer by using
12110         `comment-normalize-vars' (Bug #14214).
12112 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12114         New defun movement commands.
12115         * progmodes/python.el (python-nav--syntactically)
12116         (python-nav--forward-defun, python-nav-backward-defun)
12117         (python-nav-forward-defun): New functions.
12119 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12121         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12122         (python-syntax-context): Use named compiler-macro for backwards
12123         compatibility with Emacs 24.x.
12125 2013-04-17  Leo Liu  <sdl.web@gmail.com>
12127         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12128         octave-hide-process-buffer.
12130 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12132         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12133         (bug#14216).
12135 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
12137         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12138         Fix adjustment of offset when receiving incomplete responses from GDB
12139         (bug#14129).
12141 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12144         python-mode-abbrev-table.
12145         (python-skeleton-define): Adjust accordingly.
12146         (python-mode-abbrev-table): New table that inherits from it so that
12147         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12149         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12150         (abbrev-symbol): Use it.
12151         (abbrev--before-point): Use it since we already handle inheritance.
12153 2013-04-16  Leo Liu  <sdl.web@gmail.com>
12155         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12156         binding to info-lookup-symbol.
12158 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
12160         * minibuffer.el (completion--twq-all):
12161         * term/ns-win.el (ns-initialize-window-system):
12162         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12164 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12166         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12167         global bindings.
12169         * doc-view.el (doc-view-start-process): Handle url-handler directories.
12171 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
12173         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12174         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12175         to nil.
12176         (ruby-end-of-defun): Remove the unused arg, change the docstring
12177         to reflect that this function is only used as the value of
12178         `end-of-defun-function'.
12179         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12180         to reflect an earlier change that beginning/end-of-defun functions
12181         jump between methods in a class definition, as well as top-level
12182         functions.
12184 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12186         * minibuffer.el (minibuffer-complete): Don't just scroll
12187         a *Completions* that's been iconified.
12188         (minibuffer-force-complete): Make sure repetitions do cycle when going
12189         through completion-in-region -> minibuffer-complete.
12191 2013-04-15  Alan Mackenzie  <acm@muc.de>
12193         Correct the placement of c-cpp-delimiters when there're #s not at
12194         col 0.
12196         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12197         place a submatch around the #.
12198         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12199         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
12200         on the #, not BOL.
12202 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12204         * emacs-lisp/nadvice.el: Properly test names when adding advice.
12205         (advice--member-p): New arg `name'.
12206         (advice--add-function, advice-member-p): Use it (bug#14202).
12208 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
12210         Reformulate java imenu-generic-expression.
12211         The old expression contained ill formed regexps.
12213         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12214         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12215         (cc-imenu-java-method-arg-regexp): New defconsts.
12216         (cc-imenu-java-build-type-args-regex): New defun.
12217         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12218         handling of spaces in the regexp.
12220 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12222         * textmodes/ispell.el (ispell-command-loop): Remove
12223         flyspell highlight of a word when ispell accepts it (bug #14178).
12225 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
12227         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12228         uses code from the previous `ange-ftp-run-real-handler'.
12229         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12230         only in case that function exist.  This is needed for proper
12231         unloading of Tramp.
12233 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
12235         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12237         * textmodes/reftex.el (reftex-compile-variables): Use it.
12239 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12241         * files.el (normal-mode): Only use default major-mode if no other mode
12242         was specified.
12244         * emacs-lisp/trace.el (trace-values): New function.
12246         * files.el: Allow : in local variables (bug#14089).
12247         (hack-local-variable-regexp): New var.
12248         (hack-local-variables-prop-line, hack-local-variables): Use it.
12250 2013-04-13  Roland Winkler  <winkler@gnu.org>
12252         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
12253         data before it gets modified by bibtex-beginning-of-entry.
12255 2013-04-13  Roland Winkler  <winkler@gnu.org>
12257         * textmodes/bibtex.el (bibtex-url): Doc fix.
12259 2013-04-13  Roland Winkler  <winkler@gnu.org>
12261         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12262         does not visit a BibTeX file, exclude it from the list of buffers
12263         returned by bibtex-initialize.
12265 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
12267         * window.el (split-window): Remove interactive form, since as a
12268         command this function is a special case of split-window-below.
12269         Correct doc string.
12271 2013-04-12  Roland Winkler  <winkler@gnu.org>
12273         * faces.el (read-face-name): Do not override value of arg default.
12274         Allow single faces and strings as default values.  Remove those
12275         elements from return value that are not faces.
12276         (describe-face): Simplify.
12277         (face-at-point): New optional args thing and multiple so that this
12278         function can provide the same functionality previously provided by
12279         read-face-name.
12280         (make-face-bold, make-face-unbold, make-face-italic)
12281         (make-face-unitalic, make-face-bold-italic, invert-face)
12282         (modify-face, read-face-and-attribute): Use face-at-point.
12284         * cus-edit.el (customize-face, customize-face-other-window)
12285         * cus-theme.el (custom-theme-add-face)
12286         * face-remap.el (buffer-face-set)
12287         * facemenu.el (facemenu-set-face): Use face-at-point.
12289 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
12291         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12293 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
12295         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12296         off leading { and trailing } from field values.
12298 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * emacs-lisp/timer.el (timer--check): New function.
12301         (timer--time, timer-set-function, timer-event-handler): Use it.
12302         (timer-set-idle-time): Simplify.
12303         (timer--activate): CSE.
12304         (timer-event-handler): Give more info in error message.
12305         (internal-timer-start-idle): New function, moved from C.
12307         * mpc.el (mpc-proc): Add `restart' argument.
12308         (mpc-proc-cmd): Use it.
12309         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12310         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12311         less often.
12313 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
12315         * progmodes/sh-script.el: Implement `sh-mode' own
12316         `add-log-current-defun-function' (bug#14112).
12317         (sh-current-defun-name): New function.
12318         (sh-mode): Use the function.
12320 2013-04-09  Bastien Guerry  <bzg@gnu.org>
12322         * simple.el (choose-completion-string): Fix docstring (bug#14163).
12324 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12326         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12328         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12329         timer (bug#14156).
12331 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
12333         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12334         declaration.
12336 2013-04-07  Leo Liu  <sdl.web@gmail.com>
12338         * pcmpl-x.el: New file.
12340 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
12342         Do not set x-display-name until X connection is established.
12343         This is needed to prevent from weird situation described at
12344         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12345         * frame.el (make-frame): Set x-display-name after call to
12346         window system initialization function, not before.
12347         * term/x-win.el (x-initialize-window-system): Add optional
12348         display argument and use it.
12349         * term/w32-win.el (w32-initialize-window-system):
12350         * term/ns-win.el (ns-initialize-window-system):
12351         * term/pc-win.el (msdos-initialize-window-system):
12352         Add compatible optional display argument.
12354 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
12356         * files.el (normal-backup-enable-predicate): On MS-Windows and
12357         MS-DOS compare truenames of temporary-file-directory and of the
12358         file, so that 8+3 aliases (usually found in $TEMP on Windows)
12359         don't fail comparison by compare-strings.  Also, compare file
12360         names case-insensitively on MS-Windows and MS-DOS.
12362 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12364         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12365         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12367 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
12369         * whitespace.el (whitespace-color-on, whitespace-color-off):
12370         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12372 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
12374         * ispell.el (ispell-set-spellchecker-params):
12375         Really set `ispell-args' for all equivs.
12377 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12379         * ido.el (ido-completions): Use extra elements of ido-decorations
12380         (bug#14143).
12381         (ido-decorations): Update docstring.
12383 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
12385         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12386         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12387         nil during initialization, in order not to miss changes since the
12388         file was opened.  (Bug#14140)
12390 2013-04-05  Leo Liu  <sdl.web@gmail.com>
12392         * kmacro.el (kmacro-call-macro): Fix bug#14135.
12394 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
12396         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12398 2013-04-04  Glenn Morris  <rgm@gnu.org>
12400         * electric.el (electric-pair-inhibit-predicate): Add :version.
12402 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12404         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12405         when a package is required several times (bug#14082).
12407 2013-04-04  Roland Winkler  <winkler@gnu.org>
12409         * faces.el (read-face-name): Behave as promised by the docstring.
12410         Assume that arg default is a list of faces.
12411         (describe-face): Call read-face-name with list of default faces.
12413 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12415         * bookmark.el: Fix deletion of bookmarks (bug#13972).
12416         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12417         (bookmark-bmenu-execute-deletions): Only skip first line if it's
12418         the header.
12419         (bookmark-exit-hook-internal): Save even if list is empty.
12421 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
12423         * emacs-lisp/package.el (package-pinned-packages): New var.
12424         (package--add-to-archive-contents): Obey it (bug#14118).
12426 2013-04-03  Alan Mackenzie  <acm@muc.de>
12428         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12429         Also adapt to the new values of element 7 of a parse state.
12431         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12432         parameter `not-in-delimiter'.  Handle being inside comment opener.
12433         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12434         character in case we're typing a '*' after a '/'.
12435         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12436         instead by passing the parameter to c-state-pp-to-literal.
12438         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12439         for elt. 7 of a parse state.
12441 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
12443         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12444         * international/latin1-disp.el, international/mule-util.el:
12445         * language/cyril-util.el, language/european.el, language/ind-util.el:
12446         * language/lao-util.el, language/thai.el, language/tibet-util.el:
12447         * language/tibetan.el, language/viet-util.el:
12448         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12450 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12452         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12453         (electric-pair-post-self-insert-function): Use it.
12454         (electric-pair-default-inhibit): New function, extracted from
12455         electric-pair-post-self-insert-function.
12457 2013-03-31  Roland Winkler  <winkler@gnu.org>
12459         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12461 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12463         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12465 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
12467         Un-indent after "pass" and "return" statements (Bug#13888)
12468         * progmodes/python.el (python-indent-block-enders): New var.
12469         (python-indent-calculate-indentation): Use it.
12471 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
12473         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12474         defun.  Defining it as defalias could introduce too eager
12475         byte-compiler optimization.  (Bug#14030)
12477 2013-03-30  Chong Yidong  <cyd@gnu.org>
12479         * iswitchb.el (iswitchb-read-buffer): Fix typo.
12481 2013-03-30  Leo Liu  <sdl.web@gmail.com>
12483         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12484         (kmacro-execute-from-register): Pass the keyboard macro to
12485         kmacro-call-macro or repeating won't work correctly.
12487 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
12489         * progmodes/subword.el: Back to using `forward-symbol'.
12491         * subr.el (forward-whitespace, forward-symbol)
12492         (forward-same-syntax): Move from thingatpt.el.
12494 2013-03-29  Leo Liu  <sdl.web@gmail.com>
12496         * kmacro.el (kmacro-to-register): New command.
12497         (kmacro-execute-from-register): New function.
12498         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
12500 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12502         * mpc.el: Use defvar-local and setq-local.
12503         (mpc--proc-connect): Connection failures are not bugs.
12504         (mpc-mode-map): `follow-link' only applies to the buffer's content.
12505         (mpc-volume-map): Bind to the up-events.
12507 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
12509         * progmodes/subword.el (superword-mode): Use `forward-sexp'
12510         instead of `forward-symbol'.
12512 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12514         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12515         (edebug--recursive-edit): Use it.
12516         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12517         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12519 2013-03-28  Leo Liu  <sdl.web@gmail.com>
12521         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
12523 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
12525         * facemenu.el (list-colors-callback): New defvar.
12526         (list-colors-redisplay): New function.
12527         (list-colors-display): Install list-colors-redisplay as the
12528         revert-buffer-function.  (Bug#14063)
12530 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12532         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12533         and suffixes don't overlap (bug#14061).
12535         * case-table.el: Use lexical-binding.
12536         (case-table-get-table): New function.
12537         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
12539 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
12541         * progmodes/subword.el: Add `superword-mode' to do word motion
12542         over symbol_words (parallels and leverages `subword-mode' which
12543         does word motion inside MixedCaseWords).
12545 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
12547         * eshell/em-unix.el: Move su and sudo to...
12548         * eshell/em-tramp.el: ...Eshell tramp module.
12550 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12552         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12553         Change return value to be a sexp.  Delay `get-buffer' to after
12554         restoring the desktop (bug#13951).
12556 2013-03-26  Leo Liu  <sdl.web@gmail.com>
12558         * register.el: Move semantic tag handling back to
12559         cedet/semantic/senator.el.  (Bug#14052)
12561 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12563         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12564         into the prompt either (bug#13963).
12566 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12569         part of "(error-foo)".
12571 2013-03-24  Juri Linkov  <juri@jurta.org>
12573         * replace.el (list-matching-lines-prefix-face): New defcustom.
12574         (occur-1): Pass `list-matching-lines-prefix-face' to the function
12575         `occur-engine' if `face-differs-from-default-p' returns t.
12576         (occur-engine): Add `,' inside backquote construct to evaluate
12577         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
12578         Pass `prefix-face' to the functions `occur-context-lines' and
12579         `occur-engine-add-prefix'.
12580         (occur-engine-add-prefix, occur-context-lines): Add optional arg
12581         `prefix-face' and propertize the prefix with `prefix-face'.
12582         (Bug#14017)
12584 2013-03-24  Leo Liu  <sdl.web@gmail.com>
12586         * nxml/rng-valid.el (rng-validate-while-idle)
12587         (rng-validate-quick-while-idle): Guard against deleted buffer.
12588         (Bug#13999)
12590         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12591         is the last entry in kill-buffer-hook.
12593         * files.el (kill-buffer-hook): Doc fix.
12595 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
12597         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12598         Make it safe-local.
12600         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12602 2013-03-23  Leo Liu  <sdl.web@gmail.com>
12604         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12605         Remove.
12607         * nxml/rng-valid.el (rng-validate-mode)
12608         (rng-after-change-function, rng-do-some-validation):
12609         * nxml/rng-maint.el (rng-validate-buffer):
12610         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12611         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12612         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12613         (nxml-extend-after-change-region): Use with-silent-modifications.
12615         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12616         timer-idle-list.
12618         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12619         (rng-next-error-1, rng-previous-error-1): Do not let-bind
12620         timer-idle-list.  (Bug#13999)
12622 2013-03-23  Juri Linkov  <juri@jurta.org>
12624         * info.el (info-index-match): New face.
12625         (Info-index, Info-apropos-matches): Add a nested subgroup to the
12626         main pattern and add text properties with the new face to matches
12627         in index entries relative to the beginning of the index entry.
12628         (Bug#14015)
12630 2013-03-21  Eric Ludlam  <zappo@gnu.org>
12632         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12633         Inhibit read only while inserting objects.
12635 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
12637         * progmodes/cfengine.el: Update docs to mention
12638         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
12639         symbol motion.  Remove "_" from the word syntax.
12641 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
12643         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12644         syntax for both `cfengine2-mode' and `cfengine3-mode'.
12646 2013-03-20  Juri Linkov  <juri@jurta.org>
12648         * info.el (Info-next-reference-or-link)
12649         (Info-prev-reference-or-link): New functions.
12650         (Info-next-reference, Info-prev-reference): Use them.
12651         (Info-try-follow-nearest-node): Handle footnote navigation.
12652         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
12654 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12656         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12657         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12659 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
12661         Suppress unnecessary non-ASCII chatter during build process.
12662         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12663         (batch-skkdic-convert): Suppress most of the chatter.
12664         It's not needed so much now that machines are faster,
12665         and its non-ASCII component was confusing; see Dmitry Gutov in
12666         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12668 2013-03-20  Leo Liu  <sdl.web@gmail.com>
12670         * ido.el (ido-chop): Fix bug#10994.
12672 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12674         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12675         Remove vars.
12676         (whitespace-color-on, whitespace-color-off):
12677         Use `font-lock-fontify-buffer' (Bug#13817).
12679 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12681         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12682         remapping in mode-line.
12683         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12685 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12687         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12688         value for `whitespace-line' face (Bug#13875).
12689         (whitespace-font-lock-keywords): Change description.
12690         (whitespace-color-on): Don't save `font-lock-keywords' value, save
12691         the constructed keywords instead.
12692         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12694 2013-03-19  Leo Liu  <sdl.web@gmail.com>
12696         * progmodes/compile.el (compilation-display-error): New command.
12697         (compilation-mode-map, compilation-minor-mode-map): Bind it to
12698         C-o.  (Bug#13992)
12700 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12702         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12704 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
12706         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12708 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
12710         * net/tramp-compat.el (tramp-compat-user-error): New defun.
12712         * net/tramp-adb.el (tramp-adb-handle-shell-command):
12713         * net/tramp-gvfs.el (top):
12714         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12715         (tramp-handle-shell-command): Use it.
12716         (tramp-dissect-file-name): Raise an error when hostname is a
12717         method name, and neither method nor user is specified.
12719         * net/trampver.el: Update release number.
12721 2013-03-18  Leo Liu  <sdl.web@gmail.com>
12723         Make sure eldoc can be turned off properly.
12724         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12725         eldoc-mode.
12726         (eldoc-display-message-p): Revert last change.
12727         (eldoc-display-message-no-interference-p)
12728         (eldoc-print-current-symbol-info): Tweak.
12730 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12732         * doc-view.el (doc-view-new-window-function): Check the new window
12733         overlay's display property instead the char property of the
12734         buffer's first char.  Use `with-selected-window' instead of
12735         `save-window-excursion' with `select-window'.
12736         (doc-view-document->bitmap): Check the current doc-view overlay's
12737         display property instead the char property of the buffer's first char.
12739 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12741         Automate the build of ja-dic.el (Bug#13984).
12742         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12743         from the input, rather than assume that it's been done for us by the
12744         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12745         the current date into a ja-dic.el comment, as that complicates
12746         regression testing.
12748 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12750         * whitespace.el: Fix double evaluation.
12751         (whitespace-space, whitespace-hspace, whitespace-tab)
12752         (whitespace-newline, whitespace-trailing, whitespace-line)
12753         (whitespace-space-before-tab, whitespace-indentation)
12754         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12755         obsolete defvars.
12756         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12757         (whitespace-color-on): Use a single font-lock-add-keywords call.
12758         Fix double-evaluation of face variables.
12760 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12762         * net/tramp-adb.el (tramp-adb-parse-device-names):
12763         Use `start-process' instead of `call-process'.  Otherwise, the
12764         function might be blocked under MS Windows.  (Bug#13299)
12766 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12768         Extend eldoc to display info in the mode-line.  (Bug#13978)
12769         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12770         (eldoc-mode-line-string): New variable.
12771         (eldoc-minibuffer-message): New function.
12772         (eldoc-message-function): New variable.
12773         (eldoc-message): Use it.
12774         (eldoc-display-message-p)
12775         (eldoc-display-message-no-interference-p):
12776         Support eldoc-post-insert-mode.
12778         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12779         (eval-expression): Run it.
12781 2013-03-17  Roland Winkler  <winkler@gnu.org>
12783         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12784         strings in the list of return values.
12786 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12788         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12789         radix before checking for HMS forms.
12791 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12793         * progmodes/scheme.el: Add indentation and font-locking for λ.
12794         (Bug#13975)
12796 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12798         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12799         token before point (bug#13942).
12801 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12803         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12805 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12807         * startup.el (command-line-normalize-file-name): Fix handling of
12808         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12809         <xfq.free@gmail.com> in
12810         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12812 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12814         Sync with Tramp 2.2.7.
12816         * net/trampver.el: Update release number.
12818 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12820         * doc-view.el: Fix bug#13887.
12821         (doc-view-insert-image): Don't modify overlay associated to
12822         non-live windows, and implement horizontal centering of image in
12823         case it's smaller than the window.
12824         (doc-view-new-window-function): Force redisplay of new windows on
12825         doc-view buffers.
12827 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12829         * saveplace.el (save-place-alist-to-file): Don't sort
12830         `save-place-alist', just pretty-print it (bug#13882).
12832 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12834         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12835         Check whether `default-file-name-coding-system' is bound.
12836         It isn't in XEmacs.
12838 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12840         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12841         backquotes for `obsolete' (bug#13929).
12843         * international/mule.el (find-auto-coding): Include file name in
12844         obsolescence warning (bug#13922).
12846 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
12848         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12849         for CFEngine 3-specific indentation.
12850         (cfengine3-indent-line): Use it.  Fix up category regex.
12851         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12853 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12855         * type-break.el (type-break-file-name):
12856         * textmodes/remember.el (remember-data-file):
12857         * strokes.el (strokes-file):
12858         * shadowfile.el (shadow-initialize):
12859         * saveplace.el (save-place-file):
12860         * ps-bdf.el (bdf-cache-file):
12861         * progmodes/idlwave.el (idlwave-config-directory):
12862         * net/quickurl.el (quickurl-url-file):
12863         * international/kkc.el (kkc-init-file-name):
12864         * ido.el (ido-save-directory-list-file):
12865         * emulation/viper.el (viper-custom-file-name):
12866         * emulation/vip.el (vip-startup-file):
12867         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12868         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12870 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
12872         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12873         * language/thai-word.el: Switch to UTF-8.
12875 See ChangeLog.16 for earlier changes.
12877 ;; Local Variables:
12878 ;; coding: utf-8
12879 ;; End:
12881   Copyright (C) 2011-2014 Free Software Foundation, Inc.
12883   This file is part of GNU Emacs.
12885   GNU Emacs is free software: you can redistribute it and/or modify
12886   it under the terms of the GNU General Public License as published by
12887   the Free Software Foundation, either version 3 of the License, or
12888   (at your option) any later version.
12890   GNU Emacs is distributed in the hope that it will be useful,
12891   but WITHOUT ANY WARRANTY; without even the implied warranty of
12892   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12893   GNU General Public License for more details.
12895   You should have received a copy of the GNU General Public License
12896   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.