* dired.el (dired-get-marked-files): Doc fix.
[emacs.git] / lisp / ChangeLog
blob6a2cdabc1f12800d02e662bae64e45ea93a79ad5
1 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5         * simple.el (choose-completion): Doc fix (bug#14160).
7         * subr.el (event-start): Say what a nil EVENT value means.
9         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
10         (bug#14197).
12         * progmodes/grep.el (find-program): Doc fix (bug#14289).
14         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
16         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
18         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
19         predicate function (bug#15455).
21 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
23         * ielm.el (inferior-emacs-lisp-mode): Instead of
24         `comment-use-global-state', set `comment-use-syntax'.
26 2014-02-10  Glenn Morris  <rgm@gnu.org>
28         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
30 2014-02-09  Alan Mackenzie  <acm@muc.de>
32         Fix c-invalidate-state-cache on narrowed buffers.
33         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
34         Widen when setting and clearing the CPP delimiter properties.
36 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
38         * help.el (describe-bindings): Doc fix (bug#9888).
40         * files.el (save-buffer): Use ARG as the parameter name for
41         consistency (bug#10346).
42         (save-buffer): Clarify the 0 argument (bug#10346).
44         * cus-edit.el (customize-apropos): Fix error string.
45         (custom-buffer-create): Doc fix (bug#11122).
46         (custom-sort-items): Doc fix (bug#11121).
48         * dired-aux.el (dired-copy-file-recursive): Remove slighly
49         misleading comment (bug#11328).
51         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
53         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
54         (icomplete-simple-completing-p): Mention the previous variable.
56         * font-lock.el (font-lock-value-in-major-mode): Clarify the
57         meaning of the parameter (bug#12282).
59         * files.el (find-file-noselect): Clarify prompt when changing
60         readedness (bug#13261).
61         (locate-file): Suffixes aren't returned, so don't say that they
62         are (bug#12674).
63         (backup-inhibited): Doc clarification (bug#12525).
65         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
66         before we actually start to delete things (bug#16331).
68         * subr.el (event-start): Doc fix (bug#14228).
69         (event-end): Ditto.
71 2014-02-09  Glenn Morris  <rgm@gnu.org>
73         * emacs-lisp/warnings.el (lwarn):
74         Empower help-enable-auto-load.  (Bug#15940)
76 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
79         (Bug#16690)
81 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
83         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
84         Insert output at end of buffer.  (Bug#16120)
86 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
88         * simple.el (choose-completion-string-functions): Document new
89         calling convention (bug#14153).
90         (execute-extended-command): Clarify doc string (bug#13373).
92         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
94         * find-dired.el (find-name-dired): Doc fix (bug#14290).
95         (find-grep-dired): Doc fix (bug#14288).
97 2014-02-08  Juri Linkov  <juri@jurta.org>
99         * isearch.el (isearch-quote-char): Check character validity
100         like in `quoted-insert' (bug#16677).
102 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
104         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
106         * isearch.el (isearch-hide-immediately): Doc clarification
107         (bug#14723).
109         * simple.el (line-move): Document utility function used many
110         places in the Emacs sources (bug#14843).
112         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
113         (dired-prev-marked-file): Doc fix (bug#14855).
114         (dired-up-directory): Doc fix (bug#14848).
116         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
118         * files.el (file-relative-name): Doc fix (bug#15159).
120         * fringe.el (fringe-styles): Doc fix (bug#15239).
122         * isearch.el (isearch-filter-predicate): Documentation typo fix
123         (bug#15474).
125         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
127         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
129         * replace.el (replace-match-maybe-edit): Doc clarification
130         (bug#15632).
132         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
134         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
136 2014-02-08  Glenn Morris  <rgm@gnu.org>
138         * help-fns.el (describe-variable):
139         Check {file,dir}-local-variables-alist, and buffer-file-name,
140         in the correct buffer.
142 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
144         * help-fns.el (describe-variable): Fix the case where
145         a value is directory-local with no dir-locals file.  (Bug#16635)
147 2014-02-08  Glenn Morris  <rgm@gnu.org>
149         * abbrev.el (edit-abbrevs-mode):
150         Derive from fundamental-mode.  (Bug#16682)
152 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
154         * simple.el (quoted-insert): Check character validity (bug#16677).
156 2014-02-07  Juri Linkov  <juri@jurta.org>
158         * desktop.el (desktop-read): Claim the lock when the owner is not
159         the current process.  (Bug#16157)
161 2014-02-07  Juri Linkov  <juri@jurta.org>
163         * desktop.el (desktop-buffers-not-to-save): Change default from nil
164         to "\\` ".  (Bug#16651)
166 2014-02-07  Juri Linkov  <juri@jurta.org>
168         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
169         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
170         (desktop-auto-save-cancel-timer): New function with some code from
171         `desktop-auto-save-set-timer'.
172         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
173         Instead of setting `desktop-save-mode' to nil, call
174         `desktop-save-mode' with arg 0.  (Bug#16630)
176 2014-02-07  Glenn Morris  <rgm@gnu.org>
178         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
179         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
180         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
182         * obsolete/iswitchb.el: Move to obsolete/.
183         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
184         since obsolete/ is not scanned for autoloads.
185         * emacs-lisp/authors.el (authors-valid-file-names):
186         Add iswitchb.el.
188         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
189         Disable now non-functional find-file-hook.
191 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
193         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
194         instead of ";" in order to avoid additional prompts.  Let heredoc
195         scripts read from tty.  (Bug#16582)
196         (tramp-send-command): No special handling of heredocs, it isn't
197         necessary anymore.
199 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
202         with a space (bug#16664).  Limit the symbols considered to the ones
203         that are bound or fbound (bug#16646).
205 2014-02-06  Glenn Morris  <rgm@gnu.org>
207         * epa.el (epa-mail-aliases): Doc fix.
209 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
211         * emacs-lisp/lisp.el (lisp-completion-at-point):
212         Use `completion-table-merge' instead of `completion-table-in-turn'
213         (bug#16604).
215         * minibuffer.el (completion-table-merge): New function.
217 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
219         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
220         (tramp-sh-handle-set-file-acl)
221         (tramp-sh-handle-start-file-process)
222         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
223         (tramp-find-executable, tramp-send-command): Use it.
225 2014-02-05  Glenn Morris  <rgm@gnu.org>
227         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
229 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
231         * progmodes/python.el (python-shell-send-string):
232         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
234 2014-02-04  Anders Lindgren  <andlind@gmail.com>
236         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
237         the names (bug#16620).
239 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
241         * faces.el (window-divider): New default value.  Rewrite doc-string.
242         (window-divider-first-pixel, window-divider-last-pixel): New faces.
244 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
246         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
247         `protected' and `public' can also be called without arguments.
249 2014-02-03  Glenn Morris  <rgm@gnu.org>
251         * register.el (window-configuration-to-register)
252         (frame-configuration-to-register): Unadvertise unused argument.
253         * frameset.el (frameset-to-register): Remove unused argument.
255         * frameset.el (frameset-to-register):
256         * kmacro.el (kmacro-to-register):
257         * register.el (increment-register):
258         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
259         (calc-append-to-register, calc-prepend-to-register):
260         * play/gametree.el (gametree-layout-to-register)
261         (gametree-apply-register-layout):
262         * textmodes/picture.el (picture-clear-rectangle-to-register)
263         (picture-yank-rectangle-from-register):
264         * vc/emerge.el (emerge-combine-versions-register):
265         Use register-read-with-preview to read registers.
267 2014-02-03  João Távora  <joaotavora@gmail.com>
269         * elec-pair.el (electric-pair-backward-delete-char): Don't error
270         when at beginning of (possibly narrowed) buffer.
272 2014-02-02  Daniel Colascione  <dancol@dancol.org>
274         * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
275         Also try to display local help from just before point.
277 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
279         c-parse-state.  Don't "append-lower-brace-pair" in certain
280         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
281         recognised as a comment.
283         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
284         as well as normal comment starter.
285         (c-parse-state-get-strategy): Extra return possibility
286         'back-and-forward.
287         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
288         return value list to indicate replacement of a brace-pair cons
289         with its car.
290         (c-parse-state-1): With 'back-and-forward, only call
291         c-append-lower-brace-pair-to state-cache when cons-separated.
293 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
295         * term/ns-win.el (ns-suspend-error): New function.
296         (ns-initialize-window-system): Add ns-suspend-error to
297         suspend-hook (Bug#16612).
299 2014-02-02  Daniel Colascione  <dancol@dancol.org>
301         * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
303 2014-02-02  Daniel Colascione  <dancol@dancol.org>
305         * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
307 2014-02-02  Glenn Morris  <rgm@gnu.org>
309         * register.el (register-read-with-preview, point-to-register)
310         (window-configuration-to-register, frame-configuration-to-register)
311         (jump-to-register, number-to-register, view-register, insert-register)
312         (copy-to-register, append-to-register, prepend-to-register)
313         (copy-rectangle-to-register): Doc fixes.
315 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
317         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
318         * emacs-lisp/find-func.el (find-function-C-source): Idem.
319         * emacs-lisp/nadvice.el (advice--cd*r): New function.
320         * help-fns.el (describe-function-1): Use it.
322 2014-02-02  Glenn Morris  <rgm@gnu.org>
324         * register.el (register-preview-default): New function,
325         split from register-preview.
326         (register-preview-function): Rename from register-preview-functions,
327         make it not a hook.
328         (register-preview): Use register-preview-function.
329         (register-read-with-preview): Error on non-character event.  (Bug#16595)
331 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
333         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
334         `:' before binary operators (bug#16609).  Don't check for `:'
335         before `[' and `(', or their syntax status.  A percent literal
336         can't end with either.
337         (ruby-font-lock-keywords): For built-ins that require arguments,
338         check that they're followed by something that looks like argument
339         (bug#16610).
341 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
343         * subr.el (butlast): Document what an omitted N means (bug#13437).
344         (nbutlast): Ditto.
346 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
348         * net/shr.el (shr-generic): Make into a defsubst to make the stack
349         depth shallower (bug#16587).
350         (shr-tag-svg): Respect `shr-inhibit-images'.
351         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
353 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
355         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
356         (ruby-smie-grammar): Make "." right-associative.  Make its priority
357         lower than the ternary and all binary operators.
358         (ruby-smie-rules): Indent "(" relative to the first non-"."
359         parent, or the first "." parent at indentation.
360         Use `ruby-align-chained-calls' for indentation of "." tokens.
361         (Bug#16593)
363 2014-01-31  Juri Linkov  <juri@jurta.org>
365         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
366         from `make-hash-table'.
368         * textmodes/ispell.el (ispell-init-process): Change message format
369         to be consistent with other messages.
371 2014-01-31  Glenn Morris  <rgm@gnu.org>
373         * delsel.el (delete-selection-mode): Doc fix.
375         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
376         (trace-function-background): Doc fixes.
378         * ido.el (ido-use-virtual-buffers): Doc fix.
379         Reset :version, since the default value has not changed.
381         * register.el (register-preview-delay, register-read-with-preview):
382         Doc fixes.
384         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
385         do not mess with mail-buffer position (fixes 2009-11-03 change).
386         * progmodes/cc-mode.el (c-submit-bug-report):
387         Check auto-fill-mode is bound.  (Bug#16592)
389 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
391         * startup.el (fancy-splash-image-file): New function,
392         split from fancy-splash-head.
393         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
394         so that we are both using the same image.  (Bug#16574)
396 2014-01-30  Glenn Morris  <rgm@gnu.org>
398         * simple.el (eval-expression): Doc fix.
400         * hexl.el (hexl-mode-hook):
401         * ielm.el (ielm-mode-hook):
402         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
403         (lisp-interaction-mode-hook):
404         * progmodes/cfengine.e (cfengine3-documentation-function):
405         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
407 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
409         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
410         is a symbol (bug#16584).
412 2014-01-30  Glenn Morris  <rgm@gnu.org>
414         * help.el (help-for-help-internal): Add "P" to text.
416 2014-01-29  Glenn Morris  <rgm@gnu.org>
418         * simple.el (just-one-space, cycle-spacing): Doc fixes.
420 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
422         * window.el (fit-frame-to-buffer): Fix calculations for margins and
423         height constraints.
425 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
427         * progmodes/hideif.el: Extend to full CPP expression syntax.
428         (hif-token-alist): Add missing tokens.
429         (hif-token-regexp): Add support for float/octal/hex immediates.
430         (hif-string-literal-regexp): New const.
431         (hif-tokenize): Recognize strings and float/octal/hex immediates.
432         (hif-exprlist): New function.
433         (hif-parse-if-exp): Use it.
434         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
435         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
436         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
437         (hif-logxor, hif-comma): New functions.
439 2014-01-28  Glenn Morris  <rgm@gnu.org>
441         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
443         * indent.el (tab-stop-list): Doc fix.  Add :version.
445         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
446         (cvs-append-to-ignore): Add compatibility alias.
448 2014-01-27  Glenn Morris  <rgm@gnu.org>
450         * dired.el (dired-hide-details-mode): Don't autoload it,
451         since it cannot be used outside Dired buffers anyway.
453         * emulation/cua-base.el (cua-mode): Doc fix.
455         * dired.el (dired-hide-details-hide-symlink-targets)
456         (dired-hide-details-hide-information-lines)
457         (dired-hide-details-mode): Doc fixes.
459         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
460         * strokes.el (strokes-file): Doc fix.  Bump :version.
461         (strokes-help): Doc fix.
462         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
463         * emulation/viper.el (viper): Doc fix for custom group.
464         (top-level): Remove oh-so-no-longer-relevant text about vip.
465         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
467         * ido.el (ido-save-directory-list-file):
468         * saveplace.el (save-place-file):
469         * calendar/timeclock.el (timeclock-file):
470         * net/quickurl.el (quickurl-url-file):
471         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
472         * progmodes/idlwave.el (idlwave-config-directory):
473         * textmodes/remember.el (remember-data-file):
474         Bump :version.
476 2014-01-26  Glenn Morris  <rgm@gnu.org>
478         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
479         Doc fix.  Make obsolete.
480         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
482         * sort.el (delete-duplicate-lines): Doc fix.
484 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
486         * progmodes/ada-mode.el (ada):
487         * woman.el (woman): Link to info manual and Commentary section.
489         * progmodes/flymake.el (flymake):
490         * nxml/nxml-mode.el (nxml):
491         * net/eww.el (eww):
492         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
493         * htmlfontify.el (htmlfontify):
494         * ses.el (ses):
495         * epa.el (epa):
496         * ido.el (ido): Link to info manual.
498 2014-01-25  Leo Liu  <sdl.web@gmail.com>
500         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
502 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
504         * net/shr.el (shr-tag-img): Prefer the title over the alt text
505         (bug#16537).
507 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
509         * net/eww.el (eww-download-callback):
510         Fix reference to eww-download-directory.
512         * emacs-lisp/bytecomp.el (byte-compile-file):
513         Remove unused local variable `file-name'.
515 2014-01-24  Glenn Morris  <rgm@gnu.org>
517         * woman.el (woman-default-faces, woman-monochrome-faces):
518         Fix obsolescence specification.
520         * subr.el (with-demoted-errors): Doc fix.
522 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
524         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
525         (cl--macroexp-fboundp): New function.
526         (cl--make-type-test): Use it.
528 2014-01-23  Glenn Morris  <rgm@gnu.org>
530         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
531         * simple.el (eval-expression): Doc fixes.
533 2014-01-22  Glenn Morris  <rgm@gnu.org>
535         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
537 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
539         * emacs-lisp/package.el: Write files silently.
540         (package-autoload-ensure-default-file, package--write-file-no-coding)
541         (package-generate-description-file, package--download-one-archive)
542         (package-install-from-archive): Tell `write-region' to stay quiet.
543         (package-menu-mode, package-menu--print-info): Omit the Archive column
544         if there's only one archive.
545         (package-all-keywords, package--has-keyword-p): Remove dead code.
547 2014-01-22  Glenn Morris  <rgm@gnu.org>
549         * version.el (emacs-bzr-version-bzr): Fix typo.
551         * version.el (emacs-repository-get-version):
552         Check either .bzr or .git, but not both.
553         Make the git case actually use the DIR argument, and return nil
554         rather than the empty string.
555         Avoid error if .git exists but the git executable is not found.
557 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
559         Fixes in window size functions around Bug#16430 and Bug#16470.
560         * window.el (window-total-size, window-size): New argument ROUND.
561         (window--min-delta-1, window-min-delta, window--max-delta-1):
562         Be more conservative when calculating the numbers of lines or
563         columns a window can shrink (Bug#16430).
564         (fit-window-to-buffer): Simplify code.
565         * term.el (term-window-width): Call window-body-width again.
567 2014-01-22  Glenn Morris  <rgm@gnu.org>
569         * image.el (image-format-suffixes): Doc fix.
571         * international/quail.el (quail-define-package): Doc fix.
573         * emacs-lisp/authors.el (authors-valid-file-names):
574         (authors-renamed-files-alist): Additions.
576         * vc/vc-git.el (vc-git-print-log): Remove --follow;
577         reverts 2014-01-09 change.  (Bug#16422)
579         * calc/calc-embed.el (thing-at-point-looking-at):
580         * emacs-lisp/map-ynp.el (x-popup-dialog):
581         * obsolete/lmenu.el (x-popup-dialog):
582         * emacs-lisp/package.el (url-recreate-url):
583         * mail/mailclient.el (clipboard-kill-ring-save):
584         * subr.el (x-popup-dialog): Update declaration.
585         * mail/rmail.el (rmail-mime-message-p):
586         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
588 2014-01-21  Daniel Colascione  <dancol@dancol.org>
590         * progmodes/sh-script.el (sh--inside-noncommand-expression):
591         Correctly detect when we're inside an arithmetic expansion form
592         containing nested parenthesis.
593         (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
594         to detect cases where we shouldn't expand "<<" to a heredoc
595         skeleton.
597 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
599         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
600         (eldoc--message-command-p): New function.
601         (eldoc-display-message-p): Use it.
602         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
603         message is not automatically erased for us.
604         (eldoc-print-current-symbol-info): Erase previous message, if any.
606 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
608         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
609         specify it's an interactive function.
611         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
612         Fix regex used for scanning for citation keys which failed for
613         citations with optional arguments.
615 2014-01-21  Leo Liu  <sdl.web@gmail.com>
617         * simple.el (read--expression): Don't enable eldoc-mode.
619 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * simple.el (move-beginning-of-line): Make sure we don't move forward
622         (bug#16497).
624 2014-01-20  Juri Linkov  <juri@jurta.org>
626         * saveplace.el (toggle-save-place, save-place-to-alist)
627         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
628         'dired-mode) before checking for dired-directory.  (Bug#16477)
630 2014-01-20  Juri Linkov  <juri@jurta.org>
632         * indent.el (indent-line-to): Use backward-to-indentation
633         instead of back-to-indentation.  (Bug#16461)
635 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
637         Revert some of the CANNOT_DUMP fix (Bug#16494).
638         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
639         but fixing this can wait until after the next release.
640         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
642 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
644         * eshell/esh-mode.el (eshell-password-prompt-regexp):
645         Use `password-word-equivalents'.
646         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
647         to t.  (Bug#5664, Bug#13124)
649 2014-01-19  Alan Mackenzie  <acm@muc.de>
651         Bind open-paren-in-column-0-is-defun-start to nil at some entry
652         points.
653         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
654         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
655         * progmodes/cc-mode.el (c-before-change, c-after-change)
656         (c-font-lock-fontify-region): Bind it here.
658 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
660         * term.el (term-window-width): Call window-text-width instead of
661         window-width (Bug#16470).
663 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
665         * simple.el (password-word-equivalents): Remove duplicates.
666         Sort, to make this easier next time.
667         Downcase.  Omit ": " after "jelszó".
669 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
671         * term/common-win.el (saved-region-selection): Defvar it.
672         (x-select-text): Set saved-region-selection (Bug#16382).
674 2014-01-18  Glenn Morris  <rgm@gnu.org>
676         * emacs-lisp/authors.el (authors-aliases)
677         (authors-renamed-files-alist): Add some entries.
679 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
681         * net/tramp.el (tramp-password-prompt-regexp):
682         Use `password-word-equivalents' if available.
683         (tramp-action-password, tramp-process-one-action)
684         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
686 2014-01-17  Chong Yidong  <cyd@gnu.org>
688         * simple.el (password-word-equivalents): New defcustom.
689         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
690         to 24.4.
691         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
692         to t.  (Bug#13124)
694 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
696         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
697         (ruby-align-to-stmt-keywords): Change the default value.
698         Use `ruby-alignable-keywords' to generate the possible customization
699         choices.
700         (ruby-smie-rules): Instead of using a hardcoded list of alignable
701         keywords, check against the value of `ruby-alignable-keywords'
702         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
704 2014-01-17  Glenn Morris  <rgm@gnu.org>
706         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
708         Make M-x authors return zero *Authors Errors* from current logs.
709         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
710         (authors-ignored-files): Add some entries, remove others.
711         (authors-ambiguous-files, authors-valid-file-names):
712         Add some entries.
713         (authors-renamed-files-alist): Add, remove, and adjust entries.
714         (authors-renamed-files-regexps): Add some entries.
715         Remove some very broad ones.  Make some entries `lax'.
716         (authors-lax-changelogs): New constant.
717         (authors-disambiguate-file-name): Treat top-level specially.
718         (authors-lax-changelog-p): New function.
719         (authors-canonical-file-name): Check file as written against
720         authors-valid-file-names.  Do not special-case etc/.
721         Handle `lax' logs and authors-renamed-files-regexps elements.
723 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
725         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
726         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
727         callers.
729 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
731         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
732         Assume we're already in the proper buffer.
733         Inspired by Anders Lindgren <andlind@gmail.com>.
734         (follow-post-command-hook): Call it from the right buffer.
735         (follow-comint-scroll-to-bottom): Adjust call.
736         (follow-all-followers): Use get-buffer-window-list.
738 2014-01-15  Daniel Colascione  <dancol@dancol.org>
740         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
741         `buffer-file-name' in interactive-form so that we don't leave
742         pathless file names in `file-name-history'.
744 2014-01-15  Juri Linkov  <juri@jurta.org>
746         * indent.el (indent-rigidly): Set deactivate-mark to nil
747         in transient indentation mode.  (Bug#16438)
749 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
751         * emacs-lisp/package.el (package-desc-keywords): New function
752         (Bug#16222).
753         (describe-package-1, package-all-keywords)
754         (package--has-keyword-p): Use it.
756 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
758         * simple.el (define-alternatives): When creating the
759         COMMAND-alternatives variable, assign COMMAND as its definition
760         name so that `describe-variable' can relocate it.
762 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
764         * font-lock.el (font-lock-keywords): Fix typo in docstring
765         (bug#16307).
767 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
769         * ispell.el (ispell-region): Reset `in-comment' for new line
770         instead of wrongly reset `add-coment' (bug#13577).
772 2014-01-14  Daiki Ueno  <ueno@gnu.org>
774         * epa-file.el (epa-file-write-region): Encode the region according
775         to `buffer-file-format'.  Problem reported at:
776         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
778 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
781         so it applies in the right buffer (bug#16410).
783 2014-01-13  Daniel Colascione  <dancol@dancol.org>
785         * textmodes/rst.el (rst-define-key): Provide deprecated
786         keybindings through named functions instead of anonymous ones so
787         that "??" doesn't appear in describe-mode output.
789 2014-01-13  Bastien Guerry  <bzg@gnu.org>
791         * simple.el (define-alternatives): Call the selected command
792         interactively.  When setting `COMMAND--implementation' for the
793         first time, tell the user how to chose another implementation.
794         Enhance the docstring.
796 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
798         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
799         (log-edit--match-first-line): New function.
800         (log-edit-font-lock-keywords): Use it.
801         (log-edit-mode): Make jit-lock-defer-multiline work.
803 2014-01-13  Bastien Guerry  <bzg@gnu.org>
805         * rect.el (rectangle-mark-mode): When the region is not active,
806         display a message saying that the mark as been set and that
807         rectangle mode is in use.
808         (rectangle--highlight-for-redisplay): Only put an overlay with a
809         visible vertical bar when (display-graphic-p) is non-nil.
810         This partially fixes Bug#16403.
812 2014-01-13  Juri Linkov  <juri@jurta.org>
814         * info.el (Info-find-file): Go to DIR before displaying the error
815         about a nonexistent file if no previous Info file is visited.
816         Use `user-error' instead of `error' for "Info file %s does not exist".
817         (Info-find-node-2): In case of a nonexistent node in unwind forms
818         go to the Top node if there is no previous node to revert to.
819         (Bug#16405)
821 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
823         fit-frame/window-to-buffer code fixes including one for Bug#14096.
824         * window.el (fit-frame-to-buffer): Fix doc-string.
825         Respect window-min-height/-width.  Fit pixelwise when
826         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
827         when avoiding that frame goes partially off-screen.
828         (fit-window-to-buffer): Respect window-min-height/-width
829         (Bug#14096).
831 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
833         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
834         after an empty line.
836 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
838         * net/shr.el (shr-render-region): Autoload.
840 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
842         * net/eww.el (eww-download-directory): Rename from
843         `eww-download-path' (Bug#16419).
845 2014-01-12  Leo Liu  <sdl.web@gmail.com>
847         * dired-x.el (dired-mode-map): Fix last change.
849         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
851 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
853         Spelling fixes.
854         * emacs-lisp/generic.el (generic--normalize-comments):
855         Rename from generic--normalise-comments.  All uses changed.
856         * play/bubbles.el (bubbles--neighborhood-score):
857         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
858         (bubbles--neighborhood-available)
859         (bubbles--update-neighborhood-score):
860         Rename from names with 'neighbourhood'.  All uses changed.
862 2014-01-12  Leo Liu  <sdl.web@gmail.com>
864         Re-implement the feature of showing eldoc info after editing.
865         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
866         (eldoc-edit-message-commands): New function.
867         (eldoc-print-after-edit): New variable.
868         (eldoc-pre-command-refresh-echo-area): Emit message only by
869         eldoc-message-commands.
870         (eldoc-mode): Restrict eldoc-message-commands to editing commands
871         if eldoc-print-after-edit is set.  (Bug#16346)
872         * simple.el (read--expression): Enable eldoc-mode.
873         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
875 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
876             Eric S. Raymond  <esr@thyrsus.com>
878         * version.el (emacs-repository-get-version): Enhance so the
879         function works correctly in either a Bazaar or Git repo.
881 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
883         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
884         Goes with removal of the joke manpages from /etc.
886 2014-01-10  K. Handa  <handa@gnu.org>
888         * mail/rmail.el (rmail-get-coding-system):
889         Check rmail-get-coding-function before "funcall"ing it.
891 2014-01-10  Glenn Morris  <rgm@gnu.org>
893         * emacs-lisp/authors.el (authors-fixed-entries):
894         Update for files that no longer exist.
896 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
898         * version.el (emacs-bzr-get-version): Restore compatibilty with
899         24.3 (Tested).
901 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
903         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
904         and Podfile.
906 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
908         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
910 2014-01-10  Chong Yidong  <cyd@gnu.org>
912         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
914 2014-01-10  Anders Lindgren  <andlind@gmail.com>
916         * follow.el (follow-cache-command-list): Include right-char and
917         left-char.
919 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
921         Spelling fixes.
922         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
923         * woman.el (woman-mark-horizontal-position):
924         Rename from woman-mark-horizonal-position.  Use changed.
926 2014-01-10  Glenn Morris  <rgm@gnu.org>
928         * info.el (info-initialize): If running uninstalled, ensure our
929         own info files are always found first, even if INFOPATH is set.
931         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
933 2014-01-09  David Engster  <deng@randomsample.de>
935         * emacs-lisp/eieio-custom.el:
936         * emacs-lisp/eieio-opt.el: Set generated autoload file to
937         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
938         * emacs-lisp/eieio.el: Regenerate autoloads.
940 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
942         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
943         following renames.  (Bug#8756)
945 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
947         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
948         (bug#16382).
949         (activate-mark): Add `no-tmm' argument.
950         (set-mark, push-mark-command): Use it instead of running
951         activate-mark-hook by hand.
953 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
955         In preparation for the move to git, sanitize out some
956         Bazaar-specific names.
958         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
960         * version.el (emacs-bzr-version): Name changed to
961         emacs-repository-version.  Obsolete-variable alias made.
962         * loadup.el: Follow through on this name change.
963         * mail/emacsbug.el (report-emacs-bug): Factor out any
964         assumption about the version control system in use.
966 2014-01-08  David Engster  <deng@randomsample.de>
968         * help-fns.el (help-fns-describe-function-functions):
969         New variable to call functions for augmenting help buffers.
970         (describe-function-1): Remove explicit calls to
971         `help-fns--compiler-macro', `help-fns--parent-mode' and
972         `help-fns--obsolete'.  Put them in above new variable instead, and
973         call them through `run-hook-with-args'.
974         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
975         `eieio-describe-class'.  Not meant for interactive use anymore,
976         but to augment existing help buffers.  Remove optional second
977         argument.  Create proper button for file location.
978         Rewrite function to use `insert' instead of `princ' and `prin1' where
979         possible.
980         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
981         (eieio-method-def, eieio-class-def): Move further up.
982         (describe-method, describe-generic, eieio-describe-method):
983         Remove aliases.
984         (eieio-help-constructor, eieio-help-generic): Rename from
985         `eieio-describe-constructor' and `eieio-describe-generic', resp.
986         Rewrite to use `insert' in the current buffer and use proper help
987         buttons.
988         (eieio-help-find-method-definition)
989         (eieio-help-find-class-definition): Also accept symbols as
990         arguments.
991         (eieio-help-mode-augmentation-maybee): Remove.
992         (eieio-describe-class-sb): Use `describe-function'.
993         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
994         Add `eieio-help-generic' and `eieio-help-constructor'.
996 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
998         Spelling fixes.
999         * language/china-util.el (hz-ascii-designation):
1000         Rename from hz-ascii-designnation.
1001         (hz-ascii-designation): Rename from hz-ascii-designnation.
1002         All uses changed.
1004 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1006         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1007         package-alist.
1009 2014-01-08  Bastien Guerry  <bzg@gnu.org>
1011         * emacs-lisp/package.el (package-delete):
1012         Correctly delete the package from package-alist.
1014 2014-01-08  Daiki Ueno  <ueno@gnu.org>
1016         * emacs-lisp/package.el (url-recreate-url): Declare.
1017         (url-http-target-url): Declare.
1018         (package-handle-response): Include requested URL in the error message.
1019         (package--check-signature): Don't re-signal errors from
1020         package--with-work-buffer.  Suggested by Stefan Monnier.
1022 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1024         * minibuffer.el (completion--try-word-completion): When both a
1025         hyphen and a space are possible candidates for the character
1026         following a word, display both candidates.  (Bug#15980)
1028 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
1030         * window.el (balance-windows-2): While rounding don't give a
1031         window more than the remainder.  Bug#16351, Bug#16383.
1033 2014-01-07  Glenn Morris  <rgm@gnu.org>
1035         * menu-bar.el (menu-bar-help-extra-packages): Remove.
1036         (menu-bar-help-menu): Use view-external-packages instead.
1038 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1040         * emacs-lisp/package.el (package-delete): Also delete the package
1041         name from `package-alist', not its description only.
1043 2014-01-07  Glenn Morris  <rgm@gnu.org>
1045         * help.el (view-external-packages):
1046         * menu-bar.el (menu-bar-help-extra-packages):
1047         Visit efaq.info rather than etc/MORE.STUFF.
1049 2014-01-07  Juri Linkov  <juri@jurta.org>
1051         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1052         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
1054         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1055         that shadows RET.  (Bug#16342)
1057 2014-01-07  Chong Yidong  <cyd@gnu.org>
1059         * isearch.el (isearch-yank-char, isearch-yank-word)
1060         (isearch-yank-line): Doc fix.
1062 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1064         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1065         * emacs-lisp/elint.el (elint-find-builtins):
1066         * emacs-lisp/eldoc.el (eldoc-symbol-function):
1067         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1068         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1069         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1070         * apropos.el (apropos-safe-documentation):
1071         * subr.el (symbol-file): Remove redundant fboundp.
1072         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1074 2014-01-06  Bastien Guerry  <bzg@gnu.org>
1076         * hl-line.el (global-hl-line-overlay): Make a local variable.
1077         (global-hl-line-overlays): New variable to store all overlays.
1078         (global-hl-line-mode): Don't delete overlays from the current
1079         buffer when `global-hl-line-sticky-flag' is non-nil.
1080         (global-hl-line-highlight): Add new overlays to
1081         `global-hl-line-overlays'.
1082         (global-hl-line-unhighlight-all): New function to delete all
1083         overlays when turning off `global-hl-line-mode'.
1084         This fixes Bug#16183.
1086 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1088         * subr.el (set-transient-map): Fix nested case and docstring.
1090 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
1092         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1093         `Texinfo' entry.
1095 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1097         Fix defun navigation in vc log view.
1099         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1100         like `beginning-of-defun'.
1101         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1102         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
1103         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1104         (log-view-extract-comment): Call `log-view-current-entry' directly
1105         instead of relying on broken `log-view-beginning-of-defun' behavior.
1107 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
1109         Spelling fixes.
1110         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1111         * emacs-lisp/debug.el (cancel-debug-on-entry):
1112         * epg.el (epg-error-to-string):
1113         * files.el (recover-file):
1114         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1115         * mail/emacsbug.el (report-emacs-bug-hook):
1116         * mail/sendmail.el (mail-recover):
1117         * ses.el (ses-yank-resize):
1118         * term/ns-win.el (ns-print-buffer):
1119         Spelling fixes in diagnostics, mostly for "canceled" with one L.
1120         * epg.el (epg-key-capability-alist): Rename from misspelled version.
1121         All uses changed.
1122         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1124 2014-01-06  Leo Liu  <sdl.web@gmail.com>
1126         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1127         to avoid shadowing global key.  (Bug#16354)
1129 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1131         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1132         rst-mode.
1134 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
1136         * window.el (balance-windows): Add mising t to fix Bug#16351.
1138 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1140         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1141         (bug#16285).
1142         (shr-insert): If we have a word that's longer than `shr-width',
1143         break after it anyway.  Otherwise we'll do no breaking once we get
1144         such a long word.
1146 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1148         * net/eww.el (eww): Support single/double quote for search.
1149         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1150         (eww-history-quit): Delete and use quit-window.
1151         (eww-history-kill): Delete, because it doesn't work well and
1152         not necessary.
1153         (eww-history-mode-map): Delete some keys and add easy-menu.
1155 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1157         Fix misspelling of 'chinese' in rx (Bug#16237).
1158         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1159         chinese-two-byte.
1161         Change subword regexps back to vars (Bug#16296).
1162         * progmodes/subword.el (subword-forward-regexp)
1163         (subword-backward-regexp): Change these back to variables.
1165 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1167         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1168         syntax-begin-function (bug#16247).
1170 2014-01-03  Chong Yidong  <cyd@gnu.org>
1172         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1173         (advice--docstring): Delete variable.
1174         (advice--make-1): Leave the docstring empty.
1175         (advice-add): Use function-documentation for advised docstring.
1177         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1178         Ignore function-documentation property when getting documentation.
1179         (ad-activate-advised-definition): Use function-documentation
1180         generate the docstring.
1181         (ad-make-advised-definition): Don't call
1182         ad-make-advised-definition-docstring.
1183         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1184         Delete functions.
1186         * progmodes/sql.el (sql-help): Use function-documentation instead
1187         of dynamic-docstring-function property.  No need to autoload now.
1188         (sql--help-docstring): New variable.
1189         (sql--make-help-docstring): Use it.
1191 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1193         * ielm.el (ielm-tab): Retarget.
1194         (ielm-map): Use ielm-tab for tab.
1195         (ielm-complete-filename): Use comint-filename-completion.
1196         (ielm-complete-symbol): Remove.
1197         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1198         remove ielm-tab from completion-at-point-functions (bug#16224).
1200         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1201         Beware signals raised by predicates (bug#16201).
1203 2014-01-02  Richard Stallman  <rms@gnu.org>
1205         * dired-aux.el (dired-do-print): Handle printer-name.
1207         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1208         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1209         (rmail-epa-decrypt): Turn off mime processing.
1211         * mail/rmail.el (rmail-make-in-reply-to-field):
1212         Add parens in message-id.
1214         * mail/rmail.el (rmail-get-coding-function): Variable.
1215         (rmail-get-coding-system): Use it.
1217 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
1219         * international/mule-conf.el: Unify the charset indian-is13194.
1220         (indian-is13194): Specify unify-map.
1222 2013-12-31  Leo Liu  <sdl.web@gmail.com>
1224         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
1226 2013-12-30  Daniel Colascione  <dancol@dancol.org>
1228         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1229         of printing a useless when we resume from sleep.
1231         * progmodes/sh-script.el
1232         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1233         in indentation code.  (Bug#16233)
1235 2013-12-28  João Távora  <joaotavora@gmail.com>
1237         * elec-pair.el (electric-pair-post-self-insert-function):
1238         Don't open extra newlines at beginning of buffer.  (Bug#16272)
1240 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
1242         * frame.el (window-system-for-display): Don't allow to create a
1243         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
1245 2013-12-28  Glenn Morris  <rgm@gnu.org>
1247         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1248         Update callers.
1250         * apropos.el (apropos-match-face):
1251         * calculator.el (calculator-displayer):
1252         * dabbrev.el (dabbrev-search-these-buffers-only):
1253         * face-remap.el (buffer-face-mode-face):
1254         * simple.el (yank-handled-properties):
1255         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1256         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1257         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1258         (hashcash-double-spend-database):
1259         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1260         (ruby-deep-indent-paren-style):
1261         * textmodes/flyspell.el (flyspell-auto-correct-binding):
1262         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1263         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1264         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1265         Specify custom types.
1267         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1268         * bookmark.el (bookmark-bmenu-use-header-line):
1269         * doc-view.el (doc-view-scale-internally):
1270         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1271         * register.el (register-preview-delay):
1272         * net/shr.el (shr-bullet):
1273         * progmodes/cfengine.el (cfengine-cf-promises)
1274         (cfengine-parameters-indent):
1275         * progmodes/octave.el (inferior-octave-error-regexp-alist):
1276         * textmodes/reftex-vars.el (reftex-label-regexps):
1277         * vc/log-edit.el (log-edit-setup-add-author): Add version.
1279         * net/tls.el (tls-certtool-program): Fix default value.
1281         * desktop.el (desktop-restore-in-current-display):
1282         * newcomment.el (comment-empty-lines):
1283         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1284         (idlwave-pad-keyword):
1285         * progmodes/tcl.el (tcl-tab-always-indent):
1286         * textmodes/reftex-vars.el (reftex-index-default-tag):
1287         * elec-pair.el (electric-pair-skip-whitespace):
1288         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1290         * emacs-lisp/authors.el (authors-ignored-files)
1291         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1293 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1295         * shell.el (shell-dynamic-complete-command): Doc fix.
1296         (shell--command-completion-data): Shell completion now matches
1297         executable filenames from the current buffer's directory, on
1298         systems in which this behavior is the default (windows-nt, ms-dos).
1300 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1302         * net/shr.el (shr-insert): Don't infloop if the width is zero.
1304 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1307         (bug#16251).
1309         * electric.el: Move all electric-pair-* to elec-pair.el.
1310         * elec-pair.el: New file, split from electric.el.
1312 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1314         * net/shr.el (shr-find-fill-point): Don't try to fill if the
1315         indentation level is larger than the width, because that will
1316         infloop.
1317         (shr-insert): Fill repeatedly long texts, so that Japanese is
1318         formatted correctly (bug#16263).
1319         (shr-find-fill-point): Off by one error in comparison with the
1320         indentation.
1322 2013-12-26  João Távora  <joaotavora@gmail.com>
1324         * electric.el (electric-pair-mode): More flexible engine for skip-
1325         and inhibit predicates, new options for pairing-related functionality.
1326         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1327         if that keeps or improves their balance in buffers.
1328         (electric-pair-delete-adjacent-pairs): Delete the pair when
1329         backspacing over adjacent matched delimiters.
1330         (electric-pair-open-extra-newline): Open extra newline when
1331         inserting newlines between adjacent matched delimiters.
1332         (electric--sort-post-self-insertion-hook):
1333         Sort post-self-insert-hook according to priority values when
1334         minor-modes are activated.
1335         * simple.el (newline-and-indent): Call newline with interactive
1336         set to t.
1337         (blink-paren-post-self-insert-function): Set priority to 100.
1338         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1339         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1340         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
1341         electric-pair-open-newline-between-pairs to nil.
1343 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1345         * progmodes/python.el: Use lexical-binding.
1346         (python-nav-beginning-of-defun): Stop searching ASAP.
1348 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
1350         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1351         Fix interactive spec.  Doc fix.  (Bug#15754)
1353 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1355         * emacs-lisp/byte-run.el (eval-when-compile):
1356         * progmodes/cc-defs.el (cc-eval-when-compile):
1357         Fix edebug spec (bug#16184).
1359 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1361         * net/shr.el (shr-visit-file): Remove debugging function.
1362         (shr-insert): Don't infloop if we can't find a good place to break
1363         the line (bug#16256).
1365 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1367         * progmodes/python.el:
1368         (python-nav--lisp-forward-sexp): New function.
1369         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
1370         python-nav-lisp-forward-sexp-safe.
1371         (python-nav--forward-sexp): New argument SAFE allows switching
1372         forward sexp movement behavior for parens.
1373         (python-nav-forward-sexp): Throw errors on unterminated parens
1374         (Bug#16191).
1375         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1376         (python-nav-backward-sexp-safe): New functions.
1377         (python-shell-buffer-substring):
1378         Use `python-nav-forward-sexp-safe'.
1380 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
1382         * net/shr.el (shr-find-fill-point): Don't break lines before a
1383         quotation mark.
1384         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1385         (shr-find-fill-point): Remove the special checks for the quotation
1386         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1388 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1390         * net/eww.el (eww-form-textarea): Use a different face for
1391         textareas than text input since they have different keymaps
1392         (bug#16142).
1394 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1396         * progmodes/python.el (python-nav-beginning-of-statement):
1397         Speed up (Bug#15295).
1399 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1401         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1402         the window configuration.
1404 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
1406         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1407         we run on MS-Windows or MS-DOS.
1409 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
1411         * window.el (balance-windows-area): Call window-size instead of
1412         window-height and window-width.  Bug#16241.
1414 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1416         * net/eww.el (eww-bookmark-quit): Remove.
1417         (eww-bookmark-browse): Restore the window configuration when you
1418         choose a bookmark (bug#16144).
1420 2013-12-24  Daniel Colascione  <dancol@dancol.org>
1422         * icomplete.el: Remove redundant :group arguments to `defcustom'
1423         throughout.
1424         (icomplete-show-matches-on-no-input): New customizable variable.
1425         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1426         we have something to show.
1427         (icomplete-exhibit): Compute completions even if we have no user input.
1429 2013-12-23  Daniel Colascione  <dancol@dancol.org>
1431         * icomplete.el: Move `provide' to end of file.
1433 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
1435         * net/gnutls.el (gnutls-verify-error): Add version tag.
1437 2013-12-23  Chong Yidong  <cyd@gnu.org>
1439         * subr.el (set-transient-map): Rename from
1440         set-temporary-overlay-map.  Doc fix.
1442         * face-remap.el (text-scale-adjust):
1443         * indent.el (indent-rigidly):
1444         * kmacro.el (kmacro-call-macro):
1445         * minibuffer.el (minibuffer-force-complete):
1446         * repeat.el (repeat):
1447         * simple.el (universal-argument--mode):
1448         * calendar/todo-mode.el (todo-insert-item--next-param):
1449         * progmodes/f90.el (f90-abbrev-start): Callers changed.
1451         * indent.el (indent-rigidly): Use substitute-command-keys.
1453 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1455         * net/eww.el (eww-tag-select): Add text-property to jump to next
1456         select field.
1457         (eww): Add non-supported ftp error.
1459 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1461         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1462         comments.  Handle electric indent after typing `?' and `!'.
1464 2013-12-22  Chong Yidong  <cyd@gnu.org>
1466         * faces.el (face-spec-recalc): If the theme specs are not
1467         applicable to a frame, fall back on the defface spec.
1468         This prevents themes from obliterating faces on low-color terminals.
1470 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1472         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1473         after `{'.  We need it after block openers, and it doesn't seem
1474         to hurt after hash openers.
1476 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1478         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1479         extracted from `ruby-smie-rules'.
1480         (ruby--electric-indent-chars): New variable.
1481         (ruby--electric-indent-p): New function.
1482         (ruby-mode): Use `electric-indent-functions' instead of
1483         `electric-indent-chars'.
1485 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
1487         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1488         docstring.
1489         (ruby-smie-rules): Indent plus one level after `=>'.
1491 2013-12-21  Richard Stallman  <rms@gnu.org>
1493         * simple.el (newline): Doc fix.
1495 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1497         * net/eww.el (eww-list-histories, eww-list-histories)
1498         (eww-history-browse, eww-history-quit, eww-history-kill)
1499         (eww-history-mode-map, eww-history-mode): New command and
1500         functions to list browser histories.
1501         (eww-form-text): Support text form with disabled
1502         and readonly attributes.
1503         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1505 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1507         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1508         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1509         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1510         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1511         Use `user-error'.
1512         (eww-bookmark-mode-map): Add menu.
1513         (eww-render, eww-mode): Use `setq-local'.
1514         (eww-tool-bar-map): New variable.
1515         (eww-mode): Set `tool-bar-map'.
1516         (eww-view-source): Check for `html-mode' with `fboundp'.
1518 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1520         * net/shr.el (shr--extract-best-source): Don't bug out on audio
1521         elements with text inside.  Also remove debugging.
1523 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
1525         * cus-start.el (all): Add ns-use-srgb-colorspace.
1527 2013-12-21  Chong Yidong  <cyd@gnu.org>
1529         * custom.el (custom-theme-recalc-face): Do nothing if the face is
1530         undefined.  Thus, theme settings for undefined faces do not take
1531         effect until the faces are defined with defface, the same as with
1532         theme variables.
1534         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1535         (face-spec-reset-face): Don't assign extra properties in temacs.
1536         (face-spec-recalc): Apply X resources too.
1538 2013-12-21  Chong Yidong  <cyd@gnu.org>
1540         * faces.el (face-spec-set):
1541         * cus-face.el (custom-theme-set-faces, custom-set-faces):
1542         * custom.el (defface): Doc fixes (Bug#16203).
1544         * indent.el (indent-rigidly-map): Add docstring, and move commands
1545         into named functions.
1546         (indent-rigidly-left, indent-rigidly-right)
1547         (indent-rigidly-left-to-tab-stop)
1548         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
1549         indentation direction based on bidi direction, and accumulate
1550         sequential commands in a single undo boundary.
1551         (indent-rigidly--pop-undo): New utility function.
1553 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
1555         * faces.el (read-face-name): Require crm.el when using crm-separator.
1557 2013-12-20  Daniel Colascione  <dancol@dancol.org>
1559         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1560         so that we don't reflow comments into the shebang line.
1562 2013-12-20  Juri Linkov  <juri@jurta.org>
1564         * saveplace.el (save-place-to-alist): Add `dired-filename' as
1565         a position when `dired-directory' is non-nil.  Check integer
1566         positions with `integerp'.
1567         (toggle-save-place, save-places-to-alist): Add check for
1568         `dired-directory'.
1569         (save-place-find-file-hook): Check integer positions with
1570         `integerp'.
1571         (save-place-dired-hook): Use `dired-goto-file' when
1572         `dired-filename' is found in the assoc list.  Check integer
1573         positions with `integerp'.
1574         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1576         * dired.el (dired-initial-position-hook): Rename back from
1577         `dired-initial-point-hook'.
1578         (dired-initial-position): Rename `dired-initial-point-hook' to
1579         `dired-initial-position-hook'.
1580         (dired-file-name-at-point): Doc fix.  (Bug#15329)
1582 2013-12-20  Juri Linkov  <juri@jurta.org>
1584         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1585         (read-regexp-suggestions): New function.
1586         (read-regexp): Use `read-regexp-defaults-function' to get default values.
1587         Use `read-regexp-suggestions'.  Add non-empty default to history
1588         for empty input.
1589         (occur-read-regexp-defaults-function): Remove function.
1590         (occur-read-primary-args): Use `regexp-history-last' instead of
1591         `occur-read-regexp-defaults-function'.
1593         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1594         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1595         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1596         `hi-lock-read-regexp-defaults-function'.  Doc fix.
1597         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1598         with `find-tag-default-as-symbol-regexp'.  Doc fix.
1599         (hi-lock-read-regexp-defaults): Remove function.
1600         (hi-lock-regexp-okay): Add check for null.
1602         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1603         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
1605         * subr.el (find-tag-default-as-symbol-regexp): New function.
1606         (find-tag-default-as-regexp): Move symbol regexp formatting to
1607         `find-tag-default-as-symbol-regexp'.
1609 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
1611         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1612         (Bug#14179)
1614 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1616         * calendar/todo-mode.el: New implementation of item insertion
1617         commands and key bindings.
1618         (todo-key-prompt): New face.
1619         (todo-insert-item): New command.
1620         (todo-insert-item--parameters): New defconst, replacing defvar
1621         todo-insertion-commands-args-genlist.
1622         (todo-insert-item--param-key-alist): New defconst, replacing
1623         defvar todo-insertion-commands-arg-key-list.
1624         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1625         (todo-insert-item--argsleft, todo-insert-item--apply-args)
1626         (todo-insert-item--next-param): New functions.
1627         (todo-insert-item--args, todo-insert-item--argleft)
1628         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1629         New variables.
1630         (todo-key-bindings-t): Change binding of "i" from
1631         todo-insertion-map to todo-insert-item.
1632         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1633         (todo-insertion-command-name, todo-insertion-commands-names)
1634         (todo-define-insertion-command, todo-insertion-commands)
1635         (todo-insertion-key-bindings, todo-insertion-map): Remove.
1637 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1639         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1640         (todo-toggle-item-highlighting): Use eval-and-compile instead of
1641         eval-when-compile.
1642         (todo-move-category): Allow choosing a non-existing todo file to
1643         move the category to, and create that file.
1644         (todo-default-priority): New user option.
1645         (todo-set-item-priority): Use it.
1646         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1647         (desktop-restore-file-buffer): Declare.
1648         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1649         (todo-modes-set-2): Locally set desktop-save-buffer to
1650         todo-desktop-save-buffer.
1651         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1652         (auto-mode-alist): Add autoload cookie.
1654 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
1656         * emacs-lisp/subr-x.el: Renamed from helpers.el.
1657         helpers.el was a poor choice of name.
1658         (string-remove-prefix): New function.
1659         (string-remove-suffix): New function.
1661 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
1663         Fix assignment for new window total sizes.
1664         * window.el (window--pixel-to-size): Remove function.
1665         (window--pixel-to-total-1, window--pixel-to-total):
1666         Fix calculation of new total sizes.
1668 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
1670         * comint.el (comint-output-filter): Fix rear-nonsticky property
1671         placement (Bug#16010).
1673 2013-12-20  Chong Yidong  <cyd@gnu.org>
1675         * faces.el (read-color): Minor fix for completion function.
1677 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
1679         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1680         New option.  (Bug#16182)
1681         (ruby-smie--indent-to-stmt-p): Use it.
1682         (ruby-smie-rules): Revert the logic in the handling of `when'.
1683         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1684         (ruby-deep-arglist, ruby-deep-indent-paren)
1685         (ruby-deep-indent-paren-style): Update docstrings to note that the
1686         vars don't have any effect with SMIE.
1688 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
1690         * calc/calc.el (calc-enter, calc-pop): Use the variable
1691         `calc-context-sensitive-enter'.
1693 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1695         * net/shr.el (shr-insert): Protect against infloops in degenerate
1696         tables.
1698 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1700         * progmodes/octave.el (octave): Add link to manual and octave
1701         homepage.
1702         (octave-mode-menu): Link to octave-mode manual.
1704 2013-12-20  Leo Liu  <sdl.web@gmail.com>
1706         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1707         insertion using skeleton-end-newline.  (Bug#16138)
1709 2013-12-20  Juri Linkov  <juri@jurta.org>
1711         * replace.el (occur-engine): Use `add-face-text-property'
1712         to add the face property to matches and titles.  (Bug#14645)
1714         * hi-lock.el (hi-green): Use lighter color "light green" closer to
1715         the palette of other hi-lock colors.
1716         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1718 2013-12-19  Juri Linkov  <juri@jurta.org>
1720         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1721         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
1722         (minibuffer-history-symbol): Move variable declaration closer to
1723         its usage.
1725         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1726         (Bug#14785)
1728 2013-12-19  Juri Linkov  <juri@jurta.org>
1730         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1731         New function.
1732         (log-edit-hook): Add it to :options.  (Bug#16170)
1734 2013-12-19  Juri Linkov  <juri@jurta.org>
1736         * simple.el (eval-expression-print-format): Don't check for
1737         command names and the last command.  Always display additional
1738         formats of the integer result in the echo area, and insert them
1739         to the current buffer only with a zero prefix arg.
1740         Display character when char-displayable-p is non-nil.
1741         (eval-expression): With a zero prefix arg, set `print-length' and
1742         `print-level' to nil, and insert the integer values from
1743         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
1745         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1746         `eval-last-sexp-arg-internal'.  Doc fix.
1747         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1748         `eval-last-sexp-print-value'.  Doc fix.
1749         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1750         Set `print-length' and `print-level' to nil when arg is zero.
1751         (eval-last-sexp): Doc fix.
1752         (eval-defun-2): Print the integer values from
1753         `eval-expression-print-format' at the end.
1755         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1756         values from `eval-expression-print-format' at the end.
1758         * ielm.el (ielm-eval-input): Print the integer
1759         values from `eval-expression-print-format' at the end.
1761 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
1763         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1764         2013-12-11T19:01:44Z!tzz@lifelogs.com.
1766 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
1769         (hl-line-highlight, global-hl-line-highlight): Use it.
1770         (hl-line-overlay): Use defvar-local.
1772 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
1774         * term/ns-win.el: Require dnd.
1775         (global-map): Remove drag items.
1776         (ns-insert-text, ns-set-foreground-at-mouse)
1777         (ns-set-background-at-mouse):
1778         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1779         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1780         New functions.
1782 2013-12-19  Glenn Morris  <rgm@gnu.org>
1784         * emacs-lisp/ert.el (ert-select-tests):
1785         Fix string/symbol mixup.  (Bug#16121)
1787 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1789         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1790         keywords to their parent.
1792 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1794         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1795         first arg to be a string (fixed dead code), or an operator symbol.
1796         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1797         operator symbols.
1798         (ruby-smie-rules): Remove parent token check in the `.' clause, it
1799         did nothing.  Don't respond to `(:after ".")', it will be called
1800         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
1801         change anything.  Only return indentation for binary operators
1802         when they are hanging.  De-dent opening paren when its parent is
1803         `.', otherwise it looks bad when the dot is not at bol or eol
1804         (bug#16182).
1806 2013-12-19  Juri Linkov  <juri@jurta.org>
1808         * replace.el (query-replace-read-args): Split a non-negative arg
1809         and a negative arg into separate elements.
1810         (query-replace, query-replace-regexp, replace-string)
1811         (replace-regexp): Add arg `backward'.  Doc fix.
1812         (replace-match-maybe-edit): When new arg `backward' is non-nil,
1813         move point to the beginning of the match.
1814         (replace-search, replace-highlight): Use new arg `backward'
1815         to set the value of `isearch-forward'.
1816         (perform-replace): Add arg `backward' and use it to perform
1817         replacement backward.  (Bug#14979)
1819         * isearch.el (isearch-query-replace): Use a negative prefix arg
1820         to call `perform-replace' with a non-nil arg `backward'.
1822 2013-12-18  Juri Linkov  <juri@jurta.org>
1824         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1825         to the default list.  Move `log-edit-show-files' to the end.
1826         Add more available functions to options.
1827         (log-edit): Move default specific settings to
1828         `log-edit-insert-message-template'.  Don't move point.
1829         (log-edit-insert-message-template): New function.
1830         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1831         (Bug#16170)
1833 2013-12-18  Juri Linkov  <juri@jurta.org>
1835         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1836         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
1838 2013-12-18  Leo Liu  <sdl.web@gmail.com>
1840         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1841         (Bug#16186)
1843 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
1845         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1846         formats for displaying file sizes when the -s switch is given.
1847         Instead, compute a separate format for displaying the size in
1848         blocks, which is displayed in addition to the "regular" size.
1849         When -h is given in addition to -s, produce size in blocks in
1850         human-readable form as well.  (Bug#16179)
1852 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
1854         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1855         Reference tables with ~\ref{...} instead of only \ref{...}.
1857 2013-12-18  Chong Yidong  <cyd@gnu.org>
1859         * cus-edit.el (custom-magic-alist): Fix "themed" description
1860         (Bug#14348).
1862         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1863         is non-nil, do not create a new entry in the symbol's theme-value
1864         or theme-face property; update theme-settings only (Bug#14664).
1865         (custom-available-themes): Doc fix.
1867         * cus-theme.el (custom-new-theme-mode-map): Add bindings
1868         (Bug#15674).
1870         * replace.el (occur-engine): Avoid infloop (Bug#7593).
1872 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1874         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1875         (Bug#13914).
1877 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1879         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1881 2013-12-18  Glenn Morris  <rgm@gnu.org>
1883         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1884         * cus-start.el (load-prefer-newer): New option.
1886 2013-12-18  Le Wang  <l26wang@gmail.com>
1888         * comint.el (comint-previous-matching-input-from-input):
1889         Retain point (Bug#13404).
1891 2013-12-18  Chong Yidong  <cyd@gnu.org>
1893         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1895 2013-12-18  Glenn Morris  <rgm@gnu.org>
1897         * mail/emacsbug.el (report-emacs-bug):
1898         Only mention enable-multibyte-characters if non-standard.
1900 2013-12-17  Juri Linkov  <juri@jurta.org>
1902         * arc-mode.el (archive-extract-by-file): Check if directory exists
1903         before deletion to not show irrelevant errors if it doesn't exist.
1905 2013-12-17  Juri Linkov  <juri@jurta.org>
1907         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1908         (Bug#14751)
1910         * net/eww.el (browse-web): Add alias to `eww'.
1911         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1912         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1914         * net/browse-url.el (browse-url-browser-function): Move `eww'
1915         closer to similar functions.
1917         * startup.el (fancy-startup-screen, fancy-about-screen):
1918         Set browse-url-browser-function to eww-browse-url locally.
1919         (Bug#14751)
1921 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1923         * window.el (window--pixel-to-total): Remove unused `mini' var.
1924         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1925         (split-window): Remove unused `new' var.
1926         (window--display-buffer): Remove unused `frame' and `delta' vars.
1927         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1928         and display-width'.
1930 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1932         * dired.el (dired-mark-pop-up):
1933         * register.el (register-preview): Don't bind
1934         split-height-threshold here since it's now done in
1935         display-buffer-below-selected.
1937 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1939         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1940         xterm-rgb-convert-to-16bit.
1941         (rxvt-register-default-colors): Standardize with
1942         xterm-register-default-colors (Bug#14078).
1944 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1946         * simple.el (kill-region): Pass mark first, then point, so that
1947         kill-append works right (Bug#12819).
1948         (copy-region-as-kill, kill-ring-save): Likewise.
1950 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1952         * net/rcirc.el (rcirc-add-face):
1953         * eshell/em-prompt.el (eshell-emit-prompt):
1954         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1955         (Bug#16167)
1957 2013-12-17  Chong Yidong  <cyd@gnu.org>
1959         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1960         Suggested by Xue Fuqiao.
1962 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1964         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1966 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1968         * net/shr.el (shr-insert-document): Remove unused var
1969         `shr-preliminary-table-render'.
1970         (shr-rescale-image): Remove unused arg `force'.
1971         (shr-put-image): Update calls accordingly.
1972         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1974 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1976         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1977         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1978         :close-all, to see which indentation method to use (Bug#16116).
1979         (smie-rules-function): Document the method :close-all.
1981 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1983         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1985         * net/eww.el (eww-display-html): If we can't find the anchor we're
1986         looking for, then go to point-min.
1988 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1990         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1991         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1992         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1993         Expand dir too, in case it's relative.
1995 2013-12-16  Juri Linkov  <juri@jurta.org>
1997         * desktop.el (desktop-auto-save-timeout): Change default to
1998         `auto-save-timeout'.  Doc fix.
1999         (desktop-save): Skip the timestamp in desktop-saved-frameset
2000         when checking for auto-save changes.
2001         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2002         `desktop-auto-save' is called repeatedly by the idle timer.
2003         (desktop-auto-save-set-timer): Replace `run-with-timer' with
2004         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
2005         (Bug#15331)
2007 2013-12-16  Juri Linkov  <juri@jurta.org>
2009         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2010         (Bug#16035)
2011         (isearch-pre-command-hook): Check `this-command' for symbolp.
2013 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2015         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2017 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
2019         * progmodes/cfengine.el (cfengine3--current-word): Remove.
2020         (cfengine3--current-function): Bring in the current-function
2021         functionality from `cfengine3--current-word'.
2022         (cfengine3-completion-function): Bring in the
2023         bounds-of-current-word functionality from
2024         `cfengine3--current-word'.
2026 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
2028         * window.el (display-buffer-below-selected):
2029         Bind split-height-threshold to 0 as suggested by Juri Linkov.
2031 2013-12-16  Leo Liu  <sdl.web@gmail.com>
2033         * progmodes/compile.el (compile-goto-error): Do not push-mark.
2034         Remove NOMSG arg and all uses changed.
2036 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2038         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2039         (cua--deactivate-rectangle): Don't deactivate the mark.
2040         (cua-set-rectangle-mark): Don't set mark-active since
2041         cua--activate-rectangle already does it for us.
2042         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2043         non-rectangular region.
2045         * emulation/cua-base.el (cua-repeat-replace-region):
2046         Use with-current-buffer.
2048         * net/gnutls.el: Use cl-lib.
2049         (gnutls-negotiate): `mapcan' -> cl-mapcan.
2051 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2053         * emacs-lisp/package.el (package-built-in-p): Support both
2054         built-in and the package.el converted package descriptions.
2055         (package-show-package-list): Allow keywords.
2056         (package-keyword-button-action): Use it instead of
2057         `finder-list-matches'.
2058         (package-menu-filter-interactive): Interactive filtering (by
2059         keyword) function.
2060         (package-menu--generate): Support keywords and change keymappings
2061         and headers when they are given.
2062         (package--has-keyword-p): Helper function.
2063         (package-menu--refresh): Use it.
2064         (package--mapc): Helper function.
2065         (package-all-keywords): Use it.
2066         (package-menu-mode-map): Set up menu items and keybindings to
2067         provide a filtering UI.
2069 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2071         * net/gnutls.el (gnutls-verify-error): New defcustom to control
2072         the behavior when a certificate fails validation.  Defaults to
2073         old behavior: never abort, just warn.
2074         (gnutls-negotiate): Use it.
2076 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
2078         * window.el (display-buffer-below-selected): Never split window
2079         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
2081 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2083         * emacs-lisp/package.el (package--prepare-dependencies): New function.
2084         (package-buffer-info): Use it (bug#15108).
2086 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2088         * icomplete.el (icomplete-completions): Make sure the prefix is already
2089         displayed elsewhere before hiding it (bug#16219).
2091 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2093         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2094         open-paren tokens when preceded by a open-paren, too.
2095         (ruby-smie-rules): Handle virtual indentation after open-paren
2096         tokens specially.  If there is code between it and eol, return the
2097         column where is starts (Bug#16118).
2099 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2101         * progmodes/cfengine.el: Fix `add-hook' doc.
2102         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2103         (cfengine3--current-word): Fix parameters.
2104         (cfengine3-make-syntax-cache): Simplify further.
2105         (cfengine3-completion-function, cfengine3--current-function):
2106         Use `assq' for symbols.
2107         (cfengine3--current-function): Fix `cfengine3--current-word' call.
2109 2013-12-13  Glenn Morris  <rgm@gnu.org>
2111         * loadup.el (load-path): Warn if site-load or site-init changes it.
2112         No more need to reset it when bootstrapping.
2114 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2116         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2117         locations for cf-promises.
2118         (cfengine-mode-syntax-functions-regex): New caching variable.
2119         (cfengine3-fallback-syntax): Fallback syntax for cases where
2120         cf-promises doesn't run.
2121         (cfengine3--current-word): Reimplement using
2122         `cfengine-mode-syntax-functions-regex'.
2123         (cfengine3-completion-function, cfengine3--current-function):
2124         Use `cfengine3-make-syntax-cache' directly.
2125         (cfengine3-clear-syntax-cache): New function.
2126         (cfengine3-make-syntax-cache): Simplify and create
2127         `cfengine-mode-syntax-functions-regex' on demand.
2128         (cfengine3-format-function-docstring): Don't call
2129         `cfengine3-make-syntax-cache' explicitly.
2131 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
2133         Fix windmove-find-other-window broken after pixelwise resizing
2134         (Bug#16017).
2135         * windmove.el (windmove-other-window-loc): Revert change from
2136         2013-12-04.
2137         (windmove-find-other-window): Call window-in-direction.
2138         * window.el (window-in-direction): New arguments SIGN, WRAP and
2139         MINI to emulate original windmove-find-other-window behavior.
2141 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
2143         * simple.el (blink-matching--overlay): New variable.
2144         (blink-matching-open): Instead of moving point, highlight the
2145         matching paren with an overlay
2146         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2148         * faces.el (paren-showing-faces, show-paren-match)
2149         (show-paren-mismatch): Move from paren.el.
2151 2013-12-13  Leo Liu  <sdl.web@gmail.com>
2153         * indent.el (indent-region): Disable progress reporter in
2154         minibuffer.  (Bug#16108)
2156         * bindings.el (visual-order-cursor-movement): Fix version.
2158 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2160         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2161         Also match after beginning of line.
2162         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2163         files.  Thanks to Russell Sim.  (Bug#15378)
2165 2013-12-13  Juri Linkov  <juri@jurta.org>
2167         * simple.el <Keypad support>: Remove key bindings duplicated
2168         with bindings.el.  (Bug#14397)
2170 2013-12-13  Juri Linkov  <juri@jurta.org>
2172         * comint.el (comint-mode-map): Replace `delete-char' with
2173         `delete-forward-char'.  (Bug#16109)
2175 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2177         * progmodes/python.el (python-indent-calculate-indentation):
2178         Fix de-denters cornercase.  (Bug#15731)
2180 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2183         (advice--make): Pay attention to `depth'.
2184         (advice--make-1): Don't autoload commands eagerly.
2185         * emacs-lisp/elp.el (elp-instrument-function):
2186         * emacs-lisp/trace.el (trace-function-internal):
2187         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2189         * iswitchb.el (iswitchb-mode): Don't belittle ido.
2191 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
2193         * term/w32-win.el (w32-handle-dropped-file):
2194         * startup.el (normal-top-level):
2195         * net/browse-url.el (browse-url-file-url):
2196         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2197         decode file names using 'utf-8' rather than
2198         file-name-coding-system.
2200 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2202         * progmodes/python.el (python-indent-context)
2203         (python-indent-calculate-indentation): Fix auto-identation
2204         behavior for comment blocks.  (Bug#15916)
2206 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2208         * progmodes/python.el (python-indent-calculate-indentation):
2209         When determining indentation, don't treat "return", "pass", etc., as
2210         operators when they are just string constituents.  (Bug#15812)
2212 2013-12-12  Juri Linkov  <juri@jurta.org>
2214         * uniquify.el (uniquify-buffer-name-style): Change default to
2215         `post-forward-angle-brackets'.
2217         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2218         `uniquify'.  Change default to `post-forward-angle-brackets'.
2220 2013-12-11  Glenn Morris  <rgm@gnu.org>
2222         * emacs-lisp/package.el (finder-list-matches):
2223         Autoload rather than falsely declaring.
2225 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
2227         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2228         (eww-mode-map): Use them.
2230 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
2232         * window.el (display-buffer-in-side-window): Fix doc-string
2233         (Bug#16115).
2235 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
2237         * vc/vc-git.el: Silence byte-compiler warnings.
2238         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2239         (log-edit-set-header): Declare.
2241 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
2243         * Makefile.in (custom-deps, finder-data): Run output file names
2244         through unmsys--file-name.  (Bug#16099)
2246 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2248         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2249         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2251         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2252         instead of deleting the selection "by hand" (bug#16098).
2253         Rely on insert-for-yank to yank rectangles.
2254         (cua-highlight-region-shift-only): Mark obsolete.
2255         (cua-mode): Don't enable/disable transient-mark-mode,
2256         shift-select-mode (cua-mode works both with and without them), and
2257         pc-selection-mode (obsolete).
2258         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2259         (cua--deactivate-rectangle): Deactivate it.
2261         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2262         (delete-selection-helper): Make sure yank starts at the top of the
2263         deleted region.
2264         (minibuffer-keyboard-quit): Use region-active-p.
2266         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2268         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2269         to `delete' (bug#16109).
2271 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2273         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2274         info manual and show keybindings and set `:group' keyword.
2276 2013-12-11  Juri Linkov  <juri@jurta.org>
2278         * delsel.el (delete-active-region): Let-bind `this-command'
2279         to prevent `kill-region' from changing its original value.
2280         (delete-selection-helper): Handle `overwrite-mode' for the type
2281         `kill' exactly the same way as for the type `t'.
2282         (insert-char, quoted-insert, reindent-then-newline-and-indent):
2283         Support more commands.  (Bug#13312)
2285 2013-12-11  Juri Linkov  <juri@jurta.org>
2287         * bindings.el: Map kp keys to non-kp keys systematically
2288         with basic modifiers control, meta and shift.  (Bug#14397)
2290 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2292         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2293         "Close browser" menu items.  Fix wrong function of "List
2294         bookmarks".
2296 2013-12-11  Juri Linkov  <juri@jurta.org>
2298         * misearch.el (multi-isearch-buffers): Set the value of
2299         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2300         arg of isearch-forward to t.
2301         (multi-isearch-buffers-regexp): Set the value of
2302         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2303         arg of isearch-forward-regexp to t.
2304         (multi-isearch-files): Set the value of
2305         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2306         arg of isearch-forward to t.
2307         (multi-isearch-files-regexp): Set the value of
2308         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
2309         arg of isearch-forward-regexp to t.  (Bug#16035)
2311         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2312         arg of isearch-forward to t.
2313         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2314         arg of isearch-forward-regexp to t.
2315         (dired-isearch-filter-filenames): Remove unnecessary check for
2316         `dired-isearch-filenames'.
2318         * comint.el (comint-history-isearch-backward):
2319         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2320         (comint-history-isearch-backward-regexp):
2321         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2323 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
2325         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2326         unmsys--file-name.  (Bug#16099)
2328 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
2330         * emacs-lisp/package.el (package-keyword-button-action):
2331         Remove finder.el require dependency.
2333 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
2335         * emacs-lisp/package.el: Require finder.el.
2336         (describe-package-1): Add keyword buttons.
2337         (package-make-button): New convenience function.
2338         (package-keyword-button-action): Keyword button action using
2339         `finder-list-matches'.
2341 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
2343         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2344         last commit.
2346 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
2348         * autorevert.el (auto-revert-notify-add-watch): Do not handle
2349         symlinked files.
2351 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2353         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2354         after the end of a percent literal.
2356 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2358         * progmodes/ruby-mode.el (ruby-forward-string): Document.
2359         Handle caret-delimited strings (Bug#16079).
2361 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
2363         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2364         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2365         `ruby-parse-partial' (Bug#16078).
2367 2013-12-09  Leo Liu  <sdl.web@gmail.com>
2369         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
2371 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
2373         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2374         (js-switch-indent-offset): New option.
2375         (js--proper-indentation): Use it.  And handle the case when
2376         "default" is actually a key in an object literal.
2377         (js--same-line): New function.
2378         (js--multi-line-declaration-indentation): Use it.
2379         (js--indent-in-array-comp, js--array-comp-indentation):
2380         New functions.
2381         (js--proper-indentation): Use them, to handle array comprehension
2382         continuations.
2384 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2386         * progmodes/flymake.el (flymake-highlight-line): Re-write.
2387         (flymake-make-overlay): Remove arg MOUSE-FACE.
2388         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2390 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2392         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2393         New function.
2394         (redisplay-highlight-region-function): Use it.
2396         * emulation/cua-base.el (cua--explicit-region-start)
2397         (cua--last-region-shifted): Remove.
2398         (cua--deactivate): Use deactivate-mark.
2399         (cua--pre-command-handler-1): Don't handle shift-selection.
2400         (cua--post-command-handler-1): Don't change transient-mark-mode.
2401         (cua--select-keymaps): Use region-active-p rather than
2402         cua--explicit-region-start or cua--last-region-shifted.
2403         (cua-mode): Enable shift-select-mode.
2405 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2407         * progmodes/flymake.el (flymake-popup-current-error-menu):
2408         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
2409         (flymake-posn-at-point-as-event, flymake-popup-menu)
2410         (flymake-make-emacs-menu): Remove.  (Bug#16077)
2412 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2414         * rect.el (rectangle-mark-mode): Activate mark even if
2415         transient-mark-mode is off (bug#16066).
2416         (rectangle--highlight-for-redisplay): Fix boundary condition when point
2417         is > mark and at bolp.
2419         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2420         (region-extract-function): Use it.
2421         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2422         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2423         Delete functions.
2424         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2425         kill-ring-save, kill-region, delete-char, delete-forward-char.
2426         Ignore self-insert-iso.
2428         * emulation/cua-gmrk.el (cua--init-global-mark):
2429         Ignore `self-insert-iso'.
2431         * emulation/cua-base.el (cua--prefix-copy-handler)
2432         (cua--prefix-cut-handler): Rely on region-extract-function rather than
2433         checking cua--rectangle.
2434         (cua-delete-region): Use region-extract-function.
2435         (cua-replace-region): Delete function.
2436         (cua-copy-region, cua-cut-region): Obey region-extract-function.
2437         (cua--pre-command-handler-1): Don't do the delete-selection thing.
2438         (cua--self-insert-char-p): Ignore `self-insert-iso'.
2439         (cua--init-keymaps): Don't remap delete-selection commands.
2440         (cua-mode): Use delete-selection-mode instead of rolling our own
2441         (bug#16085).
2443         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2444         Obey region-extract-function.
2446         Make registers and delete-selection-mode work on rectangles.
2447         * register.el (describe-register-1): Don't modify the register's value.
2448         (copy-to-register): Obey region-extract-function.
2449         * delsel.el (delete-active-region): Obey region-extract-function.
2451 2013-12-08  Leo Liu  <sdl.web@gmail.com>
2453         * progmodes/flymake.el (flymake, flymake-error-bitmap)
2454         (flymake-warning-bitmap, flymake-fringe-indicator-position)
2455         (flymake-compilation-prevents-syntax-check)
2456         (flymake-start-syntax-check-on-newline)
2457         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2458         (flymake-start-syntax-check-on-find-file, flymake-log-level)
2459         (flymake-xml-program, flymake-master-file-dirs)
2460         (flymake-master-file-count-limit)
2461         (flymake-allowed-file-name-masks): Relocate.
2462         (flymake-makehash, flymake-float-time)
2463         (flymake-replace-regexp-in-string, flymake-split-string)
2464         (flymake-get-temp-dir): Remove.
2465         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2466         (flymake-current-row, flymake-selected-frame)
2467         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2468         related functions.  (Bug#16077)
2470 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
2472         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2474 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
2476         * help-fns.el (describe-function-1): Use new advice-* functions
2477         rather than old ad-* functions.  Fix function type description and
2478         source links for advised functions and subrs.
2480 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2482         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2484 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
2486         * progmodes/compile.el (compilation-start):
2487         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2489         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2490         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
2492 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2494         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2495         Touch up the last change.
2497 2013-12-06  Leo Liu  <sdl.web@gmail.com>
2499         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2500         (inferior-octave-startup): Always use "octave> " for prompt.
2501         (octave-goto-function-definition)
2502         (octave-sync-function-file-names)
2503         (octave-find-definition-default-filename): Remove redundant backquotes.
2505 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2507         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2508         syntax for `?'.
2509         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2510         where appropriate already.
2511         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2512         end of method names (Bug#15874).
2514 2013-12-06  Juri Linkov  <juri@jurta.org>
2516         * isearch.el (isearch--saved-overriding-local-map):
2517         New internal variable.
2518         (isearch-mode): Set it to the initial value of
2519         `overriding-terminal-local-map'.
2520         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2521         with `isearch--saved-overriding-local-map'.  (Bug#16035)
2523 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
2525         * progmodes/octave.el (inferior-octave-completion-table):
2526         Turn back into function, use `completion-table-with-cache'
2527         (Bug#11906).  Update all references.
2529         * minibuffer.el (completion-table-with-cache): New function.
2531 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2533         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2535 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
2537         * net/eww.el (eww-current-source): New variable to store page
2538         source.
2539         (eww-display-html, eww-mode, eww-save-history)
2540         (eww-restore-history): Use it.
2541         (eww-view-source): New command to view page source.
2542         Opportunistically uses `html-mode' to highlight the buffer.
2543         (eww-mode-map): Install it.
2545 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
2547         * net/dbus.el (dbus-unregister-service)
2548         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2549         Fix docstring.
2550         (dbus-unregister-service): Skip :serial entries in
2551         `dbus-registered-objects-table'.
2552         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2554 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
2556         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2557         around keywords with extra `split-string' argument.
2559 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
2561         * windmove.el (windmove-other-window-loc): Handle navigation
2562         between windows (excluding the minibuffer window - Bug#16017).
2564 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
2566         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2567         in D-Bus type syntax.
2568         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2569         preserve unibyte strings.  (Bug#16048)
2571 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2573         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2574         Call force-mode-line-update is the proper buffer (bug#16042).
2576 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
2578         * vc/log-edit.el (log-edit-add-new-comment): Rename to
2579         `log-edit-remember-comment', make argument optional.  Adjust all
2580         callers.
2581         (log-edit-mode): Add `log-edit-remember-comment' to
2582         `kill-buffer-hook' locally.
2583         (log-edit-kill-buffer): Don't remember comment explicitly since
2584         the buffer is killed anyway.
2586 2013-12-04  Juri Linkov  <juri@jurta.org>
2588         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2589         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
2591 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
2593         * notifications.el (notifications-close-notification): Call the
2594         D-Bus method with ID being a `:uint32'.  (Bug#16030)
2596 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2598         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2600 2013-12-03  Juri Linkov  <juri@jurta.org>
2602         * progmodes/compile.el (compilation-start): Rename window alist
2603         entry `no-display-ok' to `allow-no-window'.
2605         * simple.el (shell-command): Add window alist entry
2606         `allow-no-window' to `display-buffer'.
2607         (async-shell-command): Doc fix.
2609         * window.el (display-buffer-no-window): New action function.
2610         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
2612 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2614         * vc/log-edit.el (log-edit-set-header): Extract from
2615         `log-edit-toggle-header'.
2616         (log-edit-extract-headers): Separate the summary, when extracted
2617         from header, from the rest of the message with an empty line.
2619         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2620         line, if present, to the Summary header.
2622 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2624         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2625         in current-buffer (bug#16029).
2627 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
2629         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2630         (debugger-mode-map): Bind it.
2631         (debugger--backtrace-base): New function.
2632         (debugger-eval-expression): Use it.
2633         (debugger-frame-number): Skip local vars when present.
2634         (debugger--locals-visible-p, debugger--insert-locals)
2635         (debugger--show-locals, debugger--hide-locals): New functions.
2637 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
2639         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2640         "LC_ALL".
2641         (tramp-get-remote-locale): New defun.
2642         (tramp-open-connection-setup-interactive-shell): Use it.
2644 2013-12-02  Leo Liu  <sdl.web@gmail.com>
2646         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
2648         * progmodes/sh-script.el (sh-shell-process):
2649         * progmodes/octave.el (inferior-octave-process-live-p):
2650         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2651         (gdb-inferior-io-sentinel):
2652         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2654 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2656         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2657         `save-selected-window' to `log-edit-hide-buf'.  This makes
2658         `log-edit-show-files' idempotent.
2659         (log-edit-show-files): Mark the new window as dedicated.
2661 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2663         * vc/log-edit.el (log-edit-mode-map): Add binding for
2664         `log-edit-kill-biffer'.
2665         (log-edit-hide-buf): Add a FIXME comment.
2666         (log-edit-add-new-comment): New function, extracted from
2667         `log-edit-done'.
2668         (log-edit-done, log-edit-add-to-changelog): Use it.
2669         (log-edit-kill-buffer): New command.
2671 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2673         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2674         instead of killing the buffer.
2676 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2678         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2680 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2682         * net/eww.el (eww-form-checkbox-selected-symbol)
2683         (eww-form-checkbox-symbol): New customizable variable.
2684         (eww-form-checkbox, eww-toggle-checkbox):
2685         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2687         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2688         (shr--get-media-pref, shr--extract-best-source): New function.
2689         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2690         no :src tag was specified.
2692         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2693         (eww-render): Handle `eww-use-external-browser-for-content-type'.
2694         Use \\` to match beginning of string instead of ^.
2695         (eww-browse-with-external-browser): Provide optional URL parameter.
2696         (eww-render): Set `eww-current-title' back to "".
2698         * net/shr.el (shr-tag-video): Display content for video if no
2699         poster is available.
2700         (shr-tag-audio): Add support for <audio> tag.
2702         * net/eww.el (eww-text-input-types): New const.
2703         (eww-process-text-input): Treat input types in
2704         `eww-text-input-types' as text.
2706         * net/shr.el (shr-tag-table): Fix comment typo.
2708 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2710         * net/eww.el (eww-follow-link): New command to avoid reloading
2711         pages when we follow #target links (bug#15243).
2712         (eww-quit): Special mode buffers shouldn't query before exiting.
2714 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2716         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2717         forms.
2719 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2721         * net/eww.el (eww-restore-history): Update the window title after
2722         moving in the history.
2723         (eww-current-dom): New variable used to save the current DOM.
2725 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
2727         * vc/log-edit.el (log-edit-mode-map): Add binding for
2728         `log-edit-beginning-of-line'.
2729         (log-edit-setup-add-author): New user option.
2730         (log-edit-beginning-of-line): New command.
2731         (log-edit): Move major mode call above the contents setup so that
2732         the local variable values are already applied.
2733         (log-edit): Only insert "Author: " when
2734         `log-edit-setup-add-author' is non-nil.
2735         (log-edit): When SETUP is non-nil, position point after ": "
2736         instead of point-min.
2738 2013-12-01  Glenn Morris  <rgm@gnu.org>
2740         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2742 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
2744         * startup.el (fancy-splash-frame): On MS-Windows, trigger
2745         redisplay to make sure the initial frame gets a chance to become
2746         visible.  (Bug#16014)
2748 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
2750         Support resizing frames and windows pixelwise.
2751         * cus-start.el (frame-resize-pixelwise)
2752         (window-resize-pixelwise): New entries.
2753         * emacs-lisp/debug.el (debug): Use window-total-height instead
2754         of window-total-size.
2755         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2756         * help.el (describe-bindings-internal): Call help-buffer
2757         (temp-buffer-max-width): New option.
2758         (resize-temp-buffer-window, help-window-setup)
2759         (with-help-window): Rewrite.
2760         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
2761         dragging dividers.
2762         * window.el (frame-char-size, window-min-pixel-height)
2763         (window-safe-min-pixel-height, window-safe-min-pixel-width)
2764         (window-min-pixel-width, window-safe-min-pixel-size)
2765         (window-combination-p, window-safe-min-size)
2766         (window-resizable-p, window--size-to-pixel)
2767         (window--pixel-to-size, window--resize-apply-p): New functions.
2768         (window-safe-min-height): Fix doc-string.
2769         (window-size, window-min-size, window--min-size-1)
2770         (window-sizable, window-sizable-p, window--min-delta-1)
2771         (window-min-delta, window--max-delta-1, window-max-delta)
2772         (window--resizable, window--resizable-p, window-resizable)
2773         (window-full-height-p, window-full-width-p, window-at-side-p)
2774         (window--in-direction-2, window-in-direction)
2775         (window--resize-reset-1, window--resize-mini-window)
2776         (window-resize, window-resize-no-error)
2777         (window--resize-child-windows-normal)
2778         (window--resize-child-windows, window--resize-siblings)
2779         (window--resize-this-window, window--resize-root-window)
2780         (window--resize-root-window-vertically)
2781         (adjust-window-trailing-edge, enlarge-window, shrink-window)
2782         (maximize-window, minimize-window, delete-window)
2783         (quit-restore-window, window-split-min-size, split-window)
2784         (balance-windows-2, balance-windows)
2785         (balance-windows-area-adjust, balance-windows-area)
2786         (window--state-get-1, window-state-get, window--state-put-1)
2787         (window--state-put-2, window-state-put)
2788         (display-buffer-record-window, window--display-buffer):
2789         Make functions handle pixelwise sizing of windows.
2790         (display-buffer--action-function-custom-type)
2791         (display-buffer-fallback-action):
2792         Add display-buffer-in-previous-window.
2793         (display-buffer-use-some-window): Resize window to height it had
2794         before.
2795         (fit-window-to-buffer-horizontally): New option.
2796         (fit-frame-to-buffer): Describe new values.
2797         (fit-frame-to-buffer-bottom-margin): Replace with
2798         fit-frame-to-buffer-margins.
2799         (window--sanitize-margin): New function.
2800         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2801         using window-text-pixel-size.
2803 2013-11-30  Glenn Morris  <rgm@gnu.org>
2805         * emacs-lisp/bytecomp.el (byte-compile-form):
2806         Make the `interactive-only' warning like the `obsolete' one.
2807         * comint.el (comint-run):
2808         * files.el (insert-file-literally, insert-file):
2809         * replace.el (replace-string, replace-regexp):
2810         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2811         (goto-line, insert-buffer, next-line, previous-line):
2812         Tweak `interactive-only' spec.
2814         Stop keeping (most) generated cedet grammar files in the repository.
2815         * Makefile.in (semantic): New.
2816         (compile-main): Depend on semantic.
2818 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2821         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2823         * uniquify.el (uniquify-buffer-name-style): Change default.
2825         * loadup.el: Preload "uniquify".
2827         * time.el (display-time-update): Update all mode lines (bug#15999).
2829         * electric.el (electric-indent-mode): Enable by default.
2830         * loadup.el: Preload "electric".
2832 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
2834         * emacs-lisp/helpers.el (string-empty-p): New function.
2835         (string-blank-p): New function.
2837 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
2839         * imenu.el (imenu--index-alist): Add missing dot to the docstring
2840         (Bug#14029).
2842 2013-11-29  Andreas Politz  <politza@fh-trier.de>
2843         * imenu.el (imenu--subalist-p): Don't error on non-conses and
2844         allow non-lambda lists as functions.
2845         (imenu--in-alist): Don't recurse into non-subalists.
2846         (imenu): Don't pass function itself as an argument (Bug#14029).
2848 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         * progmodes/python.el (python-mode-map): Remove binding for ":".
2851         (python-indent-electric-colon): Remove command.
2852         (python-indent-post-self-insert-function): Integrate the previous code
2853         of python-indent-electric-colon.  Make it conditional on
2854         electric-indent-mode.
2855         (python-mode): Add ?: to electric-indent-chars.
2856         Move python-indent-post-self-insert-function to the end of
2857         post-self-insert-hook.
2859 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2861         * doc-view.el (doc-view-goto-page): Update mode-line.
2863         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2865 2013-11-27  Glenn Morris  <rgm@gnu.org>
2867         * international/charprop.el, international/uni-bidi.el:
2868         * international/uni-category.el, international/uni-combining.el:
2869         * international/uni-comment.el, international/uni-decimal.el:
2870         * international/uni-decomposition.el, international/uni-digit.el:
2871         * international/uni-lowercase.el, international/uni-mirrored.el:
2872         * international/uni-name.el, international/uni-numeric.el:
2873         * international/uni-old-name.el, international/uni-titlecase.el:
2874         * international/uni-uppercase.el:
2875         Remove generated files from VCS repository.
2877 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
2879         * filenotify.el (file-notify-add-watch): Don't special-case
2880         w32notify when computing the directory to watch.
2882 2013-11-27  Glenn Morris  <rgm@gnu.org>
2884         Make bootstrap without generated uni-*.el files possible again.
2885         * loadup.el: Update command-line-args checking for unidata-gen.
2886         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2887         * composite.el, international/characters.el:
2888         Handle unicode tables being undefined.
2890         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2891         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2892         (compile-main): Depend on leim rule.
2893         (leim): New rule.
2894         * loadup.el: Move leim-list.el to leim/ subdirectory.
2895         * startup.el (normal-top-level): No more leim directory.
2896         * international/ja-dic-cnv.el (skkdic-convert):
2897         Disable version-control and autoloads in output files.
2898         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2899         Disable version-control and autoloads in output files.
2900         * leim/quail: Move here from ../leim.
2901         * leim/quail/hangul.el (hangul-input-method-activate):
2902         Add autoload cookie.
2903         (generated-autoload-load-name): Set file-local value.
2904         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2905         (generated-autoload-load-name): Set file-local value.
2907 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2909         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2910         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2911         (eww-quit): Ask confirmation before quitting eww.
2913 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2915         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2916         reading output from Diff on MS-Windows and MS-DOS.
2918 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2920         * emacs-lisp/helpers.el (string-reverse): New function.
2922 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2924         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2925         names on MS Windows, like "/[::1]:".
2927         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2928         SWITCHES.
2930 2013-11-26  Glenn Morris  <rgm@gnu.org>
2932         * progmodes/python.el (python-indent-guess-indent-offset):
2933         Avoid corner-case error.  (Bug#15975)
2935         Preload leim-list.el.  (Bug#4789)
2936         * loadup.el: Load leim-list.el when found.
2937         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2939 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2941         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2943         * emacs-lisp/helpers.el (string-join): New function.
2945 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2947         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2948         Mark as obsolete and replace it with a symbol property.
2949         (byte-compile-form): Use new 'interactive-only property.
2950         * comint.el, files.el, replace.el, simple.el:
2951         Apply new 'interactive-only properly.
2953 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2955         * window.el (display-buffer-at-bottom): Make sure that
2956         split-window-sensibly creates the new window on bottom
2957         (Bug#15961).
2959 2013-11-23  David Kastrup  <dak@gnu.org>
2961         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2962         on the conflict markers when available.
2963         (smerge--get-marker): New function.
2964         (smerge-end-re, smerge-base-re): Add subgroup.
2966 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2968         * frame.el (handle-focus-in, handle-focus-out): Add missing
2969         interactive spec.
2971 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2973         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2974         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2976 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2978         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2979         (gomoku--last-pos): New var.
2980         (gomoku--intangible-chars): New const.
2981         (gomoku--intangible): New function.
2982         (gomoku-mode): Use it.  Derive from special-mode.
2983         (gomoku-move-up): Adjust line count.
2984         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2985         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2986         Simplify accordingly.
2988         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2989         Remove blink-cursor code.
2990         (blink-cursor-timer-function, blink-cursor-suspend):
2991         Don't special-case GUIs.
2992         (blink-cursor-mode): Use focus-in/out-hook.
2994 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2996         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2997         work when annotation is invisible (Bug#13886).
2999 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
3001         * json.el (json-alist-p): Only return non-nil if the alist has
3002         simple keys (Bug#13518).
3004 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
3006         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3007         when control-statement is the first statement in a buffer (Bug#15956).
3009 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
3011         * imenu.el (imenu-generic-skip-comments-and-strings):
3012         New option (Bug#15560).
3013         (imenu--generic-function): Use it.
3015 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
3017         * minibuffer.el (completion--in-region-1): Scroll the correct window.
3018         (Bug#13898)
3020 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
3022         * emacs-lisp/helpers.el: Add some string helpers.
3023         (string-trim-left): Removes leading whitespace.
3024         (string-trim-right): Removes trailing whitespace.
3025         (string-trim): Removes leading and trailing whitespace.
3027         * subr.el (string-suffix-p): New function.
3029 2013-11-23  Glenn Morris  <rgm@gnu.org>
3031         * progmodes/python.el (python-shell-send-file):
3032         Add option to delete file when done.  (Bug#15647)
3033         (python-shell-send-string, python-shell-send-region): Use it.
3035 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
3037         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3038         to set buffer-read-only to t, never to nil.  (Bug#15938)
3040         * textmodes/tex-mode.el (latex-noindent-environments):
3041         Add safe-local-variable property.  (Bug#15936)
3043 2013-11-23  Glenn Morris  <rgm@gnu.org>
3045         * textmodes/enriched.el (enriched-mode): Doc fix.
3046         * emacs-lisp/authors.el (authors-renamed-files-alist):
3047         Add enriched.doc -> enriched.txt.
3049         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3051 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3053         * progmodes/octave.el (inferior-octave-startup): Spit out error
3054         message.
3056 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
3058         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3059         Improve docstring.
3060         Add :version.
3061         (ruby-encoding-magic-comment-style): Add :version.
3063 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3065         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3066         (Bug#15076)
3067         (octave-help-mode): Adapt to change to help-mode-finish to use
3068         derived-mode-p on 2013-09-17.
3069         (inferior-octave-prompt): Also match octave-gui.
3070         (octave-kill-process): Don't ask twice.  (Bug#10564)
3072 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3074         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3075         (inferior-octave-startup, inferior-octave-check-process)
3076         (inferior-octave-track-window-width-change)
3077         (octave-completion-at-point, octave-eldoc-function): Use it.
3078         (octave-kill-process): Provide confirmation.  (Bug#10564)
3080 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3082         * progmodes/octave.el (octave-mode, inferior-octave-mode):
3083         Fix obsolete variable comment-use-global-state.
3085 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3087         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3088         Add `octave-source-file'.
3089         (octave-source-file): New function.  (Bug#15935)
3091 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
3093         * net/eww.el (eww-local-regex): New variable.
3094         (eww): Use it to detect localhost and similar.
3096 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3098         Add completion for command `ag'.
3099         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3100         (pcomplete/ag): New function.
3101         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
3103 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3106         (bug#14646).
3107         (make-obsolete): Remove interactive spec.
3109 2013-11-21  Glenn Morris  <rgm@gnu.org>
3111         * startup.el (command-line-1): Use path-separator with -L.
3113 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
3115         * emacs-lisp/package.el (describe-package-1): Add package archive
3116         to shown fields.
3118 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
3120         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3121         Change default to "# encoding: %s" to differentiate it from the
3122         default Ruby encoding comment template.
3124 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
3126         * ses.el (ses-mode): Doc fix.  (Bug#14748)
3128 2013-11-20  Leo Liu  <sdl.web@gmail.com>
3130         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
3132 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
3134         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3135         when rebase or bisect are in progress.
3137 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
3139         * filenotify.el (file-notify-add-watch): Doc fix.
3141 2013-11-19  Leo Liu  <sdl.web@gmail.com>
3143         * obsolete/rcompile.el: Mark obsolete.
3145         * progmodes/compile.el (compilation-start)
3146         (compilation-goto-locus, compilation-find-file):
3147         Pass no-display-ok and handle nil value from display-buffer.
3148         (Bug#13594)
3150         * window.el (display-buffer-alist, display-buffer): Document the
3151         new parameter no-display-ok.  Return either a window or nil
3152         but never a non-window value.
3154 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3156         * electric.el (electric-indent-mode-map): Remove.
3157         (electric-indent-mode): Change the global-map instead (bug#15915).
3159         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3160         Use add-function.
3162 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3164         * emacs-lisp/nadvice.el (remove-function): Align with
3165         add-function's behavior.
3167         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3168         (gdb--string-regexp): New constant.
3169         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3170         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3171         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3172         submatch 1.
3173         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3174         Adjust use accordingly.
3175         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3177 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
3179         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3180         interpolation curlies (Bug#15914).
3182 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3184         * calc/calc.el (calc-context-sensitive-enter): New variable.
3185         (calc-enter): Use `calc-context-sensitive-enter'.
3187 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
3189         * progmodes/cfengine.el: Version bump.
3190         (cfengine-cf-promises): New defcustom to locate cf-promises.
3191         (cfengine3-vartypes): Add new "data" type.
3192         (cfengine3--current-word): New function to get current name-like
3193         word or its bounds.
3194         (cfengine3--current-function): New function to look up a CFEngine
3195         function's definition.
3196         (cfengine3-format-function-docstring): New function.
3197         (cfengine3-make-syntax-cache): New function.
3198         (cfengine3-documentation-function): New function: ElDoc glue.
3199         (cfengine3-completion-function): New function: completion glue.
3200         (cfengine3-mode): Set `compile-command',
3201         `eldoc-documentation-function', and add to
3202         `completion-at-point-functions'.
3204 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
3206         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3207         `tramp-current-connection'.
3209 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
3211         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3212         nil/self/true/false with "end of symbol".
3214 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
3216         * subr.el (version-regexp-alist): Fix a typo.
3218 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
3220         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3221         "en_US.utf8" and "LC_CTYPE" to "".
3222         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3223         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3225 2013-11-15  Leo Liu  <sdl.web@gmail.com>
3227         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
3229 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3231         * progmodes/gud.el (ctl-x-map):
3232         Remove C-x SPC binding.  (Bug#12342)
3233         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3235 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
3237         * subr.el (version-regexp-alist):
3238         Recognize hg, svn and darcs versions as snapshot versions.
3240         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3241         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3242         (ruby--encoding-comment-required-p): Extract from
3243         `ruby-mode-set-encoding'.
3244         (ruby-mode-set-encoding): Add the ability to always insert an
3245         utf-8 encoding comment.  Fix and simplify coding comment update
3246         logic.
3248 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
3250         * net/tramp-gvfs.el (top): Run init code only when
3251         `tramp-gvfs-enabled' is not nil.
3252         (tramp-gvfs-enabled): Check also :system bus.
3254 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3256         Sync with upstream verilog-mode revision 78e66ba.
3257         * progmodes/verilog-mode.el (verilog-end-of-defun)
3258         (verilog-type-completion, verilog-get-list): Remove unused funcs.
3259         (verilog-get-end-of-defun): Remove unused argument.
3260         (verilog-comment-depth): Remove unused local `e'.
3261         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3262         Don't pass arg to verilog-get-end-of-defun.
3264 2013-11-14  Glenn Morris  <rgm@gnu.org>
3266         * obsolete/assoc.el (aget): Prefix dynamic variable.
3268         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3270 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * widget.el, hfy-cmap.el: Remove bogus package version number.
3274 2013-11-13  Glenn Morris  <rgm@gnu.org>
3276         * replace.el (replace-eval-replacement):
3277         Try to give more helpful error message.  (Bug#15836)
3279         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3280         (archive-7z-update): Avoid custom type mismatches.
3282         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3284 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
3286         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3287         address can be empty.
3289         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3290         Accept nil SWITCHES.
3291         (tramp-gvfs-handle-write-region): Implement APPEND.
3293 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
3295         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3296         binary "|" operator and closing block args delimiter.
3297         Remove FIXME comment referring to Ruby 1.8-only syntax.
3298         (ruby-smie--implicit-semi-p): Not after "|" operator.
3299         (ruby-smie--closing-pipe-p): New function.
3300         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3301         (ruby-smie-rules): Indent after "|".
3303 2013-11-12  Glenn Morris  <rgm@gnu.org>
3305         * ps-print.el (ps-face-attribute-list):
3306         Handle anonymous faces.  (Bug#15827)
3308 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
3310         * window.el (display-buffer-other-frame): Fix doc-string.
3311         (Bug#15868)
3313 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3315         * subr.el (force-mode-line-update): Delete, move to buffer.c.
3317 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
3319         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3320         (tramp-sh-handle-file-local-copy): Don't write a message when
3321         saving temporary files.
3323         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3324         both directories are remote.
3325         (tramp-smb-handle-directory-files): Do not return double entries.
3326         Do not expand full file names.
3327         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3328         (tramp-smb-handle-write-region): Implement APPEND.
3329         (tramp-smb-get-stat-capability): Fix a stupid bug.
3331 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3333         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3335 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3337         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3338         throwing error over malformed let/let* (bug#15814).
3340 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3342         * iswitchb.el (iswitchb-mode): Mark obsolete.
3344 2013-11-11  Glenn Morris  <rgm@gnu.org>
3346         * international/uni-bidi.el, international/uni-category.el:
3347         * international/uni-name.el, international/uni-numeric.el:
3348         Regenerate for Unicode 6.3.0.
3350 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
3352         * net/tramp.el (tramp-methods):
3353         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3354         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3356 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
3358         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3359         Force highlighting text after Summary keyword in doc face for rpm.
3361 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
3363         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3364         available and the word has no wildcards, append one to the grep pattern.
3365         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3366         (ispell-complete-word): Call `ispell-lookup-words' with the value
3367         independent of `ispell-look-p'.
3369 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3371         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3372         Not after "||".
3373         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3374         their parent.
3376 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3378         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
3379         (ruby-font-lock-keywords): Use backquote.
3381 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3383         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3384         (ruby-smie--backward-token): Only consider full-string matches.
3386 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
3388         * faces.el (describe-face): Add distant-foreground.
3390 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
3392         * progmodes/ruby-mode.el: Improve encoding comment handling.
3393         (ruby-encoding-magic-comment-style): New option.
3394         (ruby-custom-encoding-magic-comment-template): New option.
3395         (ruby--insert-coding-comment, ruby--detect-encoding):
3396         New functions extracted from `ruby-mode-set-encoding'.
3397         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3398         to control the style of the auto-inserted encoding comment.
3400 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3402         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3403         Use `smie-backward-sexp' with token argument.
3405 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
3407         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3408         Remove instrumentation code.
3410 2013-11-08  Glenn Morris  <rgm@gnu.org>
3412         * progmodes/autoconf.el (autoconf-mode):
3413         Tweak comment-start-skip.  (Bug#15822)
3415 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3417         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3418         at bobp (bug#15826).
3419         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3421 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
3423         * man.el (Man-start-calling): New macro, extracted from
3424         Man-getpage-in-background.
3425         (Man-getpage-in-background): Use it.
3426         (Man-update-manpage): New command.
3427         (Man-mode-map): Bind it.
3429 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
3431         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3432         of "and", "or", "&&" and "||".
3433         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3434         argument.  Prohibit opening curly brace because it could only be a
3435         block opener in that position.
3436         (ruby-smie--forward-token, ruby-smie--backward-token):
3437         Separate "|" from "&" or "*" going after it.  That can happen in block
3438         arguments.
3439         (ruby-smie--indent-to-stmt): New function, seeks the end of
3440         previous statement or beginning of buffer.
3441         (ruby-smie-rules): Use it.
3442         (ruby-smie-rules): Check if there's a ":" before a curly block
3443         opener candidate; if there is, it's a hash.
3445 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3447         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3448         (cl--block-wrapper): Fix last accidental change.
3450 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
3452         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3453         Instrument, in order to hunt failure on hydra.
3455 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3457         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3458         malformed bindings form (bug#15814).
3460 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
3462         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3463         "." compared to " @ ".  This incidentally fixes some indentation
3464         examples with "do".
3465         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3466         (ruby-smie-grammar): New tokens: "and" and "or".
3467         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3468         Exclude "and" and "or".  Remove "do" in order to work around token
3469         priorities.
3470         (ruby-smie-rules): Add all infix tokens.  Handle the case of
3471         beginning-of-buffer.
3473 2013-11-06  Glenn Morris  <rgm@gnu.org>
3475         * Makefile.in (setwins_almost, setwins_for_subdirs):
3476         Avoid accidental matches.
3478 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3480         * menu-bar.el (popup-menu): Use key-binding.
3482 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
3484         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3485         menus, support also the menus produced by minor modes.
3486         (Bug#15817)
3488 2013-11-06  Leo Liu  <sdl.web@gmail.com>
3490         * thingatpt.el (thing-at-point-looking-at): Add optional arg
3491         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
3493 2013-11-06  Glenn Morris  <rgm@gnu.org>
3495         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3496         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3497         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3499 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         * electric.el (electric-indent-just-newline): New command.
3502         (electric-indent-mode-map): New keymap.
3503         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3504         Re-add :group which weren't redundant.
3506         * electric.el (electric-indent-local-mode): New minor mode.
3507         (electric-indent-functions-without-reindent): New var.
3508         (electric-indent-post-self-insert-function): Use it.
3509         * emacs-lisp/gv.el (buffer-local-value): Add setter.
3511 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
3513         * international/quail.el (quail-help): Be more explicit about the
3514         meaning of the labels shown on the keys.  (Bug#15800)
3516         * startup.el (normal-top-level): Load the subdirs.el files before
3517         setting the locale environment.  (Bug#15805)
3519 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3522         via arguments so as to get the right ones (bug#15418).
3524         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3526 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
3528         Fix problems found while writing a test suite.
3530         * net/tramp-compat.el (tramp-compat-load): New defun.
3531         * net/tramp.el (tramp-handle-load): Use it.
3533         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3534         "(numberp ok-if-already-exists)" correctly.
3536 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
3538         * international/characters.el (glyphless-char-display-control):
3539         Add usage note.
3541 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
3543         * progmodes/python.el (python-mode):
3544         * progmodes/scheme.el (scheme-mode):
3545         * progmodes/prolog.el (prolog-mode):
3546         * progmodes/ruby-mode.el (ruby-mode):
3547         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3548         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3550 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3552         * rect.el (rectangle--highlight-for-redisplay):
3553         * emacs-lisp/smie.el (smie--next-indent-change):
3554         Use buffer-chars-modified-tick.
3556         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3558         * electric.el (electric-indent-post-self-insert-function):
3559         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3561 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
3563         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3565 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3567         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3568         (bug#15786).
3570 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3572         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
3574         * progmodes/python.el: Fix up last change.
3575         (python-shell--save-temp-file): New function.
3576         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
3577         `string' comes from the current buffer.
3578         (python-shell-send-string-no-output): Remove `msg' arg.
3579         (python--use-fake-loc): New var.
3580         (python-shell-buffer-substring): Obey it.  Try to compensate for the
3581         extra coding line added by python-shell--save-temp-file.
3582         (python-shell-send-region): Use python-shell--save-temp-file and
3583         python-shell-send-file directly.  Add `nomain' argument.
3584         (python-shell-send-buffer): Use python-shell-send-region.
3585         (python-electric-pair-string-delimiter): New function.
3586         (python-mode): Use it.
3588 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
3590         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3591         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3592         environment and decoding all of the default-directory's to here
3593         from command-line.
3594         (command-line): Decode also argv[0].
3596         * loadup.el: Error out if default-directory is a multibyte string
3597         when we are dumping.
3599         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
3601 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
3603         * emacs-lisp/package.el (package-menu-mode)
3604         (package-menu--print-info, package-menu--archive-predicate):
3605         Add Archive column to package list.
3607 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
3609         Fix problems found while writing a test suite.
3611         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3612         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3613         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3614         to nil when running original file name handler.  Otherwise,
3615         there are problems with constructs like "$$FOO".
3617         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3618         for `localname'.
3620 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
3622         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3624         * subr.el (version<, version<=, version=):
3625         Update docstrings with information for snapshot versions.
3627         * helpers.el: New library for misc helper functions.
3628         (hash-table-keys): New function returning a list of hash keys.
3629         (hash-table-values): New function returning a list of hash values.
3631 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
3633         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3634         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3636 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
3638         * textmodes/fill.el (fill-single-char-nobreak-p): New function
3639         checking whether point is after a 1-letter word.
3641 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3643         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3644         Don't infloop when expanding region over `multiline' syntax-type that
3645         begins a line (bug#15778).
3647 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3649         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3650         Make it into a proper minor mode.
3651         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3652         (rectangle-mark-mode-map): New keymap.
3653         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3655 2013-11-04  Glenn Morris  <rgm@gnu.org>
3657         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3659 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3661         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3662         (ruby-smie-rules): Use smie-rule-parent instead.
3664         * emacs-lisp/smie.el (smie-rule-parent): Always call
3665         smie-indent-virtual rather than only for hanging tokens.
3666         (smie--next-indent-change): New helper command.
3668 2013-11-03  Glenn Morris  <rgm@gnu.org>
3670         * Makefile.in (abs_srcdir): Remove.
3671         (emacs): Unset EMACSLOADPATH.
3673 2013-11-02  Glenn Morris  <rgm@gnu.org>
3675         * Makefile.in (EMACS): Use a relative filename.
3676         (abs_top_builddir): Remove.
3677         (custom-deps, finder-data, autoloads): Use --chdir.
3679         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3681         Use relative filenames in TAGS files.
3682         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3683         (lisptagsfiles4, TAGS): Use relative file names.
3684         (TAGS-LISP): Remove.
3685         (maintainer-clean): No more TAGS-LISP file.
3687         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3688         (lisptagsfiles4): Use absolute filenames again.
3689         (TAGS, TAGS-LISP): Not everything needs to run in one line.
3690         Remove all *loaddefs files, not just the first.  Remove esh-groups.
3691         (maintainer-clean): Delete TAGS, TAGS-LISP.
3693 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3695         * emacs-lisp/package.el (package-version-join):
3696         Recognize snapshot versions.
3698 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3700         * subr.el (version-regexp-alist): Add support for snapshot versions.
3702 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3704         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3705         New function, replacement for `smie-rule-parent' for when we want to
3706         skip over our direct parent if it's an assignment token..
3707         (ruby-smie-rules): Use it.
3709 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3711         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3712         unconditionally.  Remove now unnecessary forward declarations.
3713         Remove XEmacs-specific setup.
3714         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3715         (ruby-font-lock-syntactic-keywords)
3716         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3717         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3718         (ruby-here-doc-end-syntax): Remove.
3719         (ruby-mode): Don't check whether `syntax-propertize-rules' is
3720         defined as function.
3722 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3724         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3726 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3728         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3729         table and abbrev table, `define-derived-mode' does that for us
3730         anyway.
3732 2013-11-01  Glenn Morris  <rgm@gnu.org>
3734         * Makefile.in: Remove manual mh-e dependencies (writing .elc
3735         files is atomic for some time, so no parallel compilation issues).
3737 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3739         * faces.el (face-x-resources): Add :distant-foreground.
3740         (region): Use :distant-foreground for gtk and ns.
3742 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
3744         Allow multiple bibliographies when BibLaTeX is used rather than
3745         BibTeX.
3746         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3747         (reftex-locate-bibliography-files): Us it.
3749 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
3751         * image.el (image-type-header-regexps): Fix the 'pbm' part to
3752         allow comments in pbm files.
3754         * term/w32-win.el (dynamic-library-alist): Support newer versions
3755         of libjpeg starting with v7: look only for the DLL from the
3756         version against which Emacs was built.
3757         Support versions of libpng beyond 1.4.x.
3758         Support libtiff v4.x.
3760 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3762         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3763         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3764         Add property :safe.
3765         (ruby-deep-arglist): Add property :type.
3767 2013-10-31  Glenn Morris  <rgm@gnu.org>
3769         * Makefile.in (custom-deps, finder-data): No need to setq the target
3770         variables, we are in the right directory and the defaults work fine.
3772 2013-10-30  Glenn Morris  <rgm@gnu.org>
3774         * Makefile.in (autoloads): Do not use abs_lisp.
3776         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3777         `newline' does not respect `standard-output', so use `princ'.
3779 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
3781         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
3782         * buff-menu.el (Buffer-menu--unmark): New function.
3783         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3785 2013-10-30  Glenn Morris  <rgm@gnu.org>
3787         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3789         * emacs-lisp/package.el (lm-homepage): Declare.
3791         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3792         Fix doc typos.
3794         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3796         * Makefile.in (finder-data, autoloads, update-subdirs)
3797         (compile-main, compile-clean, compile-always, bootstrap-clean):
3798         Check return value of cd.
3799         (compile-calc): Remove.
3801 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3803         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3805         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3806         (byte-compile-and-folded): New function.
3807         (=, <, >, <=, >=): Use it.
3809         * dos-w32.el (minibuffer-history-case-insensitive-variables)
3810         (path-separator, null-device, buffer-file-coding-system)
3811         (lpr-headers-switches): Check system-type before modifying them.
3812         (find-buffer-file-type-coding-system): Mark obsolete.
3813         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3814         find-file-not-found-set-buffer-file-coding-system.
3815         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3816         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3817         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3818         (w32-direct-print-region-helper, w32-direct-print-region-function)
3819         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3820         * startup.el (normal-top-level-add-subdirs-to-load-path):
3821         * ps-print.el (ps-print-region-function):
3822         * lpr.el (print-region-function): Use new name.
3824         * subr.el (custom-declare-variable-early): Remove function.
3825         (custom-declare-variable-list): Remove var.
3826         (error, user-error): Remove `while' loop.
3827         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3828         (user-emacs-directory-warning, locate-user-emacs-file):
3829         Move to files.el.
3830         * simple.el (read-quoted-char-radix, read-quoted-char):
3831         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3832         Move from subr.el.
3833         * custom.el (custom-declare-variable-list): Don't process
3834         custom-declare-variable-list.
3836         * progmodes/python.el (python-shell-get-buffer): New function.
3837         (python-shell-get-process): Use it.
3838         (python-shell-send-string): Always use utf-8 and add a cookie to tell
3839         Python which encoding was used.  Don't split-string since we only care
3840         about the first line.  Return the temp-file, if applicable.
3841         (python-shell-send-region): Tell compile.el how to turn locations in
3842         the temp-file into locations in the source buffer.
3844 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3846         * subr.el (undefined): Add missing behavior from the C code for
3847         unbound keys.
3849         * rect.el: Use lexical-binding.  Add new rectangular region support.
3850         (rectangle-mark): New command.
3851         (rectangle--region): New var.
3852         (deactivate-mark-hook): Reset rectangle--region.
3853         (rectangle--extract-region, rectangle--insert-for-yank)
3854         (rectangle--highlight-for-redisplay)
3855         (rectangle--unhighlight-for-redisplay): New functions.
3856         (region-extract-function, redisplay-unhighlight-region-function)
3857         (redisplay-highlight-region-function): Use them to handle
3858         rectangular region.
3859         * simple.el (region-extract-function): New var.
3860         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3861         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3862         (kill-region): Replace obsolete `yank-handler' arg with `region'.
3863         (copy-region-as-kill, kill-ring-save): Add `region' argument.
3864         (redisplay-unhighlight-region-function)
3865         (redisplay-highlight-region-function): New vars.
3866         (redisplay--update-region-highlight): New function.
3867         (pre-redisplay-function): Use it.
3868         (exchange-point-and-mark): Don't deactivate the mark before
3869         reactivate-it anyway.
3870         * comint.el (comint-kill-region): Remove yank-handler argument.
3871         * delsel.el (delete-backward-char, backward-delete-char-untabify)
3872         (delete-char): Remove property, since it's now part of their
3873         default behavior.
3874         (self-insert-iso): Remove property since this command doesn't exist.
3876         * emacs-lisp/package.el (package--download-one-archive)
3877         (describe-package-1): Don't query the user about final newline.
3879 2013-10-29  Daniel Colascione  <dancol@dancol.org>
3881         * net/tramp.el (tramp-methods): Document new functionality.
3882         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3883         tramp-hostname-checker if method provides one instead of scanning
3884         argument list for "%h" to decide hostname acceptability.
3886 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3888         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3889         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3890         Handle COPY-CONTENTS.  (Bug#15737)
3892 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3894         * epa-file.el
3895         (epa-file-cache-passphrase-for-symmetric-encryption):
3896         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3898 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3900         * image.el (defimage):
3901         (image-load-path): Doc fixes.
3903 2013-10-27  Alan Mackenzie  <acm@muc.de>
3905         Indent statements in macros following "##" correctly.
3906         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3907         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3909 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3911         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3913 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3915         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3916         after `=' is probably a new expression.
3918 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3920         * man.el (man-imenu-title): New option.
3921         (Man-mode-map): Add menu.  (Bug#15722)
3922         (Man-mode): Add imenu to menu.
3924 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3926         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3927         specific in what the first arg can be: a non-keyword word,
3928         string/regexp/percent literal opener, opening paren, or unary
3929         operator followed directly by word.
3931 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3933         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3934         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3935         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3936         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3937         Remove vars, they do not apply any more.
3938         (prolog-mode-abbrev-table): Remove redundant declaration.
3939         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3940         (prolog-use-smie): Remove.
3941         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3942         supported by prolog-electric-if-then-else-flag.
3943         (prolog-mode-variables, prolog-menu): Use setq-local.
3944         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3945         Remove binding to `Backspace' since this key doesn't exist anyway.
3946         Remove bindings for electric self-inserting keys.
3947         (prog-mode): Assume it's defined.
3948         (prolog-post-self-insert): New function.
3949         (prolog-mode): Use it.
3950         (prolog-indent-line, prolog-indent-level)
3951         (prolog-find-indent-of-matching-paren)
3952         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3953         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3954         (prolog-goto-next-paren, prolog-in-string-or-comment)
3955         (prolog-tokenize, prolog-inside-mline-comment)
3956         (prolog-find-start-of-mline-comment): Remove functions.
3957         (prolog-find-unmatched-paren, prolog-clause-end)
3958         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3959         (prolog-electric--if-then-else): Rename from
3960         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3961         (prolog-tokenize-searchkey): Remove const.
3962         (prolog-clause-info): Use forward-sexp.
3963         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3964         (prolog-electric-if-then-else): Remove commands.
3965         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3966         for use in post-self-insert-hook.
3967         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3968         for use in post-self-insert-hook.
3969         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3970         for use in post-self-insert-hook.
3971         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3972         adapt it for use in post-self-insert-hook.
3974 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3976         * emacs-lisp/ert.el (ert-run-tests-interactively):
3977         Use `completing-read'.  (Bug#9756)
3979 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3981         * simple.el (line-move): Call line-move-1 instead of
3982         line-move-visual when the current window hscroll is zero, but
3983         temporary-goal-column indicates we will need to hscroll as result
3984         of the movement.  (Bug#15712)
3986 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3988         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3989         capitalization.  Use :visible instead of :active.
3990         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3991         commands that are used with SMIE.
3992         (ruby-do-end-to-brace): Insert space after `{'.
3994 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3996         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3998         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
4000 2013-10-25  Glenn Morris  <rgm@gnu.org>
4002         * vc/vc.el (vc-print-log): Don't use a working revision unless
4003         one was explicitly specified.  (Bug#15322)
4005 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * subr.el (add-to-list): Preserve return value in compiler-macro
4008         (bug#15692).
4010 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4012         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4013         result.  Ask user to retry using '-all' flag.  (Bug#15701)
4015 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4017         * emacs-lisp/smie.el: New smie-config system.
4018         (smie-config): New defcustom.
4019         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4020         (smie-config-guess, smie-config-save): New commands.
4021         (smie-config--mode-local, smie-config--buffer-local)
4022         (smie-config--trace, smie-config--modefuns): New vars.
4023         (smie-config--advice, smie-config--mode-hook)
4024         (smie-config--setter, smie-config-local, smie-config--get-trace)
4025         (smie-config--guess-value, smie-config--guess): New functions.
4026         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4027         text properties.  Treat "string fence" syntax like string syntax.
4029         * progmodes/sh-script.el (sh-use-smie): Change default.
4030         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4031         (sh-var-value): Simplify by CSE.
4032         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4033         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4034         is used.
4035         (sh-guess-basic-offset): Use cl-incf.
4036         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4038 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
4040         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4041         (bug#15699).
4043 2013-10-24  Glenn Morris  <rgm@gnu.org>
4045         * Makefile.in (abs_top_srcdir): Remove.
4046         (update-subdirs): Use relative path to update-subdirs.
4048 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
4050         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4051         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4052         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4053         Call unmsys--file-name before expand-file-name, not after it.
4055 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
4057         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4058         (ert-test-skipped): New error.
4059         (ert-skip, ert-stats-skipped): New defuns.
4060         (ert--skip-unless): New macro.
4061         (ert-test-skipped): New struct.
4062         (ert--run-test-debugger, ert-test-result-type-p)
4063         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4064         (ert--stats-set-test-and-result, ert-char-for-test-result)
4065         (ert-string-for-test-result, ert-run-tests-batch)
4066         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4067         Handle skipped tests.  (Bug#9803)
4069 2013-10-24  Glenn Morris  <rgm@gnu.org>
4071         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4073         * Makefile.in (abs_top_srcdir): New, set by configure.
4074         (update-subdirs): Correct build-aux location.
4076 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
4078         * vc/vc.el (vc-print-root-log): Always set `default-directory'
4079         value, whether we could auto-deduce `backend', or not.
4081         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4082         with parameters" example.  Simplify the "is it block or is it
4083         hash" check, but also make it more thorough.
4085 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
4087         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
4089 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4091         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4092         { if it is hanging.
4094         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4095         :before ";".
4097 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
4099         * progmodes/compile.el (compilation-directory-matcher)
4100         (compilation-page-delimiter):
4101         Support GNU Make-4.0 directory quoting.  (Bug#15678)
4103 2013-10-23  Leo Liu  <sdl.web@gmail.com>
4105         * ido.el (ido-tidy): Handle read-only text.
4107 2013-10-23  Glenn Morris  <rgm@gnu.org>
4109         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4110         (emacs, compile, compile-always):
4111         Quote entities that might contain whitespace.
4112         (custom-deps, finder-data, autoloads): Use abs_lisp.
4113         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4114         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4115         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4117 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
4119         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4120         Use `following-char'.
4122 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4124         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4125         * progmodes/ruby-mode.el (ruby-smie-rules):
4126         Remove corresponding workaround.  Fix indentation rule of ";" so it
4127         also applies when ";" is the parent.
4129 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
4131         * frame.el (display-screens, display-pixel-height)
4132         (display-pixel-width, display-mm-width, display-backing-store)
4133         (display-save-under, display-planes, display-color-cells)
4134         (display-visual-class, display-monitor-attributes-list):
4135         Mention the optional ‘display’ argument in doc strings.
4137 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
4139         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4140         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
4142 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4144         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4145         TODO.  Add "." after " @ ".
4146         (ruby-smie--at-dot-call): New function.  Checks if point at method
4147         call with explicit target.
4148         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4149         to the method name tokens when it precedes them.
4150         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4151         (ruby-smie-rules): Add rule for indentation before and after "."
4152         token.
4154 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4156         * textmodes/remember.el (remember-diary-extract-entries):
4157         Avoid add-to-list.
4159         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4160         an instruction.
4162 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4164         * progmodes/ruby-mode.el (ruby-smie-grammar):
4165         Add (almost) all infix operators.
4166         (ruby-smie--implicit-semi-p): Add new operator chars.
4168         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4169         `smie-down-list'.
4170         (ruby-smie--args-separator-p): Check that there's no newline
4171         between method call and its arguments.
4173 2013-10-20  Alan Mackenzie  <acm@muc.de>
4175         Allow comma separated lists after Java "implements".
4177         * progmodes/cc-engine.el (c-backward-over-enum-header):
4178         Parse commas.
4179         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4180         from a "disallowed" list in enum fontification.
4182 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
4184         * startup.el (default-frame-background-mode): Remove unused defvar.
4186         * progmodes/verilog-mode.el (verilog-mode): Don't set
4187         comment-indent-function globally.
4189 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
4191         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4192         Move Info menu item creation to ns-win.el.
4194         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4195         in menu bar.
4197         * menu-bar.el: Move GNUstep specific menus...
4199         * term/ns-win.el (ns-initialize-window-system): ... to here.
4201 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * simple.el (newline): Only run post-self-insert-hook when
4204         called interactively.
4206 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
4208         * icomplete.el (icomplete-with-completion-tables): Add :version.
4210 2013-10-19  Alan Mackenzie  <acm@muc.de>
4212         Fix fontification bugs with constructors and const.
4214         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4215         CASE 2) Remove the check for the absence of a suffix construct
4216         after a function declaration with only types (no identifiers) in
4217         the parentheses.  Also, accept a function declaration with just a
4218         type inside the parentheses, if this type can be positively
4219         recognised as such, or if a prefix keyword like "explicit" nails
4220         down the construct as a declaration.
4222 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
4224         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4225         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
4226         the problem whereby selecting a menu item that leads to a
4227         minibuffer prompt moves the cursor out of the minibuffer window,
4228         making it hard to type at the prompt.  Suggested by Stefan Monnier
4229         <monnier@iro.umontreal.ca>.
4231 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
4233         * menu-bar.el: Don't make Services menu.
4235 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4237         * ffap.el: Handle "/usr/include/c++/<version>" directories.
4238         (ffap-alist): Use ffap-c++-mode for c++-mode.
4239         (ffap-c++-path): New variable.
4240         (ffap-c++-mode): New function.
4242 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
4244         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
4246 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
4248         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4249         introduced on 2013-09-08, which results in an infinite loop
4250         requesting a password.
4252 2013-10-18  Glenn Morris  <rgm@gnu.org>
4254         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4256 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
4258         Sync with upstream verilog-mode revision 1a6ecec7.
4259         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4260         (verilog-mode-release-date): Remove.
4261         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4262         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4263         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4264         (verilog-auto-tieoff-ignore-regexp)
4265         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4266         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4267         (verilog-signals-with, verilog-dir-cache-preserving)
4268         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4269         Doc fixes.
4270         (verilog-case-fold): New option, to control case folding in
4271         regexp searches, bug597.
4272         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4273         (verilog-string-match-fold, verilog-in-paren-count)
4274         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4275         (verilog-at-close-struct-p): New functions.
4276         (verilog-beg-block-re-ordered, verilog-extended-case-re)
4277         (verilog-forward-sexp, verilog-set-auto-endcomments):
4278         (verilog-leap-to-case-head): Handle "unique0" case.
4279         (verilog-in-constraint-re): New constant.
4280         (verilog-keywords, verilog-type-font-keywords):
4281         Add some SystemVerilog 1800-2012 keywords.
4282         (verilog-label-be): Remove unimplemented argument, bug669.
4283         (verilog-batch-execute-func): When batch expanding clear
4284         create-lockfiles to prevent spurious user locks when a file ends
4285         up not changing.
4286         (verilog-calculate-indent, verilog-calc-1)
4287         (verilog-at-close-constraint-p, verilog-at-constraint-p)
4288         (verilog-do-indent): Fix indentation of nested constraints
4289         and structures.
4290         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4291         (verilog-auto-inst-param): Use verilog-string-match-fold.
4292         (verilog-read-inst-module-matcher):
4293         Fix AUTOINST on gate primitives with #1.
4294         (verilog-read-decls): Fix double-declaring user-defined typed signals.
4295         Reads all user-defined typed variables.
4296         (verilog-read-defines): Fix reading definitions inside comments, bug647.
4297         (verilog-signals-matching-regexp)
4298         (verilog-signals-not-matching-regexp, verilog-auto):
4299         Respect verilog-case-fold.
4300         (verilog-diff-report): Fix line count.
4301         (verilog-auto-assign-modport): Remove unused local `modi'.
4302         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4303         better handle multidimensional arrays.
4304         Fix packed array ports misadding bit index in AUTOINST, bug637.
4305         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4306         to not double-declare existing outputs and inputs, respectively.
4307         (verilog-template-map): Bind U to verilog-sk-uvm-component.
4308         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4309         (verilog-sk-uvm-component): New skeleton.
4310         (verilog-submit-bug-report): Add verilog-case-fold,
4311         remove verilog-mode-release-date.
4313 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
4315         * subr.el (sit-for): Call (input-pending-p t) so as to behave
4316         as before.
4318 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
4320         * textmodes/remember.el (remember): Set buffer-offer-save in
4321         remember buffers (bug#13566).
4323 2013-10-18  Daniel Colascione  <dancol@dancol.org>
4325         When evaluating forms in ielm, direct standard output to ielm
4326         buffer.  Add new ielm-return-for-effect command.  Remove trailing
4327         whitespace throughout.
4329         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4330         (ielm-return-for-effect): New command.
4331         (ielm-send-input): Accept optional `for-effect' parameter.
4332         (ielm-eval-input): Accept optional `for-effect' parameter.
4333         Bind `standard-output' to stream we create using
4334         `ielm-standard-output-impl'.  Suppress printing result when
4335         `for-effect'.
4336         (ielm-standard-output-impl): New function.
4337         (inferior-emacs-lisp-mode): Explain new features in documentation.
4339 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
4341         Code cleanup.
4343         * net/tramp.el (tramp-debug-message): Do not check for connection
4344         buffer.
4345         (tramp-message): Use "vector" connection property.
4347         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4348         (tramp-equal-remote, tramp-eshell-directory-change)
4349         * net/tramp-adb.el (tramp-adb-handle-copy-file)
4350         (tramp-adb-handle-rename-file)
4351         * net/tramp-cmds.el (tramp-list-remote-buffers)
4352         (tramp-cleanup-connection, tramp-cleanup-this-connection)
4353         * net/tramp-compat.el (tramp-compat-process-running-p)
4354         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4355         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4356         (tramp-gvfs-handle-rename-file)
4357         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4358         (tramp-set-file-uid-gid)
4359         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4360         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4361         of `file-remote-p'.
4363         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4364         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4365         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4366         (tramp-gw-open-network-stream): Suppress unrelated traces.
4368         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4369         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4370         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4371         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4372         connection property.
4374         * net/tramp-cache.el (top): Suppress traces when reading
4375         persistency file.
4377         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4378         Refactor common code.  Improve debug message.
4379         (tramp-maybe-open-connection)
4380         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4381         connection buffer too early.
4383         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4384         from `tramp-smb-actions-with-acl'.
4385         (tramp-smb-actions-set-acl): New defconst.
4386         (tramp-smb-handle-copy-directory)
4387         (tramp-smb-action-get-acl): New defun, renamed from
4388         `tramp-smb-action-with-acl'.
4389         (tramp-smb-action-set-acl): New defun.
4390         (tramp-smb-handle-set-file-acl): Rewrite.
4392 2013-10-17  Glenn Morris  <rgm@gnu.org>
4394         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
4396 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4398         * skeleton.el (skeleton-newline): Remove.
4399         (skeleton-internal-1): Use (insert "\n") instead.
4401         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4402         let-bindings.
4404         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4405         forward-sexp-function while we redo its job (bug#15613).
4407 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
4409         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4410         represented by lists.
4412 2013-10-16  Glenn Morris  <rgm@gnu.org>
4414         * tmm.el (tmm--history): New dynamic variable.
4415         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
4417 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
4419         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4420         (tramp-smb-errors): Add error messages.
4421         (tramp-smb-actions-with-acl): New defconst.
4422         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4423         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4424         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4425         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4426         (tramp-smb-get-stat-capability): Fix tests.
4428 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4430         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4431         (bug#15580).
4433 2013-10-16  Glenn Morris  <rgm@gnu.org>
4435         * ansi-color.el (ansi-color-drop-regexp):
4436         Add 1J, 1K, 2K.  (Bug#15617)
4438         * files.el (hack-local-variables--warned-lexical): New.
4439         (hack-local-variables):
4440         Warn about misplaced lexical-binding.  (Bug#15616)
4442         * net/eww.el (eww-render): Always set eww-current-url,
4443         and update header line.  (Bug#15622)
4444         (eww-display-html): ... Rather than just doing it here.
4446 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
4448         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4449         menu navigations commands.
4451 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4453         * progmodes/subword.el (subword-capitalize): Be careful when
4454         the search for [[:alpha:]] fails (bug#15580).
4456 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
4458         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4459         to commands that scroll the menu.
4461 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
4463         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4464         Handle methods ending with `?' and `!'.
4466 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
4468         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4469         `japanese-cp932' to `cp932' to fix the problem where saving a
4470         source file written in Shift_JIS twice would end up having
4471         `coding: japanese-cp932' which Ruby could not recognize.
4472         (ruby-mode-set-encoding): Add support for encodings mapped to nil
4473         in `ruby-encoding-map'.
4474         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4475         doesn't need to be explicitly declared in magic comment.
4476         (ruby-encoding-map): Add type declaration for better customize UI.
4478 2013-10-13  Glenn Morris  <rgm@gnu.org>
4480         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4481         Occur buffers are read-only.  http://bugs.debian.org/720775
4483         * emacs-lisp/authors.el (authors-fixed-entries):
4484         Comment out old alpha stuff.
4486 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
4488         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4489         to `after-save-hook' instead of `before-save-hook'.
4490         (ruby-mode-set-encoding): Use the value of coding system used to
4491         write the file.  Call `basic-save-buffer-1' after modifying the
4492         buffer.
4494 2013-10-13  Alan Mackenzie  <acm@muc.de>
4496         Fix indentation/fontification of Java enum with
4497         "implements"/generic.
4499         * progmodes/cc-engine.el (c-backward-over-enum-header):
4500         Extracted from the three other places and enhanced to handle generics.
4501         (c-inside-bracelist-p): Uses new function above.
4502         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4503         function above.
4504         (c-font-lock-enum-tail): Uses new function above.
4506 2013-10-13  Kenichi Handa  <handa@gnu.org>
4508         * international/mule-cmds.el (select-safe-coding-system): Remove a
4509         superfluous condition in chekcing whether a coding system is safe
4510         or not.
4512 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
4514         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
4516 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
4518         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
4520 2013-10-13  Glenn Morris  <rgm@gnu.org>
4522         * menu-bar.el (menu-bar-update-buffers):
4523         Unify Buffers menu prompt string.  (Bug#15576)
4525         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
4527         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4528         Add some entries.
4529         (authors-fixed-entries): Use accented form of name.
4531 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4533         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4534         method calls (bug#15594).
4535         (ruby-smie--args-separator-p): New function.
4536         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4537         recognize paren-free method calls.
4539         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4540         internals of universal-argument.
4542 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
4544         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4545         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4546         dropped menu on second mouse click on the menu bar.
4548 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4550         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4551         (explicit-shell-file-name): Declare.
4552         (sh--vars-before-point, sh--cmd-completion-table): New functions.
4553         (sh-completion-at-point-function): New function.
4554         (sh-mode): Use it.
4555         (sh-smie--keyword-p): Remove unused argument.
4556         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4557         vars.
4558         (sh-set-shell): Always setup SMIE, even if we use the
4559         old indentation code.
4561 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
4563         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4564         cases of ? and =.
4565         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
4566         predicate would return nil are almost non-existent.
4567         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4569         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4570         cache also after commands that modify the buffer but don't move
4571         point.
4573 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4575         * env.el (substitute-env-in-file-name): New function.
4576         (substitute-env-vars): Extend the meaning of the optional arg.
4578 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
4580         * term/w32-win.el (dynamic-library-alist): Define separate lists
4581         of GIF DLLs for versions before and after 5.0.0 of giflib.
4582         (Bug#15531)
4584 2013-10-10  João Távora  <joaotavora@gmail.com>
4586         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4587         not locked, use last revision and current source as
4588         defaults.  (Bug#15569)
4590 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
4592         * menu-bar.el (menu-bar-open): Don't use popup-menu if
4593         menu-bar is hidden.
4595 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
4597         * window.el (pop-to-buffer-same-window): Fix doc-string.
4598         (Bug#15492)
4600 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4602         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4604 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
4606         * calendar/icalendar.el (icalendar-import-file):
4607         Fix interactive spec.  (Bug#15482)
4609 2013-10-10  Glenn Morris  <rgm@gnu.org>
4611         * desktop.el (desktop-save): Default to saving in .emacs.d,
4612         since PWD is no longer in desktop-path by default.  (Bug#15319)
4614         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4615         now that text mode has a menu with the same entry.
4616         (menu-bar-text-mode-auto-fill): Remove now unused func.
4617         * textmodes/text-mode.el (text-mode-map):
4618         Use auto-fill help text from menu-bar.el.
4620 2013-10-10  John Anthony  <john@jo.hnanthony.com>
4622         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
4624 2013-10-09  Juri Linkov  <juri@jurta.org>
4626         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4627         instead of this-command-keys.  Add universal-argument-more and
4628         universal-argument-minus to the list of prefix commands.  (Bug#15568)
4630 2013-10-09  Glenn Morris  <rgm@gnu.org>
4632         * vc/vc-svn.el (vc-svn-create-repo):
4633         Expand paths in file://... url.  (Bug#15446)
4635         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4636         Add some entries.
4637         (authors): Remove unused local variables.
4639 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4641         * profiler.el: Create a more coherent calltree from partial backtraces.
4642         (profiler-format): Hide the tail with `invisible' so that C-s can still
4643         find the hidden elements.
4644         (profiler-calltree-depth): Don't recurse so enthusiastically.
4645         (profiler-function-equal): New hash-table-test.
4646         (profiler-calltree-build-unified): New function.
4647         (profiler-calltree-build): Use it.
4648         (profiler-report-make-name-part): Indent the calltree less.
4649         (profiler-report-mode): Add visibility specs for profiler-format.
4650         (profiler-report-expand-entry, profiler-report-toggle-entry):
4651         Expand the whole subtree when provided with a prefix arg.
4653 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
4655         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4656         iuwu-mod token.
4657         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4658         hanging iuwu-mod token.
4659         (ruby-smie--forward-token): Do not include a dot after a token in
4660         that token.
4661         (ruby-smie--backward-token): Likewise.
4663 2013-10-08  Juri Linkov  <juri@jurta.org>
4665         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4666         to isearch-other-control-char.
4667         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4668         and isearch-post-command-hook to post-command-hook.
4669         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4670         and isearch-post-command-hook from post-command-hook.
4671         (isearch-unread-key-sequence)
4672         (isearch-reread-key-sequence-naturally)
4673         (isearch-lookup-scroll-key, isearch-other-control-char)
4674         (isearch-other-meta-char): Remove functions.
4675         (isearch-pre-command-hook, isearch-post-command-hook):
4676         New functions based on isearch-other-meta-char rewritten
4677         relying on the new behavior of overriding-terminal-local-map
4678         that does not replace the local keymaps any more.  (Bug#15200)
4680 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
4682         Support menus on text-mode terminals.
4683         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4684         functionality.
4686         * tooltip.el (tooltip-mode): Don't error out on TTYs.
4688         * menu-bar.el (popup-menu, popup-menu-normalize-position):
4689         Move here from mouse.el.
4690         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4691         and arrow keys.
4692         (tty-menu-navigation-map): New map for TTY menu navigation.
4694         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4696         * frame.el (display-mouse-p): Report text-mode mouse as available
4697         on w32.
4698         (display-popup-menus-p): Report availability if mouse is
4699         available; don't condition on window-system.
4701         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4702         (tty-menu-selected-face): New faces.
4704 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4706         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4707         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4708         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4709         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4710         New constants.
4711         (lisp-mode-variables): New `elisp' argument.
4712         (emacs-lisp-mode): Use it.
4713         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4714         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4716         * indent.el: Use lexical-binding.
4717         (indent-region): Add progress reporter.
4718         (tab-stop-list): Make it implicitly extend to infinity by repeating the
4719         last step.
4720         (indent--next-tab-stop): New function to implement this behavior.
4721         (tab-to-tab-stop, move-to-tab-stop): Use it.
4723 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
4725         * indent.el (indent-rigidly--current-indentation): New function.
4726         (indent-rigidly-map): New var.
4727         (indent-rigidly): Use it to provide interactive mode (bug#8196).
4729 2013-10-08  Bastien Guerry  <bzg@gnu.org>
4731         * register.el (insert-register): Fix 2013-10-07 change.
4733 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4735         * progmodes/perl-mode.el: Use lexical-binding.
4736         Remove redundant :group args.
4737         (perl-nochange): Change default to be closer to other major modes's
4738         standard behavior.
4739         (perl-indent-line): Don't consider text on current line as a
4740         valid beginning of function from which to indent.
4742         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4743         with more than one argument (bug#15538).
4745         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4747         * vc/pcvs.el: Use lexical-binding.
4748         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4749         environment of `eval'.
4750         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4751         than a list of expressions.  Adjust callers.
4752         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4754 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
4756         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4757         case of the dot in a chained method call being on the following line.
4759 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4761         * electric.el (electric-indent-inhibit): New var.
4762         (electric-indent-post-self-insert-function): Use it.
4763         * progmodes/python.el (python-mode): Set it.
4765         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4766         open braces.
4768         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4770         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4771         (css-mode): Use electric-indent-chars.
4773         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4774         (font-lock-beg, font-lock-end): Move before first use.
4775         (nxml-mode): Use syntax-propertize-function.
4776         (nxml-after-change, nxml-after-change1): Adjust accordingly.
4777         (nxml-extend-after-change-region): Remove.
4778         * nxml/xmltok.el: Use lexical-binding.
4779         (xmltok-save): Use `declare'.
4780         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4781         * nxml/nxml-util.el: Use lexical-binding.
4782         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4783         Use `declare'.
4784         * nxml/nxml-ns.el: Use lexical-binding.
4785         (nxml-ns-save): Use `declare'.
4786         (nxml-ns-prefixes-for): Avoid add-to-list.
4787         * nxml/rng-match.el: Use lexical-binding.
4788         (rng--ipattern): Use cl-defstruct.
4789         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4790         (rng-cons-group-after, rng-subst-group-after)
4791         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4792         Use closures instead of `(lambda...).
4794 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
4796         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4797         of BEG and END.
4799         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4800         Use `tramp-handle-insert-file-contents'.
4801         (tramp-gvfs-handle-insert-file-contents): Remove function.
4803         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4804         Use `save-restriction' in order to keep markers.
4806         * net/trampver.el: Update release number.
4808 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4810         * progmodes/compile.el (compilation-parse-errors):
4811         Use compilation--put-prop.
4812         (compilation--ensure-parse): Check compilation-multiline.
4814         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4816         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4817         lexical-binding.
4819         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4821         * progmodes/ruby-mode.el: Fix recently added tests.
4822         (ruby-smie-grammar): Add - and +.
4823         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4824         (ruby-smie--backward-id): New functions.
4825         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4826         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
4827         any more.
4829 2013-10-07  Leo Liu  <sdl.web@gmail.com>
4831         * register.el (register-preview-delay)
4832         (register-preview-functions): New variables.
4833         (register-read-with-preview, register-preview)
4834         (register-describe-oneline): New functions.
4835         (point-to-register, window-configuration-to-register)
4836         (frame-configuration-to-register, jump-to-register)
4837         (number-to-register, view-register, insert-register)
4838         (copy-to-register, append-to-register, prepend-to-register)
4839         (copy-rectangle-to-register): Use register-read-with-preview to
4840         read register.  (Bug#15525)
4842 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
4844         * net/network-stream.el (network-stream-open-starttls): Don't add
4845         --insecure if it's already present, because that gnutls-cli
4846         rejects getting that parameter twice.
4848 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
4850         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4851         keyword, too.
4853 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
4855         * newcomment.el (comment-use-global-state): Change default value
4856         to t, mark obsolete (Bug#15251).
4857         (comment-beginning): In addition to `comment-to-syntax', check the
4858         value of `comment-use-global-state'.
4860 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4862         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4863         (ruby-comment-column): Follow the global default, by default.
4864         (ruby-smie-grammar): Add assignment syntax.
4865         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4866         open-paren, a comma, or a \.
4867         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4868         and line continuations.
4869         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4870         followed by implicit semi-colons.  Add rule for string concatenation
4871         and for indentation at BOB.
4872         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4874         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4875         calling next-sexp, since next-token may have skipped chars which
4876         next-sexp doesn't know should be skipped!
4878 2013-10-05  Leo Liu  <sdl.web@gmail.com>
4880         * progmodes/octave.el (octave-send-region):
4881         Call compilation-forget-errors.
4883 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4885         * vc/vc-svn.el (vc-svn-find-admin-dir):
4886         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4887         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4888         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4889         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4891 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4893         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4895 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4897         * subr.el (read-passwd): Hide chars even when called within a context
4898         where after-change-functions is disabled (bug#15501).
4899         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4900         until we removed ourself from overriding-terminal-local-map.
4902 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4904         * progmodes/octave.el (inferior-octave-mode):
4905         Call compilation-forget-errors.
4907 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4909         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4911 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4913         * net/secrets.el (secrets-create-collection): Add optional
4914         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4915         dbus-call-method argument.  (Bug#15516)
4917 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4919         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4920         (inferior-octave-compilation-font-lock-keywords): New variables.
4921         (compilation-error-regexp-alist)
4922         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4923         (inferior-octave-mode): Use compilation-shell-minor-mode.
4925 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4927         * minibuffer.el (completion--replace): Be careful that `end' might be
4928         a marker.
4930 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4932         Add support for package signature checking.
4933         * emacs-lisp/package.el (url-http-file-exists-p)
4934         (epg-make-context, epg-context-set-home-directory)
4935         (epg-verify-string, epg-context-result-for)
4936         (epg-signature-status, epg-signature-to-string)
4937         (epg-check-configuration, epg-configuration)
4938         (epg-import-keys-from-file): Declare.
4939         (package-check-signature): New user option.
4940         (package-unsigned-archives): New user option.
4941         (package-desc): Add `signed' field.
4942         (package-load-descriptor): Set `signed' field if .signed file exists.
4943         (package--archive-file-exists-p): New function.
4944         (package--check-signature): New function.
4945         (package-install-from-archive): Check package signature.
4946         (package--download-one-archive): Check archive signature.
4947         (package-delete): Remove .signed file.
4948         (package-import-keyring): New command.
4949         (package-refresh-contents): Import default keyring.
4950         (package-desc-status): Add "unsigned" status.
4951         (describe-package-1, package-menu--print-info)
4952         (package-menu-mark-delete, package-menu--find-upgrades)
4953         (package-menu--status-predicate): Support "unsigned" status.
4955 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4957         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4958         the new compilation scheme using the new byte-codes.
4960         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4961         (byte-pophandler): New byte codes.
4962         (byte-goto-ops): Adjust accordingly.
4963         (byte-compile--use-old-handlers): New var.
4964         (byte-compile-catch): Use new byte codes depending on
4965         byte-compile--use-old-handlers.
4966         (byte-compile-condition-case--old): Rename from
4967         byte-compile-condition-case.
4968         (byte-compile-condition-case--new): New function.
4969         (byte-compile-condition-case): New function that dispatches depending
4970         on byte-compile--use-old-handlers.
4971         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4972         when we can.
4974         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4975         Optimize under `condition-case' and `catch' if
4976         byte-compile--use-old-handlers is nil.
4977         (disassemble-offset): Handle new bytecodes.
4979 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4981         * subr.el (error): Use `declare'.
4982         (decode-char, encode-char): Use advertised-calling-convention instead
4983         of the docstring to discourage use of the `restriction' arg.
4985 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4987         * epg.el (epg-verify-file): Add a comment saying that it does not
4988         notify verification error as a return value nor a signal.
4989         (epg-verify-string): Ditto.
4991 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4993         * progmodes/compile.el (compilation-start): Try globbing the arg to
4994         `cd' (bug#15417).
4996 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4998         Sync with Tramp 2.2.8.
5000         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5001         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5002         * net/trampver.el: Update release number.
5004 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
5006         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5007         and default-process-coding-system for darwin only.
5009 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5011         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5013 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
5015         * vc/vc-git.el (vc-git-grep): Disable pager.
5017 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
5019         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5020         Use :url instead of :homepage, as per
5021         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5023         * newcomment.el (comment-beginning): When `comment-use-syntax' is
5024         non-nil, use `syntax-ppss' (Bug#15251).
5026 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5028         * progmodes/octave.el (inferior-octave-startup-file):
5029         Prefer ~/.emacs.d/init_octave.m.
5031 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
5033         * emacs-lisp/package.el (package-desc-from-define):
5034         Accept additional arguments as plist, convert them to an alist and store
5035         them in the `extras' slot.
5036         (package-generate-description-file): Convert extras alist back to
5037         plist and append to the `define-package' form arguments.
5038         (package--alist-to-plist): New function.
5039         (package--ac-desc): Add `extras' slot.
5040         (package--add-to-archive-contents): Check if the archive-contents
5041         vector is long enough, and if it is, pass its `extras' slot value
5042         to `package-desc-create'.
5043         (package-buffer-info): Call `lm-homepage', pass the returned value
5044         to `package-desc-from-define'.
5045         (describe-package-1): Render the homepage button (Bug#13291).
5047         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5048         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5050 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
5052         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5053         and default-process-coding-system to utf-8-unix (Bug#15402).
5055 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
5057         * subr.el (looking-back): Do not recommend using looking-back.
5059 2013-09-28  Alan Mackenzie  <acm@muc.de>
5061         Fix indentation/fontification of Java enum with "implements".
5063         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5064         regexp which matches "implements", etc., in Java.
5065         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5066         specifier clauses coming after "enum".
5067         * progmodes/cc-fonts.el (c-font-lock-declarations)
5068         (c-font-lock-enum-tail): Check for extra specifier clauses coming
5069         after "enum".
5071 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
5073         * faces.el (region): Change ns_selection_color to
5074         ns_selection_fg_color, add ns_selection_bg_color.
5076 2013-09-28  Leo Liu  <sdl.web@gmail.com>
5078         * progmodes/octave.el (inferior-octave-completion-table)
5079         (inferior-octave-completion-at-point): Minor tweaks.
5081         * textmodes/ispell.el (ispell-lookup-words): Rename from
5082         lookup-words.  (Bug#15460)
5083         (lookup-words): Obsolete.
5084         (ispell-complete-word, ispell-command-loop): All uses changed.
5086 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5088         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5089         (octave-mode-menu): Add octave-send-buffer.
5090         (octave-send-buffer): New function.
5092 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5094         * progmodes/octave.el (octave-mode-map): Add key binding for
5095         octave-lookfor.
5096         (octave-mode-menu): Add octave-lookfor.
5097         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5098         octave-lookfor.
5099         (octave-lookfor): New function.
5101 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5103         * emacs-lisp/cl-macs.el:
5104         (cl--loop-destr-temps): Remove.
5105         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5106         its convention.
5107         (cl--loop-set-iterator-function): New function.
5108         (cl-loop): Adjust accordingly, so as not to use cl-subst.
5109         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5110         Bind `it' with `let' instead of substituting it with `cl-subst'.
5111         (cl--unused-var-p): New function.
5112         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5113         Eliminate some unused variable warnings (bug#15326).
5115 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
5117         * doc-view.el (doc-view-scale-reset): Rename from
5118         `doc-view-reset-zoom-level'.
5119         (doc-view-scale-adjust): New command.
5120         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5121         `doc-view-scale-adjust'.
5123 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
5125         * doc-view.el (doc-view-reset-zoom-level): New command.
5126         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5127         zoom commands (bug#15466).
5129 2013-09-26  Kenichi Handa  <handa@gnu.org>
5131         * international/quail.el (quail-help): Make it not a command.
5133 2013-09-26  Leo Liu  <sdl.web@gmail.com>
5135         * minibuffer.el (completion-all-sorted-completions): Make args
5136         optional as they are.
5138 2013-09-25  Daniel Colascione  <dancol@dancol.org>
5140         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5141         specs are and that they're not evaluated.
5143 2013-09-24  Sam Steingold  <sds@gnu.org>
5145         * midnight.el (clean-buffer-list-kill-regexps)
5146         (clean-buffer-list-kill-buffer-names): Update for the new Man
5147         buffer naming which includes the object name.
5149 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * eshell/esh-cmd.el (eshell--sep-terms): New var.
5152         (eshell-parse-command, eshell-parse-pipeline): Use it since
5153         eshell-separate-commands requires a dynamic scoped var.
5154         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5156 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5158         * autoinsert.el (auto-insert-alist): Make the value of
5159         lexical-binding match its file setting.
5161 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5163         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5165         * autoarg.el (autoarg-kp-digit-argument):
5166         * electric.el (Electric-command-loop):
5167         * kmacro.el (kmacro-step-edit-insert):
5168         Do not set universal-argument-num-events.
5170 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5172         * files.el (interpreter-mode-alist): Add octave.
5174 2013-09-21  Alan Mackenzie  <acm@muc.de>
5176         C++: fontify identifier in declaration following "public:" correctly.
5177         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5178         to match "public", etc.
5179         (c-decl-prefix-re): Add ":" into the C++ value.
5180         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5181         bit.  Add a check for a ":" preceded by "public", etc.
5183 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
5185         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5186         recognized by GDB 7.5 and later.
5188 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
5190         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5192 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5194         * subr.el (internal--call-interactively): New const.
5195         (called-interactively-p): Use it (bug#3984).
5197 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
5199         * vc/pcvs.el (cvs-mode-ignore):
5200         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5201         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5203 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5205         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
5206         (eshell-ls-orig-insert-directory): Remove.
5207         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
5208         (eshell-ls-use-in-dired): Use advice-add/remove.
5209         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5210         Add `orig-fun' arg for use in :around advice.
5211         Make it check (redundantly) eshell-ls-use-in-dired.
5213 2013-09-19  Glenn Morris  <rgm@gnu.org>
5215         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5217         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5219         * emacs-lisp/eieio.el (class-parent): Undo previous change.
5221 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
5223         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5224         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5225         (tramp-get-remote-python): New defuns.
5226         (tramp-get-remote-uid-with-perl)
5227         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
5228         contributed by yary <not.com@gmail.com> (tiny change).
5229         (tramp-get-remote-uid-with-python)
5230         (tramp-get-remote-gid-with-python): New defuns.  Python code
5231         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5232         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5234 2013-09-19  Glenn Morris  <rgm@gnu.org>
5236         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5238         * eshell/em-unix.el (eshell-remove-entries):
5239         Rename argument to avoid name-clash with global `top-level'.
5241         * eshell/esh-proc.el (eshell-kill-process-function):
5242         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5243         (eshell-reset-after-proc): Remove unused arg `proc'.
5245         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5246         (directory-files-and-attributes): Mark unused arg.
5248         * eshell/em-unix.el (eshell-remove-entries):
5249         Remove unused arg `path'.  Update callers.
5251         * eshell/em-hist.el (eshell-hist-parse-arguments):
5252         Remove unused arg `silent'.  Update callers.
5254         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5255         Fix (f)boundp mix-up.
5257         * eshell/em-smart.el (eshell-smart-scroll-window)
5258         (eshell-disable-after-change):
5259         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5261 2013-09-18  Alan Mackenzie  <acm@muc.de>
5263         Fix fontification of type when followed by "const".
5264         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5265         "known" types from fontification.
5267 2013-09-18  Glenn Morris  <rgm@gnu.org>
5269         * emacs-lisp/chart.el (x-display-color-cells): Declare.
5270         (chart-face-list): Drop Emacsen without display-color-p.
5272         * net/eww.el (libxml-parse-html-region): Declare.
5273         (eww-display-html): Explicit error if no libxml2 support.
5275         * doc-view.el (doc-view-mode): Silence --without-x compilation.
5277         * image.el (image-type-from-buffer, image-multi-frame-p):
5278         Remove --without-x warning/error.
5280         * mouse.el (mouse-yank-primary):
5281         * term.el (term-mouse-paste):
5282         Reorder to silence --without-x compilation.
5284         * mpc.el (doc-view-mode): Silence --without-x compilation.
5286         * mail/rmailmm.el (rmail-mime-set-bulk-data):
5287         Silence --without-x compilation.
5289         * progmodes/gud.el (gud-find-file, gud-mode):
5290         Silence --without-x compilation.
5291         (tooltip-mode): Declare.
5293         * wdired.el (dired-backup-overwrite): Remove declaration.
5294         (wdired-mode-map): Add doc string.
5296         * custom.el (x-get-resource): Declare.
5298         * eshell/em-glob.el (ange-cache):
5299         * eshell/em-unix.el (ange-cache): Declare.
5301         * faces.el (x-display-list, x-open-connection, x-get-resource):
5302         Declare.
5304         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5305         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5306         Declare.
5308         * frame.el (x-display-grayscale-p, x-display-name): Declare.
5310         * net/gnutls.el (gnutls-log-level): Declare.
5312         * net/shr.el (image-size, image-animate): Declare.
5314         * simple.el (font-info): Declare.
5316         * subr.el (x-popup-dialog): Declare.
5318         * term/common-win.el (x-select-enable-primary)
5319         (x-last-selected-text-primary, x-last-selected-text-clipboard):
5320         Declare.
5322         * term/ns-win.el (x-handle-args): Declare.
5324         * term/x-win.el (x-select-enable-clipboard): Declare.
5326         * term/w32-win.el (create-default-fontset): Declare.
5328         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5329         Declare.
5331         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5332         (fit-frame-to-buffer): Explicit error if --without-x.
5333         (mouse-autoselect-window-select): Silence compiler.
5335         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5337         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5338         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5339         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5340         * eshell/esh-util.el (eshell-sublist):
5341         Remove unused local variables.
5343         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5345         * textmodes/two-column.el: Make 2C-split work for --without-x.
5346         (scroll-bar-columns): Autoload.
5347         (top-level): Require fringe when compiling.
5349 2013-09-18  Leo Liu  <sdl.web@gmail.com>
5351         * subr.el (add-hook): Robustify to handle closure as well.
5353 2013-09-17  Glenn Morris  <rgm@gnu.org>
5355         * simple.el (messages-buffer-mode-map): Unbind "g".
5357 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5359         * help-mode.el (help-mode-finish): Use derived-mode-p.
5360         Remove obsolete highlighting.
5362         * play/life.el (life-mode): Use define-derived-mode.  Derive from
5363         special-mode.
5364         (life): Let-bind inhibit-read-only.
5365         (life-setup): Avoid `setq'.  Use `life-mode'.
5367         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5368         which should not be needed any more.
5369         (package-menu-refresh, package-menu-describe-package): Use user-error.
5371         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5372         (eshell-post-rewrite-command-hook): Make obsolete.
5373         (eshell-parse-command): Simplify.
5374         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5375         (eshell--cmd): Declare.
5376         (eshell-parse-pipeline): Remove unused var `final-p'.
5377         Pass a dynvar to eshell-post-rewrite-command-hook.
5378         Implement the new eshell-post-rewrite-command-function.
5379         (eshell-invoke-directly): Remove unused arg `input'.
5380         * eshell/esh-io.el (eshell-io-initialize):
5381         Use eshell-post-rewrite-command-function (bug#15399).
5382         (eshell--apply-redirections): Rename from eshell-apply-redirections;
5383         adjust to new calling convention.
5384         (eshell-create-handles): Rename args to avoid clashing with dynvar
5385         `standard-output'.
5387 2013-09-17  Glenn Morris  <rgm@gnu.org>
5389         * simple.el (messages-buffer-mode): New major mode.
5390         (messages-buffer): New function.
5391         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5392         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5393         (ert-run-test): Use `messages-buffer' function.
5394         (ert--force-message-log-buffer-truncation): Ignore read-only.
5395         * help.el (view-echo-area-messages): Use `messages-buffer' function.
5396         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5398 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5400         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5402         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5404 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5406         * icomplete.el (icomplete-in-buffer): New var.
5407         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5408         vars and replace them with functions.
5409         (icomplete-minibuffer-setup): Adjust accordingly.
5410         (icomplete--completion-table, icomplete--completion-predicate)
5411         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5412         New functions.
5413         (icomplete-forward-completions, icomplete-backward-completions)
5414         (icomplete-simple-completing-p, icomplete-exhibit)
5415         (icomplete-completions): Use them.
5416         (icomplete--in-region-buffer): New var.
5417         (icomplete--in-region-setup): New function.
5418         (icomplete-mode): Use it.
5420         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5421         (bug#15379).
5422         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5423         return args and options.
5424         (eshell-eval-using-options): Use the new return value of
5425         eshell--do-opts to set the options's vars in their scope.
5426         (eshell--set-option): Rename from eshell-set-option.
5427         Add arg `opt-vals'.
5428         (eshell--process-option): Rename from eshell-process-option.
5429         Add arg `opt-vals'.
5430         (eshell--process-args): Use an `opt-vals' alist to store the options's
5431         values during their processing and return them additionally to the
5432         remaining args.
5434 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
5436         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5437         continuation character an operator, as far as indentation is
5438         concerned (Bug#15369).
5440 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
5442         * window.el (window--state-put-2): Don't process buffer state
5443         when buffer doesn't exist any more (Bug#15382).
5445 2013-09-15  Glenn Morris  <rgm@gnu.org>
5447         * eshell/em-unix.el (eshell/rm):
5448         Make -f ignore missing files.  (Bug#15373)
5450         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
5451         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5452         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5454 2013-09-14  Glenn Morris  <rgm@gnu.org>
5456         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5458 2013-09-13  Glenn Morris  <rgm@gnu.org>
5460         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5461         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
5463 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
5465         * frame.el (x-focus-frame): Mark as declared in frame.c.
5467 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5469         * ls-lisp.el: Use advice-add.
5470         (original-insert-directory): Remove.
5471         (ls-lisp--insert-directory): Rename from insert-directory; add
5472         `orig-fun' argument.
5473         (insert-directory): Advise.
5475 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
5477         * term.el (term-emulate-terminal): Decode the command string
5478         before passing it to term-command-hook.  (Bug#15337)
5480 2013-09-13  Glenn Morris  <rgm@gnu.org>
5482         * eshell/esh-util.el (ange-cache): Move declaration earlier.
5484         * eshell/esh-ext.el (eshell-search-path): Declare.
5486         * eshell/em-prompt.el (eshell/pwd): Autoload it.
5487         Otherwise an error occurs if eshell-dirs module not loaded.
5489         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5491 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
5493         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5494         `tramp-check-proper-host'.  Check for a valid method name.
5496         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5497         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5498         * net/tramp-sh.el (tramp-maybe-open-connection):
5499         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5501         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5502         also for hash values.
5504 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5506         * term/ns-win.el (parameters): Don't declare as dynamic.
5507         (before-make-frame-hook): Don't add ineffective function.
5509         * eshell/*.el: Use lexical-binding (bug#15231).
5511 2013-09-12  Kenichi Handa  <handa@gnu.org>
5513         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5515 2013-09-12  Glenn Morris  <rgm@gnu.org>
5517         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5518         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5520         * subr.el (do-after-load-evaluation): Also give compiler warnings
5521         when obsolete files are used (except by obsolete files).
5523         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5524         in the status output, assume `filename' is the first.  (Bug#15322)
5526         * vc/vc.el (vc-deduce-fileset): Doc fix.
5528         * calc/calc-help.el (Info-goto-node):
5529         * progmodes/cperl-mode.el (Info-find-node):
5530         * vc/ediff.el (Info-goto-node): Update declarations.
5532         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5534         * vc/vc-bzr.el (vc-compilation-mode): Declare.
5535         (vc-bzr-pull): Require vc-dispatcher.
5536         * vc/vc-git.el (vc-compilation-mode): Declare.
5537         (vc-git-pull): Require vc-dispatcher.
5539         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5541         * progmodes/octave.el (help-button-action): Declare.
5543         * shell.el (shell-directory-tracker): Output error as a message
5544         rather than just returning it as a string.
5545         (shell-process-pushd): Remove useless use of message.
5547         * dframe.el (dframe-timer-fn):
5548         * files.el (dir-locals-read-from-file):
5549         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5550         (mpc-format):
5551         * reveal.el (reveal-post-command):
5552         * saveplace.el (load-save-place-alist-from-file):
5553         * shell.el (shell-resync-dirs):
5554         * w32-common-fns.el (x-get-selection-value):
5555         * emacs-lisp/copyright.el (copyright-find-copyright):
5556         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5557         * emulation/tpu-edt.el (tpu-copy-keyfile):
5558         * play/bubbles.el (bubbles--mark-neighbourhood):
5559         * progmodes/executable.el
5560         (executable-make-buffer-file-executable-if-script-p):
5561         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5563 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5565         Cleanup Eshell to rely less on dynamic scoping.
5566         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5567         last-value, and ext-command here.  Bind `args' closer to `body'.
5568         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5569         (eshell--args): Declare new dynamic var.
5570         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
5571         last-value, and ext-command.  Pass `args' to `body'.
5572         (eshell-process-args): Bind eshell--args.
5573         (eshell-set-option): Use eshell--args.
5574         * eshell/eshell.el (eshell): Use derived-mode-p.
5575         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5576         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5577         (eshell-glob-function): Declare.
5578         * eshell/esh-util.el: Require cl-lib.
5579         (eshell-read-hosts-file): Avoid add-to-list.
5580         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5581         `err'.
5582         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5583         Declare.
5584         (eshell/diff): Remove unused var `err'.
5585         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5586         `killflag'.
5587         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5588         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5589         first use.
5590         * eshell/em-glob.el (eshell-glob-matches, message-shown):
5591         Move declaration before first use.
5592         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5593         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5594         rely on cl-return.
5596 2013-09-12  Glenn Morris  <rgm@gnu.org>
5598         * term/ns-win.el (global-map): Remove binding for ispell-next,
5599         deleted 1999-05-29.  (Bug#15357)
5601 2013-09-11  Glenn Morris  <rgm@gnu.org>
5603         * echistory.el (electric-command-history): Remove call to deleted func.
5605         * play/landmark.el (landmark-mode): Fix typos.
5607         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5608         Check cvs-sort-ignore-file is bound.
5610         * savehist.el: No need for cl when compiling on Emacs.
5612 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5614         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5615         (bug#15338).
5616         (eshell-self-insert-command, eshell-send-invisible):
5617         Remove unused argument.
5618         (eshell-handle-control-codes): Remove unused var `orig'.
5619         Avoid delete-backward-char.
5621         * files.el (set-auto-mode): Simplify a bit further.
5623 2013-09-11  Glenn Morris  <rgm@gnu.org>
5625         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5626         (set-auto-mode): Don't regexp-quote elements.
5627         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5628         * progmodes/cc-mode.el (interpreter-mode-alist):
5629         * progmodes/ruby-mode.el (interpreter-mode-alist):
5630         Revert previous change.
5632 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5634         * play/snake.el (snake-mode):
5635         * play/mpuz.el (mpuz-mode):
5636         * play/landmark.el (lm-mode):
5637         * play/blackbox.el (blackbox-mode):
5638         * play/5x5.el (5x5-mode):
5639         * obsolete/options.el (Edit-options-mode):
5640         * net/quickurl.el (quickurl-list-mode):
5641         * net/newst-treeview.el (newsticker-treeview-mode):
5642         * mail/rmailsum.el (rmail-summary-mode):
5643         * mail/mspools.el (mspools-mode):
5644         * locate.el (locate-mode):
5645         * ibuffer.el (ibuffer-mode):
5646         * emulation/ws-mode.el (wordstar-mode):
5647         * emacs-lisp/debug.el (debugger-mode):
5648         * array.el (array-mode):
5649         * net/eudc.el (eudc-mode): Use define-derived-mode.
5650         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5651         Move initialization into declaration.
5652         (mairix-searches-mode): Use define-derived-mode.
5653         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5654         (eudc-edit-hotlist): Use dolist.
5655         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5656         (Man-mode): Use define-derived-mode.
5657         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5658         (Info-edit-mode): Use define-derived-mode.
5659         (Info-cease-edit): Use Info-mode.
5660         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5661         into declaration.
5662         (eshell-mode): Use define-derived-mode.
5663         * chistory.el (command-history-mode-map): Rename from
5664         command-history-map.
5665         (command-history-mode): Use define-derived-mode.
5666         (Command-history-setup): Remove function.
5667         * calc/calc.el (calc-trail-mode-map): New var.
5668         (calc-trail-mode): Use define-derived-mode.
5669         (calc-trail-buffer): Set calc-main-buffer manually.
5670         * bookmark.el (bookmark-insert-annotation): New function.
5671         (bookmark-edit-annotation): Use it.
5672         (bookmark-edit-annotation-mode): Make it a proper major mode.
5673         (bookmark-send-edited-annotation): Use derived-mode-p.
5674         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5675         closer to its ideal place.  Use \' to match EOS.
5677         * profiler.el (profiler-calltree-find): Use function-equal.
5679 2013-09-10  Glenn Morris  <rgm@gnu.org>
5681         * files.el (interpreter-mode-alist): Convert to regexps.
5682         (set-auto-mode): Adapt for this.  (Bug#15306)
5683         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5684         Comment out unused variable.
5685         * progmodes/cc-mode.el (interpreter-mode-alist):
5686         * progmodes/python.el (interpreter-mode-alist):
5687         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5688         * progmodes/sh-script.el (sh-set-shell):
5689         No longer use interpreter-mode-alist to get list of shells.
5691         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5693 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * simple.el: Use set-temporary-overlay-map for universal-argument.
5696         (universal-argument-map): Don't use default-bindings (bug#15317).
5697         Bind switch-frame explicitly.  Replace universal-argument-minus with
5698         a conditional binding.
5699         (universal-argument-num-events, saved-overriding-map): Remove.
5700         (restore-overriding-map): Remove.
5701         (universal-argument--mode): Rename from save&set-overriding-map,
5702         and rewrite.
5703         (universal-argument, universal-argument-more, negative-argument)
5704         (digit-argument): Adjust accordingly.
5705         (universal-argument-minus): Remove.
5706         (universal-argument-other-key): Remove.
5708         * subr.el (with-demoted-errors): Add `format' argument.
5710 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
5712         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
5713         `tramp-cleanup-connection'.
5715         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5716         parameters KEEP-DEBUG and KEEP-PASSWORD.
5718         * net/tramp.el (tramp-file-name-handler):
5719         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5720         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5721         (tramp-maybe-open-connection):
5722         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5723         Use `tramp-cleanup-connection'.
5725         * net/tramp-sh.el (tramp-maybe-open-connection):
5726         Catch 'uname-changed inside the progress reporter.
5728 2013-09-10  Glenn Morris  <rgm@gnu.org>
5730         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
5732         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5733         returns "alternate access method" in mode (eg "-rw-r--r--.").
5735 2013-09-08  Glenn Morris  <rgm@gnu.org>
5737         * saveplace.el (load-save-place-alist-from-file):
5738         Demote errors.  (Bug#15305)
5740 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
5742         Improve compatibility with older Emacsen, and XEmacs.
5744         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5745         only if it is bound.  It isn't for XEmacs.
5746         (with-tramp-progress-reporter): Do not let-bind `result'.
5747         This yields to scoping errors in XEmacs.
5748         (tramp-handle-make-auto-save-file-name): New function, moved from
5749         tramp-sh.el.
5751         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5752         for `make-auto-save-file-name'.
5753         (tramp-adb--gnu-switches-to-ash):
5754         Use `tramp-compat-replace-regexp-in-string'.
5756         * net/tramp-cache.el (tramp-cache-print): Call
5757         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
5759         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5760         bound.  It isn't for XEmacs.
5762         * net/tramp-compat.el (tramp-compat-copy-file):
5763         Catch `wrong-number-of-arguments' error.
5764         (tramp-compat-replace-regexp-in-string): New defun.
5766         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5767         for `make-auto-save-file-name'.
5768         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5769         `copy-file'.
5770         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5771         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5772         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5774         * net/tramp-gw.el (tramp-gw-open-network-stream):
5775         Use `tramp-compat-replace-regexp-in-string'.
5777         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5778         Call `tramp-handle-make-auto-save-file-name'.
5779         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5780         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5781         (tramp-sh-file-inotifywait-process-filter):
5782         Use `tramp-compat-replace-regexp-in-string'.
5783         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5785         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5786         for `make-auto-save-file-name'.
5787         (tramp-smb-handle-copy-directory):
5788         Call `tramp-compat-replace-regexp-in-string'.
5789         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5790         (tramp-smb-handle-copy-file): Improve error message.
5791         (tramp-smb-handle-rename-file): Rename directly only in case
5792         `newname' does not exist yet.  This is a restriction of smbclient.
5793         (tramp-smb-maybe-open-connection): Rerun the function only when
5794         `auth-sources' is non-nil.
5796 2013-09-08  Kenichi Handa  <handa@gnu.org>
5798         * international/characters.el: Set category "^" (Combining) for
5799         more characters.
5801 2013-09-07  Alan Mackenzie  <acm@muc.de>
5803         Correctly fontify Java class constructors.
5804         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5805         in Java Mode.
5806         (c-recognize-typeless-decls): Set the Java value to t.
5807         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5808         While handling a "(", add a check for, effectively, Java, and handle a
5809         "typeless" declaration there.
5811 2013-09-07  Roland Winkler  <winkler@gnu.org>
5813         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5814         field subtitle for entry type book.
5816 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5818         * minibuffer.el: Make minibuffer-complete call completion-in-region
5819         rather than other way around.
5820         (completion--some, completion-pcm--find-all-completions):
5821         Don't delay signals when debugging.
5822         (minibuffer-completion-contents): Beware fields within the
5823         minibuffer contents.
5824         (completion-all-sorted-completions): Use defvar-local.
5825         (completion--do-completion, completion--cache-all-sorted-completions)
5826         (completion-all-sorted-completions, minibuffer-force-complete):
5827         Add args `beg' and `end'.
5828         (completion--in-region-1): New fun, extracted from minibuffer-complete.
5829         (minibuffer-complete): Use completion-in-region.
5830         (completion-complete-and-exit): New fun, extracted from
5831         minibuffer-complete-and-exit.
5832         (minibuffer-complete-and-exit): Use it.
5833         (completion--complete-and-exit): Rename from
5834         minibuffer--complete-and-exit.
5835         (completion-in-region--single-word): New function, extracted from
5836         minibuffer-complete-word.
5837         (minibuffer-complete-word): Use it.
5838         (display-completion-list): Make `common-substring' argument obsolete.
5839         (completion--in-region): Call completion--in-region-1 instead of
5840         minibuffer-complete.
5841         (completion-help-at-point): Pass boundaries to
5842         minibuffer-completion-help as args rather than via an overlay.
5843         (completion-pcm--string->pattern): Use `any-delim'.
5844         (completion-pcm--optimize-pattern): New function.
5845         (completion-pcm--pattern->regex): Handle `any-delim'.
5846         * icomplete.el (icomplete-forward-completions)
5847         (icomplete-backward-completions, icomplete-completions):
5848         Adjust calls to completion-all-sorted-completions and
5849         completion--cache-all-sorted-completions.
5850         (icomplete-with-completion-tables): Default to t.
5851         * emacs-lisp/crm.el (crm--current-element): Rename from
5852         crm--select-current-element.  Don't put an overlay but return the
5853         boundaries instead.
5854         (crm--completion-command): Take two new args to bind to the boundaries.
5855         (crm-completion-help): Adjust accordingly.
5856         (crm-complete): Use completion-in-region.
5857         (crm-complete-word): Use completion-in-region--single-word.
5858         (crm-complete-and-exit): Use completion-complete-and-exit.
5860 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5862         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5863         than dynamically.
5865 2013-09-06  Juri Linkov  <juri@jurta.org>
5867         * info.el (Info-display-images-node): When image file doesn't exist
5868         display text version of the image if it's provided in the Info file.
5869         Otherwise, display the location of missing image from SRC attribute.
5870         Add help-echo text property from ALT attribute.  (Bug#15279)
5872 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5874         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5875         (edit-abbrevs-mode): Use define-derived-mode.
5877         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5878         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5879         that it's defined.
5880         (epa-key-list-mode, epa-key-mode, epa-info-mode):
5881         Use define-derived-mode.
5883         * epg.el (epg-start-encrypt): Minor CSE simplification.
5885 2013-09-06  William Xu  <william.xwl@gmail.com>
5887         * arc-mode.el: Add support for 7za (bug#15264).
5888         (archive-7z-program): New var.
5889         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5890         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5891         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5893 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5895         Remove URL syntax.
5897         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5898         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5899         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5900         (tramp-postfix-host-format, tramp-file-name-regexp)
5901         (tramp-completion-file-name-regexp)
5902         (tramp-completion-dissect-file-name)
5903         (tramp-handle-substitute-in-file-name): Remove 'url case.
5904         (tramp-file-name-regexp-url)
5905         (tramp-completion-file-name-regexp-url): Remove constants.
5907 2013-09-06  Glenn Morris  <rgm@gnu.org>
5909         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5911 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5913         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5914         keywords" below "here-doc beginnings" (Bug#15270).
5916 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5918         * subr.el (pop): Use `car-safe'.
5919         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5920         to detect unused `pop' return value.
5922         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5923         var `block-regexp'.
5924         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5925         (python-fill-string): Remove unused var `marker'.
5926         (python-skeleton-add-menu-items): Remove unused var `items'.
5928         * international/mule-cmds.el: Require CL.
5929         (find-coding-systems-for-charsets): Avoid add-to-list.
5930         (sanitize-coding-system-list): New function, extracted from
5931         select-safe-coding-system-interactively.
5932         (select-safe-coding-system-interactively): Use it.
5933         (read-input-method-name): Accept symbols for `default'.
5935         * emacs-lisp/advice.el (defadvice): Add indent rule.
5937 2013-09-05  Daniel Hackney  <dan@haxney.org>
5939         * dired-x.el:
5940         * net/ange-ftp.el:
5941         * net/browse-url.el:
5942         * net/dbus.el:
5943         * net/eudc.el:
5944         * net/eudcb-ldap.el:
5945         * net/eww.el:
5946         * net/imap.el:
5947         * printing.el:
5948         * vc/ediff-diff.el:
5949         * vc/ediff-init.el:
5950         * vc/ediff-merg.el:
5951         * vc/ediff-mult.el:
5952         * vc/ediff-util.el:
5953         * vc/ediff-wind.el:
5954         * vc/ediff.el:
5955         * vc/emerge.el:
5956         * vc/pcvs.el:
5957         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5958         byte compiler.  Remove some unused let-bound variables.
5960 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5962         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5963         a "ref-cell", since it gets better optimized (bug#14883).
5965 2013-09-05  Glenn Morris  <rgm@gnu.org>
5967         * progmodes/cc-awk.el (c-forward-sws): Declare.
5969 2013-09-04  Glenn Morris  <rgm@gnu.org>
5971         * generic-x.el [rul-generic-mode]: Require cc-mode.
5972         (c++-mode-syntax-table): Declare.
5973         (rul-generic-mode-syntax-table): Init in the defvar.
5975 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5977         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5978         (vc-do-command, vc-set-async-update):
5979         * vc/vc-mtn.el (vc-mtn-dir-status):
5980         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5981         (vc-hg-pull, vc-hg-merge-branch):
5982         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5983         (vc-git-merge-branch):
5984         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5985         (vc-cvs-dir-status-files):
5986         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5987         (vc-bzr-dir-status-files):
5988         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5989         * vc/vc-annotate.el: Use lexical-binding.
5990         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5991         (vc-sentinel-movepoint): Declare.
5992         (vc-annotate): Don't use `goto-line'.
5993         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5994         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5995         (vc-sentinel-movepoint): Declare.
5996         * vc/vc-svn.el: Use lexical-binding.
5997         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5998         * vc/vc-sccs.el:
5999         * vc/vc-rcs.el: Use lexical-binding.
6001         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6002         `deleted'.  Don't drop errors silently.
6004         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6006 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
6008         * vc/vc.el (vc-ignore): Rewrite.
6009         (vc-default-ignore): New function.
6010         (vc-default-ignore-completion-table): Use find-ignore-file.
6012         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6013         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6014         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6015         Remove.  Most code moved to vc.el.
6017 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6019         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6020         * net/tramp-smb.el (tramp-smb-get-file-entries):
6021         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6022         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6024         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6025         Update call to it.
6026         (eww-change-select): Remove unused var `properties'.
6027         (eww-make-unique-file-name): Remove unused var `base'.
6029         * finder.el (finder-compile-keywords): Don't mess with windows.
6031         * calculator.el (calculator-funcall): Fix typo in last change.
6033         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6035         * emacs-lisp/package.el (package-activate-1): Don't let a missing
6036         <pkg>-autoloads.el file stop us.
6038         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6039         warnings, and factor out common code.
6041 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
6043         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6044         two-character operators and whether the character preceding them
6045         changes their meaning (Bug#15208).
6047 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6049         Format code sent to Python shell for robustness.
6050         * progmodes/python.el (python-shell-buffer-substring):
6051         New function.
6052         (python-shell-send-region, python-shell-send-buffer): Use it.
6054 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
6056         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6057         * net/tramp.el (tramp-user-error): ... here.
6058         (tramp-find-method, tramp-check-proper-host)
6059         (tramp-dissect-file-name, tramp-debug-message)
6060         (tramp-handle-shell-command):
6061         * net/tramp-adb.el (tramp-adb-handle-shell-command):
6062         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6064         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6066 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
6068         * avoid.el (mouse-avoidance-point-position)
6069         (mouse-avoidance-too-close-p): Handle case where posn-at-point
6070         returns nil.
6072 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6074         * progmodes/python.el (python-shell-completion-get-completions):
6075         Drop use of deleted `comint-last-prompt-overlay'.
6076         (python-nav-if-name-main): New command.
6078 2013-09-01  Glenn Morris  <rgm@gnu.org>
6080         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6081         Avoid leading space in $wins.  Otherwise the sed command used by
6082         eg compile-main ends up containing "/*.el".  (Bug#15170)
6084         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
6086 2013-08-30  Glenn Morris  <rgm@gnu.org>
6088         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6089         Fix is-this-a-directory logic.  (Bug#15220)
6091 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6093         * textmodes/css-mode.el: Use SMIE.
6094         (css-smie-grammar): New var.
6095         (css-smie--forward-token, css-smie--backward-token)
6096         (css-smie-rules): New functions.
6097         (css-mode): Use them.
6098         (css-navigation-syntax-table): Remove var.
6099         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6100         (css-indent-calculate, css-indent-line): Remove functions.
6102         Misc changes to reduce use of `(lambda...); and other cleanups.
6103         * cus-edit.el: Use lexical-binding.
6104         (customize-push-and-save, customize-apropos)
6105         (custom-buffer-create-internal): Use closures.
6106         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6107         * progmodes/ada-xref.el: Use setq.
6108         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6109         * dframe.el: Use lexical-binding.
6110         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
6111         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6112         * descr-text.el: Use lexical-binding.
6113         (describe-text-widget, describe-text-sexp, describe-property-list):
6114         Use closures.
6115         * comint.el (comint-history-isearch-push-state): Use a closure.
6116         * calculator.el: Use lexical-binding.
6117         (calculator-number-to-string): Make it work with lexical-binding.
6118         (calculator-funcall): Same and use cl-letf.
6120         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6121         (lisp--company-doc-string, lisp--company-location): New functions.
6122         (lisp-completion-at-point): Use them to improve Company support.
6124         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6125         params of lambda expressions.
6126         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6127         (ruby-smie--opening-pipe-p): New function.
6128         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6129         symbols and matched |...| for formal params.
6130         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6131         from being treated as hanging.  Handle "rescue".
6133 2013-08-29  Glenn Morris  <rgm@gnu.org>
6135         * progmodes/cc-engine.el (c-pull-open-brace):
6136         Move definition before use.
6138 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6140         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6141         are immutable.  Don't use `unsafe' any more.
6142         (cl--defsubst-expand): Don't substitute at the same time as keeping
6143         a residual unused let-binding.  Don't use `unsafe' any more.
6145 2013-08-29  Glenn Morris  <rgm@gnu.org>
6147         * calendar/cal-china.el (calendar-chinese-year-cache):
6148         Recenter on 2015.
6150         * nxml/nxml-util.el (nxml-debug-clear-inside):
6151         Use cl-loop rather than loop.
6153         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6155         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6157 2013-08-28  Glenn Morris  <rgm@gnu.org>
6159         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6161         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6163         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6165 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6167         * simple.el (repeat-complex-command--called-interactively-skip):
6168         New function.
6169         (repeat-complex-command): Use it (bug#14136).
6171         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6172         (c-define-abbrev-table): Add `doc' argument.
6173         (c-mode-abbrev-table, c++-mode-abbrev-table)
6174         (objc-mode-abbrev-table, java-mode-abbrev-table)
6175         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6176         (awk-mode-abbrev-table): Use it.
6177         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6178         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6179         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6180         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6181         Move initialization into the declaration; and remove any
6182         autoload cookie.
6184         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6185         and dynamic let binding.
6187         * vc/smerge-mode.el: Remove redundant :group args.
6189         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6190         to load-path.
6192 2013-08-28  Juri Linkov  <juri@jurta.org>
6194         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6195         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6196         (isearch-other-meta-char): Handle an undefined shifted printing
6197         character by downshifting it.  (Bug#15200)
6199 2013-08-28  Juri Linkov  <juri@jurta.org>
6201         * isearch.el (isearch-search): Change regexp error message for
6202         non-regexp searches.  (Bug#15166)
6204 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
6206         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6207         for portability to hosts where /bin/sh has problems.
6209 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6211         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6213 2013-08-27  Juri Linkov  <juri@jurta.org>
6215         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6216         in the keyboard macro.  (Bug#15126)
6218 2013-08-27  Juri Linkov  <juri@jurta.org>
6220         * isearch.el (isearch-quote-char): Comment out converting unibyte
6221         to multibyte, thus syncing with its `quoted-insert' counterpart.
6222         (Bug#15166)
6224 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
6226         * window.el (display-buffer-use-some-window): Add missing
6227         argument in call of get-largest-window (Bug#15185).
6228         Reported by Stephen Leake.
6230 2013-08-27  Glenn Morris  <rgm@gnu.org>
6232         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6234 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6236         * progmodes/python.el (python-font-lock-keywords): Don't return nil
6237         from a matcher-function unless there's no more matches (bug#15161).
6239 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6241         * minibuffer.el: Revert change from 2013-08-20.
6243         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6244         with text property `tramp-default', if appropriate.
6245         (tramp-check-proper-host): New defun.
6246         (tramp-dissect-file-name): Do not check hostname.  Revert change
6247         of 2013-03-18.
6248         (tramp-backtrace): Make VEC-OR-PROC optional.
6250         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6251         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6252         * net/tramp-sh.el (tramp-maybe-open-connection):
6253         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6254         Apply `tramp-check-proper-host'.
6256 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
6258         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6259         lambda expression in order to have `describe-variable' display it.
6261 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6263         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6264         BUF can be optional.  (Bug#15186)
6266 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
6268         * progmodes/flymake.el (flymake-get-real-file-name-function):
6269         Fix broken customization.  (Bug#15184)
6271 2013-08-25  Alan Mackenzie  <acm@muc.de>
6273         Improve indentation of bracelists defined by macros (without "=").
6275         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6276         expansion begins with "{", regard it as bracelist when it doesn't
6277         contain a ";".
6279         Parse C++ inher-intro when there's a template split over 2 lines.
6281         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6282         rigorously the search for "class" etc. followed by ":".
6284         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6285         random languages a regexp which never matches rather than nil.
6287         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6289         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6290         (c-awk-regexp-one-line-possibly-open-char-list-re)
6291         (c-awk-one-line-possibly-open-regexp-re)
6292         (c-awk-one-line-non-syn-ws*-re): Remove.
6293         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6294         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6295         (c-awk-space*-unclosed-regexp-/-re): New constants.
6296         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6297         aren't regexp delimiters.
6299         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6300         handling for a rare situation in AWK Mode involving unterminated
6301         strings/regexps.
6303 2013-08-23  Glenn Morris  <rgm@gnu.org>
6305         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6307         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6309         * files.el (create-file-buffer): If the result would begin with
6310         spaces, prepend a "|" instead of removing them.  (Bug#15162)
6312 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6314         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6315         text-properties (bug#15155).
6317         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6318         exist any more.
6319         (calc-keypad-redraw): Remove unused var `pad'.
6320         (calc-keypad-press): Remove unused var `menu'.
6322 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
6324         * window.el (display-buffer-pop-up-frame):
6325         Call pop-up-frame-function with BUFFER current so `make-frame' will
6326         use it as the new frame's buffer (Bug#15133).
6328 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6330         * calendar/timeclock.el: Minor cleanups.
6331         (timeclock-ask-before-exiting, timeclock-use-display-time):
6332         Use `symbol'.
6333         (timeclock-modeline-display): Define as alias before the
6334         actual definition.
6335         (timeclock-mode-line-display): Use define-minor-mode.
6336         (timeclock-day-list-template): Make it a function, add an argument.
6337         (timeclock-day-list-required, timeclock-day-list-length)
6338         (timeclock-day-list-debt, timeclock-day-list-span)
6339         (timeclock-day-list-break): Adjust calls accordingly.
6341 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6343         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6344         Use read--expression so that completion works again.
6346 2013-08-21  Sam Steingold  <sds@gnu.org>
6348         Add rudimentary inferior shell interaction
6349         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6350         (sh-set-shell): Reset it.
6351         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6352         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6354 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6356         * align.el: Use lexical-binding.
6357         (align-region): Simplify accordingly.
6359 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
6361         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6363         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6364         `non-essential' up.
6366 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
6368         * net/tramp.el:
6369         * net/tramp-adb.el:
6370         * net/tramp-cmds.el:
6371         * net/tramp-ftp.el:
6372         * net/tramp-gvfs.el:
6373         * net/tramp-gw.el:
6374         * net/tramp-sh.el: Don't wrap external variable declarations by
6375         `eval-when-compile'.
6377 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6379         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6380         now that Emacs supports ImageMagick animations.
6382 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
6384         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6385         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6387 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
6389         * window.el (mouse-autoselect-window-select): Do autoselect when
6390         mouse pointer is on margin.
6392 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
6394         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
6396 2013-08-16  Glenn Morris  <rgm@gnu.org>
6398         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6399         Handle "Remote Directory" response of some clients.  (Bug#15058)
6401         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6402         Tweak warning.  (Bug#14926)
6404         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6405         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
6407         * image-mode.el (image-mode-map): Add menu items to reverse,
6408         increase, decrease, reset animation speed.
6409         (image--set-speed, image-increase-speed, image-decrease-speed)
6410         (image-reverse-speed, image-reset-speed): New functions.
6411         (image-mode-map): Add bindings for speed commands.
6413         * image.el (image-animate-get-speed, image-animate-set-speed):
6414         New functions.
6415         (image-animate-timeout): Respect image :speed property.
6417 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6419         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6420         previous line (bug#15101).
6421         (debugger-eval-expression, debugger-record-expression):
6422         Use read--expression (bug#15102).
6424 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
6426         Remove byte compiler warnings, visible when compiling with
6427         `byte-compile-force-lexical-warnings' set to t.
6429         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6430         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6431         (tramp-handle-unhandled-file-name-directory)
6432         (tramp-handle-file-notify-add-watch, tramp-action-login)
6433         (tramp-action-succeed, tramp-action-permission-denied)
6434         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6435         arguments with "_".
6437         * net/tramp-adb.el (tramp-adb-parse-device-names)
6438         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6439         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6440         (tramp-adb-handle-file-truename): Remove unused arguments.
6442         * net/tramp-cache.el (tramp-flush-directory-property)
6443         (tramp-flush-connection-property, tramp-list-connections)
6444         (tramp-parse-connection-properties): Prefix unused arguments with "_".
6446         * net/tramp-compat.el (tramp-compat-make-temp-file):
6447         Rename FILENAME to F.
6449         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6450         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6451         (tramp-zeroconf-parse-workstation-device-names)
6452         (tramp-zeroconf-parse-webdav-device-names)
6453         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6455         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6456         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6458         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6459         arguments.
6460         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6461         (tramp-sh-handle-insert-file-contents-literally)
6462         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6463         with "_".
6464         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6465         Remove unused variables.
6467         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6468         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6469         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6471         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6472         Make them a defconst.
6473         (tramp-uuencode-region): Remove unused variable.
6475 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
6477         * frameset.el (frameset--prop-setter): New function.
6478         (frameset-prop): Add gv-setter declaration.
6479         (frameset-filter-minibuffer): Deal with the case that the minibuffer
6480         parameter was already set in FILTERED.  Doc fix.
6481         (frameset--record-minibuffer-relationships): Allow saving a
6482         minibufferless frame without its corresponding minibuffer frame.
6483         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6484         frame, if the frame id matches.
6485         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6486         frames before orphaned ones.
6487         (frameset-restore): Warn about orphaned windows, instead of error out.
6489 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
6491         * window.el (window-make-atom): Don't overwrite parameter
6492         already present.
6493         (display-buffer-in-atom-window): Handle special case where we
6494         split an already atomic window.
6495         (window--major-non-side-window, display-buffer-in-side-window)
6496         (window--side-check): Ignore minibuffer window when walking
6497         window tree.
6498         (window-deletable-p): Return 'frame only if no other frame uses
6499         our minibuffer window.
6500         (record-window-buffer): Run buffer-list-update-hook.
6501         (split-window): Make sure window--check-frame won't destroy an
6502         existing atomic window in case the new window gets nested
6503         inside.
6504         (display-buffer-at-bottom): Ignore minibuffer window when
6505         walking window tree.  Don't split a side window.
6506         (pop-to-buffer): Don't set-buffer here, the select-window call
6507         should do that.
6508         (mouse-autoselect-window-select): Autoselect only if we are in the
6509         text portion of the window.
6511 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6513         * net/shr.el (shr-parse-image-data): New function to grab both the
6514         data itself and the Content-Type.
6515         (shr-put-image): Use it.
6517         * net/eww.el (eww-display-image): Ditto.
6519         * image.el (image-content-type-suffixes): New variable.
6521 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6523         * progmodes/python.el (python-imenu--build-tree)
6524         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6526 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
6528         * simple.el (backward-word): Mention the optional argument.
6530 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6532         * frameset.el (frameset--make): Rename constructor from make-frameset.
6533         (frameset-p, frameset-valid-p): Don't autoload.
6534         (frameset-valid-p): Use normal accessors.
6536 2013-08-13  Glenn Morris  <rgm@gnu.org>
6538         * progmodes/compile.el (compile-command): Tweak example in doc.
6539         * obsolete/scribe.el (scribe-mode):
6540         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
6542         * mail/feedmail.el (feedmail-confirm-outgoing)
6543         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6545         * cus-start.el (truncate-partial-width-windows): Fix type.
6547         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6549         * net/shr.el (shr-table-horizontal-line): Fix custom type.
6551 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6553         * emacs-lisp/timer.el (timer--time-setter): New function.
6554         (timer--time): Use it as gv-setter.
6556         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6557         setter is not a symbol.
6559 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
6561         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6562         if sending fails.  This makes debugging easier.
6564 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
6566         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6567         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6568         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6570 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
6572         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6574 2013-08-12  Glenn Morris  <rgm@gnu.org>
6576         * format.el (format-annotate-function):
6577         Handle read-only text properties in the source.  (Bug#14887)
6579 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6581         * net/eww.el (eww-display-html): Ignore coding system errors.
6582         One web site uses "utf-8lias" as the coding system.
6584 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
6586         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6588 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
6590         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6591         (tutorial--detailed-help): Remove unused local variables.
6592         (tutorial--save-tutorial-to): Use ignore-errors.
6593         (help-with-tutorial): Use looking-at-p.
6595         * view.el (view-buffer-other-window, view-buffer-other-frame):
6596         Mark unused arguments.
6598         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6599         (woman-select-symbol-fonts, woman, woman-find-file)
6600         (woman-insert-file-contents, woman-non-underline-faces):
6601         Use string-match-p.
6602         (woman1-unquote): Move declaration.
6604         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6605         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
6606         argument.  Remove unused local variable.
6607         (xml-parse-elem-type): Use string-match-p.
6608         (xml-substitute-numeric-entities): Use ignore-errors.
6610         * calculator.el (calculator): Mark unused argument.
6611         (calculator-paste, calculator-quit, calculator-integer-p):
6612         Use ignore-errors.
6613         (calculator-string-to-number, calculator-decimal, calculator-exp)
6614         (calculator-op-or-exp): Use string-match-p.
6616         * dired.el (dired-buffer-more-recently-used-p): Declare.
6617         (dired-insert-set-properties, dired-insert-old-subdirs):
6618         Use ignore-errors.
6620         * dired-aux.el (dired-compress): Use ignore-errors.
6621         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6622         (dired-do-async-shell-command, dired-do-shell-command)
6623         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6624         (dired-insert-subdir-validate): Use string-match-p.
6625         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6626         (dired-add-entry): Use string-match-p, looking-at-p.
6627         (dired-insert-subdir-newpos): Remove unused local variable.
6629         * filenotify.el (file-notify-callback): Remove unused local variable.
6631         * filesets.el (filesets-error): Mark unused argument.
6632         (filesets-which-command-p, filesets-filter-dir-names)
6633         (filesets-directory-files, filesets-get-external-viewer)
6634         (filesets-ingroup-get-data): Use string-match-p.
6636         * find-file.el (ff-other-file-name, ff-other-file-name)
6637         (ff-find-the-other-file, ff-cc-hh-converter):
6638         Remove unused local variables.
6639         (ff-get-file-name): Use string-match-p.
6640         (ff-all-dirs-under): Use ignore-errors.
6642         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6643         (follow-select-if-visible): Remove unused local variable.
6645         * forms.el (read-file-filter): Move declaration.
6646         (forms--make-format, forms--make-parser, forms-insert-record):
6647         Quote function with #'.
6648         (forms--update): Use string-match-p.  Quote function with #'.
6650         * help-mode.el (help-dir-local-var-def): Mark unused argument.
6651         (help-make-xrefs): Use looking-at-p.
6652         (help-xref-on-pp): Use looking-at-p, ignore-errors.
6654         * ibuffer.el (ibuffer-ext-visible-p): Declare.
6655         (ibuffer-confirm-operation-on): Use string-match-p.
6657         * msb.el (msb-item-handler, msb-dired-item-handler):
6658         Mark unused arguments.
6660         * ses.el (ses-decode-cell-symbol)
6661         (ses-kill-override): Remove unused local variable.
6662         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6663         (ses-load): Use ignore-errors, looking-at-p.
6664         (ses-jump-safe): Use ignore-errors.
6665         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6667         * tabify.el (untabify, tabify): Mark unused arguments.
6669         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6670         Mark unused argument.
6671         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6672         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6674         * emacs-lisp/timer.el (timer--time): Define setter with
6675         gv-define-setter to avoid deprecation warning.
6677         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6678         (*record-cmpl-statistics-p*): Remove (was commented out).
6679         (cmpl-statistics-block): Remove (body was commented out).
6680         All callers changed.
6681         (add-completions-from-buffer, load-completions-from-file):
6682         Remove unused variables.
6684 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6686         * filecache.el (file-cache-delete-file-list):
6687         Print message only when told so.
6688         (file-cache-files-matching): Use #' in mapconcat argument.
6690         * ffap.el (ffap-url-at-point): Fix reference to variable
6691         thing-at-point-default-mail-uri-scheme.
6693 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6695         * subr.el (define-error): New function.
6696         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6697         error-file-not-found and define with define-error.
6698         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6699         and define with define-error.
6700         * userlock.el (file-locked, file-supersession):
6701         * simple.el (mark-inactive):
6702         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6703         * progmodes/ada-mode.el (ada-mode-errors):
6704         * play/life.el (life-extinct):
6705         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6706         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6707         * nxml/rng-util.el (rng-error):
6708         * nxml/rng-uri.el (rng-uri-error):
6709         * nxml/rng-match.el (rng-compile-error):
6710         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6711         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6712         * nxml/nxml-rap.el (nxml-scan-error):
6713         * nxml/nxml-outln.el (nxml-outline-error):
6714         * net/soap-client.el (soap-error):
6715         * net/gnutls.el (gnutls-error):
6716         * net/ange-ftp.el (ftp-error):
6717         * mpc.el (mpc-proc-error):
6718         * json.el (json-error, json-readtable-error, json-unknown-keyword)
6719         (json-number-format, json-string-escape, json-string-format)
6720         (json-key-format, json-object-format):
6721         * jka-compr.el (compression-error):
6722         * international/quail.el (quail-error):
6723         * international/kkc.el (kkc-error):
6724         * emacs-lisp/ert.el (ert-test-failed):
6725         * calc/calc.el (calc-error, inexact-result, math-overflow)
6726         (math-underflow):
6727         * bookmark.el (bookmark-error-no-filename):
6728         * epg.el (epg-error): Define with define-error.
6730         * time.el (display-time-event-handler)
6731         (display-time-next-load-average): Don't call sit-for since it seems
6732         unnecessary (bug#15045).
6734         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6735         Use #' instead of ' to quote functions.
6736         (checkdoc-output-mode): Use setq-local.
6737         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6738         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6739         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6740         (checkdoc-ispell, checkdoc-ispell-current-buffer)
6741         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6742         (checkdoc-ispell-message-text, checkdoc-ispell-start)
6743         (checkdoc-ispell-continue, checkdoc-ispell-comments)
6744         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6746         * ido.el (ido-completion-help): Fix up compiler warning.
6748 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6750         * frameset.el (frameset-p): Add autoload cookie.
6751         (frameset--jump-to-register): New function, based on code moved from
6752         register.el.
6753         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
6755         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6756         (frameset-restore, frameset-save, frameset-session-filter-alist):
6757         Remove declarations.
6758         (register-alist): Doc fix.
6759         (frameset-to-register): Move to frameset.el.
6760         (jump-to-register, describe-register-1): Remove frameset-specific code.
6762 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6764         * allout-widgets.el (allout-widgets-pre-command-business)
6765         (allout-widgets-post-command-business)
6766         (allout-widgets-after-change-handler)
6767         (allout-decorate-item-and-context, allout-set-boundary-marker)
6768         (allout-body-modification-handler)
6769         (allout-graphics-modification-handler): Mark ignored arguments.
6770         (allout-widgets-post-command-business)
6771         (allout-widgets-exposure-change-processor)
6772         (allout-widgets-exposure-undo-processor)
6773         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6774         (allout-parse-item-at-point, allout-decorate-item-guides)
6775         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6776         * allout.el (epa-passphrase-callback-function): Declare.
6777         (allout-overlay-insert-in-front-handler)
6778         (allout-overlay-interior-modification-handler)
6779         (allout-isearch-end-handler, allout-chart-siblings)
6780         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6781         (allout-yank-processing, allout-process-exposed)
6782         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6783         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6784         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6785         (lisp-indent-defform): Mark ignored arguments.
6786         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
6787         (calculate-lisp-indent): Remove unused variables.
6788         * international/characters.el (indian-2-column, arabic-2-column)
6789         (tibetan): Mark ignored arguments.
6790         (use-cjk-char-width-table): Mark ignored arguments.
6791         Remove unused variables.
6792         * international/fontset.el (build-default-fontset-data)
6793         (x-compose-font-name, create-fontset-from-fontset-spec):
6794         Mark ignored arguments.
6795         (fontset-plain-name): Remove unused variables.
6796         * international/mule.el (charset-id, charset-bytes, generic-char-p)
6797         (keyboard-coding-system): Mark ignored arguments.
6798         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
6799         * help.el (resize-temp-buffer-window):
6800         * window.el (display-buffer-in-major-side-window)
6801         (display-buffer-in-side-window, display-buffer-in-previous-window):
6802         Remove unused variables.
6803         * isearch.el (isearch-forward-symbol):
6804         * version.el (emacs-bzr-version-bzr):
6805         * international/mule-cmds.el (current-language-environment):
6806         * term/common-win.el (x-handle-iconic, x-handle-geometry)
6807         (x-handle-display):
6808         * term/pc-win.el (x-list-fonts, x-display-planes)
6809         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6810         (x-server-version, x-display-screens, x-display-mm-height)
6811         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6812         (x-selection-owner-p, x-own-selection-internal)
6813         (x-disown-selection-internal, x-get-selection-internal)
6814         (msdos-initialize-window-system):
6815         * term/tty-colors.el (tty-color-alist, tty-color-clear):
6816         * term/x-win.el (x-handle-no-bitmap-icon):
6817         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6818         (vc-default-find-file-hook, vc-default-extra-menu):
6819         Mark ignored arguments.
6821 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6823         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6824         break-condition in the context of the debugged code (bug#12685).
6826 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
6828         * comint.el:
6829         Do not use an overlay to highlight the last prompt.  (Bug#14744)
6830         (comint-mode): Make comint-last-prompt buffer local.
6831         (comint-last-prompt): New variable.
6832         (comint-last-prompt-overlay): Remove.  Superseded by
6833         comint-last-prompt.
6834         (comint-snapshot-last-prompt, comint-output-filter):
6835         Use comint-last-prompt.
6837 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6839         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
6840         (frameset-save): Check validity of the resulting frameset.
6842 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
6844         * ido.el (ido-record-command): Add doc string.
6846 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6848         * frameset.el (frameset): Do not disable creation of the default
6849         frameset-p predicate.  Doc fix.
6850         (frameset-valid-p): New function, copied from the old predicate-p.
6851         Add additional checks.
6852         (frameset-restore): Check with frameset-valid-p.
6853         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6854         (frameset-name, frameset-description, frameset-properties)
6855         (frameset-states): Add docstring.
6856         (frameset-session-filter-alist, frameset-persistent-filter-alist)
6857         (frameset-filter-alist): Doc fixes.
6859 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6861         * frameset.el (frameset-p, frameset-prop): Doc fixes.
6863 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6865         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6866         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6867         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6868         (byte-compile-normal-call): Remove obsolescence check.
6870 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6872         * frameset.el (frameset-restore): Doc fix.
6874         * register.el (frameset-frame-id, frameset-frame-with-id)
6875         (frameset-p, frameset-restore, frameset-save): Declare.
6876         (register-alist): Document framesets.
6877         (frameset-session-filter-alist): Declare.
6878         (frameset-to-register): New function.
6879         (jump-to-register): Implement jumping to framesets.  Doc fix.
6880         (describe-register-1): Describe framesets.
6882         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6884 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6886         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6887         Use lexical-binding.
6889         * frameset.el (frameset): Use type vector, not list (incompatible
6890         change).  Do not declare a new constructor, use the default one.
6891         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6892         `name' and `description', respectively, and add read-only slot
6893         `timestamp'.  Doc fixes.
6894         (frameset-copy, frameset-persistent-filter-alist)
6895         (frameset-filter-alist, frameset-switch-to-gui-p)
6896         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6897         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6898         (frameset-filter-iconified, frameset-keep-original-display-p):
6899         Doc fixes.
6900         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6901         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6902         Doc fix.
6903         (frameset-p): Adapt to change to vector and be more thorough.
6904         Change arg name to OBJECT.  Doc fix.
6905         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6906         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6907         All callers changed.
6908         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6909         All callers changed.
6910         (frameset--record-minibuffer-relationships): Rename from
6911         frameset--process-minibuffer-frames.  All callers changed.
6912         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6913         Use new default constructor (again).  Doc fix.
6914         (frameset--find-frame-if): Rename from `frameset--find-frame.
6915         All callers changed.
6916         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6917         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6918         Doc fix.
6919         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6920         PARAMETERS and WINDOW-STATE, respectively.
6921         (frameset-restore): Add new keyword argument PREDICATE.
6922         Reset frameset--target-display to nil.  Doc fix.
6924 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6926         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6927         (bat-mode): Use it.
6928         (bat-mode-syntax-table): Mark \n as end-of-comment.
6929         (bat-font-lock-keywords): Remove comment rule.
6931         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6932         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6934         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6935         (byte-compile-callargs-warn): Use `push'.
6936         (byte-compile-arglist-warn): Ignore higher-order "calls".
6937         (byte-compile-file-form-autoload): Use `pcase'.
6938         (byte-compile-function-form): If quoting a symbol, check that it exists.
6940 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6942         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6943         and add a few popular commands found in batch files.
6944         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6945         (dos-mode): Doc fixes.
6947 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6949         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6950         (dos-mode): Use setq-local.  Add space after "rem".
6951         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6952         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6954 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6956         * progmodes/dos.el: New file.
6957         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6958         dos-mode.
6960 2013-08-06  Glenn Morris  <rgm@gnu.org>
6962         * calendar/calendar.el: Add new faces, and day-header-array.
6963         (calendar-weekday-header, calendar-weekend-header)
6964         (calendar-month-header): New faces.
6965         (calendar-day-header-construct): New function.
6966         (calendar-day-header-width): Also :set calendar-day-header-array.
6967         (calendar-american-month-header, calendar-european-month-header)
6968         (calendar-iso-month-header): Use calendar- faces.
6969         (calendar-generate-month):
6970         Use calendar-day-header-array for day headers; apply faces to them.
6971         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6972         (calendar-abbrev-construct): Add optional maxlen argument.
6973         (calendar-day-name-array): Doc fix.
6974         (calendar-day-name-array, calendar-abbrev-length)
6975         (calendar-day-abbrev-array):
6976         Also :set calendar-day-header-array, and maybe redraw.
6977         (calendar-day-header-array): New option.  (Bug#15007)
6978         (calendar-font-lock-keywords): Set to nil and make obsolete.
6979         (calendar-day-name): Add option to use header array.
6981 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6983         * net/shr.el (shr-render-td): Remove debugging.
6984         (shr-render-td): Make width computation consistent by defaulting
6985         all zero-width columns to 10 characters.  This may not be optimal,
6986         but it's at least consistent.
6987         (shr-make-table-1): Redo last change to fix the real problem in
6988         colspan handling.
6990 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6992         * files.el (cache-long-line-scans):
6993         Make obsolete alias to `cache-long-scans'.
6995 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6997         * frameset.el (frameset, frameset-filter-alist)
6998         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6999         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7000         (frameset-compute-pos): Rename from frameset--compute-pos,
7001         and add docstring.
7002         (frameset-move-onscreen): Use frameset-compute-pos.
7003         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7005         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7006         Fix typos in docstrings.
7008 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
7010         * frame.el (get-other-frame): Tiny cleanup.
7012 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
7014         * vc/vc.el (vc-default-ignore-completion-table):
7015         Silence byte-compiler warning.
7017         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7018         slot, which can indeed be nil.
7019         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7020         Move entry for `left' from persistent to live filter alist.
7021         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7022         Doc fixes.
7023         (frameset-filter-params): When restoring a frame, copy items added to
7024         `filtered', to avoid unwittingly modifying the original parameters.
7025         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
7026         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7028         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7029         to use looking-at-p instead of looking-at.  (Bug#15028)
7031 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7033         Revert introduction of isearch-filter-predicates (bug#14714).
7034         Rely on add-function instead.
7035         * isearch.el (isearch-filter-predicates): Rename it back to
7036         isearch-filter-predicate.
7037         (isearch-message-prefix): Use advice-function-mapc and advice
7038         properties to get the isearch-message-prefix.
7039         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7040         instead of run-hook-with-args-until-failure.
7041         (isearch-filter-visible): Not obsolete any more.
7042         * loadup.el: Preload nadvice.
7043         * replace.el (perform-replace): Revert to funcall
7044         instead of run-hook-with-args-until-failure.
7045         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7046         * dired-aux.el (dired-isearch-filenames-mode): Rename from
7047         dired-isearch-filenames-toggle; make it into a proper minor mode.
7048         Use add/remove-function.
7049         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7050         Call the minor-mode rather than add/remove-hook.
7051         (dired-isearch-filter-filenames):
7052         Remove isearch-message-prefix property.
7053         * info.el (Info--search-loop): New function, extracted from Info-search.
7054         Funcall isearch-filter-predicate instead of
7055         run-hook-with-args-until-failure isearch-filter-predicates.
7056         (Info-search): Use it.
7057         (Info-mode): Use isearch-filter-predicate instead of
7058         isearch-filter-predicates.
7060 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7062         Do not call to `selected-window' where it is assumed by default.
7063         Affected functions are `window-minibuffer-p', `window-dedicated-p',
7064         `window-hscroll', `window-width', `window-height', `window-buffer',
7065         `window-frame', `window-start', `window-point', `next-window'
7066         and `window-display-table'.
7067         * abbrev.el (abbrev--default-expand):
7068         * bs.el (bs--show-with-configuration):
7069         * buff-menu.el (Buffer-menu-mouse-select):
7070         * calc/calc.el (calc):
7071         * calendar/calendar.el (calendar-generate-window):
7072         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7073         (diary-make-entry):
7074         * comint.el (send-invisible, comint-dynamic-complete-filename)
7075         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7076         * completion.el (complete):
7077         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7078         * disp-table.el (describe-current-display-table):
7079         * doc-view.el (doc-view-insert-image):
7080         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7081         * ehelp.el (with-electric-help):
7082         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7083         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7084         * emacs-lisp/helper.el (Helper-help-scroller):
7085         * emulation/cua-base.el (cua--post-command-handler-1):
7086         * eshell/esh-mode.el (eshell-output-filter):
7087         * ffap.el (ffap-gnus-wrapper):
7088         * help-macro.el (make-help-screen):
7089         * hilit-chg.el (highlight-compare-buffers):
7090         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7091         * hl-line.el (global-hl-line-highlight):
7092         * icomplete.el (icomplete-simple-completing-p):
7093         * isearch.el (isearch-done):
7094         * jit-lock.el (jit-lock-stealth-fontify):
7095         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7096         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7097         * mpc.el (mpc-tagbrowser, mpc):
7098         * net/rcirc.el (rcirc-any-buffer):
7099         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7100         * play/landmark.el (landmark-max-width, landmark-max-height):
7101         * play/zone.el (zone):
7102         * progmodes/compile.el (compilation-goto-locus):
7103         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7104         * progmodes/etags.el (find-tag-other-window):
7105         * progmodes/fortran.el (fortran-column-ruler):
7106         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7107         * progmodes/verilog-mode.el (verilog-point-text):
7108         * reposition.el (reposition-window):
7109         * rot13.el (toggle-rot13-mode):
7110         * server.el (server-switch-buffer):
7111         * shell.el (shell-dynamic-complete-command)
7112         (shell-dynamic-complete-environment-variable):
7113         * simple.el (insert-buffer, set-selective-display)
7114         (delete-completion-window):
7115         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7116         (speedbar-recenter):
7117         * startup.el (fancy-splash-head):
7118         * textmodes/ispell.el (ispell-command-loop):
7119         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7120         * tutorial.el (help-with-tutorial):
7121         * vc/add-log.el (add-change-log-entry):
7122         * vc/compare-w.el (compare-windows):
7123         * vc/ediff-help.el (ediff-indent-help-message):
7124         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7125         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7126         (ediff-setup-control-frame):
7127         * vc/emerge.el (emerge-position-region):
7128         * vc/pcvs-util.el (cvs-bury-buffer):
7129         * window.el (walk-windows, mouse-autoselect-window-select):
7130         * winner.el (winner-set-conf, winner-undo): Related users changed.
7132 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7134         * frameset.el (frameset--set-id): Doc fix.
7135         (frameset-frame-id, frameset-frame-id-equal-p)
7136         (frameset-locate-frame-id): New functions.
7137         (frameset--process-minibuffer-frames, frameset--reuse-frame)
7138         (frameset-restore): Use them.
7140 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7142         Do not call to `selected-frame' where it is assumed by default.
7143         Affected functions are `raise-frame', `redraw-frame',
7144         `frame-first-window', `frame-terminal' and `delete-frame'.
7145         * calendar/appt.el (appt-disp-window):
7146         * epg.el (epg-wait-for-completion):
7147         * follow.el (follow-delete-other-windows-and-split)
7148         (follow-avoid-tail-recenter):
7149         * international/mule.el (set-terminal-coding-system):
7150         * mail/rmail.el (rmail-mail-return):
7151         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7152         * progmodes/f90.el (f90-add-imenu-menu):
7153         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7154         * server.el (server-switch-buffer):
7155         * simple.el (delete-completion-window):
7156         * talk.el (talk):
7157         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7158         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7159         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7160         * vc/ediff.el (ediff-documentation): Related users changed.
7161         * frame.el (selected-terminal): Remove the leftover.
7163 2013-08-05  Glenn Morris  <rgm@gnu.org>
7165         * calendar/calendar.el (calendar-generate-month):
7166         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7167         (calendar-generate-month, calendar-font-lock-keywords):
7168         Fix for calendar-day-header-width > length of any day name.
7170 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7172         * desktop.el (desktop-clear): Use new name of sort predicate.
7174         * frameset.el (frameset): Add docstring.  Move :version property to its
7175         own `version' slot.
7176         (frameset-copy): Rename from copy-frameset.
7177         (frameset-p): Check more thoroughly.
7178         (frameset-prop): Do not check for :version, which is no longer a prop.
7179         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7180         Use new :never value instead of t.
7181         (frameset-filter-alist): Expand and clarify docstring.
7182         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7183         (frameset-filter-minibuffer, frameset-filter-save-param)
7184         (frameset-filter-restore-param, frameset-filter-iconified):
7185         Add pointer to docstring of frameset-filter-alist.
7186         (frameset-filter-params): Rename filter values to be more meaningful:
7187         :never instead of t, and reverse the meanings of :save and :restore.
7188         (frameset--process-minibuffer-frames): Clarify error message.
7189         (frameset-save): Avoid unnecessary and confusing call to framep.
7190         Use new BOA constructor for framesets.
7191         (frameset--reuse-list): Doc fix.
7192         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
7193         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7194         (frameset-minibufferless-first-p): Doc fix.
7195         Rename from frameset-sort-frames-for-deletion.
7196         (frameset-restore): Doc fixes.  Use new function names.
7197         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7199 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7201         * desktop.el (desktop-restore-forces-onscreen)
7202         (desktop-restore-reuses-frames): Document :keyword constant values.
7203         (desktop-filter-parameters-alist): Remove, now identical to
7204         frameset-filter-alist.
7205         (desktop--filter-tty*): Remove, moved to frameset.el.
7206         (desktop-save-frameset, desktop-restore-frameset):
7207         Do not pass :filters argument.
7209         * frameset.el (frameset-live-filter-alist)
7210         (frameset-persistent-filter-alist): New variables.
7211         (frameset-filter-alist): Use them.  Add autoload cookie.
7212         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7213         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7214         `frameset--id' (it's supposed to be internal to frameset.el).
7215         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
7216         (frameset--initial-params): New function.
7217         (frameset--get-frame): Use it.  Doc fix.
7218         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7219         Accept :all, not 'all.
7220         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7221         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
7222         with fbound symbols.  Fix frame id matching, and remove matching ids if
7223         the frame being restored is deleted.  Obey :delete.
7225 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7227         * subr.el (macrop): New function.
7228         (text-clone--maintaining): New var.
7229         (text-clone--maintain): Rename from text-clone-maintain.  Use it
7230         instead of inhibit-modification-hooks.
7232         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7233         a proxy, so as handle autoloads and redefinitions of the target.
7234         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7236         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7237         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
7238         (pcase--mutually-exclusive-p): New function.
7239         (pcase--split-consp): Use it.
7240         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
7241         mutually exclusive with the current predicate.
7243         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7244         (edebug-macrop): Remove.  Use `macrop' instead.
7245         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
7246         (ad-macro-p):
7247         * eshell/esh-cmd.el (eshell-macrop):
7248         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
7250 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7252         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7253         (advice-mapc): New function, using it.
7254         (advice-function-member-p): New function.
7255         (advice--normalize): Store the cdr in advice--saved-rewrite since
7256         that's the part that will be changed.
7257         (advice--symbol-function): New function.
7258         (advice-remove): Handle removal before the function is defined.
7259         Adjust to new advice--saved-rewrite.
7260         (advice-member-p): Use advice-function-member-p and
7261         advice--symbol-function.
7263 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7265         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7266         (frameset-filter-minibuffer): Doc fix.
7267         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
7268         (frameset--set-id, frameset--process-minibuffer-frames)
7269         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7270         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7272         * desktop.el (desktop-clear): Only delete frames when called
7273         interactively and desktop-restore-frames is non-nil.  Doc fix.
7274         (desktop-read): Set desktop-saved-frameset to nil.
7276 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
7278         * vc/vc.el (vc-ignore): Rewrite.
7279         (vc-default-ignore-completion-table):
7280         (vc--read-lines):
7281         (vc--add-line, vc--remove-regexp): New functions.
7283         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7284         (vc-svn-ignore-completion-table): New function.
7286         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7287         (vc-hg-ignore-completion-table):
7288         (vc-hg-find-ignore-file): New functions.
7290         * vc/vc-git.el (vc-git-ignore): Rewrite.
7291         (vc-git-ignore-completion-table):
7292         (vc-git-find-ignore-file): New functions.
7294         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7296         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7297         (vc-bzr-ignore-completion-table):
7298         (vc-bzr-find-ignore-file): New functions.
7300 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
7302         * frameset.el (frameset-prop): New function and setter.
7303         (frameset-save): Do not modify frame list passed by the caller.
7305 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7307         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7309 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7311         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7312         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7314         * custom.el (custom-initialize-default, custom-initialize-set)
7315         (custom-initialize-reset, custom-initialize-changed): Affect the
7316         toplevel-default-value (bug#6275, bug#14586).
7317         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7318         for bug#6275.
7320 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7322         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7323         Add cl-def* expressions.
7325         * frameset.el (frameset-filter-params): Fix order of arguments.
7327 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7329         Move code related to saving frames to frameset.el.
7330         * desktop.el: Require frameset.
7331         (desktop-restore-frames): Doc fix.
7332         (desktop-restore-reuses-frames): Rename from
7333         desktop-restoring-reuses-frames.
7334         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7335         (desktop-clear): Clear frames too.
7336         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7337         (desktop--filter-tty*, desktop-save, desktop-read):
7338         Use frameset functions.
7339         (desktop-before-saving-frames-functions, desktop--filter-*-color)
7340         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7341         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7342         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7343         (desktop--process-minibuffer-frames, desktop-save-frames)
7344         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7345         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7346         (desktop--sort-states, desktop-restoring-frames-p)
7347         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
7348         (desktop-restoring-frameset-p, desktop-restore-frameset)
7349         (desktop--check-dont-save, desktop-save-frameset): New functions.
7350         (desktop--app-id): New constant.
7351         (desktop-first-buffer, desktop-buffer-ok-count)
7352         (desktop-buffer-fail-count): Move before first use.
7353         * frameset.el: New file.
7355 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7357         * files.el: Use lexical-binding.
7358         (dir-locals-read-from-file): Remove unused `err' variable.
7359         (hack-dir-local-variables--warned-coding): New var.
7360         (hack-dir-local-variables): Use it to avoid repeated warnings.
7361         (make-backup-file-name--default-function): New function.
7362         (make-backup-file-name-function): Use it as default.
7363         (buffer-stale--default-function): New function.
7364         (buffer-stale-function): Use it as default.
7365         (revert-buffer-insert-file-contents--default-function): New function.
7366         (revert-buffer-insert-file-contents-function): Use it as default.
7367         (insert-directory): Avoid add-to-list.
7369         * autorevert.el (auto-revert-handler): Simplify.
7370         Use buffer-stale--default-function.
7372 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
7374         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7376         * whitespace.el (whitespace-ensure-local-variables): New function.
7377         (whitespace-cleanup-region): Call it.
7378         (whitespace-turn-on): Call it.
7380 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
7382         Complete file name handlers.
7384         * net/tramp.el (tramp-handle-set-visited-file-modtime)
7385         (tramp-handle-verify-visited-file-modtime)
7386         (tramp-handle-file-notify-rm-watch): New functions.
7387         (tramp-call-process): Do not bind `default-directory'.
7389         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7390         Order alphabetically.
7391         [access-file, add-name-to-file, dired-call-process]:
7392         [dired-compress-file, file-acl, file-notify-rm-watch]:
7393         [file-ownership-preserved-p, file-selinux-context]:
7394         [make-directory-internal, make-symbolic-link, set-file-acl]:
7395         [set-file-selinux-context, set-visited-file-modtime]:
7396         [verify-visited-file-modtime]: Add handler.
7397         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7399         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7400         [file-notify-add-watch, file-notify-rm-watch]:
7401         [set-file-times, set-visited-file-modtime]:
7402         [verify-visited-file-modtime]: Add handler.
7403         (with-tramp-gvfs-error-message)
7404         (tramp-gvfs-handle-set-visited-file-modtime)
7405         (tramp-gvfs-fuse-file-name): Remove.
7406         (tramp-gvfs-handle-file-notify-add-watch)
7407         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7408         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7410         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7411         Order alphabetically.
7412         [file-notify-rm-watch ]: Use default Tramp handler.
7413         [executable-find]: Remove private handler.
7414         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7415         `default-directory'.
7416         (tramp-sh-handle-executable-find)
7417         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7418         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7419         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7420         Do not use `format' in `tramp-message'.
7422         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7423         [file-notify-rm-watch, set-visited-file-modtime]:
7424         [verify-visited-file-modtime]: Add handler.
7425         (tramp-smb-call-winexe): Do not bind `default-directory'.
7427 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
7429         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7431 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
7433         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7434         use it.
7435         (log-view-diff-changeset): Same.
7436         (log-view-diff-common): Call backend command `previous-revision'
7437         to find out the previous revision, in both cases.  Swap the
7438         variables `to' and `fr', so that `fr' usually refers to the
7439         earlier revision (Bug#14989).
7441 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
7443         * ibuf-ext.el (ibuffer-filter-by-filename):
7444         Make it work with dired buffers too.
7446 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
7448         * emacs-lisp/re-builder.el (reb-color-display-p):
7449         * files.el (save-buffers-kill-terminal):
7450         * net/browse-url.el (browse-url):
7451         * server.el (server-save-buffers-kill-terminal):
7452         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7453         Prefer nil to selected-frame for the first arg of frame-parameter.
7455 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
7457         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7459 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
7461         * minibuffer.el (completion--twq-all): Try and preserve each
7462         completion's case choice (bug#14907).
7464 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7466         * net/network-stream.el (open-network-stream): Mention the new
7467         :nogreeting parameter.
7468         (network-stream-open-starttls): Use the :nogreeting parameter
7469         (bug#14938).
7471         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7473         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7474         more natural than popping.
7476         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7477         (shr-urlify): Highlight under mouse.
7479 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7481         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7483         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7485         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
7486         buffer for output.
7488         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
7489         point-min==1.  Fix search string.  Fix parentheses missing.
7491         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
7492         assume point-min==1.  Fix search string.  Fix parentheses missing.
7494         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7496         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
7497         buffer for output.
7499 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
7501         * frame.el (frame-notice-user-settings): Avoid inflooping when the
7502         initial frame is minibuffer-less.  (Bug#14841)
7504 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
7506         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7507         option.
7509         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7510         (tramp-maybe-open-connection): Use it.
7512 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7514         * desktop.el (desktop--make-frame): Include `minibuffer' in the
7515         minimal set of parameters passed when creating a frame, because
7516         the minibuffer status of a frame cannot be changed later.
7518 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
7520         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7521         replace-regexp-in-string and inadvertent omissions in previous change.
7522         (todo-filter-items): Ensure only file names are comma-separated in
7523         name of filtered items buffer.
7525 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
7527         * desktop.el: Optionally force offscreen frames back onscreen.
7528         (desktop-restoring-reuses-frames): New option.
7529         (desktop--compute-pos, desktop--move-onscreen): New functions.
7530         (desktop--make-frame): Use desktop--move-onscreen.
7532 2013-07-27  Alan Mackenzie  <acm@muc.de>
7534         Fontify a Java generic method as a function.
7535         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7536         value to t.
7538 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
7540         * calendar/todo-mode.el: Add command to rename todo files.
7541         (todo-rename-file): New command.
7542         (todo-key-bindings-t): Add key binding for it.  Change the
7543         bindings of todo-filter-regexp-items(-multifile) to use `x'
7544         instead of `r', since the latter is better suited to the new
7545         renaming command.
7547 2013-07-27  Alan Mackenzie  <acm@muc.de>
7549         Make Java try-with-resources statement parse properly.
7550         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7551         (c-block-stmt-1-2-key): New language constants/variables.
7552         * progmodes/cc-engine.el (c-beginning-of-statement-1)
7553         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7554         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7555         with c-block-stmt-1-2-key.
7557 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
7559         * desktop.el (desktop--make-frame): Apply most frame parameters after
7560         creating the frame to force (partially or totally) offscreen frames to
7561         be restored as such.
7563 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
7565         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7566         (Bug#14948)
7568 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7570         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7571         `base' arg of backtrace-frame.
7573 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
7575         * simple.el (list-processes): Doc fix.
7577 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7579         * desktop.el (desktop--select-frame):
7580         Try harder to reuse existing frames.
7582 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7584         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7585         (edebug-eval): Use backtrace-eval.
7586         (edebug--display, edebug--recursive-edit): Don't let-bind the
7587         edebug-outer-* vars that keep track of variables we locally let-bind.
7588         (edebug-outside-excursion): Don't restore outside values of locally
7589         let-bound vars.
7590         (edebug--display): Use user-error.
7591         (cl-lexical-debug, cl-debug-env): Remove.
7593 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
7595         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7596         are restored to be sure that they are visible before deleting any
7597         remaining ones.
7599 2013-07-26  Matthias Meulien  <orontee@gmail.com>
7601         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7602         vc-print-root-log.  (Bug#14948)
7604 2013-07-26  Richard Stallman  <rms@gnu.org>
7606         Add aliases for encrypting mail.
7607         * epa.el (epa-mail-aliases): New option.
7608         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7609         Bind inhibit-read-only so read-only text doesn't ruin everything.
7610         (epa-mail-default-recipients): New subroutine broken out.
7611         Handle epa-mail-aliases.
7613 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7615         Add support for lexical variables to the debugger's `e' command.
7616         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7617         vars, except for debugger-outer-match-data.
7618         (debugger-frame-number): Move check for "on a function call" from
7619         callers into it.  Add `skip-base' argument.
7620         (debugger-frame, debugger-frame-clear): Simplify accordingly.
7621         (debugger-env-macro): Only reset the state stored in non-variables,
7622         i.e. current-buffer and match-data.
7623         (debugger-eval-expression): Rewrite using backtrace-eval.
7624         * subr.el (internal--called-interactively-p--get-frame): Remove.
7625         (called-interactively-p):
7626         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7627         `base' arg of backtrace-frame instead.
7629 2013-07-26  Glenn Morris  <rgm@gnu.org>
7631         * align.el (align-regexp): Doc fix.  (Bug#14857)
7632         (align-region): Explicit error if subexpression missing/does not match.
7634         * simple.el (global-visual-line-mode):
7635         Do not duplicate the mode lighter.  (Bug#14858)
7637 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
7639         * window.el (display-buffer): In display-buffer bind
7640         split-window-keep-point to t, bug#14829.
7642 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7644         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7645         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7646         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7647         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7648         Change accordingly.
7649         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7650         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7652 2013-07-25  Glenn Morris  <rgm@gnu.org>
7654         * dired-x.el (dired-mark-extension): Convert comment to doc string.
7656 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7658         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7659         parameter to modify-frame-parameters if the value has not changed;
7660         this is a workaround for bug#14949.
7661         (desktop--make-frame): On cl-delete-if call, check parameter name,
7662         not full parameter.
7664 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7666         * vc/vc.el (vc-ignore): New function.
7668         * vc/vc-svn.el (vc-svn-ignore): New function.
7670         * vc/vc-hg.el (vc-hg-ignore): New function.
7672         * vc/vc-git.el (vc-git-ignore): New function.
7674         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7675         (vc-dir-ignore): New function.
7677         * vc/vc-cvs.el (vc-cvs-ignore): New function.
7678         (cvs-append-to-ignore): Move here from pcvs.el.
7680         * vc/vc-bzr.el (vc-bzr-ignore): New function.
7682         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7684 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
7686         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7687         (desktop-restore-frames): Warn when deleting an existing frame failed.
7689 2013-07-24  Glenn Morris  <rgm@gnu.org>
7691         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
7693 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
7695         * filenotify.el (file-notify-supported-p):
7696         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7697         Remove functions.
7699         * autorevert.el (auto-revert-use-notify):
7700         (auto-revert-notify-add-watch):
7701         * net/tramp.el (tramp-file-name-for-operation):
7702         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7703         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7704         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7705         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7706         Remove `file-notify-supported-p' entry.
7708 2013-07-24  Glenn Morris  <rgm@gnu.org>
7710         * printing.el: Replace all uses of deleted ps-windows-system,
7711         ps-lp-system, ps-flatten-list with lpr- versions.
7713 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7715         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7716         checked with memq (bug#14935).
7718         * files.el (revert-buffer-function): Use a non-nil default.
7719         (revert-buffer-preserve-modes): Declare var to
7720         provide access to the `preserve-modes' argument.
7721         (revert-buffer): Let-bind it.
7722         (revert-buffer--default): New function, extracted from revert-buffer.
7724 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7726         * lpr.el: Signal print errors more prominently.
7727         (print-region-function): Don't default to nil.
7728         (lpr-print-region): New function, extracted from print-region-1.
7729         Check lpr's return value and signal an error in case of problem.
7730         (print-region-1): Use it.
7731         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
7732         versions instead.
7733         (ps-printer-name): Default to nil.
7734         (ps-printer-name-option): Default to lpr-printer-switch.
7735         (ps-print-region-function): Don't default to nil.
7736         (ps-postscript-code-directory): Simplify default.
7737         (ps-do-despool): Use lpr-print-region to properly check the outcome.
7738         (ps-string-list, ps-eval-switch, ps-flatten-list)
7739         (ps-flatten-list-1): Remove.
7740         (ps-multibyte-buffer): Avoid setq.
7741         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7742         (print-region-function, ps-print-region-function): Don't set them here.
7744 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
7746         * ido.el (ido-fractionp):
7747         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7748         (ido-max-file-prompt-width, ido-unc-hosts-cache)
7749         (ido-max-directory-size, ido-max-dir-file-cache)
7750         (ido-decorations): Doc fix.
7752         * ansi-color.el: Fix old URL.
7754 2013-07-23  Michael R. Mauger  <michael@mauger.com>
7756         * progmodes/sql.el: Version 3.3
7757         (sql-product-alist): Improve oracle :prompt-cont-regexp.
7758         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7759         (sql-interactive-remove-continuation-prompt): Rewrite, use
7760         functions above.  Fix continuation prompt and complete output line
7761         handling.
7762         (sql-redirect-one, sql-execute): Use `read-only-mode' on
7763         redirected output buffer.
7764         (sql-mode): Restore deleted code (Bug#13591).
7766 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7768         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7770 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
7772         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7774         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7775         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7776         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7778 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7780         * desktop.el (desktop-clear): Simplify; remove useless checks
7781         against invalid buffer names.
7782         (desktop-list*): Use cl-list*.
7783         (desktop-buffer-info, desktop-create-buffer): Simplify.
7785 2013-07-23  Leo Liu  <sdl.web@gmail.com>
7787         * bookmark.el (bookmark-make-record): Restore NAME as a default
7788         value.  (Bug#14933)
7790 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7792         * emacs-lisp/autoload.el (autoload--setup-output): New function,
7793         extracted from autoload--insert-text.
7794         (autoload--insert-text): Remove.
7795         (autoload--print-cookie-text): New function, extracted from
7796         autoload--insert-cookie-text.
7797         (autoload--insert-cookie-text): Remove.
7798         (autoload-generate-file-autoloads): Adjust calls accordingly.
7800         * winner.el (winner-hook-installed-p): Remove.
7801         (winner-mode): Simplify accordingly.
7803         * subr.el (add-to-list): Fix compiler-macro when `append' is
7804         not constant.  Don't use `cl-member' for the base case.
7806         * progmodes/subword.el: Fix boundary case (bug#13758).
7807         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
7808         own group.
7809         (subword-backward-regexp): Make it a constant.
7810         (subword-forward-internal): Don't treat a trailing capital as the
7811         beginning of a word.
7813 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
7815         * emacs-lisp/package.el (package-menu-mode): Don't modify the
7816         global value of tabulated-list-revert-hook (bug#14930).
7818 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
7820         * desktop.el: Require 'cl-lib.
7821         (desktop-before-saving-frames-functions): New hook.
7822         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7823         for frames being saved.  Rename from desktop--save-minibuffer-frames.
7824         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7825         Do not save frames with non-nil `desktop-dont-save' parameter.
7826         Filter out deleted frames.
7827         (desktop--find-frame): Use cl-find-if.
7828         (desktop--select-frame): Use cl-(first|second|third) to access values
7829         of desktop-mini.
7830         (desktop--make-frame): Use cl-delete-if.
7831         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7832         (desktop-restore-frames): Use cl-(first|second|third) to access values
7833         of desktop-mini.  Look for visible frame at the end, not while
7834         restoring frames.
7836         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7837         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7838         Use string-match-p, looking-at-p (bug#14927).
7840 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
7842         * desktop.el (desktop-saved-frame-states):
7843         Rename from desktop--saved-states; all users changed.
7844         (desktop-save-frames): Rename from desktop--save-frames.
7845         Do not save state to desktop file.
7846         (desktop-save): Save desktop-saved-frame-states to desktop file
7847         and reset to nil.
7848         (desktop-restoring-frames-p): New function.
7849         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
7850         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
7851         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
7853         * desktop.el: Correctly restore iconified frames.
7854         (desktop--filter-iconified-position): New function.
7855         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7857 2013-07-20  Glenn Morris  <rgm@gnu.org>
7859         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7860         Let `message' do the formatting.
7861         (def-gdb-preempt-display-buffer): Add explicit format.
7863         * image-dired.el (image-dired-track-original-file):
7864         Use with-current-buffer.
7865         (image-dired-track-thumbnail): Use with-current-buffer.
7866         Avoid changing point of wrong window.
7868         * image-dired.el (image-dired-track-original-file):
7869         Avoid changing point of wrong window.  (Bug#14909)
7871 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
7873         * progmodes/gdb-mi.el (gdb-done-or-error):
7874         Guard against "%" in gdb output.  (Bug#14127)
7876 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
7878         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7879         (Bug#14826)
7881         * international/mule.el (coding-system-iso-2022-flags): Fix last
7882         change.
7884 2013-07-20  Kenichi Handa  <handa@gnu.org>
7886         * international/mule.el (coding-system-iso-2022-flags):
7887         Add `8-bit-level-4'.  (Bug#8522)
7889 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7891         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7892         (bug#14815).
7894         * net/eww.el (eww-process-text-input): Allow inputting when the
7895         point is at the start of the line, as the properties aren't
7896         front-sticky.
7898         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7899         degenerate widths.
7901 2013-07-19  Richard Stallman  <rms@gnu.org>
7903         * epa.el (epa-popup-info-window): Doc fix.
7905         * subr.el (split-string): New arg TRIM.
7907 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7909         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7910         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7912 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7914         * filenotify.el (file-notify--library): Rename from
7915         `file-notify-support'.  Do not autoload.  Adapt all uses.
7916         (file-notify-supported-p): New defun.
7918         * autorevert.el (auto-revert-use-notify):
7919         Use `file-notify-supported-p' instead of `file-notify-support'.
7920         Adapt docstring.
7921         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7923         * net/tramp.el (tramp-file-name-for-operation):
7924         Add `file-notify-supported-p'.
7926         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7927         New defun.
7928         (tramp-sh-file-name-handler-alist): Add it as handler for
7929         `file-notify-supported-p '.
7931         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7932         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7933         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7934         Add `ignore' as handler for `file-notify-*' functions.
7936 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7938         * simple.el (line-move-partial, line-move): Don't start vscroll or
7939         scroll-up if the current line is not taller than the window.
7940         (Bug#14881)
7942 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7944         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7945         highlight question marks in the method names as strings.
7946         (ruby-block-beg-keywords): Inline.
7947         (ruby-font-lock-keyword-beg-re): Extract from
7948         `ruby-font-lock-keywords'.
7950 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7952         * frame.el (blink-cursor-blinks): New defcustom.
7953         (blink-cursor-blinks-done): New defvar.
7954         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7955         (blink-cursor-timer-function): Check if number of blinks has been
7956         done on X and NS.
7957         (blink-cursor-suspend, blink-cursor-check): New defuns.
7959 2013-07-15  Glenn Morris  <rgm@gnu.org>
7961         * edmacro.el (edmacro-format-keys): Fix previous change.
7963 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7965         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7966         The hack didn't work outside English locales anyway.
7968 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7970         * simple.el (define-alternatives): Rename from alternatives-define,
7971         per RMS' suggestion.
7973 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7975         * desktop.el (desktop-restore-frames): Change default to t.
7976         (desktop-restore-in-current-display): Now offer more options.
7977         (desktop-restoring-reuses-frames): New customization option.
7978         (desktop--saved-states): Doc fix.
7979         (desktop-filter-parameters-alist): New variable, renamed and expanded
7980         from desktop--excluded-frame-parameters.
7981         (desktop--target-display): New variable.
7982         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7983         (desktop--filter-tty*, desktop--filter-*-color)
7984         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7985         (desktop--filter-save-desktop-parm)
7986         (desktop-restore-in-original-display-p): New functions.
7987         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7988         (desktop--save-minibuffer-frames): New function, inspired by a similar
7989         function from Martin Rudalics.
7990         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7991         (desktop--restore-in-this-display-p): Remove.
7992         (desktop--find-frame): Rename from desktop--find-frame-in-display
7993         and add predicate argument.
7994         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7995         (desktop--reuse-list): New variable.
7996         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7997         New functions.
7998         (desktop--restore-frames): Add support for "minibuffer-special" frames.
8000 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
8002         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8004 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
8006         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8007         Highlight conversion methods on Kernel.
8009 2013-07-13  Alan Mackenzie  <acm@muc.de>
8011         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8012         and comment it out.  This out-commenting enables certain C++
8013         declarations to be parsed correctly.
8015 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
8017         * international/mule.el (define-coding-system): Doc fix.
8019         * simple.el (default-font-height): Don't call font-info if the
8020         frame's default font didn't change since the frame was created.
8021         (Bug#14838)
8023 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8025         * ido.el (ido-read-file-name): Guard against non-symbol value.
8027 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8029         * progmodes/python.el (python-imenu--build-tree): Fix corner case
8030         in nested defuns.
8032 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8034         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8035         ido-set-matches call.  (Bug#6852)
8037 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
8039         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8040         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8041         Ruby 2.0.
8042         (ruby-font-lock-keywords): Distinguish calls to functions with
8043         module-like names from module references.  Highlight character
8044         literals.
8046 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
8048         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8049         (gdb-send): Handle continued commands.  (Bug#14847)
8051 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8053         * desktop.el (desktop--v2s): Remove unused local variable.
8054         (desktop-save-buffer): Make defvar-local; adjust docstring.
8055         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8056         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8058 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8060         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8062 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
8064         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8065         (Bug#14842)
8067 2013-07-12  Glenn Morris  <rgm@gnu.org>
8069         * doc-view.el: Require cl-lib at runtime too.
8070         (doc-view-remove-if): Remove.
8071         (doc-view-search-next-match, doc-view-search-previous-match):
8072         Use cl-remove-if.
8074         * edmacro.el: Require cl-lib at runtime too.
8075         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8076         (edmacro-mismatch, edmacro-subseq): Remove.
8078         * shadowfile.el: Require cl-lib.
8079         (shadow-remove-if): Remove.
8080         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8081         Use cl-remove-if.
8083         * wid-edit.el: Require cl-lib.
8084         (widget-choose): Use cl-remove-if.
8085         (widget-remove-if): Remove.
8087         * progmodes/ebrowse.el: Require cl-lib at runtime too.
8088         (ebrowse-delete-if-not): Remove.
8089         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8090         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8091         Use cl-delete-if-not.
8093 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8095         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8096         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8098 2013-07-12  Leo Liu  <sdl.web@gmail.com>
8100         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
8102 2013-07-11  Glenn Morris  <rgm@gnu.org>
8104         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8105         (edebug-gensym-index, edebug-gensym):
8106         Remove reimplementation of cl-gensym.
8107         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8109         * thumbs.el: Require cl-lib at run-time too.
8110         (thumbs-gensym-counter, thumbs-gensym):
8111         Remove reimplementation of cl-gensym.
8112         (thumbs-temp-file): Use cl-gensym.
8114         * emacs-lisp/ert.el: Require cl-lib at runtime too.
8115         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8116         (ert--intersection, ert--set-difference, ert--set-difference-eq)
8117         (ert--union, ert--gensym-counter, ert--gensym-counter)
8118         (ert--coerce-to-vector, ert--remove*, ert--string-position)
8119         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8120         (ert-make-test-unbound, ert--expand-should-1)
8121         (ert--expand-should, ert--should-error-handle-error)
8122         (should-error, ert--explain-equal-rec)
8123         (ert--plist-difference-explanation, ert-select-tests)
8124         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8125         Use cl-lib functions rather than reimplementations.
8127 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
8129         * net/tramp.el (tramp-methods): Extend docstring.
8130         (tramp-connection-timeout): New defcustom.
8131         (tramp-error-with-buffer): Reset timestamp only when appropriate.
8132         (with-tramp-progress-reporter): Simplify.
8133         (tramp-process-actions): Improve messages.
8135         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8136         * net/tramp-sh.el (tramp-maybe-open-connection):
8137         Use `tramp-connection-timeout'.
8138         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8139         (Bug#14808)
8141 2013-07-11  Leo Liu  <sdl.web@gmail.com>
8143         * ido.el (ido-read-file-name): Conform to the requirements of
8144         read-file-name.  (Bug#11861)
8145         (ido-read-directory-name): Conform to the requirements of
8146         read-directory-name.
8148 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
8150         * subr.el (delay-warning): New function.
8152 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
8154         * simple.el (default-line-height): New function.
8155         (line-move-partial, line-move): Use it instead of computing the
8156         line height inline.
8157         (line-move-partial): Always compute ROWH.  If the last line is
8158         partially-visible, but its text is completely visible, allow
8159         cursor to enter such a partially-visible line.
8161 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8163         Improve error messages.  (Bug#14808)
8165         * net/tramp.el (tramp-current-connection): New defvar, moved from
8166         tramp-sh.el.
8167         (tramp-message-show-progress-reporter-message): Remove, not
8168         needed anymore.
8169         (tramp-error-with-buffer): Show message in minibuffer.
8170         Discard input before waiting.  Reset connection timestamp.
8171         (with-tramp-progress-reporter): Improve messages.
8172         (tramp-process-actions): Use progress reporter.  Delete process in
8173         case of error.  Improve messages.
8175         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8176         Call `tramp-error-with-buffer' with vector and buffer.
8177         (tramp-current-connection): Remove.
8178         (tramp-maybe-open-connection): The car of
8179         `tramp-current-connection' are the first 3 slots of the vector.
8181 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
8183         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8184         inside continued strings.
8186 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
8188         Timestamp fixes for undo (Bug#14824).
8189         * files.el (clear-visited-file-modtime): Move here from fileio.c.
8191 2013-07-10  Leo Liu  <sdl.web@gmail.com>
8193         * files.el (require-final-newline): Allow safe local value.
8194         (Bug#14834)
8196 2013-07-09  Leo Liu  <sdl.web@gmail.com>
8198         * ido.el (ido-read-directory-name): Handle fallback.
8199         (ido-read-file-name): Update DIR to ido-current-directory.
8200         (Bug#1516)
8201         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
8203 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
8205         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8206         "autoload".  Remove "warn lower camel case" section, previously
8207         commented out.  Highlight negation char.  Do not highlight the
8208         target in singleton method definitions.
8210 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * faces.el (tty-setup-hook): Declare the hook.
8214         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8215         and detect when a guard/pred depends on local vars (bug#14773).
8216         (pcase--u1): Adjust caller.
8218 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
8220         * simple.el (line-move-partial, line-move): Account for
8221         line-spacing.
8222         (line-move-partial): Avoid setting vscroll when the last
8223         partially-visible line in window is of default height.
8225 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8227         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8228         been used a while.
8230 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
8232         * subr.el (read-quoted-char): Remove unused local variable `char'.
8234 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8236         * ediff.el (ediff-version): Version update.
8237         (ediff-files-command, ediff3-files-command, ediff-merge-command)
8238         (ediff-merge-with-ancestor-command, ediff-directories-command)
8239         (ediff-directories3-command, ediff-merge-directories-command)
8240         (ediff-merge-directories-with-ancestor-command): New functions.
8241         All are command-line interfaces to ediff: to facilitate calling
8242         Emacs with the appropriate ediff functions invoked.
8244         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8245         (viper-save-kill-buffer): Check if buffer is modified.
8247         * viper.el (viper-version): Version update.
8248         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8250 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8252         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8253         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8254         (viper-intercept-ESC-key): Simplify.
8255         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8256         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8257         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8258         (viper-setup-ESC-to-escape): New functions.
8259         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8260         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
8262 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
8264         * simple.el (default-font-height, window-screen-lines):
8265         New functions.
8266         (line-move, line-move-partial): Use them instead of
8267         frame-char-height and window-text-height.  This makes scrolling
8268         text smoother when the buffer's default face uses a font that is
8269         different from the frame's default font.
8271 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
8273         * files.el (write-file): Do not display confirm dialog for NS,
8274         it does its own dialog, which can't be canceled (Bug#14578).
8276 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
8278         * simple.el (line-move-partial): Adjust the row returned by
8279         posn-at-point for the current window-vscroll.  (Bug#14567)
8281 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
8283         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8284         (tramp-sh-file-inotifywait-process-filter): Handle file names with
8285         spaces.
8287 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
8289         * window.el (window-state-put-stale-windows): New variable.
8290         (window--state-put-2): Save list of windows without matching buffer.
8291         (window-state-put): Remove "bufferless" windows if possible.
8293 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8295         * simple.el (alternatives-define): Remove leftover :group keyword.
8296         Tweak docstring.
8298 2013-07-06  Leo Liu  <sdl.web@gmail.com>
8300         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8301         (ido-enable-virtual-buffers): New variable.
8302         (ido-buffer-internal, ido-toggle-virtual-buffers)
8303         (ido-make-buffer-list): Use it.
8304         (ido-exhibit): Support turning on and off virtual buffers
8305         automatically.
8307 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8309         * simple.el (alternatives-define): New macro.
8311 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8313         * subr.el (read-quoted-char): Use read-key.
8314         (sit-for): Let read-event decode tty input (bug#14782).
8316 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
8318         * calendar/todo-mode.el: Add handling of file deletion, both by
8319         mode command and externally.  Fix various related bugs.
8320         Clarify Commentary and improve some documentation strings and code.
8321         (todo-delete-file): New command.
8322         (todo-check-file): New function.
8323         (todo-show): Handle external deletion of the file we're trying to
8324         show (bug#14688).  Replace called-interactively-p by an optional
8325         prefix argument to avoid problematic interaction with catch form
8326         when byte compiled (bug#14702).
8327         (todo-quit): Handle external deletion of the archive's todo file.
8328         Make sure the buffer that was visiting the archive file is still
8329         live before trying to bury it.
8330         (todo-category-completions): Handle external deletion of any
8331         category completion files.
8332         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8333         of todo files, in case of external deletion.
8334         (todo-add-file): Replace unnecessary setq by let-binding.
8335         (todo-find-archive): Check whether there are any archives.
8336         Replace unnecessary setq by let-binding.
8337         (todo-archive-done-item): Use find-file-noselect to get the
8338         archive buffer whether or not the archive already exists.
8339         Remove superfluous code.  Use file size instead of buffer-file-name to
8340         check if the archive is new; if it is, update list of archives.
8341         (todo-default-todo-file): Allow nil to be a valid value for when
8342         there are no todo files.
8343         (todo-reevaluate-default-file-defcustom): Use corrected definition
8344         of todo-default-todo-file.
8345         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8346         (todo-delete-category, todo-show-categories-table)
8347         (todo-category-number): Clarify comment.
8348         (todo-filter-items): Clarify documentation string.
8349         (todo-show-current-file, todo-display-as-todo-file)
8350         (todo-reset-and-enable-done-separator): Tweak documentation string.
8351         (todo-done-separator): Make separator length window-width, since
8352         bug#2749 is now fixed.
8354 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
8356         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8357         Support both "gvfs-monitor-dir" and "inotifywait".
8358         (tramp-sh-file-inotifywait-process-filter): Rename from
8359         `tramp-sh-file-notify-process-filter'.
8360         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8361         (tramp-get-remote-gvfs-monitor-dir): New defuns.
8363 2013-07-05  Leo Liu  <sdl.web@gmail.com>
8365         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8367 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8369         * frame.el (display-pixel-height, display-pixel-width)
8370         (display-mm-height, display-mm-width): Mention behavior on
8371         multi-monitor setups in docstrings.
8372         (w32-display-monitor-attributes-list): Declare function.
8373         (display-monitor-attributes-list): Use it.
8375 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
8377         * filenotify.el: New package.
8379         * autorevert.el (top): Require filenotify.el.
8380         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
8381         instead.
8382         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8383         (auto-revert-notify-handler): Use `file-notify-*' functions.
8385         * subr.el (file-notify-handle-event): Move function to filenotify.el.
8387         * net/tramp.el (tramp-file-name-for-operation):
8388         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8390         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8391         for `file-notify-add-watch' and `file-notify-rm-watch'.
8392         (tramp-process-sentinel): Improve trace.
8393         (tramp-sh-handle-file-notify-add-watch)
8394         (tramp-sh-file-notify-process-filter)
8395         (tramp-sh-handle-file-notify-rm-watch)
8396         (tramp-get-remote-inotifywait): New defuns.
8398 2013-07-03  Juri Linkov  <juri@jurta.org>
8400         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8401         call of `occur-read-primary-args' to interactive spec.
8403         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8404         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
8406 2013-07-03  Matthias Meulien  <orontee@gmail.com>
8408         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8409         `Buffer-menu-multi-occur'.  Add it to the menu.
8410         (Buffer-menu-mode): Document it in docstring.
8411         (Buffer-menu-multi-occur): New command.  (Bug#14673)
8413 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8415         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8416         keywords and built-ins.
8418 2013-07-03  Glenn Morris  <rgm@gnu.org>
8420         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
8422         Make info-xref checks case-sensitive by default
8423         * info.el (Info-find-node, Info-find-in-tag-table)
8424         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8425         Add option for exact case matching of nodes.
8426         * info-xref.el (info-xref): New custom group.
8427         (info-xref-case-fold): New option.
8428         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8430 2013-07-03  Leo Liu  <sdl.web@gmail.com>
8432         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8434 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
8436         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8437         middle of block statement initially, lower the depth.  Remove
8438         FIXME comment, not longer valid.  Remove middle of block statement
8439         detection, no need to do that anymore since we've been using
8440         `ruby-parse-region' here.
8442 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
8444         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8446 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
8448         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8450 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
8452         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8453         (desktop-restore-in-current-display): New customization option.
8454         (desktop--excluded-frame-parameters): Add `font'.
8455         (desktop--save-frames): Rename from desktop--save-windows.
8456         (desktop--restore-in-this-display-p): New function.
8457         (desktop--make-full-frame): Remove unwanted width/height from
8458         full(width|height) frames.
8459         (desktop--restore-frames): Rename from desktop--restore-windows.
8460         Obey desktop-restore-current-display.  Do not delete old frames or
8461         select a new frame unless we were able to restore at least one frame.
8463 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
8465         * files.el (find-file-noselect): Simplify conditional expression.
8467         * textmodes/remember.el (remember-append-to-file):
8468         Don't mix `find-buffer-visiting' and `get-file-buffer'.
8470         Add `remember-notes' function to store random notes across Emacs
8471         restarts.
8472         * textmodes/remember.el (remember-data-file): Add :set callback to
8473         affect notes buffer (if any).
8474         (remember-notes): New command.
8475         (remember-notes-buffer-name, bury-remember-notes-on-kill):
8476         New defcustoms for the `remember-notes' function.
8477         (remember-notes-save-and-bury-buffer): New command.
8478         (remember-notes-mode-map): New variable.
8479         (remember-mode): New minor mode.
8480         (remember-notes--kill-buffer-query): New function.
8481         * startup.el (initial-buffer-choice): Add notes to custom type.
8483 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
8485         * bindings.el (right-char, left-char): Don't call sit-for, this is
8486         no longer needed.  Use arithmetic comparison only for numerical
8487         arguments.
8489         * international/mule-cmds.el (select-safe-coding-system):
8490         Handle the case of FROM being a string correctly.  (Bug#14755)
8492 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8494         * net/shr.el (shr-make-table-1): Add a sanity check that allows
8495         progression on degenerate tables.
8496         (shr-rescale-image): ImageMagick animated images currently don't work.
8498 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
8500         Some fixes and improvements for desktop frame restoration.
8501         It is still experimental and disabled by default.
8502         * desktop.el (desktop--save-windows): Put the selected frame at
8503         the head of the list.
8504         (desktop--make-full-frame): New function.
8505         (desktop--restore-windows): Try to re-select the frame that was
8506         selected upon saving.  Do not abort if some frames fail to restore,
8507         just show an error message and continue.  Set up maximized frames
8508         so they have default non-maximized dimensions.
8510 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
8512         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8513         Don't start heredoc inside a string or comment.
8515 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
8517         * bindings.el (visual-order-cursor-movement): New defcustom.
8518         (right-char, left-char): Provide visual-order cursor motion by
8519         calling move-point-visually.  Update the doc strings.
8521 2013-06-28  Kenichi Handa  <handa@gnu.org>
8523         * international/mule.el (define-coding-system): New coding system
8524         properties :inhibit-null-byte-detection,
8525         :inhibit-iso-escape-detection, and :prefer-utf-8.
8526         (set-buffer-file-coding-system): If :charset-list property of
8527         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8528         appropriate for setting.
8530         * international/mule-cmds.el (select-safe-coding-system):
8531         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8532         multibyte characters, return utf-8 (or one of its siblings).
8534         * international/mule-conf.el (prefer-utf-8): New coding system.
8535         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8536         files.
8538 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
8540         * net/shr.el (shr-render-region): New function.
8542         * net/eww.el: Autoload `eww-browse-url'.
8544 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
8546         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8547         Adapt to `package-desc-version' being a list.
8548         Use `package--ac-desc-version' to retrieve version from a package
8549         archive element.
8551 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
8553         New experimental feature to save&restore window and frame setup.
8554         * desktop.el (desktop-save-windows): New defcustom.
8555         (desktop--saved-states): New var.
8556         (desktop--excluded-frame-parameters): New defconst.
8557         (desktop--filter-frame-parms, desktop--find-frame-in-display)
8558         (desktop--restore-windows, desktop--save-windows): New functions.
8559         (desktop-save): Call `desktop--save-windows'.
8560         (desktop-read): Call `desktop--restore-windows'.
8562 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8564         * net/shr.el (add-face-text-property): Remove compat definition.
8566 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8568         * info.el (Info-try-follow-nearest-node): Move search for footnote
8569         above search for node name to prevent missing a footnote (bug#14717).
8571 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
8573         * obsolete/otodo-mode.el: Add obsolescence info to file header.
8575 2013-06-27  Leo Liu  <sdl.web@gmail.com>
8577         * net/eww.el (eww-read-bookmarks): Check file size.
8579 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8581         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8582         advice--pending if newdef is nil or an autoload (bug#13820).
8583         (advice-mapc): New function.
8585 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8587         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8588         probably.
8589         (eww-mode-map): Add a menu bar.
8590         (eww-add-bookmark): New command.
8591         (eww-bookmark-mode): New mode and commands.
8592         (eww-add-bookmark): Remove newlines from the title.
8593         (eww-bookmark-browse): Don't bug out if it's the only window.
8595 2013-06-26  Glenn Morris  <rgm@gnu.org>
8597         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8598         (hfy-size): Handle ttys.  (Bug#14668)
8600         * info-xref.el: Update for Texinfo 5 change in *note format.
8601         (info-xref-node-re, info-xref-note-re): New constants.
8602         (info-xref-check-buffer): Use info-xref-note-re.
8604 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8606         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8608         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8609         nil terminate the loop (bug#14718).
8611 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8613         * net/eww.el: Rework history traversal.  When going forward/back,
8614         put these actions into the history, too, so that they can be
8615         replayed.
8616         (eww-render): Move the history reset to the correct buffer.
8618 2013-06-25  Juri Linkov  <juri@jurta.org>
8620         * files-x.el (modify-dir-local-variable): Change the header comment
8621         in the file with directory local variables.  (Bug#14692)
8623         * files-x.el (read-file-local-variable-value): Add `default'.
8624         (Bug#14710)
8626 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8628         * net/eww.el (eww-make-unique-file-name): Create a unique file
8629         name before saving to entering `y' accidentally asynchronously.
8631 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
8633         * net/eww.el (eww-download): New command and keystroke.
8635 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8637         * net/eww.el (eww-copy-page-url): Change name of command.
8639         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8640         be more consistent with Info and dired.
8642         * net/eww.el (eww-mode-map): Ditto.
8644 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
8647         packages from archives.
8648         (package-archive-contents): Change format; include obsolete packages.
8649         (package-desc): Use `dir' to mark builtin packages.
8650         (package--from-builtin): Set the `dir' field to `builtin'.
8651         (generated-autoload-file, version-control): Declare.
8652         (package-compute-transaction): Change first arg and return value to be
8653         lists of package-descs.  Adjust to new package-archive-contents format.
8654         (package--add-to-archive-contents): Adjust to new
8655         package-archive-contents format.
8656         (package-download-transaction): Arg is now a list of package-descs.
8657         (package-install): If `pkg' is a package name, pass it as
8658         a requirement, so it is subject to the usual (e.g. disabled) checks.
8659         (describe-package): Accept package-desc as well.
8660         (describe-package-1): Describe a specific package-desc.  Add links to
8661         other package-descs for the same package name.
8662         (package-menu-describe-package): Pass the actual package-desc.
8663         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8664         works correctly.
8665         (package-desc-status): New function.
8666         (package-menu--refresh): New function, extracted
8667         from package-menu--generate.
8668         (package-menu--generate): Use it.
8669         (package-delete): Update package-alist.
8670         (package-menu-execute): Don't call package-initialize.
8672         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8673         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8674         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8675         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8676         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8677         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8679 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
8681         * window.el (window--state-get-1): Workaround for bug#14527.
8682         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8684 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8686         * net/eww.el (eww-back-url): Implement the history by stashing all
8687         the data into a list.
8688         (eww-forward-url): Allow going forward in the history, too.
8690 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8692         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8693         for values and use read--expression for expressions (bug#14710).
8694         (read-file-local-variable): Avoid setq.
8695         (read-file-local-variable-mode): Use minor-mode-list.
8697 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8699         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8700         for DOI URLs.
8702 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8704         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8705         Update imenu-support when dialect changes.
8707 2013-06-25  Leo Liu  <sdl.web@gmail.com>
8709         * ido.el (ido-read-internal): Allow forward slash on windows.
8711 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8713         * net/eww.el (eww): Start of strings is \\`, not ^.
8715 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8717         * net/shr.el (shr-browse-url): Fix interactive spec.
8719         * net/eww.el (eww): Add a trailing slash to domain names.
8721 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
8723         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8725 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8727         * net/shr.el (shr-browse-url): Use an external browser if given a
8728         prefix.
8730         * net/eww.el (eww-external-browser): Move to shr.
8732 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8734         * net/eww.el (eww): Work more correctly for file: URLs.
8735         (eww-detect-charset): Allow quoted charsets.
8736         (eww-yank-page-url): New command and keystroke.
8738 2013-06-24  Daiki Ueno  <ueno@gnu.org>
8740         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8741         file name of gpg executable.
8742         (epg-context-program): New function.
8743         (epg-context-home-directory): New function.
8744         (epg-context-set-program): New function.
8745         (epg-context-set-home-directory): New function.
8746         (epg--start): Use `epg-context-program' instead of
8747         'epg-gpg-program'.
8748         (epg--list-keys-1): Likewise.
8750 2013-06-24  Leo Liu  <sdl.web@gmail.com>
8752         * ido.el (ido-read-internal): Fix bug#14620.
8754 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8756         * faces.el (face-documentation): Simplify.
8757         (read-face-attribute, tty-find-type, x-resolve-font-name):
8758         Use `string-match-p'.
8759         (list-faces-display): Use `string-match-p'.  Simplify.
8760         (face-spec-recalc): Check face to avoid face alias loops.
8761         (read-color): Use `string-match-p' and non-capturing parenthesis.
8763 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8765         * net/shr.el (shr-rescale-image): Use the new
8766         :max-width/:max-height functionality.
8768 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
8770         * net/eww.el (eww-search-prefix): New variable.
8771         (eww): Use it.
8772         (eww-external-browser): New variable.
8773         (eww-mode-map): New keystroke.
8774         (eww-browse-with-external-browser): New command.
8776         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8778 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8780         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8781         Don't skip aligning the next header field when padding is 0;
8782         otherwise, field width is not respected unless the title is as
8783         wide as the field.
8785 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8787         * emacs-lisp/package.el (package-el-version): Remove.
8788         (package-process-define-package): Fix inf-loop.
8789         (package-install): Allow symbols as arguments again.
8791 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8793         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8794         add some more keyword-like methods.
8795         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8797 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
8799         * bs.el (bs-buffer-show-mark): Make defvar-local.
8800         (bs-mode): Use setq-local.
8802         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8803         (emacs-lock--try-unlocking): Make defvar-local.
8805 2013-06-22  Glenn Morris  <rgm@gnu.org>
8807         * play/cookie1.el (cookie-apropos): Minor simplification.
8809         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8811 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8813         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8814         `regexp-opt', it breaks the build during dumping.
8816 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8818         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8819         Highlight keyword-like methods on Kernel and Module with
8820         font-lock-builtin-face.
8821         (auto-mode-alist): Consolidate different entries into one regexp
8822         and add more *file-s.
8824 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
8826         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8828         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8829         (diary-entry): Use it in the action of this button type instead of
8830         diary-goto-entry.
8832         * calendar/todo-mode.el: New version.
8833         (todo-add-category): Append new category to end of file and give
8834         it the highest number, instead of putting it at the beginning and
8835         giving it 0.  Incorporate noninteractive functionality.
8836         (todo-forward-category): Adapt to 1-based category numbering.
8837         Allow skipping over archived categories.
8838         (todo-backward-category): Derive from todo-forward-category.
8839         (todo-backward-item, todo-forward-item): Make noninteractive and
8840         delegate interactive part to new commands.  Make sensitive to done items.
8841         (todo-categories): Make value an alist of category names and
8842         vectors of item counts.
8843         (todo-category-beg): Make a defconst.
8844         (todo-category-number): Use 1 instead of 0 as initial value.
8845         (todo-category-select): Make sensitive to overlays, optional item
8846         highlighting and done items.
8847         (todo-delete-item): Make sensitive to overlays and marked and done items.
8848         (todo-edit-item): Make sensitive to overlays and editing of
8849         date/time header optional.  Add format checks.
8850         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
8851         no-op if point is not on an item.  Advertise using todo-edit-quit.
8852         (todo-edit-mode): Make sensitive to new format, font-locking, and
8853         multiple todo files.
8854         (todo-insert-item, todo-insert-item-here): Derive from
8855         todo-basic-insert-item and extend functionality.
8856         (todo-item-end, todo-item-start): Make sensitive to done items.
8857         (todo-item-string): Don't return text properties.  Restore point.
8858         (todo-jump-to-category): Make sensitive to multiple todo files and
8859         todo archives.  Use extended category completion.
8860         (todo-lower-item, todo-raise-item): Rename to *-priority and
8861         derive from todo-set-item-priority.
8862         (todo-mode): Derive from special-mode.  Make sensitive to new
8863         format, font-locking and multiple todo files.  Make read-only.
8864         (todo-mode-map): Don't suppress digit keys, so they can supply
8865         prefix arguments.  Add many new key bindings.
8866         (todo-prefix): Insert as an overlay instead of file text.
8867         Change semantics from diary date expression to purely visual mark.
8868         (todo-print): Rename to todo-print-buffer.  Make buffer display
8869         features printable.  Remove option to restrict number of items
8870         printed.  Add option to print to file.
8871         (todo-print-function): Rename to todo-print-buffer-function.
8872         (todo-quit): Extend to handle exiting new todo modes.
8873         (todo-remove-item): Make sensitive to overlays.
8874         (todo-save): Extend to buffers of filtered items.
8875         (todo-show): Make sensitive to done items, multiple todo files and
8876         new todo modes.  Offer to convert legacy todo file before creating
8877         first new todo file.
8878         (todo-show-priorities): Rename to todo-top-priorities.
8879         Change semantics of value 0.
8880         (todo-top-priorities): Rename to todo-filter-top-priorities,
8881         derive from todo-filter-items and extend functionality.
8882         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8883         and extend functionality to other types of filtered items.
8884         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8885         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8886         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8887         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8888         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8889         (todo-edit-mode-hook, todo-entry-prefix-function)
8890         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8891         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8892         (todo-initials, todo-insert-threshold, todo-item-string-start)
8893         (todo-line-string, todo-menu, todo-mode-hook)
8894         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8895         (todo-print-priorities, todo-remove-separator)
8896         (todo-save-top-priorities-too, todo-string-count-lines)
8897         (todo-string-multiline-p, todo-time-string-format)
8898         (todo-tmp-buffer-name): Remove.
8899         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8900         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8901         (todo-edit-category-diary-inclusion)
8902         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8903         (todo-edit-file, todo-edit-item-date-day)
8904         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8905         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8906         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8907         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8908         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8909         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8910         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8911         (todo-filter-top-priorities-multifile, todo-find-archive)
8912         (todo-find-filtered-items-file, todo-go-to-source-item)
8913         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8914         (todo-jump-to-archive-category, todo-lower-category)
8915         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8916         (todo-move-category, todo-move-item, todo-next-button)
8917         (todo-next-item, todo-padded-string, todo-powerset)
8918         (todo-previous-button, todo-previous-item)
8919         (todo-print-buffer-to-file, todo-raise-category)
8920         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8921         (todo-set-category-number, todo-set-item-priority)
8922         (todo-set-top-priorities-in-category)
8923         (todo-set-top-priorities-in-file, todo-show-categories-table)
8924         (todo-sort-categories-alphabetically-or-numerically)
8925         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8926         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8927         (todo-toggle-item-header, todo-toggle-item-highlighting)
8928         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8929         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8930         (todo-unarchive-items, todo-unmark-category): New commands.
8931         (todo-absolute-file-name, todo-add-to-buffer-list)
8932         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8933         (todo-basic-insert-item, todo-category-completions)
8934         (todo-category-number, todo-category-string-matcher-1)
8935         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8936         (todo-check-format, todo-clear-matches)
8937         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8938         (todo-current-category, todo-date-string-matcher)
8939         (todo-define-insertion-command, todo-diary-expired-matcher)
8940         (todo-diary-goto-entry, todo-diary-item-p)
8941         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8942         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8943         (todo-done-item-section-p, todo-done-separator)
8944         (todo-done-string-matcher, todo-files, todo-filter-items)
8945         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8946         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8947         (todo-insert-category-line, todo-insert-item-from-calendar)
8948         (todo-insert-sort-button, todo-insert-with-overlays)
8949         (todo-insertion-command-name, todo-insertion-key-bindings)
8950         (todo-label-to-key, todo-longest-category-name-length)
8951         (todo-make-categories-list, todo-mode-external-set)
8952         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8953         (todo-modes-set-3, todo-multiple-filter-files)
8954         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8955         (todo-read-category, todo-read-date, todo-read-dayname)
8956         (todo-read-file-name, todo-read-time)
8957         (todo-reevaluate-category-completions-files-defcustom)
8958         (todo-reevaluate-default-file-defcustom)
8959         (todo-reevaluate-filelist-defcustoms)
8960         (todo-reevaluate-filter-files-defcustom)
8961         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8962         (todo-reset-done-separator, todo-reset-done-separator-string)
8963         (todo-reset-done-string, todo-reset-global-current-todo-file)
8964         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8965         (todo-reset-prefix, todo-set-categories)
8966         (todo-set-date-from-calendar, todo-set-show-current-file)
8967         (todo-set-top-priorities, todo-short-file-name)
8968         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8969         (todo-total-item-counts, todo-update-buffer-list)
8970         (todo-update-categories-display, todo-update-categories-sexp)
8971         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8972         New functions.
8973         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8974         New major modes.
8975         (todo-categories, todo-display, todo-edit, todo-faces)
8976         (todo-filtered): New defgroups.
8977         (todo-archived-only, todo-button, todo-category-string, todo-date)
8978         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8979         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8980         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8981         (todo-add-item-if-new-category, todo-always-add-time-string)
8982         (todo-categories-align, todo-categories-archived-label)
8983         (todo-categories-category-label, todo-categories-diary-label)
8984         (todo-categories-done-label, todo-categories-number-separator)
8985         (todo-categories-todo-label, todo-categories-totals-label)
8986         (todo-category-completions-files, todo-completion-ignore-case)
8987         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8988         (todo-done-separator-string, todo-done-string)
8989         (todo-files-function, todo-filter-done-items, todo-filter-files)
8990         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8991         (todo-initial-category, todo-initial-file, todo-item-mark)
8992         (todo-legacy-date-time-regexp, todo-mode-line-function)
8993         (todo-nondiary-marker, todo-number-prefix)
8994         (todo-print-buffer-function, todo-show-current-file)
8995         (todo-show-done-only, todo-show-first, todo-show-with-done)
8996         (todo-skip-archived-categories, todo-top-priorities-overrides)
8997         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8998         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8999         New defcustoms.
9000         (todo-category-done, todo-date-pattern, todo-date-string-start)
9001         (todo-diary-items-buffer, todo-done-string-start)
9002         (todo-filtered-items-buffer, todo-item-start)
9003         (todo-month-abbrev-array, todo-month-name-array)
9004         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9005         (todo-top-priorities-buffer): New defconsts.
9006         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9007         (todo-categories-with-marks, todo-category-string-face)
9008         (todo-comment-face, todo-comment-string, todo-current-todo-file)
9009         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9010         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9011         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9012         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9013         (todo-font-lock-keywords, todo-global-current-todo-file)
9014         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9015         (todo-insertion-commands-args)
9016         (todo-insertion-commands-args-genlist)
9017         (todo-insertion-commands-names, todo-insertion-map)
9018         (todo-key-bindings-t, todo-key-bindings-t+a)
9019         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9020         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9021         (todo-nondiary-face, todo-print-buffer, todo-time-face)
9022         (todo-visited): New variables.
9024 2013-06-21  Glenn Morris  <rgm@gnu.org>
9026         * play/cookie1.el (cookie-apropos): Add optional display argument.
9027         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9028         (psychoanalyze-pinhead): Use cookie-doctor.
9030 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9032         * emacs-lisp/package.el (tar-get-file-descriptor)
9033         (tar--extract): Declare.
9035 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
9037         Extend flymake's warning predicate to be a function (bug#14217).
9038         * progmodes/flymake.el (flymake-warning-predicate): New.
9039         (flymake-parse-line): Use it.
9040         (flymake-warning-re): Make obsolete alias to
9041         `flymake-warning-predicate'.
9043 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9045         * emacs-lisp/package.el (package-alist): Include obsolete packages.
9046         (package-obsolete-list): Remove.
9047         (package-activate): Remove min-version argument.  Add `force' argument.
9048         Adjust to new package-alist format.
9049         (package-mark-obsolete): Remove.
9050         (package-unpack): Force reload of the package's autoloads.
9051         (package-installed-p): Check builtins if the installed package is not
9052         recent enough.
9053         (package-initialize): Don't reset package-obsolete-list.
9054         Don't specify which package version to activate.
9055         (package-process-define-package, describe-package-1)
9056         (package-menu--generate): Adjust to new package-alist format.
9058 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9060         * allout-widgets.el (allout-widgets-mode-off)
9061         (allout-widgets-mode-on, allout-widgets-pre-command-business)
9062         (allout-widgets-post-command-business)
9063         (allout-widgets-after-copy-or-kill-function)
9064         (allout-widgets-after-undo-function, allout-test-range-overlaps)
9065         (allout-decorate-item-and-context)
9066         (allout-graphics-modification-handler): Fix typos in docstrings.
9067         (allout-get-or-create-parent-widget): Use `looking-at-p'.
9069         * cmuscheme.el (scheme-start-file): Doc fix.
9070         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9071         (scheme-input-filter): Use `string-match-p'.
9073         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9075         * dired-x.el: Use Dired consistently in docstrings.
9077         * dired.el: Use Dired consistently in docstrings.
9078         (dired-readin, dired-mode): Use `setq-local'.
9079         (dired-switches-alist): Make defvar-local.
9080         (dired-buffers-for-dir): Use `zerop'.
9081         (dired-safe-switches-p, dired-switches-escape-p)
9082         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9083         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9084         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9085         (dired-goto-next-nontrivial-file): Use `string-match-p'.
9086         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9087         (dired-toggle-marks, dired-mark-files-containing-regexp)
9088         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9089         (dired-flag-auto-save-files, dired-flag-backup-files):
9090         Use `looking-at-p'.
9091         (dired-mark-files-regexp, dired-build-subdir-alist):
9092         Use `string-match-p', `looking-at-p'.
9094         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9095         (direct-print-region-helper): Use `string-match-p'.
9097 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9099         * comint.el (comint-redirect-results-list-from-process):
9100         Fix infinite loop.
9102 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9104         * net/eww.el (eww-update-header-line-format): Quote % characters.
9106 2013-06-21  Glenn Morris  <rgm@gnu.org>
9108         * play/cookie1.el (cookie): New custom group.
9109         (cookie-file): New option.
9110         (cookie-check-file): New function.
9111         (cookie): Make it interactive.  Make start and end messages optional.
9112         Interactively, display the result.  Default to cookie-file.
9113         (cookie-insert): Default to cookie-file.
9114         (cookie-snarf): Make start and end messages optional.
9115         Default to cookie-file.  Use with-temp-buffer.
9116         (cookie-read): Rename from read-cookie.
9117         Make start and end messages optional.  Default to cookie-file.
9118         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
9119         Do not autoload it.
9120         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9121         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9123 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9125         * progmodes/octave.el (octave-mode): Backward compatibility fix.
9127 2013-06-21  Glenn Morris  <rgm@gnu.org>
9129         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9131 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9132             Daniel Hackney  <dan@haxney.org>
9134         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9135         Consolidate the single-file vs tarball code.
9136         (package-desc-suffix): New function.
9137         (package-desc-full-name): Don't bother inlining it.
9138         (package-load-descriptor): Return the new package-desc.
9139         (package-mark-obsolete): Remove unused arg `package'.
9140         (package-unpack): Make it work for single files as well.
9141         Make it update package-alist.
9142         (package--make-autoloads-and-stuff): Rename from
9143         package--make-autoloads-and-compile.  Don't compile any more.
9144         (package--compile): New function.
9145         (package-generate-description-file): New function, extracted from
9146         package-unpack-single.
9147         (package-unpack-single): Remove.
9148         (package--with-work-buffer): Add indentation and debugging info.
9149         (package-download-single): Remove.
9150         (package-install-from-archive): Rename from package-download-tar, make
9151         it take a pkg-desc, and make it work for single files as well.
9152         (package-download-transaction): Simplify.
9153         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
9154         external tar program.
9155         (package-install-from-buffer): Remove `pkg-desc' argument.
9156         Use package-tar-file-info for tar-mode buffers.
9157         (package-install-file): Simplify accordingly.
9158         (package-archive-base): Change to take a pkg-desc.
9159         * tar-mode.el (tar--check-descriptor): New function, extracted from
9160         tar-get-descriptor.
9161         (tar-get-descriptor): Use it.
9162         (tar-get-file-descriptor): New function.
9163         (tar--extract): New function, extracted from tar-extract.
9164         (tar--extract): Use it.
9165         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9166         case the summary uses non-ascii.  Adjust to new calling convention of
9167         package-tar-file-info.
9169 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9171         * comint.el (comint-redirect-results-list-from-process):
9172         Fix random delay.  (Bug#14681)
9174 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9176         * profiler.el (profiler-format-number): Use log, not log10.
9178 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9180         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9182 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9184         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9185         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9186         yet available.
9187         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9188         (AUTOGENEL): ... here.
9189         * emacs-lisp/cl-macs.el (cl--sublis): New function.
9190         (cl--defsubst-expand): Use it.
9192 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
9194         * subr.el (log10): Move here from C code, and declare as obsolete.
9195         All uses of (log10 X) replaced with (log X 10).
9197 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9199         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9200         Declare with `defvar-local'.
9201         (tabulated-list-use-header-line, tabulated-list-entries)
9202         (tabulated-list-padding, tabulated-list-printer)
9203         (tabulated-list-sort-key): Declare with `defvar-local'.
9204         (tabulated-list-init-header, tabulated-list-print-fake-header):
9205         Use `setq-local'.
9207 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
9209         * arc-mode.el (archive-mode): Add `archive-write-file' to
9210         `write-contents-functions' also for remote files.  (Bug#14652)
9212 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9214         * cus-edit.el (custom-commands): Fix typos.
9215         (custom-display): Fix tooltip text.
9216         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9217         Fix typos in docstrings.
9218         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9219         (custom-unlispify-menu-entry, custom-magic-value-create)
9220         (custom-add-see-also, custom-group-value-create): Use ?\s.
9221         (custom-guess-type, customize-apropos, editable-field)
9222         (custom-face-value-create): Use `string-match-p'.
9223         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9225         * custom.el (custom-load-symbol): Use `string-match-p'.
9227         * ansi-color.el: Convert to lexical binding.
9228         (ansi-colors): Fix URL.
9229         (ansi-color-context, ansi-color-context-region): Use defvar-local.
9230         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9231         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9233 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9235         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9237         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9239 2013-06-19  Tom Tromey  <tromey@redhat.com>
9241         * net/eww.el (eww-top-url): Remove.
9242         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9243         (eww-render): Set new variables.  Don't set eww-top-url.
9244         (eww-handle-link): Handle "prev", "home", and "contents".
9245         Downcase the rel text.
9246         (eww-top-url): Choose best top URL.
9248 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9250         * net/eww.el: Rewrite to implement form elements "by hand" instead of
9251         relying in widget.el.  Using widget.el leads to too many
9252         user interface inconsistencies.
9253         (eww-self-insert): Implement entering commands in text fields.
9254         (eww-process-text-input): New function to make text input field editing
9255         work.
9256         (eww-submit): Rewrite to use the new-style form methods.
9257         (eww-select-display): Display the correct selected item.
9258         (eww-change-select): Implement changing the select value.
9259         (eww-toggle-checkbox): Implement radio/checkboxes.
9260         (eww-update-field): Fix compilation error.
9261         (eww-tag-textarea): Implement <textarea>.
9263         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9264         we don't shadow mode-specific bindings.
9266         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9267         nothing to push.
9269         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9271 2013-06-19  Glenn Morris  <rgm@gnu.org>
9273         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9275 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9277         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9278         not needed.
9280         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9282 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9284         * net/browse-url.el (browse-url-browser-function):
9285         `eww-browse-url' has the right calling signature, `eww' does not.
9287 2013-06-19  Glenn Morris  <rgm@gnu.org>
9289         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9290         Only eval autoloaded macros.
9291         (byte-compile-autoload): Only give the macro warning for macros.
9293         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9294         (ps-underlined-faces): Declare.
9296         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9297         (speedbar-add-supported-extension): Declare.
9299         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9300         Don't include a date stamp in the header of the generated file;
9301         it leads to needless differences between output files.
9303 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9305         * net/secrets.el (secrets-struct-secret-content-type):
9306         Replace check of introspection data by a test call of "CreateItem".
9307         Some servers do not offer introspection.
9309 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9311         * electric.el (electric-pair-mode): Improve interaction with
9312         electric-layout-mode.
9313         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9314         (electric-pair-syntax): Use text-mode-syntax-table in comments
9315         and strings.
9316         (electric-pair--insert): New function.
9317         (electric-pair-post-self-insert-function): Use it and
9318         electric--after-char-pos.
9320 2013-06-19  Leo Liu  <sdl.web@gmail.com>
9322         * progmodes/octave.el (octave-help): Fix regexp.
9324 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9326         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9327         (shr-table-horizontal-line): Allow nil as a value, and change the
9328         default.
9329         (shr-insert-table-ruler): Respect the nil value.
9331 2013-06-18  Tom Tromey  <tromey@barimba>
9333         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9334         New defvars.
9335         (eww-open-file): New defun.
9336         (eww-render): Initialize new variables.
9337         (eww-display-html): Handle "link" and "a".
9338         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9339         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
9340         (eww-back-url): Rename from eww-previous-url.
9341         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9342         New defuns.
9344 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
9346         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9347         Distinguish ternary operator tokens from slash symbol and slash
9348         char literal.
9350 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9352         Convert symbol prettification into minor mode and global minor mode.
9354         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9355         `prog-prettify-symbols', and make a local defvar instead of defcustom.
9356         (prettify-symbols--keywords): Rename from
9357         `prog-prettify-symbols-alist' and make a local defvar.
9358         (prettify-symbols--compose-symbol): Rename from
9359         `prog--prettify-font-lock-compose-symbol'.
9360         (prettify-symbols--make-keywords): Rename from
9361         `prog-prettify-font-lock-symbols-keywords' and simplify.
9362         (prog-prettify-install): Remove.
9363         (prettify-symbols-mode): New minor mode, based on
9364         `prog-prettify-install'.
9365         (turn-on-prettify-symbols-mode): New function.
9366         (global-prettify-symbols-mode): New globalized minor mode.
9368         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9369         * progmodes/cfengine.el (cfengine3-mode):
9370         * progmodes/perl-mode.el (perl-mode): Don't call
9371         `prog-prettify-install'; set `prettify-symbols-alist' instead.
9373 2013-06-18  Juri Linkov  <juri@jurta.org>
9375         * files-x.el (modify-file-local-variable-message): New function.
9376         (modify-file-local-variable)
9377         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9378         and call `modify-file-local-variable-message' when it's non-nil.
9379         (add-file-local-variable, delete-file-local-variable)
9380         (add-file-local-variable-prop-line)
9381         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9382         and use it.  (Bug#9820)
9384 2013-06-18  Juri Linkov  <juri@jurta.org>
9386         * emulation/vi.el (vi-shell-op):
9387         * emulation/vip.el (vip-execute-com, ex-command):
9388         * emulation/viper-cmd.el (viper-exec-bang):
9389         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9390         the call of `shell-command-on-region'.  (Bug#14637)
9392         * simple.el (shell-command-on-region): Doc fix.
9394 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9397         (bug#14633).
9399 2013-06-18  Glenn Morris  <rgm@gnu.org>
9401         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9403         * newcomment.el (comment-search-forward, comment-search-backward):
9404         Doc fix.  (Bug#14376)
9406 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
9408         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9409         (buffer-face-mode-invoke): Doc fix.
9411 2013-06-18  Matthias Meulien  <orontee@gmail.com>
9413         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9414         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9416 2013-06-18  Glenn Morris  <rgm@gnu.org>
9418         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9419         Replace obsolete function generic-make-keywords with its expansion.
9421         * progmodes/python.el (ffap-alist): Declare.
9423         * textmodes/reftex.el (bibtex-mode-map): Declare.
9425 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9427         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9428         (package-unpack, package-unpack-single): Return the pkg-dir.
9429         (package-download-transaction): Use it to update package-alist.
9431 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9433         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9434         possible choice.
9436 2013-06-17  Juri Linkov  <juri@jurta.org>
9438         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9440 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9442         * emacs-lisp/package.el (package-load-descriptor):
9443         Remove `with-syntax-table' call, `read' doesn't need it.
9444         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9446 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9448         * startup.el (command-line): Expand package name returned by
9449         `package--description-file' (bug#14639).
9451 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
9453         * emacs-lisp/package.el (package-load-descriptor): Do not call
9454         `emacs-lisp-mode', just use its syntax table.
9456 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
9458         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9459         `font-lock-extra-managed-props' if any prettifying keyword is added.
9460         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9461         (prog-mode): Use `setq-local'.
9463 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9465         * international/characters.el (standard-case-table): Set syntax of ?»
9466         and ?« to punctuation.
9468 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
9470         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9471         Save relevant match data before calling `syntax-ppss' (bug#14595).
9473 2013-06-15  Juri Linkov  <juri@jurta.org>
9475         * files-x.el (modify-file-local-variable-prop-line): Add local
9476         variables to the end of the existing comment on the first line.
9477         Use `file-auto-mode-skip' to skip interpreter magic line,
9478         and also skip XML declaration.
9480 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9482         * startup.el (package--builtin-versions): New var.
9483         (package-subdirectory-regexp): Remove.
9484         (package--description-file): Hard code its value instead.
9486         * emacs-lisp/package.el: Don't activate packages older than builtin.
9487         (package-obsolete-list): Rename from package-obsolete-alist, and make
9488         it into a simple list of package-desc.
9489         (package-strip-version): Remove.
9490         (package-built-in-p): Use package--builtin-versions.
9491         (package-mark-obsolete): Simplify.
9492         (package-process-define-package): Mark it obsolete if older than the
9493         builtin version.
9494         (package-handle-response): Use line-end-position.
9495         (package-read-archive-contents, package--download-one-archive):
9496         Simplify.
9497         (package--add-to-archive-contents): Skip if older than the builtin or
9498         installed version.
9499         (package-menu-describe-package): Fix last change.
9500         (package-list-unversioned): New var.
9501         (package-menu--generate): Use it.
9503         * emacs-lisp/autoload.el: Manage package--builtin-versions.
9504         (autoload--insert-text, autoload--insert-cookie-text): New functions.
9505         (autoload-builtin-package-versions): New variable.
9506         (autoload-generate-file-autoloads): Use them.
9507         Remove the list of autoloaded functions/macros from the
9508         (autoload...) comments.
9510         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9512 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
9514         * simple.el (line-move-partial): Don't jump to the next screen
9515         line as soon as it becomes visible.  Instead, continue enlarging
9516         the vscroll until the portion of a tall screen line that's left on
9517         display is about the height of the frame's default font.
9518         (Bug#14567)
9520 2013-06-15  Glenn Morris  <rgm@gnu.org>
9522         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9523         compilation-error-regexp-alist void, or local while let-bound.
9525         * progmodes/make-mode.el (makefile-mode-syntax-table):
9526         Treat "=" as punctuation.  (Bug#14614)
9528 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
9530         * help-fns.el (describe-variable):
9531         Add extra line for permanent-local variables.
9533 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
9535         * progmodes/scheme.el (scheme-font-lock-keywords-2):
9536         Add export, import, library.  (Bug#9164)
9537         (library): Set indent function.
9539 2013-06-14  Glenn Morris  <rgm@gnu.org>
9541         * term/xterm.el (xterm--query):
9542         Stop after first matching handler.  (Bug#14615)
9544 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
9546         Add support for dired in saveplace.
9547         * dired.el (dired-initial-position-hook): New variable.
9548         (dired-initial-position): Call hook to place cursor position.
9549         * saveplace.el (save-place-to-alist): Add dired position.
9550         (save-place-dired-hook): New function.
9552 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9554         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9555         through a symbol rather than letrec.
9557         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
9558         (package-desc): Add `dir' field.
9559         (package-desc-full-name): New function.
9560         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
9561         (package-maybe-load-descriptor): Remove.
9562         (package-load-all-descriptors): Just call package-load-descriptor.
9563         (package--disabled-p): New function.
9564         (package-desc-vers, package-desc-doc): Remove aliases.
9565         (package--dir): Remove function.
9566         (package-activate): Check if a package is disabled.
9567         (package-process-define-package): New function, extracted from
9568         define-package.
9569         (define-package): Turn into a place holder.
9570         (package-unpack-single, package-tar-file-info):
9571         Use package--description-file.
9572         (package-compute-transaction): Use package--disabled-p.
9573         (package-download-transaction): Don't call
9574         package-maybe-load-descriptor since they're all loaded anyway.
9575         (package-install): Change argument to be a pkg-desc.
9576         (package-delete): Use a single pkg-desc argument.
9577         (describe-package-1): Use package-desc-dir instead of package--dir.
9578         Use package-desc property instead of package-symbol.
9579         (package-install-button-action): Adjust accordingly.
9580         (package--push): Rewrite.
9581         (package-menu--print-info): Adjust accordingly.  Change the ID format
9582         to be a pkg-desc.
9583         (package-menu-describe-package, package-menu-get-status)
9584         (package-menu--find-upgrades, package-menu-mark-upgrades)
9585         (package-menu-execute, package-menu--name-predicate):
9586         Adjust accordingly.
9587         * startup.el (package--description-file): New function.
9588         (command-line): Use it.
9589         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9590         Use package-desc-version.
9592         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9593         (byte-compile-preprocess): Use it.
9594         (byte-compile-file-form-defalias): Try a bit harder to use macros we
9595         can't quite recognize.
9596         (byte-compile-add-to-list): Remove.
9597         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9598         (cconv-closure-convert): Add assertion.
9600         * emacs-lisp/map-ynp.el: Use lexical-binding.
9601         (map-y-or-n-p): Remove unused vars `tail' and `object'.
9602         Factor out some repeated code.
9604 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9606         * subr.el (with-eval-after-load): New macro.
9607         (eval-after-load): Allow form to be a function.
9608         take advantage of lexical-binding.
9609         (do-after-load-evaluation): Use dolist and adjust to new format.
9610         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9612 2013-06-13  Juri Linkov  <juri@jurta.org>
9614         * replace.el (perform-replace): Display "symbol " and other search
9615         modes from `isearch-message-prefix' in the *Help* buffer.
9617         * isearch.el (isearch-query-replace): Add " symbol" and other
9618         possible search modes from `isearch-message-prefix' to the prompt.
9619         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9620         when reading a regexp to collect.
9622 2013-06-13  Juri Linkov  <juri@jurta.org>
9624         * isearch.el (word-search-regexp): Match whitespace if the search
9625         string begins or ends in whitespace.  The LAX arg is applied to
9626         both ends of the search string.  Use `regexp-quote' and explicit
9627         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
9628         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9629         boundaries are replaced with symbol boundaries, and characters
9630         between symbols match non-word non-symbol syntax.  (Bug#14602)
9632 2013-06-13  Juri Linkov  <juri@jurta.org>
9634         * isearch.el (isearch-del-char): Don't exceed the length of
9635         `isearch-string' by the prefix arg.  (Bug#14563)
9637 2013-06-13  Juri Linkov  <juri@jurta.org>
9639         * isearch.el (isearch-yank-word, isearch-yank-line)
9640         (isearch-char-by-name, isearch-quote-char)
9641         (isearch-printing-char, isearch-process-search-char):
9642         Add optional count prefix arg.  (Bug#14563)
9644         * international/isearch-x.el
9645         (isearch-process-search-multibyte-characters):
9646         Add optional count prefix arg.
9648 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9650         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9651         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9652         lexical-binding.
9654 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
9656         * subr.el (set-temporary-overlay-map): Add on-exit argument.
9658 2013-06-13  Glenn Morris  <rgm@gnu.org>
9660         * startup.el (tty-handle-args):
9661         Don't just discard "--" and anything after.  (Bug#14608)
9663         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9665 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
9667         Implement changes in Secret Service API.  Make it backward compatible.
9668         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9669         (secrets-create-item): Use it.  Prefix properties with interface.
9671 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
9673         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
9674         (term-emulate-terminal): Respect term-suppress-hard-newline.
9676 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
9678         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9679         Only remove a `thumb-file' overlay.  (Bug#14548)
9681 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
9683         * mail/reporter.el (reporter-submit-bug-report):
9684         Handle missing package-name.  (Bug#14600)
9686 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9688         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9689         (reftex-citation-prompt, reftex-default-bibliography)
9690         (reftex-bib-or-thebib, reftex-get-bibfile-list)
9691         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9692         (reftex-bib-sort-author, reftex-bib-sort-year)
9693         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9694         (reftex-extract-bib-entries-from-thebibliography)
9695         (reftex-get-bibkey-default, reftex-get-bib-names)
9696         (reftex-parse-bibtex-entry, reftex-get-bib-field)
9697         (reftex-format-bib-entry, reftex-parse-bibitem)
9698         (reftex-format-bibitem, reftex-do-citation)
9699         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9700         (reftex-restrict-bib-matches, reftex-extract-bib-file)
9701         (reftex-insert-bib-matches, reftex-format-citation)
9702         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9703         (reftex-create-bibtex-file): Add docstrings, mostly by converting
9704         existing comments into docstrings.
9706 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9708         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9710 2013-06-12  Andreas Schwab  <schwab@suse.de>
9712         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9713         for auto-save files.
9715 2013-06-12  Glenn Morris  <rgm@gnu.org>
9717         * ido.el (ido-delete-ignored-files): Remove.
9718         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9719         Go back to calling ido-ignore-item-p directly.
9721 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
9723         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9725         * ido.el (ido-delete-ignored-files): New function,
9726         split from ido-make-file-list-1.
9727         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
9728         (ido-make-file-list-1): Use ido-delete-ignored-files.
9730 2013-06-12  Leo Liu  <sdl.web@gmail.com>
9732         * progmodes/octave.el (inferior-octave-startup)
9733         (inferior-octave-completion-table)
9734         (inferior-octave-track-window-width-change)
9735         (octave-eldoc-function-signatures, octave-help)
9736         (octave-find-definition): Use single quoted strings.
9737         (inferior-octave-startup-args): Change default value.
9738         (inferior-octave-startup): Do not hard code "-i" and
9739         "--no-line-editing".
9740         (inferior-octave-resync-dirs): Add optional arg NOERROR.
9741         (inferior-octave-directory-tracker): Use it.
9742         (octave-goto-function-definition): Robustify.
9743         (octave-help): Support highlighting operators in 'See also'.
9744         (octave-find-definition): Find subfunctions only in Octave mode.
9746 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * help-fns.el (help-fns--compiler-macro): If the handler function is
9749         named, then put a link to it.
9750         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9751         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9752         (cl-typep): Use it.
9753         (cl-eval-when): Simplify debug spec.
9754         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
9755         compiler-macro function instead of setting `compiler-macro-file'.
9757 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9759         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9760         * vc/vc-hooks.el (vc-stay-local): Doc fix.
9762 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9763             Daniel Hackney  <dan@haxney.org>
9765         First part of Daniel Hackney's patch to package.el.
9766         * emacs-lisp/package.el: Use defstruct.
9767         (package-desc): New, main struct.
9768         (package--bi-desc, package--ac-desc): New structs, used to describe the
9769         format in external files.
9770         (package-desc-vers): Replace with package-desc-version accessor.
9771         (package-desc-doc): Replace with package-desc-summary accessor.
9772         (package-activate-1): Remove `package' arg since the pkg-vec now
9773         includes the name.
9774         (define-package): Use package-desc-from-define.
9775         (package-unpack-single): Change file-name arg to be a symbol.
9776         (package--add-to-archive-contents): Use package-desc-create and new
9777         accessor functions to package--ac-desc.
9778         (package-buffer-info, package-tar-file-info): Return a package-desc.
9779         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
9780         arg to be a package-desc.
9781         (package-install-file): Adjust accordingly.  Use \' to match EOS.
9782         (package--from-builtin): New function.
9783         (describe-package-1, package-menu--generate): Use it.
9784         (package--make-autoloads-and-compile): Change name arg to be a symbol.
9785         (package-generate-autoloads): Idem and return the name of the file.
9786         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9787         Change pkg-info arg to be a package-desc.
9788         Use package-make-ac-desc.
9789         (package-upload-file): Use \' to match EOS.
9790         * finder.el (finder-compile-keywords): Use package-make-builtin.
9792 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9794         * vc/vc.el (vc-deduce-fileset): Change error message.
9795         (vc-read-backend): New function.
9796         (vc-next-action): Use it.
9798         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9800         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9801         (prolog-font-lock-keywords): Use regexp-opt instead.
9802         Don't manually highlight strings.
9803         (prolog-mode-variables): Simplify comment-start-skip.
9804         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
9806         * emacs-lisp/generic.el (generic--normalise-comments)
9807         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9808         (generic-mode-set-comments): Use them.
9809         (generic-bracket-support): Use setq-local.
9810         (generic-make-keywords-list): Declare obsolete.
9812 2013-06-11  Glenn Morris  <rgm@gnu.org>
9814         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9815         Prettify after setting font-lock-defaults.  (Bug#14574)
9817 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
9819         * replace.el (query-replace, occur-read-regexp-defaults-function)
9820         (replace-search):
9821         * subr.el (declare-function, number-sequence, local-set-key)
9822         (substitute-key-definition, locate-user-emacs-file)
9823         (with-silent-modifications, split-string, eval-after-load):
9824         Fix typos, remove unneeded backslashes and reflow some docstrings.
9826 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9829         default for Elisp files.
9831 2013-06-11  Glenn Morris  <rgm@gnu.org>
9833         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9834         although define-derived-mode was doing this anyway.  (Bug#14583)
9836 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
9838         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9839         Fix make-variable-buffer-local call to refer to the correct variable.
9841 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
9843         * eshell/em-term.el (eshell-visual-commands)
9844         (eshell-visual-subcommands, eshell-visual-options):
9845         Add summary line to docstrings.  Add cross-references.
9847 2013-06-10  Glenn Morris  <rgm@gnu.org>
9849         * epa.el (epa-read-file-name): New function.  (Bug#14510)
9850         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
9852 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9854         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9855         output redirection to be ignored with visual commands.
9857 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9859         * eshell/em-term.el (eshell-visual-command-p): New function.
9860         (eshell-term-initialize): Move long lambda to separate function
9861         eshell-visual-command-p.
9862         * eshell/em-dirs.el (eshell-dirs-initialise):
9863         * eshell/em-script.el (eshell-script-initialize):
9864         Add missing #' to lambda.
9866 2013-06-08  Leo Liu  <sdl.web@gmail.com>
9868         * progmodes/octave.el (octave-add-log-current-defun): New function.
9869         (octave-mode): Set add-log-current-defun-function.
9870         (octave-goto-function-definition): Do not move point if not found.
9871         (octave-find-definition): Enhance to try subfunctions first.
9873 2013-06-08  Glenn Morris  <rgm@gnu.org>
9875         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9876         (byte-compile-backward-char, byte-compile-backward-word):
9877         Improve previous change, to handle non-explicit nil.
9879 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9881         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9882         (smie--opener/closer-at-point): New function.
9883         (smie--matching-block-data): Use it.  Don't match from right after an
9884         opener or right before a closer.  Obey smie-blink-matching-inners.
9885         Don't signal a mismatch for repeated inners like "switch..case..case".
9887 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9889         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9890         to t.  (Bug#14303)
9891         (octave-function-header-regexp): Fix.  (Bug#14570)
9892         (octave-help-mode-finish-hook, octave-help-mode-finish):
9893         Remove.  Just use temp-buffer-show-hook.
9895         * newcomment.el (comment-search-backward): Revert last change.
9896         (Bug#14434)
9898         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9900 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9902         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9903         through xargs, to avoid failure due to MS-Windows limitations on
9904         command-line length.
9906 2013-06-06  Glenn Morris  <rgm@gnu.org>
9908         * font-lock.el (lisp-font-lock-keywords-2):
9909         Treat user-error like error.
9911         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9912         (byte-compile-backward-char, byte-compile-backward-word):
9913         Handle explicit nil arguments.  (Bug#14565)
9915 2013-06-05  Alan Mackenzie  <acm@muc.de>
9917         * isearch.el (isearch-allow-prefix): New user option.
9918         (isearch-other-meta-char): Don't exit isearch when a prefix
9919         argument is typed whilst `isearch-allow-prefix' is non-nil.
9920         (Bug#9706)
9922 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9924         * autorevert.el (auto-revert-notify-handler): Use memq.
9925         Hide assertion failure.
9927         * skeleton.el: Use cl-lib.
9928         (skeleton-further-elements): Use defvar-local.
9929         (skeleton-insert): Use cl-progv.
9931 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9933         * progmodes/prog-mode.el (prog-prettify-symbols)
9934         (prog-prettify-install): Update docstrings.
9936 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9938         * simple.el: Move all the prog-mode code to prog-mode.el.
9939         * progmodes/prog-mode.el: New file.
9940         * loadup.el: Add prog-mode.el.
9942 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9944         * simple.el (prog-prettify-symbols): Add version.
9945         (prog-prettify-install): Add convenience function to prettify symbols.
9947         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9948         (perl--augmented-font-lock-keywords-1)
9949         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9950         variables and use it.
9952         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9953         (cfengine3-mode): Remove unneeded variable and use it.
9955         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9956         (lisp--augmented-font-lock-keywords-1)
9957         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9958         Remove unneeded variables and use it.
9960 2013-06-05  João Távora  <joaotavora@gmail.com>
9962         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9963         to point when opening the connection.  (Bug#14380)
9965 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9967         * subr.el (load-history-regexp, load-history-filename-element)
9968         (eval-after-load, after-load-functions, do-after-load-evaluation)
9969         (eval-next-after-load, display-delayed-warnings)
9970         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9971         definition of save-match-data.
9972         (overriding-local-map): Remove accidental obsolescence declaration.
9974         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9976 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9978         Generalize symbol prettify support to prog-mode and implement it
9979         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9980         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9981         (prog--prettify-font-lock-compose-symbol)
9982         (prog-prettify-font-lock-symbols-keywords): New variables and
9983         functions to support symbol prettification.
9984         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9985         (lisp--augmented-font-lock-keywords-1)
9986         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9987         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9988         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9989         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9990         Implement prettify of -> => :: strings.
9991         * progmodes/perl-mode.el (perl-prettify-symbols)
9992         (perl--font-lock-compose-symbol)
9993         (perl--font-lock-symbols-keywords): Move to prog-mode.
9994         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9995         (perl-font-lock-keywords-1)
9996         (perl-font-lock-keywords-2): Remove explicit prettify support.
9997         (perl--augmented-font-lock-keywords)
9998         (perl--augmented-font-lock-keywords-1)
9999         (perl--augmented-font-lock-keywords-2, perl-mode):
10000         Implement prettify support.
10002 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10004         Re-implement smie matching block highlight using
10005         show-paren-data-function.  (Bug#14395)
10006         * emacs-lisp/smie.el (smie-matching-block-highlight)
10007         (smie--highlight-matching-block-overlay)
10008         (smie--highlight-matching-block-lastpos)
10009         (smie-highlight-matching-block)
10010         (smie-highlight-matching-block-mode): Remove.
10011         (smie--matching-block-data-cache): New variable.
10012         (smie--matching-block-data): New function.
10013         (smie-setup): Use smie--matching-block-data for
10014         show-paren-data-function.
10016         * progmodes/octave.el (octave-mode-menu): Fix.
10017         (octave-find-definition): Skip garbage lines.
10019 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10021         Fix compilation error with simultaneous dynamic+lexical scoping.
10022         Add warning when a defvar appears after the first let-binding.
10023         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10024         (byte-compile-close-variables): Initialize it.
10025         (byte-compile--declare-var): New function.
10026         (byte-compile-file-form-defvar)
10027         (byte-compile-file-form-define-abbrev-table)
10028         (byte-compile-file-form-custom-declare-variable): Use it.
10029         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
10030         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10031         (byte-compile-bind): Handle dynamic bindings that shadow
10032         lexical bindings.
10033         (byte-compile-unbind): Make arg non-optional.
10034         (byte-compile-let): Simplify.
10035         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10036         (cconv--analyse-function, cconv-analyse-form): Populate it.
10037         Protect byte-compile-bound-variables to limit the scope of defvars.
10038         (cconv-analyse-form): Add missing rule for (defvar <foo>).
10039         Remove unneeded rule for `declare'.
10041         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10042         so as to avoid depending on cl-adjoin at run-time.
10043         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10045         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10046         (macroexp--warn-and-return): Use it.
10048 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10050         * subr.el: Convert to lexical binding.
10051         (overriding-local-map): Make obsolete.
10052         (add-to-list): Doc fix.  Add compiler macro.
10053         (read-key): Swap values of local maps.
10055 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10057         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10059 2013-06-04  Leo Liu  <sdl.web@gmail.com>
10061         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10062         (compilation-auto-jump): Suppress the "Mark set" message to give
10063         way to exit message.
10065 2013-06-04  Alan Mackenzie  <acm@muc.de>
10067         Remove faulty optimisation from indentation calculation.
10068         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10069         search limit based on 2000 characters back from indent-point.
10071 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10073         * eshell/em-term.el (cl-lib): Require `cl-lib'.
10075 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10077         * emacs-lisp/lisp.el: Use lexical-binding.
10078         (lisp--local-variables-1, lisp--local-variables): New functions.
10079         (lisp--local-variables-completion-table): New var.
10080         (lisp-completion-at-point): Use it complete let-bound vars.
10082         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10083         eagerly (bug#14422).
10085 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
10087         * autorevert.el (auto-revert-notify-enabled)
10088         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10089         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10090         (auto-revert-notify-handler): Handle also gfilenotify.
10092         * subr.el (file-notify-handle-event): New defun.  Replacing ...
10093         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10094         Remove.
10096 2013-06-03  Juri Linkov  <juri@jurta.org>
10098         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10099         `M-s h .'.  (Bug#14427)
10101         * hi-lock.el (highlight-symbol-at-point): New alias for the new
10102         command `hi-lock-face-symbol-at-point'.
10103         (hi-lock-face-symbol-at-point): New command.
10104         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10105         (hi-lock-menu): Add `highlight-symbol-at-point'.
10106         (hi-lock-mode): Doc fix.
10108         * isearch.el (isearch-forward-symbol-at-point): New command.
10109         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10110         (isearch-highlight-regexp): Add a regexp which matches
10111         words/symbols for word/symbol mode.
10113         * subr.el (find-tag-default-bounds): New function with the body
10114         mostly moved from `find-tag-default'.
10115         (find-tag-default): Move most code to `find-tag-default-bounds',
10116         call it and apply `buffer-substring-no-properties' afterwards.
10118 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10120         * eshell/em-term.el (eshell-term-initialize):
10121         Use `cl-intersection' rather than `intersection'.
10123 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
10125         * vc/log-view.el: Doc fix.
10126         (log-view-mode-map): Copy keymap from `special-mode-map'.
10128 2013-06-02  Eric Ludlam  <zappo@gnu.org>
10130         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10131         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10132         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10133         (eieio-unbound, eieio-default-superclass)
10134         (eieio--define-field-accessors, method-static, method-before)
10135         (method-primary, method-after, method-num-lists)
10136         (method-generic-before, method-generic-primary)
10137         (method-generic-after, method-num-slots)
10138         (eieio-specialized-key-to-generic-key)
10139         (eieio--check-type, class-v, class-p)
10140         (eieio-class-name, define-obsolete-function-alias)
10141         (eieio-class-parents-fast, eieio-class-children-fast)
10142         (same-class-fast-p, class-constructor, generic-p)
10143         (generic-primary-only-p, generic-primary-only-one-p)
10144         (class-option-assoc, class-option, eieio-object-p)
10145         (class-abstract-p, class-method-invocation-order)
10146         (eieio-defclass-autoload-map, eieio-defclass-autoload)
10147         (eieio-class-un-autoload, eieio-defclass)
10148         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10149         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10150         (eieio--defgeneric-init-form, eieio-defgeneric-form)
10151         (eieio-defgeneric-reset-generic-form)
10152         (eieio-defgeneric-form-primary-only)
10153         (eieio-defgeneric-reset-generic-form-primary-only)
10154         (eieio-defgeneric-form-primary-only-one)
10155         (eieio-defgeneric-reset-generic-form-primary-only-one)
10156         (eieio-unbind-method-implementations)
10157         (eieio--defmethod, eieio--typep)
10158         (eieio-perform-slot-validation, eieio-validate-slot-value)
10159         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10160         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10161         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10162         (eieio-slot-name-index, eieio-class-slot-name-index)
10163         (eieio-set-defaults, eieio-initarg-to-attribute)
10164         (eieio-attribute-to-initarg, eieio-c3-candidate)
10165         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10166         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10167         (eieio-class-precedence-list, eieio-generic-call-methodname)
10168         (eieio-generic-call-arglst, eieio-generic-call-key)
10169         (eieio-generic-call-next-method-list)
10170         (eieio-pre-method-execution-functions, eieio-generic-call)
10171         (eieio-generic-call-primary-only, eieiomt-method-list)
10172         (eieiomt-optimizing-obarray, eieiomt-install)
10173         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10174         (eieio-generic-form, eieio-defmethod, make-obsolete)
10175         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10176         (defclass): Remove `eval-and-compile' from macro.
10177         (call-next-method, shared-initialize): Instead of using
10178         `scoped-class' variable, use new eieio--scoped-class, and
10179         eieio--with-scoped-class.
10180         (initialize-instance): Rename local variable 'scoped-class' to
10181         'this-class' to remove ambiguitity from old global.
10183         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
10184         eieio.el.
10185         (eieio--scoped-class-stack): New variable.
10186         (eieio--scoped-class): New fcn.
10187         (eieio--with-scoped-class): New scoping macro.
10188         (eieio-defclass): Use pushnew instead of add-to-list.
10189         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10190         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10191         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10192         `scoped-class' variable, use new eieio--scoped-class, and
10193         eieio--with-scoped-class.
10195         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10197 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
10199         * eshell/esh-ext.el (eshell-external-command): Pass args to
10200         `eshell-find-interpreter'.
10201         (eshell-find-interpreter): Add new second parameter ARGS.
10203         * eshell/em-script.el (eshell-script-initialize): Add second arg
10204         to the function added as MATCH to `eshell-interpreter-alist'.
10206         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10207         the function added as MATCH to `eshell-interpreter-alist'.
10209         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10210         (eshell-visual-options): New defcustom.
10211         (eshell-escape-control-x): Adapt docstring.
10212         (eshell-term-initialize): Test `eshell-visual-subcommands' and
10213         `eshell-visual-options' in addition to `eshell-visual-commands'.
10214         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10216 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10218         * progmodes/python.el (python-indent-block-enders): Add break,
10219         continue and raise keywords.
10221 2013-06-01  Glenn Morris  <rgm@gnu.org>
10223         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10225         Plain (f)boundp silences compilation warnings since Emacs 22.1.
10226         * progmodes/cc-cmds.el (delete-forward-p):
10227         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10228         * progmodes/cc-engine.el (buffer-syntactic-context):
10229         * progmodes/cc-fonts.el (face-property-instance):
10230         * progmodes/cc-mode.el (set-keymap-parents):
10231         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10232         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10233         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10234         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10235         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10237         * progmodes/cc-vars.el (other): Emacs has this widget since
10238         at least 21.1, so don't (re)define it.
10240         * eshell/em-cmpl.el (eshell-cmpl-initialize):
10241         Replace the obsolete alias pcomplete-arg-quote-list.
10243 2013-06-01  Leo Liu  <sdl.web@gmail.com>
10245         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10246         punctuation syntax.
10247         (inferior-octave-minimal-columns)
10248         (inferior-octave-last-column-width): New variables.
10249         (inferior-octave-track-window-width-change): New function.
10250         (inferior-octave-mode): Adjust column width so that Octave output,
10251         for example from 'ls', can fit into the window nicely.
10253 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10255         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10256         Highlight expansions inside regexp literals.
10258 2013-05-31  Glenn Morris  <rgm@gnu.org>
10260         * obsolete/sym-comp.el (symbol-complete):
10261         Replace obsolete completion-annotate-function.
10263         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10265 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10267         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10268         New function, checks if point is inside a literal that allows
10269         expression expansion.
10270         (ruby-syntax-propertize-expansion): Use it.
10271         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10272         around the body.
10274 2013-05-30  Juri Linkov  <juri@jurta.org>
10276         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10277         to "\M-si".
10278         (isearch-invisible): New variable.
10279         (isearch-forward): Doc fix.
10280         (isearch-mode): Set `isearch-invisible'
10281         to the value of `search-invisible'.
10282         (isearch-toggle-case-fold): Doc fix.
10283         (isearch-toggle-invisible): New command.
10284         (isearch-query-replace): Let-bind `search-invisible'
10285         to the value of `isearch-invisible'.
10286         (isearch-search): Use `isearch-invisible' instead of
10287         `search-invisible'.  Let-bind `search-invisible'
10288         to the value of `isearch-invisible'.  (Bug#11378)
10290 2013-05-30  Juri Linkov  <juri@jurta.org>
10292         * replace.el (perform-replace): Avoid `isearch-range-invisible'
10293         call when `query-flag' is nil and `search-invisible' is non-nil.
10294         (Bug#11746)
10296 2013-05-30  Glenn Morris  <rgm@gnu.org>
10298         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10300         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10301         (cc-require): Suppress spurious "noruntime" warnings.
10302         (cc-require-when-compile): Use fboundp, for sake of compiler.
10304         * progmodes/cc-mode.el: Move load of cc-vars before that of
10305         cc-langs (which in turn loads cc-vars), to quieten compiler.
10307 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10309         * paren.el: Simplify the code.
10310         (show-paren-mode): Always start the timer.
10311         (show-paren--idle-timer): Rename from show-paren-idle-timer.
10312         (show-paren--overlay, show-paren--overlay-1): Rename from
10313         show-paren-overlay and show-paren-overlay-1, and initialize to an
10314         overlay rather than to nil.
10315         (show-paren-function): Misc cleanup and simplifications.
10317 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10319         * paren.el (show-paren-data-function): New hook.
10320         (show-paren--default): New function, extracted from show-paren-function.
10321         (show-paren-function): Use show-paren-data-function.
10323 2013-05-30  Glenn Morris  <rgm@gnu.org>
10325         * ielm.el (ielm-map, ielm-complete-symbol):
10326         Use completion-at-point rather than obsolete functions.
10327         (inferior-emacs-lisp-mode): Doc fix.
10328         Set completion-at-point-functions, rather than
10329         comint-dynamic-complete-functions.
10331         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10332         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10333         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10335         * image.el (image-animated-p): Tweak definition.
10337         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10338         (rlogin-process-connection-type): Tweak default.  Add set-after.
10339         (rlogin-host): Doc fix.
10340         (rlogin): Tweak prompt.
10341         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10343         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10344         * progmodes/tcl.el (inferior-tcl-mode-map):
10345         Use completion-at-point rather than obsolete alias.
10347         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10349         * minibuffer.el (read-file-name-completion-ignore-case):
10350         Move before completion--in-region, for eager macro expansion.
10352 2013-05-29  Juri Linkov  <juri@jurta.org>
10354         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10355         for total count of matching lines.  Add `global-matches' for total
10356         count of matches.  Rename `matches' to `lines' for count of
10357         matching lines.  Add `matches' for count of matches.
10358         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
10359         to `prev-line' for line number of prev match endpt.
10360         Increment `matches' for every match.  Print the number of
10361         matching lines in the header.
10362         (occur-context-lines): Rename `lines' to `curr-line'.
10363         Rename `prev-lines' to `prev-line'.  (Bug#14017)
10365 2013-05-29  Juri Linkov  <juri@jurta.org>
10367         * replace.el (perform-replace): Add `skip-read-only-count',
10368         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10369         Increment them for corresponding conditions and report the number
10370         of skipped occurrences in the final message.  (Bug#11746)
10371         (query-replace, query-replace-regexp, query-replace-regexp-eval)
10372         (replace-string, replace-regexp): Doc fix.
10374 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10376         * emacs-lisp/trace.el (trace--read-args): Provide a default.
10378         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10379         prog-mode-map (bug#14504).
10381 2013-05-29  Leo Liu  <sdl.web@gmail.com>
10383         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10384         (octave-help): Small simplification.
10386         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10387         off the highlight first.
10389 2013-05-29  Glenn Morris  <rgm@gnu.org>
10391         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10392         Handle idlwave-last-system-routine-info-cons-cell being nil.
10394         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10395         (idlwave-write-paths): Simplify via with-temp-buffer.
10397         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10398         * emulation/cua-rect.el: Also load cua-base at run time.
10400         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10401         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10402         (cperl-imenu-on-info): Require imenu.
10404 2013-05-28  Alan Mackenzie  <acm@muc.de>
10406         Handle "capitalised keywords" correctly.
10407         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10409 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
10411         * eshell/em-unix.el: Add -r option to cp.
10413 2013-05-28  Glenn Morris  <rgm@gnu.org>
10415         * vc/vc-arch.el (vc-exec-after): Declare.
10416         (vc-switches): Autoload.
10417         * vc/vc-bzr.el: No need to require vc when compiling.
10418         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10419         (vc-resynch-buffer, vc-dir-refresh): Declare.
10420         (vc-setup-buffer, vc-switches): Autoload.
10421         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10422         (vc-resynch-buffer): Declare.
10423         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10424         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10425         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10426         (grep-read-regexp, grep-read-files, grep-expand-template)
10427         (vc-dir-refresh): Declare.
10428         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10429         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10430         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10431         * vc/vc-mtn.el (vc-exec-after): Declare.
10432         (vc-switches): Autoload.
10433         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10434         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10435         (vc-file-tree-walk): Declare.
10436         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10437         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10438         (vc-tag-precondition, vc-rename-master): Autoload.
10439         * vc/vc-svn.el (vc-exec-after): Declare.
10440         (vc-switches, vc-setup-buffer): Autoload.
10441         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10442         Autoload.
10443         (vc-resynch-buffer): Declare.
10445         * obsolete/fast-lock.el (byte-compile-warnings):
10446         Don't warn about obsolete features in this obsolete file.
10448         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10449         Move definition before use.
10451         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10452         (dun-unix-verbs): Remove dun-zippy.
10453         (dun-zippy): Remove function.
10455         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10457 2013-05-27  Juri Linkov  <juri@jurta.org>
10459         * replace.el (replace-search): New function with code moved out
10460         from `perform-replace'.
10461         (replace-highlight, replace-dehighlight): Move function definitions
10462         up closer to `replace-search'.  (Bug#11746)
10464 2013-05-27  Juri Linkov  <juri@jurta.org>
10466         * replace.el (perform-replace): Ignore invisible matches.
10467         In addition to checking `query-replace-skip-read-only', also
10468         filter out matches by calling `run-hook-with-args-until-failure'
10469         on `isearch-filter-predicates', and also check `search-invisible'
10470         for t or call `isearch-range-invisible'.
10471         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
10473 2013-05-27  Juri Linkov  <juri@jurta.org>
10475         * isearch.el (isearch-filter-predicates): Rename from
10476         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
10477         (isearch-message-prefix): Display text from the property
10478         `isearch-message-prefix' of the currently active filters.
10479         (isearch-search): Don't compare `isearch-filter-predicate' with
10480         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
10481         on `isearch-filter-predicates'.  Also check `search-invisible' for t
10482         or call `isearch-range-invisible'.
10483         (isearch-filter-visible): Make obsolete.
10484         (isearch-lazy-highlight-search):
10485         Call `run-hook-with-args-until-failure' on
10486         `isearch-filter-predicates' and use `isearch-range-invisible'.
10488         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10489         `isearch-filter-predicates' instead of `funcall'ing
10490         `isearch-filter-predicate'.
10491         (Info-mode): Set `Info-isearch-filter' to
10492         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10494         * dired-aux.el (dired-isearch-filter-predicate-orig):
10495         Remove variable.
10496         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10497         (dired-isearch-filenames-end): Add and remove
10498         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10499         instead of changing the value of `isearch-filter-predicate'.
10500         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10501         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10502         Put property `isearch-message-prefix' to "filename " on
10503         `dired-isearch-filter-filenames'.
10505         * wdired.el (wdired-change-to-wdired-mode):
10506         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10507         locally instead of changing `isearch-filter-predicate'.
10508         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10510 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
10512         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10513         return the commit hash (Bug#14459).  Also set the
10514         `vc-git-detached' property.
10515         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10516         (vc-git-mode-line-string): Use the same help-echo format whether
10517         in detached mode or not, because we know the actual revision now.
10518         When in detached mode, shorten the revision to 7 chars.
10520 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * emacs-lisp/easy-mmode.el (define-minor-mode):
10523         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10524         mode hook and provide a docstring.
10526 2013-05-27  Alan Mackenzie  <acm@muc.de>
10528         Remove spurious syntax-table text properties inserted by C-y.
10529         * progmodes/cc-mode.el (c-after-change): Also clear hard
10530         syntax-table property with value nil.
10532 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
10534         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10535         when reading the events; the buffer layout shall not be changed.
10537 2013-05-27  Leo Liu  <sdl.web@gmail.com>
10539         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10540         New variable.
10541         (inferior-octave-directory-tracker): Automatically re-sync
10542         default-directory.
10543         (octave-help): Improve handling of 'See also'.
10545 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10547         * doc-view.el: Minor naming convention tweaks.
10548         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10550         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10551         even if there's no `display' property yet (bug#14435).
10553 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
10555         * subr.el (unmsys--file-name): Rename from reveal-filename.
10557         * Makefile.in (custom-deps, finder-data, autoloads)
10558         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10559         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10560         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10562 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10565         error-completion on the first 2 args of condition-case (bug#14446).
10566         Don't burp at EOB.
10568 2013-05-25  Leo Liu  <sdl.web@gmail.com>
10570         * comint.el (comint-previous-matching-input): Do not flood the
10571         *Messages* buffer with trivial messages.
10573 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10575         * progmodes/flymake.el (flymake-nop): Don't return a string.
10576         (flymake-set-at): Fix typo.
10578         * simple.el (read--expression): New function, extracted from
10579         eval-expression.  Set completion-at-point-functions (bug#14465).
10580         (eval-expression, eval-minibuffer): Use it.
10582 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
10584         * progmodes/flymake.el (flymake-save-buffer-in-file)
10585         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10586         (flymake-selected-frame, flymake-log, flymake-ins-after)
10587         (flymake-set-at, flymake-get-buildfile-from-cache)
10588         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10589         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10590         Refine the doc string.
10591         (flymake-get-file-name-mode-and-masks): Reformat.
10592         (flymake-get-real-file-name-function): Fix a minor bug.
10594 2013-05-24  Juri Linkov  <juri@jurta.org>
10596         * progmodes/grep.el (grep-mode-font-lock-keywords):
10597         Support =linenumber= format used by git-grep for lines with
10598         function names.  (Bug#13549)
10600 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10602         * progmodes/octave.el (octave-smie-rules): Return nil rather than
10603         0 after a semi-colon; it works better for smie-auto-fill.
10604         (octave--indent-new-comment-line): New function.
10605         (octave-indent-new-comment-line): Use it (indirectly).
10606         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
10607         modify comment-line-break-function.
10609         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10610         (smie-setup): Use add-function to set it.
10612 2013-05-24  Sam Steingold  <sds@gnu.org>
10614         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10615         argument (before the `interactive' argument).
10617 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10619         * image-mode.el (image-mode-winprops): Add winprops to
10620         image-mode-winprops-alist before running
10621         image-mode-new-window-functions.
10622         * doc-view.el (doc-view-new-window-function): Don't delay
10623         doc-view-goto-page via timers (bug#14435).
10625 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
10627         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
10628         (doc-view-desktop-save-buffer): New function.
10629         (doc-view-restore-desktop-buffer): New function.
10630         (desktop-buffer-mode-handlers):
10631         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10632         handler.
10633         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10634         `desktop-save-buffer' function.
10636 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
10638         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10639         (tramp-gvfs-file-name-handler): Raise a user error when
10640         `tramp-gvfs-enabled' is nil.
10641         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10642         Do not raise a user error when loading package.  (Bug#14447)
10644         * net/xesam.el: Move to obsolete/.
10646 2013-05-24  Glenn Morris  <rgm@gnu.org>
10648         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10650         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10652         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10653         (Info-find-node, Man-getpage-in-background): Declare.
10655         * mail/unrmail.el (unrmail):
10656         Replace obsolete detect-coding-with-priority.
10658         * net/socks.el (socks-split-string): Use this rather than split-string.
10659         (socks-nslookup-host): Update for above change.
10660         (dynamic-choice, s5-dynamic-choice-match)
10661         (s5-dynamic-choice-match-inline, s5-widget-value-create):
10662         Comment out unused code.
10664         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10665         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10666         (gud-tooltip-echo-area): Make obsolete.
10667         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10669         * progmodes/js.el (js--optimize-arglist): Declare.
10671         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10673         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10674         (ediff-window-C): Declare.
10676         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10677         Tweak requires to silence compiler.
10679         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10680         (he-search-string, he-tried-table, he-expand-list)
10681         (he-init-string, he-string-member, he-substitute-string)
10682         (he-reset-string): Declare.
10684         * obsolete/options.el (list-options): Use custom-variable-p,
10685         rather than obsolete alias.
10687 2013-05-23  Sam Steingold  <sds@gnu.org>
10689         * simple.el (shell-command-on-region): Pass the `replace' argument
10690         down to `call-process-region' to comply with the doc as reported on
10691         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10693 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10695         * emacs-lisp/smie.el (smie-indent-forward-token)
10696         (smie-indent-backward-token): Handle string tokens (bug#14381).
10698 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10700         * ielm.el (ielm-menu): New menu.
10701         (inferior-emacs-lisp-mode): Set comment-start.
10703 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10705         * textmodes/reftex.el (reftex-ref-style-toggle):
10706         Fix deactivate action.
10708         * textmodes/reftex-vars.el (reftex-ref-style-alist):
10709         Add cleveref macros.
10711         * textmodes/reftex-parse.el
10712         (reftex-locate-bibliography-files): Accept options for
10713         bibliography commands.
10714         * textmodes/reftex-vars.el (reftex-bibliography-commands):
10715         Add addbibresource.  Basic Biblatex support.
10717 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
10719         * net/tramp-gvfs.el (top):
10720         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10721         when loading package.  (Bug#14447)
10723 2013-05-23  Glenn Morris  <rgm@gnu.org>
10725         * progmodes/js.el: No need to load comint when compiling.
10726         (ring-insert, comint-send-string, comint-send-input)
10727         (comint-last-input-end, ido-chop): Declare.
10729         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10730         * vc/ediff-mult.el: Adjust requires.
10731         (ediff-directories-internal, ediff-directory-revisions-internal)
10732         (ediff-patch-file-internal): Declare.
10733         * vc/ediff-ptch.el: Adjust requires.
10734         (ediff-use-last-dir, ediff-buffers-internal): Declare.
10735         (ediff-find-file): Autoload.
10736         * vc/ediff-util.el: No need to load ediff when compiling.
10737         (ediff-regions-internal): Declare.
10738         * vc/ediff-wind.el: Adjust requires.
10739         (ediff-compute-toolbar-width): Define when compiling.
10740         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10741         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10742         (dired-get-filename, dired-get-marked-files)
10743         (ediff-last-dir-patch, ediff-patch-default-directory)
10744         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10745         (ediff-patch-buffer-internal): Declare.
10747         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10748         (ispell-process, ispell-buffer-local-words, lm-summary)
10749         (lm-section-start, lm-section-end): Declare.
10750         (checkdoc-ispell-init): Simplify.
10752         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10753         (he-string-member, he-reset-string, he-substitute-string): Declare.
10755         * eshell/em-ls.el: Adjust requires.
10756         (eshell-glob-regexp): Declare.
10757         * eshell/em-tramp.el: Adjust requires.
10758         (eshell-parse-command): Autoload.
10759         * eshell/em-xtra.el: Adjust requires.
10760         (eshell-parse-command): Autoload.
10761         * eshell/esh-ext.el: Adjust requires.
10762         (eshell-parse-command, eshell-close-handles): Autoload.
10763         * eshell/esh-io.el: Adjust requires.
10764         (eshell-output-filter): Autoload.
10765         * eshell/esh-util.el: No need to load tramp when compiling.
10766         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10767         Declare.
10768         (eshell-parse-ange-ls): Require ange-ftp and tramp.
10769         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10770         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10771         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10772         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10773         * eshell/esh-opt.el, eshell/esh-proc.el:
10774         * eshell/esh-var.el: Adjust requires.
10775         * eshell/eshell.el: Do not require esh-util twice.
10776         (eshell-add-input-to-history): Declare.
10777         (eshell-command): Check history module is active before using it.
10779         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10781 2013-05-22  Leo Liu  <sdl.web@gmail.com>
10783         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10785 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
10787         * autorevert.el (auto-revert-notify-add-watch)
10788         (auto-revert-notify-handler): Add `attrib' for the inotify case,
10789         it indicates changes in file modification time.
10791 2013-05-22  Glenn Morris  <rgm@gnu.org>
10793         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10794         Always delete the autoloaded function from the noruntime and
10795         unresolved functions lists.
10797         * allout.el: No need to load epa, epg, overlay when compiling.
10798         (epg-context-set-passphrase-callback, epg-list-keys)
10799         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10800         (epg-key-user-id-list): Declare.
10802         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10803         (viper-set-parsing-style-toggling-macro)
10804         (viper-set-emacs-state-searchstyle-macros):
10805         Use called-interactively-p on Emacs.
10806         (viper-looking-back): Make it an obsolete alias.  Update callers.
10807         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10808         Use looking-back rather than viper-looking-back.
10809         (viper-tmp-insert-at-eob, viper-enlarge-region)
10810         (viper-read-string-with-history, viper-register-to-point)
10811         (viper-append-to-register, viper-change-state-to-vi)
10812         (viper-backward-char-carefully, viper-forward-char-carefully)
10813         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10814         (viper-change-state-to-emacs): Declare.
10815         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10816         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10817         * emulation/viper-mous.el: Do not load viper-cmd.
10818         (viper-backward-char-carefully, viper-forward-char-carefully)
10819         (viper-forward-word, viper-adjust-window): Declare.
10821         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10823         * progmodes/idlw-help.el (idlwave-help-fontify):
10824         Use called-interactively-p.
10826         * term/w32console.el (w32-get-console-codepage)
10827         (w32-get-console-output-codepage): Declare.
10829         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10830         Remove unnecessary declarations.
10831         (dframe-message): Doc fix.
10833         * info.el (dframe-select-attached-frame, dframe-current-frame):
10834         Declare.
10836         * speedbar.el (speedbar-message): Make it an obsolete alias.
10837         Update all callers.
10838         (speedbar-with-attached-buffer)
10839         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10840         (speedbar-with-writable): Use backquote.
10841         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10842         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10843         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10844         rather than speedbar- aliases.
10845         * mail/rmail.el: Load dframe rather than speedbar when compiling.
10846         (speedbar-make-specialized-keymap, speedbar-insert-button)
10847         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10848         (speedbar-do-function-pointer): Declare.
10849         (rmail-speedbar-button, rmail-speedbar-find-file)
10850         (rmail-speedbar-move-message):
10851         Use dframe-with-attached-buffer rather than speedbar- alias.
10852         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10853         (dframe-message, speedbar-make-specialized-keymap)
10854         (speedbar-add-expansion-list, speedbar-mode-functions-list)
10855         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10856         (speedbar-insert-button, dframe-select-attached-frame)
10857         (dframe-maybee-jump-to-attached-frame)
10858         (speedbar-change-initial-expansion-list)
10859         (speedbar-previously-used-expansion-list-name): Declare.
10860         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10861         Use dframe-message, dframe-with-attached-buffer rather than
10862         speedbar- aliases.
10863         (gud-sentinel): Silence compiler.
10864         * progmodes/vhdl-mode.el (speedbar-refresh)
10865         (speedbar-do-function-pointer, speedbar-add-supported-extension)
10866         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10867         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10868         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10869         (speedbar-file-lists, speedbar-make-tag-line)
10870         (speedbar-line-directory, speedbar-goto-this-file)
10871         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10872         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10873         (speedbar-make-button, speedbar-reset-scanners)
10874         (speedbar-files-item-info, speedbar-line-text)
10875         (speedbar-find-file-in-frame, speedbar-set-timer)
10876         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10877         (speedbar-with-writable): Do not (re)define it.
10878         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10879         rather than speedbar- alias.
10881 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10883         * progmodes/octave.el (octave-mode-menu): Update and re-organize
10884         menu items.
10885         (octave-mode): Tweak fill-nobreak-predicate.
10886         (inferior-octave-startup): Check process to avoid infinite loop.
10887         (inferior-octave): Pop to buffer first to show abornmal process
10888         exit information.
10890 2013-05-21  Glenn Morris  <rgm@gnu.org>
10892         * printing.el (pr-menu-bar): Define when compiling.
10894 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10896         * progmodes/octave.el (octave-auto-fill): Remove.
10897         (octave-indent-new-comment-line): Improve.
10898         (octave-mode): Use auto fill mode through
10899         comment-line-break-function and fill-nobreak-predicate.
10900         (octave-goto-function-definition): Support DEFUN_DLD.
10901         (octave-beginning-of-defun): Small tweak.
10902         (octave-help): Show parent directory.
10904 2013-05-21  Glenn Morris  <rgm@gnu.org>
10906         * files.el (dired-unmark):
10907         * progmodes/gud.el (gdb-input): Update declarations.
10909         * calculator.el (electric, ehelp): No need to load when compiling.
10910         (Electric-command-loop, electric-describe-mode): Declare.
10912         * doc-view.el (doc-view-current-converter-processes): Move before use.
10914         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10915         Move MODE-set-explicitly definition before use.
10917         * international/mule-diag.el (mule-diag):
10918         Don't use obsolete window-system-version.
10920         * mail/feedmail.el (smtpmail): No need to load when compiling.
10921         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10923         * mail/mail-utils.el (rfc822): No need to load when compiling.
10924         (rfc822-addresses): Autoload it.
10925         (mail-strip-quoted-names): Trivial simplification.
10927         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10928         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10930         * net/snmp-mode.el (tempo): Don't duplicate requires.
10932         * progmodes/prolog.el (info): No need to load when compiling.
10933         (comint): Require before shell requires it.
10934         (Info-goto-node): Autoload it.
10935         (Info-follow-nearest-node): Declare.
10936         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10938         * textmodes/artist.el (picture-mode-exit): Declare.
10940         * textmodes/reftex-parse.el (reftex-parse-from-file):
10941         Trivial rewrite so the compiler can parse it better.
10943 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10945         * progmodes/octave.el (octave-help-mode-map)
10946         (octave-help-mode-finish-hook): New variables.
10947         (octave-help-mode, octave-help-mode-finish): New functions.
10948         (octave-help): Use octave-help-mode.
10950 2013-05-20  Glenn Morris  <rgm@gnu.org>
10952         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10954 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10956         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10957         start at point, so that expansion starting right after opening
10958         slash in a regexp is recognized.
10959         (ruby-syntax-before-regexp-re): New defvar, extracted from
10960         ruby-syntax-propertize-function.  Since the value of this regexp
10961         is looked up at runtime now, we should be able to turn
10962         `ruby-syntax-methods-before-regexp' into a defcustom later.
10963         (ruby-syntax-propertize-function): Split regexp matching into two
10964         parts, for opening and closing slashes.  That allows us to skip
10965         over string interpolations and support multiline regexps.
10966         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10967         for them, which calls `ruby-syntax-propertize-expansion'.
10968         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10969         call to `ruby-syntax-propertize-function'.
10970         (ruby-syntax-propertize-expansion): Extracted from
10971         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10972         (ruby-syntax-propertize-percent-literal): Leave point right after
10973         the percent symbol, so that the expression expansion rule can
10974         propertize the contents.
10975         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10976         heredoc openers.
10977         (ruby-syntax-propertize-expansions): Remove.
10979 2013-05-18  Juri Linkov  <juri@jurta.org>
10981         * man.el (Man-default-man-entry): Remove `-' from the end
10982         of the default value.  (Bug#14400)
10984 2013-05-18  Glenn Morris  <rgm@gnu.org>
10986         * comint.el (comint-password-prompt-regexp):
10987         Allow "password for XXX" where XXX contains colons (eg https://...).
10989 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10991         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10992         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10993         (octave-source-directories): Don't check process.
10994         (octave-source-directories, octave-find-definition): Doc fix.
10996 2013-05-18  Glenn Morris  <rgm@gnu.org>
10998         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10999         Remove backspace/delete bindings.  (Bug#14392)
11001         * cus-dep.el (custom-make-dependencies): Sort the output.
11002         (custom-versions-load-alist): Convert comment to doc.
11004 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11006         * newcomment.el (comment-search-backward): Stricter in finding
11007         comment start.  (Bug#14303)
11009         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11010         (octave-comment-start-skip): Properly anchored.
11012 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11014         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11015         Clean up when turned off.  (Bug#14395)
11016         (smie--highlight-matching-block-overlay): No longer buffer-local.
11017         (smie-highlight-matching-block): Adjust.
11019 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
11021         Doc string fix for "nanoseconds" (Bug#14406).
11022         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11023         Fix doc string typo that had "nanoseconds" instead of "microseconds".
11025 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
11027         * calc/calc-units.el (math-extract-units): Preserve powers
11028         of units.
11030 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11032         * subr.el (delete-consecutive-dups): New function.
11033         * ido.el (ido-set-matches-1): Use it.
11034         * progmodes/octave.el (inferior-octave-completion-table): Use it.
11035         * ido.el (ido-remove-consecutive-dups): Remove.
11037 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11039         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11040         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11041         regexp-opt's `words'.
11043 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11045         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11046         (smie--highlight-matching-block-overlay)
11047         (smie--highlight-matching-block-lastpos)
11048         (smie--highlight-matching-block-timer): New variables.
11049         (smie-highlight-matching-block): New function.
11050         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
11051         (smie-setup): Conditionally enable smie-blink-matching-open.
11053 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
11055         Sync with upstream verilog-mode r840.
11056         * progmodes/verilog-mode.el (verilog-mode-version)
11057         (verilog-mode-release-date): Update.
11058         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11059         (verilog-sig-tieoff): Fix string error on
11060         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
11061         (verilog-read-decls): Fix parameters confusing
11062         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
11064 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
11066         * subr.el (reveal-filename): New function.
11068         * loadup.el: Compute Emacs executable versions on MS-Windows,
11069         where executables have the .exe extension.  Add a hard link
11070         emacs-XX.YY.ZZ.exe on MS-Windows.
11072         * Makefile.in (XARGS_LIMIT): New variable.
11073         (custom-deps, finder-data, autoloads)
11074         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11075         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11076         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11077         (compile-main): Limit xargs according to $(XARGS_LIMIT).
11079 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11081         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11082         (octave-mode-menu, octave-mode-map): Remove its uses.
11084 2013-05-16  Reto Zimmermann  <reto@gnu.org>
11086         Sync with upstream vhdl mode v3.34.2.
11087         * progmodes/vhdl-mode.el: Use `push' throughout.
11088         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11089         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11090         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
11091         (vhdl-actual-generic-name): New option to derive actual generic name.
11092         (vhdl-port-paste-signals): Replace formal by actual generics.
11093         (vhdl-beautify): New name for old group vhdl-align.  Update users.
11094         (vhdl-beautify-options): New option.
11095         (vhdl-last-input-event): New compat alias.  Use throughout.
11096         (vhdl-goto-line): Replace user level function `goto-line'.
11097         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11098         vhdl-fix-statement-buffer.
11099         (vhdl-create-mode-menu): Add some entries.
11100         (vhdl-align-region-groups): Respect vhdl-beautify-options.
11101         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11102         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11103         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11104         to force statements on one line.
11105         (vhdl-remove-trailing-spaces-region):
11106         New, split from vhdl-remove-trailing-spaces.
11107         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11108         Respect vhdl-beautify-options.
11109         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11110         (vhdl-update-sensitivity-list): Not add with index if exists without.
11111         Not include array index with signal.  Ignore keywords in comments.
11112         (vhdl-get-visible-signals): Regexp tweaks.
11113         (vhdl-template-component-inst): Handle empty library.
11114         (vhdl-template-type): Add template for 'enum' type.
11115         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11116         Use vhdl-replace-string.
11117         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11118         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11119         (vhdl-speedbar-initialize): Update for above name change.
11120         (vhdl-compose-wire-components): Fix in handling of constants.
11121         (vhdl-error-regexp-emacs-alist): New variable.
11122         (vhdl-error-regexp-add-emacs): New function;
11123         adds support for new compile.el (Emacs 22+)
11124         (vhdl-generate-makefile-1): Change target order for single lib. units.
11125         Allow use of absolute file names.
11127 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11129         * simple.el (prog-indent-sexp): Indent enclosing defun.
11131 2013-05-15  Glenn Morris  <rgm@gnu.org>
11133         * cus-start.el (show-trailing-whitespace): Move to editing basics.
11134         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11135         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11136         (whitespace-highlight): Move to whitespace group.
11138         * comint.el (comint-source):
11139         * pcmpl-linux.el (pcmpl-linux):
11140         * shell.el (shell-faces):
11141         * eshell/esh-opt.el (eshell-opt):
11142         * international/ccl.el (ccl): Remove empty custom groups.
11144         * completion.el (dynamic-completion-mode):
11145         * jit-lock.el (jit-lock-debug-mode):
11146         * minibuffer.el (completion-in-region-mode):
11147         * type-break.el (type-break-mode-line-message-mode)
11148         (type-break-query-mode):
11149         * emulation/tpu-edt.el (tpu-edt-mode):
11150         * progmodes/subword.el (global-subword-mode, global-superword-mode):
11151         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11152         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11154         * term/xterm.el (xterm): Change parent group to terminals.
11156         * master.el (master): Remove empty custom group.
11157         (master-mode): Remove unused :group argument.
11158         * textmodes/refill.el (refill): Remove empty custom group.
11159         (refill-mode): Remove unused :group argument.
11161         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11163         * cus-dep.el: Provide a feature.
11164         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11165         Don't mistakenly ignore files whose basenames match a basename
11166         from preloaded-file-list (eg cedet/ede/simple.el).
11167         Add a fallback method for getting :group.
11169 2013-05-15  Juri Linkov  <juri@jurta.org>
11171         * isearch.el (isearch-char-by-name): Rename from
11172         `isearch-insert-char-by-name'.  Doc fix.
11173         (isearch-forward): Mention `isearch-char-by-name' in
11174         the docstring.  (Bug#13348)
11176         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11177         `exit-minibuffer' instead of
11178         `isearch-nonincremental-exit-minibuffer'.
11179         (isearch-edit-string): Remove mention of
11180         `isearch-nonincremental-exit-minibuffer' from docstring.
11181         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11182         (isearch-forward-exit-minibuffer)
11183         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
11185 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11187         * loadup.el: Just use unversioned DOC.
11189         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11190         literals as extending to EOB.
11191         (nxml-last-fontify-end): Remove unused variable.
11192         (nxml-after-change1): Use with-silent-modifications.
11193         (nxml-extend-after-change-region): Simplify.
11194         (nxml-extend-after-change-region1): Remove function.
11195         (nxml-after-change1): Don't adjust for dependent regions.
11196         (nxml-fontify-matcher): Simplify.
11197         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11198         (xmltok-add-dependent): Remove function.
11199         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11200         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11201         (xmltok-scan-prolog-after-processing-instruction-open): Treat
11202         unclosed <[[, <?, comment, and other literals as extending to EOB.
11203         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11204         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11205         Remove functions.
11206         (rng-do-some-validation-1): Don't mark dependent regions.
11207         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11208         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11209         (nxml-clear-dependent-regions): Remove functions.
11210         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11211         (nxml-ensure-scan-up-to-date):
11212         Don't clear&mark dependent regions.
11214 2013-05-15  Leo Liu  <sdl.web@gmail.com>
11216         * progmodes/octave.el (octave-goto-function-definition):
11217         Improve and fix callers.
11219 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11222         the setter (bug#14387).
11224         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11225         surrounding group (bug#14402).
11227 2013-05-14  Juri Linkov  <juri@jurta.org>
11229         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11230         (Bug#14390)
11232 2013-05-14  Glenn Morris  <rgm@gnu.org>
11234         * progmodes/f90.el (f90-imenu-generic-expression):
11235         Fix typo in 2013-05-08 change.  (Bug#14402)
11237 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11239         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11240         Remove signals for which replies are never received.
11242 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11244         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11245         (gdb-handler-alist, gdb-handler-number): Remove variables.
11246         (gdb-handler-list): New variable.
11247         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11248         (gdb-pending-handler-p, gdb-handle-reply)
11249         (gdb-remove-all-pending-triggers): New functions.
11250         (gdb-discard-unordered-replies): New defcustom.
11251         (gdb-handler): New defstruct.
11252         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
11253         instead of gdb-pending-triggers.  Update docstring.
11254         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
11255         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11256         (gdb-var-update-handler, def-gdb-auto-update-trigger)
11257         (def-gdb-auto-update-handler, gdb-get-changed-registers)
11258         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11259         (gdb-frame-handler): Pending triggers are now automatically managed.
11260         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11261         Remove argument.
11262         (gdb-input): Automatically handles pending triggers.  Update docstring.
11263         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11264         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11265         Update comments.
11266         (gdb-done-or-error): Now use gdb-handle-reply.
11268 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11270         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11271         gdb-debug-log.
11273 2013-05-14  Glenn Morris  <rgm@gnu.org>
11275         * subr.el (user-emacs-directory-warning): New option.
11276         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
11278 2013-05-14  Leo Liu  <sdl.web@gmail.com>
11280         * progmodes/octave.el (octave-font-lock-keywords): Fix error
11281         during redisplay.
11282         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11283         (octave-font-lock-texinfo-comment): Fix invalid search bound
11284         error: wrong side of point.
11286 2013-05-14  Glenn Morris  <rgm@gnu.org>
11288         * progmodes/flymake.el (flymake-xml-program): New option.
11289         (flymake-xml-init): Use it.
11291         * term/xterm.el: Provide a feature.
11293         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
11295 2013-05-13  Glenn Morris  <rgm@gnu.org>
11297         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11298         Add compat aliases as a hack workaround.  (Bug#14384)
11300 2013-05-13  Leo Liu  <sdl.web@gmail.com>
11302         * progmodes/octave.el (octave-indent-comment): Fix indentation for
11303         ###, and %!.
11304         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11305         C-M-q.
11306         (octave-comment-start-skip): Include %!.
11307         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11309 2013-05-12  Leo Liu  <sdl.web@gmail.com>
11311         * progmodes/octave.el (inferior-octave-startup): Store the value
11312         of __octave_srcdir__ for octave-source-directories.
11313         (inferior-octave-check-process): New function refactored out of
11314         inferior-octave-send-list-and-digest.
11315         (octave-source-directories)
11316         (octave-find-definition-filename-function): New variables.
11317         (octave-source-directories)
11318         (octave-find-definition-default-filename): New functions.
11319         (octave-find-definition): Improve to find functions implemented in C++.
11321 2013-05-12  Glenn Morris  <rgm@gnu.org>
11323         * calendar/diary-lib.el (diary-outlook-format-1):
11324         Don't include dayname in the output.  (Bug#14349)
11326 2013-05-11  Glenn Morris  <rgm@gnu.org>
11328         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11330         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11331         Treat cc-provide like provide.
11333 2013-05-11  Kevin Ryde  <user42@zip.com.au>
11335         * cus-dep.el (custom-make-dependencies):
11336         Use generated-autoload-load-name for the sake of files such
11337         such cedet/semantic/bovine/c.el, where the base file name
11338         is not in load-path.  (Bug#5277)
11340 2013-05-11  Glenn Morris  <rgm@gnu.org>
11342         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11343         Provide features.
11345 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11347         * progmodes/octave.el (octave-indent-comment): Improve.
11348         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11349         (octave-eldoc-function-signatures, octave-eldoc-function):
11350         New functions.
11351         (octave-mode, inferior-octave-mode): Add eldoc support.
11353 2013-05-11  Richard Stallman  <rms@gnu.org>
11355         * epa.el (epa-decrypt-file): Take output file name as argument
11356         and read it using `interactive'.
11358 2013-05-11  Leo Liu  <sdl.web@gmail.com>
11360         * progmodes/octave.el (octave-beginning-of-line)
11361         (octave-end-of-line): Check before using up-list because it jumps
11362         out of more syntactic contructs since moving to smie.
11363         (octave-indent-comment): New function.
11364         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
11365         (octave-begin-keywords, octave-end-keywords)
11366         (octave-reserved-words, octave-smie-bnf-table)
11367         (octave-smie-rules): Add new keywords from Octave 3.6.4.
11369 2013-05-11  Glenn Morris  <rgm@gnu.org>
11371         * faces.el (internal-face-x-get-resource):
11372         * frame.el (ns-display-monitor-attributes-list):
11373         * calc/calc-aent.el (math-to-radians-2):
11374         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11375         Fix declarations.
11377         * calc/calc-menu.el: Make it loadable in isolation.
11379         * net/eudcb-bbdb.el: Make it loadable without bbdb.
11380         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11381         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11382         (eudc-bbdb-query-internal): Require 'bbdb.
11384         * lpr.el (lpr-headers-switches):
11385         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11387         * progmodes/sql.el (sql-login-params): Fix and improve :type.
11389         * emulation/edt-mapper.el: In batch mode, error rather than hang.
11391         * term.el (term-set-escape-char): Make it idempotent.
11393 2013-05-10  Leo Liu  <sdl.web@gmail.com>
11395         * progmodes/octave.el (inferior-octave-completion-table):
11396         No longer a function and all uses changed.  Use cache to speed up
11397         completion due to bug#11906.
11398         (octave-beginning-of-defun): Re-write to be more general.
11400 2013-05-10  Glenn Morris  <rgm@gnu.org>
11402         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11404 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * comint.el (comint-redirect-send-command-to-process): Use :around
11407         rather than :override for comint-redirect-filter.
11408         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11409         Call it instead of comint-redirect-original-filter-function (which
11410         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
11412 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
11414         * frame.el (display-monitor-attributes-list): Add NS case.
11415         (ns-display-monitor-attributes-list): Declare.
11417 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
11419         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
11421 2013-05-09  Glenn Morris  <rgm@gnu.org>
11423         * international/fontset.el (vertical-centering-font-regexp):
11424         Set standard-value.
11426         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11428         * bookmark.el (bookmark-search-delay):
11429         * cus-start.el (vertical-centering-font-regexp):
11430         * ps-mule.el (ps-mule-font-info-database-default):
11431         * ps-print.el (ps-default-fg, ps-default-bg):
11432         * type-break.el (type-break-good-break-interval):
11433         * whitespace.el (whitespace-indentation-regexp)
11434         (whitespace-space-after-tab-regexp):
11435         * emacs-lisp/testcover.el (testcover-1value-functions)
11436         (testcover-noreturn-functions, testcover-progn-functions)
11437         (testcover-prog1-functions):
11438         * emulation/viper-init.el (viper-emacs-state-cursor-color):
11439         * eshell/em-glob.el (eshell-glob-translate-alist):
11440         * play/tetris.el (tetris-tty-colors):
11441         * progmodes/cpp.el (cpp-face-default-list):
11442         * progmodes/flymake.el (flymake-allowed-file-name-masks):
11443         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11444         (idlwave-help-browser-generic-args):
11445         * progmodes/make-mode.el (makefile-special-targets-list):
11446         * progmodes/python.el (python-shell-virtualenv-path):
11447         * progmodes/verilog-mode.el (verilog-active-low-regexp)
11448         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11449         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11450         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11451         * textmodes/reftex-vars.el (reftex-format-label-function):
11452         * textmodes/remember.el (remember-diary-file): Fix custom types.
11454         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11455         Add :version.
11457 2013-05-09  Leo Liu  <sdl.web@gmail.com>
11459         * progmodes/octave.el (inferior-octave-completion-at-point):
11460         Restore file completion.  (Bug#14300)
11461         (inferior-octave-startup): Fix incorrect highlighting for the
11462         first prompt.
11464 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11466         * progmodes/ruby-mode.el: First cut at SMIE support.
11467         (ruby-use-smie): New var.
11468         (ruby-smie-grammar): New constant.
11469         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11470         (ruby-smie--forward-token, ruby-smie--backward-token)
11471         (ruby-smie-rules): New functions.
11472         (ruby-mode-variables): Setup SMIE if applicable.
11474 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
11476         * simple.el (line-move-visual): Signal beginning/end of buffer
11477         only if vertical-motion moved less than it was requested.  Avoids
11478         silly incorrect error messages when there are display strings with
11479         multiple newlines at EOL.
11481 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11483         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11484         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11485         (prolog-char-quote-workaround):
11486         * progmodes/cperl-mode.el (cperl-under-as-char):
11487         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11488         Mark as obsolete.
11489         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11490         their declaration.
11491         (vhdl-mode-syntax-table-init): Remove.
11493         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11494         last change.
11496         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11497         syntax for "_".
11498         (ld-script-font-lock-keywords):
11499         Change regexps to use things like \_< and \_>.
11501         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11502         Change all regexps to use things like \_< and \_>.
11504         * progmodes/autoconf.el (autoconf-definition-regexp)
11505         (autoconf-font-lock-keywords, autoconf-current-defun-function):
11506         Handle a _ with symbol syntax.
11507         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11509         * progmodes/ada-mode.el (ada-mode-abbrev-table):
11510         Consolidate declaration.
11511         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11512         the declaration.
11513         (ada-create-syntax-table): Remove.
11514         (ada-capitalize-word): Don't mess with the syntax of "_" since it
11515         already has the right syntax nowadays.
11516         (ada-goto-next-word): Don't change the syntax of "_".
11518         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11519         with-wrapper-hook.
11521 2013-05-08  Sam Steingold  <sds@gnu.org>
11523         * thingatpt.el (thing-at-point): Accept optional second argument
11524         NO-PROPERTIES to strip the text properties from the return value.
11525         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11526         to `thing-at-point' instead of stripping the properties ourselves.
11527         Also, when `thing-at-point' fails to find a url, prepend "http://"
11528         to the filename at point on the assumption that the user is
11529         pointing at something like gnu.org/gnu.
11531 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
11533         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11534         * faces.el (crm-separator):
11535         Silence byte-compiler.
11537         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11538         (tool-bar-map): Remove unneeded defvars.
11540 2013-05-08  Leo Liu  <sdl.web@gmail.com>
11542         Re-work a fix for bug#10994 based on Le Wang's patch.
11543         * ido.el (ido-remove-consecutive-dups): New helper.
11544         (ido-completing-read): Use it.
11545         (ido-chop): Revert fix for bug#10994.
11547 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
11549         * cus-edit.el (custom-save-variables):
11550         Pretty-print long values.  (Bug#14187)
11552 2013-05-08  Glenn Morris  <rgm@gnu.org>
11554         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11555         (m4-mode-syntax-table): Init in the defvar.
11556         (m4-mode-abbrev-table): Let define-derived-mode define it.
11558 2013-05-08  Tom Tromey  <tromey@redhat.com>
11560         * progmodes/m4-mode.el (m4-mode-syntax-table):
11561         Do not treat "_" as word constituent.  (Bug#14167)
11563 2013-05-07  Glenn Morris  <rgm@gnu.org>
11565         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11566         Remove explicit eshell-isearch-cancel-map.
11568         * progmodes/f90.el (f90-smart-end-names): New option.
11569         (f90-smart-end): Doc fix.
11570         (f90-end-block-optional-name): New constant.
11571         (f90-block-match): Respect f90-smart-end-names.
11573 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11575         * progmodes/octave.el (octave-smie-forward-token): Be more careful
11576         about implicit semi-colons (bug#14218).
11578 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11580         * frame.el (display-monitor-attributes-list)
11581         (frame-monitor-attributes): New functions.
11583 2013-05-06  Leo Liu  <sdl.web@gmail.com>
11585         * progmodes/octave.el (octave-syntax-propertize-function): Change
11586         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
11587         (octave-font-lock-keywords): Use octave-operator-regexp.
11588         (octave-completion-at-point): Rename from
11589         octave-completion-at-point-function.
11590         (inferior-octave-directory-tracker): Robustify.
11591         (octave-text-functions): Remove and fix its uses.  No such things
11592         any more.
11594 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11596         * emacs-lisp/trace.el (trace--display-buffer): New function.
11597         (trace-make-advice): Use it.
11599 2013-05-06  Juri Linkov  <juri@jurta.org>
11601         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
11602         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11603         Doc fix.
11604         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11605         in the help string.  (Bug#12985)
11607 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
11609         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
11611 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11613         * progmodes/perl-mode.el: Add support for here documents.
11614         (perl-syntax-propertize-function): Match here-doc markers.
11615         (perl-syntax-propertize-special-constructs): Find their end.
11616         (perl-imenu-generic-expression): Use [:alnum:].
11618         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11619         (advice--add-function): Refresh the advice if already present
11620         (bug#14317).
11622 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
11624         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
11626 2013-05-06  Glenn Morris  <rgm@gnu.org>
11628         * w32-fns.el (w32-charset-info-alist): Declare.
11630         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11631         of its defcustom properties.
11632         (eshell-cmpl-initialize): No need to load pcomplete.
11634         * generic-x.el: No need to require comint when compiling.
11636         * net/eudc-export.el: Make it loadable without bbdb.
11637         (top-level): Use require rather than load-library.
11638         (eudc-create-bbdb-record, eudc-bbdbify-phone)
11639         (eudc-batch-export-records-to-bbdb)
11640         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11641         Require bbdb.
11643 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11645         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11646         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11647         some tweaks, instead.
11649 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11651         * progmodes/octave.el (octave-font-lock-keywords)
11652         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11653         (inferior-octave-send-list-and-digest): Improve error message.
11654         (octave-mode, inferior-octave-mode): Use setq-local.
11655         (octave-help): Set info-lookup-mode.
11657 2013-05-05  Richard Stallman  <rms@gnu.org>
11659         * vc/compare-w.el (compare-windows-whitespace):
11660         Treat no-break space as whitespace.
11662         * mail/rmailsum.el (rmail-summary-rmail-update):
11663         Detect empty summary and don't change selected message.
11664         (rmail-summary-goto-msg): Likewise.
11666         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11667         Doc fixes, rename args.
11669 2013-05-05  Alan Mackenzie  <acm@muc.de>
11671         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11673 2013-05-05  Juri Linkov  <juri@jurta.org>
11675         * info.el (Info-read-subfile): Use (point-min) instead of (point)
11676         to not add the length of the summary segment to the return value.
11677         (Bug#14125)
11679 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11681         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11682         (inferior-octave-output-filter): Remove.
11683         (octave-send-region, inferior-octave-startup): Fix callers.
11684         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11685         (octave-binary-file-extensions): New user variable.
11686         (octave-find-definition): Confirm if opening binary files.
11687         (octave-help-file): Use octave-find-definition to get the binary
11688         confirmation.
11689         (octave-help): Adjust for octave-help-file change.
11691 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11693         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11694         Merge the two entries that handle function definitions.
11695         (pascal--syntax-propertize): New const.
11696         (pascal-mode): Use it.  Use setq-local.
11698 2013-05-04  Glenn Morris  <rgm@gnu.org>
11700         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11701         (diary-from-outlook): Respect diary-from-outlook-function.
11703 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11705         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11706         Move the declaration from C.
11707         (read-minibuffer, eval-minibuffer): Move from C.
11708         (completion-setup-function): Avoid minibuffer-completion-contents.
11710 2013-05-03  Leo Liu  <sdl.web@gmail.com>
11712         * progmodes/octave.el (octave-font-lock-keywords): Do not
11713         dehighlight 'end' in comments or strings.
11714         (octave-completing-read, octave-goto-function-definition):
11715         New helpers.
11716         (octave-help-buffer): New user variable.
11717         (octave-help-file, octave-help-function): New button types.
11718         (octave-help): New command and bind it to C-h ;.
11719         (octave-find-definition): New command and bind it to M-.
11720         (user-error): Alias to error if not defined.
11722 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11724         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11725         for \.  (bug#14332)
11726         (octave-font-lock-keywords): Include [ and {.
11728 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11730         * progmodes/octave.el (inferior-octave-startup-file): Change default.
11731         (inferior-octave): Remove calling comint-mode and return the buffer.
11732         (inferior-octave-startup): Cosmetic changes.
11734 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11736         * progmodes/octave.el (octave-syntax-propertize-function):
11737         Include the case when ' is at line beginning.  (Bug#14336)
11739 2013-05-02  Glenn Morris  <rgm@gnu.org>
11741         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11742         * desktop.el (vc-dir-mode): Just autoload it here.
11744 2013-05-02  Alan Mackenzie  <acm@muc.de>
11746         Eliminate variable c-standard-font-lock-fontify-region-function.
11747         * progmodes/cc-mode.el
11748         (c-standard-font-lock-fontify-region-function): Remove.
11749         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11751 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11753         * progmodes/octave.el: Compatible with older emacs-24 releases.
11754         (inferior-octave-has-built-in-variables): Remove.  Built-in
11755         variables were removed from Octave in 2007.
11756         (inferior-octave-startup): Fix uses.
11757         (comint-line-beginning-position): Remove compatibility code for
11758         emacs 21.
11760 2013-05-01  Juri Linkov  <juri@jurta.org>
11762         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
11764 2013-05-01  Juri Linkov  <juri@jurta.org>
11766         * comint.el (comint-previous-matching-input): Don't print message
11767         "History item: %d" when `isearch-mode' is active.
11768         (comint-history-isearch-message): Print message "History item: %d"
11769         when `comint-input-ring-index' is not empty and this function is
11770         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
11772 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11774         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11775         definitions.  Use completion-at-point to insert keywords.
11776         (octave-abbrev-start): Remove.
11777         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11779 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11781         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11782         change.
11784 2013-04-30  Alan Mackenzie  <acm@muc.de>
11786         Handle arbitrarily long C++ member initialisation lists.
11787         * progmodes/cc-engine.el (c-back-over-member-initializers):
11788         new function.
11789         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11790         (most) member init lists.
11792 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11794         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11795         variable.
11797 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11799         * progmodes/octave.el (octave-variables): Remove.  No builtin
11800         variables any more.  All converted to functions.
11801         (octave-font-lock-keywords, octave-completion-at-point-function):
11802         Fix uses.
11803         (octave-font-lock-texinfo-comment): New user variable.
11804         (octave-texinfo-font-lock-keywords): New variable for texinfo
11805         comment block.
11806         (octave-function-comment-block): New face.
11807         (octave-font-lock-texinfo-comment): New function.
11808         (octave-mode): Font lock texinfo comment block.
11810 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11812         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11813         indexing expression.
11814         (octave-continuation-string): Do not use \.
11815         (inferior-octave-complete-impossible): Remove.
11816         (inferior-octave-completion-table)
11817         (inferior-octave-completion-at-point): Remove its uses.
11818         (inferior-octave-startup): completion_matches was introduced to
11819         Octave in 1996 so safe to assume it.
11820         (octave-function-file-comment): Improve to follow how Octave does it.
11821         (octave-update-function-file-comment): Tweak.
11823 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11825         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11826         (inferior-octave-startup): Remove inferior-octave-startup-hook.
11827         (octave-function-file-comment): Fix typo.
11828         (octave-sync-function-file-names): Use read-char-choice.
11830 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
11832         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11833         to t for the less important warnings.
11835 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
11837         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
11839 2013-04-27  Glenn Morris  <rgm@gnu.org>
11841         * vc/log-view.el (log-view-current-entry):
11842         Treat "---" separator lines as part of the following rev.  (Bug#14169)
11844 2013-04-27  Juri Linkov  <juri@jurta.org>
11846         * subr.el (read-number): Doc fix about using it by interactive
11847         code letter `n'.  (Bug#14254)
11849 2013-04-27  Juri Linkov  <juri@jurta.org>
11851         * desktop.el (desktop-auto-save-timeout): New option.
11852         (desktop-file-checksum): New variable.
11853         (desktop-save): Add optional arg `auto-save' and don't auto-save
11854         if nothing changed.
11855         (desktop-auto-save-timer): New variable.
11856         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11857         (after-init-hook): Call `desktop-auto-save-set-timer'.
11858         Suggested by Reuben Thomas <rrt@sc3d.org> in
11859         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11861 2013-04-27  Leo Liu  <sdl.web@gmail.com>
11863         * progmodes/octave.el (octave-function-file-p)
11864         (octave-skip-comment-forward, octave-function-file-comment)
11865         (octave-update-function-file-comment): New functions.
11866         (octave-mode-map): Bind C-c ; to
11867         octave-update-function-file-comment.
11868         (octave-mode-menu): Add octave-update-function-file-comment.
11869         (octave-mode, inferior-octave-mode): Fix doc-string.
11870         (octave-insert-defun): Conform to Octave's coding convention.
11871         (Bug#14285)
11873         * files.el (basic-save-buffer): Don't let errors in
11874         before-save-hook prevent saving buffer.
11876 2013-04-20  Roland Winkler  <winkler@gnu.org>
11878         * faces.el (read-face-name): Use completing-read if arg multiple
11879         is nil.
11881 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
11883         * ls-lisp.el (ls-lisp-insert-directory): If no files are
11884         displayed, move point to after the totals line.
11885         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11886         for the details.
11888 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11890         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11891         Add current dir to the load-path.
11892         (package-generate-autoloads): Don't rely on
11893         autoload-ensure-default-file.
11895 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11897         * textmodes/remember.el (remember-store-in-files): Document that
11898         the file name format is passed to `format-time-string'.
11900 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11902         * progmodes/octave.el (octave-sync-function-file-names): New function.
11903         (octave-mode): Use it in before-save-hook.
11905 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11907         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11908         (bug#14274).
11910         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11911         \n and comment, even if it's not an implicit ; (bug#14218).
11913 2013-04-26  Glenn Morris  <rgm@gnu.org>
11915         * subr.el (read-number): Once more use `read' rather than
11916         `string-to-number', to trap non-numeric input.  (Bug#14254)
11918 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11920         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11921         Use `syntax-multiline' text property consistently instead of
11922         `font-lock-multiline'.  (Bug#14237)
11924 2013-04-26  Glenn Morris  <rgm@gnu.org>
11926         * emacs-lisp/shadow.el (list-load-path-shadows):
11927         No longer necessary to check for duplicate simple.el, since
11928         2012-07-07 change to init_lread to not include installation lisp
11929         directories in load-path when running uninstalled.  (Bug#14270)
11931 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11933         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11934         (octave-mode, inferior-octave-mode): Use setq-local.
11935         (octave-not-in-string-or-comment-p): Rename to
11936         octave-in-string-or-comment-p.
11937         (octave-in-comment-p, octave-in-string-p)
11938         (octave-in-string-or-comment-p): Replace defsubst with defun.
11940 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11942         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11944 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11946         * textmodes/remember.el (remember-data-directory)
11947         (remember-directory-file-name-format): Fix custom types.
11949 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11951         * progmodes/octave.el (octave-completion-at-point-function):
11952         Make use of inferior octave process.
11953         (octave-initialize-completions): Remove.
11954         (inferior-octave-completion-table): New function.
11955         (inferior-octave-completion-at-point): Use it.
11956         (octave-completion-alist): Remove.
11958 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11960         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11961         (opascal-mode-syntax-table): New var.
11962         (opascal-literal-kind, opascal-is-literal-end)
11963         (opascal-literal-token-at): Rewrite.
11964         (opascal--literal-start-re, opascal-font-lock-keywords)
11965         (opascal--syntax-propertize): New constants.
11966         (opascal-font-lock-defaults): Adjust.
11967         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11968         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11969         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11970         (delphi-other-face, opascal-other-face): Remove face variables.
11971         (opascal-save-state): Remove macro.
11972         (opascal-fontifying-progress-step): Remove constant.
11973         (opascal--ignore-changes): Remove var.
11974         (opascal-set-token-property, opascal-parse-next-literal)
11975         (opascal-is-stable-literal, opascal-complete-literal)
11976         (opascal-is-literal-start, opascal-face-of)
11977         (opascal-parse-region, opascal-parse-region-until-stable)
11978         (opascal-fontify-region, opascal-after-change)
11979         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11980         (opascal-debug-parse-region, opascal-debug-parse-window)
11981         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11982         (opascal-debug-fontify-buffer): Remove.
11983         (opascal-debug-mode-map): Adjust accordingly.
11985 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11987         Merge octave-mod.el and octave-inf.el into octave.el with some
11988         cleanups.
11989         * progmodes/octave.el: New file renamed from octave-mod.el.
11990         * progmodes/octave-inf.el: Merged into octave.el.
11991         * progmodes/octave-mod.el: Renamed to octave.el.
11993 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11995         * textmodes/reftex-vars.el
11996         (reftex-label-ignored-macros-and-environments): New defcustom.
11998         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12000 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12002         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12003         (smie-indent-keyword): Improve the check to ensure that the next
12004         comment is really on the same line.
12005         (smie-indent-comment): Don't align with a subsequent closer (or eob).
12007         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12008         semi-colons if the line is not otherwise empty (bug#14218).
12010 2013-04-25  Glenn Morris  <rgm@gnu.org>
12012         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12014 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12016         * progmodes/opascal.el (opascal-set-token-property): Rename from
12017         opascal-set-text-properties and only set `token' (bug#14134).
12018         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12019         (opascal-literal-text-properties): Remove.
12020         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12021         Adjust callers.
12023 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
12025         * textmodes/remember.el (remember-handler-functions): Add an
12026         option for a new handler `remember-store-in-files'.
12027         (remember-data-directory, remember-directory-file-name-format):
12028         New options.
12029         (remember-store-in-files): New function to store remember notes
12030         as separate files within a directory.
12032 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
12034         * progmodes/compile.el (compilation-next-error-function):
12035         Pass "formats" to compilation-find-file (bug#11777).
12037 2013-04-24  Glenn Morris  <rgm@gnu.org>
12039         * vc/vc-bzr.el (vc-bzr-print-log):
12040         * vc/vc-hg.el (vc-hg-print-log):
12041         * vc/vc-svn.el (vc-svn-print-log):
12042         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
12044         * vc/vc-bzr.el (vc-bzr-print-log):
12045         * vc/vc-cvs.el (vc-cvs-print-log):
12046         * vc/vc-git.el (vc-git-print-log):
12047         * vc/vc-hg.el (vc-hg-print-log):
12048         * vc/vc-mtn.el (vc-mtn-print-log):
12049         * vc/vc-rcs.el (vc-rcs-print-log):
12050         * vc/vc-sccs.el (vc-sccs-print-log):
12051         * vc/vc-svn.el (vc-svn-print-log):
12052         * vc/vc.el (vc-print-log-internal): Doc fixes.
12054 2013-04-23  Glenn Morris  <rgm@gnu.org>
12056         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12057         Remove venerable code attempting to avoid substitute-command-keys.
12059 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
12061         * textmodes/reftex-vars.el (reftex-label-regexps):
12062         Call `reftex-compile-variables' after changes to this variable.
12064 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12066         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12067         Use lexical-binding.
12068         (jit-lock-force-redisplay): Use markers, check buffer's continued
12069         existence and beware narrowed buffers.
12070         (jit-lock-fontify-now): Adjust call accordingly.
12072 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12074         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12075         to avoid misleading the user.
12077 2013-04-22  Leo Liu  <sdl.web@gmail.com>
12079         * info-look.el: Prefer latex2e.info.  (Bug#14240)
12081 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
12083         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
12085         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12086         * net/tramp.el (tramp-call-process): ... here.
12087         (tramp-set-completion-function, tramp-parse-putty):
12088         * net/tramp-adb.el (tramp-adb-execute-adb-command):
12089         * net/tramp-gvfs.el (tramp-gvfs-send-command):
12090         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12091         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12092         (tramp-call-local-coding-command): Use `tramp-call-process'
12093         instead of `tramp-compat-call-process'.
12095         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12096         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12097         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12098         (tramp-find-inline-compress): Improve traces.
12099         (tramp-maybe-send-script): Check for Perl binary.
12100         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12102 2013-04-22  Daiki Ueno  <ueno@gnu.org>
12104         * epg.el (epg-context-pinentry-mode): New function.
12105         (epg-context-set-pinentry-mode): New function.
12106         (epg--start): Pass --pinentry-mode option to gpg command.
12108 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
12110         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12111         `comint-dynamic-complete' is obsolete since 24.1, replaced by
12112         `completion-at-point'.  (Bug#13774)
12114         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12115         default key binding for `describe-distribution' has been moved to
12116         `C-h C-o'.  (Bug#13970)
12118 2013-04-21  Glenn Morris  <rgm@gnu.org>
12120         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12121         Add doc strings.
12122         (vc-print-log): Clarify interactive prompt.
12124 2013-04-20  Glenn Morris  <rgm@gnu.org>
12126         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12127         No longer include timestamp etc information.
12129 2013-04-20  Roland Winkler  <winkler@gnu.org>
12131         * faces.el (read-face-name): Bug fix, return just one face if arg
12132         multiple is nil.  (Bug#14209)
12134 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12136         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12137         (remove-function): Autoload.
12139         * comint.el (comint-redirect-original-filter-function): Remove.
12140         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12141         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12142         (vc-cvs-annotate-command):
12143         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12144         * progmodes/prolog.el (prolog-consult-compile):
12145         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12146         Use add/remove-function instead.
12147         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12148         (gud-tooltip-process-output, gud-tooltip-tips):
12149         Use add/remove-function instead.
12150         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12151         (scheme-interaction-mode, exit-scheme-interaction-mode):
12152         Use add/remove-function instead.
12154         * vc/vc-dispatcher.el: Use lexical-binding.
12155         (vc--process-sentinel): Rename from vc-process-sentinel.
12156         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12157         and vc-sentinel-commands any more.
12158         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12159         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12161 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12163         * progmodes/sh-script.el (sh-imenu-generic-expression):
12164         Handle function names with a single character.   (Bug#14111)
12166 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
12168         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12169         for subroutines defined in an eval (bug#14182).
12171 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12173         * bookmark.el (bookmark-completing-read): Improve handling of empty
12174         string (bug#14176).
12176 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12178         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12180 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12182         New faster Imenu implementation (bug#14058).
12183         * progmodes/python.el:
12184         (python-imenu-prev-index-position):
12185         (python-imenu-format-item-label-function)
12186         (python-imenu-format-parent-item-label-function)
12187         (python-imenu-format-parent-item-jump-label-function):
12188         New vars.
12189         (python-imenu-format-item-label)
12190         (python-imenu-format-parent-item-label)
12191         (python-imenu-format-parent-item-jump-label)
12192         (python-imenu--put-parent, python-imenu--build-tree)
12193         (python-imenu-create-index, python-imenu-create-flat-index)
12194         (python-util-popn): New functions.
12195         (python-mode): Set imenu-create-index-function to
12196         python-imenu-create-index.
12198 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12200         * winner.el (winner-active-region): Use region-active-p, activate-mark
12201         and deactivate-mark (bug#14225).
12203         * simple.el (deactivate-mark): Don't inline it.
12205 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
12207         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12209 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
12211         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12212         file extensions from the archive-mode entry in order to prefer
12213         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12215 2013-04-18  Leo Liu  <sdl.web@gmail.com>
12217         * bindings.el (help-event-list): Add ?\?.
12219 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12221         * subr.el (with-wrapper-hook): Declare obsolete.
12222         * simple.el (filter-buffer-substring-function): New hook.
12223         (filter-buffer-substring): Use it.
12224         (filter-buffer-substring-functions): Mark obsolete.
12225         * minibuffer.el (completion-in-region-function): New hook.
12226         (completion-in-region): Use it.
12227         (completion-in-region-functions): Mark obsolete.
12228         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12229         * abbrev.el (abbrev-expand-function): New hook.
12230         (expand-abbrev): Use it.
12231         (abbrev-expand-functions): Mark obsolete.
12232         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12233         and :filter-return.
12235 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12237         * progmodes/python.el (python-nav--syntactically): Fix cornercases
12238         and do not care about match data.
12240 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12242         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12243         completion tables when completing error conditions and
12244         `declare' arguments.
12245         (lisp-complete-symbol, field-complete): Mark as obsolete.
12246         (check-parens): Unmatched parens are user errors.
12247         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12249 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
12251         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12252         command changed buffer (ie. `flyspell-pre-buffer' is not current
12253         buffer), which prevents making decisions based on invalid value of
12254         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
12255         cause an error when `flyspell-pre-point' was nil after switching
12256         buffers.
12257         (flyspell-post-command-hook): No longer needs to change buffers when
12258         checking pre-word.  While at it remove unnecessary progn.
12260 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
12262         * textmodes/ispell.el (ispell-add-per-file-word-list):
12263         Fix `flyspell-correct-word-before-point' error when accepting
12264         words and `coment-padding' is an integer by using
12265         `comment-normalize-vars' (Bug #14214).
12267 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12269         New defun movement commands.
12270         * progmodes/python.el (python-nav--syntactically)
12271         (python-nav--forward-defun, python-nav-backward-defun)
12272         (python-nav-forward-defun): New functions.
12274 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12276         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12277         (python-syntax-context): Use named compiler-macro for backwards
12278         compatibility with Emacs 24.x.
12280 2013-04-17  Leo Liu  <sdl.web@gmail.com>
12282         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12283         octave-hide-process-buffer.
12285 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12287         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12288         (bug#14216).
12290 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
12292         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12293         Fix adjustment of offset when receiving incomplete responses from GDB
12294         (bug#14129).
12296 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12298         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12299         python-mode-abbrev-table.
12300         (python-skeleton-define): Adjust accordingly.
12301         (python-mode-abbrev-table): New table that inherits from it so that
12302         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12304         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12305         (abbrev-symbol): Use it.
12306         (abbrev--before-point): Use it since we already handle inheritance.
12308 2013-04-16  Leo Liu  <sdl.web@gmail.com>
12310         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12311         binding to info-lookup-symbol.
12313 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
12315         * minibuffer.el (completion--twq-all):
12316         * term/ns-win.el (ns-initialize-window-system):
12317         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12319 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12321         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12322         global bindings.
12324         * doc-view.el (doc-view-start-process): Handle url-handler directories.
12326 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
12328         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12329         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12330         to nil.
12331         (ruby-end-of-defun): Remove the unused arg, change the docstring
12332         to reflect that this function is only used as the value of
12333         `end-of-defun-function'.
12334         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12335         to reflect an earlier change that beginning/end-of-defun functions
12336         jump between methods in a class definition, as well as top-level
12337         functions.
12339 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12341         * minibuffer.el (minibuffer-complete): Don't just scroll
12342         a *Completions* that's been iconified.
12343         (minibuffer-force-complete): Make sure repetitions do cycle when going
12344         through completion-in-region -> minibuffer-complete.
12346 2013-04-15  Alan Mackenzie  <acm@muc.de>
12348         Correct the placement of c-cpp-delimiters when there're #s not at
12349         col 0.
12351         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12352         place a submatch around the #.
12353         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12354         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
12355         on the #, not BOL.
12357 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12359         * emacs-lisp/nadvice.el: Properly test names when adding advice.
12360         (advice--member-p): New arg `name'.
12361         (advice--add-function, advice-member-p): Use it (bug#14202).
12363 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
12365         Reformulate java imenu-generic-expression.
12366         The old expression contained ill formed regexps.
12368         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12369         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12370         (cc-imenu-java-method-arg-regexp): New defconsts.
12371         (cc-imenu-java-build-type-args-regex): New defun.
12372         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12373         handling of spaces in the regexp.
12375 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12377         * textmodes/ispell.el (ispell-command-loop): Remove
12378         flyspell highlight of a word when ispell accepts it (bug #14178).
12380 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
12382         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12383         uses code from the previous `ange-ftp-run-real-handler'.
12384         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12385         only in case that function exist.  This is needed for proper
12386         unloading of Tramp.
12388 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
12390         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12392         * textmodes/reftex.el (reftex-compile-variables): Use it.
12394 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12396         * files.el (normal-mode): Only use default major-mode if no other mode
12397         was specified.
12399         * emacs-lisp/trace.el (trace-values): New function.
12401         * files.el: Allow : in local variables (bug#14089).
12402         (hack-local-variable-regexp): New var.
12403         (hack-local-variables-prop-line, hack-local-variables): Use it.
12405 2013-04-13  Roland Winkler  <winkler@gnu.org>
12407         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
12408         data before it gets modified by bibtex-beginning-of-entry.
12410 2013-04-13  Roland Winkler  <winkler@gnu.org>
12412         * textmodes/bibtex.el (bibtex-url): Doc fix.
12414 2013-04-13  Roland Winkler  <winkler@gnu.org>
12416         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12417         does not visit a BibTeX file, exclude it from the list of buffers
12418         returned by bibtex-initialize.
12420 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
12422         * window.el (split-window): Remove interactive form, since as a
12423         command this function is a special case of split-window-below.
12424         Correct doc string.
12426 2013-04-12  Roland Winkler  <winkler@gnu.org>
12428         * faces.el (read-face-name): Do not override value of arg default.
12429         Allow single faces and strings as default values.  Remove those
12430         elements from return value that are not faces.
12431         (describe-face): Simplify.
12432         (face-at-point): New optional args thing and multiple so that this
12433         function can provide the same functionality previously provided by
12434         read-face-name.
12435         (make-face-bold, make-face-unbold, make-face-italic)
12436         (make-face-unitalic, make-face-bold-italic, invert-face)
12437         (modify-face, read-face-and-attribute): Use face-at-point.
12439         * cus-edit.el (customize-face, customize-face-other-window)
12440         * cus-theme.el (custom-theme-add-face)
12441         * face-remap.el (buffer-face-set)
12442         * facemenu.el (facemenu-set-face): Use face-at-point.
12444 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
12446         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12448 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
12450         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12451         off leading { and trailing } from field values.
12453 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12455         * emacs-lisp/timer.el (timer--check): New function.
12456         (timer--time, timer-set-function, timer-event-handler): Use it.
12457         (timer-set-idle-time): Simplify.
12458         (timer--activate): CSE.
12459         (timer-event-handler): Give more info in error message.
12460         (internal-timer-start-idle): New function, moved from C.
12462         * mpc.el (mpc-proc): Add `restart' argument.
12463         (mpc-proc-cmd): Use it.
12464         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12465         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12466         less often.
12468 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
12470         * progmodes/sh-script.el: Implement `sh-mode' own
12471         `add-log-current-defun-function' (bug#14112).
12472         (sh-current-defun-name): New function.
12473         (sh-mode): Use the function.
12475 2013-04-09  Bastien Guerry  <bzg@gnu.org>
12477         * simple.el (choose-completion-string): Fix docstring (bug#14163).
12479 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12481         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12483         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12484         timer (bug#14156).
12486 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
12488         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12489         declaration.
12491 2013-04-07  Leo Liu  <sdl.web@gmail.com>
12493         * pcmpl-x.el: New file.
12495 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
12497         Do not set x-display-name until X connection is established.
12498         This is needed to prevent from weird situation described at
12499         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12500         * frame.el (make-frame): Set x-display-name after call to
12501         window system initialization function, not before.
12502         * term/x-win.el (x-initialize-window-system): Add optional
12503         display argument and use it.
12504         * term/w32-win.el (w32-initialize-window-system):
12505         * term/ns-win.el (ns-initialize-window-system):
12506         * term/pc-win.el (msdos-initialize-window-system):
12507         Add compatible optional display argument.
12509 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
12511         * files.el (normal-backup-enable-predicate): On MS-Windows and
12512         MS-DOS compare truenames of temporary-file-directory and of the
12513         file, so that 8+3 aliases (usually found in $TEMP on Windows)
12514         don't fail comparison by compare-strings.  Also, compare file
12515         names case-insensitively on MS-Windows and MS-DOS.
12517 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12519         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12520         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12522 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
12524         * whitespace.el (whitespace-color-on, whitespace-color-off):
12525         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12527 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
12529         * ispell.el (ispell-set-spellchecker-params):
12530         Really set `ispell-args' for all equivs.
12532 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12534         * ido.el (ido-completions): Use extra elements of ido-decorations
12535         (bug#14143).
12536         (ido-decorations): Update docstring.
12538 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
12540         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12541         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12542         nil during initialization, in order not to miss changes since the
12543         file was opened.  (Bug#14140)
12545 2013-04-05  Leo Liu  <sdl.web@gmail.com>
12547         * kmacro.el (kmacro-call-macro): Fix bug#14135.
12549 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
12551         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12553 2013-04-04  Glenn Morris  <rgm@gnu.org>
12555         * electric.el (electric-pair-inhibit-predicate): Add :version.
12557 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12559         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12560         when a package is required several times (bug#14082).
12562 2013-04-04  Roland Winkler  <winkler@gnu.org>
12564         * faces.el (read-face-name): Behave as promised by the docstring.
12565         Assume that arg default is a list of faces.
12566         (describe-face): Call read-face-name with list of default faces.
12568 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12570         * bookmark.el: Fix deletion of bookmarks (bug#13972).
12571         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12572         (bookmark-bmenu-execute-deletions): Only skip first line if it's
12573         the header.
12574         (bookmark-exit-hook-internal): Save even if list is empty.
12576 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
12578         * emacs-lisp/package.el (package-pinned-packages): New var.
12579         (package--add-to-archive-contents): Obey it (bug#14118).
12581 2013-04-03  Alan Mackenzie  <acm@muc.de>
12583         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12584         Also adapt to the new values of element 7 of a parse state.
12586         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12587         parameter `not-in-delimiter'.  Handle being inside comment opener.
12588         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12589         character in case we're typing a '*' after a '/'.
12590         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12591         instead by passing the parameter to c-state-pp-to-literal.
12593         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12594         for elt. 7 of a parse state.
12596 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
12598         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12599         * international/latin1-disp.el, international/mule-util.el:
12600         * language/cyril-util.el, language/european.el, language/ind-util.el:
12601         * language/lao-util.el, language/thai.el, language/tibet-util.el:
12602         * language/tibetan.el, language/viet-util.el:
12603         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12605 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12607         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12608         (electric-pair-post-self-insert-function): Use it.
12609         (electric-pair-default-inhibit): New function, extracted from
12610         electric-pair-post-self-insert-function.
12612 2013-03-31  Roland Winkler  <winkler@gnu.org>
12614         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12616 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12618         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12620 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
12622         Un-indent after "pass" and "return" statements (Bug#13888)
12623         * progmodes/python.el (python-indent-block-enders): New var.
12624         (python-indent-calculate-indentation): Use it.
12626 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
12628         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12629         defun.  Defining it as defalias could introduce too eager
12630         byte-compiler optimization.  (Bug#14030)
12632 2013-03-30  Chong Yidong  <cyd@gnu.org>
12634         * iswitchb.el (iswitchb-read-buffer): Fix typo.
12636 2013-03-30  Leo Liu  <sdl.web@gmail.com>
12638         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12639         (kmacro-execute-from-register): Pass the keyboard macro to
12640         kmacro-call-macro or repeating won't work correctly.
12642 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
12644         * progmodes/subword.el: Back to using `forward-symbol'.
12646         * subr.el (forward-whitespace, forward-symbol)
12647         (forward-same-syntax): Move from thingatpt.el.
12649 2013-03-29  Leo Liu  <sdl.web@gmail.com>
12651         * kmacro.el (kmacro-to-register): New command.
12652         (kmacro-execute-from-register): New function.
12653         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
12655 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12657         * mpc.el: Use defvar-local and setq-local.
12658         (mpc--proc-connect): Connection failures are not bugs.
12659         (mpc-mode-map): `follow-link' only applies to the buffer's content.
12660         (mpc-volume-map): Bind to the up-events.
12662 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
12664         * progmodes/subword.el (superword-mode): Use `forward-sexp'
12665         instead of `forward-symbol'.
12667 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12669         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12670         (edebug--recursive-edit): Use it.
12671         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12672         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12674 2013-03-28  Leo Liu  <sdl.web@gmail.com>
12676         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
12678 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
12680         * facemenu.el (list-colors-callback): New defvar.
12681         (list-colors-redisplay): New function.
12682         (list-colors-display): Install list-colors-redisplay as the
12683         revert-buffer-function.  (Bug#14063)
12685 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12687         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12688         and suffixes don't overlap (bug#14061).
12690         * case-table.el: Use lexical-binding.
12691         (case-table-get-table): New function.
12692         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
12694 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
12696         * progmodes/subword.el: Add `superword-mode' to do word motion
12697         over symbol_words (parallels and leverages `subword-mode' which
12698         does word motion inside MixedCaseWords).
12700 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
12702         * eshell/em-unix.el: Move su and sudo to...
12703         * eshell/em-tramp.el: ...Eshell tramp module.
12705 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12707         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12708         Change return value to be a sexp.  Delay `get-buffer' to after
12709         restoring the desktop (bug#13951).
12711 2013-03-26  Leo Liu  <sdl.web@gmail.com>
12713         * register.el: Move semantic tag handling back to
12714         cedet/semantic/senator.el.  (Bug#14052)
12716 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12719         into the prompt either (bug#13963).
12721 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12723         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12724         part of "(error-foo)".
12726 2013-03-24  Juri Linkov  <juri@jurta.org>
12728         * replace.el (list-matching-lines-prefix-face): New defcustom.
12729         (occur-1): Pass `list-matching-lines-prefix-face' to the function
12730         `occur-engine' if `face-differs-from-default-p' returns t.
12731         (occur-engine): Add `,' inside backquote construct to evaluate
12732         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
12733         Pass `prefix-face' to the functions `occur-context-lines' and
12734         `occur-engine-add-prefix'.
12735         (occur-engine-add-prefix, occur-context-lines): Add optional arg
12736         `prefix-face' and propertize the prefix with `prefix-face'.
12737         (Bug#14017)
12739 2013-03-24  Leo Liu  <sdl.web@gmail.com>
12741         * nxml/rng-valid.el (rng-validate-while-idle)
12742         (rng-validate-quick-while-idle): Guard against deleted buffer.
12743         (Bug#13999)
12745         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12746         is the last entry in kill-buffer-hook.
12748         * files.el (kill-buffer-hook): Doc fix.
12750 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
12752         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12753         Make it safe-local.
12755         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12757 2013-03-23  Leo Liu  <sdl.web@gmail.com>
12759         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12760         Remove.
12762         * nxml/rng-valid.el (rng-validate-mode)
12763         (rng-after-change-function, rng-do-some-validation):
12764         * nxml/rng-maint.el (rng-validate-buffer):
12765         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12766         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12767         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12768         (nxml-extend-after-change-region): Use with-silent-modifications.
12770         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12771         timer-idle-list.
12773         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12774         (rng-next-error-1, rng-previous-error-1): Do not let-bind
12775         timer-idle-list.  (Bug#13999)
12777 2013-03-23  Juri Linkov  <juri@jurta.org>
12779         * info.el (info-index-match): New face.
12780         (Info-index, Info-apropos-matches): Add a nested subgroup to the
12781         main pattern and add text properties with the new face to matches
12782         in index entries relative to the beginning of the index entry.
12783         (Bug#14015)
12785 2013-03-21  Eric Ludlam  <zappo@gnu.org>
12787         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12788         Inhibit read only while inserting objects.
12790 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
12792         * progmodes/cfengine.el: Update docs to mention
12793         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
12794         symbol motion.  Remove "_" from the word syntax.
12796 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
12798         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12799         syntax for both `cfengine2-mode' and `cfengine3-mode'.
12801 2013-03-20  Juri Linkov  <juri@jurta.org>
12803         * info.el (Info-next-reference-or-link)
12804         (Info-prev-reference-or-link): New functions.
12805         (Info-next-reference, Info-prev-reference): Use them.
12806         (Info-try-follow-nearest-node): Handle footnote navigation.
12807         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
12809 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12811         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12812         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12814 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
12816         Suppress unnecessary non-ASCII chatter during build process.
12817         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12818         (batch-skkdic-convert): Suppress most of the chatter.
12819         It's not needed so much now that machines are faster,
12820         and its non-ASCII component was confusing; see Dmitry Gutov in
12821         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12823 2013-03-20  Leo Liu  <sdl.web@gmail.com>
12825         * ido.el (ido-chop): Fix bug#10994.
12827 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12829         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12830         Remove vars.
12831         (whitespace-color-on, whitespace-color-off):
12832         Use `font-lock-fontify-buffer' (Bug#13817).
12834 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12836         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12837         remapping in mode-line.
12838         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12840 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12842         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12843         value for `whitespace-line' face (Bug#13875).
12844         (whitespace-font-lock-keywords): Change description.
12845         (whitespace-color-on): Don't save `font-lock-keywords' value, save
12846         the constructed keywords instead.
12847         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12849 2013-03-19  Leo Liu  <sdl.web@gmail.com>
12851         * progmodes/compile.el (compilation-display-error): New command.
12852         (compilation-mode-map, compilation-minor-mode-map): Bind it to
12853         C-o.  (Bug#13992)
12855 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12857         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12859 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
12861         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12863 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
12865         * net/tramp-compat.el (tramp-compat-user-error): New defun.
12867         * net/tramp-adb.el (tramp-adb-handle-shell-command):
12868         * net/tramp-gvfs.el (top):
12869         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12870         (tramp-handle-shell-command): Use it.
12871         (tramp-dissect-file-name): Raise an error when hostname is a
12872         method name, and neither method nor user is specified.
12874         * net/trampver.el: Update release number.
12876 2013-03-18  Leo Liu  <sdl.web@gmail.com>
12878         Make sure eldoc can be turned off properly.
12879         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12880         eldoc-mode.
12881         (eldoc-display-message-p): Revert last change.
12882         (eldoc-display-message-no-interference-p)
12883         (eldoc-print-current-symbol-info): Tweak.
12885 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12887         * doc-view.el (doc-view-new-window-function): Check the new window
12888         overlay's display property instead the char property of the
12889         buffer's first char.  Use `with-selected-window' instead of
12890         `save-window-excursion' with `select-window'.
12891         (doc-view-document->bitmap): Check the current doc-view overlay's
12892         display property instead the char property of the buffer's first char.
12894 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12896         Automate the build of ja-dic.el (Bug#13984).
12897         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12898         from the input, rather than assume that it's been done for us by the
12899         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12900         the current date into a ja-dic.el comment, as that complicates
12901         regression testing.
12903 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12905         * whitespace.el: Fix double evaluation.
12906         (whitespace-space, whitespace-hspace, whitespace-tab)
12907         (whitespace-newline, whitespace-trailing, whitespace-line)
12908         (whitespace-space-before-tab, whitespace-indentation)
12909         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12910         obsolete defvars.
12911         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12912         (whitespace-color-on): Use a single font-lock-add-keywords call.
12913         Fix double-evaluation of face variables.
12915 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12917         * net/tramp-adb.el (tramp-adb-parse-device-names):
12918         Use `start-process' instead of `call-process'.  Otherwise, the
12919         function might be blocked under MS Windows.  (Bug#13299)
12921 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12923         Extend eldoc to display info in the mode-line.  (Bug#13978)
12924         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12925         (eldoc-mode-line-string): New variable.
12926         (eldoc-minibuffer-message): New function.
12927         (eldoc-message-function): New variable.
12928         (eldoc-message): Use it.
12929         (eldoc-display-message-p)
12930         (eldoc-display-message-no-interference-p):
12931         Support eldoc-post-insert-mode.
12933         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12934         (eval-expression): Run it.
12936 2013-03-17  Roland Winkler  <winkler@gnu.org>
12938         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12939         strings in the list of return values.
12941 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12943         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12944         radix before checking for HMS forms.
12946 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12948         * progmodes/scheme.el: Add indentation and font-locking for λ.
12949         (Bug#13975)
12951 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12953         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12954         token before point (bug#13942).
12956 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12958         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12960 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12962         * startup.el (command-line-normalize-file-name): Fix handling of
12963         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12964         <xfq.free@gmail.com> in
12965         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12967 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12969         Sync with Tramp 2.2.7.
12971         * net/trampver.el: Update release number.
12973 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12975         * doc-view.el: Fix bug#13887.
12976         (doc-view-insert-image): Don't modify overlay associated to
12977         non-live windows, and implement horizontal centering of image in
12978         case it's smaller than the window.
12979         (doc-view-new-window-function): Force redisplay of new windows on
12980         doc-view buffers.
12982 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12984         * saveplace.el (save-place-alist-to-file): Don't sort
12985         `save-place-alist', just pretty-print it (bug#13882).
12987 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12989         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12990         Check whether `default-file-name-coding-system' is bound.
12991         It isn't in XEmacs.
12993 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12995         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12996         backquotes for `obsolete' (bug#13929).
12998         * international/mule.el (find-auto-coding): Include file name in
12999         obsolescence warning (bug#13922).
13001 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
13003         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13004         for CFEngine 3-specific indentation.
13005         (cfengine3-indent-line): Use it.  Fix up category regex.
13006         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13008 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13010         * type-break.el (type-break-file-name):
13011         * textmodes/remember.el (remember-data-file):
13012         * strokes.el (strokes-file):
13013         * shadowfile.el (shadow-initialize):
13014         * saveplace.el (save-place-file):
13015         * ps-bdf.el (bdf-cache-file):
13016         * progmodes/idlwave.el (idlwave-config-directory):
13017         * net/quickurl.el (quickurl-url-file):
13018         * international/kkc.el (kkc-init-file-name):
13019         * ido.el (ido-save-directory-list-file):
13020         * emulation/viper.el (viper-custom-file-name):
13021         * emulation/vip.el (vip-startup-file):
13022         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13023         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13025 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
13027         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13028         * language/thai-word.el: Switch to UTF-8.
13030 See ChangeLog.16 for earlier changes.
13032 ;; Local Variables:
13033 ;; coding: utf-8
13034 ;; End:
13036   Copyright (C) 2011-2014 Free Software Foundation, Inc.
13038   This file is part of GNU Emacs.
13040   GNU Emacs is free software: you can redistribute it and/or modify
13041   it under the terms of the GNU General Public License as published by
13042   the Free Software Foundation, either version 3 of the License, or
13043   (at your option) any later version.
13045   GNU Emacs is distributed in the hope that it will be useful,
13046   but WITHOUT ANY WARRANTY; without even the implied warranty of
13047   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13048   GNU General Public License for more details.
13050   You should have received a copy of the GNU General Public License
13051   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.