* process.c (read_and_dispose_of_process_output): Fix typo
[emacs.git] / lisp / ChangeLog
blob29e55de249d5cf6fcbbc74f994d1e82e3e4f2a39
1 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
4         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
5         (perl-continuation-line-p): Don't skip over anything else than labels.
6         Return the previous char.
7         (perl-calculate-indent): Use syntax-ppss instead of parse-start
8         and update callers accordingly.  For continuation lines, check the
9         the case of array hashes.
10         (perl-backward-to-noncomment): Make it non-interactive.
11         (perl-backward-to-start-of-continued-exp): Rewrite.
13 2014-07-08  Sam Steingold  <sds@gnu.org>
15         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
16         New user commands.
18 2014-07-08  Juri Linkov  <juri@jurta.org>
20         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
21         (vc-annotate-color-map): Use less saturated colors (20%) for
22         background-mode.
23         (vc-annotate-very-old-color): Add default value for background-mode.
24         (vc-annotate-background): Set default value to nil since now text on
25         the default backgrounds should be legible in light and dark modes.
26         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
27         (Bug#17808)
29 2014-07-08  Juri Linkov  <juri@jurta.org>
31         * simple.el (transpose-chars): Don't move point into read-only area.
32         (Bug#17829)
34 2014-07-08  Juri Linkov  <juri@jurta.org>
36         * window.el (with-displayed-buffer-window): New macro.
37         (with-temp-buffer-window, with-current-buffer-window):
38         Use `macroexp-let2' to evaluate and bind variables
39         in the same order as macro arguments.
40         (display-buffer--action-function-custom-type):
41         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
43         * minibuffer.el (minibuffer-completion-help): Replace
44         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
45         with actions that display *Completions* at-bottom when called
46         from the minibuffer, or below-selected in a normal buffer.
47         Associate `window-height' with `fit-window-to-buffer'.
48         Let-bind `pop-up-windows' to nil.
50         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
51         instead of `with-current-buffer-window'.  (Bug#17809)
53 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
55         * progmodes/hideif.el (hide-ifdef-env): Change to global.
56         (hide-ifdef-env-backup): New variable.
57         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
58         New customizable variables.
59         (hif-clear-all-ifdef-defined): New defun.
60         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
61         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
62         (hif-tokenize): Fix for MS-DOS/Win EOL style.
63         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
64         Fix bug to hide the correct #elif region(s).
65         (hif-range-elif): New defun.
66         (hif-recurse-level): New var.
67         (hif-evaluate-region, hif-evaluate-macro): New defun.
68         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
69         fully hidden.
70         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
71         Better interaction.
73 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
75         * net/dbus.el (dbus-peer-handler): New defun.
76         (dbus-register-service): Register it.  (Bug#17858)
77         (dbus-managed-objects-handler): Fix docstring.
79 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
81         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
82         (narrow-to-defun): New arg include-comments, defaulting to it
83         (bug#16328).
85 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
87         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
88         different calling convention to rectangle--unhighlight-for-redisplay.
90 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
92         * net/tramp.el (tramp-call-process): Handle error strings.
94         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
96         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
97         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
99         * net/trampver.el: Update release number.
101 2014-07-03  Juri Linkov  <juri@jurta.org>
103         * desktop.el (desktop-save): Rename arg `auto-save' to
104         `only-if-changed'.  Doc fix.  (Bug#17873)
106 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
108         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
109         Use insert-for-yank (bug#17271).
111 2014-07-03  Leo Liu  <sdl.web@gmail.com>
113         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
114         Support lexical-binding.
116 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
118         * vc/log-edit.el (log-edit-goto-eoh): New function.
119         (log-edit--match-first-line): Use it (bug#17861).
121 2014-07-03  Glenn Morris  <rgm@gnu.org>
123         * vc/log-edit.el (log-edit-hook): Add missing :version.
125 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
127         * progmodes/python.el (python-indent-post-self-insert-function):
128         Enhancements to electric indentation behavior inside
129         parens. (Bug#17658)
131 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
133         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
134         buffer-invisibility-spec (bug#17867).
136 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
138         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
139         pass "-a".
141 2014-07-03  Glenn Morris  <rgm@gnu.org>
143         * cus-edit.el (help):
144         * finder.el (finder-known-keywords):
145         * help.el (help-for-help-internal):
146         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
147         (ediff-redraw-registry-buffer):
148         * vc/ediff-ptch.el (ediff-patch-file-internal):
149         Doc fixes re "online" help.  (Bug#17803)
151         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
152         (idlwave-mode): Doc URL update.
154 2014-07-01  Juri Linkov  <juri@jurta.org>
156         * man.el: Display man pages immediately and use process-filter
157         to format them asynchronously.
158         (Man-width): Doc fix.
159         (man): Doc fix.
160         (Man-start-calling): Use `with-selected-window' to get
161         `frame-width' and `window-width'.
162         (Man-getpage-in-background): Call `Man-notify-when-ready'
163         immediately after creating a new buffer.  Call `Man-mode' and set
164         `mode-line-process' in the created buffer.  Set process-filter to
165         `Man-bgproc-filter' in start-process branch.  In call-process branch
166         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
167         Use `Man-start-calling' inside `with-current-buffer'.
168         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
169         (Man-cleanup-manpage): Don't print messages.
170         (Man-bgproc-filter): New function.
171         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
172         user moved it during asynchronous formatting.  Move calls of
173         `Man-fontify-manpage' and `Man-cleanup-manpage' to
174         `Man-bgproc-filter'.  Move the call of `Man-mode' to
175         `Man-getpage-in-background'.  Use `quit-restore-window'
176         instead of `kill-buffer'.  Use `message' instead of `error'
177         because errors are caught by process sentinel.
178         (Man-mode): Move calls of `Man-build-page-list',
179         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
180         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
182         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
183         for the message about the man page cleaned up.
185 2014-07-01  Mario Lang  <mlang@delysid.org>
187         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
188         cosutomization option `gnutls-verify-error'.
190 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
192         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
193         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
195         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
196         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
197         is suspended (bug#17857).
199 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
201         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
202         Prefer utf-8 coding.  (Bug#17859)
204 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
206         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
207         for `reverse'.
209 2014-06-30  Glenn Morris  <rgm@gnu.org>
211         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
212         (autoload-ensure-default-file): Maybe make existing output writable.
213         * Makefile.in (AUTOGEN_VCS): Remove.
214         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
216 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
218         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
220 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
222         New if-let, when-let, thread-first and thread-last macros.
224         * emacs-lisp/subr-x.el
225         (internal--listify, internal--check-binding)
226         (internal--build-binding-value-form, internal--build-binding)
227         (internal--build-bindings): New functions.
228         (internal--thread-argument, thread-first, thread-last)
229         (if-let, when-let): New macros.
231 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
233         * net/rcirc.el (rcirc-buffer-process): Restore previous
234         behaviour.  (Bug#17772)
236 2014-06-29  Alan Mackenzie  <acm@muc.de>
238         Don't call c-parse-state when c++-template-syntax-table is active.
239         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
240         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
241         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
243 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
245         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
246         account for file-wide setting of todo-top-priorities-overrides.
247         Make code a bit cleaner.
249 2014-06-28  Glenn Morris  <rgm@gnu.org>
251         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
253 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
255         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
256         category-wide setting of todo-top-priorities-overrides, check for
257         a file-wide setting and fontify accordingly.
259 2014-06-28  Glenn Morris  <rgm@gnu.org>
261         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
263 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
265         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
267 2014-06-28  K. Handa  <handa@gnu.org>
269         Fix Bug#17739.
271         * composite.el: Setup composition-function-table for dotted circle.
272         (compose-gstring-for-dotted-circle): New function.
274         * international/characters.el: Add category "^" to all
275         non-spacing characters.
277 2014-06-28  Glenn Morris  <rgm@gnu.org>
279         * Makefile.in (doit): Remove force rule.
280         (custom-deps, finder-data, autoloads, update-subdirs)
281         (compile-one-process): PHONY targets do not need force rules.
283         * Makefile.in (compile-main, compile, compile-always):
284         No need to explicitly pass variables to ourself in recursive calls.
286 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
288         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
290 2014-06-26  Glenn Morris  <rgm@gnu.org>
292         * Makefile.in (update-authors): Update for moved authors.el.
294 2014-06-26  Leo Liu  <sdl.web@gmail.com>
296         * skeleton.el (skeleton-end-hook): Default to nil and move the
297         work to skeleton-insert.  (Bug#17850)
299 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
301         * calc/calc-alg.el (math-beforep):
302         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
303         Simplify because string-lessp can accept symbols as args.
305 2014-06-26  Daiki Ueno  <ueno@gnu.org>
307         * emacs-lisp/package.el (package--check-signature):
308         If package-check-signature is allow-unsigned, don't signal error when
309         we can't verify signature because of missing public key
310         (bug#17625).
312 2014-06-26  Glenn Morris  <rgm@gnu.org>
314         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
315         Remove outdated declaration.
317         * emacs-lisp/authors.el (authors-valid-file-names)
318         (authors-renamed-files-alist): Additions.
320 2014-06-26  Leo Liu  <sdl.web@gmail.com>
322         * textmodes/picture.el (picture-set-tab-stops):
323         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
324         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
326         * progmodes/asm-mode.el (asm-calculate-indentation):
327         Use indent-next-tab-stop.
329         * indent.el (indent-accumulate-tab-stops): New function.
331 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
333         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
334         (package-desc-status): Obey it.
336 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
338         * calendar/todo-mode.el: Fix two bugs.
339         (todo-insert-item--basic): If user cancels item insertion to
340         another category before setting priority, show original category
341         whether it is in the same or a different file.
342         (todo-set-item-priority): After selecting category, instead of
343         moving point to top, which extends an active region, restore it.
345 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
347         * help-fns.el (describe-function-1): Check file-name is a string before
348         calling help-fns--autoloaded-p (bug#17564).
350 2014-06-26  Juri Linkov  <juri@jurta.org>
352         * desktop.el (desktop-auto-save-enable)
353         (desktop-auto-save-disable): New functions.
354         (desktop-save-mode, desktop-auto-save-timeout): Use them.
355         (desktop-read): Disable the autosave before loading the desktop,
356         and enable afterwards.  (Bug#17351)
358 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
360         Fix some indentation problem with \; and pipes (bug#17842).
361         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
362         (sh-smie--default-forward-token, sh-smie--default-backward-token):
363         New functions.
364         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
365         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
366         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
368 2014-06-26  Glenn Morris  <rgm@gnu.org>
370         * emacs-lisp/find-func.el (find-function-C-source-directory):
371         Use file-accessible-directory-p.
373         * ps-samp.el: Make it slightly less awful.
374         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
375         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
376         Only set local values.
377         (ps-article-subject, ps-article-author): Use standard functions
378         like mail-fetch-field.
379         (ps-info-file, ps-info-node): Use match-string.
380         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
381         (ps-samp-ps-setup): ... new function.
383         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
384         Optimize away code unneeded on any modern Emacs.
386         * emacs-lisp/authors.el: Move to ../admin.
388         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
390 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
392         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
393         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
394         performance enhancements.
395         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
396         expansion.
397         (hif-factor, hif-string-concatenation, intern-safe): Support string
398         concatenation and argumented macro expansion.
399         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
400         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
401         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
402         (hif-canonicalize-tokens, hif-place-macro-invocation)
403         (hif-parse-macro-arglist): Mostly new functions for supporting
404         argumented macro expansion.
405         (hif-string-concatenation, hif-stringify, hif-token-concat)
406         (hif-token-stringification, hif-token-concatenation):
407         Stringification and concatenation.
408         (hif-find-next-relevant): Fix comments.
409         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
410         some cases involving #elif.
411         (hif-find-define, hif-add-new-defines): New functions for automatically
412         scanning of defined symbols.
413         (hide-ifdef-guts): Fix for defined symbol auto scanning.
414         (hide-ifdef-undef): Fix behavior to match CPP.
416 2014-06-25  Glenn Morris  <rgm@gnu.org>
418         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
419         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
420         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
421         files.  They are not relevant to the original issue (bug#1004),
422         and cause unnecessary recompilation (bug#2151).
424 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
426         * play/landmark.el: Use lexical-binding and avoid `intangible'.
427         (landmark--last-pos): New var.
428         (landmark--intangible-chars): New const.
429         (landmark--intangible): New function.
430         (landmark-mode, landmark-move): Use it.
431         (landmark-mode): Remove properties.
432         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
433         (landmark-cross-qtuple):
434         Don't worry about `intangible' any more.
435         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
436         (landmark-init-display): Don't set `intangible' and `point-entered'.
437         (square): Remove.  Inline it instead.
438         (landmark--distance): Rename from `distance'.
439         (landmark-calc-distance-of-robot-from): Rename from
440         calc-distance-of-robot-from.
441         (landmark-calc-smell-internal): Rename from calc-smell-internal.
443 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
445         * files.el (dir-locals-find-file, file-relative-name):
446         * info.el (Info-complete-menu-item):
447         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
448         to compare-strings to avoid out-of-range errors.
449         * subr.el (string-prefix-p): Adjust to match strict range
450         checking in compare-strings.
452 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
454         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
455         for comment lines non-greedy and stopping at newlines to fix stack
456         overflows with large files.
458 2014-06-24  Eli Barzilay  <eli@barzilay.org>
460         * calculator.el (calculator-last-input): Drop 'ascii-character property
461         lookup.
463 2014-06-24  Leo Liu  <sdl.web@gmail.com>
465         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
466         tab-stop-list to nil.  (Bug#16381)
468         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
469         (indent-rigidly-left-to-tab-stop)
470         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
471         (move-to-tab-stop): Change callers.
473 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
475         * skeleton.el (skeleton-insert): Yet another fix of the doc string
476         wrt behavior of \n as the first/last element of a skeleton.
478 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
480         * net/tramp-adb.el (tramp-adb-handle-process-file):
481         * net/tramp-sh.el (tramp-sh-handle-process-file):
482         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
483         the output buffer when DISPLAY is non-nil.  (Bug#17815)
485 2014-06-24  Glenn Morris  <rgm@gnu.org>
487         * play/landmark.el (landmark-move-down, landmark-move-up):
488         Fix 2007-10-20 change - preserve horizontal position.
490 2014-06-23  Sam Steingold  <sds@gnu.org>
492         * simple.el (kill-append): Remove undo boundary depending on ...
493         (kill-append-merge-undo): New user option.
495 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
497         * simple.el (handle-shift-selection, exchange-point-and-mark)
498         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
499         (transient-mark-mode): Use&set the global value.
500         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
501         * emulation/edt.el (edt-emulation-off): Save&restore the global
502         transient-mark-mode setting.
503         * obsolete/pc-select.el (pc-selection-mode): Use the
504         transient-mark-mode function.
506 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
508         * international/fontset.el (script-representative-chars):
509         Add representative characters for scripts added in Unicode 7.0.
510         (otf-script-alist): Synchronize with the latest registry of OTF
511         script tags.
513         * international/characters.el (char-script-table): Update for
514         scripts added and codepoint ranges changed in Unicode 7.0.
516 2014-06-23  Eli Barzilay  <eli@barzilay.org>
518         * calculator.el (calculator-standard-displayer): Fix bug in use of
519         `calculator-groupize-number'.
520         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
521         `eval' code, so it works in v24.3.1 too.
522         (calculator-last-input): Comment to clarify purpose.
524 2014-06-22  Mario Lang  <mlang@delysid.org>
526         * textmodes/rst.el (rst-comment-region): From from -> from.
528         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
530 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
532         * electric.el (electric-layout-post-self-insert-function):
533         * emacs-lisp/ert.el (ert--insert-infos):
534         * obsolete/vi.el (vi-set-mark):
535         * term.el (term-handle-scroll):
536         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
537         * wid-edit.el (widget-editable-list-value-create):
538         Prefer point-marker to copy-marker of point.
540 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
542         Fix completion retrieval parsing (bug#17209).
543         * progmodes/python.el (python-mode):
544         (python-util-strip-string): New function.
545         (python-shell-completion-get-completions): Use it.
547 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
549         * skeleton.el (skeleton-insert): Fix last change.
551 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
553         Enhancements for outline integration (bug#17796).
554         * progmodes/python.el (python-mode): Properly set
555         outline-heading-end-regexp so that comments after colons for
556         defuns are supported.
558 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
560         * skeleton.el (skeleton-insert): Doc fix.
562 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
564         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
565         (smie-config-guess): Use smie-config-local so the rules are obeyed
566         (bug#17818).
568         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
569         since it's already done inside the loop (bug#17819).
571 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
573         * mouse.el (mouse-drag-line): Re-remove code initially removed
574         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
575         (Bug#17819).
577 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
579         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
580         align with the surrounding parent (bug#17721).
582 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
584         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
585         locally to nil.
586         (texinfo-insert-block, texinfo-insert-@end)
587         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
588         local setting of skeleton-end-newline by adding an explicit \n to
589         the skeletons where appropriate.  (Bug#17801)
591 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
593         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
594         (smie-indent--hanging-p): Use it.
595         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
597 2014-06-21  Leo Liu  <sdl.web@gmail.com>
599         * simple.el (read-quoted-char): Don't let help chars pop up help
600         buffer.  (Bug#16617)
602 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
604         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
605         for | (bug#17621).
607         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
608         Drop unknown events instead of burping.
610 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
612         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
613         and later.  (Bug#17790)
615 2014-06-21  Juri Linkov  <juri@jurta.org>
617         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
618         to `soft'.  (Bug#17554)
620 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
622         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
623         (bug#17737).
625 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
627         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
628         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
630 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
632         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
633         `unread-command-events'.
635 2014-06-19  William Xu  <william.xwl@gmail.com>
637         * progmodes/hideif.el (hif-string-to-number): Don't return float for
638         hex integer constants (bug#17807).
640 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
642         * international/mule-util.el (truncate-string-ellipsis): New var.
643         (truncate-string-to-width): Use it.
645 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
647         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
648         (lisp-string-in-doc-position-p): New function, extracted from
649         lisp-font-lock-syntactic-face-function.
650         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
652 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
654         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
656 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
658         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
659         (bubbles--game-over): Don't add `intangible' properties since they
660         didn't work anyway.
662 2014-06-18  Juri Linkov  <juri@jurta.org>
664         * vc/ediff-init.el (ediff-current-diff-Ancestor)
665         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
666         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
667         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
668         Add `min-colors 88' version with removed black/white foregrounds.
669         (Bug#10181)
671 2014-06-18  Juri Linkov  <juri@jurta.org>
673         * vc/diff-mode.el (diff-changed): Empty face definition to use
674         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
675         (diff-context): Use darker color on light background and
676         lighter color on dark background.
678 2014-06-18  Juri Linkov  <juri@jurta.org>
680         * vc/diff-mode.el (diff-refine-changed): Rename from
681         `diff-refine-change' for consistency with `diff-changed'.
682         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
684         * vc/smerge-mode.el (smerge-refined-changed): Rename from
685         `smerge-refined-change'.
686         (smerge-refined-change): Add obsolete face alias.
688 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
690         * rect.el (rectangle-preview): New custom.
691         (rectangle): New group.
692         (rectangle--pos-cols): Add `window' argument.
693         (rectangle--string-preview-state, rectangle--string-preview-window):
694         New vars.
695         (rectangle--string-flush-preview, rectangle--string-erase-preview)
696         (rectangle--space-to, rectangle--string-preview): New functions.
697         (string-rectangle): Use them.
698         (rectangle--inhibit-region-highlight): New var.
699         (rectangle--highlight-for-redisplay): Obey it.  Make sure
700         `apply-on-region' uses the point-crutches of the right window.
701         Use :align-to rather than multiple spaces.
703 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
705         * ruler-mode.el (ruler-mode-window-col)
706         (ruler-mode-mouse-set-left-margin)
707         (ruler-mode-mouse-set-right-margin): Fix calculation of column
708         from mouse position (Bug#17768).
710 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
712         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
713         without varname or rhs causes crash.
714         (dun-ftp): Fix bug where blank ftp password is allowed, making it
715         impossible to win endgame.
716         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
717         rlogin is anymore.
718         (dun-help): Bump version number; update contact info.
720 2014-06-15  Eli Barzilay  <eli@barzilay.org>
722         * calculator.el (calculator-prompt, calculator-remove-zeros)
723         (calculator-mode-hook, calculator-operators, calculator-stack)
724         (calculator-mode): Tweak docstring.
725         (calculator-user-operators): Tweak docstring, fix a bug in the last
726         example.
727         (calculator-displayer): `std' case has an optional boolean.
728         (calculator-displayers): Use the new boolean to group in decimal mode.
729         (calculator-mode-map, calculator, calculator-message)
730         (calculator-op-arity, calculator-add-operators)
731         (calculator-string-to-number, calculator-displayer-prev)
732         (calculator-displayer-next, calculator-remove-zeros)
733         (calculator-eng-display, calculator-number-to-string)
734         (calculator-update-display, calculator-last-input)
735         (calculator-clear-fragile, calculator-digit, calculator-decimal)
736         (calculator-exp, calculator-saved-move, calculator-clear)
737         (calculator-copy, calculator-put-value, calculator-help)
738         (calculator-expt, calculator-truncate): Minor code improvements.
739         (calculator-need-3-lines): New function pulling out code from
740         `calculator'.
741         (calculator-get-display): Rename from `calculator-get-prompt', and
742         improved.
743         (calculator-push-curnum): Rename from `calculator-curnum-value', and
744         extended for all uses of it.  All callers changed.
745         (calculator-groupize-number): New utility for splitting a number into
746         groups.
747         (calculator-standard-displayer): Improve code, new optional argument to
748         use comma-split groups, make second argument optional too to use with
749         'left/'right inputs.  All callers changed.
750         (calculator-reduce-stack-once): New utility, doing the meat of what
751         `calculator-reduce-stack' used to do, much improved (mostly using
752         `pcase' for conciseness and clarity).
753         (calculator-reduce-stack): Now doing just the reduction loop using
754         `calculator-reduce-stack-once'.
755         (calculator-funcall): Improve code, make it work in v24.3.1 too.
756         (calculator-last-input): Improve code, remove some old cruft.
757         (calculator-quit): Kill `calculator-buffer' in electric mode too.
758         (calculator-integer-p): Remove.
759         (calculator-fact): Improve code, make it work on non-integer values
760         too (using truncated numbers).
762 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
764         Sync with Tramp 2.2.10.
766         * net/tramp.el (tramp-methods): Tweak docstring.
767         (tramp-handle-file-accessible-directory-p): Check for
768         `file-readable-p' instead of `file-executable-p'.
769         (tramp-check-cached-permissions):
770         Use `tramp-compat-file-attributes'.
771         (tramp-call-process): Add new argument VEC.  Adapt callees in all
772         tramp*.el files.
774         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
775         (tramp-adb-maybe-open-connection): Don't set
776         `tramp-current-*' variables.
778         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
779         file properties of temporary buffers.
781         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
783         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
784         (tramp-gvfs-handle-delete-file): Flush file
785         properties, not directory properties.
786         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
787         reading "unix::mode".
788         (tramp-gvfs-handle-file-name-all-completions):
789         Use "-h" option for "gvfs-ls".
790         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
791         (tramp-gvfs-send-command): Simplify traces.
793         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
794         (vc-git-program, vc-hg-program): Declare.
795         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
796         (tramp-methods) <nc>: Add new method.
797         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
798         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
799         `tramp-login-args'.
800         (tramp-default-user-alist): Add "nc".
801         (top): Remove completion function for "sftp".  Add completion
802         functions for "nc" and "psftp".
803         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
804         Implement support for "nc" method.
805         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
806         (tramp-remote-coding-commands, tramp-call-local-coding-command):
807         Tweak docstring.
808         (tramp-sh-handle-write-region): Tweak error message.
809         (tramp-sh-handle-vc-registered): Remove backends when the remote
810         binary does not exist.
811         (tramp-find-inline-encoding): Do not raise an error.
812         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
813         the "nc" case.  Quote result also locally.
815         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
816         (tramp-smb-handle-set-file-acl): Use `start-process'.
817         (tramp-smb-handle-insert-directory): Use progress reporter.
818         (tramp-smb-handle-rename-file): Flush also file properties of
819         FILENAME.
821         * net/trampver.el: Update release number.
823 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
825         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
826         add-to-list.
827         (ses-localvars): Remove ses--local-printer-list, unused.
828         (ses--metaprogramming): New macro.  Use it to defvar variables.
829         (ses-set-localvars): Simplify.
830         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
831         property-list into an alist.
832         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
833         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
834         Remove; use defstruct accessors/setters instead.
835         (ses-cell-formula-aset, ses-cell-printer-aset)
836         (ses-cell-references-aset): Remove, use setf instead.
837         (ses--alist-get): New function.
838         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
839         Use an alist instead of a plist and don't do move-to-front since the
840         list is always short.
841         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
842         (ses-cell-property-set-fun, ses-cell-property-set)
843         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
844         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
845         (ses--letref): New macro.
846         (ses-cell-property-pop): Rewrite.
847         (ses--cell): Rename from ses-cell and make it into a function.
848         Make `formula' fallback on `value' if nil.
849         (ses--local-printer): Rename from ses-local-printer and make it into
850         a function.
851         (ses-set-cell): Turn it into a macro so finding the accessor from the
852         field name is done at compile time.
853         (ses-repair-cell-reference-all): Test presence of `sym' rather than
854         `ref' before adding `sym' to :ses-repair-reference.
855         (ses-calculate-cell): Use ses--letref rather than
856         ses-cell-property-get-handle.
857         (ses-write-cells): Use a single prin1-to-string.
858         (ses-setter-with-undo): New function.
859         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
860         (ses-unset-with-undo): Remove.
861         (ses-load): Prefer apply' over `eval'.
862         (ses-read-printer, ses-set-column-width): Use standard "(default
863         foo)" format.
865 2014-06-15  Glenn Morris  <rgm@gnu.org>
867         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
869         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
870         Replace delete-duplicates and mapcan by cl- versions throughout.
871         And cl-macroexpand-all by macroexpand-all.
872         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
874 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
876         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
878 2014-06-15  Juri Linkov  <juri@jurta.org>
880         * bindings.el: Put `ascii-character' property on keypad keys
881         mapped to characters.  (Bug#17759)
883 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
885         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
886         bumping forward into a closing paren (bug#17761).
888         * term/xterm.el (xterm--version-handler): Work around for OSX
889         Terminal.app (bug#17607).
891 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
893         * play/dunnet.el (dun-describe-room, dun-mode):
894         If a lamp is in the room, you won't be eaten by a grue.
896 2014-06-13  Glenn Morris  <rgm@gnu.org>
898         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
899         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
900         (compile-always): GNU make automatically passes
901         command-line arguments to sub-makes.
903         * calendar/calendar.el (calendar-generate-window):
904         Remove pointless call to font-lock-fontify-buffer.
906 2014-06-13  Matthias Meulien  <orontee@gmail.com>
908         * simple.el (completion-list-mode-map): Navigate with tab and backtab
909         (bug#17767).
911 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
913         * simple.el (set-mark-command): Simplify a bit.
915 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
917         * help.el (help--key-binding-keymap): New function.
918         (help--binding-locus): New function.
919         (describe-key): Mention the keymap in which the binding was
920         found. (bug#13948)
922 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
924         * hippie-exp.el (he--all-buffers): New function.
925         (try-expand-line-all-buffers, try-expand-list-all-buffers)
926         (try-expand-dabbrev-all-buffers): Use it.
928 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
930         * hippie-exp.el (try-expand-line-all-buffers)
931         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
932         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
933         original buffer, in case they're buffer-local.
935 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
937         * ses.el (ses-initial-global-parameters-re): New defconst, a
938         specific regexp is needed now that ses.el can handle both
939         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
940         local printers.
941         (ses-localvars): Add local variables needed for local printer handling.
942         (ses-set-localvars): Handle hashmap initialisation.
943         (ses-paramlines-plist): Add param-line for number of local printers.
944         (ses-paramfmt-plist): New defconst, needed for code factorization
945         between functions `ses-set-parameter' and
946         `ses-file-format-extend-paramter-list'
947         (ses-make-local-printer-info): New defsubst.
948         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
949         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
950         (ses-cell-printer-aset): New defmacro.
951         (ses-local-printer-compile): New defun.
952         (ses-local-printer): New defmacro.
953         (ses-printer-validate, ses-call-printer): Add support for local
954         printer functions.
955         (ses-file-format-extend-paramter-list): New defun.
956         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
957         factorization.
958         (ses-load): Add support for local printer functions.
959         (ses-read-printer): Update docstring and add support for local printer
960         functions.
961         (ses-refresh-local-printer, ses-define-local-printer): New defun.
962         (ses-safe-printer): Add support for local printer functions.
964 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
966         * ffap.el (ffap-lax-url): New var (bug#17723).
967         (ffap-url-at-point): Use it.
968         (ffap-file-at-point): Avoid returning just "/".
970 2014-06-12  Matthias Meulien  <orontee@gmail.com>
972         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
973         (python-mode-map): Bind it.
975         * progmodes/python.el (class skeleton): Don't erase last char of class
976         name (bug#17683).
978 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
980         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
982 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
984         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
985         (bug#17745).
987 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
989         * international/mule-cmds.el: Use lexical-binding.
990         (ucs-names): Simplify.
992 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
994         * progmodes/python.el (run-python): Use read-shell-command.
996 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
998         * rect.el: Make it possible to move bounds past EOL or into TABs.
999         (operate-on-rectangle): Use apply-on-rectangle.
1000         (rectangle--mark-crutches): New var.
1001         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1002         (rectangle--crutches, rectangle--reset-crutches): New functions.
1003         (apply-on-rectangle): Obey crutches.  Avoid setq.
1004         Fix missing final iteration if end is at EOB&BOL.
1005         (rectangle-mark-mode-map): Add remap bindings for
1006         exchange-point-and-mark and char/line movements.
1007         (rectangle--*-char): New function.
1008         (rectangle-exchange-point-and-mark, rectangle-right-char)
1009         (rectangle-left-char, rectangle-forward-char)
1010         (rectangle-backward-char, rectangle-next-line)
1011         (rectangle-previous-line): New commands.
1012         (rectangle--place-cursor): New function.
1013         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
1015 2014-06-08  Glenn Morris  <rgm@gnu.org>
1017         * startup.el (initial-buffer-choice): Doc fix.
1018         Reset :version (adding an option does not merit a :version bump).
1020         * bookmark.el (bookmark-load):
1021         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1023 2014-06-08  Juri Linkov  <juri@jurta.org>
1025         * desktop.el: Activate auto-saving on window configuration changes.
1026         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1027         `desktop-auto-save-set-timer' to/from
1028         `window-configuration-change-hook'.
1029         (desktop-auto-save-set-timer): Change REPEAT arg of
1030         `run-with-idle-timer' from t to nil.
1031         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1033 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
1035         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1036         vc-hg-command (bug#17570).
1038 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1040         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1041         (bug#17702).
1043 2014-06-08  Glenn Morris  <rgm@gnu.org>
1045         * startup.el (window-setup-hook): Doc fix.
1047         * emacs-lisp/package.el (package-check-signature)
1048         (package-unsigned-archives): Doc fixes.
1050 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
1052         * window.el (display-buffer-use-some-window): Don't make window
1053         used smaller than it was before (Bug#17671).
1055 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1057         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1058         'redisplay' instead of '(sit-for 0)'.
1060 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
1062         * net/tramp.el (tramp-ssh-controlmaster-options):
1063         Improve search regexp.  (Bug#17653)
1065 2014-06-08  Glenn Morris  <rgm@gnu.org>
1067         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1069 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1071         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1073 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1075         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1076         (bug#17586).
1078         * vc/vc-hg.el (vc-hg-log-graph): New var.
1079         (vc-hg-print-log): Use it.
1080         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1081         graph output (bug#17515).
1083 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1085         * mouse.el (mouse-posn-property): Ignore buffer position info when the
1086         even happened elsewhere.
1088 2014-06-06  Mario Lang  <mlang@delysid.org>
1090         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1091         `recenter' if `current-buffer' is equal to `window-buffer'.
1093 2014-06-05  Leo Liu  <sdl.web@gmail.com>
1095         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1097 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
1099         * textmodes/tildify.el (tildify-foreach-region-outside-env):
1100         New function which calls a callback on portions of the buffer that are
1101         outside of ignored environments.
1102         (tildify-build-regexp): Remove function since it is now
1103         incorporated in `tildify-foreach-region-outside-env' where it is
1104         optimised and simplified by the use of `mapconcat'.
1105         (tildify-tildify): Return number of substitutions made so that…
1106         (tildify-count): …can be removed.
1107         (tildify-find-env): Accept a new PAIRS argument which was
1108         previously looked up in `tildify-ignored-environments-alist' each
1109         time the function was called.  With this change, the lookup is
1110         performed only once in `tildify-foreach-region-outside-env'.
1111         (tildify-region): Greatly simplify the function since now most of
1112         the work is done by `tildify-foreach-region-outside-env'.
1113         (tildify-mode-alist): Simplify slightly by avoiding if and setq
1114         and instead using or.
1116         * textmodes/tildify.el (tildify-ignored-environments-alist):
1117         Optimise environments regexes
1119         Each time beginning of an environment to ignore is found,
1120         `tildify-find-env' needs to identify regexp for the ending
1121         of the environment.  This is done by trying all the opening
1122         regexes on matched text in a loop, so to speed that up, this
1123         loop should have fewer things to match, which can be done by
1124         using alternatives in the opening regexes.
1126         Coincidentally, this should make matching of the opening
1127         regexp faster as well thanks to the use of `regexp-opt' and
1128         having common prefix pulled from many regexes.
1130         * textmodes/tildify.el (tildify-string-alist)
1131         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
1132         of supported modes since `xml-mode' is no longer a thing but just
1133         an alias to the former.  Also include comments and insides of tags
1134         in `tildify-ignored-environments-alist' for XML modes.  Finally,
1135         since XML does not define “&nbsp;”[1], use a numeric reference for
1136         a no-break space (namely “&#160;”)
1138         [1] XML specification defines only a handful of predefined entities.
1139             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
1140             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
1141             >, &, ' and " respectively).  This is in contrast to HTML and even
1142             XHTML which defined a whole bunch of entities including “&nbsp;”.
1144         * textmodes/tildify.el (tildify-pattern-alist)
1145         (tildify-string-alist, tildify-ignored-environments-alist):
1146         Improve defcustom's types by adding more tags explaining what each
1147         value means and replace “sexp” used in
1148         `tildify-ignored-environments-alist' with a full type declaration.
1150         * textmodes/tildify.el (tildify-find-env): Fix matched group
1151         indexes in end-regex building
1153         When looking for a start of an ignore-environment, the regex is built
1154         by concatenating regexes of all the environments configured in
1155         `tildify-ignored-environments-alist'.  So for example, the following
1156         list could be used to match TeX's \verb and \verb* commands:
1158             (("\\\\verb\\(.\\)" . (1))
1159              ("\\\\verb\\*\\(.\\)" . (1)))
1161         This would result in the following regex being used to find the start
1162         of any of the variants of the \verb command:
1164             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
1166         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
1167         won't match anything, and thus (match-string 1) will be nil, which
1168         will cause building of the end-matching regex to fail.
1170         Fix this by using capture groups from the time when the opening
1171         regexes are matched individually.
1173         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
1174         in `tildify-find-env'
1176         The `tildify-ignored-environments-alist' allows the end-regex to
1177         be provided not as a static string but mix of strings and indexes
1178         of groups matched the begin-regex.  For example, the “\verb!…!”
1179         TeX-command (where “!” is an arbitrary character) is handled
1180         using:
1182             ("\\\\verb\\*?\\(.\\)" . (1))
1184         In the same way, the following should be supported as well:
1186             ("open-\\(.\\)" . ("end-" 1))
1188         However the tildify-find-env function fails at
1190             (concat result
1191                     (if (stringp (setq aux (car expression)))
1192                          expression  ; BUG: expression is a list
1193                        (regexp-quote (match-string aux))))
1195         where the string part is handled incorrectly.
1197         The most trivial fix would be to replace `expression' in the
1198         true-part of the if-statement with `aux', but instead, this commit
1199         optimises `tildify-find-env' by changing it to use `mapconcat'
1200         rather than open-coded while-loop.
1202 2014-06-05  Mario Lang  <mlang@delysid.org>
1204         * woman.el (woman-mapcan): Remove.
1205         (woman-parse-colon-path): Use cl-mapcan instead.
1207 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1209         * register.el: Add link to Emacs manual in Commentary.
1211 2014-06-02  Sam Steingold  <sds@gnu.org>
1213         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
1214         (popup-menu): ...here.
1215         (menu-bar-open): Use it to avoid an error when `lookup-key'
1216         returns a number.
1218 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
1220         * net/tramp.el (tramp-call-process): Add traces.
1221         (tramp-handle-unhandled-file-name-directory): Return "/".
1223 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
1225         Sync with upstream verilog-mode revision 3cd8144.
1226         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1227         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
1228         (verilog-type-font-keywords): Add nor.
1229         (verilog-batch-execute-func): Force reading of Local Variables.
1230         Fix printing "no changes to be saved" with verilog-batch.
1231         (verilog-auto-arg-ports): Doc fix.
1232         Add verilog-auto-arg-format to support newlines in AUTOARG.
1233         (verilog-auto-arg): Doc fix.
1235 2014-06-02  Glenn Morris  <rgm@gnu.org>
1237         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1238         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1239         * emulation/ws-mode.el: Move to obsolete/.
1240         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
1242 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1244         * simple.el (keyboard-quit): Force update of mode lines, to remove
1245         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1247 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1249         * minibuffer.el (minibuffer-force-complete-and-exit):
1250         Obey minibuffer-default (bug#17545).
1252         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1253         (bug#17619).
1255         * subr.el (set-transient-map): Don't wait for some "nested"
1256         transient-map to finish if we're only supposed to be active for
1257         the next command (bug#17642).
1259 2014-06-02  Leo Liu  <sdl.web@gmail.com>
1261         * emacs-lisp/gv.el (window-buffer, window-display-table)
1262         (window-dedicated-p, window-hscroll, window-point, window-start):
1263         Fix gv-expander.  (Bug#17630)
1265 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1267         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1268         clicks (bug#17633).
1270         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1271         for the single comma, since ", " is *very* common in normal French text
1272         (bug#17643).
1274 2014-06-02  Glenn Morris  <rgm@gnu.org>
1276         * emacs-lisp/package.el (package-check-signature)
1277         (package-unsigned-archives): Fix :version.
1279 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * subr.el (sit-for): Don't run input-methods (bug#15614).
1283 2014-06-02  Glenn Morris  <rgm@gnu.org>
1285         * cus-start.el: Fix some :version numbers.
1287 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * simple.el (deactivate-mark): Set mark-active to nil even if
1290         deactivation is done via setting transient-mark-mode to nil,
1291         since one is buffer-local and the other is global.
1293         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1294         there can't be more than 2 arguments (bug#17584).
1296 2014-06-02  Glenn Morris  <rgm@gnu.org>
1298         * simple.el (filter-buffer-substring-functions)
1299         (filter-buffer-substring-function, buffer-substring-filters)
1300         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1302         * minibuffer.el (completion-in-region-functions, completion-in-region)
1303         (completion--in-region): Doc fixes.
1305         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1306         (expand-abbrev, abbrev--default-expand): Doc fixes.
1308 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1310         Include sources used to create macuvs.h.
1311         * international/README: Refer to the Unicode Terms of Use rather
1312         than copying it bodily here, as that simplifies maintenance.
1314 2014-06-01  Glenn Morris  <rgm@gnu.org>
1316         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
1318 2014-05-31  Glenn Morris  <rgm@gnu.org>
1320         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
1322 2014-05-30  Glenn Morris  <rgm@gnu.org>
1324         * loadup.el: Treat `command-line-args' more flexibly.
1326 2014-05-30  Alan Mackenzie  <acm@muc.de>
1328         Guard (looking-at "\\s!") from XEmacs.
1329         * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1331 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>  (tiny change)
1333         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1334         The argument COUNT is now optional, to be more backward-compatible.
1335         Doc fix.  (Bug#17560)
1337 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
1339         * whitespace.el (whitespace-report-region):
1340         Simplify documentation.
1341         (whitespace-report-region): Allow report-if-bogus to take the
1342         value `never', for non-interactive use.
1343         (whitespace-report): Refer to whitespace-report-region's
1344         documentation.
1346 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1348         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
1349         Side benefit: it works without jit-lock.
1350         (whitespace-point--used): New buffer-local var.
1351         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
1352         (whitespace-color-off): Use font-lock-flush.
1353         (whitespace-point--used, whitespace-point--flush-used): New functions.
1354         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1355         (whitespace-empty-at-eob-regexp): Use them.
1356         (whitespace-post-command-hook): Rewrite.
1358         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1359         (font-lock-fontify-buffer): Mark interactive-only.
1360         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1361         Make buffer-local.
1362         (font-lock-specified-p): Remove redundant boundp check.
1363         (font-lock-flush-function, font-lock-ensure-function): New vars.
1364         (font-lock-turn-on-thing-lock): Set them.
1365         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1366         (font-lock-after-change-function): Make `old-len' optional.
1367         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1368         Call font-lock-flush, just in case.
1369         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1370         recent Emacsen.
1371         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1372         (vera-mode-map, vera-mode-menu): Remove bindings to it.
1373         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1374         and with-syntax-table.
1375         * textmodes/conf-mode.el (conf-quote-normal):
1376         * progmodes/sh-script.el (sh-set-shell):
1377         * progmodes/prog-mode.el (prettify-symbols-mode):
1378         * progmodes/f90.el (f90-font-lock-n):
1379         * progmodes/cwarn.el (cwarn-mode):
1380         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1381         * progmodes/compile.el (compilation-setup, compilation--unsetup):
1382         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1383         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1384         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1385         font-lock-fontify-buffer-function and
1386         font-lock-unfontify-buffer-function.
1387         (rmail-unfontify-buffer-function, rmail-fontify-message):
1388         Use with-silent-modifications.
1389         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1390         and font-lock-ensure.
1391         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1393 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
1395         * emacs-lisp/package.el (package-generate-autoloads):
1396         Inhibit backup files.
1398 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1400         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1401         (bug#17608).
1403 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
1405         * textmodes/tildify.el (tildify-buffer, tildify-region):
1406         Add dont-ask option.
1408 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1410         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
1411         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1413         * subr.el (internal--funcall-interactively): New.
1414         (internal--call-interactively): Remove.
1415         (called-interactively-p): Detect funcall-interactively instead of
1416         call-interactively.
1417         * simple.el (repeat-complex-command): Use funcall-interactively.
1418         (repeat-complex-command--called-interactively-skip): Remove.
1420 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1422         * register.el (register-read-with-preview): Don't burp on
1423         frame switches (e.g. due to the frame we just popped).
1425         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1426         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1428 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1430         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1432 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
1434         * window.el (window--dump-frame): Remove interactive specification.
1436 2014-05-26  Glenn Morris  <rgm@gnu.org>
1438         * hippie-exp.el (he-line-search-regexp):
1439         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1441 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
1443         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1444         to avoid errors when trying to create or visit a file foo.todo
1445         located outside to todo-directory, and to allow having such files
1446         without them being tied to Todo mode (bug#17482).
1447         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1448         (todo-archive-done-item, todo-find-filtered-items-file)
1449         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1450         (todo-category-completions, todo-read-category): When visiting a
1451         Todo file, make sure we're in the right mode and the buffer local
1452         variables are set.
1453         (todo-make-categories-list, todo-reset-nondiary-marker)
1454         (todo-reset-done-string, todo-reset-comment-string):
1455         After processing all Todo files, kill the buffers of those files that
1456         weren't being visited before the processing.
1457         (todo-display-as-todo-file, todo-add-to-buffer-list)
1458         (todo-visit-files-commands): Comment out.
1459         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1460         (auto-mode-alist): Remove add-to-list calls making Todo file
1461         extensions unrestrictedly tied to Todo modes.
1463 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1465         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1466         (advice-function-member-p): Tell it to check both names and functions
1467         (bug#17531).
1468         (advice--add-function): Adjust call accordingly.
1470 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
1472         * calendar/todo-mode.el: Miscellaneous bug fixes.
1473         (todo-delete-file): When deleting an archive but not its todo
1474         file, make sure to update the todo file's category sexp.
1475         (todo-move-category): Keep the moved category's name unless the
1476         file moved to already has a category with that name.  If the
1477         numerically last category of the source file was moved, make the
1478         first category current to avoid selecting a nonexisting category.
1479         (todo-merge-category): Fix implementation to make merging to a
1480         category in another file work as documented.  Eliminate now
1481         insufficient and unnecessary renaming of archive category, correct
1482         document string accordingly, and clarify it.  If the numerically
1483         last category of the source file was merged, make the first
1484         category current to avoid selecting a nonexisting category.
1485         (todo-archive-done-item): When there are marked items and point
1486         happens to be on an unmarked item, ignore the latter.  Don't leave
1487         point below last item after archiving marked items.
1488         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1489         from an archive with only one category deletes the archive only
1490         when the category is empty after unarchiving.  Make sure the todo
1491         file's category sexp is updated.
1492         (todo-read-file-name): Allow an existing file name even when it is
1493         not required (todo-move-category needs this to work as documented).
1494         (todo-add-file): Call todo-validate-name to reject the name of an
1495         existing todo file (needed due to fix in todo-read-file-name).
1496         (todo-reset-nondiary-marker): Also reset in filtered items files.
1497         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1498         regexp filtered items files.
1499         (todo-reset-highlight-item): Also reset in filtered items files.
1500         Fix incorrect variable reference in document string.
1502 2014-05-26  Glenn Morris  <rgm@gnu.org>
1504         * window.el (window--dump-frame): Avoid error in --without-x builds.
1506 2014-05-26  Glenn Morris  <rgm@gnu.org>
1508         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1510 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
1512         * frame.el (set-frame-font): Doc fix.
1514         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1516 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
1518         * emacs-lisp/package.el (package--download-one-archive):
1519         Use `write-region' instead of `save-buffer' to avoid running various
1520         hooks.  (Bug#17155)
1521         (describe-package-1): Same.  Insert newline at the end of the
1522         buffer if appropriate.
1524 2014-05-26  Juri Linkov  <juri@jurta.org>
1526         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1527         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1528         Add more modifiers: meta, control, shift, hyper, super, alt.
1529         (Bug#17439)
1531         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1532         to allow changing its value with `set-variable'.
1534 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1536         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1537         #; comments.
1538         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1539         New functions.
1540         (scheme-mode-variables): Set syntax-propertize-function instead of
1541         font-lock-syntactic-face-function.
1542         (scheme-font-lock-syntactic-face-function): Delete.
1544         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1546         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1547         (bug#17392).
1549 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
1551         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1552         for a temporary file name.
1554 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
1556         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1558 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
1560         * net/dbus.el (dbus-init-bus, dbus-call-method)
1561         (dbus-call-method-asynchronously, dbus-send-signal)
1562         (dbus-method-return-internal, dbus-method-error-internal):
1563         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1565 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1567         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1568         methods which do not have a doc string.  (Bug#17490)
1570 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
1572         * textmodes/reftex-ref.el (reftex-format-special): Make it work
1573         also for AMS Math's \eqref macro.
1575 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
1577         Arrange to never byte-compile the generated -pkg.el file.
1579         * emacs-lisp/package.el (package-generate-description-file):
1580         Output first-line comment to set buffer-local var `no-byte-compile'.
1581         Suggested by Dmitry Gutov:
1582         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1584 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
1586         Fix bug: Properly quote args to generated -pkg.el `define-package'.
1588         * emacs-lisp/package.el (package-generate-description-file):
1589         Inline `package--alist-to-plist'; rewrite to selectively
1590         quote alist values that are not self-quoting.
1591         (package--alist-to-plist): Delete func.
1593 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
1595         * term/xterm.el (xterm-function-map): Add mapping for shifted
1596         keypad keys.
1598 2014-05-24  Daniel Colascione  <dancol@dancol.org>
1600         * progmodes/subword.el (subword-find-word-boundary): Move point to
1601         correct spot before search. (Bug#17580)
1603         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1604         breaking the build.
1606 2014-05-24  Leo Liu  <sdl.web@gmail.com>
1608         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1610 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1612         * minibuffer.el (completion--sreverse): Remove.
1613         (completion--common-suffix): Use `reverse' instead.
1614         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1616 2014-05-22  Glenn Morris  <rgm@gnu.org>
1618         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1620 2014-05-21  Daniel Colascione  <dancol@dancol.org>
1622         * files.el (interpreter-mode-alist): Add mksh.
1624         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1625         derivative.
1626         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1627         mksh. Improve custom spec; allow regular expressions.
1628         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1629         (sh-after-hack-local-variables): New function.
1630         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1631         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1632         the normalization.
1633         (sh-canonicalize-shell): Rewrite to support regexes.
1635 2014-05-21  Leo Liu  <sdl.web@gmail.com>
1637         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1639 2014-05-19  Leo Liu  <sdl.web@gmail.com>
1641         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1643 2014-05-18  Glenn Morris  <rgm@gnu.org>
1645         * loadup.el:
1646         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1648 2014-05-14  Sam Steingold  <sds@gnu.org>
1650         * progmodes/python.el (python-shell-get-or-create-process):
1651         Do not bind `current-prefix-arg' so that C-c C-z does not talk
1652         back unless requested.
1654 2014-05-14  Glenn Morris  <rgm@gnu.org>
1656         * subr.el (with-file-modes): New macro.
1657         * printing.el (pr-save-file-modes): Make obsolete.
1658         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1659         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1660         Add with-file-modes.
1661         * doc-view.el (doc-view-make-safe-dir):
1662         * epg.el (epg--start):
1663         * files.el (locate-user-emacs-file, make-temp-file)
1664         (backup-buffer-copy, move-file-to-trash):
1665         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1666         * eshell/esh-util.el (eshell-with-private-file-modes)
1667         (eshell-make-private-directory):
1668         * net/browse-url.el (browse-url-mosaic):
1669         * obsolete/mailpost.el (post-mail-send-it):
1670         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1671         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1672         Use with-file-modes.
1674         * vc/emerge.el (emerge-make-temp-file): Simplify.
1676 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1677             Stefan Monnier  <monnier@iro.umontreal.ca>
1679         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1680         suffix (bug#15419).
1682 2014-05-14  Glenn Morris  <rgm@gnu.org>
1684         * vc/emerge.el (emerge-temp-file-prefix):
1685         Make pointless option obsolete.
1686         (emerge-temp-file-mode): Make non-functional option obsolete.
1688 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
1690         * net/browse-url.el (browse-url):
1691         Use `unhandled-file-name-directory' when setting `default-directory',
1692         in order to circumvent stalled remote connections.  (Bug#17425)
1694 2014-05-14  Glenn Morris  <rgm@gnu.org>
1696         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1697         Optimize on Emacs, which has the relevant functions for ages.
1699 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1701         * simple.el (undo-make-selective-list): Obey undo-no-redo.
1703 2014-05-12  Sam Steingold  <sds@gnu.org>
1705         * calendar/time-date.el (seconds-to-string): New function to
1706         pretty print time delay in seconds.
1708 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1710         * mpc.el (mpc-format): Trim Date to the year.
1711         (mpc-songs-hashcons): Shorten the Date field.
1713         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1714         into autoloading just because of a silly indirection.
1716 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
1718         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1720 2014-05-12  Glenn Morris  <rgm@gnu.org>
1722         * emacs-lisp/find-gc.el: Move to ../admin.
1724         * printing.el (pr-version):
1725         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1727         * net/browse-url.el (browse-url-mosaic):
1728         Create /tmp/Mosaic.PID as a private file.
1730 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1732         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1733         (advice--member-p): If name is given, only compare the name.
1734         (advice--remove-function): Don't stop at the first match.
1735         (advice--normalize-place): New function.
1736         (add-function, remove-function): Use it.
1737         (advice--add-function): Pass the name, if any, to
1738         advice--remove-function.
1740 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1742         * electric.el (electric-indent-post-self-insert-function): Don't use
1743         `pos' after modifying the buffer (bug#17449).
1745 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
1747         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1748         Correct argument list to conform to todo-insert-item--basic.
1750 2014-05-12  Glenn Morris  <rgm@gnu.org>
1752         * files.el (cd-absolute): Test if directory is accessible
1753         rather than executable.  (Bug#17330)
1755         * progmodes/compile.el (recompile):
1756         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
1758         * net/browse-url.el (browse-url-mosaic):
1759         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
1760         This is CVE-2014-3423.
1762 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1764         * mouse.el: Use the normal toplevel loop while dragging.
1765         (mouse-set-point): Handle multi-clicks.
1766         (mouse-set-region): Handle multi-clicks for drags.
1767         (mouse-drag-region): Update call accordingly.
1768         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1769         Use the normal event loop instead of a local while/read-event loop.
1770         (global-map): Remove redundant bindings for double/triple-mouse-1.
1771         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1772         Generate synthetic down events when the protocol only sends up events.
1773         (xterm-mouse-last): Remove.
1774         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1775         terminal parameter instead.
1776         (xterm-mouse--set-click-count): New function.
1777         (xterm-mouse-event): Detect/generate double/triple clicks.
1778         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1780         * info.el (Info-quoted): New face.
1781         (Info-mode-font-lock-keywords): New var.
1782         (Info-mode): Use it.
1784         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1785         are a hindrance for C-x C-e.
1787 2014-05-11  Leo Liu  <sdl.web@gmail.com>
1789         * net/rcirc.el (rcirc-sentinel): Fix last change.
1791 2014-05-08  Sam Steingold  <sds@gnu.org>
1793         * net/rcirc.el (rcirc-reconnect-delay): New user option.
1794         (rcirc-sentinel): Auto-reconnect to the server if
1795         `rcirc-reconnect-delay' is non-0 (but not more often than its
1796         value in case the host is off-line).
1798 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
1800         * progmodes/grep.el (lgrep): Fix a typo in last commit.
1802 2014-05-09  Glenn Morris  <rgm@gnu.org>
1804         * files.el (file-expand-wildcards):
1805         * man.el (Man-support-local-filenames):
1806         * printing.el (pr-i-directory, pr-interface-directory):
1807         * progmodes/grep.el (lgrep, rgrep):
1808         * textmodes/ispell.el (ispell-call-process)
1809         (ispell-call-process-region, ispell-start-process)
1810         (ispell-init-process): Use file-accessible-directory-p.
1812 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1814         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1815         (xterm-mouse--read-event-sequence-1000): Return nil if something
1816         looks fishy.
1817         (xterm-mouse-event): Propagate it.
1818         (xterm-mouse-translate-1): Handle it.
1820 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
1822         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1823         four slots of the parameter list are filled, make sure to pass it
1824         to the argument list of todo-insert-item--basic.
1826 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1829         Add optional `seen' argument to detect and break infinite loops.
1831 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
1833         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1834         (trace-unsafe, trace-use-tree): Make parentheses style be
1835         according to Emacs style.
1837 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
1839         * net/tramp-sh.el (tramp-remote-process-environment):
1840         Remove HISTFILE and HISTSIZE; it's too late to set them here.
1841         Add :version entry.
1842         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1843         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
1844         extra "PSx=..." commands.
1845         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1846         (Bug#17295)
1848         (tramp-uudecode): Replace the hard-coded temporary file name by a
1849         format specifier.
1850         (tramp-remote-coding-commands): Enhance docstring.
1851         (tramp-find-inline-encoding): Replace "%t" by a temporary file
1852         name.  (Bug#17415)
1853         This is CVE-2014-3424.
1855 2014-05-08  Glenn Morris  <rgm@gnu.org>
1857         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1858         (find-gc-source-files): Update some names.
1859         (trace-call-tree): Simplify and update.
1860         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1861         This is CVE-2014-3422.
1863 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1865         * minibuffer.el (completion--try-word-completion): Revert fix for
1866         Bug#15980 (bug#17375).
1868         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1869         Always store button numbers in the same way in xterm-mouse-last;
1870         Don't burp is xterm-mouse-last is not set as expected.
1871         Never return negative indices.
1873 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
1875         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1876         Backtrack one char if the global/char-literal var matcher hits
1877         inside a string.  The next char could be the beginning of an
1878         expression expansion.
1880 2014-05-08  Glenn Morris  <rgm@gnu.org>
1882         * help-fns.el (describe-function-1): Test for an autoload before a
1883         macro, since `macrop' works on autoloads.  (Bug#17410)
1885 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1887         * electric.el (electric-indent-functions-without-reindent): Add yaml.
1889         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1890         Make sure the new point we return is within the new string (bug#17239).
1892 2014-05-05  Daniel Colascione  <dancol@dancol.org>
1894         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1895         Port `gnu' pattern to rx.
1897 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1899         Remove unneeded prompt when closing a buffer with active
1900         emacsclient ("Buffer ... still has clients"), #16548.
1901         * server.el (server-start): Remove the only call to:
1902         (server-kill-buffer-query-function): Remove.
1904 2014-05-04  Leo Liu  <sdl.web@gmail.com>
1906         * calendar/diary-lib.el (calendar-chinese-month-name-array):
1907         Defvar to pacify compiler.
1909 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
1911         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1913 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1915         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1916         Use nil rather than `default' for the "default" appearance (bug#17388).
1917         * vc/ediff-util.el (ediff-inferior-compare-regions)
1918         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1919         a misleading `default' value when it's really a boolean.
1920         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1921         overlay is not visible.
1923 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
1925         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1926         (todo-menu): Uncomment and update.
1928 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
1930         * calendar/todo-mode.el: Reimplement item editing to have the same
1931         basic user interface as item insertion, and make small UI and
1932         larger internal improvements to the latter.
1933         (todo-insert-item): Add reference to the Todo mode user manual to
1934         the documentation string.
1935         (todo-insert-item--basic): Rename from todo-basic-insert-item and
1936         adjust all callers.  Change signature to combine diary and
1937         nonmarking arguments.  Incorporate functionality of deleted item
1938         copying command and add error checking.  Remove detailed
1939         descriptions of the arguments from the documentation string, since
1940         this is treated in the Todo mode user manual.
1941         (todo-copy-item, todo-edit-multiline-item)
1942         (todo-edit-done-item-comment, todo-edit-item-header)
1943         (todo-edit-item-time, todo-edit-item-date-from-calendar)
1944         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1945         (todo-edit-item-date-year, todo-edit-item-date-month)
1946         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1947         Remove.
1948         (todo-edit-item): Reimplement as wrapper command for
1949         todo-edit-item--next-key and make it distinguish done and not done
1950         todo items.
1951         (todo-edit-item--text): New function, replacing old command
1952         todo-edit-item and incorporating deleted commands
1953         todo-edit-multiline-item and todo-edit-done-item-comment.
1954         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1955         Use only numeric value of prefix argument.  Remove detailed
1956         descriptions of the arguments from the documentation string, since
1957         this is treated in the Todo mode user manual.
1958         (todo-edit-item--diary-inclusion): New function, replacing old
1959         command todo-edit-item-diary-inclusion and incorporating and fixing
1960         functionality of deleted command todo-edit-item-diary-nonmarking,
1961         making sure to remove todo-nondiary-marker when adding
1962         diary-nonmarking-symbol.
1963         (todo-edit-category-diary-inclusion): Make sure to delete
1964         diary-nonmarking-symbol when adding todo-nondiary-marker.
1965         (todo-edit-category-diary-nonmarking): Fix indentation.
1966         (todo-insert-item--parameters): Group diary and nonmarking
1967         parameters together.
1968         (todo-insert-item--apply-args): Adjust to signature of
1969         todo-insert-item--basic and incorporate copy parameter.
1970         Make small code improvements.
1971         (todo-insert-item--next-param): Improve prompt and adjust it to
1972         new parameter grouping.  Remove obsolete code.
1973         (todo-edit-item--param-key-alist)
1974         (todo-edit-item--date-param-key-alist)
1975         (todo-edit-done-item--param-key-alist): New defconsts.
1976         (todo-edit-item--prompt): New variable.
1977         (todo-edit-item--next-key): New function.
1978         (todo-key-bindings-t): Bind "e" to todo-edit-item.
1979         Remove bindings of deleted commands.
1981 2014-05-04  Leo Liu  <sdl.web@gmail.com>
1983         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1985 2014-05-04  Glenn Morris  <rgm@gnu.org>
1987         * allout-widgets.el (allout-widgets-tally)
1988         (allout-decorate-item-guides):
1989         * menu-bar.el (menu-bar-positive-p):
1990         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1991         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1992         * progmodes/js.el (js--inside-param-list-p)
1993         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1994         * progmodes/prolog.el (region-exists-p):
1995         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1996         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1997         Doc fixes (replace `iff').
1999 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2001         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2003 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2005         Support Chinese diary entries in calendar and diary.  (Bug#17393)
2006         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2007         (calendar-chinese-from-absolute-for-diary)
2008         (calendar-chinese-to-absolute-for-diary)
2009         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2010         (diary-chinese-list-entries): New functions to list and mark
2011         Chinese diary entries in the calendar window.
2012         (diary-chinese-anniversary)
2013         (diary-chinese-insert-anniversary-entry)
2014         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2015         (diary-chinese-insert-yearly-entry): New commands to insert
2016         Chinese diary entries.
2018         * calendar/diary-lib.el (diary-font-lock-keywords):
2019         Support font-locking Chinese dates.
2021         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2022         inserting Chinese diary entries.
2024         * calendar/calendar.el (diary-chinese-entry-symbol):
2025         New customizable variable.
2026         (calendar-mode-map): Add bindings for inserting Chinese diary
2027         entries.
2029 2014-05-03  Juri Linkov  <juri@jurta.org>
2031         * dired.el (dired-check-switches, dired-switches-recursive-p):
2032         New functions.  (Bug#17218)
2033         (dired-switches-escape-p, dired-move-to-end-of-filename):
2034         Use `dired-check-switches'.
2035         (dired-insert-old-subdirs, dired-build-subdir-alist)
2036         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2038 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
2040         * simple.el (undo-make-selective-list): New algorithm fixes
2041         incorrectness of position adjustments when undoing in region.
2042         (Bug#17235)
2043         (undo-elt-crosses-region): Make obsolete.
2044         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2045         New functions to adjust positions using undo-deltas.
2047 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2049         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2050         the last consecutive closing paren (bug#17345).
2052 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
2054         * dired.el (dired-mode): make terminology for eXpunge command
2055         consistent.  (Bug#17276)
2057 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2059         * dired.el (dired-initial-position-hook, dired-initial-position):
2060         Doc string fixes.
2062 2014-04-30  Glenn Morris  <rgm@gnu.org>
2064         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2066 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
2068         * faces.el (face-spec-recalc): Apply X resources only after the
2069         defface spec has been applied. Thus, X resources are no longer
2070         overriden by the defface spec which also fixes issues on win32 where
2071         the toolbar coloring was wrong because it is set through X resources
2072         and was (wrongfully) overriden.  (Bug#16694)
2074 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * textmodes/rst.el (electric-pair-pairs): Declare.
2077         (rst-mode): Set it (bug#17131).
2079 2014-04-30  Juri Linkov  <juri@jurta.org>
2081         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2082         and `print-level' to nil.  (Bug#17351)
2084 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2086         * battery.el (battery-update): Handle the case where battery
2087         status is "N/A" (bug#17319).
2089 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2091         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
2092         to syntax-propertize.
2093         (ps-mode-auto-indent): Mark as obsolete.
2094         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2095         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2096         word regexp operators.
2097         (ps-mode-map): Move initialization into declaration.  Remove binding
2098         for TAB, RET, >, ], and }.
2099         (ps-mode-syntax-table): Move initialization into declaration.
2100         Don't give word syntax to non-word chars.
2101         (ps-run-mode-map): Move initialization into declaration.
2102         (ps-mode-menu-main): Remove auto-indent entry.
2103         (ps-mode-smie-rules): New function.
2104         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2105         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
2106         (ps-mode--string-syntax-table): New const.
2107         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
2108         New functions.
2109         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
2110         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
2112 2014-04-27  Daniel Colascione  <dancol@dancol.org>
2114         * term/xterm.el (xterm-paste): Use large finite timeout when
2115         reading event to avoid putting keys in this-command-keys.
2117 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
2120         (perl-syntax-propertize-function): Use it.  Extend handling of
2121         here-docs to the unquoted case.
2123 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
2125         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2126         Use equal-including-properties to compare help-echo strings (bug#17331).
2128 2014-04-25  Leo Liu  <sdl.web@gmail.com>
2130         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2131         Fix syntax for @.  (Bug#17325)
2133 2014-04-25  Daniel Colascione  <dancol@dancol.org>
2135         * emacs-lisp/cl.el (gv): Require gv early to break eager
2136         macro-expansion cycles.
2138 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2140         * simple.el (region-active-p): Check there's a mark (bug#17324).
2142         * simple.el (completion-list-mode-map): Use choose-completion for the
2143         mouse binding as well (bug#17302).
2144         (completion-list-mode, completion-setup-function): Adjust docstring and
2145         echo area message accordingly.
2146         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2147         calling convention of choose-completion.
2148         * comint.el (comint-dynamic-list-completions):
2149         * term.el (term-dynamic-list-completions): Accept choose-completion.
2151         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2152         &, |, +, - and * can't be a division (bug#17317).
2154         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2155         features on gnome-terminal (bug#16988).
2157 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
2159         Improve Scheme font-locking for (define ((foo ...) ...) ...).
2161         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
2162         the declared object, ignore zero or more parens, not zero or one.
2164 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2166         * progmodes/xscheme.el (xscheme-expressions-ring)
2167         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
2168         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
2169         (xscheme-allow-output-p, xscheme-prompt)
2170         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
2172         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
2173         Comment out unused functions.
2175 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2177         * info.el: Use lexical-binding and cl-lib.
2178         Use defvar-local and setq-local instead of make-local-variable.
2179         (Info-apropos-matches): Avoid add-to-list.
2180         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
2182 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2184         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
2186 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2188         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2190 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2192         * dired.el (dired-insert-set-properties): Do not consider
2193         subdirectory headings and empty lines to be information that
2194         `dired-hide-details-mode' should hide.  (Bug#17228)
2196 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2198         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2199         Remove test messages.
2200         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2201         and `target' twice.
2203 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2205         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2206         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2208         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2210 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2212         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2213         Set "IFS=" when using read builtin, in order to preserve spaces in
2214         the file name.  Add test messages for hunting a bug on hydra.
2215         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2217 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2219         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2220         Don't prettify a word within a symbol.
2222 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2224         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2225         possible.
2227 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2229         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
2230         use defun to define `function-put'.
2232 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2234         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
2235         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
2236         (lisp-mode-variables): Set font-lock-extra-managed-props.
2238         * emacs-lisp/byte-run.el (function-put): New function.
2239         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
2240         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
2241         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2242         Use them.
2244 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2246         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2247         Add `full-p' parameter; when nil, call `macroexpand' instead of
2248         `macroexpand-all'.
2250         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2251         Improve docstrings.
2253         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2254         Use lambda function values, not quoted lambdas.
2255         (byte-compile-recurse-toplevel): Remove extraneous &optional.
2257         * emacs-lisp/cl-macs.el
2258         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2259         (cl-struct-slot-value): Conditionally use aref or nth so that the
2260         compiler produces optimal code.
2262 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2264         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2265         (inline): Don't inline cl--set-elt.
2266         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2267         Define as inlinable instead.
2268         (cl-struct-set-slot-value): Remove.
2270         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2271         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2272         Use setf instead.
2274 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2276         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2277         last two parameters after all.
2278         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2279         (cl--compiler-macro-assoc,cl-struct-slot-value)
2280         (cl-struct-set-slot-value): Stop using them.
2282 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2285         entry in image-mode-winprops-alist.
2287 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2289         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2290         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2291         (byte-compile-toplevel-file-form): Use it.
2293         * emacs-lisp/cl-macs.el:
2294         (cl--loop-let): Properly destructure `while' clauses.
2296 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2298         * vc/vc.el (vc-root-dir): New public autoloaded function for
2299         generically finding the current VC root.
2300         * vc/vc-hooks.el (vc-not-supported): New error.
2301         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2303 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2305         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2306         argument.
2307         (cl--const-expr-val): cl--const-expr-val should macroexpand its
2308         argument in case we're inside a symbol-macrolet.
2309         (cl--do-arglist, cl--compiler-macro-typep)
2310         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2311         environment to `cl--const-expr-val'.
2312         (cl-struct-sequence-type,cl-struct-slot-info)
2313         (cl-struct-slot-offset, cl-struct-slot-value)
2314         (cl-struct-set-slot-value): New functions.
2316 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2318         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2319         assignments such as "case=hello" (bug#17297).
2321 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2323         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2324         Do not autoload.
2325         (tramp-file-name-handler, tramp-completion-file-name-handler):
2326         Revert patch from 2014-04-10, it isn't necessary anymore.
2327         (tramp-autoload-file-name-handler)
2328         (tramp-register-autoload-file-name-handlers): New defuns.
2329         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2330         (tramp-register-file-name-handlers): Remove also
2331         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2332         Do not autoload its invocation, but eval it after loading of 'tramp.
2334         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2336         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2338 2014-04-17  Daniel Colascione  <dancol@dancol.org>
2340         Add support for bracketed paste mode; add infrastructure for
2341         managing terminal mode enabling and disabling automatically.
2343         * xt-mouse.el:
2344         (xterm-mouse-mode): Simplify.
2345         (xterm-mouse-tracking-enable-sequence)
2346         (xterm-mouse-tracking-disable-sequence): New constants.
2347         (turn-on-xterm-mouse-tracking-on-terminal)
2348         (turn-off-xterm-mouse-tracking-on-terminal):
2349         Use tty-mode-set-strings and tty-mode-reset-strings terminal
2350         parameters instead of random hooks.
2351         (turn-on-xterm-mouse-tracking)
2352         (turn-off-xterm-mouse-tracking): Delete.
2354         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2355         (xterm-paste-ending-sequence): New constant.
2356         (xterm-paste): New command used for bracketed paste support.
2358         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2359         (terminal-init-xterm-bracketed-paste-mode): New function.
2360         (terminal-init-xterm): Call it.
2361         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2362         and tty-mode-reset-strings instead of random hooks.
2363         (xterm-turn-on-modify-other-keys)
2364         (xterm-turn-off-modify-other-keys)
2365         (xterm-remove-modify-other-keys): Delete obsolete functions.
2367         * term/screen.el: Rewrite to just use the xterm code.
2368         Add copyright notice.  Mention tmux.
2370 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
2372         * image-mode.el (image-mode-window-put): Also update the property of
2373         the "default window".
2374         * doc-view.el (doc-view-new-window-function): If no window
2375         exists, move to the last known page.
2377 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2379         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2380         here-documents (bug#17262).
2382 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2384         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2385         Provide doc strings, as required by snarf-documentation.
2387 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2389         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2390         arg of overlays-at.  Use `invisible-p'.
2392         * obsolete/lucid.el (extent-at):
2393         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2394         overlays-at.
2395         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2397 2014-04-16  João Távora  <joaotavora@gmail.com>
2399         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2400         links.  (Bug#17217).
2402 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2404         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2405         Use mapc to loop over a vector.  (Bug#17257).
2407 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
2409         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2410         patch, there are new problems with file names containing spaces.
2411         Get rid of backticks.  (Bug#17238)
2413 2014-04-16  João Távora  <joaotavora@gmail.com>
2415         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2416         possible bug.
2418 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2420         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2421         (blink-cursor-mode): Mention customization variables and the
2422         effect of 'blink-cursor-blinks'.
2424 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
2426         * simple.el (undo): Prevent insertion of identity mapping into
2427         undo-equiv-table so as undo-only does not inf loop in the presence
2428         of consecutive nils in undo list.
2430 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
2432         * faces.el (make-face): Deprecate optional argument as it is no
2433         longer needed/used since the conditional X resources handling
2434         has been pushed down to make-face-x-resource-internal itself.
2435         (make-empty-face): Don't pass optional argument to make-face.
2437 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
2439         * savehist.el (savehist-save): Remove workaround for a read-passwd
2440         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
2441         noticing that the shim was still present.
2443 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2445         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2447 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
2449         * faces.el (face-set-after-frame-default): Remove unused local variable.
2451 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2453         * progmodes/grep.el: Use lexical-binding.
2454         (grep-expand-template): Pass explicit lexical env to `eval'.
2455         (zrgrep): Let-bind grep-find-template explicitly.
2457         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2458         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2460 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2462         * international/characters.el <standard-case-table>: Add entries
2463         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2464         Set category of Coptic characters be 'g' (Greek).
2466 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2468         * progmodes/octave.el (completion-table-with-cache):
2469         Define if not available.
2470         (octave-goto-function-definition, octave-sync-function-file-names)
2471         (octave-find-definition-default-filename):
2472         Backquote upattern for compatibility.
2474 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
2476         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2477         name twice due to backticks.  (Bug#17238)
2479 2014-04-12  Glenn Morris  <rgm@gnu.org>
2481         * term/w32-win.el (x-win-suspend-error):
2482         * term/x-win.el (x-win-suspend-error): Sync docs.
2484 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2486         * faces.el (make-face): Remove deprecated optional argument.
2487         The conditional application of X resources is handled directly by
2488         make-face-x-resource-internal since Emacs 24.4.
2489         (make-empty-face): Don't pass optional argument to make-face.
2491 2014-04-11  Glenn Morris  <rgm@gnu.org>
2493         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
2495 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2497         Ediff's overlay priorities cause more trouble than they solve.
2498         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2499         (ediff-highest-priority): Remove function (bug#17234).
2500         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2501         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2502         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2503         overlay priorities.
2505 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
2507         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2508         entry; use symbol boundaries to avoid mis-matches.
2510 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2512         * net/tramp.el (tramp-file-name-handler)
2513         (tramp-completion-file-name-handler): Avoid recursive loading.
2515         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2516         Quote result also locally.
2518 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2520         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2521         Remove left-over code.
2523         * newcomment.el (comment-indent-new-line): Sink code where it's used.
2524         Reuse the previous comment's indentation unconditionally if it's on its
2525         own line.
2527 2014-04-09  Daniel Colascione  <dancol@dancol.org>
2529         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2530         `no-syntax-crossing' arguments.  Forward to `up-list'.
2531         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2532         Implement logic for escaping from strings.  Use narrowing to deal
2533         with corner cases.
2535 2014-04-09  Leo Liu  <sdl.web@gmail.com>
2537         * net/rcirc.el (rcirc-connection-info): New variable.
2538         (rcirc-connect): Use it to store connection info.
2539         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2540         for killed process.
2541         (rcirc-cmd-reconnect): New command.  (Bug#17045)
2542         (rcirc-mode, set-rcirc-encode-coding-system)
2543         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2545 2014-04-09  Daniel Colascione  <dancol@dancol.org>
2547         * emacs-lisp/cl-indent.el: Add comment claiming
2548         facility is also good for elisp.
2549         (lisp-indent-find-method): New function.
2550         (common-lisp-indent-function): Recognize cl-loop.
2551         (common-lisp-indent-function-1): Recognize cl constructs; use
2552         `lisp-indent-find-method' instead of `get' directly.
2553         (if): Use else-body style for elisp.
2555 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2557         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2558         Module methods.  (Bug#17216)
2560 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2562         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2563         (describe-bindings-internal): Mark obsolete.
2565 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2568         buffer-file-name, and buffer-file-truename any more.
2570 2014-04-08  Leo Liu  <sdl.web@gmail.com>
2572         Use lexical-binding and require cl-lib.
2573         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2574         (rcirc-handler-generic, rcirc-fill-paragraph)
2575         (rcirc-format-response-string, rcirc-target-buffer)
2576         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2577         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2578         (rcirc-ctcp-sender-PING, rcirc-browse-url)
2579         (rcirc-markup-timestamp, rcirc-markup-attributes)
2580         (rcirc-markup-my-nick, rcirc-markup-urls)
2581         (rcirc-markup-bright-nicks, rcirc-markup-fill)
2582         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2583         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2584         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2585         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2586         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2587         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2588         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2589         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2590         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2591         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2592         use cl-lib.
2594 2014-04-07  João Távora  <joaotavora@gmail.com>
2596         * elec-pair.el (electric-pair--syntax-ppss):
2597         When inside comments parse from comment beginning.
2598         (electric-pair--balance-info): Fix typo in comment.
2599         (electric-pair--in-unterminated-string-p): Delete.
2600         (electric-pair--unbalanced-strings-p): New function.
2601         (electric-pair-string-bound-function): New var.
2602         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2603         according to `electric-pair--in-unterminated-string-p'
2605         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2606         Inhibit quote pairing if point-max is inside an unterminated string.
2607         (electric-pair--looking-at-unterminated-string-p): Delete.
2608         (electric-pair--in-unterminated-string-p): New function.
2610 2014-04-07  Glenn Morris  <rgm@gnu.org>
2612         * shell.el (shell-directory-tracker):
2613         Go back to just ignoring failures.  (Bug#17159)
2615 2014-04-07  João Távora  <joaotavora@gmail.com>
2617         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2618         backspace. (bug#16981)
2619         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2620         (electric-pair-backward-delete-char-untabify): Delete.
2621         (electric-pair-mode-map): Bind backspace to a menu item filtering
2622         a new `electric-pair-delete-pair' command.
2623         (electric-pair-delete-pair): New command.
2625         * progmodes/python.el (python-electric-pair-string-delimiter):
2626         Fix triple-quoting electricity.  (Bug#17192)
2628         * elec-pair.el (electric-pair-post-self-insert-function):
2629         Don't skip whitespace when `electric-pair-text-pairs' and
2630         `electric-pair-pairs' were used. syntax to
2631         electric-pair--skip-whitespace.  (Bug#17183)
2633 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
2635         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2636         "<F>".  (Bug#17199)
2638 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2640         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2641         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2643 2014-04-07  Glenn Morris  <rgm@gnu.org>
2645         * help.el (view-lossage): Doc tweak.
2647 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
2649         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2650         only when inhibit-x-resources is nil, and do that earlier in the
2651         function.  Doc fix.  (Bug#16694)
2652         (face-spec-choose): Accept additional optional argument, whose
2653         value is returned if no matching attributes are found.
2654         (face-spec-recalc): Use the new optional argument when calling
2655         face-spec-choose.  (Bug#16378)
2656         (make-face-x-resource-internal): Do nothing when
2657         inhibit-x-resources is non-nil.  Don't touch the default face if
2658         reversed video is given--as was done in previous versions of Emacs.
2659         (face-set-after-frame-default): Don't call
2660         make-face-x-resource-internal here.  (Bug#16434)
2662 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
2664         * doc-view.el (doc-view-bookmark-jump):
2665         Use `bookmark-after-jump-hook' to jump to the right page after the
2666         buffer is shown in a window.  (bug#16090)
2668 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
2670         * international/characters.el (mirroring): Fix last change:
2671         instead of loading uni-mirrored.el explicitly, do that implicitly
2672         by creating the 'mirroring' uniprop table.  This avoids announcing
2673         the loading of uni-mirrored.el.
2675 2014-04-07  Glenn Morris  <rgm@gnu.org>
2677         * files.el (buffer-stale--default-function)
2678         (buffer-stale-function, revert-buffer--default):
2679         * autorevert.el (auto-revert-buffers): Doc tweaks.
2681 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
2683         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2685 2014-04-07  Glenn Morris  <rgm@gnu.org>
2687         * files.el (make-backup-file-name-function)
2688         (make-backup-file-name, make-backup-file-name--default-function)
2689         (make-backup-file-name-1, find-backup-file-name)
2690         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2691         (buffer-stale--default-function, buffer-stale-function)
2692         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2693         (revert-buffer, revert-buffer--default)
2694         (revert-buffer-insert-file-contents--default-function):
2695         Doc fixes related to defaults no longer being nil.
2696         (make-backup-file-name-function): Bump :version.
2697         Restore nil as a valid but deprecated custom type.
2699 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2702         Handle $' used as a variable (bug#17174).
2704         * progmodes/perl-mode.el (perl-indent-new-calculate):
2705         Handle forward-sexp failure (bug#16985).
2706         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2707         modifiers introducing expressions (bug#17116).
2709 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2711         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2713 2014-04-05  Leo Liu  <sdl.web@gmail.com>
2715         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2716         Add define-compilation-mode.
2718 2014-04-04  João Távora  <joaotavora@gmail.com>
2720         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2721         parse from comment beginning.
2722         (electric-pair--balance-info): Fix typo in comment.
2723         (electric-pair--in-unterminated-string-p): Delete.
2724         (electric-pair--unbalanced-strings-p): New function.
2725         (electric-pair-string-bound-function): New var.
2726         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2727         according to `electric-pair--in-unterminated-string-p'.
2729 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2731         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2732         Move declaration before first use.
2733         (reftex-move-to-next-arg): Silence compiler warning.
2735 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
2737         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2738         Use `window-total-width' instead of `window-width'.
2740 2014-04-03  Daniel Colascione  <dancol@dancol.org>
2742         * subr.el (set-transient-map): Remove rms's workaround entirely;
2743         use new `suspicious-object' subr to mark our lambda for closer
2744         scrutiny during gc.
2746 2014-04-02  Richard Stallman  <rms@gnu.org>
2748         * subr.el (set-transient-map): Comment out previous change.
2750 2014-04-02  Glenn Morris  <rgm@gnu.org>
2752         * menu-bar.el (menu-bar-file-menu):
2753         * vc/ediff.el (ediff-current-file):
2754         Update for revert-buffer-function no longer being nil by default.
2756         * simple.el (command-execute): Respect nil disabled-command-function.
2758 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2760         * simple.el (command-execute): Do not execute the command when it
2761         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2763 2014-04-02  Juri Linkov  <juri@jurta.org>
2765         * dired-aux.el (dired-compress-file): Don't use string-match-p
2766         because its match data is used afterwards.
2768 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2771         0 like nil.
2773 2014-04-02  João Távora  <joaotavora@gmail.com>
2775         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2776         Inhibit quote pairing if point-max is inside an unterminated string.
2777         (electric-pair--looking-at-unterminated-string-p):
2778         Delete.
2779         (electric-pair--in-unterminated-string-p): New function.
2781 2014-04-01  Daniel Colascione  <dancol@dancol.org>
2783         * minibuffer.el (minibuffer-complete): Prevent assertion failure
2784         when trying to complete the prompt.
2786 2014-03-31  Leo Liu  <sdl.web@gmail.com>
2788         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2789         Refactor out eldoc-documentation-function-default.
2790         (eldoc-documentation-function-default): New function.
2791         (eldoc-documentation-function): Change value.
2793 2014-03-31  Glenn Morris  <rgm@gnu.org>
2795         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2797         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2798         (vhdl-compose-components-package, vhdl-compose-configuration):
2799         Abbreviate default-directory (missing from some previous upstream sync).
2801 2014-03-31  Reto Zimmermann  <reto@gnu.org>
2803         Sync with upstream vhdl mode v3.35.2.
2804         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2805         (top-level): No longer require assoc.
2806         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2807         New functions.  Use throughout to replace aget etc.
2808         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2809         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2810         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2811         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2812         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2813         except `vhdl-compiler'.
2814         (vhdl-error-regexp-add-emacs): Remove all other compilers,
2815         when appropriate.
2817 2014-03-31  Glenn Morris  <rgm@gnu.org>
2819         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2820         Revert 2014-03-26 merge goof; go back to using defalias.
2822 2014-03-30  Daniel Colascione  <dancol@dancol.org>
2824         * comint.el (comint-send-input):
2825         Deactivate completion-in-region-mode before we send comint input.
2826         (Bug#17139).
2828         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2829         on keyboard-quit.
2831 2014-03-29  Glenn Morris  <rgm@gnu.org>
2833         * textmodes/reftex.el: Manage most autoloads automatically.
2834         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2835         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2836         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2837         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2838         * textmodes/reftex-toc.el: Set generated-autoload-file,
2839         and add autoload cookies for reftex.el.
2840         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2842 2014-03-28  Glenn Morris  <rgm@gnu.org>
2844         * cus-start.el (report-emacs-bug-address): Set custom properties.
2845         * mail/emacsbug.el (report-emacs-bug-address):
2846         Variable is now defined in emacs.c.
2848         * mail/emacsbug.el (report-emacs-bug):
2849         Include system-configuration-features.
2851 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
2853         * simple.el (cycle-spacing): Never delete spaces on first run by
2854         default, but do so in a new 'fast mode and if there are already
2855         N spaces (the previous behavior).
2856         Compare N with its value in previous invocation so that changing
2857         prefix argument restarts `cycle-spacing' sequence.
2858         The idea is that with this change, binding M-SPC to
2859         `cycle-spacing' should not introduce any changes in behavior of
2860         the binding so long as users do not type M-SPC twice in a raw with
2861         the same prefix argument or lack thereof.
2863 2014-03-28  Glenn Morris  <rgm@gnu.org>
2865         * faces.el (term-file-aliases): New variable.
2866         (tty-run-terminal-initialization): Respect term-file-aliases.
2867         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2868         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2869         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2871 2014-03-27  Glenn Morris  <rgm@gnu.org>
2873         * startup.el (inhibit-startup-hooks): Doc tweak.
2874         (normal-top-level): Simplify running of hooks.
2875         For window-setup-hook, respect inhibit-startup-hooks.
2876         (command-line-1): Don't set window-setup-hook to nil.
2878         Allow selective autoloading from obsolete/ directory.
2879         * Makefile.in (obsolete-autoloads): New rule.
2880         (autoloads): Run obsolete-autoloads.
2881         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2882         * simple.el (iswitchb-mode): Remove hand-written autoloads.
2884 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2886         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2887         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2889         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2890         Don't propertize `?' or `!' as symbol constituent when after
2891         colon.  (Bug#17097)
2893 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2895         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2896         which is no longer needed and causes trouble in GTK builds (bug#17046).
2898         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2899         Use url-insert-file-contents; package-handle-response no longer exists.
2901 2014-03-26  Daniel Colascione  <dancol@dancol.org>
2903         * simple.el (process-menu-mode-map): New variable.
2904         (process-menu-delete-process): New command.
2906 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2908         * emacs-lisp/package.el: Fix bug#16733 (again).
2909         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2910         (url-http-target-url): Remove unused declarations.
2911         (package-handle-response): Remove.
2912         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2913         (package--download-one-archive): Use current-buffer instead of
2914         dynamic binding of `buffer'.
2915         (describe-package-1): Do not decode readme-string.
2917 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
2919         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2921         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2922         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2923         `remote-file-name-inhibit-cache' to nil in the second pass.
2924         (tramp-find-executable): Do not call "which" on SunOS.
2925         (tramp-send-command-and-check): Fix docstring.
2926         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2927         check whether source directory has set the sticky bit.
2929 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
2931         * simple.el (primitive-undo): Only process marker adjustments
2932         validated against their corresponding (TEXT . POS).  Issue warning
2933         for lone marker adjustments in undo history.  (Bug#16818)
2934         (undo-make-selective-list): Add marker adjustments to selective
2935         undo list based on whether their corresponding (TEXT . POS) is in
2936         the region.  Remove variable adjusted-markers, which was unused
2937         and only non nil during undo-make-selective-list.
2938         (undo-elt-in-region): Return nil when passed a marker adjustment
2939         and explain in function doc.
2941 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2943         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2945 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
2947         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2948         Match special global variables without curlies, too.
2949         (ruby-font-lock-keywords): Simplify the matcher for special global
2950         variables.  Don't require a non-word character after the variable.
2951         (Bug#17057)
2953 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2955         * simple.el (redisplay-highlight-region-function): Increase priority of
2956         overlay to make sure boundaries are visible (bug#15899).
2958 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2960         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2961         (frameset-restore): Compare display strings with equal.
2963         * frame.el (make-frame): Don't quote display name in error message,
2964         it is already a string.
2966 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2968         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2969         the password.
2971 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
2973         * emacs-lisp/package.el (package--add-to-archive-contents):
2974         Include already installed and built-in packages in
2975         `package-archive-contents'.
2976         (package-install): Don't include already installed packages in the
2977         options during interactive invocation.  (Bug#16762)
2978         (package-show-package-list): If the buffer is already displayed in
2979         another window, switch to that window.
2981 2014-03-26  Reto Zimmermann  <reto@gnu.org>
2983         Sync with upstream vhdl mode v3.35.1.
2984         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2985         (vhdl-compiler-alist): Doc fix.
2986         (vhdl-goto-line): Remove.
2987         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2988         (vhdl-mode) <paragraph-start>: Fix value.
2989         (vhdl-fix-statement-region): Not `for' in wait-statement.
2990         (vhdl-beautify-region): Also (un)tabify.
2991         (vhdl-get-visible-signals):
2992         Scan declarative part of generate statements.
2993         (vhdl-template-record): Fix indentation for record type declaration.
2994         (vhdl-expand-abbrev, vhdl-expand-paren):
2995         Revert to using fset again rather than defalias.
2996         (vhdl-scan-directory-contents): Tweak.
2997         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2998         (vhdl-compose-components-package):
2999         Replace vhdl-goto-line with forward-line.
3000         (top-level): Tweak speedbar frame selection.
3001         (vhdl-generate-makefile-1): Support for compilers with no
3002         unit-to-file name mapping (create directory with dummy files).
3004 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
3006         Sync with upstream verilog-mode revision 702457d.
3007         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3008         (create-lockfiles): Declare.
3009         (verilog-read-decls): Fix module header imports, bug709.
3010         Reported by Victor Lau.
3011         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
3012         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3013         interface-only modules, bug721.  Reported by Dean Hoyt.
3015 2014-03-26  Glenn Morris  <rgm@gnu.org>
3017         * obsolete/gulp.el: Move here from emacs-lisp/.
3019         * files.el (lock-buffer, unlock-buffer, file-locked-p):
3020         Remove fallback aliases, since they are always defined now.
3022 2014-03-24  Daniel Colascione  <dancol@dancol.org>
3024         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3025         instead of cl-loop search function.
3027 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3029         * calendar/parse-time.el (parse-time-iso8601-regexp)
3030         (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3031         it more generally.
3033 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3035         * net/dns.el (network-interface-list): Define for XEmacs.
3037 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
3039         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3040         the network interfaces changed.
3041         (dns-query): Use it to flush the data.
3043 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
3045         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3047 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3049         Change subword-mode to use `find-word-boundary-function-table' and
3050         replace `capitalized-words-mode'.  Also, convert to lexical
3051         binding.
3053         * progmodes/cap-words.el: Delete now-obsolete file.
3054         * progmodes/subword.el: Reimplement using
3055         `find-word-boundary-function-table'.
3056         (subword-mode-map): Hollow out.
3057         (capitalized-words-mode): Define as obsolete alias for
3058         `subword-mode'.
3059         (subword-mode, superword-mode): Tweak documentation to reflect new
3060         implementation; call `subword-setup-buffer'.
3061         (subword-forward, subword-capitalize): Add underscore to indicate
3062         unused variable.
3063         (subword-find-word-boundary-function-table): New constant.
3064         (subword-empty-char-table): New constant.
3065         (subword-setup-buffer): New function.
3066         (subword-find-word-boundary): New function.
3068 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3070         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3071         list to look for keyword arguments instead of `memq', fixing
3072         (Bug#3647) --- unfortunately, only for freshly-compiled code.
3073         Please make bootstrap.
3075 2014-03-22  Glenn Morris  <rgm@gnu.org>
3077         * dired.el (dired-read-regexp): Make obsolete.
3078         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3079         (dired-flag-files-regexp):
3080         * dired-aux.el (dired-mark-read-regexp):
3081         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3083         * startup.el (fancy-startup-text):
3084         * help.el (describe-gnu-project): Visit online info about GNU project.
3086         * help-fns.el (help-fns--interactive-only): New function.
3087         (help-fns-describe-function-functions): Add the above function.
3088         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3089         (next-line, previous-line): Remove hand-written interactive-only
3090         information from doc strings, it is auto-generated now.
3091         * bookmark.el (bookmark-write):
3092         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3093         (epa-mail-import-keys): Mark interactive-only,
3094         and remove hand-written interactive-only information from doc strings.
3095         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3096         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3097         * files.el (not-modified):
3098         * simple.el (mark-whole-buffer): Mark interactive-only.
3100         * emacs-lisp/byte-run.el (defun-declarations-alist):
3101         Add interactive-only.  Doc tweak.
3102         (macro-declarations-alist): Doc tweak.
3103         * subr.el (declare): Doc tweak (add xref to manual).
3104         * comint.el (comint-run):
3105         * files.el (insert-file-literally, insert-file):
3106         * replace.el (replace-string, replace-regexp):
3107         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3108         (delete-forward-char, goto-line, insert-buffer, next-line)
3109         (previous-line): Set interactive-only via declare.
3111 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
3113         * emacs-lisp/package.el (package-desc): Use the contents of the
3114         quoted form, not its cdr.  (Bug#16873)
3116 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
3118         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
3119         benefit of doc.c; change parameter profile to match the X function.
3121 2014-03-22  Leo Liu  <sdl.web@gmail.com>
3123         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
3124         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
3126 2014-03-21  Richard Stallman  <rms@gnu.org>
3128         * battery.el (battery-linux-sysfs): Search for each field
3129         from the beginning of the buffer.
3131         * subr.el (set-transient-map): Clear out function and value
3132         of the temporary symbol when we're done with it.
3134         * mail/rmailsum.el (rmail-summary-delete-forward):
3135         Optimize case of reaching end and handling count.
3136         (rmail-summary-mark-deleted): Optimize when N is current msg.
3137         Don't create new summary line.
3138         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
3139         (rmail-summary-undelete-many): Rewrite for speed.
3140         (rmail-summary-msg-number): New function.
3142         * mail/rmail.el (rmail-delete-message): Update summary.
3143         (rmail-undelete-previous-message): Handle repeat count arg.
3144         (rmail-delete-backward, rmail-delete-forward): Likewise.
3146 2014-03-21  Daniel Colascione  <dancol@dancol.org>
3148         * mail/emacsbug.el (report-emacs-bug): Include memory usage
3149         information in bug reports.
3151 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
3153         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
3154         and `tramp-copy-env'.
3156         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
3157         (tramp-maybe-open-connection): Handle `tramp-login-env'.
3159 2014-03-21  Glenn Morris  <rgm@gnu.org>
3161         * electric.el (electric-indent-post-self-insert-function): Add doc.
3163 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3165         * emacs-lisp/package.el (package-compute-transaction):
3166         Use `version-list-<=' to compare the requirement version against
3167         the version of package already to be installed.  Update the error
3168         message.  (Bug#16826)
3170         * progmodes/ruby-mode.el (ruby-smie-rules):
3171         Add indentation rule for ` @ '.  (Bug#17050)
3173 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3175         * align.el (align-regexp): Remove superfluous backslash.
3177         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
3178         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
3179         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
3180         Fix docstring typos.
3181         (ffap-next): Use C-u in docstring.
3182         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
3183         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
3184         Remove superfluous backslashes.
3185         (ffap-string-at-point): Reflow docstring.
3187         * server.el (server-host): Reflow docstring.
3188         (server-unload-function): Fix docstring typo.
3189         (server-eval-at): Remove superfluous backslash.
3191         * skeleton.el (skeleton-insert): Remove superfluous backslash.
3192         (skeleton-insert): Doc fix.
3193         (skeleton-insert): Reflow docstring.
3195         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
3196         (tty-color-approximate, tty-color-by-index, tty-color-values)
3197         (tty-color-desc): Remove superfluous backslashes.
3199 2014-03-21  Glenn Morris  <rgm@gnu.org>
3201         * cus-start.el (history-length): Bump :version.
3203         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3204         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3205         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3206         Don't set `make-backup-files'.
3208         * info.el (info--prettify-description): New function,
3209         to give info-finder descriptions consistent case, punctuation.
3210         (Info-finder-find-node): Use it.  Sort packages.
3211         Refer to "description" rather than "commentary".
3213 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3215         * frameset.el (frameset--print-register): New function.
3216         (frameset-to-register): Use it.
3218 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
3220         * progmodes/hideif.el (hif-string-to-number): New function.
3221         (hif-tokenize): Use it to understand non-decimal floats.
3223         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
3225         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
3227 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3229         * electric.el (electric-newline-and-maybe-indent): New command.
3230         Bind it globally to C-j.
3231         (electric-indent-mode): Don't mess with the global map any more.
3232         Don't drop the post-self-insert-hook is some buffer is still using it
3233         (bug#16770).
3235         * bindings.el (global-map): Remove C-j binding.
3237         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
3238         the docstring of functions advised before dumping (bug#16993).
3240 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
3242         * ps-print.el (ps-generate-postscript-with-faces):
3243         Explicitly deactivate the mark (bug#16866).
3244         * simple.el (deactivate-mark): Update region highlight.
3246 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
3248         * emacs-lisp/package.el (describe-package-1):
3249         Decode commentary (bug#16733).
3251 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
3253         * custom.el (defcustom): Doc fix: recommend avoiding destructive
3254         modification of the value argument of :set (bug#16755).
3256 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3258         * simple.el (newline-and-indent): Do autofill (bug#17031).
3260 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
3262         * newcomment.el (comment-normalize-vars): Only add escaping check
3263         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
3264         (comment-beginning): Use `narrow-to-region' instead of moving back
3265         one character.
3266         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3267         (comment-start-skip): Update the docstring.
3269 2014-03-18  Richard Stallman  <rms@gnu.org>
3271         * dired.el (dired-display-file): Force use of other window.
3273 2014-03-18  Daniel Colascione  <dancol@dancol.org>
3275         * startup.el (tty-handle-args): Remove debug message from 2007.
3277 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3279         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3280         (advice--make-interactive-form): Use it to avoid (auto)loading function.
3281         (advice--make-1, advice-add, advice-remove):
3282         Remove braindead :advice-pending hack.
3284 2014-03-17  Glenn Morris  <rgm@gnu.org>
3286         * calendar/calendar.el (calendar-generate-month): Apply weekend
3287         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
3289 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
3291         * net/tramp.el (tramp-action-out-of-band): Read pending output.
3292         (tramp-call-process): Trace also DESTINATION.
3294         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3295         Quote file names when they are local.  Remove superfluous trace.
3297 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
3299         * newcomment.el (comment-beginning): If `comment-start-skip'
3300         doesn't match, move back one char and try again.  (Bug#16971)
3302         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3303         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3304         Set `comment-start-skip' to a simpler value that doesn't try to
3305         check if the semicolon is escaped (this is handled by
3306         `syntax-ppss' now).  (Bug#16971)
3308         * progmodes/scheme.el (scheme-mode-variables): Same.
3310 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
3312         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3313         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3314         current (Bug#16816, Bug#17007).
3315         (with-current-buffer-window): New macro doing the same as
3316         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3317         * help.el (help-print-return-message): Warn in doc-string to not
3318         use this in `with-help-window'.
3319         (describe-bindings-internal): Call `describe-buffer-bindings'
3320         from within help buffer.  See Juanma's scenario in (Bug#16816).
3321         (with-help-window): Update doc-string.
3322         * dired.el (dired-mark-pop-up):
3323         * files.el (save-buffers-kill-emacs):
3324         * register.el (register-preview): Use `with-current-buffer-window'
3325         instead of `with-temp-buffer-window'.
3327 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
3329         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3330         Implement inserting into current buffer, documented in their docstrings.
3331         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3332         (rst-section-tree-point, rst-forward-section, rst-indent)
3333         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3334         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3335         (rst-font-lock-handle-adornment-pre-match-form)
3336         (rst-repeat-last-character): Reflow docstrings.
3337         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3338         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3339         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3340         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3341         Fix docstring typos.
3342         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3343         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3344         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3346 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
3348         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3349         for compatibility with other ports.
3350         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
3351         from the -xrm command line argument, but in the Nextstep port its value
3352         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3354         * progmodes/python.el (defconst, python-syntax-count-quotes)
3355         (python-indent-region, python-indent-shift-right)
3356         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3357         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3358         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3359         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3360         (inferior-python-mode, python-shell-make-comint, run-python-internal)
3361         (python-shell-buffer-substring, python-shell-send-buffer)
3362         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3363         (python-completion-complete-at-point, python-fill-docstring-style)
3364         (python-eldoc-function, python-imenu-format-item-label)
3365         (python-imenu-format-parent-item-label)
3366         (python-imenu-format-parent-item-jump-label)
3367         (python-imenu--build-tree, python-imenu-create-index)
3368         (python-imenu-create-flat-index): Fix docstring typos.
3369         (python-indent-context, python-shell-prompt-regexp, run-python):
3370         Remove superfluous backslashes.
3371         (python-indent-line, python-nav-beginning-of-defun)
3372         (python-shell-get-buffer, python-shell-get-process)
3373         (python-info-current-defun, python-info-current-line-comment-p)
3374         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3375         (python-indent-post-self-insert-function, python-shell-send-file)
3376         (python-shell-completion-get-completions)
3377         (python-shell-completion-complete-or-indent)
3378         (python-eldoc--get-doc-at-point): Reflow docstrings.
3380 2014-03-14  Glenn Morris  <rgm@gnu.org>
3382         * emacs-lisp/package.el (package-menu-mode-map):
3383         Replace use of obsolete function alias.  Tweak menu item text.
3385         * info.el (Info-finder-find-node):
3386         Ignore the `emacs' metapackage.  (Bug#10813)
3388         * finder.el (finder-list-matches): Include unversioned packages
3389         in the result of a keyword search.
3391         * finder.el (finder--builtins-descriptions): New constant.
3392         (finder-compile-keywords): Use finder--builtins-descriptions.
3394 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
3396         * simple.el (blink-matching-paren): Describe the new value,
3397         `jump', enabling the old behavior.
3398         (blink-matching-open): Use that value.  (Bug#17008)
3400 2014-03-14  Glenn Morris  <rgm@gnu.org>
3402         * finder.el (finder-no-scan-regexp): Add leim-list.
3403         (finder-compile-keywords):
3404         Don't skip files with same basename.  (Bug#14010)
3405         * Makefile.in (setwins_finder): New, excluding leim.
3406         (finder-data): Use setwins_finder.
3408         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3409         (help-function-arglist, help-make-usage): Move from here...
3410         * help.el (help-split-fundoc, help-add-fundoc-usage)
3411         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
3412         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3414 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
3416         * net/socks.el (socks, socks-override-functions)
3417         (socks-find-services-entry):
3418         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3419         (hif-find-ifdef-block):
3420         * progmodes/modula2.el (m2-indent): Fix docstring typos.
3422         * net/tls.el (tls-program): Reflow docstring.
3424         * progmodes/pascal.el (pascal-mode-abbrev-table)
3425         (pascal-imenu-generic-expression, pascal-auto-endcomments)
3426         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3427         (pascal-outline-mode): Fix docstring typos.
3428         (pascal-mode): Let define-derived-mode document mode hook.
3429         (pascal-uncomment-area): Reflow.
3430         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3432         * progmodes/opascal.el (opascal-compound-block-indent)
3433         (opascal-case-label-indent): Fix docstring typos.
3434         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3436 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
3438         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3439         Fontify multiple adjacent negation chars.  (Bug#17004)
3441 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3443         * emacs-lisp/package.el (package--prepare-dependencies):
3444         Accept requirements without explicit version (bug#14941).
3446 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3448         * register.el (register-separator, copy-to-register): Doc fixes.
3449         (register-preview-default): Remove unnecessary call to concat.
3451         * frameset.el (frameset-restore): When checking for a visible frame,
3452         use the action map instead of calling visible-frame-list.
3454 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
3456         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3458 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
3460         * window.el (fit-frame-to-buffer): Get maximum width from
3461         display's width instead of height.
3463 2014-03-12  Glenn Morris  <rgm@gnu.org>
3465         * desktop.el (desktop-restore-frames)
3466         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3467         (desktop-restore-reuses-frames): Doc tweaks.
3469         * electric.el (electric-indent-mode): Doc fix.
3471 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3473         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3474         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3475         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3476         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3477         (cvs-dired-use-hook): Fix docstring typos.
3478         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3479         Doc fixes.
3481         * vc/pcvs-defs.el (cvs-auto-remove-handled)
3482         (cvs-auto-remove-directories, cvs-default-ignore-marks)
3483         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3484         (cvs-execute-single-dir): Fix docstring typos.
3486         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3487         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3489         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3491         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3492         Fix docstring typos.
3494 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3496         * frameset.el (frameset--jump-to-register): Add autoload; it could be
3497         called from jump-to-register after unloading the frameset package.
3499 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3502         (bug#16975).  Deactivate the mark before setting it to nil.
3503         (activate-mark): Do nothing if region is already active.
3505 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3507         * frameset.el (frameset--target-display): Remove definition; declare.
3508         (frameset-save, frameset-restore): Let-bind frameset--target-display.
3510 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3512         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3513         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3514         when the advice is pending.
3515         (advice-remove): Remove this marker when not needed any more.
3517 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3519         * frameset.el: Separate options for reusing frames and cleaning up.
3520         (frameset--reuse-list): Remove definition; declare.
3521         (frameset--action-map): Declare.
3522         (frameset--find-frame-if): Doc fix.
3523         (frameset--restore-frame): Cache frame action.
3524         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3525         how to clean up the frame list after restoring.  Remove cleaning
3526         options from REUSE-FRAMES.  Change all keyword values to symbols.
3527         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3529         * desktop.el (desktop-restore-forces-onscreen)
3530         (desktop-restore-reuses-frames): Use non-keyword values.
3531         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3533 2014-03-10  Glenn Morris  <rgm@gnu.org>
3535         * files.el (find-file): Doc fix: update info node name.
3537         * emacs-lisp/advice.el (ad-add-advice, defadvice):
3538         Doc fix: remove references to deleted info nodes.
3540 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
3542         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3543         Do not add nil to the environment, when there's no remote `locale'.
3544         (tramp-find-inline-encoding): Check, that the remote host has
3545         installed perl, before sending scripts.
3547 2014-03-10  Leo Liu  <sdl.web@gmail.com>
3549         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3550         Clear eldoc-last-message.  (Bug#16920)
3552 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3554         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3555         (bug#14430).
3557 2014-03-09  Juri Linkov  <juri@jurta.org>
3559         * ansi-color.el (ansi-color-names-vector): Copy default colors
3560         from `xterm-standard-colors' that look well on the default white
3561         background (and also on the black background) to avoid illegible
3562         color combinations like yellow-on-white and white-on-white.
3563         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3565 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
3567         * frameset.el (frameset-restore): When no frame is visible, do not
3568         generate a list of frames, just make visible the selected one.
3570 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
3572         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3573         it only contains the repository root.  (Bug#16897)
3575 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
3577         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3578         only when `remote-file-name-inhibit-cache' is nil.
3579         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
3581 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
3583         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3584         Fix doc-strings.
3585         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
3586         fit-frame-to-buffer variable.  Fix doc-string.
3587         (fit-window-to-buffer): Set ONLY argument in call of
3588         fit-frame-to-buffer.  Fix doc-string.
3590 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
3592         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3593         (tramp-action-password): Clear password cache if needed.
3594         (tramp-read-passwd): Do not clear password cache.
3596         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3597         cache unless it is the first password request.
3599 2014-03-06  Glenn Morris  <rgm@gnu.org>
3601         * simple.el (newline): Doc tweak.
3603         * emacs-lisp/shadow.el (load-path-shadows-find):
3604         Ignore dir-locals.  (Bug#12357)
3606 2014-03-05  Glenn Morris  <rgm@gnu.org>
3608         * files.el (interpreter-mode-alist):
3609         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
3611 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3613         * frameset.el (frameset--initial-params): Filter out null entries.
3615 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
3617         * window.el (window-min-height, window-min-width):
3618         Rewrite doc-strings.
3619         (window-body-size): Add PIXELWISE argument to make it consistent
3620         with its callees.
3622 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3624         * finder.el (finder-mode-map, finder-mode-syntax-table):
3625         Revert part of 2014-02-28 change.
3627 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
3629         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3630         (eww-setup-buffer): Clear next/prev/etc more reliably.
3631         (eww-textarea-map): [tab] doesn't work on tty.
3632         Reported by Mario Lang.
3634         * net/shr.el (shr-map): Ditto.
3636 2014-03-04  Glenn Morris  <rgm@gnu.org>
3638         * minibuffer.el (completion-hilit-commonality):
3639         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3641 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3643         * hilit-chg.el (hilit-chg-unload-function): New function.
3644         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3645         (hilit-chg-map-changes): Prefer cardinal number to digit.
3646         (hilit-chg-display-changes): Reflow docstring.
3647         (highlight-changes-rotate-faces): Remove superfluous backslash.
3649 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
3651         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3652         `tramp-send-command-and-check'.
3654 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3656         * hexl.el (hexl-address-region, hexl-ascii-region)
3657         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3658         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3659         (hexl-forward-word, hexl-previous-line, hexl-next-line):
3660         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3661         (hexl-mode): Doc fix.
3662         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3663         (hexl-mode-ruler): Fix typos in docstrings.
3665         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3666         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3667         Remove superfluous backslashes.
3668         (strokes-last-stroke, strokes-global-map, strokes-mode):
3669         Reflow docstrings.
3670         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3671         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3672         (strokes-distance-squared, strokes-global-set-stroke)
3673         (strokes-global-set-stroke-string): Doc fixes.
3674         (strokes-help): Fix typos; reflow docstring.
3676 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
3678         * window.el (window-in-direction): Fix doc-string.
3680 2014-03-04  Glenn Morris  <rgm@gnu.org>
3682         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3683         Explicit error if no grammar.
3684         (smie-config-save): Doc fix.  Fix quote typo.
3686 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3688         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3689         electric-indent-mode-hook if we obey electric-indent-mode.
3690         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3691         decide whether we obey electric-indent-mode.
3692         (c-change-set-fl-decl-start, c-extend-after-change-region):
3693         Silence warnings.
3694         (c-electric-indent-mode-hook): Assume we do want to obey
3695         electric-indent-mode.
3697         * electric.el (electric-indent-mode-has-been-called): Remove.
3698         (electric-indent-mode): Fix accordingly.
3700         * files.el (hack-local-variables): Mention file name in warning.
3702         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3704 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
3706         * bindings.el: Add comment describing why C-d binds to `delete-char'.
3707         * simple.el (delete-forward-char): Mark as interactive-only.
3709 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
3711         * icomplete.el (icomplete-completions):
3712         Follow-up to 2014-03-01 change.
3714         * icomplete.el: Miscellaneous doc fixes.
3715         Use Icomplete everywhere instead of icomplete for consistency.
3716         (icomplete-max-delay-chars): Fix typo.
3717         (icomplete-mode): Use \[].
3718         (icomplete-tidy, icomplete-exhibit): Reflow.
3719         (icomplete-minibuffer-setup-hook, icomplete-completions):
3720         Remove superfluous backlashes.
3722         * ido.el: Miscellaneous doc fixes.
3723         Use Ido everywhere instead of ido or `ido' for consistency.
3724         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3725         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3726         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3727         (ido-separator): Extract obsolescence info from docstring and declare
3728         with make-obsolete-variable.
3729         (ido-minibuffer-setup-hook): Simplify example.
3730         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3731         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3732         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3733         (ido-everywhere): Reflow docstring.
3734         (ido-toggle-vc): Doc fix.
3735         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3736         of long list of keybindings.
3738 2014-03-03  Glenn Morris  <rgm@gnu.org>
3740         * frame.el (display-pixel-height, display-pixel-width)
3741         (display-mm-dimensions-alist, display-mm-height)
3742         (display-mm-width): Doc tweaks.
3744 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
3746         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3747         case of undo in region.
3749 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
3751         * window.el (fit-window-to-buffer): Fix argument in window-size
3752         call when window is horizontally combined.
3754 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
3756         * icomplete.el (icomplete-completions): Use string-width.
3757         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3759 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
3761         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3762         Highlight regexp options.  (Bug#16914)
3764 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
3766         * window.el (window--max-delta-1): Round down when calculating
3767         how many lines/columns we can get from a window.
3769 2014-03-01  Glenn Morris  <rgm@gnu.org>
3771         * isearch.el (search-invisible): Doc fix.
3773         * minibuffer.el (completion-hilit-commonality):
3774         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
3775         * comint.el (comint-dynamic-list-completions): Doc fix.
3776         * comint.el (comint-dynamic-list-completions):
3777         * filecache.el (file-cache-minibuffer-complete):
3778         * tempo.el (tempo-display-completions):
3779         * eshell/em-hist.el (eshell-list-history):
3780         Replace use of obsolete argument of display-completion-list.
3782 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
3784         * icomplete.el (icomplete-completions):
3785         Revert back to using "..." when ?… cannot be displayed.
3787 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3789         * finder.el (finder-unload-function): New function.
3791 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3793         * dframe.el (dframe-detach):
3794         * find-dired.el (find-dired, find-name-dired):
3795         * finder.el (finder-mode-map, finder-mode-syntax-table)
3796         (finder-headmark, finder-select, finder-mouse-select):
3797         Fix docstring typos.
3799 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
3801         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3802         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3803         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3804         Fix doc-string based on a suggestion by Nicolas Richard
3805         <theonewiththeevillook@yahoo.fr>.
3806         * help.el (with-help-window): Fix doc-string.
3808 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
3810         * net/shr.el (shr-image-animate): New option.
3811         (shr-put-image): Respect shr-image-animate.
3813 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
3815         * net/tramp-adb.el (tramp-adb-parse-device-names):
3816         Use `accept-process-output'.
3817         (tramp-adb-handle-file-truename): Cache the localname only.
3818         (tramp-adb-handle-make-directory)
3819         (tramp-adb-handle-delete-directory): Flush file properties correctly.
3820         (tramp-adb-handle-set-file-modes): Do not raise an error when file
3821         modes cannot be changed.
3823         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3824         file properties of symlinks.
3826 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
3828         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3829         required/optional fields to match development biblatex.  (Bug#16781)
3831 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
3833         * saveplace.el (toggle-save-place):
3834         Fix argument handling.  (Bug#16673)
3836 2014-02-28  Glenn Morris  <rgm@gnu.org>
3838         * minibuffer.el (completions-first-difference)
3839         (completions-common-part, completion-hilit-commonality): Doc fixes.
3841 2014-02-28  Karl Berry  <karl@gnu.org>
3843         * info.el (Info-mode-map): Add H for describe-mode,
3844         to synchronize with standalone Info.
3846 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3848         * progmodes/sql.el (sql-interactive-mode):
3849         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3851 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3853         * net/dbus.el (dbus--init-bus): Declare function.
3854         (dbus-path-local, dbus-interface-local): New defconst.
3855         (dbus-init-bus): Use them.
3856         (dbus-return-values-table): Extend doc.
3857         (dbus-handle-bus-disconnect): Extend error message.
3859 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3861         * subr.el (y-or-n-p): Fix double space issue in message.
3863 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3865         * net/tramp.el (tramp-call-process): Improve trace message.
3866         (tramp-handle-insert-file-contents): Trace error case.
3868         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3869         <insert-directory>: Use `tramp-handle-insert-directory'.
3870         (tramp-adb-handle-insert-directory): Remove function.
3871         (tramp-adb-send-command-and-check): New defun, replacing
3872         `tramp-adb-command-exit-status'.  Change all callees.
3873         (tramp-adb-handle-file-attributes)
3874         (tramp-adb-handle-directory-files-and-attributes): Use it.
3875         (tramp-adb-ls-output-name-less-p):
3876         Use `directory-listing-before-filename-regexp'.
3877         (tramp-adb-handle-delete-directory): Flush also file properties of
3878         the truename of directory.
3879         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3880         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3881         (tramp-adb-handle-write-region): Implement APPEND.
3882         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3883         properties correctly.
3884         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3885         variables.  Check for connected devices only when needed.
3887 2014-02-27  Glenn Morris  <rgm@gnu.org>
3889         * minibuffer.el (completion-table-dynamic)
3890         (completion-table-with-cache): Doc fixes.
3892         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3893         (completing-read-multiple): Doc fixes.
3895 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3897         * minibuffer.el (completion--nth-completion): Fix indentation.
3899         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3900         explicit tramp path is empty.
3902 2014-02-27  Glenn Morris  <rgm@gnu.org>
3904         * emacs-lisp/crm.el (completing-read-multiple):
3905         Empower help-enable-auto-load.
3907 2014-02-26  Glenn Morris  <rgm@gnu.org>
3909         * startup.el (command-line): Don't init the tty in daemon mode.
3911         Avoid calling tty-setup-hook twice, eg if a term file
3912         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3913         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3914         (tty-create-frame-with-faces): Use it.
3915         * startup.el (command-line): Pass run-hook argument
3916         to tty-run-terminal-initialization.
3918         * dired.el (dired-restore-desktop-buffer): Demote errors;
3919         eg in case a glob match fails.  (Bug#16884)
3921 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3923         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3924         error from `read-from-string'.  (Bug#16850)
3926         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3927         result of `completing-read' in the interactive form.  (Bug#16854)
3929 2014-02-25  Glenn Morris  <rgm@gnu.org>
3931         * image.el (image-animate, image-animate-timeout):
3932         Stop animating images in dead buffers.  (Bug#16878)
3934         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3936         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3937         Doc fixes.
3938         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3939         * term/sun.el (sun-raw-prefix-hooks):
3940         Use tty-setup-hook instead of term-setup-hook.
3941         (terminal-init-sun): Construct message from bytecomp plist.
3942         * term/wyse50.el (enable-arrow-keys): Doc fix.
3944 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3946         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3947         Fix docstring typos.
3949 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3951         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3953 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3955         * minibuffer.el (completion--try-word-completion):
3956         Fix error when completing M-x commands (bug#16808).
3958 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3960         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3962 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3964         * apropos.el (apropos-print): Avoid formatting error when
3965         apropos-do-all and apropos-compact-layout are both t.
3967 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3969         * apropos.el (apropos-property, apropos-all-words-regexp)
3970         (apropos-true-hit, apropos-variable, apropos-print):
3971         Fix docstring typos, and remove obsolete comment.
3973 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3975         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3976         Preserve trailing "/".  (Bug#16851)
3978 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3980         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3981         after `=>' (bug#16811).
3982         (ruby-smie-rules): Handle the inconsistent second element of the
3983         list returned by `smie-indent--parent'.
3984         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3985         method call.
3987 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3989         * elec-pair.el (electric-pair-text-syntax-table)
3990         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3991         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3992         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3993         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3995 2014-02-22  Glenn Morris  <rgm@gnu.org>
3997         * imenu.el (imenu--generic-function): Doc fix.
3999         * register.el (frame-configuration-to-register): Make obsolete.
4001 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
4003         * desktop.el (desktop-save-buffer-p): Do not fail when
4004         desktop-files-not-to-save is nil.  Return t for true result
4005         as the doc says.
4007 2014-02-22  Daniel Colascione  <dancol@dancol.org>
4009         * net/secrets.el (secrets-create-item, secrets-search-items):
4010         Check that attribute values are strings, avoiding the construction
4011         of invalid dbus messages.
4013 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4015         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4016         defun-declarations-alist.
4018 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4020         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4021         (bug#16829).
4023 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4025         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4026         (whitespace-newline, whitespace-trailing, whitespace-line)
4027         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4028         (whitespace-space-after-tab): Fix typo in docstrings.
4030 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
4032         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4034         * electric.el (electric-indent-functions-without-reindent):
4035         Add `yaml-indent-line'.
4037 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4039         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4040         It has done nothing for years; should be removed after the release.
4042         * simple.el (choose-completion): Fix docstring typo.
4043         (read-quoted-char-radix): Remove unneeded * in docstring.
4044         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4045         Don't escape parentheses unnecessarily in docstrings.
4047 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
4049         Fix handling of window-min-height/-width (Bug#16738).
4050         * window.el (window--dump-window, window--dump-frame):
4051         New functions.
4052         (window--min-size-1): Account for window dividers.
4053         When window-resize-pixelwise is nil, delay rounding till after the
4054         sum of the window components has been calculated.
4055         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4056         nil make sure at least one text line and two text columns remain
4057         fully visible.
4058         (window-resize): Signal an error when window-resize-apply fails.
4059         (window--resize-child-windows): Fix calculation of by how many
4060         pixels a window can still be shrunk via window-new-normal.
4061         (adjust-window-trailing-edge): Call window--resizable with
4062         correct TRAIL argument.
4064         (with-temp-buffer-window): Don't evaluate BODY within
4065         with-current-buffer (Bug#16816).
4067 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
4069         * net/tramp.el (tramp-check-cached-permissions):
4070         Call `file-attributes' with `suffix' being a symbol but a string.
4072 2014-02-21  Daniel Colascione  <dancol@dancol.org>
4074         * net/dbus.el (dbus-init-bus-1): Declare new subr.
4075         (dbus-init-bus): New function: call into dbus-init-bus-1
4076         and installs a handler for the disconnect signal.
4077         (dbus-call-method): Rewrite to look for result in cons.
4078         (dbus-call-method-handler): Store result in cons.
4079         (dbus-check-event): Recognize events with nil sender as valid.
4080         (dbus-handle-bus-disconnect): New function.  React to bus
4081         disconnection signal by synthesizing dbus error for each
4082         pending synchronous or asynchronous call.
4083         (dbus-notice-synchronous-call-errors): New function.
4084         (dbus-handle-event): Raise errors directly only when `dbus-debug'
4085         is true, not all the time.
4087 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4089         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4090         Remove obsolescence declarations, these variables do not exist anymore.
4092         * savehist.el (savehist-save-minibuffer-history)
4093         (savehist-additional-variables, savehist-file, savehist-mode-hook)
4094         (savehist-save-hook, savehist-coding-system, savehist-loaded)
4095         (savehist-load, savehist-install, savehist-autosave): Fix typos;
4096         mostly, refer to "Savehist mode" when talking about the mode,
4097         and not the function.
4099         * saveplace.el (save-place): Remove redundant info in docstring.
4100         (save-place-forget-unreadable-files, toggle-save-place)
4101         (save-place-forget-unreadable-files, save-place-dired-hook):
4102         Fix typos and remove unneeded backslashes.
4104 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
4106         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
4107         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
4109         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4110         <insert-directory>: Use `tramp-handle-insert-directory'.
4111         (tramp-gvfs-handle-insert-directory): Remove function.
4113         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4114         Call `tramp-handle-insert-directory'.
4116 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
4118         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4119         before the start of buffer/region (bug#16799).
4121 2014-02-20  Glenn Morris  <rgm@gnu.org>
4123         * isearch.el (search-invisible): Doc fix.
4125 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
4127         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
4128         (bug#16657).
4130 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4132         * frameset.el (frameset-restore): Delay removing an old frame's
4133         duplicate id until the new frame has been correctly created.
4135 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
4137         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
4138         (tramp-check-cached-permissions): Call `file-attributes' if the
4139         cache is empty.
4141         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4142         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4144         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4145         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4146         (tramp-gvfs-maybe-open-connection): Set always connection
4147         properties, even if target is mounted already.
4149         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
4150         Set tramp-autoload cookie.
4151         (tramp-get-remote-touch): New defun.
4152         (tramp-sh-handle-set-file-times): Use it.
4153         (tramp-sh-handle-directory-files-and-attributes):
4154         Use `tramp-handle-directory-files-and-attributes' if neither stat
4155         nor perl are available on the remote host.
4157         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
4158         "/".  Write long listing only when "l" belongs to the switches.
4160         * net/trampver.el: Update release number.
4162 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4164         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
4166 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
4168         * window.el (window-state-put): Allow WINDOW to refer to an
4169         internal window (Bug#16793).
4171 2014-02-19  Glenn Morris  <rgm@gnu.org>
4173         * textmodes/remember.el: Move provide statement to end.
4174         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
4175         (remember-notes): Doc fixes.
4177 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4179         * delsel.el (delete-char): Restore incorrectly erased property
4180         (bug#16795).
4182 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
4184         * frameset.el (frameset--restore-frame): When a frame is being reused
4185         and its root window is not alive, delete all the frame's windows before
4186         restoring the window state.  This works around the issue in bug#16793.
4188 2014-02-18  Glenn Morris  <rgm@gnu.org>
4190         * textmodes/remember.el (remember-data-directory)
4191         (remember-directory-file-name-format, remember-store-in-files)
4192         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
4193         (remember-notes-save-and-bury-buffer)
4194         (remember-notes--kill-buffer-query): Doc fixes.
4196         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
4198 2014-02-17  Alan Mackenzie  <acm@muc.de>
4200         Connect electric-indent-mode up with CC Mode.  Bug #15478.
4201         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
4202         to electric-indent-{,local-}-mode.
4203         (c-basic-common-init): Set electric-indent-inhibit.
4204         Initialise c-electric-flag from electric-indent-mode.
4205         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
4206         New hook functions which propagate electric-indent-mode to CC mode.
4208         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
4209         hit, toggle electric-indent-local-mode.
4211         * electric.el (electric-indent-mode-has-been-called):
4212         New variable.
4214 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
4216         * frameset.el (frameset-cfg-id): New function.
4217         (frameset--reuse-frame, frameset-restore): Use it.
4218         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
4220 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4222         * ido.el (ido-file-internal): Remove unused var `d'.
4223         Use \` for to match BoS.  Fit within 80n columns.
4225 2014-02-17  Daniel Colascione  <dancol@dancol.org>
4227         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
4228         dbus-call-method check for completion using a busy-wait loop with
4229         gradual backoff.
4231 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
4233         Sync with Tramp 2.2.9.
4235         * net/trampver.el: Update release number.
4237 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
4239         * ido.el (ido-file-internal): Don't add the name of an existing
4240         directory twice.  (Bug#16747)
4242 2014-02-16  Glenn Morris  <rgm@gnu.org>
4244         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4245         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
4247 2014-02-15  Michael R. Mauger  <michael@mauger.com>
4249         * progmodes/sql.el: Version 3.4
4250         (sql-oracle-options): New default value ("-L").
4251         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4252         (sql-placeholders-filter): Correct placeholder pattern.
4253         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
4254         (sql-login-delay): New variable.
4255         (sql-product-interactive): Use it.
4257 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
4259         * frameset.el (frameset--jump-to-register): Check that buffer is live
4260         (bug#16749).
4262 2014-02-15  Glenn Morris  <rgm@gnu.org>
4264         * info.el (info-initialize): Revert 2014-01-10 change.
4266 2014-02-14  Glenn Morris  <rgm@gnu.org>
4268         * replace.el (map-query-replace-regexp)
4269         (read-regexp-defaults-function, read-regexp): Doc fixes.
4271         * dired.el (dired-read-regexp):
4272         * faces.el (list-faces-display):
4273         * misearch.el (multi-isearch-read-matching-buffers)
4274         (multi-isearch-read-matching-files):
4275         * play/cookie1.el (cookie-apropos):
4276         * progmodes/grep.el (grep-read-regexp): Doc fixes.
4278         * textmodes/remember.el (remember): Use frameset-to-register
4279         rather than frame-configuration-to-register.
4281 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
4283         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4284         incorrect keybinding.
4286 2014-02-13  Daniel Colascione  <dancol@dancol.org>
4288         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4289         when adding overlays so that line numbers from compiler match line
4290         numbers we use.
4292 2014-02-13  Glenn Morris  <rgm@gnu.org>
4294         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
4296         * jit-lock.el (jit-lock-mode): Doc fix.
4298 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
4300         * apropos.el (apropos-read-pattern): When the user passes an empty
4301         string, give a more helpful error message than "Wrong type
4302         argument: stringp, nil".
4304 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4306         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4308 2014-02-13  Glenn Morris  <rgm@gnu.org>
4310         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4312 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4314         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4315         shift-select commands.
4317 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
4319         * progmodes/js.el (js-indent-line): Don't widen.
4320         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4322 2014-02-12  Glenn Morris  <rgm@gnu.org>
4324         * icomplete.el (icomplete): Add info-link to defgroup.
4325         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4326         (icomplete-minibuffer-map, icomplete-mode)
4327         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4329         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4330         (package-menu-filter): Rename from package-menu-filter-interactive.
4331         Doc fix.
4333 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
4335         * frameset.el (frameset--jump-to-register): Select the required
4336         window and buffer before restoring position (bug#16696).
4338 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
4340         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4342 2014-02-10  Glenn Morris  <rgm@gnu.org>
4344         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
4346 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
4348         * w32-common-fns.el (x-get-selection): Doc fix.
4349         * select.el (x-get-selection): Doc fix.  (Bug#15109)
4351         * face-remap.el (face-remap-add-relative)
4352         (face-remap-remove-relative, face-remap-reset-base)
4353         (face-remap-set-base): Call force-mode-line-update to redisplay
4354         the current buffer due to potential change in faces.  (Bug#16709)
4356 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
4358         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4359         script more robustly.
4361 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4363         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4365         * simple.el (choose-completion): Doc fix (bug#14160).
4367         * subr.el (event-start): Say what a nil EVENT value means.
4369         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4370         (bug#14197).
4372         * progmodes/grep.el (find-program): Doc fix (bug#14289).
4374         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4376         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4378         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4379         predicate function (bug#15455).
4381 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
4383         * ielm.el (inferior-emacs-lisp-mode): Instead of
4384         `comment-use-global-state', set `comment-use-syntax'.
4386 2014-02-10  Glenn Morris  <rgm@gnu.org>
4388         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4390 2014-02-09  Alan Mackenzie  <acm@muc.de>
4392         Fix c-invalidate-state-cache on narrowed buffers.
4393         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4394         Widen when setting and clearing the CPP delimiter properties.
4396 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
4398         * help.el (describe-bindings): Doc fix (bug#9888).
4400         * files.el (save-buffer): Use ARG as the parameter name for
4401         consistency (bug#10346).
4402         (save-buffer): Clarify the 0 argument (bug#10346).
4404         * cus-edit.el (customize-apropos): Fix error string.
4405         (custom-buffer-create): Doc fix (bug#11122).
4406         (custom-sort-items): Doc fix (bug#11121).
4408         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4410         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4411         (icomplete-simple-completing-p): Mention the previous variable.
4413         * font-lock.el (font-lock-value-in-major-mode): Clarify the
4414         meaning of the parameter (bug#12282).
4416         * files.el (find-file-noselect): Clarify prompt when changing
4417         readedness (bug#13261).
4418         (locate-file): Suffixes aren't returned, so don't say that they
4419         are (bug#12674).
4420         (backup-inhibited): Doc clarification (bug#12525).
4422         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4423         before we actually start to delete things (bug#16331).
4425         * subr.el (event-start): Doc fix (bug#14228).
4426         (event-end): Ditto.
4428 2014-02-09  Glenn Morris  <rgm@gnu.org>
4430         * emacs-lisp/warnings.el (lwarn):
4431         Empower help-enable-auto-load.  (Bug#15940)
4433 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4435         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4436         (Bug#16690)
4438 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
4440         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4441         Insert output at end of buffer.  (Bug#16120)
4443 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4445         * simple.el (choose-completion-string-functions): Document new
4446         calling convention (bug#14153).
4447         (execute-extended-command): Clarify doc string (bug#13373).
4449         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4451         * find-dired.el (find-name-dired): Doc fix (bug#14290).
4452         (find-grep-dired): Doc fix (bug#14288).
4454 2014-02-08  Juri Linkov  <juri@jurta.org>
4456         * isearch.el (isearch-quote-char): Check character validity
4457         like in `quoted-insert' (bug#16677).
4459 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4461         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4463         * isearch.el (isearch-hide-immediately): Doc clarification
4464         (bug#14723).
4466         * simple.el (line-move): Document utility function used many
4467         places in the Emacs sources (bug#14843).
4469         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4470         (dired-prev-marked-file): Doc fix (bug#14855).
4471         (dired-up-directory): Doc fix (bug#14848).
4473         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4475         * files.el (file-relative-name): Doc fix (bug#15159).
4477         * fringe.el (fringe-styles): Doc fix (bug#15239).
4479         * isearch.el (isearch-filter-predicate): Documentation typo fix
4480         (bug#15474).
4482         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4484         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4486         * replace.el (replace-match-maybe-edit): Doc clarification
4487         (bug#15632).
4489         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4491         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4493 2014-02-08  Glenn Morris  <rgm@gnu.org>
4495         * help-fns.el (describe-variable):
4496         Check {file,dir}-local-variables-alist, and buffer-file-name,
4497         in the correct buffer.
4499 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
4501         * help-fns.el (describe-variable): Fix the case where
4502         a value is directory-local with no dir-locals file.  (Bug#16635)
4504 2014-02-08  Glenn Morris  <rgm@gnu.org>
4506         * abbrev.el (edit-abbrevs-mode):
4507         Derive from fundamental-mode.  (Bug#16682)
4509 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
4511         * simple.el (quoted-insert): Check character validity (bug#16677).
4513 2014-02-07  Juri Linkov  <juri@jurta.org>
4515         * desktop.el (desktop-read): Claim the lock when the owner is not
4516         the current process.  (Bug#16157)
4518 2014-02-07  Juri Linkov  <juri@jurta.org>
4520         * desktop.el (desktop-buffers-not-to-save): Change default from nil
4521         to "\\` ".  (Bug#16651)
4523 2014-02-07  Juri Linkov  <juri@jurta.org>
4525         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4526         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4527         (desktop-auto-save-cancel-timer): New function with some code from
4528         `desktop-auto-save-set-timer'.
4529         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4530         Instead of setting `desktop-save-mode' to nil, call
4531         `desktop-save-mode' with arg 0.  (Bug#16630)
4533 2014-02-07  Glenn Morris  <rgm@gnu.org>
4535         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4536         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4537         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4539         * obsolete/iswitchb.el: Move to obsolete/.
4540         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4541         since obsolete/ is not scanned for autoloads.
4542         * emacs-lisp/authors.el (authors-valid-file-names):
4543         Add iswitchb.el.
4545         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4546         Disable now non-functional find-file-hook.
4548 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
4550         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4551         instead of ";" in order to avoid additional prompts.  Let heredoc
4552         scripts read from tty.  (Bug#16582)
4553         (tramp-send-command): No special handling of heredocs, it isn't
4554         necessary anymore.
4556 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4558         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4559         with a space (bug#16664).  Limit the symbols considered to the ones
4560         that are bound or fbound (bug#16646).
4562 2014-02-06  Glenn Morris  <rgm@gnu.org>
4564         * epa.el (epa-mail-aliases): Doc fix.
4566 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
4568         * emacs-lisp/lisp.el (lisp-completion-at-point):
4569         Use `completion-table-merge' instead of `completion-table-in-turn'
4570         (bug#16604).
4572         * minibuffer.el (completion-table-merge): New function.
4574 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
4576         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4577         (tramp-sh-handle-set-file-acl)
4578         (tramp-sh-handle-start-file-process)
4579         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4580         (tramp-find-executable, tramp-send-command): Use it.
4582 2014-02-05  Glenn Morris  <rgm@gnu.org>
4584         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
4586 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4588         * progmodes/python.el (python-shell-send-string)
4589         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4591 2014-02-04  Anders Lindgren  <andlind@gmail.com>
4593         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4594         the names (bug#16620).
4596 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
4598         * faces.el (window-divider): New default value.  Rewrite doc-string.
4599         (window-divider-first-pixel, window-divider-last-pixel): New faces.
4601 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
4603         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4604         `protected' and `public' can also be called without arguments.
4606 2014-02-03  Glenn Morris  <rgm@gnu.org>
4608         * register.el (window-configuration-to-register)
4609         (frame-configuration-to-register): Unadvertise unused argument.
4610         * frameset.el (frameset-to-register): Remove unused argument.
4612         * frameset.el (frameset-to-register):
4613         * kmacro.el (kmacro-to-register):
4614         * register.el (increment-register):
4615         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4616         (calc-append-to-register, calc-prepend-to-register):
4617         * play/gametree.el (gametree-layout-to-register)
4618         (gametree-apply-register-layout):
4619         * textmodes/picture.el (picture-clear-rectangle-to-register)
4620         (picture-yank-rectangle-from-register):
4621         * vc/emerge.el (emerge-combine-versions-register):
4622         Use register-read-with-preview to read registers.
4624 2014-02-03  João Távora  <joaotavora@gmail.com>
4626         * elec-pair.el (electric-pair-backward-delete-char): Don't error
4627         when at beginning of (possibly narrowed) buffer.
4629 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4631         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4632         Also try to display local help from just before point.
4634 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
4636         c-parse-state.  Don't "append-lower-brace-pair" in certain
4637         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
4638         recognised as a comment.
4640         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4641         as well as normal comment starter.
4642         (c-parse-state-get-strategy): Extra return possibility
4643         'back-and-forward.
4644         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4645         return value list to indicate replacement of a brace-pair cons
4646         with its car.
4647         (c-parse-state-1): With 'back-and-forward, only call
4648         c-append-lower-brace-pair-to state-cache when cons-separated.
4650 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
4652         * term/ns-win.el (ns-suspend-error): New function.
4653         (ns-initialize-window-system): Add ns-suspend-error to
4654         suspend-hook (Bug#16612).
4656 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4658         * progmodes/cc-defs.el (c-find-assignment-for-mode):
4659         Make loading cc-mode silent.
4661 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4663         * comint.el (comint-prompt-read-only): Change doc to suggest
4664         remap keybinding.
4666 2014-02-02  Glenn Morris  <rgm@gnu.org>
4668         * register.el (register-read-with-preview, point-to-register)
4669         (window-configuration-to-register, frame-configuration-to-register)
4670         (jump-to-register, number-to-register, view-register, insert-register)
4671         (copy-to-register, append-to-register, prepend-to-register)
4672         (copy-rectangle-to-register): Doc fixes.
4674 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4676         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4677         * emacs-lisp/find-func.el (find-function-C-source): Idem.
4678         * emacs-lisp/nadvice.el (advice--cd*r): New function.
4679         * help-fns.el (describe-function-1): Use it.
4681 2014-02-02  Glenn Morris  <rgm@gnu.org>
4683         * register.el (register-preview-default): New function,
4684         split from register-preview.
4685         (register-preview-function): Rename from register-preview-functions,
4686         make it not a hook.
4687         (register-preview): Use register-preview-function.
4688         (register-read-with-preview): Error on non-character event.  (Bug#16595)
4690 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
4692         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4693         `:' before binary operators (bug#16609).  Don't check for `:'
4694         before `[' and `(', or their syntax status.  A percent literal
4695         can't end with either.
4696         (ruby-font-lock-keywords): For built-ins that require arguments,
4697         check that they're followed by something that looks like argument
4698         (bug#16610).
4700 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
4702         * subr.el (butlast): Document what an omitted N means (bug#13437).
4703         (nbutlast): Ditto.
4705 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
4707         * net/shr.el (shr-generic): Make into a defsubst to make the stack
4708         depth shallower (bug#16587).
4709         (shr-tag-svg): Respect `shr-inhibit-images'.
4710         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4712 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
4714         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4715         (ruby-smie-grammar): Make "." right-associative.  Make its priority
4716         lower than the ternary and all binary operators.
4717         (ruby-smie-rules): Indent "(" relative to the first non-"."
4718         parent, or the first "." parent at indentation.
4719         Use `ruby-align-chained-calls' for indentation of "." tokens.
4720         (Bug#16593)
4722 2014-01-31  Juri Linkov  <juri@jurta.org>
4724         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4725         from `make-hash-table'.
4727         * textmodes/ispell.el (ispell-init-process): Change message format
4728         to be consistent with other messages.
4730 2014-01-31  Glenn Morris  <rgm@gnu.org>
4732         * delsel.el (delete-selection-mode): Doc fix.
4734         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4735         (trace-function-background): Doc fixes.
4737         * ido.el (ido-use-virtual-buffers): Doc fix.
4738         Reset :version, since the default value has not changed.
4740         * register.el (register-preview-delay, register-read-with-preview):
4741         Doc fixes.
4743         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4744         do not mess with mail-buffer position (fixes 2009-11-03 change).
4745         * progmodes/cc-mode.el (c-submit-bug-report):
4746         Check auto-fill-mode is bound.  (Bug#16592)
4748 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
4750         * startup.el (fancy-splash-image-file): New function,
4751         split from fancy-splash-head.
4752         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4753         so that we are both using the same image.  (Bug#16574)
4755 2014-01-30  Glenn Morris  <rgm@gnu.org>
4757         * simple.el (eval-expression): Doc fix.
4759         * hexl.el (hexl-mode-hook):
4760         * ielm.el (ielm-mode-hook):
4761         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4762         (lisp-interaction-mode-hook):
4763         * progmodes/cfengine.el (cfengine3-documentation-function):
4764         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4766 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4768         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4769         is a symbol (bug#16584).
4771 2014-01-30  Glenn Morris  <rgm@gnu.org>
4773         * help.el (help-for-help-internal): Add "P" to text.
4775 2014-01-29  Glenn Morris  <rgm@gnu.org>
4777         * simple.el (just-one-space, cycle-spacing): Doc fixes.
4779 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
4781         * window.el (fit-frame-to-buffer): Fix calculations for margins and
4782         height constraints.
4784 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
4786         * progmodes/hideif.el: Extend to full CPP expression syntax.
4787         (hif-token-alist): Add missing tokens.
4788         (hif-token-regexp): Add support for float/octal/hex immediates.
4789         (hif-string-literal-regexp): New const.
4790         (hif-tokenize): Recognize strings and float/octal/hex immediates.
4791         (hif-exprlist): New function.
4792         (hif-parse-if-exp): Use it.
4793         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4794         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4795         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4796         (hif-logxor, hif-comma): New functions.
4798 2014-01-28  Glenn Morris  <rgm@gnu.org>
4800         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4802         * indent.el (tab-stop-list): Doc fix.  Add :version.
4804         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4805         (cvs-append-to-ignore): Add compatibility alias.
4807 2014-01-27  Glenn Morris  <rgm@gnu.org>
4809         * dired.el (dired-hide-details-mode): Don't autoload it,
4810         since it cannot be used outside Dired buffers anyway.
4812         * emulation/cua-base.el (cua-mode): Doc fix.
4814         * dired.el (dired-hide-details-hide-symlink-targets)
4815         (dired-hide-details-hide-information-lines)
4816         (dired-hide-details-mode): Doc fixes.
4818         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4819         * strokes.el (strokes-file): Doc fix.  Bump :version.
4820         (strokes-help): Doc fix.
4821         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4822         * emulation/viper.el (viper): Doc fix for custom group.
4823         (top-level): Remove oh-so-no-longer-relevant text about vip.
4824         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4826         * ido.el (ido-save-directory-list-file):
4827         * saveplace.el (save-place-file):
4828         * calendar/timeclock.el (timeclock-file):
4829         * net/quickurl.el (quickurl-url-file):
4830         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4831         * progmodes/idlwave.el (idlwave-config-directory):
4832         * textmodes/remember.el (remember-data-file):
4833         Bump :version.
4835 2014-01-26  Glenn Morris  <rgm@gnu.org>
4837         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4838         Doc fix.  Make obsolete.
4839         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4841         * sort.el (delete-duplicate-lines): Doc fix.
4843 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4845         * progmodes/ada-mode.el (ada):
4846         * woman.el (woman): Link to info manual and Commentary section.
4848         * progmodes/flymake.el (flymake):
4849         * nxml/nxml-mode.el (nxml):
4850         * net/eww.el (eww):
4851         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4852         * htmlfontify.el (htmlfontify):
4853         * ses.el (ses):
4854         * epa.el (epa):
4855         * ido.el (ido): Link to info manual.
4857 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4859         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4861 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4863         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4864         (bug#16537).
4866 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4868         * net/eww.el (eww-download-callback):
4869         Fix reference to eww-download-directory.
4871         * emacs-lisp/bytecomp.el (byte-compile-file):
4872         Remove unused local variable `file-name'.
4874 2014-01-24  Glenn Morris  <rgm@gnu.org>
4876         * woman.el (woman-default-faces, woman-monochrome-faces):
4877         Fix obsolescence specification.
4879         * subr.el (with-demoted-errors): Doc fix.
4881 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4883         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4884         (cl--macroexp-fboundp): New function.
4885         (cl--make-type-test): Use it.
4887 2014-01-23  Glenn Morris  <rgm@gnu.org>
4889         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4890         * simple.el (eval-expression): Doc fixes.
4892 2014-01-22  Glenn Morris  <rgm@gnu.org>
4894         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4896 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4898         * emacs-lisp/package.el: Write files silently.
4899         (package-autoload-ensure-default-file, package--write-file-no-coding)
4900         (package-generate-description-file, package--download-one-archive)
4901         (package-install-from-archive): Tell `write-region' to stay quiet.
4902         (package-menu-mode, package-menu--print-info): Omit the Archive column
4903         if there's only one archive.
4904         (package-all-keywords, package--has-keyword-p): Remove dead code.
4906 2014-01-22  Glenn Morris  <rgm@gnu.org>
4908         * version.el (emacs-bzr-version-bzr): Fix typo.
4910         * version.el (emacs-repository-get-version):
4911         Check either .bzr or .git, but not both.
4912         Make the git case actually use the DIR argument, and return nil
4913         rather than the empty string.
4914         Avoid error if .git exists but the git executable is not found.
4916 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4918         Fixes in window size functions around Bug#16430 and Bug#16470.
4919         * window.el (window-total-size, window-size): New argument ROUND.
4920         (window--min-delta-1, window-min-delta, window--max-delta-1):
4921         Be more conservative when calculating the numbers of lines or
4922         columns a window can shrink (Bug#16430).
4923         (fit-window-to-buffer): Simplify code.
4924         * term.el (term-window-width): Call window-body-width again.
4926 2014-01-22  Glenn Morris  <rgm@gnu.org>
4928         * image.el (image-format-suffixes): Doc fix.
4930         * international/quail.el (quail-define-package): Doc fix.
4932         * emacs-lisp/authors.el (authors-valid-file-names)
4933         (authors-renamed-files-alist): Additions.
4935         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4936         reverts 2014-01-09 change.  (Bug#16422)
4938         * calc/calc-embed.el (thing-at-point-looking-at):
4939         * emacs-lisp/map-ynp.el (x-popup-dialog):
4940         * obsolete/lmenu.el (x-popup-dialog):
4941         * emacs-lisp/package.el (url-recreate-url):
4942         * mail/mailclient.el (clipboard-kill-ring-save):
4943         * subr.el (x-popup-dialog): Update declaration.
4944         * mail/rmail.el (rmail-mime-message-p):
4945         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4947 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4949         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4950         Correctly detect when we're inside an arithmetic expansion form
4951         containing nested parenthesis.
4952         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4953         to detect cases where we shouldn't expand "<<" to a heredoc
4954         skeleton.
4956 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4958         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4959         (eldoc--message-command-p): New function.
4960         (eldoc-display-message-p): Use it.
4961         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4962         message is not automatically erased for us.
4963         (eldoc-print-current-symbol-info): Erase previous message, if any.
4965 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4967         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4968         specify it's an interactive function.
4970         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4971         Fix regex used for scanning for citation keys which failed for
4972         citations with optional arguments.
4974 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4976         * simple.el (read--expression): Don't enable eldoc-mode.
4978 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         * simple.el (move-beginning-of-line): Make sure we don't move forward
4981         (bug#16497).
4983 2014-01-20  Juri Linkov  <juri@jurta.org>
4985         * saveplace.el (toggle-save-place, save-place-to-alist)
4986         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4987         'dired-mode) before checking for dired-directory.  (Bug#16477)
4989 2014-01-20  Juri Linkov  <juri@jurta.org>
4991         * indent.el (indent-line-to): Use backward-to-indentation
4992         instead of back-to-indentation.  (Bug#16461)
4994 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4996         Revert some of the CANNOT_DUMP fix (Bug#16494).
4997         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4998         but fixing this can wait until after the next release.
4999         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5001 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
5003         * eshell/esh-mode.el (eshell-password-prompt-regexp):
5004         Use `password-word-equivalents'.
5005         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5006         to t.  (Bug#5664, Bug#13124)
5008 2014-01-19  Alan Mackenzie  <acm@muc.de>
5010         Bind open-paren-in-column-0-is-defun-start to nil at some entry
5011         points.
5012         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5013         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5014         * progmodes/cc-mode.el (c-before-change, c-after-change)
5015         (c-font-lock-fontify-region): Bind it here.
5017 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
5019         * term.el (term-window-width): Call window-text-width instead of
5020         window-width (Bug#16470).
5022 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
5024         * simple.el (password-word-equivalents): Remove duplicates.
5025         Sort, to make this easier next time.
5026         Downcase.  Omit ": " after "jelszó".
5028 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
5030         * term/common-win.el (saved-region-selection): Defvar it.
5031         (x-select-text): Set saved-region-selection (Bug#16382).
5033 2014-01-18  Glenn Morris  <rgm@gnu.org>
5035         * emacs-lisp/authors.el (authors-aliases)
5036         (authors-renamed-files-alist): Add some entries.
5038 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
5040         * net/tramp.el (tramp-password-prompt-regexp):
5041         Use `password-word-equivalents' if available.
5042         (tramp-action-password, tramp-process-one-action)
5043         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
5045 2014-01-17  Chong Yidong  <cyd@gnu.org>
5047         * simple.el (password-word-equivalents): New defcustom.
5048         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
5049         to 24.4.
5050         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5051         to t.  (Bug#13124)
5053 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
5055         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5056         (ruby-align-to-stmt-keywords): Change the default value.
5057         Use `ruby-alignable-keywords' to generate the possible customization
5058         choices.
5059         (ruby-smie-rules): Instead of using a hardcoded list of alignable
5060         keywords, check against the value of `ruby-alignable-keywords'
5061         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5063 2014-01-17  Glenn Morris  <rgm@gnu.org>
5065         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5067         Make M-x authors return zero *Authors Errors* from current logs.
5068         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5069         (authors-ignored-files): Add some entries, remove others.
5070         (authors-ambiguous-files, authors-valid-file-names):
5071         Add some entries.
5072         (authors-renamed-files-alist): Add, remove, and adjust entries.
5073         (authors-renamed-files-regexps): Add some entries.
5074         Remove some very broad ones.  Make some entries `lax'.
5075         (authors-lax-changelogs): New constant.
5076         (authors-disambiguate-file-name): Treat top-level specially.
5077         (authors-lax-changelog-p): New function.
5078         (authors-canonical-file-name): Check file as written against
5079         authors-valid-file-names.  Do not special-case etc/.
5080         Handle `lax' logs and authors-renamed-files-regexps elements.
5082 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
5084         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5085         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
5086         callers.
5088 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5090         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5091         Assume we're already in the proper buffer.
5092         Inspired by Anders Lindgren <andlind@gmail.com>.
5093         (follow-post-command-hook): Call it from the right buffer.
5094         (follow-comint-scroll-to-bottom): Adjust call.
5095         (follow-all-followers): Use get-buffer-window-list.
5097 2014-01-15  Daniel Colascione  <dancol@dancol.org>
5099         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5100         `buffer-file-name' in interactive-form so that we don't leave
5101         pathless file names in `file-name-history'.
5103 2014-01-15  Juri Linkov  <juri@jurta.org>
5105         * indent.el (indent-rigidly): Set deactivate-mark to nil
5106         in transient indentation mode.  (Bug#16438)
5108 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
5110         * emacs-lisp/package.el (package-desc-keywords): New function
5111         (Bug#16222).
5112         (describe-package-1, package-all-keywords)
5113         (package--has-keyword-p): Use it.
5115 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5117         * simple.el (define-alternatives): When creating the
5118         COMMAND-alternatives variable, assign COMMAND as its definition
5119         name so that `describe-variable' can relocate it.
5121 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
5123         * font-lock.el (font-lock-keywords): Fix typo in docstring
5124         (bug#16307).
5126 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5128         * ispell.el (ispell-region): Reset `in-comment' for new line
5129         instead of wrongly reset `add-coment' (bug#13577).
5131 2014-01-14  Daiki Ueno  <ueno@gnu.org>
5133         * epa-file.el (epa-file-write-region): Encode the region according
5134         to `buffer-file-format'.  Problem reported at:
5135         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
5137 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5139         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
5140         so it applies in the right buffer (bug#16410).
5142 2014-01-13  Daniel Colascione  <dancol@dancol.org>
5144         * textmodes/rst.el (rst-define-key): Provide deprecated
5145         keybindings through named functions instead of anonymous ones so
5146         that "??" doesn't appear in describe-mode output.
5148 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5150         * simple.el (define-alternatives): Call the selected command
5151         interactively.  When setting `COMMAND--implementation' for the
5152         first time, tell the user how to chose another implementation.
5153         Enhance the docstring.
5155 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5157         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
5158         (log-edit--match-first-line): New function.
5159         (log-edit-font-lock-keywords): Use it.
5160         (log-edit-mode): Make jit-lock-defer-multiline work.
5162 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5164         * rect.el (rectangle-mark-mode): When the region is not active,
5165         display a message saying that the mark as been set and that
5166         rectangle mode is in use.
5167         (rectangle--highlight-for-redisplay): Only put an overlay with a
5168         visible vertical bar when (display-graphic-p) is non-nil.
5169         This partially fixes Bug#16403.
5171 2014-01-13  Juri Linkov  <juri@jurta.org>
5173         * info.el (Info-find-file): Go to DIR before displaying the error
5174         about a nonexistent file if no previous Info file is visited.
5175         Use `user-error' instead of `error' for "Info file %s does not exist".
5176         (Info-find-node-2): In case of a nonexistent node in unwind forms
5177         go to the Top node if there is no previous node to revert to.
5178         (Bug#16405)
5180 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
5182         fit-frame/window-to-buffer code fixes including one for Bug#14096.
5183         * window.el (fit-frame-to-buffer): Fix doc-string.
5184         Respect window-min-height/-width.  Fit pixelwise when
5185         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
5186         when avoiding that frame goes partially off-screen.
5187         (fit-window-to-buffer): Respect window-min-height/-width
5188         (Bug#14096).
5190 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5192         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
5193         after an empty line.
5195 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5197         * net/shr.el (shr-render-region): Autoload.
5199 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
5201         * net/eww.el (eww-download-directory): Rename from
5202         `eww-download-path' (Bug#16419).
5204 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5206         * dired-x.el (dired-mode-map): Fix last change.
5208         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
5210 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
5212         Spelling fixes.
5213         * emacs-lisp/generic.el (generic--normalize-comments):
5214         Rename from generic--normalise-comments.  All uses changed.
5215         * play/bubbles.el (bubbles--neighborhood-score)
5216         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
5217         (bubbles--neighborhood-available)
5218         (bubbles--update-neighborhood-score):
5219         Rename from names with 'neighbourhood'.  All uses changed.
5221 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5223         Re-implement the feature of showing eldoc info after editing.
5224         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
5225         (eldoc-edit-message-commands): New function.
5226         (eldoc-print-after-edit): New variable.
5227         (eldoc-pre-command-refresh-echo-area): Emit message only by
5228         eldoc-message-commands.
5229         (eldoc-mode): Restrict eldoc-message-commands to editing commands
5230         if eldoc-print-after-edit is set.  (Bug#16346)
5231         * simple.el (read--expression): Enable eldoc-mode.
5232         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
5234 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
5235             Eric S. Raymond  <esr@thyrsus.com>
5237         * version.el (emacs-repository-get-version): Enhance so the
5238         function works correctly in either a Bazaar or Git repo.
5240 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
5242         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5243         Goes with removal of the joke manpages from /etc.
5245 2014-01-10  Kenichi Handa  <handa@gnu.org>
5247         * mail/rmail.el (rmail-get-coding-system):
5248         Check rmail-get-coding-function before "funcall"ing it.
5250 2014-01-10  Glenn Morris  <rgm@gnu.org>
5252         * emacs-lisp/authors.el (authors-fixed-entries):
5253         Update for files that no longer exist.
5255 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
5257         * version.el (emacs-bzr-get-version): Restore compatibilty with
5258         24.3 (Tested).
5260 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
5262         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5263         and Podfile.
5265 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
5267         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5269 2014-01-10  Chong Yidong  <cyd@gnu.org>
5271         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5273 2014-01-10  Anders Lindgren  <andlind@gmail.com>
5275         * follow.el (follow-cache-command-list): Include right-char and
5276         left-char.
5278 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5280         Spelling fixes.
5281         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5282         * woman.el (woman-mark-horizontal-position):
5283         Rename from woman-mark-horizonal-position.  Use changed.
5285 2014-01-10  Glenn Morris  <rgm@gnu.org>
5287         * info.el (info-initialize): If running uninstalled, ensure our
5288         own info files are always found first, even if INFOPATH is set.
5290         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5292 2014-01-09  David Engster  <deng@randomsample.de>
5294         * emacs-lisp/eieio-custom.el:
5295         * emacs-lisp/eieio-opt.el: Set generated autoload file to
5296         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5297         * emacs-lisp/eieio.el: Regenerate autoloads.
5299 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
5301         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5302         following renames.  (Bug#8756)
5304 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5306         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5307         (bug#16382).
5308         (activate-mark): Add `no-tmm' argument.
5309         (set-mark, push-mark-command): Use it instead of running
5310         activate-mark-hook by hand.
5312 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
5314         In preparation for the move to git, sanitize out some
5315         Bazaar-specific names.
5317         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5319         * version.el (emacs-bzr-version): Name changed to
5320         emacs-repository-version.  Obsolete-variable alias made.
5321         * loadup.el: Follow through on this name change.
5322         * mail/emacsbug.el (report-emacs-bug): Factor out any
5323         assumption about the version control system in use.
5325 2014-01-08  David Engster  <deng@randomsample.de>
5327         * help-fns.el (help-fns-describe-function-functions):
5328         New variable to call functions for augmenting help buffers.
5329         (describe-function-1): Remove explicit calls to
5330         `help-fns--compiler-macro', `help-fns--parent-mode' and
5331         `help-fns--obsolete'.  Put them in above new variable instead, and
5332         call them through `run-hook-with-args'.
5333         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5334         `eieio-describe-class'.  Not meant for interactive use anymore,
5335         but to augment existing help buffers.  Remove optional second
5336         argument.  Create proper button for file location.
5337         Rewrite function to use `insert' instead of `princ' and `prin1' where
5338         possible.
5339         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5340         (eieio-method-def, eieio-class-def): Move further up.
5341         (describe-method, describe-generic, eieio-describe-method):
5342         Remove aliases.
5343         (eieio-help-constructor, eieio-help-generic): Rename from
5344         `eieio-describe-constructor' and `eieio-describe-generic', resp.
5345         Rewrite to use `insert' in the current buffer and use proper help
5346         buttons.
5347         (eieio-help-find-method-definition)
5348         (eieio-help-find-class-definition): Also accept symbols as
5349         arguments.
5350         (eieio-help-mode-augmentation-maybee): Remove.
5351         (eieio-describe-class-sb): Use `describe-function'.
5352         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5353         Add `eieio-help-generic' and `eieio-help-constructor'.
5355 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
5357         Spelling fixes.
5358         * language/china-util.el (hz-ascii-designation):
5359         Rename from hz-ascii-designnation.
5360         (hz-ascii-designation): Rename from hz-ascii-designnation.
5361         All uses changed.
5363 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5365         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5366         package-alist.
5368 2014-01-08  Bastien Guerry  <bzg@gnu.org>
5370         * emacs-lisp/package.el (package-delete):
5371         Correctly delete the package from package-alist.
5373 2014-01-08  Daiki Ueno  <ueno@gnu.org>
5375         * emacs-lisp/package.el (url-recreate-url): Declare.
5376         (url-http-target-url): Declare.
5377         (package-handle-response): Include requested URL in the error message.
5378         (package--check-signature): Don't re-signal errors from
5379         package--with-work-buffer.  Suggested by Stefan Monnier.
5381 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5383         * minibuffer.el (completion--try-word-completion): When both a
5384         hyphen and a space are possible candidates for the character
5385         following a word, display both candidates.  (Bug#15980)
5387 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
5389         * window.el (balance-windows-2): While rounding don't give a
5390         window more than the remainder.  Bug#16351, bug#16383.
5392 2014-01-07  Glenn Morris  <rgm@gnu.org>
5394         * menu-bar.el (menu-bar-help-extra-packages): Remove.
5395         (menu-bar-help-menu): Use view-external-packages instead.
5397 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5399         * emacs-lisp/package.el (package-delete): Also delete the package
5400         name from `package-alist', not its description only.
5402 2014-01-07  Glenn Morris  <rgm@gnu.org>
5404         * help.el (view-external-packages):
5405         * menu-bar.el (menu-bar-help-extra-packages):
5406         Visit efaq.info rather than etc/MORE.STUFF.
5408 2014-01-07  Juri Linkov  <juri@jurta.org>
5410         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5411         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
5413         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5414         that shadows RET.  (Bug#16342)
5416 2014-01-07  Chong Yidong  <cyd@gnu.org>
5418         * isearch.el (isearch-yank-char, isearch-yank-word)
5419         (isearch-yank-line): Doc fix.
5421 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5423         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5424         * emacs-lisp/elint.el (elint-find-builtins):
5425         * emacs-lisp/eldoc.el (eldoc-symbol-function):
5426         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5427         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5428         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5429         * apropos.el (apropos-safe-documentation):
5430         * subr.el (symbol-file): Remove redundant fboundp.
5431         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5433 2014-01-06  Bastien Guerry  <bzg@gnu.org>
5435         * hl-line.el (global-hl-line-overlay): Make a local variable.
5436         (global-hl-line-overlays): New variable to store all overlays.
5437         (global-hl-line-mode): Don't delete overlays from the current
5438         buffer when `global-hl-line-sticky-flag' is non-nil.
5439         (global-hl-line-highlight): Add new overlays to
5440         `global-hl-line-overlays'.
5441         (global-hl-line-unhighlight-all): New function to delete all
5442         overlays when turning off `global-hl-line-mode'.
5443         This fixes Bug#16183.
5445 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5447         * subr.el (set-transient-map): Fix nested case and docstring.
5449 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
5451         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5452         `Texinfo' entry.
5454 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5456         Fix defun navigation in vc log view.
5458         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5459         like `beginning-of-defun'.
5460         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5461         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
5462         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5463         (log-view-extract-comment): Call `log-view-current-entry' directly
5464         instead of relying on broken `log-view-beginning-of-defun' behavior.
5466 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
5468         Spelling fixes.
5469         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5470         * emacs-lisp/debug.el (cancel-debug-on-entry):
5471         * epg.el (epg-error-to-string):
5472         * files.el (recover-file):
5473         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5474         * mail/emacsbug.el (report-emacs-bug-hook):
5475         * mail/sendmail.el (mail-recover):
5476         * ses.el (ses-yank-resize):
5477         * term/ns-win.el (ns-print-buffer):
5478         Spelling fixes in diagnostics, mostly for "canceled" with one L.
5479         * epg.el (epg-key-capability-alist): Rename from misspelled version.
5480         All uses changed.
5481         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5483 2014-01-06  Leo Liu  <sdl.web@gmail.com>
5485         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5486         to avoid shadowing global key.  (Bug#16354)
5488 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5490         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5491         rst-mode.
5493 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
5495         * window.el (balance-windows): Add mising t to fix Bug#16351.
5497 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5499         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5500         (bug#16285).
5501         (shr-insert): If we have a word that's longer than `shr-width',
5502         break after it anyway.  Otherwise we'll do no breaking once we get
5503         such a long word.
5505 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5507         * net/eww.el (eww): Support single/double quote for search.
5508         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5509         (eww-history-quit): Delete and use quit-window.
5510         (eww-history-kill): Delete, because it doesn't work well and
5511         not necessary.
5512         (eww-history-mode-map): Delete some keys and add easy-menu.
5514 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5516         Fix misspelling of 'chinese' in rx (Bug#16237).
5517         * emacs-lisp/rx.el (rx-categories): Correct spelling of
5518         chinese-two-byte.
5520         Change subword regexps back to vars (Bug#16296).
5521         * progmodes/subword.el (subword-forward-regexp)
5522         (subword-backward-regexp): Change these back to variables.
5524 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5526         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5527         syntax-begin-function (bug#16247).
5529 2014-01-03  Chong Yidong  <cyd@gnu.org>
5531         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5532         (advice--docstring): Delete variable.
5533         (advice--make-1): Leave the docstring empty.
5534         (advice-add): Use function-documentation for advised docstring.
5536         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5537         Ignore function-documentation property when getting documentation.
5538         (ad-activate-advised-definition): Use function-documentation
5539         generate the docstring.
5540         (ad-make-advised-definition): Don't call
5541         ad-make-advised-definition-docstring.
5542         (ad-make-advised-definition-docstring, ad-advised-definition-p):
5543         Delete functions.
5545         * progmodes/sql.el (sql-help): Use function-documentation instead
5546         of dynamic-docstring-function property.  No need to autoload now.
5547         (sql--help-docstring): New variable.
5548         (sql--make-help-docstring): Use it.
5550 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5552         * ielm.el (ielm-tab): Retarget.
5553         (ielm-map): Use ielm-tab for tab.
5554         (ielm-complete-filename): Use comint-filename-completion.
5555         (ielm-complete-symbol): Remove.
5556         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5557         remove ielm-tab from completion-at-point-functions (bug#16224).
5559         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5560         Beware signals raised by predicates (bug#16201).
5562 2014-01-02  Richard Stallman  <rms@gnu.org>
5564         * dired-aux.el (dired-do-print): Handle printer-name.
5566         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5567         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5568         (rmail-epa-decrypt): Turn off mime processing.
5570         * mail/rmail.el (rmail-make-in-reply-to-field):
5571         Add parens in message-id.
5573         * mail/rmail.el (rmail-get-coding-function): Variable.
5574         (rmail-get-coding-system): Use it.
5576 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
5578         * international/mule-conf.el: Unify the charset indian-is13194.
5579         (indian-is13194): Specify unify-map.
5581 2013-12-31  Leo Liu  <sdl.web@gmail.com>
5583         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
5585 2013-12-30  Daniel Colascione  <dancol@dancol.org>
5587         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5588         of printing a useless when we resume from sleep.
5590         * progmodes/sh-script.el
5591         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5592         in indentation code.  (Bug#16233)
5594 2013-12-28  João Távora  <joaotavora@gmail.com>
5596         * elec-pair.el (electric-pair-post-self-insert-function):
5597         Don't open extra newlines at beginning of buffer.  (Bug#16272)
5599 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
5601         * frame.el (window-system-for-display): Don't allow to create a
5602         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
5604 2013-12-28  Glenn Morris  <rgm@gnu.org>
5606         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5607         Update callers.
5609         * apropos.el (apropos-match-face):
5610         * calculator.el (calculator-displayer):
5611         * dabbrev.el (dabbrev-search-these-buffers-only):
5612         * face-remap.el (buffer-face-mode-face):
5613         * simple.el (yank-handled-properties):
5614         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5615         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5616         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5617         (hashcash-double-spend-database):
5618         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5619         (ruby-deep-indent-paren-style):
5620         * textmodes/flyspell.el (flyspell-auto-correct-binding):
5621         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5622         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5623         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5624         Specify custom types.
5626         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5627         * bookmark.el (bookmark-bmenu-use-header-line):
5628         * doc-view.el (doc-view-scale-internally):
5629         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5630         * register.el (register-preview-delay):
5631         * net/shr.el (shr-bullet):
5632         * progmodes/cfengine.el (cfengine-cf-promises)
5633         (cfengine-parameters-indent):
5634         * progmodes/octave.el (inferior-octave-error-regexp-alist):
5635         * textmodes/reftex-vars.el (reftex-label-regexps):
5636         * vc/log-edit.el (log-edit-setup-add-author): Add version.
5638         * net/tls.el (tls-certtool-program): Fix default value.
5640         * desktop.el (desktop-restore-in-current-display):
5641         * newcomment.el (comment-empty-lines):
5642         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5643         (idlwave-pad-keyword):
5644         * progmodes/tcl.el (tcl-tab-always-indent):
5645         * textmodes/reftex-vars.el (reftex-index-default-tag):
5646         * elec-pair.el (electric-pair-skip-whitespace):
5647         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5649         * emacs-lisp/authors.el (authors-ignored-files)
5650         (authors-valid-file-names, authors-renamed-files-alist): Additions.
5652 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
5654         * shell.el (shell-dynamic-complete-command): Doc fix.
5655         (shell--command-completion-data): Shell completion now matches
5656         executable filenames from the current buffer's directory, on
5657         systems in which this behavior is the default (windows-nt, ms-dos).
5659 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5661         * net/shr.el (shr-insert): Don't infloop if the width is zero.
5663 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5665         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5666         (bug#16251).
5668         * electric.el: Move all electric-pair-* to elec-pair.el.
5669         * elec-pair.el: New file, split from electric.el.
5671 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5673         * net/shr.el (shr-find-fill-point): Don't try to fill if the
5674         indentation level is larger than the width, because that will
5675         infloop.
5676         (shr-insert): Fill repeatedly long texts, so that Japanese is
5677         formatted correctly (bug#16263).
5678         (shr-find-fill-point): Off by one error in comparison with the
5679         indentation.
5681 2013-12-26  João Távora  <joaotavora@gmail.com>
5683         * electric.el (electric-pair-mode): More flexible engine for skip-
5684         and inhibit predicates, new options for pairing-related functionality.
5685         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5686         if that keeps or improves their balance in buffers.
5687         (electric-pair-delete-adjacent-pairs): Delete the pair when
5688         backspacing over adjacent matched delimiters.
5689         (electric-pair-open-extra-newline): Open extra newline when
5690         inserting newlines between adjacent matched delimiters.
5691         (electric--sort-post-self-insertion-hook):
5692         Sort post-self-insert-hook according to priority values when
5693         minor-modes are activated.
5694         * simple.el (newline-and-indent): Call newline with interactive
5695         set to t.
5696         (blink-paren-post-self-insert-function): Set priority to 100.
5697         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5698         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5699         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
5700         electric-pair-open-newline-between-pairs to nil.
5702 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5704         * progmodes/python.el: Use lexical-binding.
5705         (python-nav-beginning-of-defun): Stop searching ASAP.
5707 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
5709         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5710         Fix interactive spec.  Doc fix.  (Bug#15754)
5712 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
5714         * emacs-lisp/byte-run.el (eval-when-compile):
5715         * progmodes/cc-defs.el (cc-eval-when-compile):
5716         Fix edebug spec (bug#16184).
5718 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5720         * net/shr.el (shr-visit-file): Remove debugging function.
5721         (shr-insert): Don't infloop if we can't find a good place to break
5722         the line (bug#16256).
5724 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5726         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5727         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
5728         python-nav-lisp-forward-sexp-safe.
5729         (python-nav--forward-sexp): New argument SAFE allows switching
5730         forward sexp movement behavior for parens.
5731         (python-nav-forward-sexp): Throw errors on unterminated parens
5732         (Bug#16191).
5733         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5734         (python-nav-backward-sexp-safe): New functions.
5735         (python-shell-buffer-substring):
5736         Use `python-nav-forward-sexp-safe'.
5738 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5740         * net/shr.el (shr-find-fill-point): Don't break lines before a
5741         quotation mark.
5742         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5743         (shr-find-fill-point): Remove the special checks for the quotation
5744         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5746 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5748         * net/eww.el (eww-form-textarea): Use a different face for
5749         textareas than text input since they have different keymaps
5750         (bug#16142).
5752 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5754         * progmodes/python.el (python-nav-beginning-of-statement):
5755         Speed up (Bug#15295).
5757 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5759         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5760         the window configuration.
5762 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
5764         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5765         we run on MS-Windows or MS-DOS.
5767 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
5769         * window.el (balance-windows-area): Call window-size instead of
5770         window-height and window-width.  Bug#16241.
5772 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5774         * net/eww.el (eww-bookmark-quit): Remove.
5775         (eww-bookmark-browse): Restore the window configuration when you
5776         choose a bookmark (bug#16144).
5778 2013-12-24  Daniel Colascione  <dancol@dancol.org>
5780         * icomplete.el: Remove redundant :group arguments to `defcustom'
5781         throughout.
5782         (icomplete-show-matches-on-no-input): New customizable variable.
5783         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5784         we have something to show.
5785         (icomplete-exhibit): Compute completions even if we have no user input.
5787 2013-12-23  Daniel Colascione  <dancol@dancol.org>
5789         * icomplete.el: Move `provide' to end of file.
5791 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
5793         * net/gnutls.el (gnutls-verify-error): Add version tag.
5795 2013-12-23  Chong Yidong  <cyd@gnu.org>
5797         * subr.el (set-transient-map): Rename from
5798         set-temporary-overlay-map.  Doc fix.
5800         * face-remap.el (text-scale-adjust):
5801         * indent.el (indent-rigidly):
5802         * kmacro.el (kmacro-call-macro):
5803         * minibuffer.el (minibuffer-force-complete):
5804         * repeat.el (repeat):
5805         * simple.el (universal-argument--mode):
5806         * calendar/todo-mode.el (todo-insert-item--next-param):
5807         * progmodes/f90.el (f90-abbrev-start): Callers changed.
5809         * indent.el (indent-rigidly): Use substitute-command-keys.
5811 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5813         * net/eww.el (eww-tag-select): Add text-property to jump to next
5814         select field.
5815         (eww): Add non-supported ftp error.
5817 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5819         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5820         comments.  Handle electric indent after typing `?' and `!'.
5822 2013-12-22  Chong Yidong  <cyd@gnu.org>
5824         * faces.el (face-spec-recalc): If the theme specs are not
5825         applicable to a frame, fall back on the defface spec.
5826         This prevents themes from obliterating faces on low-color terminals.
5828 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5830         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5831         after `{'.  We need it after block openers, and it doesn't seem
5832         to hurt after hash openers.
5834 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5836         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5837         extracted from `ruby-smie-rules'.
5838         (ruby--electric-indent-chars): New variable.
5839         (ruby--electric-indent-p): New function.
5840         (ruby-mode): Use `electric-indent-functions' instead of
5841         `electric-indent-chars'.
5843 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5845         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5846         docstring.
5847         (ruby-smie-rules): Indent plus one level after `=>'.
5849 2013-12-21  Richard Stallman  <rms@gnu.org>
5851         * simple.el (newline): Doc fix.
5853 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5855         * net/eww.el (eww-list-histories, eww-list-histories)
5856         (eww-history-browse, eww-history-quit, eww-history-kill)
5857         (eww-history-mode-map, eww-history-mode): New command and
5858         functions to list browser histories.
5859         (eww-form-text): Support text form with disabled
5860         and readonly attributes.
5861         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5863 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5865         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5866         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5867         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5868         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5869         Use `user-error'.
5870         (eww-bookmark-mode-map): Add menu.
5871         (eww-render, eww-mode): Use `setq-local'.
5872         (eww-tool-bar-map): New variable.
5873         (eww-mode): Set `tool-bar-map'.
5874         (eww-view-source): Check for `html-mode' with `fboundp'.
5876 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5878         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5879         elements with text inside.  Also remove debugging.
5881 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5883         * cus-start.el (all): Add ns-use-srgb-colorspace.
5885 2013-12-21  Chong Yidong  <cyd@gnu.org>
5887         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5888         undefined.  Thus, theme settings for undefined faces do not take
5889         effect until the faces are defined with defface, the same as with
5890         theme variables.
5892         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5893         (face-spec-reset-face): Don't assign extra properties in temacs.
5894         (face-spec-recalc): Apply X resources too.
5896 2013-12-21  Chong Yidong  <cyd@gnu.org>
5898         * faces.el (face-spec-set):
5899         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5900         * custom.el (defface): Doc fixes (Bug#16203).
5902         * indent.el (indent-rigidly-map): Add docstring, and move commands
5903         into named functions.
5904         (indent-rigidly-left, indent-rigidly-right)
5905         (indent-rigidly-left-to-tab-stop)
5906         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5907         indentation direction based on bidi direction, and accumulate
5908         sequential commands in a single undo boundary.
5909         (indent-rigidly--pop-undo): New utility function.
5911 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5913         * faces.el (read-face-name): Require crm.el when using crm-separator.
5915 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5917         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5918         so that we don't reflow comments into the shebang line.
5920 2013-12-20  Juri Linkov  <juri@jurta.org>
5922         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5923         a position when `dired-directory' is non-nil.  Check integer
5924         positions with `integerp'.
5925         (toggle-save-place, save-places-to-alist): Add check for
5926         `dired-directory'.
5927         (save-place-find-file-hook): Check integer positions with
5928         `integerp'.
5929         (save-place-dired-hook): Use `dired-goto-file' when
5930         `dired-filename' is found in the assoc list.  Check integer
5931         positions with `integerp'.
5932         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5934         * dired.el (dired-initial-position-hook): Rename back from
5935         `dired-initial-point-hook'.
5936         (dired-initial-position): Rename `dired-initial-point-hook' to
5937         `dired-initial-position-hook'.
5938         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5940 2013-12-20  Juri Linkov  <juri@jurta.org>
5942         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5943         (read-regexp-suggestions): New function.
5944         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5945         Use `read-regexp-suggestions'.  Add non-empty default to history
5946         for empty input.
5947         (occur-read-regexp-defaults-function): Remove function.
5948         (occur-read-primary-args): Use `regexp-history-last' instead of
5949         `occur-read-regexp-defaults-function'.
5951         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5952         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5953         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5954         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5955         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5956         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5957         (hi-lock-read-regexp-defaults): Remove function.
5958         (hi-lock-regexp-okay): Add check for null.
5960         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5961         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5963         * subr.el (find-tag-default-as-symbol-regexp): New function.
5964         (find-tag-default-as-regexp): Move symbol regexp formatting to
5965         `find-tag-default-as-symbol-regexp'.
5967 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5969         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5970         (Bug#14179)
5972 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5974         * calendar/todo-mode.el: New implementation of item insertion
5975         commands and key bindings.
5976         (todo-key-prompt): New face.
5977         (todo-insert-item): New command.
5978         (todo-insert-item--parameters): New defconst, replacing defvar
5979         todo-insertion-commands-args-genlist.
5980         (todo-insert-item--param-key-alist): New defconst, replacing
5981         defvar todo-insertion-commands-arg-key-list.
5982         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5983         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5984         (todo-insert-item--next-param): New functions.
5985         (todo-insert-item--args, todo-insert-item--argleft)
5986         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5987         New variables.
5988         (todo-key-bindings-t): Change binding of "i" from
5989         todo-insertion-map to todo-insert-item.
5990         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5991         (todo-insertion-command-name, todo-insertion-commands-names)
5992         (todo-define-insertion-command, todo-insertion-commands)
5993         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5995 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5997         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5998         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5999         eval-when-compile.
6000         (todo-move-category): Allow choosing a non-existing todo file to
6001         move the category to, and create that file.
6002         (todo-default-priority): New user option.
6003         (todo-set-item-priority): Use it.
6004         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6005         (desktop-restore-file-buffer): Declare.
6006         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6007         (todo-modes-set-2): Locally set desktop-save-buffer to
6008         todo-desktop-save-buffer.
6009         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6010         (auto-mode-alist): Add autoload cookie.
6012 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
6014         * emacs-lisp/subr-x.el: Renamed from helpers.el.
6015         helpers.el was a poor choice of name.
6016         (string-remove-prefix): New function.
6017         (string-remove-suffix): New function.
6019 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
6021         Fix assignment for new window total sizes.
6022         * window.el (window--pixel-to-size): Remove function.
6023         (window--pixel-to-total-1, window--pixel-to-total):
6024         Fix calculation of new total sizes.
6026 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
6028         * comint.el (comint-output-filter): Fix rear-nonsticky property
6029         placement (Bug#16010).
6031 2013-12-20  Chong Yidong  <cyd@gnu.org>
6033         * faces.el (read-color): Minor fix for completion function.
6035 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
6037         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6038         New option.  (Bug#16182)
6039         (ruby-smie--indent-to-stmt-p): Use it.
6040         (ruby-smie-rules): Revert the logic in the handling of `when'.
6041         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6042         (ruby-deep-arglist, ruby-deep-indent-paren)
6043         (ruby-deep-indent-paren-style): Update docstrings to note that the
6044         vars don't have any effect with SMIE.
6046 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
6048         * calc/calc.el (calc-enter, calc-pop): Use the variable
6049         `calc-context-sensitive-enter'.
6051 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6053         * net/shr.el (shr-insert): Protect against infloops in degenerate
6054         tables.
6056 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6058         * progmodes/octave.el (octave): Add link to manual and octave
6059         homepage.
6060         (octave-mode-menu): Link to octave-mode manual.
6062 2013-12-20  Leo Liu  <sdl.web@gmail.com>
6064         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6065         insertion using skeleton-end-newline.  (Bug#16138)
6067 2013-12-20  Juri Linkov  <juri@jurta.org>
6069         * replace.el (occur-engine): Use `add-face-text-property'
6070         to add the face property to matches and titles.  (Bug#14645)
6072         * hi-lock.el (hi-green): Use lighter color "light green" closer to
6073         the palette of other hi-lock colors.
6074         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6076 2013-12-19  Juri Linkov  <juri@jurta.org>
6078         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6079         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
6080         (minibuffer-history-symbol): Move variable declaration closer to
6081         its usage.
6083         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6084         (Bug#14785)
6086 2013-12-19  Juri Linkov  <juri@jurta.org>
6088         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6089         New function.
6090         (log-edit-hook): Add it to :options.  (Bug#16170)
6092 2013-12-19  Juri Linkov  <juri@jurta.org>
6094         * simple.el (eval-expression-print-format): Don't check for
6095         command names and the last command.  Always display additional
6096         formats of the integer result in the echo area, and insert them
6097         to the current buffer only with a zero prefix arg.
6098         Display character when char-displayable-p is non-nil.
6099         (eval-expression): With a zero prefix arg, set `print-length' and
6100         `print-level' to nil, and insert the integer values from
6101         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
6103         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6104         `eval-last-sexp-arg-internal'.  Doc fix.
6105         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
6106         `eval-last-sexp-print-value'.  Doc fix.
6107         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
6108         Set `print-length' and `print-level' to nil when arg is zero.
6109         (eval-last-sexp): Doc fix.
6110         (eval-defun-2): Print the integer values from
6111         `eval-expression-print-format' at the end.
6113         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
6114         values from `eval-expression-print-format' at the end.
6116         * ielm.el (ielm-eval-input): Print the integer
6117         values from `eval-expression-print-format' at the end.
6119 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
6121         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
6122         2013-12-11T19:01:44Z!tzz@lifelogs.com.
6124 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6126         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
6127         (hl-line-highlight, global-hl-line-highlight): Use it.
6128         (hl-line-overlay): Use defvar-local.
6130 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
6132         * term/ns-win.el: Require dnd.
6133         (global-map): Remove drag items.
6134         (ns-insert-text, ns-set-foreground-at-mouse)
6135         (ns-set-background-at-mouse):
6136         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
6137         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
6138         New functions.
6140 2013-12-19  Glenn Morris  <rgm@gnu.org>
6142         * emacs-lisp/ert.el (ert-select-tests):
6143         Fix string/symbol mixup.  (Bug#16121)
6145 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6147         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
6148         keywords to their parent.
6150 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6152         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
6153         first arg to be a string (fixed dead code), or an operator symbol.
6154         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6155         operator symbols.
6156         (ruby-smie-rules): Remove parent token check in the `.' clause, it
6157         did nothing.  Don't respond to `(:after ".")', it will be called
6158         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
6159         change anything.  Only return indentation for binary operators
6160         when they are hanging.  De-dent opening paren when its parent is
6161         `.', otherwise it looks bad when the dot is not at bol or eol
6162         (bug#16182).
6164 2013-12-19  Juri Linkov  <juri@jurta.org>
6166         * replace.el (query-replace-read-args): Split a non-negative arg
6167         and a negative arg into separate elements.
6168         (query-replace, query-replace-regexp, replace-string)
6169         (replace-regexp): Add arg `backward'.  Doc fix.
6170         (replace-match-maybe-edit): When new arg `backward' is non-nil,
6171         move point to the beginning of the match.
6172         (replace-search, replace-highlight): Use new arg `backward'
6173         to set the value of `isearch-forward'.
6174         (perform-replace): Add arg `backward' and use it to perform
6175         replacement backward.  (Bug#14979)
6177         * isearch.el (isearch-query-replace): Use a negative prefix arg
6178         to call `perform-replace' with a non-nil arg `backward'.
6180 2013-12-18  Juri Linkov  <juri@jurta.org>
6182         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
6183         to the default list.  Move `log-edit-show-files' to the end.
6184         Add more available functions to options.
6185         (log-edit): Move default specific settings to
6186         `log-edit-insert-message-template'.  Don't move point.
6187         (log-edit-insert-message-template): New function.
6188         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
6189         (Bug#16170)
6191 2013-12-18  Juri Linkov  <juri@jurta.org>
6193         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
6194         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
6196 2013-12-18  Leo Liu  <sdl.web@gmail.com>
6198         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
6199         (Bug#16186)
6201 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
6203         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
6204         formats for displaying file sizes when the -s switch is given.
6205         Instead, compute a separate format for displaying the size in
6206         blocks, which is displayed in addition to the "regular" size.
6207         When -h is given in addition to -s, produce size in blocks in
6208         human-readable form as well.  (Bug#16179)
6210 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
6212         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6213         Reference tables with ~\ref{...} instead of only \ref{...}.
6215 2013-12-18  Chong Yidong  <cyd@gnu.org>
6217         * cus-edit.el (custom-magic-alist): Fix "themed" description
6218         (Bug#14348).
6220         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
6221         is non-nil, do not create a new entry in the symbol's theme-value
6222         or theme-face property; update theme-settings only (Bug#14664).
6223         (custom-available-themes): Doc fix.
6225         * cus-theme.el (custom-new-theme-mode-map): Add bindings
6226         (Bug#15674).
6228         * replace.el (occur-engine): Avoid infloop (Bug#7593).
6230 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
6232         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
6233         (Bug#13914).
6235 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
6237         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
6239 2013-12-18  Glenn Morris  <rgm@gnu.org>
6241         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6242         * cus-start.el (load-prefer-newer): New option.
6244 2013-12-18  Le Wang  <l26wang@gmail.com>
6246         * comint.el (comint-previous-matching-input-from-input):
6247         Retain point (Bug#13404).
6249 2013-12-18  Chong Yidong  <cyd@gnu.org>
6251         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6253 2013-12-18  Glenn Morris  <rgm@gnu.org>
6255         * mail/emacsbug.el (report-emacs-bug):
6256         Only mention enable-multibyte-characters if non-standard.
6258 2013-12-17  Juri Linkov  <juri@jurta.org>
6260         * arc-mode.el (archive-extract-by-file): Check if directory exists
6261         before deletion to not show irrelevant errors if it doesn't exist.
6263 2013-12-17  Juri Linkov  <juri@jurta.org>
6265         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6266         (Bug#14751)
6268         * net/eww.el (browse-web): Add alias to `eww'.
6269         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6270         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
6272         * net/browse-url.el (browse-url-browser-function): Move `eww'
6273         closer to similar functions.
6275         * startup.el (fancy-startup-screen, fancy-about-screen):
6276         Set browse-url-browser-function to eww-browse-url locally.
6277         (Bug#14751)
6279 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6281         * window.el (window--pixel-to-total): Remove unused `mini' var.
6282         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6283         (split-window): Remove unused `new' var.
6284         (window--display-buffer): Remove unused `frame' and `delta' vars.
6285         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6286         and display-width'.
6288 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
6290         * dired.el (dired-mark-pop-up):
6291         * register.el (register-preview): Don't bind
6292         split-height-threshold here since it's now done in
6293         display-buffer-below-selected.
6295 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
6297         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6298         xterm-rgb-convert-to-16bit.
6299         (rxvt-register-default-colors): Standardize with
6300         xterm-register-default-colors (Bug#14078).
6302 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6304         * simple.el (kill-region): Pass mark first, then point, so that
6305         kill-append works right (Bug#12819).
6306         (copy-region-as-kill, kill-ring-save): Likewise.
6308 2013-12-17  Leo Liu  <sdl.web@gmail.com>
6310         * net/rcirc.el (rcirc-add-face):
6311         * eshell/em-prompt.el (eshell-emit-prompt):
6312         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6313         (Bug#16167)
6315 2013-12-17  Chong Yidong  <cyd@gnu.org>
6317         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6318         Suggested by Xue Fuqiao.
6320 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6322         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6324 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6326         * net/shr.el (shr-insert-document): Remove unused var
6327         `shr-preliminary-table-render'.
6328         (shr-rescale-image): Remove unused arg `force'.
6329         (shr-put-image): Update calls accordingly.
6330         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6332 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6334         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6335         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6336         :close-all, to see which indentation method to use (Bug#16116).
6337         (smie-rules-function): Document the method :close-all.
6339 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6341         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6343         * net/eww.el (eww-display-html): If we can't find the anchor we're
6344         looking for, then go to point-min.
6346 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
6348         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6349         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6350         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6351         Expand dir too, in case it's relative.
6353 2013-12-16  Juri Linkov  <juri@jurta.org>
6355         * desktop.el (desktop-auto-save-timeout): Change default to
6356         `auto-save-timeout'.  Doc fix.
6357         (desktop-save): Skip the timestamp in desktop-saved-frameset
6358         when checking for auto-save changes.
6359         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6360         `desktop-auto-save' is called repeatedly by the idle timer.
6361         (desktop-auto-save-set-timer): Replace `run-with-timer' with
6362         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
6363         (Bug#15331)
6365 2013-12-16  Juri Linkov  <juri@jurta.org>
6367         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6368         (Bug#16035)
6369         (isearch-pre-command-hook): Check `this-command' for symbolp.
6371 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6373         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6375 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
6377         * progmodes/cfengine.el (cfengine3--current-word): Remove.
6378         (cfengine3--current-function): Bring in the current-function
6379         functionality from `cfengine3--current-word'.
6380         (cfengine3-completion-function): Bring in the
6381         bounds-of-current-word functionality from
6382         `cfengine3--current-word'.
6384 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
6386         * window.el (display-buffer-below-selected):
6387         Bind split-height-threshold to 0 as suggested by Juri Linkov.
6389 2013-12-16  Leo Liu  <sdl.web@gmail.com>
6391         * progmodes/compile.el (compile-goto-error): Do not push-mark.
6392         Remove NOMSG arg and all uses changed.
6394 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6396         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6397         (cua--deactivate-rectangle): Don't deactivate the mark.
6398         (cua-set-rectangle-mark): Don't set mark-active since
6399         cua--activate-rectangle already does it for us.
6400         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6401         non-rectangular region.
6403         * emulation/cua-base.el (cua-repeat-replace-region):
6404         Use with-current-buffer.
6406         * net/gnutls.el: Use cl-lib.
6407         (gnutls-negotiate): `mapcan' -> cl-mapcan.
6409 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6411         * emacs-lisp/package.el (package-built-in-p): Support both
6412         built-in and the package.el converted package descriptions.
6413         (package-show-package-list): Allow keywords.
6414         (package-keyword-button-action): Use it instead of
6415         `finder-list-matches'.
6416         (package-menu-filter-interactive): Interactive filtering (by
6417         keyword) function.
6418         (package-menu--generate): Support keywords and change keymappings
6419         and headers when they are given.
6420         (package--has-keyword-p): Helper function.
6421         (package-menu--refresh): Use it.
6422         (package--mapc): Helper function.
6423         (package-all-keywords): Use it.
6424         (package-menu-mode-map): Set up menu items and keybindings to
6425         provide a filtering UI.
6427 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6429         * net/gnutls.el (gnutls-verify-error): New defcustom to control
6430         the behavior when a certificate fails validation.  Defaults to
6431         old behavior: never abort, just warn.
6432         (gnutls-negotiate): Use it.
6434 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
6436         * window.el (display-buffer-below-selected): Never split window
6437         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
6439 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6441         * emacs-lisp/package.el (package--prepare-dependencies): New function.
6442         (package-buffer-info): Use it (bug#15108).
6444 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6446         * icomplete.el (icomplete-completions): Make sure the prefix is already
6447         displayed elsewhere before hiding it (bug#16219).
6449 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
6451         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6452         open-paren tokens when preceded by a open-paren, too.
6453         (ruby-smie-rules): Handle virtual indentation after open-paren
6454         tokens specially.  If there is code between it and eol, return the
6455         column where is starts (Bug#16118).
6457 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6459         * progmodes/cfengine.el: Fix `add-hook' doc.
6460         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6461         (cfengine3--current-word): Fix parameters.
6462         (cfengine3-make-syntax-cache): Simplify further.
6463         (cfengine3-completion-function, cfengine3--current-function):
6464         Use `assq' for symbols.
6465         (cfengine3--current-function): Fix `cfengine3--current-word' call.
6467 2013-12-13  Glenn Morris  <rgm@gnu.org>
6469         * loadup.el (load-path): Warn if site-load or site-init changes it.
6470         No more need to reset it when bootstrapping.
6472 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6474         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6475         locations for cf-promises.
6476         (cfengine-mode-syntax-functions-regex): New caching variable.
6477         (cfengine3-fallback-syntax): Fallback syntax for cases where
6478         cf-promises doesn't run.
6479         (cfengine3--current-word): Reimplement using
6480         `cfengine-mode-syntax-functions-regex'.
6481         (cfengine3-completion-function, cfengine3--current-function):
6482         Use `cfengine3-make-syntax-cache' directly.
6483         (cfengine3-clear-syntax-cache): New function.
6484         (cfengine3-make-syntax-cache): Simplify and create
6485         `cfengine-mode-syntax-functions-regex' on demand.
6486         (cfengine3-format-function-docstring): Don't call
6487         `cfengine3-make-syntax-cache' explicitly.
6489 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
6491         Fix windmove-find-other-window broken after pixelwise resizing
6492         (Bug#16017).
6493         * windmove.el (windmove-other-window-loc): Revert change from
6494         2013-12-04.
6495         (windmove-find-other-window): Call window-in-direction.
6496         * window.el (window-in-direction): New arguments SIGN, WRAP and
6497         MINI to emulate original windmove-find-other-window behavior.
6499 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
6501         * simple.el (blink-matching--overlay): New variable.
6502         (blink-matching-open): Instead of moving point, highlight the
6503         matching paren with an overlay
6504         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6506         * faces.el (paren-showing-faces, show-paren-match)
6507         (show-paren-mismatch): Move from paren.el.
6509 2013-12-13  Leo Liu  <sdl.web@gmail.com>
6511         * indent.el (indent-region): Disable progress reporter in
6512         minibuffer.  (Bug#16108)
6514         * bindings.el (visual-order-cursor-movement): Fix version.
6516 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6518         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6519         Also match after beginning of line.
6520         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6521         files.  Thanks to Russell Sim.  (Bug#15378)
6523 2013-12-13  Juri Linkov  <juri@jurta.org>
6525         * simple.el <Keypad support>: Remove key bindings duplicated
6526         with bindings.el.  (Bug#14397)
6528 2013-12-13  Juri Linkov  <juri@jurta.org>
6530         * comint.el (comint-mode-map): Replace `delete-char' with
6531         `delete-forward-char'.  (Bug#16109)
6533 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6535         * progmodes/python.el (python-indent-calculate-indentation):
6536         Fix de-denters cornercase.  (Bug#15731)
6538 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6540         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6541         (advice--make): Pay attention to `depth'.
6542         (advice--make-1): Don't autoload commands eagerly.
6543         * emacs-lisp/elp.el (elp-instrument-function):
6544         * emacs-lisp/trace.el (trace-function-internal):
6545         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6547         * iswitchb.el (iswitchb-mode): Don't belittle ido.
6549 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
6551         * term/w32-win.el (w32-handle-dropped-file):
6552         * startup.el (normal-top-level):
6553         * net/browse-url.el (browse-url-file-url):
6554         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6555         decode file names using 'utf-8' rather than
6556         file-name-coding-system.
6558 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6560         * progmodes/python.el (python-indent-context)
6561         (python-indent-calculate-indentation): Fix auto-identation
6562         behavior for comment blocks.  (Bug#15916)
6564 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6566         * progmodes/python.el (python-indent-calculate-indentation):
6567         When determining indentation, don't treat "return", "pass", etc., as
6568         operators when they are just string constituents.  (Bug#15812)
6570 2013-12-12  Juri Linkov  <juri@jurta.org>
6572         * uniquify.el (uniquify-buffer-name-style): Change default to
6573         `post-forward-angle-brackets'.
6575         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6576         `uniquify'.  Change default to `post-forward-angle-brackets'.
6578 2013-12-11  Glenn Morris  <rgm@gnu.org>
6580         * emacs-lisp/package.el (finder-list-matches):
6581         Autoload rather than falsely declaring.
6583 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
6585         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6586         (eww-mode-map): Use them.
6588 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
6590         * window.el (display-buffer-in-side-window): Fix doc-string
6591         (Bug#16115).
6593 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
6595         * vc/vc-git.el: Silence byte-compiler warnings.
6596         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6597         (log-edit-set-header): Declare.
6599 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
6601         * Makefile.in (custom-deps, finder-data): Run output file names
6602         through unmsys--file-name.  (Bug#16099)
6604 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6606         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6607         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6609         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6610         instead of deleting the selection "by hand" (bug#16098).
6611         Rely on insert-for-yank to yank rectangles.
6612         (cua-highlight-region-shift-only): Mark obsolete.
6613         (cua-mode): Don't enable/disable transient-mark-mode,
6614         shift-select-mode (cua-mode works both with and without them), and
6615         pc-selection-mode (obsolete).
6616         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6617         (cua--deactivate-rectangle): Deactivate it.
6619         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6620         (delete-selection-helper): Make sure yank starts at the top of the
6621         deleted region.
6622         (minibuffer-keyboard-quit): Use region-active-p.
6624         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6626         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6627         to `delete' (bug#16109).
6629 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6631         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6632         info manual and show keybindings and set `:group' keyword.
6634 2013-12-11  Juri Linkov  <juri@jurta.org>
6636         * delsel.el (delete-active-region): Let-bind `this-command'
6637         to prevent `kill-region' from changing its original value.
6638         (delete-selection-helper): Handle `overwrite-mode' for the type
6639         `kill' exactly the same way as for the type `t'.
6640         (insert-char, quoted-insert, reindent-then-newline-and-indent):
6641         Support more commands.  (Bug#13312)
6643 2013-12-11  Juri Linkov  <juri@jurta.org>
6645         * bindings.el: Map kp keys to non-kp keys systematically
6646         with basic modifiers control, meta and shift.  (Bug#14397)
6648 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6650         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6651         "Close browser" menu items.  Fix wrong function of "List
6652         bookmarks".
6654 2013-12-11  Juri Linkov  <juri@jurta.org>
6656         * misearch.el (multi-isearch-buffers): Set the value of
6657         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6658         arg of isearch-forward to t.
6659         (multi-isearch-buffers-regexp): Set the value of
6660         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6661         arg of isearch-forward-regexp to t.
6662         (multi-isearch-files): Set the value of
6663         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6664         arg of isearch-forward to t.
6665         (multi-isearch-files-regexp): Set the value of
6666         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6667         arg of isearch-forward-regexp to t.  (Bug#16035)
6669         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6670         arg of isearch-forward to t.
6671         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6672         arg of isearch-forward-regexp to t.
6673         (dired-isearch-filter-filenames): Remove unnecessary check for
6674         `dired-isearch-filenames'.
6676         * comint.el (comint-history-isearch-backward):
6677         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6678         (comint-history-isearch-backward-regexp):
6679         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6681 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
6683         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6684         unmsys--file-name.  (Bug#16099)
6686 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
6688         * emacs-lisp/package.el (package-keyword-button-action):
6689         Remove finder.el require dependency.
6691 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
6693         * emacs-lisp/package.el: Require finder.el.
6694         (describe-package-1): Add keyword buttons.
6695         (package-make-button): New convenience function.
6696         (package-keyword-button-action): Keyword button action using
6697         `finder-list-matches'.
6699 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
6701         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6702         last commit.
6704 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
6706         * autorevert.el (auto-revert-notify-add-watch): Do not handle
6707         symlinked files.
6709 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6711         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6712         after the end of a percent literal.
6714 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6716         * progmodes/ruby-mode.el (ruby-forward-string): Document.
6717         Handle caret-delimited strings (Bug#16079).
6719 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6721         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6722         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6723         `ruby-parse-partial' (Bug#16078).
6725 2013-12-09  Leo Liu  <sdl.web@gmail.com>
6727         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
6729 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
6731         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6732         (js-switch-indent-offset): New option.
6733         (js--proper-indentation): Use it.  And handle the case when
6734         "default" is actually a key in an object literal.
6735         (js--same-line): New function.
6736         (js--multi-line-declaration-indentation): Use it.
6737         (js--indent-in-array-comp, js--array-comp-indentation):
6738         New functions.
6739         (js--proper-indentation): Use them, to handle array comprehension
6740         continuations.
6742 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6744         * progmodes/flymake.el (flymake-highlight-line): Re-write.
6745         (flymake-make-overlay): Remove arg MOUSE-FACE.
6746         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6748 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6750         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6751         New function.
6752         (redisplay-highlight-region-function): Use it.
6754         * emulation/cua-base.el (cua--explicit-region-start)
6755         (cua--last-region-shifted): Remove.
6756         (cua--deactivate): Use deactivate-mark.
6757         (cua--pre-command-handler-1): Don't handle shift-selection.
6758         (cua--post-command-handler-1): Don't change transient-mark-mode.
6759         (cua--select-keymaps): Use region-active-p rather than
6760         cua--explicit-region-start or cua--last-region-shifted.
6761         (cua-mode): Enable shift-select-mode.
6763 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6765         * progmodes/flymake.el (flymake-popup-current-error-menu):
6766         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
6767         (flymake-posn-at-point-as-event, flymake-popup-menu)
6768         (flymake-make-emacs-menu): Remove.  (Bug#16077)
6770 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6772         * rect.el (rectangle-mark-mode): Activate mark even if
6773         transient-mark-mode is off (bug#16066).
6774         (rectangle--highlight-for-redisplay): Fix boundary condition when point
6775         is > mark and at bolp.
6777         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6778         (region-extract-function): Use it.
6779         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6780         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6781         Delete functions.
6782         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6783         kill-ring-save, kill-region, delete-char, delete-forward-char.
6784         Ignore self-insert-iso.
6786         * emulation/cua-gmrk.el (cua--init-global-mark):
6787         Ignore `self-insert-iso'.
6789         * emulation/cua-base.el (cua--prefix-copy-handler)
6790         (cua--prefix-cut-handler): Rely on region-extract-function rather than
6791         checking cua--rectangle.
6792         (cua-delete-region): Use region-extract-function.
6793         (cua-replace-region): Delete function.
6794         (cua-copy-region, cua-cut-region): Obey region-extract-function.
6795         (cua--pre-command-handler-1): Don't do the delete-selection thing.
6796         (cua--self-insert-char-p): Ignore `self-insert-iso'.
6797         (cua--init-keymaps): Don't remap delete-selection commands.
6798         (cua-mode): Use delete-selection-mode instead of rolling our own
6799         (bug#16085).
6801         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6802         Obey region-extract-function.
6804         Make registers and delete-selection-mode work on rectangles.
6805         * register.el (describe-register-1): Don't modify the register's value.
6806         (copy-to-register): Obey region-extract-function.
6807         * delsel.el (delete-active-region): Obey region-extract-function.
6809 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6811         * progmodes/flymake.el (flymake, flymake-error-bitmap)
6812         (flymake-warning-bitmap, flymake-fringe-indicator-position)
6813         (flymake-compilation-prevents-syntax-check)
6814         (flymake-start-syntax-check-on-newline)
6815         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6816         (flymake-start-syntax-check-on-find-file, flymake-log-level)
6817         (flymake-xml-program, flymake-master-file-dirs)
6818         (flymake-master-file-count-limit)
6819         (flymake-allowed-file-name-masks): Relocate.
6820         (flymake-makehash, flymake-float-time)
6821         (flymake-replace-regexp-in-string, flymake-split-string)
6822         (flymake-get-temp-dir): Remove.
6823         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6824         (flymake-current-row, flymake-selected-frame)
6825         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6826         related functions.  (Bug#16077)
6828 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
6830         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6832 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
6834         * help-fns.el (describe-function-1): Use new advice-* functions
6835         rather than old ad-* functions.  Fix function type description and
6836         source links for advised functions and subrs.
6838 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6840         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6842 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
6844         * progmodes/compile.el (compilation-start):
6845         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6847         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6848         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6850 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6852         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6853         Touch up the last change.
6855 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6857         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6858         (inferior-octave-startup): Always use "octave> " for prompt.
6859         (octave-goto-function-definition)
6860         (octave-sync-function-file-names)
6861         (octave-find-definition-default-filename): Remove redundant backquotes.
6863 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6865         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6866         syntax for `?'.
6867         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6868         where appropriate already.
6869         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6870         end of method names (Bug#15874).
6872 2013-12-06  Juri Linkov  <juri@jurta.org>
6874         * isearch.el (isearch--saved-overriding-local-map):
6875         New internal variable.
6876         (isearch-mode): Set it to the initial value of
6877         `overriding-terminal-local-map'.
6878         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6879         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6881 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6883         * progmodes/octave.el (inferior-octave-completion-table):
6884         Turn back into function, use `completion-table-with-cache'
6885         (Bug#11906).  Update all references.
6887         * minibuffer.el (completion-table-with-cache): New function.
6889 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6891         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6893 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6895         * net/eww.el (eww-current-source): New variable to store page
6896         source.
6897         (eww-display-html, eww-mode, eww-save-history)
6898         (eww-restore-history): Use it.
6899         (eww-view-source): New command to view page source.
6900         Opportunistically uses `html-mode' to highlight the buffer.
6901         (eww-mode-map): Install it.
6903 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6905         * net/dbus.el (dbus-unregister-service)
6906         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6907         Fix docstring.
6908         (dbus-unregister-service): Skip :serial entries in
6909         `dbus-registered-objects-table'.
6910         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6912 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6914         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6915         around keywords with extra `split-string' argument.
6917 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6919         * windmove.el (windmove-other-window-loc): Handle navigation
6920         between windows (excluding the minibuffer window - Bug#16017).
6922 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6924         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6925         in D-Bus type syntax.
6926         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6927         preserve unibyte strings.  (Bug#16048)
6929 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6931         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6932         Call force-mode-line-update is the proper buffer (bug#16042).
6934 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6936         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6937         `log-edit-remember-comment', make argument optional.  Adjust all
6938         callers.
6939         (log-edit-mode): Add `log-edit-remember-comment' to
6940         `kill-buffer-hook' locally.
6941         (log-edit-kill-buffer): Don't remember comment explicitly since
6942         the buffer is killed anyway.
6944 2013-12-04  Juri Linkov  <juri@jurta.org>
6946         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6947         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6949 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6951         * notifications.el (notifications-close-notification): Call the
6952         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6954 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6956         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6958 2013-12-03  Juri Linkov  <juri@jurta.org>
6960         * progmodes/compile.el (compilation-start): Rename window alist
6961         entry `no-display-ok' to `allow-no-window'.
6963         * simple.el (shell-command): Add window alist entry
6964         `allow-no-window' to `display-buffer'.
6965         (async-shell-command): Doc fix.
6967         * window.el (display-buffer-no-window): New action function.
6968         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6970 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6972         * vc/log-edit.el (log-edit-set-header): Extract from
6973         `log-edit-toggle-header'.
6974         (log-edit-extract-headers): Separate the summary, when extracted
6975         from header, from the rest of the message with an empty line.
6977         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6978         line, if present, to the Summary header.
6980 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6982         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6983         in current-buffer (bug#16029).
6985 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6987         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6988         (debugger-mode-map): Bind it.
6989         (debugger--backtrace-base): New function.
6990         (debugger-eval-expression): Use it.
6991         (debugger-frame-number): Skip local vars when present.
6992         (debugger--locals-visible-p, debugger--insert-locals)
6993         (debugger--show-locals, debugger--hide-locals): New functions.
6995 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6997         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6998         "LC_ALL".
6999         (tramp-get-remote-locale): New defun.
7000         (tramp-open-connection-setup-interactive-shell): Use it.
7002 2013-12-02  Leo Liu  <sdl.web@gmail.com>
7004         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
7006         * progmodes/sh-script.el (sh-shell-process):
7007         * progmodes/octave.el (inferior-octave-process-live-p):
7008         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7009         (gdb-inferior-io-sentinel):
7010         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7012 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7014         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7015         `save-selected-window' to `log-edit-hide-buf'.  This makes
7016         `log-edit-show-files' idempotent.
7017         (log-edit-show-files): Mark the new window as dedicated.
7019 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7021         * vc/log-edit.el (log-edit-mode-map): Add binding for
7022         `log-edit-kill-biffer'.
7023         (log-edit-hide-buf): Add a FIXME comment.
7024         (log-edit-add-new-comment): New function, extracted from
7025         `log-edit-done'.
7026         (log-edit-done, log-edit-add-to-changelog): Use it.
7027         (log-edit-kill-buffer): New command.
7029 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7031         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7032         instead of killing the buffer.
7034 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7036         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7038 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7040         * net/eww.el (eww-form-checkbox-selected-symbol)
7041         (eww-form-checkbox-symbol): New customizable variable.
7042         (eww-form-checkbox, eww-toggle-checkbox):
7043         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7045         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7046         (shr--get-media-pref, shr--extract-best-source): New function.
7047         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7048         no :src tag was specified.
7050         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7051         (eww-render): Handle `eww-use-external-browser-for-content-type'.
7052         Use \\` to match beginning of string instead of ^.
7053         (eww-browse-with-external-browser): Provide optional URL parameter.
7054         (eww-render): Set `eww-current-title' back to "".
7056         * net/shr.el (shr-tag-video): Display content for video if no
7057         poster is available.
7058         (shr-tag-audio): Add support for <audio> tag.
7060         * net/eww.el (eww-text-input-types): New const.
7061         (eww-process-text-input): Treat input types in
7062         `eww-text-input-types' as text.
7064         * net/shr.el (shr-tag-table): Fix comment typo.
7066 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7068         * net/eww.el (eww-follow-link): New command to avoid reloading
7069         pages when we follow #target links (bug#15243).
7070         (eww-quit): Special mode buffers shouldn't query before exiting.
7072 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7074         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7075         forms.
7077 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7079         * net/eww.el (eww-restore-history): Update the window title after
7080         moving in the history.
7081         (eww-current-dom): New variable used to save the current DOM.
7083 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
7085         * vc/log-edit.el (log-edit-mode-map): Add binding for
7086         `log-edit-beginning-of-line'.
7087         (log-edit-setup-add-author): New user option.
7088         (log-edit-beginning-of-line): New command.
7089         (log-edit): Move major mode call above the contents setup so that
7090         the local variable values are already applied.
7091         (log-edit): Only insert "Author: " when
7092         `log-edit-setup-add-author' is non-nil.
7093         (log-edit): When SETUP is non-nil, position point after ": "
7094         instead of point-min.
7096 2013-12-01  Glenn Morris  <rgm@gnu.org>
7098         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7100 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
7102         * startup.el (fancy-splash-frame): On MS-Windows, trigger
7103         redisplay to make sure the initial frame gets a chance to become
7104         visible.  (Bug#16014)
7106 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
7108         Support resizing frames and windows pixelwise.
7109         * cus-start.el (frame-resize-pixelwise)
7110         (window-resize-pixelwise): New entries.
7111         * emacs-lisp/debug.el (debug): Use window-total-height instead
7112         of window-total-size.
7113         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
7114         * help.el (describe-bindings-internal): Use help-buffer as
7115         argument for with-help-window.
7116         (temp-buffer-max-width): New option.
7117         (resize-temp-buffer-window, help-window-setup)
7118         (with-help-window): Rewrite.
7119         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
7120         dragging dividers.
7121         * window.el (frame-char-size, window-min-pixel-height)
7122         (window-safe-min-pixel-height, window-safe-min-pixel-width)
7123         (window-min-pixel-width, window-safe-min-pixel-size)
7124         (window-combination-p, window-safe-min-size)
7125         (window-resizable-p, window--size-to-pixel)
7126         (window--pixel-to-size, window--resize-apply-p): New functions.
7127         (window-safe-min-height): Fix doc-string.
7128         (window-size, window-min-size, window--min-size-1)
7129         (window-sizable, window-sizable-p, window--min-delta-1)
7130         (window-min-delta, window--max-delta-1, window-max-delta)
7131         (window--resizable, window--resizable-p, window-resizable)
7132         (window-full-height-p, window-full-width-p, window-at-side-p)
7133         (window--in-direction-2, window-in-direction)
7134         (window--resize-reset-1, window--resize-mini-window)
7135         (window-resize, window-resize-no-error)
7136         (window--resize-child-windows-normal)
7137         (window--resize-child-windows, window--resize-siblings)
7138         (window--resize-this-window, window--resize-root-window)
7139         (window--resize-root-window-vertically)
7140         (adjust-window-trailing-edge, enlarge-window, shrink-window)
7141         (maximize-window, minimize-window, delete-window)
7142         (quit-restore-window, window-split-min-size, split-window)
7143         (balance-windows-2, balance-windows)
7144         (balance-windows-area-adjust, balance-windows-area)
7145         (window--state-get-1, window-state-get, window--state-put-1)
7146         (window--state-put-2, window-state-put)
7147         (display-buffer-record-window, window--display-buffer):
7148         Make functions handle pixelwise sizing of windows.
7149         (display-buffer--action-function-custom-type)
7150         (display-buffer-fallback-action):
7151         Add display-buffer-in-previous-window.
7152         (display-buffer-use-some-window): Resize window to height it had
7153         before.
7154         (fit-window-to-buffer-horizontally): New option.
7155         (fit-frame-to-buffer): Describe new values.
7156         (fit-frame-to-buffer-bottom-margin): Replace with
7157         fit-frame-to-buffer-margins.
7158         (window--sanitize-margin): New function.
7159         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
7160         using window-text-pixel-size.
7162 2013-11-30  Glenn Morris  <rgm@gnu.org>
7164         * emacs-lisp/bytecomp.el (byte-compile-form):
7165         Make the `interactive-only' warning like the `obsolete' one.
7166         * comint.el (comint-run):
7167         * files.el (insert-file-literally, insert-file):
7168         * replace.el (replace-string, replace-regexp):
7169         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7170         (goto-line, insert-buffer, next-line, previous-line):
7171         Tweak `interactive-only' spec.
7173         Stop keeping (most) generated cedet grammar files in the repository.
7174         * Makefile.in (semantic): New.
7175         (compile-main): Depend on semantic.
7177 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7179         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
7180         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
7182         * uniquify.el (uniquify-buffer-name-style): Change default.
7184         * loadup.el: Preload "uniquify".
7186         * time.el (display-time-update): Update all mode lines (bug#15999).
7188         * electric.el (electric-indent-mode): Enable by default.
7189         * loadup.el: Preload "electric".
7191 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
7193         * emacs-lisp/helpers.el (string-empty-p): New function.
7194         (string-blank-p): New function.
7196 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
7198         * imenu.el (imenu--index-alist): Add missing dot to the docstring
7199         (Bug#14029).
7201 2013-11-29  Andreas Politz  <politza@fh-trier.de>
7202         * imenu.el (imenu--subalist-p): Don't error on non-conses and
7203         allow non-lambda lists as functions.
7204         (imenu--in-alist): Don't recurse into non-subalists.
7205         (imenu): Don't pass function itself as an argument (Bug#14029).
7207 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7209         * progmodes/python.el (python-mode-map): Remove binding for ":".
7210         (python-indent-electric-colon): Remove command.
7211         (python-indent-post-self-insert-function): Integrate the previous code
7212         of python-indent-electric-colon.  Make it conditional on
7213         electric-indent-mode.
7214         (python-mode): Add ?: to electric-indent-chars.
7215         Move python-indent-post-self-insert-function to the end of
7216         post-self-insert-hook.
7218 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7220         * doc-view.el (doc-view-goto-page): Update mode-line.
7222         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
7224 2013-11-27  Glenn Morris  <rgm@gnu.org>
7226         * international/charprop.el, international/uni-bidi.el:
7227         * international/uni-category.el, international/uni-combining.el:
7228         * international/uni-comment.el, international/uni-decimal.el:
7229         * international/uni-decomposition.el, international/uni-digit.el:
7230         * international/uni-lowercase.el, international/uni-mirrored.el:
7231         * international/uni-name.el, international/uni-numeric.el:
7232         * international/uni-old-name.el, international/uni-titlecase.el:
7233         * international/uni-uppercase.el:
7234         Remove generated files from VCS repository.
7236 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
7238         * filenotify.el (file-notify-add-watch): Don't special-case
7239         w32notify when computing the directory to watch.
7241 2013-11-27  Glenn Morris  <rgm@gnu.org>
7243         Make bootstrap without generated uni-*.el files possible again.
7244         * loadup.el: Update command-line-args checking for unidata-gen.
7245         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7246         * composite.el, international/characters.el:
7247         Handle unicode tables being undefined.
7249         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7250         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7251         (compile-main): Depend on leim rule.
7252         (leim): New rule.
7253         * loadup.el: Move leim-list.el to leim/ subdirectory.
7254         * startup.el (normal-top-level): No more leim directory.
7255         * international/ja-dic-cnv.el (skkdic-convert):
7256         Disable version-control and autoloads in output files.
7257         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7258         Disable version-control and autoloads in output files.
7259         * leim/quail: Move here from ../leim.
7260         * leim/quail/hangul.el (hangul-input-method-activate):
7261         Add autoload cookie.
7262         (generated-autoload-load-name): Set file-local value.
7263         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7264         (generated-autoload-load-name): Set file-local value.
7266 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
7268         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7269         (eww-add-bookmark): Ask confirmation when add to bookmarks.
7270         (eww-quit): Ask confirmation before quitting eww.
7272 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
7274         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7275         reading output from Diff on MS-Windows and MS-DOS.
7277 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
7279         * emacs-lisp/helpers.el (string-reverse): New function.
7281 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
7283         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7284         names on MS Windows, like "/[::1]:".
7286         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7287         SWITCHES.
7289 2013-11-26  Glenn Morris  <rgm@gnu.org>
7291         * progmodes/python.el (python-indent-guess-indent-offset):
7292         Avoid corner-case error.  (Bug#15975)
7294         Preload leim-list.el.  (Bug#4789)
7295         * loadup.el: Load leim-list.el when found.
7296         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7298 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
7300         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7302         * emacs-lisp/helpers.el (string-join): New function.
7304 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
7306         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7307         Mark as obsolete and replace it with a symbol property.
7308         (byte-compile-form): Use new 'interactive-only property.
7309         * comint.el, files.el, replace.el, simple.el:
7310         Apply new 'interactive-only properly.
7312 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
7314         * window.el (display-buffer-at-bottom): Make sure that
7315         split-window-sensibly creates the new window on bottom
7316         (Bug#15961).
7318 2013-11-23  David Kastrup  <dak@gnu.org>
7320         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7321         on the conflict markers when available.
7322         (smerge--get-marker): New function.
7323         (smerge-end-re, smerge-base-re): Add subgroup.
7325 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7327         * frame.el (handle-focus-in, handle-focus-out): Add missing
7328         interactive spec.
7330 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
7332         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7333         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7335 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7337         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
7338         (gomoku--last-pos): New var.
7339         (gomoku--intangible-chars): New const.
7340         (gomoku--intangible): New function.
7341         (gomoku-mode): Use it.  Derive from special-mode.
7342         (gomoku-move-up): Adjust line count.
7343         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7344         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7345         Simplify accordingly.
7347         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7348         Remove blink-cursor code.
7349         (blink-cursor-timer-function, blink-cursor-suspend):
7350         Don't special-case GUIs.
7351         (blink-cursor-mode): Use focus-in/out-hook.
7353 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
7355         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7356         work when annotation is invisible (Bug#13886).
7358 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
7360         * json.el (json-alist-p): Only return non-nil if the alist has
7361         simple keys (Bug#13518).
7363 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
7365         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7366         when control-statement is the first statement in a buffer (Bug#15956).
7368 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
7370         * imenu.el (imenu-generic-skip-comments-and-strings):
7371         New option (Bug#15560).
7372         (imenu--generic-function): Use it.
7374 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
7376         * minibuffer.el (completion--in-region-1): Scroll the correct window.
7377         (Bug#13898)
7379 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
7381         * emacs-lisp/helpers.el: Add some string helpers.
7382         (string-trim-left): Removes leading whitespace.
7383         (string-trim-right): Removes trailing whitespace.
7384         (string-trim): Removes leading and trailing whitespace.
7386         * subr.el (string-suffix-p): New function.
7388 2013-11-23  Glenn Morris  <rgm@gnu.org>
7390         * progmodes/python.el (python-shell-send-file):
7391         Add option to delete file when done.  (Bug#15647)
7392         (python-shell-send-string, python-shell-send-region): Use it.
7394 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
7396         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7397         to set buffer-read-only to t, never to nil.  (Bug#15938)
7399         * textmodes/tex-mode.el (latex-noindent-environments):
7400         Add safe-local-variable property.  (Bug#15936)
7402 2013-11-23  Glenn Morris  <rgm@gnu.org>
7404         * textmodes/enriched.el (enriched-mode): Doc fix.
7405         * emacs-lisp/authors.el (authors-renamed-files-alist):
7406         Add enriched.doc -> enriched.txt.
7408         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7410 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7412         * progmodes/octave.el (inferior-octave-startup): Spit out error
7413         message.
7415 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
7417         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7418         Improve docstring.
7419         Add :version.
7420         (ruby-encoding-magic-comment-style): Add :version.
7422 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7424         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7425         (Bug#15076)
7426         (octave-help-mode): Adapt to change to help-mode-finish to use
7427         derived-mode-p on 2013-09-17.
7428         (inferior-octave-prompt): Also match octave-gui.
7429         (octave-kill-process): Don't ask twice.  (Bug#10564)
7431 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7433         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7434         (inferior-octave-startup, inferior-octave-check-process)
7435         (inferior-octave-track-window-width-change)
7436         (octave-completion-at-point, octave-eldoc-function): Use it.
7437         (octave-kill-process): Provide confirmation.  (Bug#10564)
7439 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7441         * progmodes/octave.el (octave-mode, inferior-octave-mode):
7442         Fix obsolete variable comment-use-global-state.
7444 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7446         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7447         Add `octave-source-file'.
7448         (octave-source-file): New function.  (Bug#15935)
7450 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
7452         * net/eww.el (eww-local-regex): New variable.
7453         (eww): Use it to detect localhost and similar.
7455 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7457         Add completion for command `ag'.
7458         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7459         (pcomplete/ag): New function.
7460         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
7462 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7464         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7465         (bug#14646).
7466         (make-obsolete): Remove interactive spec.
7468 2013-11-21  Glenn Morris  <rgm@gnu.org>
7470         * startup.el (command-line-1): Use path-separator with -L.
7472 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
7474         * emacs-lisp/package.el (describe-package-1): Add package archive
7475         to shown fields.
7477 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
7479         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7480         Change default to "# encoding: %s" to differentiate it from the
7481         default Ruby encoding comment template.
7483 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
7485         * ses.el (ses-mode): Doc fix.  (Bug#14748)
7487 2013-11-20  Leo Liu  <sdl.web@gmail.com>
7489         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
7491 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
7493         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7494         when rebase or bisect are in progress.
7496 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
7498         * filenotify.el (file-notify-add-watch): Doc fix.
7500 2013-11-19  Leo Liu  <sdl.web@gmail.com>
7502         * obsolete/rcompile.el: Mark obsolete.
7504         * progmodes/compile.el (compilation-start)
7505         (compilation-goto-locus, compilation-find-file):
7506         Pass no-display-ok and handle nil value from display-buffer.
7507         (Bug#13594)
7509         * window.el (display-buffer-alist, display-buffer): Document the
7510         new parameter no-display-ok.  Return either a window or nil
7511         but never a non-window value.
7513 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7515         * electric.el (electric-indent-mode-map): Remove.
7516         (electric-indent-mode): Change the global-map instead (bug#15915).
7518         * textmodes/text-mode.el (paragraph-indent-minor-mode):
7519         Use add-function.
7521 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7523         * emacs-lisp/nadvice.el (remove-function): Align with
7524         add-function's behavior.
7526         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7527         (gdb--string-regexp): New constant.
7528         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7529         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7530         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7531         submatch 1.
7532         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7533         Adjust use accordingly.
7534         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7536 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
7538         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7539         interpolation curlies (Bug#15914).
7541 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
7543         * calc/calc.el (calc-context-sensitive-enter): New variable.
7544         (calc-enter): Use `calc-context-sensitive-enter'.
7546 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
7548         * progmodes/cfengine.el: Version bump.
7549         (cfengine-cf-promises): New defcustom to locate cf-promises.
7550         (cfengine3-vartypes): Add new "data" type.
7551         (cfengine3--current-word): New function to get current name-like
7552         word or its bounds.
7553         (cfengine3--current-function): New function to look up a CFEngine
7554         function's definition.
7555         (cfengine3-format-function-docstring): New function.
7556         (cfengine3-make-syntax-cache): New function.
7557         (cfengine3-documentation-function): New function: ElDoc glue.
7558         (cfengine3-completion-function): New function: completion glue.
7559         (cfengine3-mode): Set `compile-command',
7560         `eldoc-documentation-function', and add to
7561         `completion-at-point-functions'.
7563 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
7565         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7566         `tramp-current-connection'.
7568 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
7570         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7571         nil/self/true/false with "end of symbol".
7573 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
7575         * subr.el (version-regexp-alist): Fix a typo.
7577 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
7579         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7580         "en_US.utf8" and "LC_CTYPE" to "".
7581         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7582         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7584 2013-11-15  Leo Liu  <sdl.web@gmail.com>
7586         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
7588 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7590         * progmodes/gud.el (ctl-x-map):
7591         Remove C-x SPC binding.  (Bug#12342)
7592         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7594 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
7596         * subr.el (version-regexp-alist):
7597         Recognize hg, svn and darcs versions as snapshot versions.
7599         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7600         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7601         (ruby--encoding-comment-required-p): Extract from
7602         `ruby-mode-set-encoding'.
7603         (ruby-mode-set-encoding): Add the ability to always insert an
7604         utf-8 encoding comment.  Fix and simplify coding comment update
7605         logic.
7607 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
7609         * net/tramp-gvfs.el (top): Run init code only when
7610         `tramp-gvfs-enabled' is not nil.
7611         (tramp-gvfs-enabled): Check also :system bus.
7613 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7615         Sync with upstream verilog-mode revision 78e66ba.
7616         * progmodes/verilog-mode.el (verilog-end-of-defun)
7617         (verilog-type-completion, verilog-get-list): Remove unused funcs.
7618         (verilog-get-end-of-defun): Remove unused argument.
7619         (verilog-comment-depth): Remove unused local `e'.
7620         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7621         Don't pass arg to verilog-get-end-of-defun.
7623 2013-11-14  Glenn Morris  <rgm@gnu.org>
7625         * obsolete/assoc.el (aget): Prefix dynamic variable.
7627         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7629 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7631         * widget.el, hfy-cmap.el: Remove bogus package version number.
7633 2013-11-13  Glenn Morris  <rgm@gnu.org>
7635         * replace.el (replace-eval-replacement):
7636         Try to give more helpful error message.  (Bug#15836)
7638         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7639         (archive-7z-update): Avoid custom type mismatches.
7641         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7643 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
7645         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7646         address can be empty.
7648         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7649         Accept nil SWITCHES.
7650         (tramp-gvfs-handle-write-region): Implement APPEND.
7652 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
7654         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7655         binary "|" operator and closing block args delimiter.
7656         Remove FIXME comment referring to Ruby 1.8-only syntax.
7657         (ruby-smie--implicit-semi-p): Not after "|" operator.
7658         (ruby-smie--closing-pipe-p): New function.
7659         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7660         (ruby-smie-rules): Indent after "|".
7662 2013-11-12  Glenn Morris  <rgm@gnu.org>
7664         * ps-print.el (ps-face-attribute-list):
7665         Handle anonymous faces.  (Bug#15827)
7667 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
7669         * window.el (display-buffer-other-frame): Fix doc-string.
7670         (Bug#15868)
7672 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7674         * subr.el (force-mode-line-update): Delete, move to buffer.c.
7676 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
7678         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7679         (tramp-sh-handle-file-local-copy): Don't write a message when
7680         saving temporary files.
7682         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7683         both directories are remote.
7684         (tramp-smb-handle-directory-files): Do not return double entries.
7685         Do not expand full file names.
7686         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7687         (tramp-smb-handle-write-region): Implement APPEND.
7688         (tramp-smb-get-stat-capability): Fix a stupid bug.
7690 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7692         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7694 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7696         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7697         throwing error over malformed let/let* (bug#15814).
7699 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7701         * iswitchb.el (iswitchb-mode): Mark obsolete.
7703 2013-11-11  Glenn Morris  <rgm@gnu.org>
7705         * international/uni-bidi.el, international/uni-category.el:
7706         * international/uni-name.el, international/uni-numeric.el:
7707         Regenerate for Unicode 6.3.0.
7709 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
7711         * net/tramp.el (tramp-methods):
7712         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7713         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7715 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
7717         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7718         Force highlighting text after Summary keyword in doc face for rpm.
7720 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
7722         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7723         available and the word has no wildcards, append one to the grep pattern.
7724         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7725         (ispell-complete-word): Call `ispell-lookup-words' with the value
7726         independent of `ispell-look-p'.
7728 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7730         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7731         Not after "||".
7732         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7733         their parent.
7735 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
7738         (ruby-font-lock-keywords): Use backquote.
7740 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7742         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7743         (ruby-smie--backward-token): Only consider full-string matches.
7745 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
7747         * faces.el (describe-face): Add distant-foreground.
7749 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
7751         * progmodes/ruby-mode.el: Improve encoding comment handling.
7752         (ruby-encoding-magic-comment-style): New option.
7753         (ruby-custom-encoding-magic-comment-template): New option.
7754         (ruby--insert-coding-comment, ruby--detect-encoding):
7755         New functions extracted from `ruby-mode-set-encoding'.
7756         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7757         to control the style of the auto-inserted encoding comment.
7759 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7761         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7762         Use `smie-backward-sexp' with token argument.
7764 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
7766         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7767         Remove instrumentation code.
7769 2013-11-08  Glenn Morris  <rgm@gnu.org>
7771         * progmodes/autoconf.el (autoconf-mode):
7772         Tweak comment-start-skip.  (Bug#15822)
7774 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7777         at bobp (bug#15826).
7778         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7780 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
7782         * man.el (Man-start-calling): New macro, extracted from
7783         Man-getpage-in-background.
7784         (Man-getpage-in-background): Use it.
7785         (Man-update-manpage): New command.
7786         (Man-mode-map): Bind it.
7788 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7790         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7791         of "and", "or", "&&" and "||".
7792         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7793         argument.  Prohibit opening curly brace because it could only be a
7794         block opener in that position.
7795         (ruby-smie--forward-token, ruby-smie--backward-token):
7796         Separate "|" from "&" or "*" going after it.  That can happen in block
7797         arguments.
7798         (ruby-smie--indent-to-stmt): New function, seeks the end of
7799         previous statement or beginning of buffer.
7800         (ruby-smie-rules): Use it.
7801         (ruby-smie-rules): Check if there's a ":" before a curly block
7802         opener candidate; if there is, it's a hash.
7804 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7806         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7807         (cl--block-wrapper): Fix last accidental change.
7809 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
7811         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7812         Instrument, in order to hunt failure on hydra.
7814 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7816         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7817         malformed bindings form (bug#15814).
7819 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
7821         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7822         "." compared to " @ ".  This incidentally fixes some indentation
7823         examples with "do".
7824         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7825         (ruby-smie-grammar): New tokens: "and" and "or".
7826         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7827         Exclude "and" and "or".  Remove "do" in order to work around token
7828         priorities.
7829         (ruby-smie-rules): Add all infix tokens.  Handle the case of
7830         beginning-of-buffer.
7832 2013-11-06  Glenn Morris  <rgm@gnu.org>
7834         * Makefile.in (setwins_almost, setwins_for_subdirs):
7835         Avoid accidental matches.
7837 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7839         * menu-bar.el (popup-menu): Use key-binding.
7841 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
7843         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7844         menus, support also the menus produced by minor modes.
7845         (Bug#15817)
7847 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7849         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7850         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7852 2013-11-06  Glenn Morris  <rgm@gnu.org>
7854         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7855         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7856         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7858 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7860         * electric.el (electric-indent-just-newline): New command.
7861         (electric-indent-mode-map): New keymap.
7862         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7863         Re-add :group which weren't redundant.
7865         * electric.el (electric-indent-local-mode): New minor mode.
7866         (electric-indent-functions-without-reindent): New var.
7867         (electric-indent-post-self-insert-function): Use it.
7868         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7870 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7872         * international/quail.el (quail-help): Be more explicit about the
7873         meaning of the labels shown on the keys.  (Bug#15800)
7875         * startup.el (normal-top-level): Load the subdirs.el files before
7876         setting the locale environment.  (Bug#15805)
7878 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7880         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7881         via arguments so as to get the right ones (bug#15418).
7883         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7885 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7887         Fix problems found while writing a test suite.
7889         * net/tramp-compat.el (tramp-compat-load): New defun.
7890         * net/tramp.el (tramp-handle-load): Use it.
7892         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7893         "(numberp ok-if-already-exists)" correctly.
7895 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7897         * international/characters.el (glyphless-char-display-control):
7898         Add usage note.
7900 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7902         * progmodes/python.el (python-mode):
7903         * progmodes/scheme.el (scheme-mode):
7904         * progmodes/prolog.el (prolog-mode):
7905         * progmodes/ruby-mode.el (ruby-mode):
7906         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7907         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7909 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7911         * rect.el (rectangle--highlight-for-redisplay):
7912         * emacs-lisp/smie.el (smie--next-indent-change):
7913         Use buffer-chars-modified-tick.
7915         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7917         * electric.el (electric-indent-post-self-insert-function):
7918         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7920 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7922         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7924 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7926         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7927         (bug#15786).
7929 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7931         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7933         * progmodes/python.el: Fix up last change.
7934         (python-shell--save-temp-file): New function.
7935         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7936         `string' comes from the current buffer.
7937         (python-shell-send-string-no-output): Remove `msg' arg.
7938         (python--use-fake-loc): New var.
7939         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7940         extra coding line added by python-shell--save-temp-file.
7941         (python-shell-send-region): Use python-shell--save-temp-file and
7942         python-shell-send-file directly.  Add `nomain' argument.
7943         (python-shell-send-buffer): Use python-shell-send-region.
7944         (python-electric-pair-string-delimiter): New function.
7945         (python-mode): Use it.
7947 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7949         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7950         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7951         environment and decoding all of the default-directory's to here
7952         from command-line.
7953         (command-line): Decode also argv[0].
7955         * loadup.el: Error out if default-directory is a multibyte string
7956         when we are dumping.
7958         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7960 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7962         * emacs-lisp/package.el (package-menu-mode)
7963         (package-menu--print-info, package-menu--archive-predicate):
7964         Add Archive column to package list.
7966 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7968         Fix problems found while writing a test suite.
7970         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7971         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7972         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7973         to nil when running original file name handler.  Otherwise,
7974         there are problems with constructs like "$$FOO".
7976         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7977         for `localname'.
7979 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7981         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7983         * subr.el (version<, version<=, version=):
7984         Update docstrings with information for snapshot versions.
7986         * helpers.el: New library for misc helper functions.
7987         (hash-table-keys): New function returning a list of hash keys.
7988         (hash-table-values): New function returning a list of hash values.
7990 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7992         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7993         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7995 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7997         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7998         checking whether point is after a 1-letter word.
8000 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8002         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8003         Don't infloop when expanding region over `multiline' syntax-type that
8004         begins a line (bug#15778).
8006 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8008         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8009         Make it into a proper minor mode.
8010         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8011         (rectangle-mark-mode-map): New keymap.
8012         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8014 2013-11-04  Glenn Morris  <rgm@gnu.org>
8016         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8018 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8020         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8021         (ruby-smie-rules): Use smie-rule-parent instead.
8023         * emacs-lisp/smie.el (smie-rule-parent): Always call
8024         smie-indent-virtual rather than only for hanging tokens.
8025         (smie--next-indent-change): New helper command.
8027 2013-11-03  Glenn Morris  <rgm@gnu.org>
8029         * Makefile.in (abs_srcdir): Remove.
8030         (emacs): Unset EMACSLOADPATH.
8032 2013-11-02  Glenn Morris  <rgm@gnu.org>
8034         * Makefile.in (EMACS): Use a relative filename.
8035         (abs_top_builddir): Remove.
8036         (custom-deps, finder-data, autoloads): Use --chdir.
8038         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8040         Use relative filenames in TAGS files.
8041         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8042         (lisptagsfiles4, TAGS): Use relative file names.
8043         (TAGS-LISP): Remove.
8044         (maintainer-clean): No more TAGS-LISP file.
8046         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8047         (lisptagsfiles4): Use absolute filenames again.
8048         (TAGS, TAGS-LISP): Not everything needs to run in one line.
8049         Remove all *loaddefs files, not just the first.  Remove esh-groups.
8050         (maintainer-clean): Delete TAGS, TAGS-LISP.
8052 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8054         * emacs-lisp/package.el (package-version-join):
8055         Recognize snapshot versions.
8057 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8059         * subr.el (version-regexp-alist): Add support for snapshot versions.
8061 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8063         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8064         New function, replacement for `smie-rule-parent' for when we want to
8065         skip over our direct parent if it's an assignment token..
8066         (ruby-smie-rules): Use it.
8068 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8070         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8071         unconditionally.  Remove now unnecessary forward declarations.
8072         Remove XEmacs-specific setup.
8073         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8074         (ruby-font-lock-syntactic-keywords)
8075         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8076         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8077         (ruby-here-doc-end-syntax): Remove.
8078         (ruby-mode): Don't check whether `syntax-propertize-rules' is
8079         defined as function.
8081 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8083         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8085 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8087         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8088         table and abbrev table, `define-derived-mode' does that for us
8089         anyway.
8091 2013-11-01  Glenn Morris  <rgm@gnu.org>
8093         * Makefile.in: Remove manual mh-e dependencies (writing .elc
8094         files is atomic for some time, so no parallel compilation issues).
8096 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
8098         * faces.el (face-x-resources): Add :distant-foreground.
8099         (region): Use :distant-foreground for gtk and ns.
8101 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
8103         Allow multiple bibliographies when BibLaTeX is used rather than
8104         BibTeX.
8105         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
8106         (reftex-locate-bibliography-files): Us it.
8108 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
8110         * image.el (image-type-header-regexps): Fix the 'pbm' part to
8111         allow comments in pbm files.
8113         * term/w32-win.el (dynamic-library-alist): Support newer versions
8114         of libjpeg starting with v7: look only for the DLL from the
8115         version against which Emacs was built.
8116         Support versions of libpng beyond 1.4.x.
8117         Support libtiff v4.x.
8119 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8121         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
8122         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
8123         Add property :safe.
8124         (ruby-deep-arglist): Add property :type.
8126 2013-10-31  Glenn Morris  <rgm@gnu.org>
8128         * Makefile.in (custom-deps, finder-data): No need to setq the target
8129         variables, we are in the right directory and the defaults work fine.
8131 2013-10-30  Glenn Morris  <rgm@gnu.org>
8133         * Makefile.in (autoloads): Do not use abs_lisp.
8135         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8136         `newline' does not respect `standard-output', so use `princ'.
8138 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
8140         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
8141         * buff-menu.el (Buffer-menu--unmark): New function.
8142         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
8144 2013-10-30  Glenn Morris  <rgm@gnu.org>
8146         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
8148         * emacs-lisp/package.el (lm-homepage): Declare.
8150         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
8151         Fix doc typos.
8153         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
8155         * Makefile.in (finder-data, autoloads, update-subdirs)
8156         (compile-main, compile-clean, compile-always, bootstrap-clean):
8157         Check return value of cd.
8158         (compile-calc): Remove.
8160 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8162         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
8164         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
8165         (byte-compile-and-folded): New function.
8166         (=, <, >, <=, >=): Use it.
8168         * dos-w32.el (minibuffer-history-case-insensitive-variables)
8169         (path-separator, null-device, buffer-file-coding-system)
8170         (lpr-headers-switches): Check system-type before modifying them.
8171         (find-buffer-file-type-coding-system): Mark obsolete.
8172         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
8173         find-file-not-found-set-buffer-file-coding-system.
8174         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
8175         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
8176         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
8177         (w32-direct-print-region-helper, w32-direct-print-region-function)
8178         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
8179         * startup.el (normal-top-level-add-subdirs-to-load-path):
8180         * ps-print.el (ps-print-region-function):
8181         * lpr.el (print-region-function): Use new name.
8183         * subr.el (custom-declare-variable-early): Remove function.
8184         (custom-declare-variable-list): Remove var.
8185         (error, user-error): Remove `while' loop.
8186         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
8187         (user-emacs-directory-warning, locate-user-emacs-file):
8188         Move to files.el.
8189         * simple.el (read-quoted-char-radix, read-quoted-char):
8190         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
8191         Move from subr.el.
8192         * custom.el (custom-declare-variable-list): Don't process
8193         custom-declare-variable-list.
8195         * progmodes/python.el (python-shell-get-buffer): New function.
8196         (python-shell-get-process): Use it.
8197         (python-shell-send-string): Always use utf-8 and add a cookie to tell
8198         Python which encoding was used.  Don't split-string since we only care
8199         about the first line.  Return the temp-file, if applicable.
8200         (python-shell-send-region): Tell compile.el how to turn locations in
8201         the temp-file into locations in the source buffer.
8203 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8205         * subr.el (undefined): Add missing behavior from the C code for
8206         unbound keys.
8208         * rect.el: Use lexical-binding.  Add new rectangular region support.
8209         (rectangle-mark): New command.
8210         (rectangle--region): New var.
8211         (deactivate-mark-hook): Reset rectangle--region.
8212         (rectangle--extract-region, rectangle--insert-for-yank)
8213         (rectangle--highlight-for-redisplay)
8214         (rectangle--unhighlight-for-redisplay): New functions.
8215         (region-extract-function, redisplay-unhighlight-region-function)
8216         (redisplay-highlight-region-function): Use them to handle
8217         rectangular region.
8218         * simple.el (region-extract-function): New var.
8219         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
8220         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
8221         (kill-region): Replace obsolete `yank-handler' arg with `region'.
8222         (copy-region-as-kill, kill-ring-save): Add `region' argument.
8223         (redisplay-unhighlight-region-function)
8224         (redisplay-highlight-region-function): New vars.
8225         (redisplay--update-region-highlight): New function.
8226         (pre-redisplay-function): Use it.
8227         (exchange-point-and-mark): Don't deactivate the mark before
8228         reactivate-it anyway.
8229         * comint.el (comint-kill-region): Remove yank-handler argument.
8230         * delsel.el (delete-backward-char, backward-delete-char-untabify)
8231         (delete-char): Remove property, since it's now part of their
8232         default behavior.
8233         (self-insert-iso): Remove property since this command doesn't exist.
8235         * emacs-lisp/package.el (package--download-one-archive)
8236         (describe-package-1): Don't query the user about final newline.
8238 2013-10-29  Daniel Colascione  <dancol@dancol.org>
8240         * net/tramp.el (tramp-methods): Document new functionality.
8241         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8242         tramp-hostname-checker if method provides one instead of scanning
8243         argument list for "%h" to decide hostname acceptability.
8245 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
8247         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8248         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8249         Handle COPY-CONTENTS.  (Bug#15737)
8251 2013-10-28  Daiki Ueno  <ueno@gnu.org>
8253         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8254         Document that this option has no effect with GnuPG 2.0 (bug#15552).
8256 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
8258         * image.el (defimage, image-load-path): Doc fixes.
8260 2013-10-27  Alan Mackenzie  <acm@muc.de>
8262         Indent statements in macros following "##" correctly.
8263         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8264         Modify the "#" arm of a cond form to handle "#" and "##" operators.
8266 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8268         * linum.el (linum-update-window): Fix boundary test (bug#13446).
8270 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
8272         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8273         after `=' is probably a new expression.
8275 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8277         * man.el (man-imenu-title): New option.
8278         (Man-mode-map): Add menu.  (Bug#15722)
8279         (Man-mode): Add imenu to menu.
8281 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
8283         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8284         specific in what the first arg can be: a non-keyword word,
8285         string/regexp/percent literal opener, opening paren, or unary
8286         operator followed directly by word.
8288 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8290         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8291         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8292         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8293         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8294         Remove vars, they do not apply any more.
8295         (prolog-mode-abbrev-table): Remove redundant declaration.
8296         (prolog-upper-case-string, prolog-lower-case-string): Remove.
8297         (prolog-use-smie): Remove.
8298         (prolog-smie-rules): Add indentation rule for the if-then-else layout
8299         supported by prolog-electric-if-then-else-flag.
8300         (prolog-mode-variables, prolog-menu): Use setq-local.
8301         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8302         Remove binding to `Backspace' since this key doesn't exist anyway.
8303         Remove bindings for electric self-inserting keys.
8304         (prog-mode): Assume it's defined.
8305         (prolog-post-self-insert): New function.
8306         (prolog-mode): Use it.
8307         (prolog-indent-line, prolog-indent-level)
8308         (prolog-find-indent-of-matching-paren)
8309         (prolog-indentation-level-of-line, prolog-goto-comment-column)
8310         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8311         (prolog-goto-next-paren, prolog-in-string-or-comment)
8312         (prolog-tokenize, prolog-inside-mline-comment)
8313         (prolog-find-start-of-mline-comment): Remove functions.
8314         (prolog-find-unmatched-paren, prolog-clause-end)
8315         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8316         (prolog-electric--if-then-else): Rename from
8317         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8318         (prolog-tokenize-searchkey): Remove const.
8319         (prolog-clause-info): Use forward-sexp.
8320         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8321         (prolog-electric-if-then-else): Remove commands.
8322         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8323         for use in post-self-insert-hook.
8324         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8325         for use in post-self-insert-hook.
8326         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8327         for use in post-self-insert-hook.
8328         (prolog-electric--underscore): Rename from prolog-electric--underscore;
8329         adapt it for use in post-self-insert-hook.
8331 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
8333         * emacs-lisp/ert.el (ert-run-tests-interactively):
8334         Use `completing-read'.  (Bug#9756)
8336 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
8338         * simple.el (line-move): Call line-move-1 instead of
8339         line-move-visual when the current window hscroll is zero, but
8340         temporary-goal-column indicates we will need to hscroll as result
8341         of the movement.  (Bug#15712)
8343 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
8345         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8346         capitalization.  Use :visible instead of :active.
8347         Fix `ruby-indent-exp' reference.  Add menu items for the generic
8348         commands that are used with SMIE.
8349         (ruby-do-end-to-brace): Insert space after `{'.
8351 2013-10-25  John Anthony  <john@jo.hnanthony.com>
8353         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
8355         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
8357 2013-10-25  Glenn Morris  <rgm@gnu.org>
8359         * vc/vc.el (vc-print-log): Don't use a working revision unless
8360         one was explicitly specified.  (Bug#15322)
8362 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8364         * subr.el (add-to-list): Preserve return value in compiler-macro
8365         (bug#15692).
8367 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8369         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8370         result.  Ask user to retry using '-all' flag.  (Bug#15701)
8372 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8374         * emacs-lisp/smie.el: New smie-config system.
8375         (smie-config): New defcustom.
8376         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8377         (smie-config-guess, smie-config-save): New commands.
8378         (smie-config--mode-local, smie-config--buffer-local)
8379         (smie-config--trace, smie-config--modefuns): New vars.
8380         (smie-config--advice, smie-config--mode-hook)
8381         (smie-config--setter, smie-config-local, smie-config--get-trace)
8382         (smie-config--guess-value, smie-config--guess): New functions.
8383         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8384         text properties.  Treat "string fence" syntax like string syntax.
8386         * progmodes/sh-script.el (sh-use-smie): Change default.
8387         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8388         (sh-var-value): Simplify by CSE.
8389         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8390         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8391         is used.
8392         (sh-guess-basic-offset): Use cl-incf.
8393         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8395 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
8397         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8398         (bug#15699).
8400 2013-10-24  Glenn Morris  <rgm@gnu.org>
8402         * Makefile.in (abs_top_srcdir): Remove.
8403         (update-subdirs): Use relative path to update-subdirs.
8405 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
8407         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8408         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8409         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8410         Call unmsys--file-name before expand-file-name, not after it.
8412 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
8414         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8415         (ert-test-skipped): New error.
8416         (ert-skip, ert-stats-skipped): New defuns.
8417         (ert--skip-unless): New macro.
8418         (ert-test-skipped): New struct.
8419         (ert--run-test-debugger, ert-test-result-type-p)
8420         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8421         (ert--stats-set-test-and-result, ert-char-for-test-result)
8422         (ert-string-for-test-result, ert-run-tests-batch)
8423         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8424         Handle skipped tests.  (Bug#9803)
8426 2013-10-24  Glenn Morris  <rgm@gnu.org>
8428         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8430         * Makefile.in (abs_top_srcdir): New, set by configure.
8431         (update-subdirs): Correct build-aux location.
8433 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
8435         * vc/vc.el (vc-print-root-log): Always set `default-directory'
8436         value, whether we could auto-deduce `backend', or not.
8438         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8439         with parameters" example.  Simplify the "is it block or is it
8440         hash" check, but also make it more thorough.
8442 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
8444         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
8446 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8448         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8449         { if it is hanging.
8451         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8452         :before ";".
8454 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
8456         * progmodes/compile.el (compilation-directory-matcher)
8457         (compilation-page-delimiter):
8458         Support GNU Make-4.0 directory quoting.  (Bug#15678)
8460 2013-10-23  Leo Liu  <sdl.web@gmail.com>
8462         * ido.el (ido-tidy): Handle read-only text.
8464 2013-10-23  Glenn Morris  <rgm@gnu.org>
8466         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8467         (emacs, compile, compile-always):
8468         Quote entities that might contain whitespace.
8469         (custom-deps, finder-data, autoloads): Use abs_lisp.
8470         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8471         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8472         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8474 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
8476         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8477         Use `following-char'.
8479 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8481         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8482         * progmodes/ruby-mode.el (ruby-smie-rules):
8483         Remove corresponding workaround.  Fix indentation rule of ";" so it
8484         also applies when ";" is the parent.
8486 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
8488         * frame.el (display-screens, display-pixel-height)
8489         (display-pixel-width, display-mm-width, display-backing-store)
8490         (display-save-under, display-planes, display-color-cells)
8491         (display-visual-class, display-monitor-attributes-list):
8492         Mention the optional ‘display’ argument in doc strings.
8494 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
8496         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8497         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
8499 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8501         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8502         TODO.  Add "." after " @ ".
8503         (ruby-smie--at-dot-call): New function.  Checks if point at method
8504         call with explicit target.
8505         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8506         to the method name tokens when it precedes them.
8507         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8508         (ruby-smie-rules): Add rule for indentation before and after "."
8509         token.
8511 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8513         * textmodes/remember.el (remember-diary-extract-entries):
8514         Avoid add-to-list.
8516         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8517         an instruction.
8519 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8521         * progmodes/ruby-mode.el (ruby-smie-grammar):
8522         Add (almost) all infix operators.
8523         (ruby-smie--implicit-semi-p): Add new operator chars.
8525         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8526         `smie-down-list'.
8527         (ruby-smie--args-separator-p): Check that there's no newline
8528         between method call and its arguments.
8530 2013-10-20  Alan Mackenzie  <acm@muc.de>
8532         Allow comma separated lists after Java "implements".
8534         * progmodes/cc-engine.el (c-backward-over-enum-header):
8535         Parse commas.
8536         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8537         from a "disallowed" list in enum fontification.
8539 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
8541         * startup.el (default-frame-background-mode): Remove unused defvar.
8543         * progmodes/verilog-mode.el (verilog-mode): Don't set
8544         comment-indent-function globally.
8546 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
8548         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8549         Move Info menu item creation to ns-win.el.
8551         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8552         in menu bar.
8554         * menu-bar.el: Move GNUstep specific menus...
8556         * term/ns-win.el (ns-initialize-window-system): ... to here.
8558 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8560         * simple.el (newline): Only run post-self-insert-hook when
8561         called interactively.
8563 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
8565         * icomplete.el (icomplete-with-completion-tables): Add :version.
8567 2013-10-19  Alan Mackenzie  <acm@muc.de>
8569         Fix fontification bugs with constructors and const.
8571         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8572         CASE 2) Remove the check for the absence of a suffix construct
8573         after a function declaration with only types (no identifiers) in
8574         the parentheses.  Also, accept a function declaration with just a
8575         type inside the parentheses, if this type can be positively
8576         recognised as such, or if a prefix keyword like "explicit" nails
8577         down the construct as a declaration.
8579 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
8581         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8582         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
8583         the problem whereby selecting a menu item that leads to a
8584         minibuffer prompt moves the cursor out of the minibuffer window,
8585         making it hard to type at the prompt.  Suggested by Stefan Monnier
8586         <monnier@iro.umontreal.ca>.
8588 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
8590         * menu-bar.el: Don't make Services menu.
8592 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8594         * ffap.el: Handle "/usr/include/c++/<version>" directories.
8595         (ffap-alist): Use ffap-c++-mode for c++-mode.
8596         (ffap-c++-path): New variable.
8597         (ffap-c++-mode): New function.
8599 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
8601         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
8603 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
8605         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8606         introduced on 2013-09-08, which results in an infinite loop
8607         requesting a password.
8609 2013-10-18  Glenn Morris  <rgm@gnu.org>
8611         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8613 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
8615         Sync with upstream verilog-mode revision 1a6ecec7.
8616         * progmodes/verilog-mode.el (verilog-mode-version): Update.
8617         (verilog-mode-release-date): Remove.
8618         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8619         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8620         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8621         (verilog-auto-tieoff-ignore-regexp)
8622         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8623         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8624         (verilog-signals-with, verilog-dir-cache-preserving)
8625         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8626         Doc fixes.
8627         (verilog-case-fold): New option, to control case folding in
8628         regexp searches, bug597.
8629         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8630         (verilog-string-match-fold, verilog-in-paren-count)
8631         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8632         (verilog-at-close-struct-p): New functions.
8633         (verilog-beg-block-re-ordered, verilog-extended-case-re)
8634         (verilog-forward-sexp, verilog-set-auto-endcomments)
8635         (verilog-leap-to-case-head): Handle "unique0" case.
8636         (verilog-in-constraint-re): New constant.
8637         (verilog-keywords, verilog-type-font-keywords):
8638         Add some SystemVerilog 1800-2012 keywords.
8639         (verilog-label-be): Remove unimplemented argument, bug669.
8640         (verilog-batch-execute-func): When batch expanding clear
8641         create-lockfiles to prevent spurious user locks when a file ends
8642         up not changing.
8643         (verilog-calculate-indent, verilog-calc-1)
8644         (verilog-at-close-constraint-p, verilog-at-constraint-p)
8645         (verilog-do-indent): Fix indentation of nested constraints
8646         and structures.
8647         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8648         (verilog-auto-inst-param): Use verilog-string-match-fold.
8649         (verilog-read-inst-module-matcher):
8650         Fix AUTOINST on gate primitives with #1.
8651         (verilog-read-decls): Fix double-declaring user-defined typed signals.
8652         Reads all user-defined typed variables.
8653         (verilog-read-defines): Fix reading definitions inside comments, bug647.
8654         (verilog-signals-matching-regexp)
8655         (verilog-signals-not-matching-regexp, verilog-auto):
8656         Respect verilog-case-fold.
8657         (verilog-diff-report): Fix line count.
8658         (verilog-auto-assign-modport): Remove unused local `modi'.
8659         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8660         better handle multidimensional arrays.
8661         Fix packed array ports misadding bit index in AUTOINST, bug637.
8662         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8663         to not double-declare existing outputs and inputs, respectively.
8664         (verilog-template-map): Bind U to verilog-sk-uvm-component.
8665         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8666         (verilog-sk-uvm-component): New skeleton.
8667         (verilog-submit-bug-report): Add verilog-case-fold,
8668         remove verilog-mode-release-date.
8670 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
8672         * subr.el (sit-for): Call (input-pending-p t) so as to behave
8673         as before.
8675 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
8677         * textmodes/remember.el (remember): Set buffer-offer-save in
8678         remember buffers (bug#13566).
8680 2013-10-18  Daniel Colascione  <dancol@dancol.org>
8682         When evaluating forms in ielm, direct standard output to ielm
8683         buffer.  Add new ielm-return-for-effect command.  Remove trailing
8684         whitespace throughout.
8686         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8687         (ielm-return-for-effect): New command.
8688         (ielm-send-input): Accept optional `for-effect' parameter.
8689         (ielm-eval-input): Accept optional `for-effect' parameter.
8690         Bind `standard-output' to stream we create using
8691         `ielm-standard-output-impl'.  Suppress printing result when
8692         `for-effect'.
8693         (ielm-standard-output-impl): New function.
8694         (inferior-emacs-lisp-mode): Explain new features in documentation.
8696 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
8698         Code cleanup.
8700         * net/tramp.el (tramp-debug-message): Do not check for connection
8701         buffer.
8702         (tramp-message): Use "vector" connection property.
8704         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8705         (tramp-equal-remote, tramp-eshell-directory-change)
8706         * net/tramp-adb.el (tramp-adb-handle-copy-file)
8707         (tramp-adb-handle-rename-file)
8708         * net/tramp-cmds.el (tramp-list-remote-buffers)
8709         (tramp-cleanup-connection, tramp-cleanup-this-connection)
8710         * net/tramp-compat.el (tramp-compat-process-running-p)
8711         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8712         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8713         (tramp-gvfs-handle-rename-file)
8714         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8715         (tramp-set-file-uid-gid)
8716         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8717         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8718         of `file-remote-p'.
8720         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8721         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8722         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8723         (tramp-gw-open-network-stream): Suppress unrelated traces.
8725         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8726         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8727         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8728         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8729         connection property.
8731         * net/tramp-cache.el (top): Suppress traces when reading
8732         persistency file.
8734         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8735         Refactor common code.  Improve debug message.
8736         (tramp-maybe-open-connection)
8737         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8738         connection buffer too early.
8740         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8741         from `tramp-smb-actions-with-acl'.
8742         (tramp-smb-actions-set-acl): New defconst.
8743         (tramp-smb-handle-copy-directory)
8744         (tramp-smb-action-get-acl): New defun, renamed from
8745         `tramp-smb-action-with-acl'.
8746         (tramp-smb-action-set-acl): New defun.
8747         (tramp-smb-handle-set-file-acl): Rewrite.
8749 2013-10-17  Glenn Morris  <rgm@gnu.org>
8751         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
8753 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8755         * skeleton.el (skeleton-newline): Remove.
8756         (skeleton-internal-1): Use (insert "\n") instead.
8758         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8759         let-bindings.
8761         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8762         forward-sexp-function while we redo its job (bug#15613).
8764 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
8766         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8767         represented by lists.
8769 2013-10-16  Glenn Morris  <rgm@gnu.org>
8771         * tmm.el (tmm--history): New dynamic variable.
8772         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
8774 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
8776         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8777         (tramp-smb-errors): Add error messages.
8778         (tramp-smb-actions-with-acl): New defconst.
8779         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8780         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8781         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8782         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8783         (tramp-smb-get-stat-capability): Fix tests.
8785 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8787         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8788         (bug#15580).
8790 2013-10-16  Glenn Morris  <rgm@gnu.org>
8792         * ansi-color.el (ansi-color-drop-regexp):
8793         Add 1J, 1K, 2K.  (Bug#15617)
8795         * files.el (hack-local-variables--warned-lexical): New.
8796         (hack-local-variables):
8797         Warn about misplaced lexical-binding.  (Bug#15616)
8799         * net/eww.el (eww-render): Always set eww-current-url,
8800         and update header line.  (Bug#15622)
8801         (eww-display-html): ... Rather than just doing it here.
8803 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
8805         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8806         menu navigations commands.
8808 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8810         * progmodes/subword.el (subword-capitalize): Be careful when
8811         the search for [[:alpha:]] fails (bug#15580).
8813 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
8815         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8816         to commands that scroll the menu.
8818 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
8820         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8821         Handle methods ending with `?' and `!'.
8823 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
8825         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8826         `japanese-cp932' to `cp932' to fix the problem where saving a
8827         source file written in Shift_JIS twice would end up having
8828         `coding: japanese-cp932' which Ruby could not recognize.
8829         (ruby-mode-set-encoding): Add support for encodings mapped to nil
8830         in `ruby-encoding-map'.
8831         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8832         doesn't need to be explicitly declared in magic comment.
8833         (ruby-encoding-map): Add type declaration for better customize UI.
8835 2013-10-13  Glenn Morris  <rgm@gnu.org>
8837         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8838         Occur buffers are read-only.  http://bugs.debian.org/720775
8840         * emacs-lisp/authors.el (authors-fixed-entries):
8841         Comment out old alpha stuff.
8843 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8845         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8846         to `after-save-hook' instead of `before-save-hook'.
8847         (ruby-mode-set-encoding): Use the value of coding system used to
8848         write the file.  Call `basic-save-buffer-1' after modifying the
8849         buffer.
8851 2013-10-13  Alan Mackenzie  <acm@muc.de>
8853         Fix indentation/fontification of Java enum with
8854         "implements"/generic.
8856         * progmodes/cc-engine.el (c-backward-over-enum-header):
8857         Extracted from the three other places and enhanced to handle generics.
8858         (c-inside-bracelist-p): Uses new function above.
8859         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8860         function above.
8861         (c-font-lock-enum-tail): Uses new function above.
8863 2013-10-13  Kenichi Handa  <handa@gnu.org>
8865         * international/mule-cmds.el (select-safe-coding-system): Remove a
8866         superfluous condition in chekcing whether a coding system is safe
8867         or not.
8869 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8871         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8873 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8875         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8877 2013-10-13  Glenn Morris  <rgm@gnu.org>
8879         * menu-bar.el (menu-bar-update-buffers):
8880         Unify Buffers menu prompt string.  (Bug#15576)
8882         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8884         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8885         Add some entries.
8886         (authors-fixed-entries): Use accented form of name.
8888 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8890         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8891         method calls (bug#15594).
8892         (ruby-smie--args-separator-p): New function.
8893         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8894         recognize paren-free method calls.
8896         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8897         internals of universal-argument.
8899 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8901         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8902         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8903         dropped menu on second mouse click on the menu bar.
8905 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8907         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8908         (explicit-shell-file-name): Declare.
8909         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8910         (sh-completion-at-point-function): New function.
8911         (sh-mode): Use it.
8912         (sh-smie--keyword-p): Remove unused argument.
8913         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8914         vars.
8915         (sh-set-shell): Always setup SMIE, even if we use the
8916         old indentation code.
8918 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8920         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8921         cases of ? and =.
8922         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8923         predicate would return nil are almost non-existent.
8924         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8926         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8927         cache also after commands that modify the buffer but don't move
8928         point.
8930 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8932         * env.el (substitute-env-in-file-name): New function.
8933         (substitute-env-vars): Extend the meaning of the optional arg.
8935 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8937         * term/w32-win.el (dynamic-library-alist): Define separate lists
8938         of GIF DLLs for versions before and after 5.0.0 of giflib.
8939         (Bug#15531)
8941 2013-10-10  João Távora  <joaotavora@gmail.com>
8943         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8944         not locked, use last revision and current source as
8945         defaults.  (Bug#15569)
8947 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8949         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8950         menu-bar is hidden.
8952 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8954         * window.el (pop-to-buffer-same-window): Fix doc-string.
8955         (Bug#15492)
8957 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8959         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8961 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8963         * calendar/icalendar.el (icalendar-import-file):
8964         Fix interactive spec.  (Bug#15482)
8966 2013-10-10  Glenn Morris  <rgm@gnu.org>
8968         * desktop.el (desktop-save): Default to saving in .emacs.d,
8969         since PWD is no longer in desktop-path by default.  (Bug#15319)
8971         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8972         now that text mode has a menu with the same entry.
8973         (menu-bar-text-mode-auto-fill): Remove now unused func.
8974         * textmodes/text-mode.el (text-mode-map):
8975         Use auto-fill help text from menu-bar.el.
8977 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8979         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8981 2013-10-09  Juri Linkov  <juri@jurta.org>
8983         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8984         instead of this-command-keys.  Add universal-argument-more and
8985         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8987 2013-10-09  Glenn Morris  <rgm@gnu.org>
8989         * vc/vc-svn.el (vc-svn-create-repo):
8990         Expand paths in file://... url.  (Bug#15446)
8992         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8993         Add some entries.
8994         (authors): Remove unused local variables.
8996 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8998         * profiler.el: Create a more coherent calltree from partial backtraces.
8999         (profiler-format): Hide the tail with `invisible' so that C-s can still
9000         find the hidden elements.
9001         (profiler-calltree-depth): Don't recurse so enthusiastically.
9002         (profiler-function-equal): New hash-table-test.
9003         (profiler-calltree-build-unified): New function.
9004         (profiler-calltree-build): Use it.
9005         (profiler-report-make-name-part): Indent the calltree less.
9006         (profiler-report-mode): Add visibility specs for profiler-format.
9007         (profiler-report-expand-entry, profiler-report-toggle-entry):
9008         Expand the whole subtree when provided with a prefix arg.
9010 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
9012         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9013         iuwu-mod token.
9014         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9015         hanging iuwu-mod token.
9016         (ruby-smie--forward-token): Do not include a dot after a token in
9017         that token.
9018         (ruby-smie--backward-token): Likewise.
9020 2013-10-08  Juri Linkov  <juri@jurta.org>
9022         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9023         to isearch-other-control-char.
9024         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9025         and isearch-post-command-hook to post-command-hook.
9026         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9027         and isearch-post-command-hook from post-command-hook.
9028         (isearch-unread-key-sequence)
9029         (isearch-reread-key-sequence-naturally)
9030         (isearch-lookup-scroll-key, isearch-other-control-char)
9031         (isearch-other-meta-char): Remove functions.
9032         (isearch-pre-command-hook, isearch-post-command-hook):
9033         New functions based on isearch-other-meta-char rewritten
9034         relying on the new behavior of overriding-terminal-local-map
9035         that does not replace the local keymaps any more.  (Bug#15200)
9037 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
9039         Support menus on text-mode terminals.
9040         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9041         functionality.
9043         * tooltip.el (tooltip-mode): Don't error out on TTYs.
9045         * menu-bar.el (popup-menu, popup-menu-normalize-position):
9046         Move here from mouse.el.
9047         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9048         and arrow keys.
9049         (tty-menu-navigation-map): New map for TTY menu navigation.
9051         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9053         * frame.el (display-mouse-p): Report text-mode mouse as available
9054         on w32.
9055         (display-popup-menus-p): Report availability if mouse is
9056         available; don't condition on window-system.
9058         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9059         (tty-menu-selected-face): New faces.
9061 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9063         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9064         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9065         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9066         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9067         New constants.
9068         (lisp-mode-variables): New `elisp' argument.
9069         (emacs-lisp-mode): Use it.
9070         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9071         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9073         * indent.el: Use lexical-binding.
9074         (indent-region): Add progress reporter.
9075         (tab-stop-list): Make it implicitly extend to infinity by repeating the
9076         last step.
9077         (indent--next-tab-stop): New function to implement this behavior.
9078         (tab-to-tab-stop, move-to-tab-stop): Use it.
9080 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
9082         * indent.el (indent-rigidly--current-indentation): New function.
9083         (indent-rigidly-map): New var.
9084         (indent-rigidly): Use it to provide interactive mode (bug#8196).
9086 2013-10-08  Bastien Guerry  <bzg@gnu.org>
9088         * register.el (insert-register): Fix 2013-10-07 change.
9090 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9092         * progmodes/perl-mode.el: Use lexical-binding.
9093         Remove redundant :group args.
9094         (perl-nochange): Change default to be closer to other major modes's
9095         standard behavior.
9096         (perl-indent-line): Don't consider text on current line as a
9097         valid beginning of function from which to indent.
9099         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9100         with more than one argument (bug#15538).
9102         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9104         * vc/pcvs.el: Use lexical-binding.
9105         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
9106         environment of `eval'.
9107         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
9108         than a list of expressions.  Adjust callers.
9109         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
9111 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
9113         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
9114         case of the dot in a chained method call being on the following line.
9116 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9118         * electric.el (electric-indent-inhibit): New var.
9119         (electric-indent-post-self-insert-function): Use it.
9120         * progmodes/python.el (python-mode): Set it.
9122         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
9123         open braces.
9125         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
9127         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
9128         (css-mode): Use electric-indent-chars.
9130         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
9131         (font-lock-beg, font-lock-end): Move before first use.
9132         (nxml-mode): Use syntax-propertize-function.
9133         (nxml-after-change, nxml-after-change1): Adjust accordingly.
9134         (nxml-extend-after-change-region): Remove.
9135         * nxml/xmltok.el: Use lexical-binding.
9136         (xmltok-save): Use `declare'.
9137         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
9138         * nxml/nxml-util.el: Use lexical-binding.
9139         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
9140         Use `declare'.
9141         * nxml/nxml-ns.el: Use lexical-binding.
9142         (nxml-ns-save): Use `declare'.
9143         (nxml-ns-prefixes-for): Avoid add-to-list.
9144         * nxml/rng-match.el: Use lexical-binding.
9145         (rng--ipattern): Use cl-defstruct.
9146         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
9147         (rng-cons-group-after, rng-subst-group-after)
9148         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
9149         Use closures instead of `(lambda...).
9151 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
9153         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
9154         of BEG and END.
9156         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9157         Use `tramp-handle-insert-file-contents'.
9158         (tramp-gvfs-handle-insert-file-contents): Remove function.
9160         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9161         Use `save-restriction' in order to keep markers.
9163         * net/trampver.el: Update release number.
9165 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9167         * progmodes/compile.el (compilation-parse-errors):
9168         Use compilation--put-prop.
9169         (compilation--ensure-parse): Check compilation-multiline.
9171         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
9173         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
9174         lexical-binding.
9176         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
9178         * progmodes/ruby-mode.el: Fix recently added tests.
9179         (ruby-smie-grammar): Add - and +.
9180         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
9181         (ruby-smie--backward-id): New functions.
9182         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
9183         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
9184         any more.
9186 2013-10-07  Leo Liu  <sdl.web@gmail.com>
9188         * register.el (register-preview-delay)
9189         (register-preview-functions): New variables.
9190         (register-read-with-preview, register-preview)
9191         (register-describe-oneline): New functions.
9192         (point-to-register, window-configuration-to-register)
9193         (frame-configuration-to-register, jump-to-register)
9194         (number-to-register, view-register, insert-register)
9195         (copy-to-register, append-to-register, prepend-to-register)
9196         (copy-rectangle-to-register): Use register-read-with-preview to
9197         read register.  (Bug#15525)
9199 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
9201         * net/network-stream.el (network-stream-open-starttls): Don't add
9202         --insecure if it's already present, because that gnutls-cli
9203         rejects getting that parameter twice.
9205 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
9207         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
9208         keyword, too.
9210 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
9212         * newcomment.el (comment-use-global-state): Change default value
9213         to t, mark obsolete (Bug#15251).
9214         (comment-beginning): In addition to `comment-to-syntax', check the
9215         value of `comment-use-global-state'.
9217 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9219         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
9220         (ruby-comment-column): Follow the global default, by default.
9221         (ruby-smie-grammar): Add assignment syntax.
9222         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
9223         open-paren, a comma, or a \.
9224         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9225         and line continuations.
9226         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
9227         followed by implicit semi-colons.  Add rule for string concatenation
9228         and for indentation at BOB.
9229         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
9231         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
9232         calling next-sexp, since next-token may have skipped chars which
9233         next-sexp doesn't know should be skipped!
9235 2013-10-05  Leo Liu  <sdl.web@gmail.com>
9237         * progmodes/octave.el (octave-send-region):
9238         Call compilation-forget-errors.
9240 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9242         * vc/vc-svn.el (vc-svn-find-admin-dir):
9243         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9244         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9245         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9246         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9248 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9250         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9252 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9254         * subr.el (read-passwd): Hide chars even when called within a context
9255         where after-change-functions is disabled (bug#15501).
9256         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9257         until we removed ourself from overriding-terminal-local-map.
9259 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9261         * progmodes/octave.el (inferior-octave-mode):
9262         Call compilation-forget-errors.
9264 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9266         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9268 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
9270         * net/secrets.el (secrets-create-collection): Add optional
9271         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
9272         dbus-call-method argument.  (Bug#15516)
9274 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9276         * progmodes/octave.el (inferior-octave-error-regexp-alist)
9277         (inferior-octave-compilation-font-lock-keywords): New variables.
9278         (compilation-error-regexp-alist)
9279         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9280         (inferior-octave-mode): Use compilation-shell-minor-mode.
9282 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
9284         * minibuffer.el (completion--replace): Be careful that `end' might be
9285         a marker.
9287 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9289         Add support for package signature checking.
9290         * emacs-lisp/package.el (url-http-file-exists-p)
9291         (epg-make-context, epg-context-set-home-directory)
9292         (epg-verify-string, epg-context-result-for)
9293         (epg-signature-status, epg-signature-to-string)
9294         (epg-check-configuration, epg-configuration)
9295         (epg-import-keys-from-file): Declare.
9296         (package-check-signature): New user option.
9297         (package-unsigned-archives): New user option.
9298         (package-desc): Add `signed' field.
9299         (package-load-descriptor): Set `signed' field if .signed file exists.
9300         (package--archive-file-exists-p): New function.
9301         (package--check-signature): New function.
9302         (package-install-from-archive): Check package signature.
9303         (package--download-one-archive): Check archive signature.
9304         (package-delete): Remove .signed file.
9305         (package-import-keyring): New command.
9306         (package-refresh-contents): Import default keyring.
9307         (package-desc-status): Add "unsigned" status.
9308         (describe-package-1, package-menu--print-info)
9309         (package-menu-mark-delete, package-menu--find-upgrades)
9310         (package-menu--status-predicate): Support "unsigned" status.
9312 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9314         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9315         the new compilation scheme using the new byte-codes.
9317         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9318         (byte-pophandler): New byte codes.
9319         (byte-goto-ops): Adjust accordingly.
9320         (byte-compile--use-old-handlers): New var.
9321         (byte-compile-catch): Use new byte codes depending on
9322         byte-compile--use-old-handlers.
9323         (byte-compile-condition-case--old): Rename from
9324         byte-compile-condition-case.
9325         (byte-compile-condition-case--new): New function.
9326         (byte-compile-condition-case): New function that dispatches depending
9327         on byte-compile--use-old-handlers.
9328         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9329         when we can.
9331         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9332         Optimize under `condition-case' and `catch' if
9333         byte-compile--use-old-handlers is nil.
9334         (disassemble-offset): Handle new bytecodes.
9336 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9338         * subr.el (error): Use `declare'.
9339         (decode-char, encode-char): Use advertised-calling-convention instead
9340         of the docstring to discourage use of the `restriction' arg.
9342 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9344         * epg.el (epg-verify-file): Add a comment saying that it does not
9345         notify verification error as a return value nor a signal.
9346         (epg-verify-string): Ditto.
9348 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
9350         * progmodes/compile.el (compilation-start): Try globbing the arg to
9351         `cd' (bug#15417).
9353 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
9355         Sync with Tramp 2.2.8.
9357         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9358         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9359         * net/trampver.el: Update release number.
9361 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
9363         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9364         and default-process-coding-system for darwin only.
9366 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9368         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9370 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
9372         * vc/vc-git.el (vc-git-grep): Disable pager.
9374 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
9376         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9377         Use :url instead of :homepage, as per
9378         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9380         * newcomment.el (comment-beginning): When `comment-use-syntax' is
9381         non-nil, use `syntax-ppss' (Bug#15251).
9383 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9385         * progmodes/octave.el (inferior-octave-startup-file):
9386         Prefer ~/.emacs.d/init_octave.m.
9388 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
9390         * emacs-lisp/package.el (package-desc-from-define):
9391         Accept additional arguments as plist, convert them to an alist and store
9392         them in the `extras' slot.
9393         (package-generate-description-file): Convert extras alist back to
9394         plist and append to the `define-package' form arguments.
9395         (package--alist-to-plist): New function.
9396         (package--ac-desc): Add `extras' slot.
9397         (package--add-to-archive-contents): Check if the archive-contents
9398         vector is long enough, and if it is, pass its `extras' slot value
9399         to `package-desc-create'.
9400         (package-buffer-info): Call `lm-homepage', pass the returned value
9401         to `package-desc-from-define'.
9402         (describe-package-1): Render the homepage button (Bug#13291).
9404         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9405         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9407 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
9409         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9410         and default-process-coding-system to utf-8-unix (Bug#15402).
9412 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
9414         * subr.el (looking-back): Do not recommend using looking-back.
9416 2013-09-28  Alan Mackenzie  <acm@muc.de>
9418         Fix indentation/fontification of Java enum with "implements".
9420         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9421         regexp which matches "implements", etc., in Java.
9422         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9423         specifier clauses coming after "enum".
9424         * progmodes/cc-fonts.el (c-font-lock-declarations)
9425         (c-font-lock-enum-tail): Check for extra specifier clauses coming
9426         after "enum".
9428 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
9430         * faces.el (region): Change ns_selection_color to
9431         ns_selection_fg_color, add ns_selection_bg_color.
9433 2013-09-28  Leo Liu  <sdl.web@gmail.com>
9435         * progmodes/octave.el (inferior-octave-completion-table)
9436         (inferior-octave-completion-at-point): Minor tweaks.
9438         * textmodes/ispell.el (ispell-lookup-words): Rename from
9439         lookup-words.  (Bug#15460)
9440         (lookup-words): Obsolete.
9441         (ispell-complete-word, ispell-command-loop): All uses changed.
9443 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9445         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9446         (octave-mode-menu): Add octave-send-buffer.
9447         (octave-send-buffer): New function.
9449 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9451         * progmodes/octave.el (octave-mode-map): Add key binding for
9452         octave-lookfor.
9453         (octave-mode-menu): Add octave-lookfor.
9454         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9455         octave-lookfor.
9456         (octave-lookfor): New function.
9458 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9460         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9461         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9462         its convention.
9463         (cl--loop-set-iterator-function): New function.
9464         (cl-loop): Adjust accordingly, so as not to use cl-subst.
9465         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9466         Bind `it' with `let' instead of substituting it with `cl-subst'.
9467         (cl--unused-var-p): New function.
9468         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9469         Eliminate some unused variable warnings (bug#15326).
9471 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
9473         * doc-view.el (doc-view-scale-reset): Rename from
9474         `doc-view-reset-zoom-level'.
9475         (doc-view-scale-adjust): New command.
9476         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9477         `doc-view-scale-adjust'.
9479 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
9481         * doc-view.el (doc-view-reset-zoom-level): New command.
9482         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9483         zoom commands (bug#15466).
9485 2013-09-26  Kenichi Handa  <handa@gnu.org>
9487         * international/quail.el (quail-help): Make it not a command.
9489 2013-09-26  Leo Liu  <sdl.web@gmail.com>
9491         * minibuffer.el (completion-all-sorted-completions): Make args
9492         optional as they are.
9494 2013-09-25  Daniel Colascione  <dancol@dancol.org>
9496         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9497         specs are and that they're not evaluated.
9499 2013-09-24  Sam Steingold  <sds@gnu.org>
9501         * midnight.el (clean-buffer-list-kill-regexps)
9502         (clean-buffer-list-kill-buffer-names): Update for the new Man
9503         buffer naming which includes the object name.
9505 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9507         * eshell/esh-cmd.el (eshell--sep-terms): New var.
9508         (eshell-parse-command, eshell-parse-pipeline): Use it since
9509         eshell-separate-commands requires a dynamic scoped var.
9510         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9512 2013-09-23  Leo Liu  <sdl.web@gmail.com>
9514         * autoinsert.el (auto-insert-alist): Make the value of
9515         lexical-binding match its file setting.
9517 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
9519         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9521         * autoarg.el (autoarg-kp-digit-argument):
9522         * electric.el (Electric-command-loop):
9523         * kmacro.el (kmacro-step-edit-insert):
9524         Do not set universal-argument-num-events.
9526 2013-09-22  Leo Liu  <sdl.web@gmail.com>
9528         * files.el (interpreter-mode-alist): Add octave.
9530 2013-09-21  Alan Mackenzie  <acm@muc.de>
9532         C++: fontify identifier in declaration following "public:" correctly.
9533         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9534         to match "public", etc.
9535         (c-decl-prefix-re): Add ":" into the C++ value.
9536         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9537         bit.  Add a check for a ":" preceded by "public", etc.
9539 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
9541         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9542         recognized by GDB 7.5 and later.
9544 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
9546         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9548 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9550         * subr.el (internal--call-interactively): New const.
9551         (called-interactively-p): Use it (bug#3984).
9553 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
9555         * vc/pcvs.el (cvs-mode-ignore):
9556         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9557         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9559 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9561         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
9562         (eshell-ls-orig-insert-directory): Remove.
9563         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
9564         (eshell-ls-use-in-dired): Use advice-add/remove.
9565         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9566         Add `orig-fun' arg for use in :around advice.
9567         Make it check (redundantly) eshell-ls-use-in-dired.
9569 2013-09-19  Glenn Morris  <rgm@gnu.org>
9571         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9573         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9575         * emacs-lisp/eieio.el (class-parent): Undo previous change.
9577 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
9579         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9580         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9581         (tramp-get-remote-python): New defuns.
9582         (tramp-get-remote-uid-with-perl)
9583         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
9584         contributed by yary <not.com@gmail.com> (tiny change).
9585         (tramp-get-remote-uid-with-python)
9586         (tramp-get-remote-gid-with-python): New defuns.  Python code
9587         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9588         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9590 2013-09-19  Glenn Morris  <rgm@gnu.org>
9592         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9594         * eshell/em-unix.el (eshell-remove-entries):
9595         Rename argument to avoid name-clash with global `top-level'.
9597         * eshell/esh-proc.el (eshell-kill-process-function):
9598         Remove eshell-reset-after-proc from eshell-kill-hook if present.
9599         (eshell-reset-after-proc): Remove unused arg `proc'.
9601         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9602         (directory-files-and-attributes): Mark unused arg.
9604         * eshell/em-unix.el (eshell-remove-entries):
9605         Remove unused arg `path'.  Update callers.
9607         * eshell/em-hist.el (eshell-hist-parse-arguments):
9608         Remove unused arg `silent'.  Update callers.
9610         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9611         Fix (f)boundp mix-up.
9613         * eshell/em-smart.el (eshell-smart-scroll-window)
9614         (eshell-disable-after-change):
9615         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9617 2013-09-18  Alan Mackenzie  <acm@muc.de>
9619         Fix fontification of type when followed by "const".
9620         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9621         "known" types from fontification.
9623 2013-09-18  Glenn Morris  <rgm@gnu.org>
9625         * emacs-lisp/chart.el (x-display-color-cells): Declare.
9626         (chart-face-list): Drop Emacsen without display-color-p.
9628         * net/eww.el (libxml-parse-html-region): Declare.
9629         (eww-display-html): Explicit error if no libxml2 support.
9631         * doc-view.el (doc-view-mode): Silence --without-x compilation.
9633         * image.el (image-type-from-buffer, image-multi-frame-p):
9634         Remove --without-x warning/error.
9636         * mouse.el (mouse-yank-primary):
9637         * term.el (term-mouse-paste):
9638         Reorder to silence --without-x compilation.
9640         * mpc.el (doc-view-mode): Silence --without-x compilation.
9642         * mail/rmailmm.el (rmail-mime-set-bulk-data):
9643         Silence --without-x compilation.
9645         * progmodes/gud.el (gud-find-file, gud-mode):
9646         Silence --without-x compilation.
9647         (tooltip-mode): Declare.
9649         * wdired.el (dired-backup-overwrite): Remove declaration.
9650         (wdired-mode-map): Add doc string.
9652         * custom.el (x-get-resource): Declare.
9654         * eshell/em-glob.el (ange-cache):
9655         * eshell/em-unix.el (ange-cache): Declare.
9657         * faces.el (x-display-list, x-open-connection, x-get-resource):
9658         Declare.
9660         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9661         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9662         Declare.
9664         * frame.el (x-display-grayscale-p, x-display-name): Declare.
9666         * net/gnutls.el (gnutls-log-level): Declare.
9668         * net/shr.el (image-size, image-animate): Declare.
9670         * simple.el (font-info): Declare.
9672         * subr.el (x-popup-dialog): Declare.
9674         * term/common-win.el (x-select-enable-primary)
9675         (x-last-selected-text-primary, x-last-selected-text-clipboard):
9676         Declare.
9678         * term/ns-win.el (x-handle-args): Declare.
9680         * term/x-win.el (x-select-enable-clipboard): Declare.
9682         * term/w32-win.el (create-default-fontset): Declare.
9684         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9685         Declare.
9687         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9688         (fit-frame-to-buffer): Explicit error if --without-x.
9689         (mouse-autoselect-window-select): Silence compiler.
9691         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9693         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9694         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9695         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9696         * eshell/esh-util.el (eshell-sublist):
9697         Remove unused local variables.
9699         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9701         * textmodes/two-column.el: Make 2C-split work for --without-x.
9702         (scroll-bar-columns): Autoload.
9703         (top-level): Require fringe when compiling.
9705 2013-09-18  Leo Liu  <sdl.web@gmail.com>
9707         * subr.el (add-hook): Robustify to handle closure as well.
9709 2013-09-17  Glenn Morris  <rgm@gnu.org>
9711         * simple.el (messages-buffer-mode-map): Unbind "g".
9713 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * help-mode.el (help-mode-finish): Use derived-mode-p.
9716         Remove obsolete highlighting.
9718         * play/life.el (life-mode): Use define-derived-mode.  Derive from
9719         special-mode.
9720         (life): Let-bind inhibit-read-only.
9721         (life-setup): Avoid `setq'.  Use `life-mode'.
9723         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9724         which should not be needed any more.
9725         (package-menu-refresh, package-menu-describe-package): Use user-error.
9727         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9728         (eshell-post-rewrite-command-hook): Make obsolete.
9729         (eshell-parse-command): Simplify.
9730         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9731         (eshell--cmd): Declare.
9732         (eshell-parse-pipeline): Remove unused var `final-p'.
9733         Pass a dynvar to eshell-post-rewrite-command-hook.
9734         Implement the new eshell-post-rewrite-command-function.
9735         (eshell-invoke-directly): Remove unused arg `input'.
9736         * eshell/esh-io.el (eshell-io-initialize):
9737         Use eshell-post-rewrite-command-function (bug#15399).
9738         (eshell--apply-redirections): Rename from eshell-apply-redirections;
9739         adjust to new calling convention.
9740         (eshell-create-handles): Rename args to avoid clashing with dynvar
9741         `standard-output'.
9743 2013-09-17  Glenn Morris  <rgm@gnu.org>
9745         * simple.el (messages-buffer-mode): New major mode.
9746         (messages-buffer): New function.
9747         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9748         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9749         (ert-run-test): Use `messages-buffer' function.
9750         (ert--force-message-log-buffer-truncation): Ignore read-only.
9751         * help.el (view-echo-area-messages): Use `messages-buffer' function.
9752         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9754 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9756         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9758         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9760 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9762         * icomplete.el (icomplete-in-buffer): New var.
9763         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9764         vars and replace them with functions.
9765         (icomplete-minibuffer-setup): Adjust accordingly.
9766         (icomplete--completion-table, icomplete--completion-predicate)
9767         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9768         New functions.
9769         (icomplete-forward-completions, icomplete-backward-completions)
9770         (icomplete-simple-completing-p, icomplete-exhibit)
9771         (icomplete-completions): Use them.
9772         (icomplete--in-region-buffer): New var.
9773         (icomplete--in-region-setup): New function.
9774         (icomplete-mode): Use it.
9776         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9777         (bug#15379).
9778         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9779         return args and options.
9780         (eshell-eval-using-options): Use the new return value of
9781         eshell--do-opts to set the options's vars in their scope.
9782         (eshell--set-option): Rename from eshell-set-option.
9783         Add arg `opt-vals'.
9784         (eshell--process-option): Rename from eshell-process-option.
9785         Add arg `opt-vals'.
9786         (eshell--process-args): Use an `opt-vals' alist to store the options's
9787         values during their processing and return them additionally to the
9788         remaining args.
9790 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
9792         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9793         continuation character an operator, as far as indentation is
9794         concerned (Bug#15369).
9796 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
9798         * window.el (window--state-put-2): Don't process buffer state
9799         when buffer doesn't exist any more (Bug#15382).
9801 2013-09-15  Glenn Morris  <rgm@gnu.org>
9803         * eshell/em-unix.el (eshell/rm):
9804         Make -f ignore missing files.  (Bug#15373)
9806         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
9807         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9808         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9810 2013-09-14  Glenn Morris  <rgm@gnu.org>
9812         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9814 2013-09-13  Glenn Morris  <rgm@gnu.org>
9816         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9817         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
9819 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
9821         * frame.el (x-focus-frame): Mark as declared in frame.c.
9823 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9825         * ls-lisp.el: Use advice-add.
9826         (original-insert-directory): Remove.
9827         (ls-lisp--insert-directory): Rename from insert-directory; add
9828         `orig-fun' argument.
9829         (insert-directory): Advise.
9831 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
9833         * term.el (term-emulate-terminal): Decode the command string
9834         before passing it to term-command-hook.  (Bug#15337)
9836 2013-09-13  Glenn Morris  <rgm@gnu.org>
9838         * eshell/esh-util.el (ange-cache): Move declaration earlier.
9840         * eshell/esh-ext.el (eshell-search-path): Declare.
9842         * eshell/em-prompt.el (eshell/pwd): Autoload it.
9843         Otherwise an error occurs if eshell-dirs module not loaded.
9845         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9847 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9849         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9850         `tramp-check-proper-host'.  Check for a valid method name.
9852         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9853         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9854         * net/tramp-sh.el (tramp-maybe-open-connection):
9855         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9857         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9858         also for hash values.
9860 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9862         * term/ns-win.el (parameters): Don't declare as dynamic.
9863         (before-make-frame-hook): Don't add ineffective function.
9865         * eshell/*.el: Use lexical-binding (bug#15231).
9867 2013-09-12  Kenichi Handa  <handa@gnu.org>
9869         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9871 2013-09-12  Glenn Morris  <rgm@gnu.org>
9873         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9874         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9876         * subr.el (do-after-load-evaluation): Also give compiler warnings
9877         when obsolete files are used (except by obsolete files).
9879         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9880         in the status output, assume `filename' is the first.  (Bug#15322)
9882         * vc/vc.el (vc-deduce-fileset): Doc fix.
9884         * calc/calc-help.el (Info-goto-node):
9885         * progmodes/cperl-mode.el (Info-find-node):
9886         * vc/ediff.el (Info-goto-node): Update declarations.
9888         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9890         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9891         (vc-bzr-pull): Require vc-dispatcher.
9892         * vc/vc-git.el (vc-compilation-mode): Declare.
9893         (vc-git-pull): Require vc-dispatcher.
9895         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9897         * progmodes/octave.el (help-button-action): Declare.
9899         * shell.el (shell-directory-tracker): Output error as a message
9900         rather than just returning it as a string.
9901         (shell-process-pushd): Remove useless use of message.
9903         * dframe.el (dframe-timer-fn):
9904         * files.el (dir-locals-read-from-file):
9905         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9906         (mpc-format):
9907         * reveal.el (reveal-post-command):
9908         * saveplace.el (load-save-place-alist-from-file):
9909         * shell.el (shell-resync-dirs):
9910         * w32-common-fns.el (x-get-selection-value):
9911         * emacs-lisp/copyright.el (copyright-find-copyright):
9912         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9913         * emulation/tpu-edt.el (tpu-copy-keyfile):
9914         * play/bubbles.el (bubbles--mark-neighbourhood):
9915         * progmodes/executable.el
9916         (executable-make-buffer-file-executable-if-script-p):
9917         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9919 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9921         Cleanup Eshell to rely less on dynamic scoping.
9922         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9923         last-value, and ext-command here.  Bind `args' closer to `body'.
9924         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9925         (eshell--args): Declare new dynamic var.
9926         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9927         last-value, and ext-command.  Pass `args' to `body'.
9928         (eshell-process-args): Bind eshell--args.
9929         (eshell-set-option): Use eshell--args.
9930         * eshell/eshell.el (eshell): Use derived-mode-p.
9931         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9932         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9933         (eshell-glob-function): Declare.
9934         * eshell/esh-util.el: Require cl-lib.
9935         (eshell-read-hosts-file): Avoid add-to-list.
9936         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9937         `err'.
9938         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9939         Declare.
9940         (eshell/diff): Remove unused var `err'.
9941         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9942         `killflag'.
9943         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9944         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9945         first use.
9946         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9947         Move declaration before first use.
9948         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9949         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9950         rely on cl-return.
9952 2013-09-12  Glenn Morris  <rgm@gnu.org>
9954         * term/ns-win.el (global-map): Remove binding for ispell-next,
9955         deleted 1999-05-29.  (Bug#15357)
9957 2013-09-11  Glenn Morris  <rgm@gnu.org>
9959         * echistory.el (electric-command-history): Remove call to deleted func.
9961         * play/landmark.el (landmark-mode): Fix typos.
9963         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9964         Check cvs-sort-ignore-file is bound.
9966         * savehist.el: No need for cl when compiling on Emacs.
9968 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9970         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9971         (bug#15338).
9972         (eshell-self-insert-command, eshell-send-invisible):
9973         Remove unused argument.
9974         (eshell-handle-control-codes): Remove unused var `orig'.
9975         Avoid delete-backward-char.
9977         * files.el (set-auto-mode): Simplify a bit further.
9979 2013-09-11  Glenn Morris  <rgm@gnu.org>
9981         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9982         (set-auto-mode): Don't regexp-quote elements.
9983         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9984         * progmodes/cc-mode.el (interpreter-mode-alist):
9985         * progmodes/ruby-mode.el (interpreter-mode-alist):
9986         Revert previous change.
9988 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9990         * play/snake.el (snake-mode):
9991         * play/mpuz.el (mpuz-mode):
9992         * play/landmark.el (lm-mode):
9993         * play/blackbox.el (blackbox-mode):
9994         * play/5x5.el (5x5-mode):
9995         * obsolete/options.el (Edit-options-mode):
9996         * net/quickurl.el (quickurl-list-mode):
9997         * net/newst-treeview.el (newsticker-treeview-mode):
9998         * mail/rmailsum.el (rmail-summary-mode):
9999         * mail/mspools.el (mspools-mode):
10000         * locate.el (locate-mode):
10001         * ibuffer.el (ibuffer-mode):
10002         * emulation/ws-mode.el (wordstar-mode):
10003         * emacs-lisp/debug.el (debugger-mode):
10004         * array.el (array-mode):
10005         * net/eudc.el (eudc-mode): Use define-derived-mode.
10006         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10007         Move initialization into declaration.
10008         (mairix-searches-mode): Use define-derived-mode.
10009         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10010         (eudc-edit-hotlist): Use dolist.
10011         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10012         (Man-mode): Use define-derived-mode.
10013         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10014         (Info-edit-mode): Use define-derived-mode.
10015         (Info-cease-edit): Use Info-mode.
10016         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10017         into declaration.
10018         (eshell-mode): Use define-derived-mode.
10019         * chistory.el (command-history-mode-map): Rename from
10020         command-history-map.
10021         (command-history-mode): Use define-derived-mode.
10022         (Command-history-setup): Remove function.
10023         * calc/calc.el (calc-trail-mode-map): New var.
10024         (calc-trail-mode): Use define-derived-mode.
10025         (calc-trail-buffer): Set calc-main-buffer manually.
10026         * bookmark.el (bookmark-insert-annotation): New function.
10027         (bookmark-edit-annotation): Use it.
10028         (bookmark-edit-annotation-mode): Make it a proper major mode.
10029         (bookmark-send-edited-annotation): Use derived-mode-p.
10030         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10031         closer to its ideal place.  Use \' to match EOS.
10033         * profiler.el (profiler-calltree-find): Use function-equal.
10035 2013-09-10  Glenn Morris  <rgm@gnu.org>
10037         * files.el (interpreter-mode-alist): Convert to regexps.
10038         (set-auto-mode): Adapt for this.  (Bug#15306)
10039         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10040         Comment out unused variable.
10041         * progmodes/cc-mode.el (interpreter-mode-alist):
10042         * progmodes/python.el (interpreter-mode-alist):
10043         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10044         * progmodes/sh-script.el (sh-set-shell):
10045         No longer use interpreter-mode-alist to get list of shells.
10047         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10049 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10051         * simple.el: Use set-temporary-overlay-map for universal-argument.
10052         (universal-argument-map): Don't use default-bindings (bug#15317).
10053         Bind switch-frame explicitly.  Replace universal-argument-minus with
10054         a conditional binding.
10055         (universal-argument-num-events, saved-overriding-map): Remove.
10056         (restore-overriding-map): Remove.
10057         (universal-argument--mode): Rename from save&set-overriding-map,
10058         and rewrite.
10059         (universal-argument, universal-argument-more, negative-argument)
10060         (digit-argument): Adjust accordingly.
10061         (universal-argument-minus): Remove.
10062         (universal-argument-other-key): Remove.
10064         * subr.el (with-demoted-errors): Add `format' argument.
10066 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
10068         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
10069         `tramp-cleanup-connection'.
10071         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10072         parameters KEEP-DEBUG and KEEP-PASSWORD.
10074         * net/tramp.el (tramp-file-name-handler):
10075         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10076         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10077         (tramp-maybe-open-connection):
10078         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10079         Use `tramp-cleanup-connection'.
10081         * net/tramp-sh.el (tramp-maybe-open-connection):
10082         Catch 'uname-changed inside the progress reporter.
10084 2013-09-10  Glenn Morris  <rgm@gnu.org>
10086         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
10088         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10089         returns "alternate access method" in mode (eg "-rw-r--r--.").
10091 2013-09-08  Glenn Morris  <rgm@gnu.org>
10093         * saveplace.el (load-save-place-alist-from-file):
10094         Demote errors.  (Bug#15305)
10096 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
10098         Improve compatibility with older Emacsen, and XEmacs.
10100         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10101         only if it is bound.  It isn't for XEmacs.
10102         (with-tramp-progress-reporter): Do not let-bind `result'.
10103         This yields to scoping errors in XEmacs.
10104         (tramp-handle-make-auto-save-file-name): New function, moved from
10105         tramp-sh.el.
10107         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
10108         for `make-auto-save-file-name'.
10109         (tramp-adb--gnu-switches-to-ash):
10110         Use `tramp-compat-replace-regexp-in-string'.
10112         * net/tramp-cache.el (tramp-cache-print): Call
10113         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
10115         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
10116         bound.  It isn't for XEmacs.
10118         * net/tramp-compat.el (tramp-compat-copy-file):
10119         Catch `wrong-number-of-arguments' error.
10120         (tramp-compat-replace-regexp-in-string): New defun.
10122         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
10123         for `make-auto-save-file-name'.
10124         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
10125         `copy-file'.
10126         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
10127         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
10128         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
10130         * net/tramp-gw.el (tramp-gw-open-network-stream):
10131         Use `tramp-compat-replace-regexp-in-string'.
10133         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10134         Call `tramp-handle-make-auto-save-file-name'.
10135         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
10136         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10137         (tramp-sh-file-inotifywait-process-filter):
10138         Use `tramp-compat-replace-regexp-in-string'.
10139         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
10141         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
10142         for `make-auto-save-file-name'.
10143         (tramp-smb-handle-copy-directory):
10144         Call `tramp-compat-replace-regexp-in-string'.
10145         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
10146         (tramp-smb-handle-copy-file): Improve error message.
10147         (tramp-smb-handle-rename-file): Rename directly only in case
10148         `newname' does not exist yet.  This is a restriction of smbclient.
10149         (tramp-smb-maybe-open-connection): Rerun the function only when
10150         `auth-sources' is non-nil.
10152 2013-09-08  Kenichi Handa  <handa@gnu.org>
10154         * international/characters.el: Set category "^" (Combining) for
10155         more characters.
10157 2013-09-07  Alan Mackenzie  <acm@muc.de>
10159         Correctly fontify Java class constructors.
10160         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
10161         in Java Mode.
10162         (c-recognize-typeless-decls): Set the Java value to t.
10163         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10164         While handling a "(", add a check for, effectively, Java, and handle a
10165         "typeless" declaration there.
10167 2013-09-07  Roland Winkler  <winkler@gnu.org>
10169         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
10170         field subtitle for entry type book.
10172 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10174         * minibuffer.el: Make minibuffer-complete call completion-in-region
10175         rather than other way around.
10176         (completion--some, completion-pcm--find-all-completions):
10177         Don't delay signals when debugging.
10178         (minibuffer-completion-contents): Beware fields within the
10179         minibuffer contents.
10180         (completion-all-sorted-completions): Use defvar-local.
10181         (completion--do-completion, completion--cache-all-sorted-completions)
10182         (completion-all-sorted-completions, minibuffer-force-complete):
10183         Add args `beg' and `end'.
10184         (completion--in-region-1): New fun, extracted from minibuffer-complete.
10185         (minibuffer-complete): Use completion-in-region.
10186         (completion-complete-and-exit): New fun, extracted from
10187         minibuffer-complete-and-exit.
10188         (minibuffer-complete-and-exit): Use it.
10189         (completion--complete-and-exit): Rename from
10190         minibuffer--complete-and-exit.
10191         (completion-in-region--single-word): New function, extracted from
10192         minibuffer-complete-word.
10193         (minibuffer-complete-word): Use it.
10194         (display-completion-list): Make `common-substring' argument obsolete.
10195         (completion--in-region): Call completion--in-region-1 instead of
10196         minibuffer-complete.
10197         (completion-help-at-point): Pass boundaries to
10198         minibuffer-completion-help as args rather than via an overlay.
10199         (completion-pcm--string->pattern): Use `any-delim'.
10200         (completion-pcm--optimize-pattern): New function.
10201         (completion-pcm--pattern->regex): Handle `any-delim'.
10202         * icomplete.el (icomplete-forward-completions)
10203         (icomplete-backward-completions, icomplete-completions):
10204         Adjust calls to completion-all-sorted-completions and
10205         completion--cache-all-sorted-completions.
10206         (icomplete-with-completion-tables): Default to t.
10207         * emacs-lisp/crm.el (crm--current-element): Rename from
10208         crm--select-current-element.  Don't put an overlay but return the
10209         boundaries instead.
10210         (crm--completion-command): Take two new args to bind to the boundaries.
10211         (crm-completion-help): Adjust accordingly.
10212         (crm-complete): Use completion-in-region.
10213         (crm-complete-word): Use completion-in-region--single-word.
10214         (crm-complete-and-exit): Use completion-complete-and-exit.
10216 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10218         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
10219         than dynamically.
10221 2013-09-06  Juri Linkov  <juri@jurta.org>
10223         * info.el (Info-display-images-node): When image file doesn't exist
10224         display text version of the image if it's provided in the Info file.
10225         Otherwise, display the location of missing image from SRC attribute.
10226         Add help-echo text property from ALT attribute.  (Bug#15279)
10228 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10230         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
10231         (edit-abbrevs-mode): Use define-derived-mode.
10233         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
10234         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
10235         that it's defined.
10236         (epa-key-list-mode, epa-key-mode, epa-info-mode):
10237         Use define-derived-mode.
10239         * epg.el (epg-start-encrypt): Minor CSE simplification.
10241 2013-09-06  William Xu  <william.xwl@gmail.com>
10243         * arc-mode.el: Add support for 7za (bug#15264).
10244         (archive-7z-program): New var.
10245         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10246         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10247         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10249 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
10251         Remove URL syntax.
10253         * net/tramp.el (tramp-syntax, tramp-prefix-format)
10254         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10255         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10256         (tramp-postfix-host-format, tramp-file-name-regexp)
10257         (tramp-completion-file-name-regexp)
10258         (tramp-completion-dissect-file-name)
10259         (tramp-handle-substitute-in-file-name): Remove 'url case.
10260         (tramp-file-name-regexp-url)
10261         (tramp-completion-file-name-regexp-url): Remove constants.
10263 2013-09-06  Glenn Morris  <rgm@gnu.org>
10265         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
10267 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
10269         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10270         keywords" below "here-doc beginnings" (Bug#15270).
10272 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10274         * subr.el (pop): Use `car-safe'.
10275         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10276         to detect unused `pop' return value.
10278         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10279         var `block-regexp'.
10280         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10281         (python-fill-string): Remove unused var `marker'.
10282         (python-skeleton-add-menu-items): Remove unused var `items'.
10284         * international/mule-cmds.el: Require CL.
10285         (find-coding-systems-for-charsets): Avoid add-to-list.
10286         (sanitize-coding-system-list): New function, extracted from
10287         select-safe-coding-system-interactively.
10288         (select-safe-coding-system-interactively): Use it.
10289         (read-input-method-name): Accept symbols for `default'.
10291         * emacs-lisp/advice.el (defadvice): Add indent rule.
10293 2013-09-05  Daniel Hackney  <dan@haxney.org>
10295         * dired-x.el:
10296         * net/ange-ftp.el:
10297         * net/browse-url.el:
10298         * net/dbus.el:
10299         * net/eudc.el:
10300         * net/eudcb-ldap.el:
10301         * net/eww.el:
10302         * net/imap.el:
10303         * printing.el:
10304         * vc/ediff-diff.el:
10305         * vc/ediff-init.el:
10306         * vc/ediff-merg.el:
10307         * vc/ediff-mult.el:
10308         * vc/ediff-util.el:
10309         * vc/ediff-wind.el:
10310         * vc/ediff.el:
10311         * vc/emerge.el:
10312         * vc/pcvs.el:
10313         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10314         byte compiler.  Remove some unused let-bound variables.
10316 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10318         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10319         a "ref-cell", since it gets better optimized (bug#14883).
10321 2013-09-05  Glenn Morris  <rgm@gnu.org>
10323         * progmodes/cc-awk.el (c-forward-sws): Declare.
10325 2013-09-04  Glenn Morris  <rgm@gnu.org>
10327         * generic-x.el [rul-generic-mode]: Require cc-mode.
10328         (c++-mode-syntax-table): Declare.
10329         (rul-generic-mode-syntax-table): Init in the defvar.
10331 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10333         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10334         (vc-do-command, vc-set-async-update):
10335         * vc/vc-mtn.el (vc-mtn-dir-status):
10336         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10337         (vc-hg-pull, vc-hg-merge-branch):
10338         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10339         (vc-git-merge-branch):
10340         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10341         (vc-cvs-dir-status-files):
10342         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10343         (vc-bzr-dir-status-files):
10344         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10345         * vc/vc-annotate.el: Use lexical-binding.
10346         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10347         (vc-sentinel-movepoint): Declare.
10348         (vc-annotate): Don't use `goto-line'.
10349         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10350         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10351         (vc-sentinel-movepoint): Declare.
10352         * vc/vc-svn.el: Use lexical-binding.
10353         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10354         * vc/vc-sccs.el:
10355         * vc/vc-rcs.el: Use lexical-binding.
10357         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10358         `deleted'.  Don't drop errors silently.
10360         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10362 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
10364         * vc/vc.el (vc-ignore): Rewrite.
10365         (vc-default-ignore): New function.
10366         (vc-default-ignore-completion-table): Use find-ignore-file.
10368         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10369         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10370         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10371         Remove.  Most code moved to vc.el.
10373 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10375         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10376         * net/tramp-smb.el (tramp-smb-get-file-entries):
10377         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10378         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10380         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10381         Update call to it.
10382         (eww-change-select): Remove unused var `properties'.
10383         (eww-make-unique-file-name): Remove unused var `base'.
10385         * finder.el (finder-compile-keywords): Don't mess with windows.
10387         * calculator.el (calculator-funcall): Fix typo in last change.
10389         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10391         * emacs-lisp/package.el (package-activate-1): Don't let a missing
10392         <pkg>-autoloads.el file stop us.
10394         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10395         warnings, and factor out common code.
10397 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
10399         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10400         two-character operators and whether the character preceding them
10401         changes their meaning (Bug#15208).
10403 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10405         Format code sent to Python shell for robustness.
10406         * progmodes/python.el (python-shell-buffer-substring):
10407         New function.
10408         (python-shell-send-region, python-shell-send-buffer): Use it.
10410 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
10412         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10413         * net/tramp.el (tramp-user-error): ... here.
10414         (tramp-find-method, tramp-check-proper-host)
10415         (tramp-dissect-file-name, tramp-debug-message)
10416         (tramp-handle-shell-command):
10417         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10418         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10420         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10422 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
10424         * avoid.el (mouse-avoidance-point-position)
10425         (mouse-avoidance-too-close-p): Handle case where posn-at-point
10426         returns nil.
10428 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10430         * progmodes/python.el (python-shell-completion-get-completions):
10431         Drop use of deleted `comint-last-prompt-overlay'.
10432         (python-nav-if-name-main): New command.
10434 2013-09-01  Glenn Morris  <rgm@gnu.org>
10436         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10437         Avoid leading space in $wins.  Otherwise the sed command used by
10438         eg compile-main ends up containing "/*.el".  (Bug#15170)
10440         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
10442 2013-08-30  Glenn Morris  <rgm@gnu.org>
10444         * emacs-lisp/bytecomp.el (byte-recompile-directory):
10445         Fix is-this-a-directory logic.  (Bug#15220)
10447 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10449         * textmodes/css-mode.el: Use SMIE.
10450         (css-smie-grammar): New var.
10451         (css-smie--forward-token, css-smie--backward-token)
10452         (css-smie-rules): New functions.
10453         (css-mode): Use them.
10454         (css-navigation-syntax-table): Remove var.
10455         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10456         (css-indent-calculate, css-indent-line): Remove functions.
10458         Misc changes to reduce use of `(lambda...); and other cleanups.
10459         * cus-edit.el: Use lexical-binding.
10460         (customize-push-and-save, customize-apropos)
10461         (custom-buffer-create-internal): Use closures.
10462         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10463         * progmodes/ada-xref.el: Use setq.
10464         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10465         * dframe.el: Use lexical-binding.
10466         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
10467         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10468         * descr-text.el: Use lexical-binding.
10469         (describe-text-widget, describe-text-sexp, describe-property-list):
10470         Use closures.
10471         * comint.el (comint-history-isearch-push-state): Use a closure.
10472         * calculator.el: Use lexical-binding.
10473         (calculator-number-to-string): Make it work with lexical-binding.
10474         (calculator-funcall): Same and use cl-letf.
10476         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10477         (lisp--company-doc-string, lisp--company-location): New functions.
10478         (lisp-completion-at-point): Use them to improve Company support.
10480         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10481         params of lambda expressions.
10482         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10483         (ruby-smie--opening-pipe-p): New function.
10484         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10485         symbols and matched |...| for formal params.
10486         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10487         from being treated as hanging.  Handle "rescue".
10489 2013-08-29  Glenn Morris  <rgm@gnu.org>
10491         * progmodes/cc-engine.el (c-pull-open-brace):
10492         Move definition before use.
10494 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10496         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10497         are immutable.  Don't use `unsafe' any more.
10498         (cl--defsubst-expand): Don't substitute at the same time as keeping
10499         a residual unused let-binding.  Don't use `unsafe' any more.
10501 2013-08-29  Glenn Morris  <rgm@gnu.org>
10503         * calendar/cal-china.el (calendar-chinese-year-cache):
10504         Recenter on 2015.
10506         * nxml/nxml-util.el (nxml-debug-clear-inside):
10507         Use cl-loop rather than loop.
10509         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10511         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10513 2013-08-28  Glenn Morris  <rgm@gnu.org>
10515         * progmodes/antlr-mode.el: No need to require cc-mode twice.
10517         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10519         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10521 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10523         * simple.el (repeat-complex-command--called-interactively-skip):
10524         New function.
10525         (repeat-complex-command): Use it (bug#14136).
10527         * progmodes/cc-mode.el: Minor cleanup of var declarations.
10528         (c-define-abbrev-table): Add `doc' argument.
10529         (c-mode-abbrev-table, c++-mode-abbrev-table)
10530         (objc-mode-abbrev-table, java-mode-abbrev-table)
10531         (idl-mode-abbrev-table, pike-mode-abbrev-table)
10532         (awk-mode-abbrev-table): Use it.
10533         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10534         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10535         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10536         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10537         Move initialization into the declaration; and remove any
10538         autoload cookie.
10540         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10541         and dynamic let binding.
10543         * vc/smerge-mode.el: Remove redundant :group args.
10545         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10546         to load-path.
10548 2013-08-28  Juri Linkov  <juri@jurta.org>
10550         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10551         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10552         (isearch-other-meta-char): Handle an undefined shifted printing
10553         character by downshifting it.  (Bug#15200)
10555 2013-08-28  Juri Linkov  <juri@jurta.org>
10557         * isearch.el (isearch-search): Change regexp error message for
10558         non-regexp searches.  (Bug#15166)
10560 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
10562         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10563         for portability to hosts where /bin/sh has problems.
10565 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10567         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10569 2013-08-27  Juri Linkov  <juri@jurta.org>
10571         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10572         in the keyboard macro.  (Bug#15126)
10574 2013-08-27  Juri Linkov  <juri@jurta.org>
10576         * isearch.el (isearch-quote-char): Comment out converting unibyte
10577         to multibyte, thus syncing with its `quoted-insert' counterpart.
10578         (Bug#15166)
10580 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
10582         * window.el (display-buffer-use-some-window): Add missing
10583         argument in call of get-largest-window (Bug#15185).
10584         Reported by Stephen Leake.
10586 2013-08-27  Glenn Morris  <rgm@gnu.org>
10588         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10590 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10592         * progmodes/python.el (python-font-lock-keywords): Don't return nil
10593         from a matcher-function unless there's no more matches (bug#15161).
10595 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10597         * minibuffer.el: Revert change from 2013-08-20.
10599         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10600         with text property `tramp-default', if appropriate.
10601         (tramp-check-proper-host): New defun.
10602         (tramp-dissect-file-name): Do not check hostname.  Revert change
10603         of 2013-03-18.
10604         (tramp-backtrace): Make VEC-OR-PROC optional.
10606         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10607         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10608         * net/tramp-sh.el (tramp-maybe-open-connection):
10609         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10610         Apply `tramp-check-proper-host'.
10612 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
10614         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10615         lambda expression in order to have `describe-variable' display it.
10617 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10619         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10620         BUF can be optional.  (Bug#15186)
10622 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
10624         * progmodes/flymake.el (flymake-get-real-file-name-function):
10625         Fix broken customization.  (Bug#15184)
10627 2013-08-25  Alan Mackenzie  <acm@muc.de>
10629         Improve indentation of bracelists defined by macros (without "=").
10631         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10632         expansion begins with "{", regard it as bracelist when it doesn't
10633         contain a ";".
10635         Parse C++ inher-intro when there's a template split over 2 lines.
10637         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10638         rigorously the search for "class" etc. followed by ":".
10640         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10641         random languages a regexp which never matches rather than nil.
10643         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10645         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10646         (c-awk-regexp-one-line-possibly-open-char-list-re)
10647         (c-awk-one-line-possibly-open-regexp-re)
10648         (c-awk-one-line-non-syn-ws*-re): Remove.
10649         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10650         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10651         (c-awk-space*-unclosed-regexp-/-re): New constants.
10652         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10653         aren't regexp delimiters.
10655         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10656         handling for a rare situation in AWK Mode involving unterminated
10657         strings/regexps.
10659 2013-08-23  Glenn Morris  <rgm@gnu.org>
10661         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10663         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10665         * files.el (create-file-buffer): If the result would begin with
10666         spaces, prepend a "|" instead of removing them.  (Bug#15162)
10668 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10671         text-properties (bug#15155).
10673         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10674         exist any more.
10675         (calc-keypad-redraw): Remove unused var `pad'.
10676         (calc-keypad-press): Remove unused var `menu'.
10678 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
10680         * window.el (display-buffer-pop-up-frame):
10681         Call pop-up-frame-function with BUFFER current so `make-frame' will
10682         use it as the new frame's buffer (Bug#15133).
10684 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10686         * calendar/timeclock.el: Minor cleanups.
10687         (timeclock-ask-before-exiting, timeclock-use-display-time):
10688         Use `symbol'.
10689         (timeclock-modeline-display): Define as alias before the
10690         actual definition.
10691         (timeclock-mode-line-display): Use define-minor-mode.
10692         (timeclock-day-list-template): Make it a function, add an argument.
10693         (timeclock-day-list-required, timeclock-day-list-length)
10694         (timeclock-day-list-debt, timeclock-day-list-span)
10695         (timeclock-day-list-break): Adjust calls accordingly.
10697 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10699         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10700         Use read--expression so that completion works again.
10702 2013-08-21  Sam Steingold  <sds@gnu.org>
10704         Add rudimentary inferior shell interaction
10705         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10706         (sh-set-shell): Reset it.
10707         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10708         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10710 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10712         * align.el: Use lexical-binding.
10713         (align-region): Simplify accordingly.
10715 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
10717         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10719         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10720         `non-essential' up.
10722 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
10724         * net/tramp.el:
10725         * net/tramp-adb.el:
10726         * net/tramp-cmds.el:
10727         * net/tramp-ftp.el:
10728         * net/tramp-gvfs.el:
10729         * net/tramp-gw.el:
10730         * net/tramp-sh.el: Don't wrap external variable declarations by
10731         `eval-when-compile'.
10733 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10735         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10736         now that Emacs supports ImageMagick animations.
10738 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
10740         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10741         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10743 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
10745         * window.el (mouse-autoselect-window-select): Do autoselect when
10746         mouse pointer is on margin.
10748 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
10750         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
10752 2013-08-16  Glenn Morris  <rgm@gnu.org>
10754         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10755         Handle "Remote Directory" response of some clients.  (Bug#15058)
10757         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10758         Tweak warning.  (Bug#14926)
10760         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10761         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
10763         * image-mode.el (image-mode-map): Add menu items to reverse,
10764         increase, decrease, reset animation speed.
10765         (image--set-speed, image-increase-speed, image-decrease-speed)
10766         (image-reverse-speed, image-reset-speed): New functions.
10767         (image-mode-map): Add bindings for speed commands.
10769         * image.el (image-animate-get-speed, image-animate-set-speed):
10770         New functions.
10771         (image-animate-timeout): Respect image :speed property.
10773 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10775         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10776         previous line (bug#15101).
10777         (debugger-eval-expression, debugger-record-expression):
10778         Use read--expression (bug#15102).
10780 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
10782         Remove byte compiler warnings, visible when compiling with
10783         `byte-compile-force-lexical-warnings' set to t.
10785         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10786         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10787         (tramp-handle-unhandled-file-name-directory)
10788         (tramp-handle-file-notify-add-watch, tramp-action-login)
10789         (tramp-action-succeed, tramp-action-permission-denied)
10790         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10791         arguments with "_".
10793         * net/tramp-adb.el (tramp-adb-parse-device-names)
10794         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10795         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10796         (tramp-adb-handle-file-truename): Remove unused arguments.
10798         * net/tramp-cache.el (tramp-flush-directory-property)
10799         (tramp-flush-connection-property, tramp-list-connections)
10800         (tramp-parse-connection-properties): Prefix unused arguments with "_".
10802         * net/tramp-compat.el (tramp-compat-make-temp-file):
10803         Rename FILENAME to F.
10805         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10806         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10807         (tramp-zeroconf-parse-workstation-device-names)
10808         (tramp-zeroconf-parse-webdav-device-names)
10809         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10811         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10812         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10814         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10815         arguments.
10816         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10817         (tramp-sh-handle-insert-file-contents-literally)
10818         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10819         with "_".
10820         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10821         Remove unused variables.
10823         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10824         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10825         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10827         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10828         Make them a defconst.
10829         (tramp-uuencode-region): Remove unused variable.
10831 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
10833         * frameset.el (frameset--prop-setter): New function.
10834         (frameset-prop): Add gv-setter declaration.
10835         (frameset-filter-minibuffer): Deal with the case that the minibuffer
10836         parameter was already set in FILTERED.  Doc fix.
10837         (frameset--record-minibuffer-relationships): Allow saving a
10838         minibufferless frame without its corresponding minibuffer frame.
10839         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10840         frame, if the frame id matches.
10841         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10842         frames before orphaned ones.
10843         (frameset-restore): Warn about orphaned windows, instead of error out.
10845 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10847         * window.el (window-make-atom): Don't overwrite parameter
10848         already present.
10849         (display-buffer-in-atom-window): Handle special case where we
10850         split an already atomic window.
10851         (window--major-non-side-window, display-buffer-in-side-window)
10852         (window--side-check): Ignore minibuffer window when walking
10853         window tree.
10854         (window-deletable-p): Return 'frame only if no other frame uses
10855         our minibuffer window.
10856         (record-window-buffer): Run buffer-list-update-hook.
10857         (split-window): Make sure window--check-frame won't destroy an
10858         existing atomic window in case the new window gets nested
10859         inside.
10860         (display-buffer-at-bottom): Ignore minibuffer window when
10861         walking window tree.  Don't split a side window.
10862         (pop-to-buffer): Don't set-buffer here, the select-window call
10863         should do that.
10864         (mouse-autoselect-window-select): Autoselect only if we are in the
10865         text portion of the window.
10867 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10869         * net/shr.el (shr-parse-image-data): New function to grab both the
10870         data itself and the Content-Type.
10871         (shr-put-image): Use it.
10873         * net/eww.el (eww-display-image): Ditto.
10875         * image.el (image-content-type-suffixes): New variable.
10877 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10879         * progmodes/python.el (python-imenu--build-tree)
10880         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10882 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10884         * simple.el (backward-word): Mention the optional argument.
10886 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         * frameset.el (frameset--make): Rename constructor from make-frameset.
10889         (frameset-p, frameset-valid-p): Don't autoload.
10890         (frameset-valid-p): Use normal accessors.
10892 2013-08-13  Glenn Morris  <rgm@gnu.org>
10894         * progmodes/compile.el (compile-command): Tweak example in doc.
10895         * obsolete/scribe.el (scribe-mode):
10896         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10898         * mail/feedmail.el (feedmail-confirm-outgoing)
10899         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10901         * cus-start.el (truncate-partial-width-windows): Fix type.
10903         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10905         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10907 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10909         * emacs-lisp/timer.el (timer--time-setter): New function.
10910         (timer--time): Use it as gv-setter.
10912         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10913         setter is not a symbol.
10915 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10917         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10918         if sending fails.  This makes debugging easier.
10920 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10922         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10923         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10924         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10926 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10928         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10930 2013-08-12  Glenn Morris  <rgm@gnu.org>
10932         * format.el (format-annotate-function):
10933         Handle read-only text properties in the source.  (Bug#14887)
10935 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10937         * net/eww.el (eww-display-html): Ignore coding system errors.
10938         One web site uses "utf-8lias" as the coding system.
10940 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10942         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10944 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10946         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10947         (tutorial--detailed-help): Remove unused local variables.
10948         (tutorial--save-tutorial-to): Use ignore-errors.
10949         (help-with-tutorial): Use looking-at-p.
10951         * view.el (view-buffer-other-window, view-buffer-other-frame):
10952         Mark unused arguments.
10954         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10955         (woman-select-symbol-fonts, woman, woman-find-file)
10956         (woman-insert-file-contents, woman-non-underline-faces):
10957         Use string-match-p.
10958         (woman1-unquote): Move declaration.
10960         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10961         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10962         argument.  Remove unused local variable.
10963         (xml-parse-elem-type): Use string-match-p.
10964         (xml-substitute-numeric-entities): Use ignore-errors.
10966         * calculator.el (calculator): Mark unused argument.
10967         (calculator-paste, calculator-quit, calculator-integer-p):
10968         Use ignore-errors.
10969         (calculator-string-to-number, calculator-decimal, calculator-exp)
10970         (calculator-op-or-exp): Use string-match-p.
10972         * dired.el (dired-buffer-more-recently-used-p): Declare.
10973         (dired-insert-set-properties, dired-insert-old-subdirs):
10974         Use ignore-errors.
10976         * dired-aux.el (dired-compress): Use ignore-errors.
10977         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10978         (dired-do-async-shell-command, dired-do-shell-command)
10979         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10980         (dired-insert-subdir-validate): Use string-match-p.
10981         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10982         (dired-add-entry): Use string-match-p, looking-at-p.
10983         (dired-insert-subdir-newpos): Remove unused local variable.
10985         * filenotify.el (file-notify-callback): Remove unused local variable.
10987         * filesets.el (filesets-error): Mark unused argument.
10988         (filesets-which-command-p, filesets-filter-dir-names)
10989         (filesets-directory-files, filesets-get-external-viewer)
10990         (filesets-ingroup-get-data): Use string-match-p.
10992         * find-file.el (ff-other-file-name, ff-other-file-name)
10993         (ff-find-the-other-file, ff-cc-hh-converter):
10994         Remove unused local variables.
10995         (ff-get-file-name): Use string-match-p.
10996         (ff-all-dirs-under): Use ignore-errors.
10998         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10999         (follow-select-if-visible): Remove unused local variable.
11001         * forms.el (read-file-filter): Move declaration.
11002         (forms--make-format, forms--make-parser, forms-insert-record):
11003         Quote function with #'.
11004         (forms--update): Use string-match-p.  Quote function with #'.
11006         * help-mode.el (help-dir-local-var-def): Mark unused argument.
11007         (help-make-xrefs): Use looking-at-p.
11008         (help-xref-on-pp): Use looking-at-p, ignore-errors.
11010         * ibuffer.el (ibuffer-ext-visible-p): Declare.
11011         (ibuffer-confirm-operation-on): Use string-match-p.
11013         * msb.el (msb-item-handler, msb-dired-item-handler):
11014         Mark unused arguments.
11016         * ses.el (ses-decode-cell-symbol)
11017         (ses-kill-override): Remove unused local variable.
11018         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11019         (ses-load): Use ignore-errors, looking-at-p.
11020         (ses-jump-safe): Use ignore-errors.
11021         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11023         * tabify.el (untabify, tabify): Mark unused arguments.
11025         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11026         Mark unused argument.
11027         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11028         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11030         * emacs-lisp/timer.el (timer--time): Define setter with
11031         gv-define-setter to avoid deprecation warning.
11033         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11034         (*record-cmpl-statistics-p*): Remove (was commented out).
11035         (cmpl-statistics-block): Remove (body was commented out).
11036         All callers changed.
11037         (add-completions-from-buffer, load-completions-from-file):
11038         Remove unused variables.
11040 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11042         * filecache.el (file-cache-delete-file-list):
11043         Print message only when told so.
11044         (file-cache-files-matching): Use #' in mapconcat argument.
11046         * ffap.el (ffap-url-at-point): Fix reference to variable
11047         thing-at-point-default-mail-uri-scheme.
11049 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11051         * subr.el (define-error): New function.
11052         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11053         error-file-not-found and define with define-error.
11054         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11055         and define with define-error.
11056         * userlock.el (file-locked, file-supersession):
11057         * simple.el (mark-inactive):
11058         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11059         * progmodes/ada-mode.el (ada-mode-errors):
11060         * play/life.el (life-extinct):
11061         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11062         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11063         * nxml/rng-util.el (rng-error):
11064         * nxml/rng-uri.el (rng-uri-error):
11065         * nxml/rng-match.el (rng-compile-error):
11066         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11067         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11068         * nxml/nxml-rap.el (nxml-scan-error):
11069         * nxml/nxml-outln.el (nxml-outline-error):
11070         * net/soap-client.el (soap-error):
11071         * net/gnutls.el (gnutls-error):
11072         * net/ange-ftp.el (ftp-error):
11073         * mpc.el (mpc-proc-error):
11074         * json.el (json-error, json-readtable-error, json-unknown-keyword)
11075         (json-number-format, json-string-escape, json-string-format)
11076         (json-key-format, json-object-format):
11077         * jka-compr.el (compression-error):
11078         * international/quail.el (quail-error):
11079         * international/kkc.el (kkc-error):
11080         * emacs-lisp/ert.el (ert-test-failed):
11081         * calc/calc.el (calc-error, inexact-result, math-overflow)
11082         (math-underflow):
11083         * bookmark.el (bookmark-error-no-filename):
11084         * epg.el (epg-error): Define with define-error.
11086         * time.el (display-time-event-handler)
11087         (display-time-next-load-average): Don't call sit-for since it seems
11088         unnecessary (bug#15045).
11090         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11091         Use #' instead of ' to quote functions.
11092         (checkdoc-output-mode): Use setq-local.
11093         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11094         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11095         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11096         (checkdoc-ispell, checkdoc-ispell-current-buffer)
11097         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11098         (checkdoc-ispell-message-text, checkdoc-ispell-start)
11099         (checkdoc-ispell-continue, checkdoc-ispell-comments)
11100         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11102         * ido.el (ido-completion-help): Fix up compiler warning.
11104 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11106         * frameset.el (frameset-p): Add autoload cookie.
11107         (frameset--jump-to-register): New function, based on code moved from
11108         register.el.
11109         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
11111         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
11112         (frameset-restore, frameset-save, frameset-session-filter-alist):
11113         Remove declarations.
11114         (register-alist): Doc fix.
11115         (frameset-to-register): Move to frameset.el.
11116         (jump-to-register, describe-register-1): Remove frameset-specific code.
11118 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11120         * allout-widgets.el (allout-widgets-pre-command-business)
11121         (allout-widgets-post-command-business)
11122         (allout-widgets-after-change-handler)
11123         (allout-decorate-item-and-context, allout-set-boundary-marker)
11124         (allout-body-modification-handler)
11125         (allout-graphics-modification-handler): Mark ignored arguments.
11126         (allout-widgets-post-command-business)
11127         (allout-widgets-exposure-change-processor)
11128         (allout-widgets-exposure-undo-processor)
11129         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
11130         (allout-parse-item-at-point, allout-decorate-item-guides)
11131         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
11132         * allout.el (epa-passphrase-callback-function): Declare.
11133         (allout-overlay-insert-in-front-handler)
11134         (allout-overlay-interior-modification-handler)
11135         (allout-isearch-end-handler, allout-chart-siblings)
11136         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
11137         (allout-yank-processing, allout-process-exposed)
11138         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
11139         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
11140         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
11141         (lisp-indent-defform): Mark ignored arguments.
11142         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
11143         (calculate-lisp-indent): Remove unused variables.
11144         * international/characters.el (indian-2-column, arabic-2-column)
11145         (tibetan): Mark ignored arguments.
11146         (use-cjk-char-width-table): Mark ignored arguments.
11147         Remove unused variables.
11148         * international/fontset.el (build-default-fontset-data)
11149         (x-compose-font-name, create-fontset-from-fontset-spec):
11150         Mark ignored arguments.
11151         (fontset-plain-name): Remove unused variables.
11152         * international/mule.el (charset-id, charset-bytes, generic-char-p)
11153         (keyboard-coding-system): Mark ignored arguments.
11154         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
11155         * help.el (resize-temp-buffer-window):
11156         * window.el (display-buffer-in-major-side-window)
11157         (display-buffer-in-side-window, display-buffer-in-previous-window):
11158         Remove unused variables.
11159         * isearch.el (isearch-forward-symbol):
11160         * version.el (emacs-bzr-version-bzr):
11161         * international/mule-cmds.el (current-language-environment):
11162         * term/common-win.el (x-handle-iconic, x-handle-geometry)
11163         (x-handle-display):
11164         * term/pc-win.el (x-list-fonts, x-display-planes)
11165         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
11166         (x-server-version, x-display-screens, x-display-mm-height)
11167         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
11168         (x-selection-owner-p, x-own-selection-internal)
11169         (x-disown-selection-internal, x-get-selection-internal)
11170         (msdos-initialize-window-system):
11171         * term/tty-colors.el (tty-color-alist, tty-color-clear):
11172         * term/x-win.el (x-handle-no-bitmap-icon):
11173         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
11174         (vc-default-find-file-hook, vc-default-extra-menu):
11175         Mark ignored arguments.
11177 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11179         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
11180         break-condition in the context of the debugged code (bug#12685).
11182 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
11184         * comint.el:
11185         Do not use an overlay to highlight the last prompt.  (Bug#14744)
11186         (comint-mode): Make comint-last-prompt buffer local.
11187         (comint-last-prompt): New variable.
11188         (comint-last-prompt-overlay): Remove.  Superseded by
11189         comint-last-prompt.
11190         (comint-snapshot-last-prompt, comint-output-filter):
11191         Use comint-last-prompt.
11193 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11195         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
11196         (frameset-save): Check validity of the resulting frameset.
11198 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
11200         * ido.el (ido-record-command): Add doc string.
11202 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11204         * frameset.el (frameset): Do not disable creation of the default
11205         frameset-p predicate.  Doc fix.
11206         (frameset-valid-p): New function, copied from the old predicate-p.
11207         Add additional checks.
11208         (frameset-restore): Check with frameset-valid-p.
11209         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
11210         (frameset-name, frameset-description, frameset-properties)
11211         (frameset-states): Add docstring.
11212         (frameset-session-filter-alist, frameset-persistent-filter-alist)
11213         (frameset-filter-alist): Doc fixes.
11215 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11217         * frameset.el (frameset-p, frameset-prop): Doc fixes.
11219 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
11222         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
11223         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
11224         (byte-compile-normal-call): Remove obsolescence check.
11226 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11228         * frameset.el (frameset-restore): Doc fix.
11230         * register.el (frameset-frame-id, frameset-frame-with-id)
11231         (frameset-p, frameset-restore, frameset-save): Declare.
11232         (register-alist): Document framesets.
11233         (frameset-session-filter-alist): Declare.
11234         (frameset-to-register): New function.
11235         (jump-to-register): Implement jumping to framesets.  Doc fix.
11236         (describe-register-1): Describe framesets.
11238         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11240 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
11242         * desktop.el (desktop-save-frameset): Use new frameset-save args.
11243         Use lexical-binding.
11245         * frameset.el (frameset): Use type vector, not list (incompatible
11246         change).  Do not declare a new constructor, use the default one.
11247         Upgrade suggested properties `app', `name' and `desc' to slots `app',
11248         `name' and `description', respectively, and add read-only slot
11249         `timestamp'.  Doc fixes.
11250         (frameset-copy, frameset-persistent-filter-alist)
11251         (frameset-filter-alist, frameset-switch-to-gui-p)
11252         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11253         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11254         (frameset-filter-iconified, frameset-keep-original-display-p):
11255         Doc fixes.
11256         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11257         Rename from frameset-filter-(save|restore)-param.  All callers changed.
11258         Doc fix.
11259         (frameset-p): Adapt to change to vector and be more thorough.
11260         Change arg name to OBJECT.  Doc fix.
11261         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
11262         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11263         All callers changed.
11264         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11265         All callers changed.
11266         (frameset--record-minibuffer-relationships): Rename from
11267         frameset--process-minibuffer-frames.  All callers changed.
11268         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11269         Use new default constructor (again).  Doc fix.
11270         (frameset--find-frame-if): Rename from `frameset--find-frame'.
11271         All callers changed.
11272         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11273         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11274         Doc fix.
11275         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11276         PARAMETERS and WINDOW-STATE, respectively.
11277         (frameset-restore): Add new keyword argument PREDICATE.
11278         Reset frameset--target-display to nil.  Doc fix.
11280 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11282         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11283         (bat-mode): Use it.
11284         (bat-mode-syntax-table): Mark \n as end-of-comment.
11285         (bat-font-lock-keywords): Remove comment rule.
11287         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
11288         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
11290         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11291         (byte-compile-callargs-warn): Use `push'.
11292         (byte-compile-arglist-warn): Ignore higher-order "calls".
11293         (byte-compile-file-form-autoload): Use `pcase'.
11294         (byte-compile-function-form): If quoting a symbol, check that it exists.
11296 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
11298         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11299         and add a few popular commands found in batch files.
11300         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11301         (dos-mode): Doc fixes.
11303 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11305         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11306         (dos-mode): Use setq-local.  Add space after "rem".
11307         (dos-mode-syntax-table): Don't use "w" for symbol chars.
11308         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11310 2013-08-07  Arni Magnusson  <arnima@hafro.is>
11312         * progmodes/dos.el: New file.
11313         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11314         dos-mode.
11316 2013-08-06  Glenn Morris  <rgm@gnu.org>
11318         * calendar/calendar.el: Add new faces, and day-header-array.
11319         (calendar-weekday-header, calendar-weekend-header)
11320         (calendar-month-header): New faces.
11321         (calendar-day-header-construct): New function.
11322         (calendar-day-header-width): Also :set calendar-day-header-array.
11323         (calendar-american-month-header, calendar-european-month-header)
11324         (calendar-iso-month-header): Use calendar- faces.
11325         (calendar-generate-month):
11326         Use calendar-day-header-array for day headers; apply faces to them.
11327         (calendar-mode): Check calendar-font-lock-keywords non-nil.
11328         (calendar-abbrev-construct): Add optional maxlen argument.
11329         (calendar-day-name-array): Doc fix.
11330         (calendar-day-name-array, calendar-abbrev-length)
11331         (calendar-day-abbrev-array):
11332         Also :set calendar-day-header-array, and maybe redraw.
11333         (calendar-day-header-array): New option.  (Bug#15007)
11334         (calendar-font-lock-keywords): Set to nil and make obsolete.
11335         (calendar-day-name): Add option to use header array.
11337 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11339         * net/shr.el (shr-render-td): Remove debugging.
11340         (shr-render-td): Make width computation consistent by defaulting
11341         all zero-width columns to 10 characters.  This may not be optimal,
11342         but it's at least consistent.
11343         (shr-make-table-1): Redo last change to fix the real problem in
11344         colspan handling.
11346 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11348         * files.el (cache-long-line-scans):
11349         Make obsolete alias to `cache-long-scans'.
11351 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11353         * frameset.el (frameset, frameset-filter-alist)
11354         (frameset-filter-params, frameset-save, frameset--reuse-frame)
11355         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11356         (frameset-compute-pos): Rename from frameset--compute-pos,
11357         and add docstring.
11358         (frameset-move-onscreen): Use frameset-compute-pos.
11359         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11361         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11362         Fix typos in docstrings.
11364 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11366         * frame.el (get-other-frame): Tiny cleanup.
11368 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11370         * vc/vc.el (vc-default-ignore-completion-table):
11371         Silence byte-compiler warning.
11373         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11374         slot, which can indeed be nil.
11375         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11376         Move entry for `left' from persistent to live filter alist.
11377         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11378         Doc fixes.
11379         (frameset-filter-params): When restoring a frame, copy items added to
11380         `filtered', to avoid unwittingly modifying the original parameters.
11381         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
11382         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11384         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11385         to use looking-at-p instead of looking-at.  (Bug#15028)
11387 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         Revert introduction of isearch-filter-predicates (bug#14714).
11390         Rely on add-function instead.
11391         * isearch.el (isearch-filter-predicates): Rename it back to
11392         isearch-filter-predicate.
11393         (isearch-message-prefix): Use advice-function-mapc and advice
11394         properties to get the isearch-message-prefix.
11395         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11396         instead of run-hook-with-args-until-failure.
11397         (isearch-filter-visible): Not obsolete any more.
11398         * loadup.el: Preload nadvice.
11399         * replace.el (perform-replace): Revert to funcall
11400         instead of run-hook-with-args-until-failure.
11401         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11402         * dired-aux.el (dired-isearch-filenames-mode): Rename from
11403         dired-isearch-filenames-toggle; make it into a proper minor mode.
11404         Use add/remove-function.
11405         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11406         Call the minor-mode rather than add/remove-hook.
11407         (dired-isearch-filter-filenames):
11408         Remove isearch-message-prefix property.
11409         * info.el (Info--search-loop): New function, extracted from Info-search.
11410         Funcall isearch-filter-predicate instead of
11411         run-hook-with-args-until-failure isearch-filter-predicates.
11412         (Info-search): Use it.
11413         (Info-mode): Use isearch-filter-predicate instead of
11414         isearch-filter-predicates.
11416 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11418         Do not call to `selected-window' where it is assumed by default.
11419         Affected functions are `window-minibuffer-p', `window-dedicated-p',
11420         `window-hscroll', `window-width', `window-height', `window-buffer',
11421         `window-frame', `window-start', `window-point', `next-window'
11422         and `window-display-table'.
11423         * abbrev.el (abbrev--default-expand):
11424         * bs.el (bs--show-with-configuration):
11425         * buff-menu.el (Buffer-menu-mouse-select):
11426         * calc/calc.el (calc):
11427         * calendar/calendar.el (calendar-generate-window):
11428         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11429         (diary-make-entry):
11430         * comint.el (send-invisible, comint-dynamic-complete-filename)
11431         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11432         * completion.el (complete):
11433         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11434         * disp-table.el (describe-current-display-table):
11435         * doc-view.el (doc-view-insert-image):
11436         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11437         * ehelp.el (with-electric-help):
11438         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11439         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11440         * emacs-lisp/helper.el (Helper-help-scroller):
11441         * emulation/cua-base.el (cua--post-command-handler-1):
11442         * eshell/esh-mode.el (eshell-output-filter):
11443         * ffap.el (ffap-gnus-wrapper):
11444         * help-macro.el (make-help-screen):
11445         * hilit-chg.el (highlight-compare-buffers):
11446         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11447         * hl-line.el (global-hl-line-highlight):
11448         * icomplete.el (icomplete-simple-completing-p):
11449         * isearch.el (isearch-done):
11450         * jit-lock.el (jit-lock-stealth-fontify):
11451         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11452         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11453         * mpc.el (mpc-tagbrowser, mpc):
11454         * net/rcirc.el (rcirc-any-buffer):
11455         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11456         * play/landmark.el (landmark-max-width, landmark-max-height):
11457         * play/zone.el (zone):
11458         * progmodes/compile.el (compilation-goto-locus):
11459         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11460         * progmodes/etags.el (find-tag-other-window):
11461         * progmodes/fortran.el (fortran-column-ruler):
11462         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11463         * progmodes/verilog-mode.el (verilog-point-text):
11464         * reposition.el (reposition-window):
11465         * rot13.el (toggle-rot13-mode):
11466         * server.el (server-switch-buffer):
11467         * shell.el (shell-dynamic-complete-command)
11468         (shell-dynamic-complete-environment-variable):
11469         * simple.el (insert-buffer, set-selective-display)
11470         (delete-completion-window):
11471         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11472         (speedbar-recenter):
11473         * startup.el (fancy-splash-head):
11474         * textmodes/ispell.el (ispell-command-loop):
11475         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11476         * tutorial.el (help-with-tutorial):
11477         * vc/add-log.el (add-change-log-entry):
11478         * vc/compare-w.el (compare-windows):
11479         * vc/ediff-help.el (ediff-indent-help-message):
11480         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11481         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11482         (ediff-setup-control-frame):
11483         * vc/emerge.el (emerge-position-region):
11484         * vc/pcvs-util.el (cvs-bury-buffer):
11485         * window.el (walk-windows, mouse-autoselect-window-select):
11486         * winner.el (winner-set-conf, winner-undo): Related users changed.
11488 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11490         * frameset.el (frameset--set-id): Doc fix.
11491         (frameset-frame-id, frameset-frame-id-equal-p)
11492         (frameset-locate-frame-id): New functions.
11493         (frameset--process-minibuffer-frames, frameset--reuse-frame)
11494         (frameset-restore): Use them.
11496 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11498         Do not call to `selected-frame' where it is assumed by default.
11499         Affected functions are `raise-frame', `redraw-frame',
11500         `frame-first-window', `frame-terminal' and `delete-frame'.
11501         * calendar/appt.el (appt-disp-window):
11502         * epg.el (epg-wait-for-completion):
11503         * follow.el (follow-delete-other-windows-and-split)
11504         (follow-avoid-tail-recenter):
11505         * international/mule.el (set-terminal-coding-system):
11506         * mail/rmail.el (rmail-mail-return):
11507         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11508         * progmodes/f90.el (f90-add-imenu-menu):
11509         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11510         * server.el (server-switch-buffer):
11511         * simple.el (delete-completion-window):
11512         * talk.el (talk):
11513         * term/xterm.el (terminal-init-xterm-modify-other-keys)
11514         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11515         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11516         * vc/ediff.el (ediff-documentation): Related users changed.
11517         * frame.el (selected-terminal): Remove the leftover.
11519 2013-08-05  Glenn Morris  <rgm@gnu.org>
11521         * calendar/calendar.el (calendar-generate-month):
11522         Fix for calendar-column-width != 1 + calendar-day-digit-width.
11523         (calendar-generate-month, calendar-font-lock-keywords):
11524         Fix for calendar-day-header-width > length of any day name.
11526 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11528         * desktop.el (desktop-clear): Use new name of sort predicate.
11530         * frameset.el (frameset): Add docstring.  Move :version property to its
11531         own `version' slot.
11532         (frameset-copy): Rename from copy-frameset.
11533         (frameset-p): Check more thoroughly.
11534         (frameset-prop): Do not check for :version, which is no longer a prop.
11535         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11536         Use new :never value instead of t.
11537         (frameset-filter-alist): Expand and clarify docstring.
11538         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11539         (frameset-filter-minibuffer, frameset-filter-save-param)
11540         (frameset-filter-restore-param, frameset-filter-iconified):
11541         Add pointer to docstring of frameset-filter-alist.
11542         (frameset-filter-params): Rename filter values to be more meaningful:
11543         :never instead of t, and reverse the meanings of :save and :restore.
11544         (frameset--process-minibuffer-frames): Clarify error message.
11545         (frameset-save): Avoid unnecessary and confusing call to framep.
11546         Use new BOA constructor for framesets.
11547         (frameset--reuse-list): Doc fix.
11548         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
11549         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11550         (frameset-minibufferless-first-p): Doc fix.
11551         Rename from frameset-sort-frames-for-deletion.
11552         (frameset-restore): Doc fixes.  Use new function names.
11553         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11555 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11557         * desktop.el (desktop-restore-forces-onscreen)
11558         (desktop-restore-reuses-frames): Document :keyword constant values.
11559         (desktop-filter-parameters-alist): Remove, now identical to
11560         frameset-filter-alist.
11561         (desktop--filter-tty*): Remove, moved to frameset.el.
11562         (desktop-save-frameset, desktop-restore-frameset):
11563         Do not pass :filters argument.
11565         * frameset.el (frameset-live-filter-alist)
11566         (frameset-persistent-filter-alist): New variables.
11567         (frameset-filter-alist): Use them.  Add autoload cookie.
11568         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11569         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11570         `frameset--id' (it's supposed to be internal to frameset.el).
11571         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
11572         (frameset--initial-params): New function.
11573         (frameset--get-frame): Use it.  Doc fix.
11574         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11575         Accept :all, not 'all.
11576         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11577         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
11578         with fbound symbols.  Fix frame id matching, and remove matching ids if
11579         the frame being restored is deleted.  Obey :delete.
11581 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11583         * subr.el (macrop): New function.
11584         (text-clone--maintaining): New var.
11585         (text-clone--maintain): Rename from text-clone-maintain.  Use it
11586         instead of inhibit-modification-hooks.
11588         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11589         a proxy, so as handle autoloads and redefinitions of the target.
11590         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11592         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11593         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
11594         (pcase--mutually-exclusive-p): New function.
11595         (pcase--split-consp): Use it.
11596         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
11597         mutually exclusive with the current predicate.
11599         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11600         (edebug-macrop): Remove.  Use `macrop' instead.
11601         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
11602         (ad-macro-p):
11603         * eshell/esh-cmd.el (eshell-macrop):
11604         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
11606 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11608         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11609         (advice-mapc): New function, using it.
11610         (advice-function-member-p): New function.
11611         (advice--normalize): Store the cdr in advice--saved-rewrite since
11612         that's the part that will be changed.
11613         (advice--symbol-function): New function.
11614         (advice-remove): Handle removal before the function is defined.
11615         Adjust to new advice--saved-rewrite.
11616         (advice-member-p): Use advice-function-member-p and
11617         advice--symbol-function.
11619 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11621         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11622         (frameset-filter-minibuffer): Doc fix.
11623         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
11624         (frameset--set-id, frameset--process-minibuffer-frames)
11625         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11626         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11628         * desktop.el (desktop-clear): Only delete frames when called
11629         interactively and desktop-restore-frames is non-nil.  Doc fix.
11630         (desktop-read): Set desktop-saved-frameset to nil.
11632 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
11634         * vc/vc.el (vc-ignore): Rewrite.
11635         (vc-default-ignore-completion-table, vc--read-lines)
11636         (vc--add-line, vc--remove-regexp): New functions.
11638         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11639         (vc-svn-ignore-completion-table): New function.
11641         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11642         (vc-hg-ignore-completion-table)
11643         (vc-hg-find-ignore-file): New functions.
11645         * vc/vc-git.el (vc-git-ignore): Rewrite.
11646         (vc-git-ignore-completion-table)
11647         (vc-git-find-ignore-file): New functions.
11649         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11651         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11652         (vc-bzr-ignore-completion-table)
11653         (vc-bzr-find-ignore-file): New functions.
11655 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
11657         * frameset.el (frameset-prop): New function and setter.
11658         (frameset-save): Do not modify frame list passed by the caller.
11660 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11662         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11664 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11666         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11667         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11669         * custom.el (custom-initialize-default, custom-initialize-set)
11670         (custom-initialize-reset, custom-initialize-changed): Affect the
11671         toplevel-default-value (bug#6275, bug#14586).
11672         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11673         for bug#6275.
11675 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11677         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11678         Add cl-def* expressions.
11680         * frameset.el (frameset-filter-params): Fix order of arguments.
11682 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11684         Move code related to saving frames to frameset.el.
11685         * desktop.el: Require frameset.
11686         (desktop-restore-frames): Doc fix.
11687         (desktop-restore-reuses-frames): Rename from
11688         desktop-restoring-reuses-frames.
11689         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11690         (desktop-clear): Clear frames too.
11691         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11692         (desktop--filter-tty*, desktop-save, desktop-read):
11693         Use frameset functions.
11694         (desktop-before-saving-frames-functions, desktop--filter-*-color)
11695         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11696         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11697         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11698         (desktop--process-minibuffer-frames, desktop-save-frames)
11699         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11700         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11701         (desktop--sort-states, desktop-restoring-frames-p)
11702         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
11703         (desktop-restoring-frameset-p, desktop-restore-frameset)
11704         (desktop--check-dont-save, desktop-save-frameset): New functions.
11705         (desktop--app-id): New constant.
11706         (desktop-first-buffer, desktop-buffer-ok-count)
11707         (desktop-buffer-fail-count): Move before first use.
11708         * frameset.el: New file.
11710 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11712         * files.el: Use lexical-binding.
11713         (dir-locals-read-from-file): Remove unused `err' variable.
11714         (hack-dir-local-variables--warned-coding): New var.
11715         (hack-dir-local-variables): Use it to avoid repeated warnings.
11716         (make-backup-file-name--default-function): New function.
11717         (make-backup-file-name-function): Use it as default.
11718         (buffer-stale--default-function): New function.
11719         (buffer-stale-function): Use it as default.
11720         (revert-buffer-insert-file-contents--default-function): New function.
11721         (revert-buffer-insert-file-contents-function): Use it as default.
11722         (insert-directory): Avoid add-to-list.
11724         * autorevert.el (auto-revert-handler): Simplify.
11725         Use buffer-stale--default-function.
11727 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
11729         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11731         * whitespace.el (whitespace-ensure-local-variables): New function.
11732         (whitespace-cleanup-region): Call it.
11733         (whitespace-turn-on): Call it.
11735 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
11737         Complete file name handlers.
11739         * net/tramp.el (tramp-handle-set-visited-file-modtime)
11740         (tramp-handle-verify-visited-file-modtime)
11741         (tramp-handle-file-notify-rm-watch): New functions.
11742         (tramp-call-process): Do not bind `default-directory'.
11744         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11745         Order alphabetically.
11746         <access-file, add-name-to-file, dired-call-process>:
11747         <dired-compress-file, file-acl, file-notify-rm-watch>:
11748         <file-ownership-preserved-p, file-selinux-context>:
11749         <make-directory-internal, make-symbolic-link, set-file-acl>:
11750         <set-file-selinux-context, set-visited-file-modtime>:
11751         <verify-visited-file-modtime>: Add handler.
11752         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11754         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11755         <file-notify-add-watch, file-notify-rm-watch>:
11756         <set-file-times, set-visited-file-modtime>:
11757         <verify-visited-file-modtime>: Add handler.
11758         (with-tramp-gvfs-error-message)
11759         (tramp-gvfs-handle-set-visited-file-modtime)
11760         (tramp-gvfs-fuse-file-name): Remove.
11761         (tramp-gvfs-handle-file-notify-add-watch)
11762         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11763         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11765         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11766         Order alphabetically.
11767         <file-notify-rm-watch>: Use default Tramp handler.
11768         <executable-find>: Remove private handler.
11769         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11770         `default-directory'.
11771         (tramp-sh-handle-executable-find)
11772         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11773         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11774         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11775         Do not use `format' in `tramp-message'.
11777         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11778         <file-notify-rm-watch, set-visited-file-modtime>:
11779         <verify-visited-file-modtime>: Add handler.
11780         (tramp-smb-call-winexe): Do not bind `default-directory'.
11782 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
11784         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11786 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
11788         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11789         use it.
11790         (log-view-diff-changeset): Same.
11791         (log-view-diff-common): Call backend command `previous-revision'
11792         to find out the previous revision, in both cases.  Swap the
11793         variables `to' and `fr', so that `fr' usually refers to the
11794         earlier revision (Bug#14989).
11796 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
11798         * ibuf-ext.el (ibuffer-filter-by-filename):
11799         Make it work with dired buffers too.
11801 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
11803         * emacs-lisp/re-builder.el (reb-color-display-p):
11804         * files.el (save-buffers-kill-terminal):
11805         * net/browse-url.el (browse-url):
11806         * server.el (server-save-buffers-kill-terminal):
11807         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11808         Prefer nil to selected-frame for the first arg of frame-parameter.
11810 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
11812         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11814 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
11816         * minibuffer.el (completion--twq-all): Try and preserve each
11817         completion's case choice (bug#14907).
11819 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11821         * net/network-stream.el (open-network-stream): Mention the new
11822         :nogreeting parameter.
11823         (network-stream-open-starttls): Use the :nogreeting parameter
11824         (bug#14938).
11826         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11828         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11829         more natural than popping.
11831         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11832         (shr-urlify): Highlight under mouse.
11834 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11836         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11838         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11840         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
11841         buffer for output.
11843         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11844         point-min==1.  Fix search string.  Fix parentheses missing.
11846         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11847         assume point-min==1.  Fix search string.  Fix parentheses missing.
11849         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11851         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11852         buffer for output.
11854 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11856         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11857         initial frame is minibuffer-less.  (Bug#14841)
11859 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11861         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11862         option.
11864         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11865         (tramp-maybe-open-connection): Use it.
11867 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11869         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11870         minimal set of parameters passed when creating a frame, because
11871         the minibuffer status of a frame cannot be changed later.
11873 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11875         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11876         replace-regexp-in-string and inadvertent omissions in previous change.
11877         (todo-filter-items): Ensure only file names are comma-separated in
11878         name of filtered items buffer.
11880 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11882         * desktop.el: Optionally force offscreen frames back onscreen.
11883         (desktop-restoring-reuses-frames): New option.
11884         (desktop--compute-pos, desktop--move-onscreen): New functions.
11885         (desktop--make-frame): Use desktop--move-onscreen.
11887 2013-07-27  Alan Mackenzie  <acm@muc.de>
11889         Fontify a Java generic method as a function.
11890         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11891         value to t.
11893 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11895         * calendar/todo-mode.el: Add command to rename todo files.
11896         (todo-rename-file): New command.
11897         (todo-key-bindings-t): Add key binding for it.  Change the
11898         bindings of todo-filter-regexp-items(-multifile) to use `x'
11899         instead of `r', since the latter is better suited to the new
11900         renaming command.
11902 2013-07-27  Alan Mackenzie  <acm@muc.de>
11904         Make Java try-with-resources statement parse properly.
11905         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11906         (c-block-stmt-1-2-key): New language constants/variables.
11907         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11908         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11909         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11910         with c-block-stmt-1-2-key.
11912 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11914         * desktop.el (desktop--make-frame): Apply most frame parameters after
11915         creating the frame to force (partially or totally) offscreen frames to
11916         be restored as such.
11918 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11920         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11921         (Bug#14948)
11923 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11925         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11926         `base' arg of backtrace-frame.
11928 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11930         * simple.el (list-processes): Doc fix.
11932 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11934         * desktop.el (desktop--select-frame):
11935         Try harder to reuse existing frames.
11937 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11939         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11940         (edebug-eval): Use backtrace-eval.
11941         (edebug--display, edebug--recursive-edit): Don't let-bind the
11942         edebug-outer-* vars that keep track of variables we locally let-bind.
11943         (edebug-outside-excursion): Don't restore outside values of locally
11944         let-bound vars.
11945         (edebug--display): Use user-error.
11946         (cl-lexical-debug, cl-debug-env): Remove.
11948 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11950         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11951         are restored to be sure that they are visible before deleting any
11952         remaining ones.
11954 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11956         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11957         vc-print-root-log.  (Bug#14948)
11959 2013-07-26  Richard Stallman  <rms@gnu.org>
11961         Add aliases for encrypting mail.
11962         * epa.el (epa-mail-aliases): New option.
11963         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11964         Bind inhibit-read-only so read-only text doesn't ruin everything.
11965         (epa-mail-default-recipients): New subroutine broken out.
11966         Handle epa-mail-aliases.
11968 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11970         Add support for lexical variables to the debugger's `e' command.
11971         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11972         vars, except for debugger-outer-match-data.
11973         (debugger-frame-number): Move check for "on a function call" from
11974         callers into it.  Add `skip-base' argument.
11975         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11976         (debugger-env-macro): Only reset the state stored in non-variables,
11977         i.e. current-buffer and match-data.
11978         (debugger-eval-expression): Rewrite using backtrace-eval.
11979         * subr.el (internal--called-interactively-p--get-frame): Remove.
11980         (called-interactively-p):
11981         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11982         `base' arg of backtrace-frame instead.
11984 2013-07-26  Glenn Morris  <rgm@gnu.org>
11986         * align.el (align-regexp): Doc fix.  (Bug#14857)
11987         (align-region): Explicit error if subexpression missing/does not match.
11989         * simple.el (global-visual-line-mode):
11990         Do not duplicate the mode lighter.  (Bug#14858)
11992 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11994         * window.el (display-buffer): In display-buffer bind
11995         split-window-keep-point to t, bug#14829.
11997 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11999         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12000         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12001         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12002         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12003         Change accordingly.
12004         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12005         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12007 2013-07-25  Glenn Morris  <rgm@gnu.org>
12009         * dired-x.el (dired-mark-extension): Convert comment to doc string.
12011 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12013         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12014         parameter to modify-frame-parameters if the value has not changed;
12015         this is a workaround for bug#14949.
12016         (desktop--make-frame): On cl-delete-if call, check parameter name,
12017         not full parameter.
12019 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12021         * vc/vc.el (vc-ignore): New function.
12023         * vc/vc-svn.el (vc-svn-ignore): New function.
12025         * vc/vc-hg.el (vc-hg-ignore): New function.
12027         * vc/vc-git.el (vc-git-ignore): New function.
12029         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12030         (vc-dir-ignore): New function.
12032         * vc/vc-cvs.el (vc-cvs-ignore): New function.
12033         (cvs-append-to-ignore): Move here from pcvs.el.
12035         * vc/vc-bzr.el (vc-bzr-ignore): New function.
12037         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12039 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
12041         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12042         (desktop-restore-frames): Warn when deleting an existing frame failed.
12044 2013-07-24  Glenn Morris  <rgm@gnu.org>
12046         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
12048 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
12050         * filenotify.el (file-notify-supported-p):
12051         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12052         Remove functions.
12054         * autorevert.el (auto-revert-use-notify)
12055         (auto-revert-notify-add-watch):
12056         * net/tramp.el (tramp-file-name-for-operation):
12057         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12058         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12059         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12060         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12061         Remove `file-notify-supported-p' entry.
12063 2013-07-24  Glenn Morris  <rgm@gnu.org>
12065         * printing.el: Replace all uses of deleted ps-windows-system,
12066         ps-lp-system, ps-flatten-list with lpr- versions.
12068 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12070         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12071         checked with memq (bug#14935).
12073         * files.el (revert-buffer-function): Use a non-nil default.
12074         (revert-buffer-preserve-modes): Declare var to
12075         provide access to the `preserve-modes' argument.
12076         (revert-buffer): Let-bind it.
12077         (revert-buffer--default): New function, extracted from revert-buffer.
12079 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12081         * lpr.el: Signal print errors more prominently.
12082         (print-region-function): Don't default to nil.
12083         (lpr-print-region): New function, extracted from print-region-1.
12084         Check lpr's return value and signal an error in case of problem.
12085         (print-region-1): Use it.
12086         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
12087         versions instead.
12088         (ps-printer-name): Default to nil.
12089         (ps-printer-name-option): Default to lpr-printer-switch.
12090         (ps-print-region-function): Don't default to nil.
12091         (ps-postscript-code-directory): Simplify default.
12092         (ps-do-despool): Use lpr-print-region to properly check the outcome.
12093         (ps-string-list, ps-eval-switch, ps-flatten-list)
12094         (ps-flatten-list-1): Remove.
12095         (ps-multibyte-buffer): Avoid setq.
12096         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12097         (print-region-function, ps-print-region-function): Don't set them here.
12099 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
12101         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12102         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12103         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12104         (ido-decorations): Doc fix.
12106         * ansi-color.el: Fix old URL.
12108 2013-07-23  Michael R. Mauger  <michael@mauger.com>
12110         * progmodes/sql.el: Version 3.3
12111         (sql-product-alist): Improve oracle :prompt-cont-regexp.
12112         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
12113         (sql-interactive-remove-continuation-prompt): Rewrite, use
12114         functions above.  Fix continuation prompt and complete output line
12115         handling.
12116         (sql-redirect-one, sql-execute): Use `read-only-mode' on
12117         redirected output buffer.
12118         (sql-mode): Restore deleted code (Bug#13591).
12120 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12122         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
12124 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
12126         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
12128         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12129         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12130         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
12132 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12134         * desktop.el (desktop-clear): Simplify; remove useless checks
12135         against invalid buffer names.
12136         (desktop-list*): Use cl-list*.
12137         (desktop-buffer-info, desktop-create-buffer): Simplify.
12139 2013-07-23  Leo Liu  <sdl.web@gmail.com>
12141         * bookmark.el (bookmark-make-record): Restore NAME as a default
12142         value.  (Bug#14933)
12144 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12146         * emacs-lisp/autoload.el (autoload--setup-output): New function,
12147         extracted from autoload--insert-text.
12148         (autoload--insert-text): Remove.
12149         (autoload--print-cookie-text): New function, extracted from
12150         autoload--insert-cookie-text.
12151         (autoload--insert-cookie-text): Remove.
12152         (autoload-generate-file-autoloads): Adjust calls accordingly.
12154         * winner.el (winner-hook-installed-p): Remove.
12155         (winner-mode): Simplify accordingly.
12157         * subr.el (add-to-list): Fix compiler-macro when `append' is
12158         not constant.  Don't use `cl-member' for the base case.
12160         * progmodes/subword.el: Fix boundary case (bug#13758).
12161         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
12162         own group.
12163         (subword-backward-regexp): Make it a constant.
12164         (subword-forward-internal): Don't treat a trailing capital as the
12165         beginning of a word.
12167 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
12169         * emacs-lisp/package.el (package-menu-mode): Don't modify the
12170         global value of tabulated-list-revert-hook (bug#14930).
12172 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
12174         * desktop.el: Require 'cl-lib.
12175         (desktop-before-saving-frames-functions): New hook.
12176         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
12177         for frames being saved.  Rename from desktop--save-minibuffer-frames.
12178         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
12179         Do not save frames with non-nil `desktop-dont-save' parameter.
12180         Filter out deleted frames.
12181         (desktop--find-frame): Use cl-find-if.
12182         (desktop--select-frame): Use cl-(first|second|third) to access values
12183         of desktop-mini.
12184         (desktop--make-frame): Use cl-delete-if.
12185         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
12186         (desktop-restore-frames): Use cl-(first|second|third) to access values
12187         of desktop-mini.  Look for visible frame at the end, not while
12188         restoring frames.
12190         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
12191         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
12192         Use string-match-p, looking-at-p (bug#14927).
12194 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
12196         * desktop.el (desktop-saved-frame-states):
12197         Rename from desktop--saved-states; all users changed.
12198         (desktop-save-frames): Rename from desktop--save-frames.
12199         Do not save state to desktop file.
12200         (desktop-save): Save desktop-saved-frame-states to desktop file
12201         and reset to nil.
12202         (desktop-restoring-frames-p): New function.
12203         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
12204         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
12205         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
12207         * desktop.el: Correctly restore iconified frames.
12208         (desktop--filter-iconified-position): New function.
12209         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
12211 2013-07-20  Glenn Morris  <rgm@gnu.org>
12213         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
12214         Let `message' do the formatting.
12215         (def-gdb-preempt-display-buffer): Add explicit format.
12217         * image-dired.el (image-dired-track-original-file):
12218         Use with-current-buffer.
12219         (image-dired-track-thumbnail): Use with-current-buffer.
12220         Avoid changing point of wrong window.
12222         * image-dired.el (image-dired-track-original-file):
12223         Avoid changing point of wrong window.  (Bug#14909)
12225 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
12227         * progmodes/gdb-mi.el (gdb-done-or-error):
12228         Guard against "%" in gdb output.  (Bug#14127)
12230 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
12232         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
12233         (Bug#14826)
12235         * international/mule.el (coding-system-iso-2022-flags): Fix last
12236         change.
12238 2013-07-20  Kenichi Handa  <handa@gnu.org>
12240         * international/mule.el (coding-system-iso-2022-flags):
12241         Add `8-bit-level-4'.  (Bug#8522)
12243 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12245         * net/shr.el (shr-mouse-browse-url): New command and keystroke
12246         (bug#14815).
12248         * net/eww.el (eww-process-text-input): Allow inputting when the
12249         point is at the start of the line, as the properties aren't
12250         front-sticky.
12252         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12253         degenerate widths.
12255 2013-07-19  Richard Stallman  <rms@gnu.org>
12257         * epa.el (epa-popup-info-window): Doc fix.
12259         * subr.el (split-string): New arg TRIM.
12261 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
12263         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12264         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12266 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
12268         * filenotify.el (file-notify--library): Rename from
12269         `file-notify-support'.  Do not autoload.  Adapt all uses.
12270         (file-notify-supported-p): New defun.
12272         * autorevert.el (auto-revert-use-notify):
12273         Use `file-notify-supported-p' instead of `file-notify-support'.
12274         Adapt docstring.
12275         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12277         * net/tramp.el (tramp-file-name-for-operation):
12278         Add `file-notify-supported-p'.
12280         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12281         New defun.
12282         (tramp-sh-file-name-handler-alist): Add it as handler for
12283         `file-notify-supported-p '.
12285         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12286         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12287         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12288         Add `ignore' as handler for `file-notify-*' functions.
12290 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
12292         * simple.el (line-move-partial, line-move): Don't start vscroll or
12293         scroll-up if the current line is not taller than the window.
12294         (Bug#14881)
12296 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
12298         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12299         highlight question marks in the method names as strings.
12300         (ruby-block-beg-keywords): Inline.
12301         (ruby-font-lock-keyword-beg-re): Extract from
12302         `ruby-font-lock-keywords'.
12304 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
12306         * frame.el (blink-cursor-blinks): New defcustom.
12307         (blink-cursor-blinks-done): New defvar.
12308         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12309         (blink-cursor-timer-function): Check if number of blinks has been
12310         done on X and NS.
12311         (blink-cursor-suspend, blink-cursor-check): New defuns.
12313 2013-07-15  Glenn Morris  <rgm@gnu.org>
12315         * edmacro.el (edmacro-format-keys): Fix previous change.
12317 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
12319         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12320         The hack didn't work outside English locales anyway.
12322 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
12324         * simple.el (define-alternatives): Rename from alternatives-define,
12325         per RMS' suggestion.
12327 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
12329         * desktop.el (desktop-restore-frames): Change default to t.
12330         (desktop-restore-in-current-display): Now offer more options.
12331         (desktop-restoring-reuses-frames): New customization option.
12332         (desktop--saved-states): Doc fix.
12333         (desktop-filter-parameters-alist): New variable, renamed and expanded
12334         from desktop--excluded-frame-parameters.
12335         (desktop--target-display): New variable.
12336         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12337         (desktop--filter-tty*, desktop--filter-*-color)
12338         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12339         (desktop--filter-save-desktop-parm)
12340         (desktop-restore-in-original-display-p): New functions.
12341         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12342         (desktop--save-minibuffer-frames): New function, inspired by a similar
12343         function from Martin Rudalics.
12344         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12345         (desktop--restore-in-this-display-p): Remove.
12346         (desktop--find-frame): Rename from desktop--find-frame-in-display
12347         and add predicate argument.
12348         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12349         (desktop--reuse-list): New variable.
12350         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12351         New functions.
12352         (desktop--restore-frames): Add support for "minibuffer-special" frames.
12354 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
12356         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12358 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
12360         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12361         Highlight conversion methods on Kernel.
12363 2013-07-13  Alan Mackenzie  <acm@muc.de>
12365         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12366         and comment it out.  This out-commenting enables certain C++
12367         declarations to be parsed correctly.
12369 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
12371         * international/mule.el (define-coding-system): Doc fix.
12373         * simple.el (default-font-height): Don't call font-info if the
12374         frame's default font didn't change since the frame was created.
12375         (Bug#14838)
12377 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12379         * ido.el (ido-read-file-name): Guard against non-symbol value.
12381 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12383         * progmodes/python.el (python-imenu--build-tree): Fix corner case
12384         in nested defuns.
12386 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12388         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12389         ido-set-matches call.  (Bug#6852)
12391 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
12393         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12394         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12395         Ruby 2.0.
12396         (ruby-font-lock-keywords): Distinguish calls to functions with
12397         module-like names from module references.  Highlight character
12398         literals.
12400 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
12402         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12403         (gdb-send): Handle continued commands.  (Bug#14847)
12405 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12407         * desktop.el (desktop--v2s): Remove unused local variable.
12408         (desktop-save-buffer): Make defvar-local; adjust docstring.
12409         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12410         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12412 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
12414         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12416 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
12418         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12419         (Bug#14842)
12421 2013-07-12  Glenn Morris  <rgm@gnu.org>
12423         * doc-view.el: Require cl-lib at runtime too.
12424         (doc-view-remove-if): Remove.
12425         (doc-view-search-next-match, doc-view-search-previous-match):
12426         Use cl-remove-if.
12428         * edmacro.el: Require cl-lib at runtime too.
12429         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12430         (edmacro-mismatch, edmacro-subseq): Remove.
12432         * shadowfile.el: Require cl-lib.
12433         (shadow-remove-if): Remove.
12434         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12435         Use cl-remove-if.
12437         * wid-edit.el: Require cl-lib.
12438         (widget-choose): Use cl-remove-if.
12439         (widget-remove-if): Remove.
12441         * progmodes/ebrowse.el: Require cl-lib at runtime too.
12442         (ebrowse-delete-if-not): Remove.
12443         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12444         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12445         Use cl-delete-if-not.
12447 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12449         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12450         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12452 2013-07-12  Leo Liu  <sdl.web@gmail.com>
12454         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
12456 2013-07-11  Glenn Morris  <rgm@gnu.org>
12458         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12459         (edebug-gensym-index, edebug-gensym):
12460         Remove reimplementation of cl-gensym.
12461         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12463         * thumbs.el: Require cl-lib at run-time too.
12464         (thumbs-gensym-counter, thumbs-gensym):
12465         Remove reimplementation of cl-gensym.
12466         (thumbs-temp-file): Use cl-gensym.
12468         * emacs-lisp/ert.el: Require cl-lib at runtime too.
12469         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12470         (ert--intersection, ert--set-difference, ert--set-difference-eq)
12471         (ert--union, ert--gensym-counter, ert--gensym-counter)
12472         (ert--coerce-to-vector, ert--remove*, ert--string-position)
12473         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12474         (ert-make-test-unbound, ert--expand-should-1)
12475         (ert--expand-should, ert--should-error-handle-error)
12476         (should-error, ert--explain-equal-rec)
12477         (ert--plist-difference-explanation, ert-select-tests)
12478         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12479         Use cl-lib functions rather than reimplementations.
12481 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
12483         * net/tramp.el (tramp-methods): Extend docstring.
12484         (tramp-connection-timeout): New defcustom.
12485         (tramp-error-with-buffer): Reset timestamp only when appropriate.
12486         (with-tramp-progress-reporter): Simplify.
12487         (tramp-process-actions): Improve messages.
12489         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12490         * net/tramp-sh.el (tramp-maybe-open-connection):
12491         Use `tramp-connection-timeout'.
12492         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12493         (Bug#14808)
12495 2013-07-11  Leo Liu  <sdl.web@gmail.com>
12497         * ido.el (ido-read-file-name): Conform to the requirements of
12498         read-file-name.  (Bug#11861)
12499         (ido-read-directory-name): Conform to the requirements of
12500         read-directory-name.
12502 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
12504         * subr.el (delay-warning): New function.
12506 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
12508         * simple.el (default-line-height): New function.
12509         (line-move-partial, line-move): Use it instead of computing the
12510         line height inline.
12511         (line-move-partial): Always compute ROWH.  If the last line is
12512         partially-visible, but its text is completely visible, allow
12513         cursor to enter such a partially-visible line.
12515 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
12517         Improve error messages.  (Bug#14808)
12519         * net/tramp.el (tramp-current-connection): New defvar, moved from
12520         tramp-sh.el.
12521         (tramp-message-show-progress-reporter-message): Remove, not
12522         needed anymore.
12523         (tramp-error-with-buffer): Show message in minibuffer.
12524         Discard input before waiting.  Reset connection timestamp.
12525         (with-tramp-progress-reporter): Improve messages.
12526         (tramp-process-actions): Use progress reporter.  Delete process in
12527         case of error.  Improve messages.
12529         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12530         Call `tramp-error-with-buffer' with vector and buffer.
12531         (tramp-current-connection): Remove.
12532         (tramp-maybe-open-connection): The car of
12533         `tramp-current-connection' are the first 3 slots of the vector.
12535 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
12537         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12538         inside continued strings.
12540 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
12542         Timestamp fixes for undo (Bug#14824).
12543         * files.el (clear-visited-file-modtime): Move here from fileio.c.
12545 2013-07-10  Leo Liu  <sdl.web@gmail.com>
12547         * files.el (require-final-newline): Allow safe local value.
12548         (Bug#14834)
12550 2013-07-09  Leo Liu  <sdl.web@gmail.com>
12552         * ido.el (ido-read-directory-name): Handle fallback.
12553         (ido-read-file-name): Update DIR to ido-current-directory.
12554         (Bug#1516)
12555         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
12557 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
12559         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12560         "autoload".  Remove "warn lower camel case" section, previously
12561         commented out.  Highlight negation char.  Do not highlight the
12562         target in singleton method definitions.
12564 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12566         * faces.el (tty-setup-hook): Declare the hook.
12568         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12569         and detect when a guard/pred depends on local vars (bug#14773).
12570         (pcase--u1): Adjust caller.
12572 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
12574         * simple.el (line-move-partial, line-move): Account for
12575         line-spacing.
12576         (line-move-partial): Avoid setting vscroll when the last
12577         partially-visible line in window is of default height.
12579 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12581         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12582         been used a while.
12584 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
12586         * subr.el (read-quoted-char): Remove unused local variable `char'.
12588 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12590         * vc/ediff.el (ediff-version): Version update.
12591         (ediff-files-command, ediff3-files-command, ediff-merge-command)
12592         (ediff-merge-with-ancestor-command, ediff-directories-command)
12593         (ediff-directories3-command, ediff-merge-directories-command)
12594         (ediff-merge-directories-with-ancestor-command): New functions.
12595         All are command-line interfaces to ediff: to facilitate calling
12596         Emacs with the appropriate ediff functions invoked.
12598         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12599         New function.
12600         (viper-save-kill-buffer): Check if buffer is modified.
12602         * emulation/viper.el (viper-version): Version update.
12603         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12605 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12607         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12608         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12609         (viper-intercept-ESC-key): Simplify.
12610         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12611         don't use kbd.
12612         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12613         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12614         (viper-setup-ESC-to-escape): New functions.
12615         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12616         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
12618 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
12620         * simple.el (default-font-height, window-screen-lines):
12621         New functions.
12622         (line-move, line-move-partial): Use them instead of
12623         frame-char-height and window-text-height.  This makes scrolling
12624         text smoother when the buffer's default face uses a font that is
12625         different from the frame's default font.
12627 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
12629         * files.el (write-file): Do not display confirm dialog for NS,
12630         it does its own dialog, which can't be canceled (Bug#14578).
12632 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
12634         * simple.el (line-move-partial): Adjust the row returned by
12635         posn-at-point for the current window-vscroll.  (Bug#14567)
12637 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
12639         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12640         (tramp-sh-file-inotifywait-process-filter): Handle file names with
12641         spaces.
12643 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
12645         * window.el (window-state-put-stale-windows): New variable.
12646         (window--state-put-2): Save list of windows without matching buffer.
12647         (window-state-put): Remove "bufferless" windows if possible.
12649 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12651         * simple.el (alternatives-define): Remove leftover :group keyword.
12652         Tweak docstring.
12654 2013-07-06  Leo Liu  <sdl.web@gmail.com>
12656         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12657         (ido-enable-virtual-buffers): New variable.
12658         (ido-buffer-internal, ido-toggle-virtual-buffers)
12659         (ido-make-buffer-list): Use it.
12660         (ido-exhibit): Support turning on and off virtual buffers
12661         automatically.
12663 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12665         * simple.el (alternatives-define): New macro.
12667 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12669         * subr.el (read-quoted-char): Use read-key.
12670         (sit-for): Let read-event decode tty input (bug#14782).
12672 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
12674         * calendar/todo-mode.el: Add handling of file deletion, both by
12675         mode command and externally.  Fix various related bugs.
12676         Clarify Commentary and improve some documentation strings and code.
12677         (todo-delete-file): New command.
12678         (todo-check-file): New function.
12679         (todo-show): Handle external deletion of the file we're trying to
12680         show (bug#14688).  Replace called-interactively-p by an optional
12681         prefix argument to avoid problematic interaction with catch form
12682         when byte compiled (bug#14702).
12683         (todo-quit): Handle external deletion of the archive's todo file.
12684         Make sure the buffer that was visiting the archive file is still
12685         live before trying to bury it.
12686         (todo-category-completions): Handle external deletion of any
12687         category completion files.
12688         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12689         of todo files, in case of external deletion.
12690         (todo-add-file): Replace unnecessary setq by let-binding.
12691         (todo-find-archive): Check whether there are any archives.
12692         Replace unnecessary setq by let-binding.
12693         (todo-archive-done-item): Use find-file-noselect to get the
12694         archive buffer whether or not the archive already exists.
12695         Remove superfluous code.  Use file size instead of buffer-file-name to
12696         check if the archive is new; if it is, update list of archives.
12697         (todo-default-todo-file): Allow nil to be a valid value for when
12698         there are no todo files.
12699         (todo-reevaluate-default-file-defcustom): Use corrected definition
12700         of todo-default-todo-file.
12701         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12702         (todo-delete-category, todo-show-categories-table)
12703         (todo-category-number): Clarify comment.
12704         (todo-filter-items): Clarify documentation string.
12705         (todo-show-current-file, todo-display-as-todo-file)
12706         (todo-reset-and-enable-done-separator): Tweak documentation string.
12707         (todo-done-separator): Make separator length window-width, since
12708         bug#2749 is now fixed.
12710 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
12712         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12713         Support both "gvfs-monitor-dir" and "inotifywait".
12714         (tramp-sh-file-inotifywait-process-filter): Rename from
12715         `tramp-sh-file-notify-process-filter'.
12716         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12717         (tramp-get-remote-gvfs-monitor-dir): New defuns.
12719 2013-07-05  Leo Liu  <sdl.web@gmail.com>
12721         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12723 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12725         * frame.el (display-pixel-height, display-pixel-width)
12726         (display-mm-height, display-mm-width): Mention behavior on
12727         multi-monitor setups in docstrings.
12728         (w32-display-monitor-attributes-list): Declare function.
12729         (display-monitor-attributes-list): Use it.
12731 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
12733         * filenotify.el: New package.
12735         * autorevert.el (top): Require filenotify.el.
12736         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
12737         instead.
12738         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12739         (auto-revert-notify-handler): Use `file-notify-*' functions.
12741         * subr.el (file-notify-handle-event): Move function to filenotify.el.
12743         * net/tramp.el (tramp-file-name-for-operation):
12744         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12746         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12747         for `file-notify-add-watch' and `file-notify-rm-watch'.
12748         (tramp-process-sentinel): Improve trace.
12749         (tramp-sh-handle-file-notify-add-watch)
12750         (tramp-sh-file-notify-process-filter)
12751         (tramp-sh-handle-file-notify-rm-watch)
12752         (tramp-get-remote-inotifywait): New defuns.
12754 2013-07-03  Juri Linkov  <juri@jurta.org>
12756         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12757         call of `occur-read-primary-args' to interactive spec.
12759         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12760         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
12762 2013-07-03  Matthias Meulien  <orontee@gmail.com>
12764         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12765         `Buffer-menu-multi-occur'.  Add it to the menu.
12766         (Buffer-menu-mode): Document it in docstring.
12767         (Buffer-menu-multi-occur): New command.  (Bug#14673)
12769 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12771         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12772         keywords and built-ins.
12774 2013-07-03  Glenn Morris  <rgm@gnu.org>
12776         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
12778         Make info-xref checks case-sensitive by default
12779         * info.el (Info-find-node, Info-find-in-tag-table)
12780         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12781         Add option for exact case matching of nodes.
12782         * info-xref.el (info-xref): New custom group.
12783         (info-xref-case-fold): New option.
12784         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12786 2013-07-03  Leo Liu  <sdl.web@gmail.com>
12788         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12790 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12792         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12793         middle of block statement initially, lower the depth.  Remove
12794         FIXME comment, not longer valid.  Remove middle of block statement
12795         detection, no need to do that anymore since we've been using
12796         `ruby-parse-region' here.
12798 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
12800         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12802 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
12804         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12806 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
12808         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12809         (desktop-restore-in-current-display): New customization option.
12810         (desktop--excluded-frame-parameters): Add `font'.
12811         (desktop--save-frames): Rename from desktop--save-windows.
12812         (desktop--restore-in-this-display-p): New function.
12813         (desktop--make-full-frame): Remove unwanted width/height from
12814         full(width|height) frames.
12815         (desktop--restore-frames): Rename from desktop--restore-windows.
12816         Obey desktop-restore-current-display.  Do not delete old frames or
12817         select a new frame unless we were able to restore at least one frame.
12819 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
12821         * files.el (find-file-noselect): Simplify conditional expression.
12823         * textmodes/remember.el (remember-append-to-file):
12824         Don't mix `find-buffer-visiting' and `get-file-buffer'.
12826         Add `remember-notes' function to store random notes across Emacs
12827         restarts.
12828         * textmodes/remember.el (remember-data-file): Add :set callback to
12829         affect notes buffer (if any).
12830         (remember-notes): New command.
12831         (remember-notes-buffer-name, bury-remember-notes-on-kill):
12832         New defcustoms for the `remember-notes' function.
12833         (remember-notes-save-and-bury-buffer): New command.
12834         (remember-notes-mode-map): New variable.
12835         (remember-mode): New minor mode.
12836         (remember-notes--kill-buffer-query): New function.
12837         * startup.el (initial-buffer-choice): Add notes to custom type.
12839 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
12841         * bindings.el (right-char, left-char): Don't call sit-for, this is
12842         no longer needed.  Use arithmetic comparison only for numerical
12843         arguments.
12845         * international/mule-cmds.el (select-safe-coding-system):
12846         Handle the case of FROM being a string correctly.  (Bug#14755)
12848 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12850         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12851         progression on degenerate tables.
12852         (shr-rescale-image): ImageMagick animated images currently don't work.
12854 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12856         Some fixes and improvements for desktop frame restoration.
12857         It is still experimental and disabled by default.
12858         * desktop.el (desktop--save-windows): Put the selected frame at
12859         the head of the list.
12860         (desktop--make-full-frame): New function.
12861         (desktop--restore-windows): Try to re-select the frame that was
12862         selected upon saving.  Do not abort if some frames fail to restore,
12863         just show an error message and continue.  Set up maximized frames
12864         so they have default non-maximized dimensions.
12866 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12868         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12869         Don't start heredoc inside a string or comment.
12871 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12873         * bindings.el (visual-order-cursor-movement): New defcustom.
12874         (right-char, left-char): Provide visual-order cursor motion by
12875         calling move-point-visually.  Update the doc strings.
12877 2013-06-28  Kenichi Handa  <handa@gnu.org>
12879         * international/mule.el (define-coding-system): New coding system
12880         properties :inhibit-null-byte-detection,
12881         :inhibit-iso-escape-detection, and :prefer-utf-8.
12882         (set-buffer-file-coding-system): If :charset-list property of
12883         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12884         appropriate for setting.
12886         * international/mule-cmds.el (select-safe-coding-system):
12887         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12888         multibyte characters, return utf-8 (or one of its siblings).
12890         * international/mule-conf.el (prefer-utf-8): New coding system.
12891         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12892         files.
12894 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12896         * net/shr.el (shr-render-region): New function.
12898         * net/eww.el: Autoload `eww-browse-url'.
12900 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12902         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12903         Adapt to `package-desc-version' being a list.
12904         Use `package--ac-desc-version' to retrieve version from a package
12905         archive element.
12907 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12909         New experimental feature to save&restore window and frame setup.
12910         * desktop.el (desktop-save-windows): New defcustom.
12911         (desktop--saved-states): New var.
12912         (desktop--excluded-frame-parameters): New defconst.
12913         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12914         (desktop--restore-windows, desktop--save-windows): New functions.
12915         (desktop-save): Call `desktop--save-windows'.
12916         (desktop-read): Call `desktop--restore-windows'.
12918 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12920         * net/shr.el (add-face-text-property): Remove compat definition.
12922 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12924         * info.el (Info-try-follow-nearest-node): Move search for footnote
12925         above search for node name to prevent missing a footnote (bug#14717).
12927 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12929         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12931 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12933         * net/eww.el (eww-read-bookmarks): Check file size.
12935 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12937         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12938         advice--pending if newdef is nil or an autoload (bug#13820).
12939         (advice-mapc): New function.
12941 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12943         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12944         probably.
12945         (eww-mode-map): Add a menu bar.
12946         (eww-add-bookmark): New command.
12947         (eww-bookmark-mode): New mode and commands.
12948         (eww-add-bookmark): Remove newlines from the title.
12949         (eww-bookmark-browse): Don't bug out if it's the only window.
12951 2013-06-26  Glenn Morris  <rgm@gnu.org>
12953         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12954         (hfy-size): Handle ttys.  (Bug#14668)
12956         * info-xref.el: Update for Texinfo 5 change in *note format.
12957         (info-xref-node-re, info-xref-note-re): New constants.
12958         (info-xref-check-buffer): Use info-xref-note-re.
12960 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12962         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12964         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12965         nil terminate the loop (bug#14718).
12967 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12969         * net/eww.el: Rework history traversal.  When going forward/back,
12970         put these actions into the history, too, so that they can be
12971         replayed.
12972         (eww-render): Move the history reset to the correct buffer.
12974 2013-06-25  Juri Linkov  <juri@jurta.org>
12976         * files-x.el (modify-dir-local-variable): Change the header comment
12977         in the file with directory local variables.  (Bug#14692)
12979         * files-x.el (read-file-local-variable-value): Add `default'.
12980         (Bug#14710)
12982 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12984         * net/eww.el (eww-make-unique-file-name): Create a unique file
12985         name before saving to entering `y' accidentally asynchronously.
12987 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12989         * net/eww.el (eww-download): New command and keystroke.
12991 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12993         * net/eww.el (eww-copy-page-url): Change name of command.
12995         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12996         be more consistent with Info and dired.
12998         * net/eww.el (eww-mode-map): Ditto.
13000 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13002         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
13003         packages from archives.
13004         (package-archive-contents): Change format; include obsolete packages.
13005         (package-desc): Use `dir' to mark builtin packages.
13006         (package--from-builtin): Set the `dir' field to `builtin'.
13007         (generated-autoload-file, version-control): Declare.
13008         (package-compute-transaction): Change first arg and return value to be
13009         lists of package-descs.  Adjust to new package-archive-contents format.
13010         (package--add-to-archive-contents): Adjust to new
13011         package-archive-contents format.
13012         (package-download-transaction): Arg is now a list of package-descs.
13013         (package-install): If `pkg' is a package name, pass it as
13014         a requirement, so it is subject to the usual (e.g. disabled) checks.
13015         (describe-package): Accept package-desc as well.
13016         (describe-package-1): Describe a specific package-desc.  Add links to
13017         other package-descs for the same package name.
13018         (package-menu-describe-package): Pass the actual package-desc.
13019         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13020         works correctly.
13021         (package-desc-status): New function.
13022         (package-menu--refresh): New function, extracted
13023         from package-menu--generate.
13024         (package-menu--generate): Use it.
13025         (package-delete): Update package-alist.
13026         (package-menu-execute): Don't call package-initialize.
13028         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13029         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13030         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13031         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13032         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13033         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13035 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
13037         * window.el (window--state-get-1): Workaround for bug#14527.
13038         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13040 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13042         * net/eww.el (eww-back-url): Implement the history by stashing all
13043         the data into a list.
13044         (eww-forward-url): Allow going forward in the history, too.
13046 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13048         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13049         for values and use read--expression for expressions (bug#14710).
13050         (read-file-local-variable): Avoid setq.
13051         (read-file-local-variable-mode): Use minor-mode-list.
13053 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13055         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13056         for DOI URLs.
13058 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13060         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13061         Update imenu-support when dialect changes.
13063 2013-06-25  Leo Liu  <sdl.web@gmail.com>
13065         * ido.el (ido-read-internal): Allow forward slash on windows.
13067 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13069         * net/eww.el (eww): Start of strings is \\`, not ^.
13071 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13073         * net/shr.el (shr-browse-url): Fix interactive spec.
13075         * net/eww.el (eww): Add a trailing slash to domain names.
13077 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
13079         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13081 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13083         * net/shr.el (shr-browse-url): Use an external browser if given a
13084         prefix.
13086         * net/eww.el (eww-external-browser): Move to shr.
13088 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13090         * net/eww.el (eww): Work more correctly for file: URLs.
13091         (eww-detect-charset): Allow quoted charsets.
13092         (eww-yank-page-url): New command and keystroke.
13094 2013-06-24  Daiki Ueno  <ueno@gnu.org>
13096         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13097         file name of gpg executable.
13098         (epg-context-program): New function.
13099         (epg-context-home-directory): New function.
13100         (epg-context-set-program): New function.
13101         (epg-context-set-home-directory): New function.
13102         (epg--start): Use `epg-context-program' instead of
13103         'epg-gpg-program'.
13104         (epg--list-keys-1): Likewise.
13106 2013-06-24  Leo Liu  <sdl.web@gmail.com>
13108         * ido.el (ido-read-internal): Fix bug#14620.
13110 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13112         * faces.el (face-documentation): Simplify.
13113         (read-face-attribute, tty-find-type, x-resolve-font-name):
13114         Use `string-match-p'.
13115         (list-faces-display): Use `string-match-p'.  Simplify.
13116         (face-spec-recalc): Check face to avoid face alias loops.
13117         (read-color): Use `string-match-p' and non-capturing parenthesis.
13119 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13121         * net/shr.el (shr-rescale-image): Use the new
13122         :max-width/:max-height functionality.
13124 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
13126         * net/eww.el (eww-search-prefix): New variable.
13127         (eww): Use it.
13128         (eww-external-browser): New variable.
13129         (eww-mode-map): New keystroke.
13130         (eww-browse-with-external-browser): New command.
13132         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
13134 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13136         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13137         Don't skip aligning the next header field when padding is 0;
13138         otherwise, field width is not respected unless the title is as
13139         wide as the field.
13141 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13143         * emacs-lisp/package.el (package-el-version): Remove.
13144         (package-process-define-package): Fix inf-loop.
13145         (package-install): Allow symbols as arguments again.
13147 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13149         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
13150         add some more keyword-like methods.
13151         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
13153 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
13155         * bs.el (bs-buffer-show-mark): Make defvar-local.
13156         (bs-mode): Use setq-local.
13158         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
13159         (emacs-lock--try-unlocking): Make defvar-local.
13161 2013-06-22  Glenn Morris  <rgm@gnu.org>
13163         * play/cookie1.el (cookie-apropos): Minor simplification.
13165         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
13167 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13169         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
13170         `regexp-opt', it breaks the build during dumping.
13172 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
13174         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13175         Highlight keyword-like methods on Kernel and Module with
13176         font-lock-builtin-face.
13177         (auto-mode-alist): Consolidate different entries into one regexp
13178         and add more *file-s.
13180 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
13182         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
13184         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
13185         (diary-entry): Use it in the action of this button type instead of
13186         diary-goto-entry.
13188         * calendar/todo-mode.el: New version.
13189         (todo-add-category): Append new category to end of file and give
13190         it the highest number, instead of putting it at the beginning and
13191         giving it 0.  Incorporate noninteractive functionality.
13192         (todo-forward-category): Adapt to 1-based category numbering.
13193         Allow skipping over archived categories.
13194         (todo-backward-category): Derive from todo-forward-category.
13195         (todo-backward-item, todo-forward-item): Make noninteractive and
13196         delegate interactive part to new commands.  Make sensitive to done items.
13197         (todo-categories): Make value an alist of category names and
13198         vectors of item counts.
13199         (todo-category-beg): Make a defconst.
13200         (todo-category-number): Use 1 instead of 0 as initial value.
13201         (todo-category-select): Make sensitive to overlays, optional item
13202         highlighting and done items.
13203         (todo-delete-item): Make sensitive to overlays and marked and done items.
13204         (todo-edit-item): Make sensitive to overlays and editing of
13205         date/time header optional.  Add format checks.
13206         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
13207         no-op if point is not on an item.  Advertise using todo-edit-quit.
13208         (todo-edit-mode): Make sensitive to new format, font-locking, and
13209         multiple todo files.
13210         (todo-insert-item, todo-insert-item-here): Derive from
13211         todo-basic-insert-item and extend functionality.
13212         (todo-item-end, todo-item-start): Make sensitive to done items.
13213         (todo-item-string): Don't return text properties.  Restore point.
13214         (todo-jump-to-category): Make sensitive to multiple todo files and
13215         todo archives.  Use extended category completion.
13216         (todo-lower-item, todo-raise-item): Rename to *-priority and
13217         derive from todo-set-item-priority.
13218         (todo-mode): Derive from special-mode.  Make sensitive to new
13219         format, font-locking and multiple todo files.  Make read-only.
13220         (todo-mode-map): Don't suppress digit keys, so they can supply
13221         prefix arguments.  Add many new key bindings.
13222         (todo-prefix): Insert as an overlay instead of file text.
13223         Change semantics from diary date expression to purely visual mark.
13224         (todo-print): Rename to todo-print-buffer.  Make buffer display
13225         features printable.  Remove option to restrict number of items
13226         printed.  Add option to print to file.
13227         (todo-print-function): Rename to todo-print-buffer-function.
13228         (todo-quit): Extend to handle exiting new todo modes.
13229         (todo-remove-item): Make sensitive to overlays.
13230         (todo-save): Extend to buffers of filtered items.
13231         (todo-show): Make sensitive to done items, multiple todo files and
13232         new todo modes.  Offer to convert legacy todo file before creating
13233         first new todo file.
13234         (todo-show-priorities): Rename to todo-top-priorities.
13235         Change semantics of value 0.
13236         (todo-top-priorities): Rename to todo-filter-top-priorities,
13237         derive from todo-filter-items and extend functionality.
13238         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
13239         and extend functionality to other types of filtered items.
13240         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13241         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13242         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13243         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13244         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13245         (todo-edit-mode-hook, todo-entry-prefix-function)
13246         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13247         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13248         (todo-initials, todo-insert-threshold, todo-item-string-start)
13249         (todo-line-string, todo-menu, todo-mode-hook)
13250         (todo-more-important-p, todo-previous-answer, todo-previous-line)
13251         (todo-print-priorities, todo-remove-separator)
13252         (todo-save-top-priorities-too, todo-string-count-lines)
13253         (todo-string-multiline-p, todo-time-string-format)
13254         (todo-tmp-buffer-name): Remove.
13255         (todo-add-file, todo-archive-done-item, todo-choose-archive)
13256         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13257         (todo-edit-category-diary-inclusion)
13258         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13259         (todo-edit-file, todo-edit-item-date-day)
13260         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13261         (todo-edit-item-date-month, todo-edit-item-date-to-today)
13262         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13263         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13264         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13265         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13266         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13267         (todo-filter-top-priorities-multifile, todo-find-archive)
13268         (todo-find-filtered-items-file, todo-go-to-source-item)
13269         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13270         (todo-jump-to-archive-category, todo-lower-category)
13271         (todo-mark-category, todo-marked-item-p, todo-merge-category)
13272         (todo-move-category, todo-move-item, todo-next-button)
13273         (todo-next-item, todo-padded-string, todo-powerset)
13274         (todo-previous-button, todo-previous-item)
13275         (todo-print-buffer-to-file, todo-raise-category)
13276         (todo-rename-category, todo-repair-categories-sexp, todo-search)
13277         (todo-set-category-number, todo-set-item-priority)
13278         (todo-set-top-priorities-in-category)
13279         (todo-set-top-priorities-in-file, todo-show-categories-table)
13280         (todo-sort-categories-alphabetically-or-numerically)
13281         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13282         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13283         (todo-toggle-item-header, todo-toggle-item-highlighting)
13284         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13285         (todo-toggle-view-done-items, todo-toggle-view-done-only)
13286         (todo-unarchive-items, todo-unmark-category): New commands.
13287         (todo-absolute-file-name, todo-add-to-buffer-list)
13288         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13289         (todo-basic-insert-item, todo-category-completions)
13290         (todo-category-number, todo-category-string-matcher-1)
13291         (todo-category-string-matcher-2, todo-check-filtered-items-file)
13292         (todo-check-format, todo-clear-matches)
13293         (todo-comment-string-matcher, todo-convert-legacy-date-time)
13294         (todo-current-category, todo-date-string-matcher)
13295         (todo-define-insertion-command, todo-diary-expired-matcher)
13296         (todo-diary-goto-entry, todo-diary-item-p)
13297         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13298         (todo-display-categories, todo-display-sorted, todo-done-item-p)
13299         (todo-done-item-section-p, todo-done-separator)
13300         (todo-done-string-matcher, todo-files, todo-filter-items)
13301         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13302         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13303         (todo-insert-category-line, todo-insert-item-from-calendar)
13304         (todo-insert-sort-button, todo-insert-with-overlays)
13305         (todo-insertion-command-name, todo-insertion-key-bindings)
13306         (todo-label-to-key, todo-longest-category-name-length)
13307         (todo-make-categories-list, todo-mode-external-set)
13308         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13309         (todo-modes-set-3, todo-multiple-filter-files)
13310         (todo-nondiary-marker-matcher, todo-prefix-overlays)
13311         (todo-read-category, todo-read-date, todo-read-dayname)
13312         (todo-read-file-name, todo-read-time)
13313         (todo-reevaluate-category-completions-files-defcustom)
13314         (todo-reevaluate-default-file-defcustom)
13315         (todo-reevaluate-filelist-defcustoms)
13316         (todo-reevaluate-filter-files-defcustom)
13317         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13318         (todo-reset-done-separator, todo-reset-done-separator-string)
13319         (todo-reset-done-string, todo-reset-global-current-todo-file)
13320         (todo-reset-highlight-item, todo-reset-nondiary-marker)
13321         (todo-reset-prefix, todo-set-categories)
13322         (todo-set-date-from-calendar, todo-set-show-current-file)
13323         (todo-set-top-priorities, todo-short-file-name)
13324         (todo-show-current-file, todo-sort, todo-time-string-matcher)
13325         (todo-total-item-counts, todo-update-buffer-list)
13326         (todo-update-categories-display, todo-update-categories-sexp)
13327         (todo-update-count, todo-validate-name, todo-y-or-n-p):
13328         New functions.
13329         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13330         New major modes.
13331         (todo-categories, todo-display, todo-edit, todo-faces)
13332         (todo-filtered): New defgroups.
13333         (todo-archived-only, todo-button, todo-category-string, todo-date)
13334         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13335         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13336         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13337         (todo-add-item-if-new-category, todo-always-add-time-string)
13338         (todo-categories-align, todo-categories-archived-label)
13339         (todo-categories-category-label, todo-categories-diary-label)
13340         (todo-categories-done-label, todo-categories-number-separator)
13341         (todo-categories-todo-label, todo-categories-totals-label)
13342         (todo-category-completions-files, todo-completion-ignore-case)
13343         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13344         (todo-done-separator-string, todo-done-string)
13345         (todo-files-function, todo-filter-done-items, todo-filter-files)
13346         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13347         (todo-initial-category, todo-initial-file, todo-item-mark)
13348         (todo-legacy-date-time-regexp, todo-mode-line-function)
13349         (todo-nondiary-marker, todo-number-prefix)
13350         (todo-print-buffer-function, todo-show-current-file)
13351         (todo-show-done-only, todo-show-first, todo-show-with-done)
13352         (todo-skip-archived-categories, todo-top-priorities-overrides)
13353         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13354         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13355         New defcustoms.
13356         (todo-category-done, todo-date-pattern, todo-date-string-start)
13357         (todo-diary-items-buffer, todo-done-string-start)
13358         (todo-filtered-items-buffer, todo-item-start)
13359         (todo-month-abbrev-array, todo-month-name-array)
13360         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13361         (todo-top-priorities-buffer): New defconsts.
13362         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13363         (todo-categories-with-marks, todo-category-string-face)
13364         (todo-comment-face, todo-comment-string, todo-current-todo-file)
13365         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13366         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13367         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13368         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13369         (todo-font-lock-keywords, todo-global-current-todo-file)
13370         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13371         (todo-insertion-commands-args)
13372         (todo-insertion-commands-args-genlist)
13373         (todo-insertion-commands-names, todo-insertion-map)
13374         (todo-key-bindings-t, todo-key-bindings-t+a)
13375         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13376         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13377         (todo-nondiary-face, todo-print-buffer, todo-time-face)
13378         (todo-visited): New variables.
13380 2013-06-21  Glenn Morris  <rgm@gnu.org>
13382         * play/cookie1.el (cookie-apropos): Add optional display argument.
13383         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13384         (psychoanalyze-pinhead): Use cookie-doctor.
13386 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13388         * emacs-lisp/package.el (tar-get-file-descriptor)
13389         (tar--extract): Declare.
13391 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
13393         Extend flymake's warning predicate to be a function (bug#14217).
13394         * progmodes/flymake.el (flymake-warning-predicate): New.
13395         (flymake-parse-line): Use it.
13396         (flymake-warning-re): Make obsolete alias to
13397         `flymake-warning-predicate'.
13399 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13401         * emacs-lisp/package.el (package-alist): Include obsolete packages.
13402         (package-obsolete-list): Remove.
13403         (package-activate): Remove min-version argument.  Add `force' argument.
13404         Adjust to new package-alist format.
13405         (package-mark-obsolete): Remove.
13406         (package-unpack): Force reload of the package's autoloads.
13407         (package-installed-p): Check builtins if the installed package is not
13408         recent enough.
13409         (package-initialize): Don't reset package-obsolete-list.
13410         Don't specify which package version to activate.
13411         (package-process-define-package, describe-package-1)
13412         (package-menu--generate): Adjust to new package-alist format.
13414 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13416         * allout-widgets.el (allout-widgets-mode-off)
13417         (allout-widgets-mode-on, allout-widgets-pre-command-business)
13418         (allout-widgets-post-command-business)
13419         (allout-widgets-after-copy-or-kill-function)
13420         (allout-widgets-after-undo-function, allout-test-range-overlaps)
13421         (allout-decorate-item-and-context)
13422         (allout-graphics-modification-handler): Fix typos in docstrings.
13423         (allout-get-or-create-parent-widget): Use `looking-at-p'.
13425         * cmuscheme.el (scheme-start-file): Doc fix.
13426         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13427         (scheme-input-filter): Use `string-match-p'.
13429         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13431         * dired-x.el: Use Dired consistently in docstrings.
13433         * dired.el: Use Dired consistently in docstrings.
13434         (dired-readin, dired-mode): Use `setq-local'.
13435         (dired-switches-alist): Make defvar-local.
13436         (dired-buffers-for-dir): Use `zerop'.
13437         (dired-safe-switches-p, dired-switches-escape-p)
13438         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13439         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13440         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13441         (dired-goto-next-nontrivial-file): Use `string-match-p'.
13442         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13443         (dired-toggle-marks, dired-mark-files-containing-regexp)
13444         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13445         (dired-flag-auto-save-files, dired-flag-backup-files):
13446         Use `looking-at-p'.
13447         (dired-mark-files-regexp, dired-build-subdir-alist):
13448         Use `string-match-p', `looking-at-p'.
13450         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13451         (direct-print-region-helper): Use `string-match-p'.
13453 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13455         * comint.el (comint-redirect-results-list-from-process):
13456         Fix infinite loop.
13458 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13460         * net/eww.el (eww-update-header-line-format): Quote % characters.
13462 2013-06-21  Glenn Morris  <rgm@gnu.org>
13464         * play/cookie1.el (cookie): New custom group.
13465         (cookie-file): New option.
13466         (cookie-check-file): New function.
13467         (cookie): Make it interactive.  Make start and end messages optional.
13468         Interactively, display the result.  Default to cookie-file.
13469         (cookie-insert): Default to cookie-file.
13470         (cookie-snarf): Make start and end messages optional.
13471         Default to cookie-file.  Use with-temp-buffer.
13472         (cookie-read): Rename from read-cookie.
13473         Make start and end messages optional.  Default to cookie-file.
13474         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
13475         Do not autoload it.
13476         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13477         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13479 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13481         * progmodes/octave.el (octave-mode): Backward compatibility fix.
13483 2013-06-21  Glenn Morris  <rgm@gnu.org>
13485         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13487 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13488             Daniel Hackney  <dan@haxney.org>
13490         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13491         Consolidate the single-file vs tarball code.
13492         (package-desc-suffix): New function.
13493         (package-desc-full-name): Don't bother inlining it.
13494         (package-load-descriptor): Return the new package-desc.
13495         (package-mark-obsolete): Remove unused arg `package'.
13496         (package-unpack): Make it work for single files as well.
13497         Make it update package-alist.
13498         (package--make-autoloads-and-stuff): Rename from
13499         package--make-autoloads-and-compile.  Don't compile any more.
13500         (package--compile): New function.
13501         (package-generate-description-file): New function, extracted from
13502         package-unpack-single.
13503         (package-unpack-single): Remove.
13504         (package--with-work-buffer): Add indentation and debugging info.
13505         (package-download-single): Remove.
13506         (package-install-from-archive): Rename from package-download-tar, make
13507         it take a pkg-desc, and make it work for single files as well.
13508         (package-download-transaction): Simplify.
13509         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
13510         external tar program.
13511         (package-install-from-buffer): Remove `pkg-desc' argument.
13512         Use package-tar-file-info for tar-mode buffers.
13513         (package-install-file): Simplify accordingly.
13514         (package-archive-base): Change to take a pkg-desc.
13515         * tar-mode.el (tar--check-descriptor): New function, extracted from
13516         tar-get-descriptor.
13517         (tar-get-descriptor): Use it.
13518         (tar-get-file-descriptor): New function.
13519         (tar--extract): New function, extracted from tar-extract.
13520         (tar--extract): Use it.
13521         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13522         case the summary uses non-ascii.  Adjust to new calling convention of
13523         package-tar-file-info.
13525 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13527         * comint.el (comint-redirect-results-list-from-process):
13528         Fix random delay.  (Bug#14681)
13530 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13532         * profiler.el (profiler-format-number): Use log, not log10.
13534 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13536         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13538 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13540         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13541         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13542         yet available.
13543         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13544         (AUTOGENEL): ... here.
13545         * emacs-lisp/cl-macs.el (cl--sublis): New function.
13546         (cl--defsubst-expand): Use it.
13548 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
13550         * subr.el (log10): Move here from C code, and declare as obsolete.
13551         All uses of (log10 X) replaced with (log X 10).
13553 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13555         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13556         Declare with `defvar-local'.
13557         (tabulated-list-use-header-line, tabulated-list-entries)
13558         (tabulated-list-padding, tabulated-list-printer)
13559         (tabulated-list-sort-key): Declare with `defvar-local'.
13560         (tabulated-list-init-header, tabulated-list-print-fake-header):
13561         Use `setq-local'.
13563 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
13565         * arc-mode.el (archive-mode): Add `archive-write-file' to
13566         `write-contents-functions' also for remote files.  (Bug#14652)
13568 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13570         * cus-edit.el (custom-commands): Fix typos.
13571         (custom-display): Fix tooltip text.
13572         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13573         Fix typos in docstrings.
13574         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13575         (custom-unlispify-menu-entry, custom-magic-value-create)
13576         (custom-add-see-also, custom-group-value-create): Use ?\s.
13577         (custom-guess-type, customize-apropos, editable-field)
13578         (custom-face-value-create): Use `string-match-p'.
13579         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13581         * custom.el (custom-load-symbol): Use `string-match-p'.
13583         * ansi-color.el: Convert to lexical binding.
13584         (ansi-colors): Fix URL.
13585         (ansi-color-context, ansi-color-context-region): Use defvar-local.
13586         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13587         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13589 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13591         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13593         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13595 2013-06-19  Tom Tromey  <tromey@redhat.com>
13597         * net/eww.el (eww-top-url): Remove.
13598         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13599         (eww-render): Set new variables.  Don't set eww-top-url.
13600         (eww-handle-link): Handle "prev", "home", and "contents".
13601         Downcase the rel text.
13602         (eww-top-url): Choose best top URL.
13604 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13606         * net/eww.el: Rewrite to implement form elements "by hand" instead of
13607         relying in widget.el.  Using widget.el leads to too many
13608         user interface inconsistencies.
13609         (eww-self-insert): Implement entering commands in text fields.
13610         (eww-process-text-input): New function to make text input field editing
13611         work.
13612         (eww-submit): Rewrite to use the new-style form methods.
13613         (eww-select-display): Display the correct selected item.
13614         (eww-change-select): Implement changing the select value.
13615         (eww-toggle-checkbox): Implement radio/checkboxes.
13616         (eww-update-field): Fix compilation error.
13617         (eww-tag-textarea): Implement <textarea>.
13619         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13620         we don't shadow mode-specific bindings.
13622         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13623         nothing to push.
13625         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13627 2013-06-19  Glenn Morris  <rgm@gnu.org>
13629         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13631 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13633         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13634         not needed.
13636         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13638 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13640         * net/browse-url.el (browse-url-browser-function):
13641         `eww-browse-url' has the right calling signature, `eww' does not.
13643 2013-06-19  Glenn Morris  <rgm@gnu.org>
13645         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13646         Only eval autoloaded macros.
13647         (byte-compile-autoload): Only give the macro warning for macros.
13649         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13650         (ps-underlined-faces): Declare.
13652         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13653         (speedbar-add-supported-extension): Declare.
13655         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13656         Don't include a date stamp in the header of the generated file;
13657         it leads to needless differences between output files.
13659 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13661         * net/secrets.el (secrets-struct-secret-content-type):
13662         Replace check of introspection data by a test call of "CreateItem".
13663         Some servers do not offer introspection.
13665 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13667         * electric.el (electric-pair-mode): Improve interaction with
13668         electric-layout-mode.
13669         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13670         (electric-pair-syntax): Use text-mode-syntax-table in comments
13671         and strings.
13672         (electric-pair--insert): New function.
13673         (electric-pair-post-self-insert-function): Use it and
13674         electric--after-char-pos.
13676 2013-06-19  Leo Liu  <sdl.web@gmail.com>
13678         * progmodes/octave.el (octave-help): Fix regexp.
13680 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13682         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13683         (shr-table-horizontal-line): Allow nil as a value, and change the
13684         default.
13685         (shr-insert-table-ruler): Respect the nil value.
13687 2013-06-18  Tom Tromey  <tromey@barimba>
13689         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13690         New defvars.
13691         (eww-open-file): New defun.
13692         (eww-render): Initialize new variables.
13693         (eww-display-html): Handle "link" and "a".
13694         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13695         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
13696         (eww-back-url): Rename from eww-previous-url.
13697         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13698         New defuns.
13700 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
13702         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13703         Distinguish ternary operator tokens from slash symbol and slash
13704         char literal.
13706 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13708         Convert symbol prettification into minor mode and global minor mode.
13710         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13711         `prog-prettify-symbols', and make a local defvar instead of defcustom.
13712         (prettify-symbols--keywords): Rename from
13713         `prog-prettify-symbols-alist' and make a local defvar.
13714         (prettify-symbols--compose-symbol): Rename from
13715         `prog--prettify-font-lock-compose-symbol'.
13716         (prettify-symbols--make-keywords): Rename from
13717         `prog-prettify-font-lock-symbols-keywords' and simplify.
13718         (prog-prettify-install): Remove.
13719         (prettify-symbols-mode): New minor mode, based on
13720         `prog-prettify-install'.
13721         (turn-on-prettify-symbols-mode): New function.
13722         (global-prettify-symbols-mode): New globalized minor mode.
13724         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13725         * progmodes/cfengine.el (cfengine3-mode):
13726         * progmodes/perl-mode.el (perl-mode): Don't call
13727         `prog-prettify-install'; set `prettify-symbols-alist' instead.
13729 2013-06-18  Juri Linkov  <juri@jurta.org>
13731         * files-x.el (modify-file-local-variable-message): New function.
13732         (modify-file-local-variable)
13733         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13734         and call `modify-file-local-variable-message' when it's non-nil.
13735         (add-file-local-variable, delete-file-local-variable)
13736         (add-file-local-variable-prop-line)
13737         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13738         and use it.  (Bug#9820)
13740 2013-06-18  Juri Linkov  <juri@jurta.org>
13742         * emulation/vi.el (vi-shell-op):
13743         * emulation/vip.el (vip-execute-com, ex-command):
13744         * emulation/viper-cmd.el (viper-exec-bang):
13745         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13746         the call of `shell-command-on-region'.  (Bug#14637)
13748         * simple.el (shell-command-on-region): Doc fix.
13750 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13752         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13753         (bug#14633).
13755 2013-06-18  Glenn Morris  <rgm@gnu.org>
13757         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13759         * newcomment.el (comment-search-forward, comment-search-backward):
13760         Doc fix.  (Bug#14376)
13762 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13764         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13765         (buffer-face-mode-invoke): Doc fix.
13767 2013-06-18  Matthias Meulien  <orontee@gmail.com>
13769         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13770         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13772 2013-06-18  Glenn Morris  <rgm@gnu.org>
13774         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13775         Replace obsolete function generic-make-keywords with its expansion.
13777         * progmodes/python.el (ffap-alist): Declare.
13779         * textmodes/reftex.el (bibtex-mode-map): Declare.
13781 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13783         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13784         (package-unpack, package-unpack-single): Return the pkg-dir.
13785         (package-download-transaction): Use it to update package-alist.
13787 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13789         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13790         possible choice.
13792 2013-06-17  Juri Linkov  <juri@jurta.org>
13794         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13796 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13798         * emacs-lisp/package.el (package-load-descriptor):
13799         Remove `with-syntax-table' call, `read' doesn't need it.
13800         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13802 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13804         * startup.el (command-line): Expand package name returned by
13805         `package--description-file' (bug#14639).
13807 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13809         * emacs-lisp/package.el (package-load-descriptor): Do not call
13810         `emacs-lisp-mode', just use its syntax table.
13812 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13814         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13815         `font-lock-extra-managed-props' if any prettifying keyword is added.
13816         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13817         (prog-mode): Use `setq-local'.
13819 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13821         * international/characters.el (standard-case-table): Set syntax of ?»
13822         and ?« to punctuation.
13824 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
13826         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13827         Save relevant match data before calling `syntax-ppss' (bug#14595).
13829 2013-06-15  Juri Linkov  <juri@jurta.org>
13831         * files-x.el (modify-file-local-variable-prop-line): Add local
13832         variables to the end of the existing comment on the first line.
13833         Use `file-auto-mode-skip' to skip interpreter magic line,
13834         and also skip XML declaration.
13836 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13838         * startup.el (package--builtin-versions): New var.
13839         (package-subdirectory-regexp): Remove.
13840         (package--description-file): Hard code its value instead.
13842         * emacs-lisp/package.el: Don't activate packages older than builtin.
13843         (package-obsolete-list): Rename from package-obsolete-alist, and make
13844         it into a simple list of package-desc.
13845         (package-strip-version): Remove.
13846         (package-built-in-p): Use package--builtin-versions.
13847         (package-mark-obsolete): Simplify.
13848         (package-process-define-package): Mark it obsolete if older than the
13849         builtin version.
13850         (package-handle-response): Use line-end-position.
13851         (package-read-archive-contents, package--download-one-archive):
13852         Simplify.
13853         (package--add-to-archive-contents): Skip if older than the builtin or
13854         installed version.
13855         (package-menu-describe-package): Fix last change.
13856         (package-list-unversioned): New var.
13857         (package-menu--generate): Use it.
13859         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13860         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13861         (autoload-builtin-package-versions): New variable.
13862         (autoload-generate-file-autoloads): Use them.
13863         Remove the list of autoloaded functions/macros from the
13864         (autoload...) comments.
13866         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13868 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13870         * simple.el (line-move-partial): Don't jump to the next screen
13871         line as soon as it becomes visible.  Instead, continue enlarging
13872         the vscroll until the portion of a tall screen line that's left on
13873         display is about the height of the frame's default font.
13874         (Bug#14567)
13876 2013-06-15  Glenn Morris  <rgm@gnu.org>
13878         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13879         compilation-error-regexp-alist void, or local while let-bound.
13881         * progmodes/make-mode.el (makefile-mode-syntax-table):
13882         Treat "=" as punctuation.  (Bug#14614)
13884 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13886         * help-fns.el (describe-variable):
13887         Add extra line for permanent-local variables.
13889 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13891         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13892         Add export, import, library.  (Bug#9164)
13893         (library): Set indent function.
13895 2013-06-14  Glenn Morris  <rgm@gnu.org>
13897         * term/xterm.el (xterm--query):
13898         Stop after first matching handler.  (Bug#14615)
13900 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13902         Add support for dired in saveplace.
13903         * dired.el (dired-initial-position-hook): New variable.
13904         (dired-initial-position): Call hook to place cursor position.
13905         * saveplace.el (save-place-to-alist): Add dired position.
13906         (save-place-dired-hook): New function.
13908 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13910         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13911         through a symbol rather than letrec.
13913         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13914         (package-desc): Add `dir' field.
13915         (package-desc-full-name): New function.
13916         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13917         (package-maybe-load-descriptor): Remove.
13918         (package-load-all-descriptors): Just call package-load-descriptor.
13919         (package--disabled-p): New function.
13920         (package-desc-vers, package-desc-doc): Remove aliases.
13921         (package--dir): Remove function.
13922         (package-activate): Check if a package is disabled.
13923         (package-process-define-package): New function, extracted from
13924         define-package.
13925         (define-package): Turn into a place holder.
13926         (package-unpack-single, package-tar-file-info):
13927         Use package--description-file.
13928         (package-compute-transaction): Use package--disabled-p.
13929         (package-download-transaction): Don't call
13930         package-maybe-load-descriptor since they're all loaded anyway.
13931         (package-install): Change argument to be a pkg-desc.
13932         (package-delete): Use a single pkg-desc argument.
13933         (describe-package-1): Use package-desc-dir instead of package--dir.
13934         Use package-desc property instead of package-symbol.
13935         (package-install-button-action): Adjust accordingly.
13936         (package--push): Rewrite.
13937         (package-menu--print-info): Adjust accordingly.  Change the ID format
13938         to be a pkg-desc.
13939         (package-menu-describe-package, package-menu-get-status)
13940         (package-menu--find-upgrades, package-menu-mark-upgrades)
13941         (package-menu-execute, package-menu--name-predicate):
13942         Adjust accordingly.
13943         * startup.el (package--description-file): New function.
13944         (command-line): Use it.
13945         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13946         Use package-desc-version.
13948         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13949         (byte-compile-preprocess): Use it.
13950         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13951         can't quite recognize.
13952         (byte-compile-add-to-list): Remove.
13953         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13954         (cconv-closure-convert): Add assertion.
13956         * emacs-lisp/map-ynp.el: Use lexical-binding.
13957         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13958         Factor out some repeated code.
13960 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13962         * subr.el (with-eval-after-load): New macro.
13963         (eval-after-load): Allow form to be a function.
13964         take advantage of lexical-binding.
13965         (do-after-load-evaluation): Use dolist and adjust to new format.
13966         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13968 2013-06-13  Juri Linkov  <juri@jurta.org>
13970         * replace.el (perform-replace): Display "symbol " and other search
13971         modes from `isearch-message-prefix' in the *Help* buffer.
13973         * isearch.el (isearch-query-replace): Add " symbol" and other
13974         possible search modes from `isearch-message-prefix' to the prompt.
13975         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13976         when reading a regexp to collect.
13978 2013-06-13  Juri Linkov  <juri@jurta.org>
13980         * isearch.el (word-search-regexp): Match whitespace if the search
13981         string begins or ends in whitespace.  The LAX arg is applied to
13982         both ends of the search string.  Use `regexp-quote' and explicit
13983         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13984         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13985         boundaries are replaced with symbol boundaries, and characters
13986         between symbols match non-word non-symbol syntax.  (Bug#14602)
13988 2013-06-13  Juri Linkov  <juri@jurta.org>
13990         * isearch.el (isearch-del-char): Don't exceed the length of
13991         `isearch-string' by the prefix arg.  (Bug#14563)
13993 2013-06-13  Juri Linkov  <juri@jurta.org>
13995         * isearch.el (isearch-yank-word, isearch-yank-line)
13996         (isearch-char-by-name, isearch-quote-char)
13997         (isearch-printing-char, isearch-process-search-char):
13998         Add optional count prefix arg.  (Bug#14563)
14000         * international/isearch-x.el
14001         (isearch-process-search-multibyte-characters):
14002         Add optional count prefix arg.
14004 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14006         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14007         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14008         lexical-binding.
14010 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
14012         * subr.el (set-temporary-overlay-map): Add on-exit argument.
14014 2013-06-13  Glenn Morris  <rgm@gnu.org>
14016         * startup.el (tty-handle-args):
14017         Don't just discard "--" and anything after.  (Bug#14608)
14019         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14021 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
14023         Implement changes in Secret Service API.  Make it backward compatible.
14024         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14025         (secrets-create-item): Use it.  Prefix properties with interface.
14027 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
14029         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
14030         (term-emulate-terminal): Respect term-suppress-hard-newline.
14032 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
14034         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14035         Only remove a `thumb-file' overlay.  (Bug#14548)
14037 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
14039         * mail/reporter.el (reporter-submit-bug-report):
14040         Handle missing package-name.  (Bug#14600)
14042 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14044         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14045         (reftex-citation-prompt, reftex-default-bibliography)
14046         (reftex-bib-or-thebib, reftex-get-bibfile-list)
14047         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14048         (reftex-bib-sort-author, reftex-bib-sort-year)
14049         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14050         (reftex-extract-bib-entries-from-thebibliography)
14051         (reftex-get-bibkey-default, reftex-get-bib-names)
14052         (reftex-parse-bibtex-entry, reftex-get-bib-field)
14053         (reftex-format-bib-entry, reftex-parse-bibitem)
14054         (reftex-format-bibitem, reftex-do-citation)
14055         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14056         (reftex-restrict-bib-matches, reftex-extract-bib-file)
14057         (reftex-insert-bib-matches, reftex-format-citation)
14058         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14059         (reftex-create-bibtex-file): Add docstrings, mostly by converting
14060         existing comments into docstrings.
14062 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14064         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14066 2013-06-12  Andreas Schwab  <schwab@suse.de>
14068         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14069         for auto-save files.
14071 2013-06-12  Glenn Morris  <rgm@gnu.org>
14073         * ido.el (ido-delete-ignored-files): Remove.
14074         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14075         Go back to calling ido-ignore-item-p directly.
14077 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
14079         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14081         * ido.el (ido-delete-ignored-files): New function,
14082         split from ido-make-file-list-1.
14083         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
14084         (ido-make-file-list-1): Use ido-delete-ignored-files.
14086 2013-06-12  Leo Liu  <sdl.web@gmail.com>
14088         * progmodes/octave.el (inferior-octave-startup)
14089         (inferior-octave-completion-table)
14090         (inferior-octave-track-window-width-change)
14091         (octave-eldoc-function-signatures, octave-help)
14092         (octave-find-definition): Use single quoted strings.
14093         (inferior-octave-startup-args): Change default value.
14094         (inferior-octave-startup): Do not hard code "-i" and
14095         "--no-line-editing".
14096         (inferior-octave-resync-dirs): Add optional arg NOERROR.
14097         (inferior-octave-directory-tracker): Use it.
14098         (octave-goto-function-definition): Robustify.
14099         (octave-help): Support highlighting operators in 'See also'.
14100         (octave-find-definition): Find subfunctions only in Octave mode.
14102 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14104         * help-fns.el (help-fns--compiler-macro): If the handler function is
14105         named, then put a link to it.
14106         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
14107         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
14108         (cl-typep): Use it.
14109         (cl-eval-when): Simplify debug spec.
14110         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
14111         compiler-macro function instead of setting `compiler-macro-file'.
14113 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14115         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
14116         * vc/vc-hooks.el (vc-stay-local): Doc fix.
14118 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14119             Daniel Hackney  <dan@haxney.org>
14121         First part of Daniel Hackney's patch to package.el.
14122         * emacs-lisp/package.el: Use defstruct.
14123         (package-desc): New, main struct.
14124         (package--bi-desc, package--ac-desc): New structs, used to describe the
14125         format in external files.
14126         (package-desc-vers): Replace with package-desc-version accessor.
14127         (package-desc-doc): Replace with package-desc-summary accessor.
14128         (package-activate-1): Remove `package' arg since the pkg-vec now
14129         includes the name.
14130         (define-package): Use package-desc-from-define.
14131         (package-unpack-single): Change file-name arg to be a symbol.
14132         (package--add-to-archive-contents): Use package-desc-create and new
14133         accessor functions to package--ac-desc.
14134         (package-buffer-info, package-tar-file-info): Return a package-desc.
14135         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
14136         arg to be a package-desc.
14137         (package-install-file): Adjust accordingly.  Use \' to match EOS.
14138         (package--from-builtin): New function.
14139         (describe-package-1, package-menu--generate): Use it.
14140         (package--make-autoloads-and-compile): Change name arg to be a symbol.
14141         (package-generate-autoloads): Idem and return the name of the file.
14142         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14143         Change pkg-info arg to be a package-desc.
14144         Use package-make-ac-desc.
14145         (package-upload-file): Use \' to match EOS.
14146         * finder.el (finder-compile-keywords): Use package-make-builtin.
14148 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14150         * vc/vc.el (vc-deduce-fileset): Change error message.
14151         (vc-read-backend): New function.
14152         (vc-next-action): Use it.
14154         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
14156         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
14157         (prolog-font-lock-keywords): Use regexp-opt instead.
14158         Don't manually highlight strings.
14159         (prolog-mode-variables): Simplify comment-start-skip.
14160         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
14162         * emacs-lisp/generic.el (generic--normalise-comments)
14163         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
14164         (generic-mode-set-comments): Use them.
14165         (generic-bracket-support): Use setq-local.
14166         (generic-make-keywords-list): Declare obsolete.
14168 2013-06-11  Glenn Morris  <rgm@gnu.org>
14170         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14171         Prettify after setting font-lock-defaults.  (Bug#14574)
14173 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
14175         * replace.el (query-replace, occur-read-regexp-defaults-function)
14176         (replace-search):
14177         * subr.el (declare-function, number-sequence, local-set-key)
14178         (substitute-key-definition, locate-user-emacs-file)
14179         (with-silent-modifications, split-string, eval-after-load):
14180         Fix typos, remove unneeded backslashes and reflow some docstrings.
14182 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14184         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
14185         default for Elisp files.
14187 2013-06-11  Glenn Morris  <rgm@gnu.org>
14189         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
14190         although define-derived-mode was doing this anyway.  (Bug#14583)
14192 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
14194         * allout.el (allout-encryption-plaintext-sanitization-regexps):
14195         Fix make-variable-buffer-local call to refer to the correct variable.
14197 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
14199         * eshell/em-term.el (eshell-visual-commands)
14200         (eshell-visual-subcommands, eshell-visual-options):
14201         Add summary line to docstrings.  Add cross-references.
14203 2013-06-10  Glenn Morris  <rgm@gnu.org>
14205         * epa.el (epa-read-file-name): New function.  (Bug#14510)
14206         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
14208 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14210         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
14211         output redirection to be ignored with visual commands.
14213 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14215         * eshell/em-term.el (eshell-visual-command-p): New function.
14216         (eshell-term-initialize): Move long lambda to separate function
14217         eshell-visual-command-p.
14218         * eshell/em-dirs.el (eshell-dirs-initialize):
14219         * eshell/em-script.el (eshell-script-initialize):
14220         Add missing #' to lambda.
14222 2013-06-08  Leo Liu  <sdl.web@gmail.com>
14224         * progmodes/octave.el (octave-add-log-current-defun): New function.
14225         (octave-mode): Set add-log-current-defun-function.
14226         (octave-goto-function-definition): Do not move point if not found.
14227         (octave-find-definition): Enhance to try subfunctions first.
14229 2013-06-08  Glenn Morris  <rgm@gnu.org>
14231         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14232         (byte-compile-backward-char, byte-compile-backward-word):
14233         Improve previous change, to handle non-explicit nil.
14235 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14237         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
14238         (smie--opener/closer-at-point): New function.
14239         (smie--matching-block-data): Use it.  Don't match from right after an
14240         opener or right before a closer.  Obey smie-blink-matching-inners.
14241         Don't signal a mismatch for repeated inners like "switch..case..case".
14243 2013-06-07  Leo Liu  <sdl.web@gmail.com>
14245         * progmodes/octave.el (octave-mode): Set comment-use-global-state
14246         to t.  (Bug#14303)
14247         (octave-function-header-regexp): Fix.  (Bug#14570)
14248         (octave-help-mode-finish-hook, octave-help-mode-finish):
14249         Remove.  Just use temp-buffer-show-hook.
14251         * newcomment.el (comment-search-backward): Revert last change.
14252         (Bug#14434)
14254         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14256 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
14258         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14259         through xargs, to avoid failure due to MS-Windows limitations on
14260         command-line length.
14262 2013-06-06  Glenn Morris  <rgm@gnu.org>
14264         * font-lock.el (lisp-font-lock-keywords-2):
14265         Treat user-error like error.
14267         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14268         (byte-compile-backward-char, byte-compile-backward-word):
14269         Handle explicit nil arguments.  (Bug#14565)
14271 2013-06-05  Alan Mackenzie  <acm@muc.de>
14273         * isearch.el (isearch-allow-prefix): New user option.
14274         (isearch-other-meta-char): Don't exit isearch when a prefix
14275         argument is typed whilst `isearch-allow-prefix' is non-nil.
14276         (Bug#9706)
14278 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14280         * autorevert.el (auto-revert-notify-handler): Use memq.
14281         Hide assertion failure.
14283         * skeleton.el: Use cl-lib.
14284         (skeleton-further-elements): Use defvar-local.
14285         (skeleton-insert): Use cl-progv.
14287 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14289         * progmodes/prog-mode.el (prog-prettify-symbols)
14290         (prog-prettify-install): Update docstrings.
14292 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14294         * simple.el: Move all the prog-mode code to prog-mode.el.
14295         * progmodes/prog-mode.el: New file.
14296         * loadup.el: Add prog-mode.el.
14298 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14300         * simple.el (prog-prettify-symbols): Add version.
14301         (prog-prettify-install): Add convenience function to prettify symbols.
14303         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14304         (perl--augmented-font-lock-keywords-1)
14305         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14306         variables and use it.
14308         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14309         (cfengine3-mode): Remove unneeded variable and use it.
14311         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14312         (lisp--augmented-font-lock-keywords-1)
14313         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14314         Remove unneeded variables and use it.
14316 2013-06-05  João Távora  <joaotavora@gmail.com>
14318         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14319         to point when opening the connection.  (Bug#14380)
14321 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14323         * subr.el (load-history-regexp, load-history-filename-element)
14324         (eval-after-load, after-load-functions, do-after-load-evaluation)
14325         (eval-next-after-load, display-delayed-warnings)
14326         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14327         definition of save-match-data.
14328         (overriding-local-map): Remove accidental obsolescence declaration.
14330         * emacs-lisp/edebug.el (edebug-result): Move before first use.
14332 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14334         Generalize symbol prettify support to prog-mode and implement it
14335         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14336         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14337         (prog--prettify-font-lock-compose-symbol)
14338         (prog-prettify-font-lock-symbols-keywords): New variables and
14339         functions to support symbol prettification.
14340         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14341         (lisp--augmented-font-lock-keywords-1)
14342         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14343         (lisp--prettify-symbols-alist): Implement prettify of lambda.
14344         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14345         (cfengine3--prettify-symbols-alist, cfengine3-mode):
14346         Implement prettify of -> => :: strings.
14347         * progmodes/perl-mode.el (perl-prettify-symbols)
14348         (perl--font-lock-compose-symbol)
14349         (perl--font-lock-symbols-keywords): Move to prog-mode.
14350         (perl--prettify-symbols-alist): Prettify -> => :: strings.
14351         (perl-font-lock-keywords-1)
14352         (perl-font-lock-keywords-2): Remove explicit prettify support.
14353         (perl--augmented-font-lock-keywords)
14354         (perl--augmented-font-lock-keywords-1)
14355         (perl--augmented-font-lock-keywords-2, perl-mode):
14356         Implement prettify support.
14358 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14360         Re-implement SMIE matching block highlight using
14361         show-paren-data-function.  (Bug#14395)
14362         * emacs-lisp/smie.el (smie-matching-block-highlight)
14363         (smie--highlight-matching-block-overlay)
14364         (smie--highlight-matching-block-lastpos)
14365         (smie-highlight-matching-block)
14366         (smie-highlight-matching-block-mode): Remove.
14367         (smie--matching-block-data-cache): New variable.
14368         (smie--matching-block-data): New function.
14369         (smie-setup): Use smie--matching-block-data for
14370         show-paren-data-function.
14372         * progmodes/octave.el (octave-mode-menu): Fix.
14373         (octave-find-definition): Skip garbage lines.
14375 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14377         Fix compilation error with simultaneous dynamic+lexical scoping.
14378         Add warning when a defvar appears after the first let-binding.
14379         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14380         (byte-compile-close-variables): Initialize it.
14381         (byte-compile--declare-var): New function.
14382         (byte-compile-file-form-defvar)
14383         (byte-compile-file-form-define-abbrev-table)
14384         (byte-compile-file-form-custom-declare-variable): Use it.
14385         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
14386         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14387         (byte-compile-bind): Handle dynamic bindings that shadow
14388         lexical bindings.
14389         (byte-compile-unbind): Make arg non-optional.
14390         (byte-compile-let): Simplify.
14391         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14392         (cconv--analyse-function, cconv-analyse-form): Populate it.
14393         Protect byte-compile-bound-variables to limit the scope of defvars.
14394         (cconv-analyse-form): Add missing rule for (defvar <foo>).
14395         Remove unneeded rule for `declare'.
14397         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14398         so as to avoid depending on cl-adjoin at run-time.
14399         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14401         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14402         (macroexp--warn-and-return): Use it.
14404 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * subr.el: Convert to lexical binding.
14407         (overriding-local-map): Make obsolete.
14408         (add-to-list): Doc fix.  Add compiler macro.
14409         (read-key): Swap values of local maps.
14411 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14413         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14415 2013-06-04  Leo Liu  <sdl.web@gmail.com>
14417         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14418         (compilation-auto-jump): Suppress the "Mark set" message to give
14419         way to exit message.
14421 2013-06-04  Alan Mackenzie  <acm@muc.de>
14423         Remove faulty optimisation from indentation calculation.
14424         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14425         search limit based on 2000 characters back from indent-point.
14427 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14429         * eshell/em-term.el (cl-lib): Require `cl-lib'.
14431 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14433         * emacs-lisp/lisp.el: Use lexical-binding.
14434         (lisp--local-variables-1, lisp--local-variables): New functions.
14435         (lisp--local-variables-completion-table): New var.
14436         (lisp-completion-at-point): Use it complete let-bound vars.
14438         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14439         eagerly (bug#14422).
14441 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
14443         * autorevert.el (auto-revert-notify-enabled)
14444         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14445         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14446         (auto-revert-notify-handler): Handle also gfilenotify.
14448         * subr.el (file-notify-handle-event): New defun.  Replacing ...
14449         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14450         Remove.
14452 2013-06-03  Juri Linkov  <juri@jurta.org>
14454         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14455         `M-s h .'.  (Bug#14427)
14457         * hi-lock.el (highlight-symbol-at-point): New alias for the new
14458         command `hi-lock-face-symbol-at-point'.
14459         (hi-lock-face-symbol-at-point): New command.
14460         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14461         (hi-lock-menu): Add `highlight-symbol-at-point'.
14462         (hi-lock-mode): Doc fix.
14464         * isearch.el (isearch-forward-symbol-at-point): New command.
14465         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14466         (isearch-highlight-regexp): Add a regexp which matches
14467         words/symbols for word/symbol mode.
14469         * subr.el (find-tag-default-bounds): New function with the body
14470         mostly moved from `find-tag-default'.
14471         (find-tag-default): Move most code to `find-tag-default-bounds',
14472         call it and apply `buffer-substring-no-properties' afterwards.
14474 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14476         * eshell/em-term.el (eshell-term-initialize):
14477         Use `cl-intersection' rather than `intersection'.
14479 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
14481         * vc/log-view.el: Doc fix.
14482         (log-view-mode-map): Copy keymap from `special-mode-map'.
14484 2013-06-02  Eric Ludlam  <zappo@gnu.org>
14486         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14487         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14488         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14489         (eieio-unbound, eieio-default-superclass)
14490         (eieio--define-field-accessors, method-static, method-before)
14491         (method-primary, method-after, method-num-lists)
14492         (method-generic-before, method-generic-primary)
14493         (method-generic-after, method-num-slots)
14494         (eieio-specialized-key-to-generic-key)
14495         (eieio--check-type, class-v, class-p)
14496         (eieio-class-name, define-obsolete-function-alias)
14497         (eieio-class-parents-fast, eieio-class-children-fast)
14498         (same-class-fast-p, class-constructor, generic-p)
14499         (generic-primary-only-p, generic-primary-only-one-p)
14500         (class-option-assoc, class-option, eieio-object-p)
14501         (class-abstract-p, class-method-invocation-order)
14502         (eieio-defclass-autoload-map, eieio-defclass-autoload)
14503         (eieio-class-un-autoload, eieio-defclass)
14504         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14505         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14506         (eieio--defgeneric-init-form, eieio-defgeneric-form)
14507         (eieio-defgeneric-reset-generic-form)
14508         (eieio-defgeneric-form-primary-only)
14509         (eieio-defgeneric-reset-generic-form-primary-only)
14510         (eieio-defgeneric-form-primary-only-one)
14511         (eieio-defgeneric-reset-generic-form-primary-only-one)
14512         (eieio-unbind-method-implementations)
14513         (eieio--defmethod, eieio--typep)
14514         (eieio-perform-slot-validation, eieio-validate-slot-value)
14515         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14516         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14517         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14518         (eieio-slot-name-index, eieio-class-slot-name-index)
14519         (eieio-set-defaults, eieio-initarg-to-attribute)
14520         (eieio-attribute-to-initarg, eieio-c3-candidate)
14521         (eieio-c3-merge-lists, eieio-class-precedence-c3)
14522         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14523         (eieio-class-precedence-list, eieio-generic-call-methodname)
14524         (eieio-generic-call-arglst, eieio-generic-call-key)
14525         (eieio-generic-call-next-method-list)
14526         (eieio-pre-method-execution-functions, eieio-generic-call)
14527         (eieio-generic-call-primary-only, eieiomt-method-list)
14528         (eieiomt-optimizing-obarray, eieiomt-install)
14529         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14530         (eieio-generic-form, eieio-defmethod, make-obsolete)
14531         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14532         (defclass): Remove `eval-and-compile' from macro.
14533         (call-next-method, shared-initialize): Instead of using
14534         `scoped-class' variable, use new eieio--scoped-class, and
14535         eieio--with-scoped-class.
14536         (initialize-instance): Rename local variable 'scoped-class' to
14537         'this-class' to remove ambiguitity from old global.
14539         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
14540         eieio.el.
14541         (eieio--scoped-class-stack): New variable.
14542         (eieio--scoped-class): New fcn.
14543         (eieio--with-scoped-class): New scoping macro.
14544         (eieio-defclass): Use pushnew instead of add-to-list.
14545         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14546         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14547         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14548         `scoped-class' variable, use new eieio--scoped-class, and
14549         eieio--with-scoped-class.
14551         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14553 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
14555         * eshell/esh-ext.el (eshell-external-command): Pass args to
14556         `eshell-find-interpreter'.
14557         (eshell-find-interpreter): Add new second parameter ARGS.
14559         * eshell/em-script.el (eshell-script-initialize): Add second arg
14560         to the function added as MATCH to `eshell-interpreter-alist'.
14562         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14563         the function added as MATCH to `eshell-interpreter-alist'.
14565         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14566         (eshell-visual-options): New defcustom.
14567         (eshell-escape-control-x): Adapt docstring.
14568         (eshell-term-initialize): Test `eshell-visual-subcommands' and
14569         `eshell-visual-options' in addition to `eshell-visual-commands'.
14570         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14572 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14574         * progmodes/python.el (python-indent-block-enders): Add break,
14575         continue and raise keywords.
14577 2013-06-01  Glenn Morris  <rgm@gnu.org>
14579         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14581         Plain (f)boundp silences compilation warnings since Emacs 22.1.
14582         * progmodes/cc-cmds.el (delete-forward-p):
14583         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14584         * progmodes/cc-engine.el (buffer-syntactic-context):
14585         * progmodes/cc-fonts.el (face-property-instance):
14586         * progmodes/cc-mode.el (set-keymap-parents):
14587         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14588         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14589         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14590         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14591         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14593         * progmodes/cc-vars.el (other): Emacs has this widget since
14594         at least 21.1, so don't (re)define it.
14596         * eshell/em-cmpl.el (eshell-cmpl-initialize):
14597         Replace the obsolete alias pcomplete-arg-quote-list.
14599 2013-06-01  Leo Liu  <sdl.web@gmail.com>
14601         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14602         punctuation syntax.
14603         (inferior-octave-minimal-columns)
14604         (inferior-octave-last-column-width): New variables.
14605         (inferior-octave-track-window-width-change): New function.
14606         (inferior-octave-mode): Adjust column width so that Octave output,
14607         for example from 'ls', can fit into the window nicely.
14609 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14611         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14612         Highlight expansions inside regexp literals.
14614 2013-05-31  Glenn Morris  <rgm@gnu.org>
14616         * obsolete/sym-comp.el (symbol-complete):
14617         Replace obsolete completion-annotate-function.
14619         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14621 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14623         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14624         New function, checks if point is inside a literal that allows
14625         expression expansion.
14626         (ruby-syntax-propertize-expansion): Use it.
14627         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14628         around the body.
14630 2013-05-30  Juri Linkov  <juri@jurta.org>
14632         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14633         to "\M-si".
14634         (isearch-invisible): New variable.
14635         (isearch-forward): Doc fix.
14636         (isearch-mode): Set `isearch-invisible'
14637         to the value of `search-invisible'.
14638         (isearch-toggle-case-fold): Doc fix.
14639         (isearch-toggle-invisible): New command.
14640         (isearch-query-replace): Let-bind `search-invisible'
14641         to the value of `isearch-invisible'.
14642         (isearch-search): Use `isearch-invisible' instead of
14643         `search-invisible'.  Let-bind `search-invisible'
14644         to the value of `isearch-invisible'.  (Bug#11378)
14646 2013-05-30  Juri Linkov  <juri@jurta.org>
14648         * replace.el (perform-replace): Avoid `isearch-range-invisible'
14649         call when `query-flag' is nil and `search-invisible' is non-nil.
14650         (Bug#11746)
14652 2013-05-30  Glenn Morris  <rgm@gnu.org>
14654         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14656         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14657         (cc-require): Suppress spurious "noruntime" warnings.
14658         (cc-require-when-compile): Use fboundp, for sake of compiler.
14660         * progmodes/cc-mode.el: Move load of cc-vars before that of
14661         cc-langs (which in turn loads cc-vars), to quieten compiler.
14663 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14665         * paren.el: Simplify the code.
14666         (show-paren-mode): Always start the timer.
14667         (show-paren--idle-timer): Rename from show-paren-idle-timer.
14668         (show-paren--overlay, show-paren--overlay-1): Rename from
14669         show-paren-overlay and show-paren-overlay-1, and initialize to an
14670         overlay rather than to nil.
14671         (show-paren-function): Misc cleanup and simplifications.
14673 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14675         * paren.el (show-paren-data-function): New hook.
14676         (show-paren--default): New function, extracted from show-paren-function.
14677         (show-paren-function): Use show-paren-data-function.
14679 2013-05-30  Glenn Morris  <rgm@gnu.org>
14681         * ielm.el (ielm-map, ielm-complete-symbol):
14682         Use completion-at-point rather than obsolete functions.
14683         (inferior-emacs-lisp-mode): Doc fix.
14684         Set completion-at-point-functions, rather than
14685         comint-dynamic-complete-functions.
14687         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14688         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14689         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14691         * image.el (image-animated-p): Tweak definition.
14693         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14694         (rlogin-process-connection-type): Tweak default.  Add set-after.
14695         (rlogin-host): Doc fix.
14696         (rlogin): Tweak prompt.
14697         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14699         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14700         * progmodes/tcl.el (inferior-tcl-mode-map):
14701         Use completion-at-point rather than obsolete alias.
14703         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14705         * minibuffer.el (read-file-name-completion-ignore-case):
14706         Move before completion--in-region, for eager macro expansion.
14708 2013-05-29  Juri Linkov  <juri@jurta.org>
14710         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14711         for total count of matching lines.  Add `global-matches' for total
14712         count of matches.  Rename `matches' to `lines' for count of
14713         matching lines.  Add `matches' for count of matches.
14714         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
14715         to `prev-line' for line number of prev match endpt.
14716         Increment `matches' for every match.  Print the number of
14717         matching lines in the header.
14718         (occur-context-lines): Rename `lines' to `curr-line'.
14719         Rename `prev-lines' to `prev-line'.  (Bug#14017)
14721 2013-05-29  Juri Linkov  <juri@jurta.org>
14723         * replace.el (perform-replace): Add `skip-read-only-count',
14724         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14725         Increment them for corresponding conditions and report the number
14726         of skipped occurrences in the final message.  (Bug#11746)
14727         (query-replace, query-replace-regexp, query-replace-regexp-eval)
14728         (replace-string, replace-regexp): Doc fix.
14730 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14732         * emacs-lisp/trace.el (trace--read-args): Provide a default.
14734         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14735         prog-mode-map (bug#14504).
14737 2013-05-29  Leo Liu  <sdl.web@gmail.com>
14739         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14740         (octave-help): Small simplification.
14742         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14743         off the highlight first.
14745 2013-05-29  Glenn Morris  <rgm@gnu.org>
14747         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14748         Handle idlwave-last-system-routine-info-cons-cell being nil.
14750         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14751         (idlwave-write-paths): Simplify via with-temp-buffer.
14753         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14754         * emulation/cua-rect.el: Also load cua-base at run time.
14756         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14757         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14758         (cperl-imenu-on-info): Require imenu.
14760 2013-05-28  Alan Mackenzie  <acm@muc.de>
14762         Handle "capitalised keywords" correctly.
14763         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14765 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
14767         * eshell/em-unix.el: Add -r option to cp.
14769 2013-05-28  Glenn Morris  <rgm@gnu.org>
14771         * vc/vc-arch.el (vc-exec-after): Declare.
14772         (vc-switches): Autoload.
14773         * vc/vc-bzr.el: No need to require vc when compiling.
14774         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14775         (vc-resynch-buffer, vc-dir-refresh): Declare.
14776         (vc-setup-buffer, vc-switches): Autoload.
14777         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14778         (vc-resynch-buffer): Declare.
14779         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14780         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14781         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14782         (grep-read-regexp, grep-read-files, grep-expand-template)
14783         (vc-dir-refresh): Declare.
14784         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14785         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14786         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14787         * vc/vc-mtn.el (vc-exec-after): Declare.
14788         (vc-switches): Autoload.
14789         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14790         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14791         (vc-file-tree-walk): Declare.
14792         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14793         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14794         (vc-tag-precondition, vc-rename-master): Autoload.
14795         * vc/vc-svn.el (vc-exec-after): Declare.
14796         (vc-switches, vc-setup-buffer): Autoload.
14797         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14798         Autoload.
14799         (vc-resynch-buffer): Declare.
14801         * obsolete/fast-lock.el (byte-compile-warnings):
14802         Don't warn about obsolete features in this obsolete file.
14804         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14805         Move definition before use.
14807         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14808         (dun-unix-verbs): Remove dun-zippy.
14809         (dun-zippy): Remove function.
14811         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14813 2013-05-27  Juri Linkov  <juri@jurta.org>
14815         * replace.el (replace-search): New function with code moved out
14816         from `perform-replace'.
14817         (replace-highlight, replace-dehighlight): Move function definitions
14818         up closer to `replace-search'.  (Bug#11746)
14820 2013-05-27  Juri Linkov  <juri@jurta.org>
14822         * replace.el (perform-replace): Ignore invisible matches.
14823         In addition to checking `query-replace-skip-read-only', also
14824         filter out matches by calling `run-hook-with-args-until-failure'
14825         on `isearch-filter-predicates', and also check `search-invisible'
14826         for t or call `isearch-range-invisible'.
14827         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
14829 2013-05-27  Juri Linkov  <juri@jurta.org>
14831         * isearch.el (isearch-filter-predicates): Rename from
14832         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
14833         (isearch-message-prefix): Display text from the property
14834         `isearch-message-prefix' of the currently active filters.
14835         (isearch-search): Don't compare `isearch-filter-predicate' with
14836         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
14837         on `isearch-filter-predicates'.  Also check `search-invisible' for t
14838         or call `isearch-range-invisible'.
14839         (isearch-filter-visible): Make obsolete.
14840         (isearch-lazy-highlight-search):
14841         Call `run-hook-with-args-until-failure' on
14842         `isearch-filter-predicates' and use `isearch-range-invisible'.
14844         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14845         `isearch-filter-predicates' instead of `funcall'ing
14846         `isearch-filter-predicate'.
14847         (Info-mode): Set `Info-isearch-filter' to
14848         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14850         * dired-aux.el (dired-isearch-filter-predicate-orig):
14851         Remove variable.
14852         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14853         (dired-isearch-filenames-end): Add and remove
14854         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14855         instead of changing the value of `isearch-filter-predicate'.
14856         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14857         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14858         Put property `isearch-message-prefix' to "filename " on
14859         `dired-isearch-filter-filenames'.
14861         * wdired.el (wdired-change-to-wdired-mode):
14862         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14863         locally instead of changing `isearch-filter-predicate'.
14864         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14866 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14868         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14869         return the commit hash (Bug#14459).  Also set the
14870         `vc-git-detached' property.
14871         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14872         (vc-git-mode-line-string): Use the same help-echo format whether
14873         in detached mode or not, because we know the actual revision now.
14874         When in detached mode, shorten the revision to 7 chars.
14876 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14878         * emacs-lisp/easy-mmode.el (define-minor-mode):
14879         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14880         mode hook and provide a docstring.
14882 2013-05-27  Alan Mackenzie  <acm@muc.de>
14884         Remove spurious syntax-table text properties inserted by C-y.
14885         * progmodes/cc-mode.el (c-after-change): Also clear hard
14886         syntax-table property with value nil.
14888 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14890         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14891         when reading the events; the buffer layout shall not be changed.
14893 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14895         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14896         New variable.
14897         (inferior-octave-directory-tracker): Automatically re-sync
14898         default-directory.
14899         (octave-help): Improve handling of 'See also'.
14901 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14903         * doc-view.el: Minor naming convention tweaks.
14904         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14906         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14907         even if there's no `display' property yet (bug#14435).
14909 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14911         * subr.el (unmsys--file-name): Rename from reveal-filename.
14913         * Makefile.in (custom-deps, finder-data, autoloads)
14914         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14915         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14916         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14918 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14920         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14921         error-completion on the first 2 args of condition-case (bug#14446).
14922         Don't burp at EOB.
14924 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14926         * comint.el (comint-previous-matching-input): Do not flood the
14927         *Messages* buffer with trivial messages.
14929 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14931         * progmodes/flymake.el (flymake-nop): Don't return a string.
14932         (flymake-set-at): Fix typo.
14934         * simple.el (read--expression): New function, extracted from
14935         eval-expression.  Set completion-at-point-functions (bug#14465).
14936         (eval-expression, eval-minibuffer): Use it.
14938 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14940         * progmodes/flymake.el (flymake-save-buffer-in-file)
14941         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14942         (flymake-selected-frame, flymake-log, flymake-ins-after)
14943         (flymake-set-at, flymake-get-buildfile-from-cache)
14944         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14945         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14946         Refine the doc string.
14947         (flymake-get-file-name-mode-and-masks): Reformat.
14948         (flymake-get-real-file-name-function): Fix a minor bug.
14950 2013-05-24  Juri Linkov  <juri@jurta.org>
14952         * progmodes/grep.el (grep-mode-font-lock-keywords):
14953         Support =linenumber= format used by git-grep for lines with
14954         function names.  (Bug#13549)
14956 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14958         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14959         0 after a semi-colon; it works better for smie-auto-fill.
14960         (octave--indent-new-comment-line): New function.
14961         (octave-indent-new-comment-line): Use it (indirectly).
14962         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14963         modify comment-line-break-function.
14965         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14966         (smie-setup): Use add-function to set it.
14968 2013-05-24  Sam Steingold  <sds@gnu.org>
14970         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14971         argument (before the `interactive' argument).
14973 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         * image-mode.el (image-mode-winprops): Add winprops to
14976         image-mode-winprops-alist before running
14977         image-mode-new-window-functions.
14978         * doc-view.el (doc-view-new-window-function): Don't delay
14979         doc-view-goto-page via timers (bug#14435).
14981 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14983         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14984         (doc-view-desktop-save-buffer): New function.
14985         (doc-view-restore-desktop-buffer): New function.
14986         (desktop-buffer-mode-handlers):
14987         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14988         handler.
14989         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14990         `desktop-save-buffer' function.
14992 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14994         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14995         (tramp-gvfs-file-name-handler): Raise a user error when
14996         `tramp-gvfs-enabled' is nil.
14997         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14998         Do not raise a user error when loading package.  (Bug#14447)
15000         * net/xesam.el: Move to obsolete/.
15002 2013-05-24  Glenn Morris  <rgm@gnu.org>
15004         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15006         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15008         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15009         (Info-find-node, Man-getpage-in-background): Declare.
15011         * mail/unrmail.el (unrmail):
15012         Replace obsolete detect-coding-with-priority.
15014         * net/socks.el (socks-split-string): Use this rather than split-string.
15015         (socks-nslookup-host): Update for above change.
15016         (dynamic-choice, s5-dynamic-choice-match)
15017         (s5-dynamic-choice-match-inline, s5-widget-value-create):
15018         Comment out unused code.
15020         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15021         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15022         (gud-tooltip-echo-area): Make obsolete.
15023         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15025         * progmodes/js.el (js--optimize-arglist): Declare.
15027         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15029         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15030         (ediff-window-C): Declare.
15032         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15033         Tweak requires to silence compiler.
15035         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15036         (he-search-string, he-tried-table, he-expand-list)
15037         (he-init-string, he-string-member, he-substitute-string)
15038         (he-reset-string): Declare.
15040         * obsolete/options.el (list-options): Use custom-variable-p,
15041         rather than obsolete alias.
15043 2013-05-23  Sam Steingold  <sds@gnu.org>
15045         * simple.el (shell-command-on-region): Pass the `replace' argument
15046         down to `call-process-region' to comply with the doc as reported on
15047         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15049 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15051         * emacs-lisp/smie.el (smie-indent-forward-token)
15052         (smie-indent-backward-token): Handle string tokens (bug#14381).
15054 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15056         * ielm.el (ielm-menu): New menu.
15057         (inferior-emacs-lisp-mode): Set comment-start.
15059 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15061         * textmodes/reftex.el (reftex-ref-style-toggle):
15062         Fix deactivate action.
15064         * textmodes/reftex-vars.el (reftex-ref-style-alist):
15065         Add cleveref macros.
15067         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15068         Accept options for bibliography commands.
15069         * textmodes/reftex-vars.el (reftex-bibliography-commands):
15070         Add addbibresource.  Basic Biblatex support.
15072 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
15074         * net/tramp-gvfs.el (top):
15075         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15076         when loading package.  (Bug#14447)
15078 2013-05-23  Glenn Morris  <rgm@gnu.org>
15080         * progmodes/js.el: No need to load comint when compiling.
15081         (ring-insert, comint-send-string, comint-send-input)
15082         (comint-last-input-end, ido-chop): Declare.
15084         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15085         * vc/ediff-mult.el: Adjust requires.
15086         (ediff-directories-internal, ediff-directory-revisions-internal)
15087         (ediff-patch-file-internal): Declare.
15088         * vc/ediff-ptch.el: Adjust requires.
15089         (ediff-use-last-dir, ediff-buffers-internal): Declare.
15090         (ediff-find-file): Autoload.
15091         * vc/ediff-util.el: No need to load ediff when compiling.
15092         (ediff-regions-internal): Declare.
15093         * vc/ediff-wind.el: Adjust requires.
15094         (ediff-compute-toolbar-width): Define when compiling.
15095         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15096         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15097         (dired-get-filename, dired-get-marked-files)
15098         (ediff-last-dir-patch, ediff-patch-default-directory)
15099         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15100         (ediff-patch-buffer-internal): Declare.
15102         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15103         (ispell-process, ispell-buffer-local-words, lm-summary)
15104         (lm-section-start, lm-section-end): Declare.
15105         (checkdoc-ispell-init): Simplify.
15107         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
15108         (he-string-member, he-reset-string, he-substitute-string): Declare.
15110         * eshell/em-ls.el: Adjust requires.
15111         (eshell-glob-regexp): Declare.
15112         * eshell/em-tramp.el: Adjust requires.
15113         (eshell-parse-command): Autoload.
15114         * eshell/em-xtra.el: Adjust requires.
15115         (eshell-parse-command): Autoload.
15116         * eshell/esh-ext.el: Adjust requires.
15117         (eshell-parse-command, eshell-close-handles): Autoload.
15118         * eshell/esh-io.el: Adjust requires.
15119         (eshell-output-filter): Autoload.
15120         * eshell/esh-util.el: No need to load tramp when compiling.
15121         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
15122         Declare.
15123         (eshell-parse-ange-ls): Require ange-ftp and tramp.
15124         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
15125         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
15126         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
15127         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
15128         * eshell/esh-opt.el, eshell/esh-proc.el:
15129         * eshell/esh-var.el: Adjust requires.
15130         * eshell/eshell.el: Do not require esh-util twice.
15131         (eshell-add-input-to-history): Declare.
15132         (eshell-command): Check history module is active before using it.
15134         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
15136 2013-05-22  Leo Liu  <sdl.web@gmail.com>
15138         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
15140 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
15142         * autorevert.el (auto-revert-notify-add-watch)
15143         (auto-revert-notify-handler): Add `attrib' for the inotify case,
15144         it indicates changes in file modification time.
15146 2013-05-22  Glenn Morris  <rgm@gnu.org>
15148         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15149         Always delete the autoloaded function from the noruntime and
15150         unresolved functions lists.
15152         * allout.el: No need to load epa, epg, overlay when compiling.
15153         (epg-context-set-passphrase-callback, epg-list-keys)
15154         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
15155         (epg-key-user-id-list): Declare.
15157         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15158         (viper-set-parsing-style-toggling-macro)
15159         (viper-set-emacs-state-searchstyle-macros):
15160         Use called-interactively-p on Emacs.
15161         (viper-looking-back): Make it an obsolete alias.  Update callers.
15162         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
15163         Use looking-back rather than viper-looking-back.
15164         (viper-tmp-insert-at-eob, viper-enlarge-region)
15165         (viper-read-string-with-history, viper-register-to-point)
15166         (viper-append-to-register, viper-change-state-to-vi)
15167         (viper-backward-char-carefully, viper-forward-char-carefully)
15168         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
15169         (viper-change-state-to-emacs): Declare.
15170         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
15171         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
15172         * emulation/viper-mous.el: Do not load viper-cmd.
15173         (viper-backward-char-carefully, viper-forward-char-carefully)
15174         (viper-forward-word, viper-adjust-window): Declare.
15176         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
15178         * progmodes/idlw-help.el (idlwave-help-fontify):
15179         Use called-interactively-p.
15181         * term/w32console.el (w32-get-console-codepage)
15182         (w32-get-console-output-codepage): Declare.
15184         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
15185         Remove unnecessary declarations.
15186         (dframe-message): Doc fix.
15188         * info.el (dframe-select-attached-frame, dframe-current-frame):
15189         Declare.
15191         * speedbar.el (speedbar-message): Make it an obsolete alias.
15192         Update all callers.
15193         (speedbar-with-attached-buffer)
15194         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
15195         (speedbar-with-writable): Use backquote.
15196         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
15197         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
15198         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
15199         rather than speedbar- aliases.
15200         * mail/rmail.el: Load dframe rather than speedbar when compiling.
15201         (speedbar-make-specialized-keymap, speedbar-insert-button)
15202         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
15203         (speedbar-do-function-pointer): Declare.
15204         (rmail-speedbar-button, rmail-speedbar-find-file)
15205         (rmail-speedbar-move-message):
15206         Use dframe-with-attached-buffer rather than speedbar- alias.
15207         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
15208         (dframe-message, speedbar-make-specialized-keymap)
15209         (speedbar-add-expansion-list, speedbar-mode-functions-list)
15210         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
15211         (speedbar-insert-button, dframe-select-attached-frame)
15212         (dframe-maybee-jump-to-attached-frame)
15213         (speedbar-change-initial-expansion-list)
15214         (speedbar-previously-used-expansion-list-name): Declare.
15215         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
15216         Use dframe-message, dframe-with-attached-buffer rather than
15217         speedbar- aliases.
15218         (gud-sentinel): Silence compiler.
15219         * progmodes/vhdl-mode.el (speedbar-refresh)
15220         (speedbar-do-function-pointer, speedbar-add-supported-extension)
15221         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
15222         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
15223         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
15224         (speedbar-file-lists, speedbar-make-tag-line)
15225         (speedbar-line-directory, speedbar-goto-this-file)
15226         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
15227         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
15228         (speedbar-make-button, speedbar-reset-scanners)
15229         (speedbar-files-item-info, speedbar-line-text)
15230         (speedbar-find-file-in-frame, speedbar-set-timer)
15231         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
15232         (speedbar-with-writable): Do not (re)define it.
15233         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
15234         rather than speedbar- alias.
15236 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15238         * progmodes/octave.el (octave-mode-menu): Update and re-organize
15239         menu items.
15240         (octave-mode): Tweak fill-nobreak-predicate.
15241         (inferior-octave-startup): Check process to avoid infinite loop.
15242         (inferior-octave): Pop to buffer first to show abornmal process
15243         exit information.
15245 2013-05-21  Glenn Morris  <rgm@gnu.org>
15247         * printing.el (pr-menu-bar): Define when compiling.
15249 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15251         * progmodes/octave.el (octave-auto-fill): Remove.
15252         (octave-indent-new-comment-line): Improve.
15253         (octave-mode): Use auto fill mode through
15254         comment-line-break-function and fill-nobreak-predicate.
15255         (octave-goto-function-definition): Support DEFUN_DLD.
15256         (octave-beginning-of-defun): Small tweak.
15257         (octave-help): Show parent directory.
15259 2013-05-21  Glenn Morris  <rgm@gnu.org>
15261         * files.el (dired-unmark):
15262         * progmodes/gud.el (gdb-input): Update declarations.
15264         * calculator.el (electric, ehelp): No need to load when compiling.
15265         (Electric-command-loop, electric-describe-mode): Declare.
15267         * doc-view.el (doc-view-current-converter-processes): Move before use.
15269         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15270         Move MODE-set-explicitly definition before use.
15272         * international/mule-diag.el (mule-diag):
15273         Don't use obsolete window-system-version.
15275         * mail/feedmail.el (smtpmail): No need to load when compiling.
15276         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15278         * mail/mail-utils.el (rfc822): No need to load when compiling.
15279         (rfc822-addresses): Autoload it.
15280         (mail-strip-quoted-names): Trivial simplification.
15282         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15283         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15285         * net/snmp-mode.el (tempo): Don't duplicate requires.
15287         * progmodes/prolog.el (info): No need to load when compiling.
15288         (comint): Require before shell requires it.
15289         (Info-goto-node): Autoload it.
15290         (Info-follow-nearest-node): Declare.
15291         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15293         * textmodes/artist.el (picture-mode-exit): Declare.
15295         * textmodes/reftex-parse.el (reftex-parse-from-file):
15296         Trivial rewrite so the compiler can parse it better.
15298 2013-05-20  Leo Liu  <sdl.web@gmail.com>
15300         * progmodes/octave.el (octave-help-mode-map)
15301         (octave-help-mode-finish-hook): New variables.
15302         (octave-help-mode, octave-help-mode-finish): New functions.
15303         (octave-help): Use octave-help-mode.
15305 2013-05-20  Glenn Morris  <rgm@gnu.org>
15307         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
15309 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
15311         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15312         start at point, so that expansion starting right after opening
15313         slash in a regexp is recognized.
15314         (ruby-syntax-before-regexp-re): New defvar, extracted from
15315         ruby-syntax-propertize-function.  Since the value of this regexp
15316         is looked up at runtime now, we should be able to turn
15317         `ruby-syntax-methods-before-regexp' into a defcustom later.
15318         (ruby-syntax-propertize-function): Split regexp matching into two
15319         parts, for opening and closing slashes.  That allows us to skip
15320         over string interpolations and support multiline regexps.
15321         Don't call `ruby-syntax-propertize-expansions', instead use another rule
15322         for them, which calls `ruby-syntax-propertize-expansion'.
15323         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15324         call to `ruby-syntax-propertize-function'.
15325         (ruby-syntax-propertize-expansion): Extracted from
15326         `ruby-syntax-propertize-expansions'.  Handles one expansion.
15327         (ruby-syntax-propertize-percent-literal): Leave point right after
15328         the percent symbol, so that the expression expansion rule can
15329         propertize the contents.
15330         (ruby-syntax-propertize-heredoc): Leave point at bol following the
15331         heredoc openers.
15332         (ruby-syntax-propertize-expansions): Remove.
15334 2013-05-18  Juri Linkov  <juri@jurta.org>
15336         * man.el (Man-default-man-entry): Remove `-' from the end
15337         of the default value.  (Bug#14400)
15339 2013-05-18  Glenn Morris  <rgm@gnu.org>
15341         * comint.el (comint-password-prompt-regexp):
15342         Allow "password for XXX" where XXX contains colons (eg https://...).
15344 2013-05-18  Leo Liu  <sdl.web@gmail.com>
15346         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15347         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
15348         (octave-source-directories): Don't check process.
15349         (octave-source-directories, octave-find-definition): Doc fix.
15351 2013-05-18  Glenn Morris  <rgm@gnu.org>
15353         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15354         Remove backspace/delete bindings.  (Bug#14392)
15356         * cus-dep.el (custom-make-dependencies): Sort the output.
15357         (custom-versions-load-alist): Convert comment to doc.
15359 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15361         * newcomment.el (comment-search-backward): Stricter in finding
15362         comment start.  (Bug#14303)
15364         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15365         (octave-comment-start-skip): Properly anchored.
15367 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15369         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15370         Clean up when turned off.  (Bug#14395)
15371         (smie--highlight-matching-block-overlay): No longer buffer-local.
15372         (smie-highlight-matching-block): Adjust.
15374 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
15376         Doc string fix for "nanoseconds" (Bug#14406).
15377         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15378         Fix doc string typo that had "nanoseconds" instead of "microseconds".
15380 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
15382         * calc/calc-units.el (math-extract-units): Preserve powers
15383         of units.
15385 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15387         * subr.el (delete-consecutive-dups): New function.
15388         * ido.el (ido-set-matches-1): Use it.
15389         * progmodes/octave.el (inferior-octave-completion-table): Use it.
15390         * ido.el (ido-remove-consecutive-dups): Remove.
15392 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15394         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15395         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15396         regexp-opt's `words'.
15398 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15400         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15401         (smie--highlight-matching-block-overlay)
15402         (smie--highlight-matching-block-lastpos)
15403         (smie--highlight-matching-block-timer): New variables.
15404         (smie-highlight-matching-block): New function.
15405         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
15406         (smie-setup): Conditionally enable smie-blink-matching-open.
15408 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
15410         Sync with upstream verilog-mode r840.
15411         * progmodes/verilog-mode.el (verilog-mode-version)
15412         (verilog-mode-release-date): Update.
15413         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15414         (verilog-sig-tieoff): Fix string error on
15415         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
15416         (verilog-read-decls): Fix parameters confusing
15417         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
15419 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
15421         * subr.el (reveal-filename): New function.
15423         * loadup.el: Compute Emacs executable versions on MS-Windows,
15424         where executables have the .exe extension.  Add a hard link
15425         emacs-XX.YY.ZZ.exe on MS-Windows.
15427         * Makefile.in (XARGS_LIMIT): New variable.
15428         (custom-deps, finder-data, autoloads)
15429         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15430         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15431         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15432         (compile-main): Limit xargs according to $(XARGS_LIMIT).
15434 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15436         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15437         (octave-mode-menu, octave-mode-map): Remove its uses.
15439 2013-05-16  Reto Zimmermann  <reto@gnu.org>
15441         Sync with upstream vhdl mode v3.34.2.
15442         * progmodes/vhdl-mode.el: Use `push' throughout.
15443         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15444         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15445         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
15446         (vhdl-actual-generic-name): New option to derive actual generic name.
15447         (vhdl-port-paste-signals): Replace formal by actual generics.
15448         (vhdl-beautify): New name for old group vhdl-align.  Update users.
15449         (vhdl-beautify-options): New option.
15450         (vhdl-last-input-event): New compat alias.  Use throughout.
15451         (vhdl-goto-line): Replace user level function `goto-line'.
15452         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15453         vhdl-fix-statement-buffer.
15454         (vhdl-create-mode-menu): Add some entries.
15455         (vhdl-align-region-groups): Respect vhdl-beautify-options.
15456         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15457         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15458         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15459         to force statements on one line.
15460         (vhdl-remove-trailing-spaces-region):
15461         New, split from vhdl-remove-trailing-spaces.
15462         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15463         Respect vhdl-beautify-options.
15464         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15465         (vhdl-update-sensitivity-list): Not add with index if exists without.
15466         Not include array index with signal.  Ignore keywords in comments.
15467         (vhdl-get-visible-signals): Regexp tweaks.
15468         (vhdl-template-component-inst): Handle empty library.
15469         (vhdl-template-type): Add template for 'enum' type.
15470         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15471         Use vhdl-replace-string.
15472         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15473         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15474         (vhdl-speedbar-initialize): Update for above name change.
15475         (vhdl-compose-wire-components): Fix in handling of constants.
15476         (vhdl-error-regexp-emacs-alist): New variable.
15477         (vhdl-error-regexp-add-emacs): New function;
15478         adds support for new compile.el (Emacs 22+)
15479         (vhdl-generate-makefile-1): Change target order for single lib. units.
15480         Allow use of absolute file names.
15482 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15484         * simple.el (prog-indent-sexp): Indent enclosing defun.
15486 2013-05-15  Glenn Morris  <rgm@gnu.org>
15488         * cus-start.el (show-trailing-whitespace): Move to editing basics.
15489         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15490         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15491         (whitespace-highlight): Move to whitespace group.
15493         * comint.el (comint-source):
15494         * pcmpl-linux.el (pcmpl-linux):
15495         * shell.el (shell-faces):
15496         * eshell/esh-opt.el (eshell-opt):
15497         * international/ccl.el (ccl): Remove empty custom groups.
15499         * completion.el (dynamic-completion-mode):
15500         * jit-lock.el (jit-lock-debug-mode):
15501         * minibuffer.el (completion-in-region-mode):
15502         * type-break.el (type-break-mode-line-message-mode)
15503         (type-break-query-mode):
15504         * emulation/tpu-edt.el (tpu-edt-mode):
15505         * progmodes/subword.el (global-subword-mode, global-superword-mode):
15506         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15507         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15509         * term/xterm.el (xterm): Change parent group to terminals.
15511         * master.el (master): Remove empty custom group.
15512         (master-mode): Remove unused :group argument.
15513         * textmodes/refill.el (refill): Remove empty custom group.
15514         (refill-mode): Remove unused :group argument.
15516         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15518         * cus-dep.el: Provide a feature.
15519         (custom-make-dependencies): Ignore dotfiles (dir-locals).
15520         Don't mistakenly ignore files whose basenames match a basename
15521         from preloaded-file-list (eg cedet/ede/simple.el).
15522         Add a fallback method for getting :group.
15524 2013-05-15  Juri Linkov  <juri@jurta.org>
15526         * isearch.el (isearch-char-by-name): Rename from
15527         `isearch-insert-char-by-name'.  Doc fix.
15528         (isearch-forward): Mention `isearch-char-by-name' in
15529         the docstring.  (Bug#13348)
15531         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15532         `exit-minibuffer' instead of
15533         `isearch-nonincremental-exit-minibuffer'.
15534         (isearch-edit-string): Remove mention of
15535         `isearch-nonincremental-exit-minibuffer' from docstring.
15536         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15537         (isearch-forward-exit-minibuffer)
15538         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
15540 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15542         * loadup.el: Just use unversioned DOC.
15544         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15545         literals as extending to EOB.
15546         (nxml-last-fontify-end): Remove unused variable.
15547         (nxml-after-change1): Use with-silent-modifications.
15548         (nxml-extend-after-change-region): Simplify.
15549         (nxml-extend-after-change-region1): Remove function.
15550         (nxml-after-change1): Don't adjust for dependent regions.
15551         (nxml-fontify-matcher): Simplify.
15552         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15553         (xmltok-add-dependent): Remove function.
15554         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15555         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15556         (xmltok-scan-prolog-after-processing-instruction-open): Treat
15557         unclosed <[[, <?, comment, and other literals as extending to EOB.
15558         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15559         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15560         Remove functions.
15561         (rng-do-some-validation-1): Don't mark dependent regions.
15562         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15563         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15564         (nxml-clear-dependent-regions): Remove functions.
15565         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15566         (nxml-ensure-scan-up-to-date):
15567         Don't clear&mark dependent regions.
15569 2013-05-15  Leo Liu  <sdl.web@gmail.com>
15571         * progmodes/octave.el (octave-goto-function-definition):
15572         Improve and fix callers.
15574 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15576         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15577         the setter (bug#14387).
15579         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15580         surrounding group (bug#14402).
15582 2013-05-14  Juri Linkov  <juri@jurta.org>
15584         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15585         (Bug#14390)
15587 2013-05-14  Glenn Morris  <rgm@gnu.org>
15589         * progmodes/f90.el (f90-imenu-generic-expression):
15590         Fix typo in 2013-05-08 change.  (Bug#14402)
15592 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15594         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15595         Remove signals for which replies are never received.
15597 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15599         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15600         (gdb-handler-alist, gdb-handler-number): Remove variables.
15601         (gdb-handler-list): New variable.
15602         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15603         (gdb-pending-handler-p, gdb-handle-reply)
15604         (gdb-remove-all-pending-triggers): New functions.
15605         (gdb-discard-unordered-replies): New defcustom.
15606         (gdb-handler): New defstruct.
15607         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
15608         instead of gdb-pending-triggers.  Update docstring.
15609         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
15610         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15611         (gdb-var-update-handler, def-gdb-auto-update-trigger)
15612         (def-gdb-auto-update-handler, gdb-get-changed-registers)
15613         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15614         (gdb-frame-handler): Pending triggers are now automatically managed.
15615         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15616         Remove argument.
15617         (gdb-input): Automatically handles pending triggers.  Update docstring.
15618         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15619         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15620         Update comments.
15621         (gdb-done-or-error): Now use gdb-handle-reply.
15623 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15625         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15626         gdb-debug-log.
15628 2013-05-14  Glenn Morris  <rgm@gnu.org>
15630         * subr.el (user-emacs-directory-warning): New option.
15631         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
15633 2013-05-14  Leo Liu  <sdl.web@gmail.com>
15635         * progmodes/octave.el (octave-font-lock-keywords): Fix error
15636         during redisplay.
15637         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15638         (octave-font-lock-texinfo-comment): Fix invalid search bound
15639         error: wrong side of point.
15641 2013-05-14  Glenn Morris  <rgm@gnu.org>
15643         * progmodes/flymake.el (flymake-xml-program): New option.
15644         (flymake-xml-init): Use it.
15646         * term/xterm.el: Provide a feature.
15648         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
15650 2013-05-13  Glenn Morris  <rgm@gnu.org>
15652         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15653         Add compat aliases as a hack workaround.  (Bug#14384)
15655 2013-05-13  Leo Liu  <sdl.web@gmail.com>
15657         * progmodes/octave.el (octave-indent-comment): Fix indentation for
15658         ###, and %!.
15659         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15660         C-M-q.
15661         (octave-comment-start-skip): Include %!.
15662         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15664 2013-05-12  Leo Liu  <sdl.web@gmail.com>
15666         * progmodes/octave.el (inferior-octave-startup): Store the value
15667         of __octave_srcdir__ for octave-source-directories.
15668         (inferior-octave-check-process): New function refactored out of
15669         inferior-octave-send-list-and-digest.
15670         (octave-source-directories)
15671         (octave-find-definition-filename-function): New variables.
15672         (octave-source-directories)
15673         (octave-find-definition-default-filename): New functions.
15674         (octave-find-definition): Improve to find functions implemented in C++.
15676 2013-05-12  Glenn Morris  <rgm@gnu.org>
15678         * calendar/diary-lib.el (diary-outlook-format-1):
15679         Don't include dayname in the output.  (Bug#14349)
15681 2013-05-11  Glenn Morris  <rgm@gnu.org>
15683         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15685         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15686         Treat cc-provide like provide.
15688 2013-05-11  Kevin Ryde  <user42@zip.com.au>
15690         * cus-dep.el (custom-make-dependencies):
15691         Use generated-autoload-load-name for the sake of files such
15692         such cedet/semantic/bovine/c.el, where the base file name
15693         is not in load-path.  (Bug#5277)
15695 2013-05-11  Glenn Morris  <rgm@gnu.org>
15697         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15698         Provide features.
15700 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15702         * progmodes/octave.el (octave-indent-comment): Improve.
15703         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15704         (octave-eldoc-function-signatures, octave-eldoc-function):
15705         New functions.
15706         (octave-mode, inferior-octave-mode): Add eldoc support.
15708 2013-05-11  Richard Stallman  <rms@gnu.org>
15710         * epa.el (epa-decrypt-file): Take output file name as argument
15711         and read it using `interactive'.
15713 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15715         * progmodes/octave.el (octave-beginning-of-line)
15716         (octave-end-of-line): Check before using up-list because it jumps
15717         out of more syntactic contructs since moving to smie.
15718         (octave-indent-comment): New function.
15719         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
15720         (octave-begin-keywords, octave-end-keywords)
15721         (octave-reserved-words, octave-smie-bnf-table)
15722         (octave-smie-rules): Add new keywords from Octave 3.6.4.
15724 2013-05-11  Glenn Morris  <rgm@gnu.org>
15726         * faces.el (internal-face-x-get-resource):
15727         * frame.el (ns-display-monitor-attributes-list):
15728         * calc/calc-aent.el (math-to-radians-2):
15729         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15730         Fix declarations.
15732         * calc/calc-menu.el: Make it loadable in isolation.
15734         * net/eudcb-bbdb.el: Make it loadable without bbdb.
15735         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15736         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15737         (eudc-bbdb-query-internal): Require 'bbdb.
15739         * lpr.el (lpr-headers-switches):
15740         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15742         * progmodes/sql.el (sql-login-params): Fix and improve :type.
15744         * emulation/edt-mapper.el: In batch mode, error rather than hang.
15746         * term.el (term-set-escape-char): Make it idempotent.
15748 2013-05-10  Leo Liu  <sdl.web@gmail.com>
15750         * progmodes/octave.el (inferior-octave-completion-table):
15751         No longer a function and all uses changed.  Use cache to speed up
15752         completion due to bug#11906.
15753         (octave-beginning-of-defun): Re-write to be more general.
15755 2013-05-10  Glenn Morris  <rgm@gnu.org>
15757         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15759 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15761         * comint.el (comint-redirect-send-command-to-process): Use :around
15762         rather than :override for comint-redirect-filter.
15763         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15764         Call it instead of comint-redirect-original-filter-function (which
15765         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
15767 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
15769         * frame.el (display-monitor-attributes-list): Add NS case.
15770         (ns-display-monitor-attributes-list): Declare.
15772 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
15774         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
15776 2013-05-09  Glenn Morris  <rgm@gnu.org>
15778         * international/fontset.el (vertical-centering-font-regexp):
15779         Set standard-value.
15781         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15783         * bookmark.el (bookmark-search-delay):
15784         * cus-start.el (vertical-centering-font-regexp):
15785         * ps-mule.el (ps-mule-font-info-database-default):
15786         * ps-print.el (ps-default-fg, ps-default-bg):
15787         * type-break.el (type-break-good-break-interval):
15788         * whitespace.el (whitespace-indentation-regexp)
15789         (whitespace-space-after-tab-regexp):
15790         * emacs-lisp/testcover.el (testcover-1value-functions)
15791         (testcover-noreturn-functions, testcover-progn-functions)
15792         (testcover-prog1-functions):
15793         * emulation/viper-init.el (viper-emacs-state-cursor-color):
15794         * eshell/em-glob.el (eshell-glob-translate-alist):
15795         * play/tetris.el (tetris-tty-colors):
15796         * progmodes/cpp.el (cpp-face-default-list):
15797         * progmodes/flymake.el (flymake-allowed-file-name-masks):
15798         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15799         (idlwave-help-browser-generic-args):
15800         * progmodes/make-mode.el (makefile-special-targets-list):
15801         * progmodes/python.el (python-shell-virtualenv-path):
15802         * progmodes/verilog-mode.el (verilog-active-low-regexp)
15803         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15804         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15805         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15806         * textmodes/reftex-vars.el (reftex-format-label-function):
15807         * textmodes/remember.el (remember-diary-file): Fix custom types.
15809         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15810         Add :version.
15812 2013-05-09  Leo Liu  <sdl.web@gmail.com>
15814         * progmodes/octave.el (inferior-octave-completion-at-point):
15815         Restore file completion.  (Bug#14300)
15816         (inferior-octave-startup): Fix incorrect highlighting for the
15817         first prompt.
15819 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15821         * progmodes/ruby-mode.el: First cut at SMIE support.
15822         (ruby-use-smie): New var.
15823         (ruby-smie-grammar): New constant.
15824         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15825         (ruby-smie--forward-token, ruby-smie--backward-token)
15826         (ruby-smie-rules): New functions.
15827         (ruby-mode-variables): Setup SMIE if applicable.
15829 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
15831         * simple.el (line-move-visual): Signal beginning/end of buffer
15832         only if vertical-motion moved less than it was requested.  Avoids
15833         silly incorrect error messages when there are display strings with
15834         multiple newlines at EOL.
15836 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15838         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15839         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15840         (prolog-char-quote-workaround):
15841         * progmodes/cperl-mode.el (cperl-under-as-char):
15842         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15843         Mark as obsolete.
15844         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15845         their declaration.
15846         (vhdl-mode-syntax-table-init): Remove.
15848         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15849         last change.
15851         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15852         syntax for "_".
15853         (ld-script-font-lock-keywords):
15854         Change regexps to use things like \_< and \_>.
15856         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15857         Change all regexps to use things like \_< and \_>.
15859         * progmodes/autoconf.el (autoconf-definition-regexp)
15860         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15861         Handle a _ with symbol syntax.
15862         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15864         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15865         Consolidate declaration.
15866         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15867         the declaration.
15868         (ada-create-syntax-table): Remove.
15869         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15870         already has the right syntax nowadays.
15871         (ada-goto-next-word): Don't change the syntax of "_".
15873         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15874         with-wrapper-hook.
15876 2013-05-08  Sam Steingold  <sds@gnu.org>
15878         * thingatpt.el (thing-at-point): Accept optional second argument
15879         NO-PROPERTIES to strip the text properties from the return value.
15880         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15881         to `thing-at-point' instead of stripping the properties ourselves.
15882         Also, when `thing-at-point' fails to find a url, prepend "http://"
15883         to the filename at point on the assumption that the user is
15884         pointing at something like gnu.org/gnu.
15886 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15888         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15889         * faces.el (crm-separator):
15890         Silence byte-compiler.
15892         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15893         (tool-bar-map): Remove unneeded defvars.
15895 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15897         Re-work a fix for bug#10994 based on Le Wang's patch.
15898         * ido.el (ido-remove-consecutive-dups): New helper.
15899         (ido-completing-read): Use it.
15900         (ido-chop): Revert fix for bug#10994.
15902 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15904         * cus-edit.el (custom-save-variables):
15905         Pretty-print long values.  (Bug#14187)
15907 2013-05-08  Glenn Morris  <rgm@gnu.org>
15909         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15910         (m4-mode-syntax-table): Init in the defvar.
15911         (m4-mode-abbrev-table): Let define-derived-mode define it.
15913 2013-05-08  Tom Tromey  <tromey@redhat.com>
15915         * progmodes/m4-mode.el (m4-mode-syntax-table):
15916         Do not treat "_" as word constituent.  (Bug#14167)
15918 2013-05-07  Glenn Morris  <rgm@gnu.org>
15920         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15921         Remove explicit eshell-isearch-cancel-map.
15923         * progmodes/f90.el (f90-smart-end-names): New option.
15924         (f90-smart-end): Doc fix.
15925         (f90-end-block-optional-name): New constant.
15926         (f90-block-match): Respect f90-smart-end-names.
15928 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15930         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15931         about implicit semi-colons (bug#14218).
15933 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15935         * frame.el (display-monitor-attributes-list)
15936         (frame-monitor-attributes): New functions.
15938 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15940         * progmodes/octave.el (octave-syntax-propertize-function): Change
15941         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15942         (octave-font-lock-keywords): Use octave-operator-regexp.
15943         (octave-completion-at-point): Rename from
15944         octave-completion-at-point-function.
15945         (inferior-octave-directory-tracker): Robustify.
15946         (octave-text-functions): Remove and fix its uses.  No such things
15947         any more.
15949 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15951         * emacs-lisp/trace.el (trace--display-buffer): New function.
15952         (trace-make-advice): Use it.
15954 2013-05-06  Juri Linkov  <juri@jurta.org>
15956         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15957         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15958         Doc fix.
15959         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15960         in the help string.  (Bug#12985)
15962 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15964         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15966 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15968         * progmodes/perl-mode.el: Add support for here documents.
15969         (perl-syntax-propertize-function): Match here-doc markers.
15970         (perl-syntax-propertize-special-constructs): Find their end.
15971         (perl-imenu-generic-expression): Use [:alnum:].
15973         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15974         (advice--add-function): Refresh the advice if already present
15975         (bug#14317).
15977 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15979         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15981 2013-05-06  Glenn Morris  <rgm@gnu.org>
15983         * w32-fns.el (w32-charset-info-alist): Declare.
15985         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15986         of its defcustom properties.
15987         (eshell-cmpl-initialize): No need to load pcomplete.
15989         * generic-x.el: No need to require comint when compiling.
15991         * net/eudc-export.el: Make it loadable without bbdb.
15992         (top-level): Use require rather than load-library.
15993         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15994         (eudc-batch-export-records-to-bbdb)
15995         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15996         Require bbdb.
15998 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16000         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16001         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16002         some tweaks, instead.
16004 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16006         * progmodes/octave.el (octave-font-lock-keywords)
16007         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16008         (inferior-octave-send-list-and-digest): Improve error message.
16009         (octave-mode, inferior-octave-mode): Use setq-local.
16010         (octave-help): Set info-lookup-mode.
16012 2013-05-05  Richard Stallman  <rms@gnu.org>
16014         * vc/compare-w.el (compare-windows-whitespace):
16015         Treat no-break space as whitespace.
16017         * mail/rmailsum.el (rmail-summary-rmail-update):
16018         Detect empty summary and don't change selected message.
16019         (rmail-summary-goto-msg): Likewise.
16021         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16022         Doc fixes, rename args.
16024 2013-05-05  Alan Mackenzie  <acm@muc.de>
16026         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16028 2013-05-05  Juri Linkov  <juri@jurta.org>
16030         * info.el (Info-read-subfile): Use (point-min) instead of (point)
16031         to not add the length of the summary segment to the return value.
16032         (Bug#14125)
16034 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16036         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16037         (inferior-octave-output-filter): Remove.
16038         (octave-send-region, inferior-octave-startup): Fix callers.
16039         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16040         (octave-binary-file-extensions): New user variable.
16041         (octave-find-definition): Confirm if opening binary files.
16042         (octave-help-file): Use octave-find-definition to get the binary
16043         confirmation.
16044         (octave-help): Adjust for octave-help-file change.
16046 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16048         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16049         Merge the two entries that handle function definitions.
16050         (pascal--syntax-propertize): New const.
16051         (pascal-mode): Use it.  Use setq-local.
16053 2013-05-04  Glenn Morris  <rgm@gnu.org>
16055         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16056         (diary-from-outlook): Respect diary-from-outlook-function.
16058 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16060         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16061         Move the declaration from C.
16062         (read-minibuffer, eval-minibuffer): Move from C.
16063         (completion-setup-function): Avoid minibuffer-completion-contents.
16065 2013-05-03  Leo Liu  <sdl.web@gmail.com>
16067         * progmodes/octave.el (octave-font-lock-keywords): Do not
16068         dehighlight 'end' in comments or strings.
16069         (octave-completing-read, octave-goto-function-definition):
16070         New helpers.
16071         (octave-help-buffer): New user variable.
16072         (octave-help-file, octave-help-function): New button types.
16073         (octave-help): New command and bind it to C-h ;.
16074         (octave-find-definition): New command and bind it to M-.
16075         (user-error): Alias to error if not defined.
16077 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16079         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16080         for \.  (bug#14332)
16081         (octave-font-lock-keywords): Include [ and {.
16083 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16085         * progmodes/octave.el (inferior-octave-startup-file): Change default.
16086         (inferior-octave): Remove calling comint-mode and return the buffer.
16087         (inferior-octave-startup): Cosmetic changes.
16089 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16091         * progmodes/octave.el (octave-syntax-propertize-function):
16092         Include the case when ' is at line beginning.  (Bug#14336)
16094 2013-05-02  Glenn Morris  <rgm@gnu.org>
16096         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16097         * desktop.el (vc-dir-mode): Just autoload it here.
16099 2013-05-02  Alan Mackenzie  <acm@muc.de>
16101         Eliminate variable c-standard-font-lock-fontify-region-function.
16102         * progmodes/cc-mode.el
16103         (c-standard-font-lock-fontify-region-function): Remove.
16104         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
16106 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16108         * progmodes/octave.el: Compatible with older emacs-24 releases.
16109         (inferior-octave-has-built-in-variables): Remove.  Built-in
16110         variables were removed from Octave in 2007.
16111         (inferior-octave-startup): Fix uses.
16112         (comint-line-beginning-position): Remove compatibility code for
16113         emacs 21.
16115 2013-05-01  Juri Linkov  <juri@jurta.org>
16117         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
16119 2013-05-01  Juri Linkov  <juri@jurta.org>
16121         * comint.el (comint-previous-matching-input): Don't print message
16122         "History item: %d" when `isearch-mode' is active.
16123         (comint-history-isearch-message): Print message "History item: %d"
16124         when `comint-input-ring-index' is not empty and this function is
16125         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
16127 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16129         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
16130         definitions.  Use completion-at-point to insert keywords.
16131         (octave-abbrev-start): Remove.
16132         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
16134 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16136         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
16137         change.
16139 2013-04-30  Alan Mackenzie  <acm@muc.de>
16141         Handle arbitrarily long C++ member initialisation lists.
16142         * progmodes/cc-engine.el (c-back-over-member-initializers):
16143         new function.
16144         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
16145         (most) member init lists.
16147 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16149         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
16150         variable.
16152 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16154         * progmodes/octave.el (octave-variables): Remove.  No builtin
16155         variables any more.  All converted to functions.
16156         (octave-font-lock-keywords, octave-completion-at-point-function):
16157         Fix uses.
16158         (octave-font-lock-texinfo-comment): New user variable.
16159         (octave-texinfo-font-lock-keywords): New variable for texinfo
16160         comment block.
16161         (octave-function-comment-block): New face.
16162         (octave-font-lock-texinfo-comment): New function.
16163         (octave-mode): Font lock texinfo comment block.
16165 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16167         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
16168         indexing expression.
16169         (octave-continuation-string): Do not use \.
16170         (inferior-octave-complete-impossible): Remove.
16171         (inferior-octave-completion-table)
16172         (inferior-octave-completion-at-point): Remove its uses.
16173         (inferior-octave-startup): completion_matches was introduced to
16174         Octave in 1996 so safe to assume it.
16175         (octave-function-file-comment): Improve to follow how Octave does it.
16176         (octave-update-function-file-comment): Tweak.
16178 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16180         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
16181         (inferior-octave-startup): Remove inferior-octave-startup-hook.
16182         (octave-function-file-comment): Fix typo.
16183         (octave-sync-function-file-names): Use read-char-choice.
16185 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
16187         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
16188         to t for the less important warnings.
16190 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
16192         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
16194 2013-04-27  Glenn Morris  <rgm@gnu.org>
16196         * vc/log-view.el (log-view-current-entry):
16197         Treat "---" separator lines as part of the following rev.  (Bug#14169)
16199 2013-04-27  Juri Linkov  <juri@jurta.org>
16201         * subr.el (read-number): Doc fix about using it by interactive
16202         code letter `n'.  (Bug#14254)
16204 2013-04-27  Juri Linkov  <juri@jurta.org>
16206         * desktop.el (desktop-auto-save-timeout): New option.
16207         (desktop-file-checksum): New variable.
16208         (desktop-save): Add optional arg `auto-save' and don't auto-save
16209         if nothing changed.
16210         (desktop-auto-save-timer): New variable.
16211         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
16212         (after-init-hook): Call `desktop-auto-save-set-timer'.
16213         Suggested by Reuben Thomas <rrt@sc3d.org> in
16214         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
16216 2013-04-27  Leo Liu  <sdl.web@gmail.com>
16218         * progmodes/octave.el (octave-function-file-p)
16219         (octave-skip-comment-forward, octave-function-file-comment)
16220         (octave-update-function-file-comment): New functions.
16221         (octave-mode-map): Bind C-c ; to
16222         octave-update-function-file-comment.
16223         (octave-mode-menu): Add octave-update-function-file-comment.
16224         (octave-mode, inferior-octave-mode): Fix doc-string.
16225         (octave-insert-defun): Conform to Octave's coding convention.
16226         (Bug#14285)
16228         * files.el (basic-save-buffer): Don't let errors in
16229         before-save-hook prevent saving buffer.
16231 2013-04-20  Roland Winkler  <winkler@gnu.org>
16233         * faces.el (read-face-name): Use completing-read if arg multiple
16234         is nil.
16236 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
16238         * ls-lisp.el (ls-lisp-insert-directory): If no files are
16239         displayed, move point to after the totals line.
16240         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16241         for the details.
16243 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16245         * emacs-lisp/package.el (package-autoload-ensure-default-file):
16246         Add current dir to the load-path.
16247         (package-generate-autoloads): Don't rely on
16248         autoload-ensure-default-file.
16250 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
16252         * textmodes/remember.el (remember-store-in-files): Document that
16253         the file name format is passed to `format-time-string'.
16255 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16257         * progmodes/octave.el (octave-sync-function-file-names): New function.
16258         (octave-mode): Use it in before-save-hook.
16260 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16262         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16263         (bug#14274).
16265         * progmodes/octave.el (octave-smie-forward-token): Properly skip
16266         \n and comment, even if it's not an implicit ; (bug#14218).
16268 2013-04-26  Glenn Morris  <rgm@gnu.org>
16270         * subr.el (read-number): Once more use `read' rather than
16271         `string-to-number', to trap non-numeric input.  (Bug#14254)
16273 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
16275         * emacs-lisp/syntax.el (syntax-propertize-multiline):
16276         Use `syntax-multiline' text property consistently instead of
16277         `font-lock-multiline'.  (Bug#14237)
16279 2013-04-26  Glenn Morris  <rgm@gnu.org>
16281         * emacs-lisp/shadow.el (list-load-path-shadows):
16282         No longer necessary to check for duplicate simple.el, since
16283         2012-07-07 change to init_lread to not include installation lisp
16284         directories in load-path when running uninstalled.  (Bug#14270)
16286 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16288         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16289         (octave-mode, inferior-octave-mode): Use setq-local.
16290         (octave-not-in-string-or-comment-p): Rename to
16291         octave-in-string-or-comment-p.
16292         (octave-in-comment-p, octave-in-string-p)
16293         (octave-in-string-or-comment-p): Replace defsubst with defun.
16295 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
16297         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16299 2013-04-25  Bastien Guerry  <bzg@gnu.org>
16301         * textmodes/remember.el (remember-data-directory)
16302         (remember-directory-file-name-format): Fix custom types.
16304 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16306         * progmodes/octave.el (octave-completion-at-point-function):
16307         Make use of inferior octave process.
16308         (octave-initialize-completions): Remove.
16309         (inferior-octave-completion-table): New function.
16310         (inferior-octave-completion-at-point): Use it.
16311         (octave-completion-alist): Remove.
16313 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16315         * progmodes/opascal.el: Use font-lock and syntax-propertize.
16316         (opascal-mode-syntax-table): New var.
16317         (opascal-literal-kind, opascal-is-literal-end)
16318         (opascal-literal-token-at): Rewrite.
16319         (opascal--literal-start-re, opascal-font-lock-keywords)
16320         (opascal--syntax-propertize): New constants.
16321         (opascal-font-lock-defaults): Adjust.
16322         (opascal-mode): Use them.  Set comment-<foo> variables as well.
16323         (delphi-comment-face, opascal-comment-face, delphi-string-face)
16324         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16325         (delphi-other-face, opascal-other-face): Remove face variables.
16326         (opascal-save-state): Remove macro.
16327         (opascal-fontifying-progress-step): Remove constant.
16328         (opascal--ignore-changes): Remove var.
16329         (opascal-set-token-property, opascal-parse-next-literal)
16330         (opascal-is-stable-literal, opascal-complete-literal)
16331         (opascal-is-literal-start, opascal-face-of)
16332         (opascal-parse-region, opascal-parse-region-until-stable)
16333         (opascal-fontify-region, opascal-after-change)
16334         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16335         (opascal-debug-parse-region, opascal-debug-parse-window)
16336         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16337         (opascal-debug-fontify-buffer): Remove.
16338         (opascal-debug-mode-map): Adjust accordingly.
16340 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16342         Merge octave-mod.el and octave-inf.el into octave.el with some
16343         cleanups.
16344         * progmodes/octave.el: New file renamed from octave-mod.el.
16345         * progmodes/octave-inf.el: Merged into octave.el.
16346         * progmodes/octave-mod.el: Renamed to octave.el.
16348 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
16350         * textmodes/reftex-vars.el
16351         (reftex-label-ignored-macros-and-environments): New defcustom.
16353         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16355 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16357         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16358         (smie-indent-keyword): Improve the check to ensure that the next
16359         comment is really on the same line.
16360         (smie-indent-comment): Don't align with a subsequent closer (or eob).
16362         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16363         semi-colons if the line is not otherwise empty (bug#14218).
16365 2013-04-25  Glenn Morris  <rgm@gnu.org>
16367         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16369 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16371         * progmodes/opascal.el (opascal-set-token-property): Rename from
16372         opascal-set-text-properties and only set `token' (bug#14134).
16373         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16374         (opascal-literal-text-properties): Remove.
16375         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16376         Adjust callers.
16378 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
16380         * textmodes/remember.el (remember-handler-functions): Add an
16381         option for a new handler `remember-store-in-files'.
16382         (remember-data-directory, remember-directory-file-name-format):
16383         New options.
16384         (remember-store-in-files): New function to store remember notes
16385         as separate files within a directory.
16387 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
16389         * progmodes/compile.el (compilation-next-error-function):
16390         Pass "formats" to compilation-find-file (bug#11777).
16392 2013-04-24  Glenn Morris  <rgm@gnu.org>
16394         * vc/vc-bzr.el (vc-bzr-print-log):
16395         * vc/vc-hg.el (vc-hg-print-log):
16396         * vc/vc-svn.el (vc-svn-print-log):
16397         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
16399         * vc/vc-bzr.el (vc-bzr-print-log):
16400         * vc/vc-cvs.el (vc-cvs-print-log):
16401         * vc/vc-git.el (vc-git-print-log):
16402         * vc/vc-hg.el (vc-hg-print-log):
16403         * vc/vc-mtn.el (vc-mtn-print-log):
16404         * vc/vc-rcs.el (vc-rcs-print-log):
16405         * vc/vc-sccs.el (vc-sccs-print-log):
16406         * vc/vc-svn.el (vc-svn-print-log):
16407         * vc/vc.el (vc-print-log-internal): Doc fixes.
16409 2013-04-23  Glenn Morris  <rgm@gnu.org>
16411         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16412         Remove venerable code attempting to avoid substitute-command-keys.
16414 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
16416         * textmodes/reftex-vars.el (reftex-label-regexps):
16417         Call `reftex-compile-variables' after changes to this variable.
16419 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16421         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16422         Use lexical-binding.
16423         (jit-lock-force-redisplay): Use markers, check buffer's continued
16424         existence and beware narrowed buffers.
16425         (jit-lock-fontify-now): Adjust call accordingly.
16427 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16430         to avoid misleading the user.
16432 2013-04-22  Leo Liu  <sdl.web@gmail.com>
16434         * info-look.el: Prefer latex2e.info.  (Bug#14240)
16436 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
16438         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
16440         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16441         * net/tramp.el (tramp-call-process): ... here.
16442         (tramp-set-completion-function, tramp-parse-putty):
16443         * net/tramp-adb.el (tramp-adb-execute-adb-command):
16444         * net/tramp-gvfs.el (tramp-gvfs-send-command):
16445         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16446         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16447         (tramp-call-local-coding-command): Use `tramp-call-process'
16448         instead of `tramp-compat-call-process'.
16450         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16451         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16452         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16453         (tramp-find-inline-compress): Improve traces.
16454         (tramp-maybe-send-script): Check for Perl binary.
16455         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16457 2013-04-22  Daiki Ueno  <ueno@gnu.org>
16459         * epg.el (epg-context-pinentry-mode): New function.
16460         (epg-context-set-pinentry-mode): New function.
16461         (epg--start): Pass --pinentry-mode option to gpg command.
16463 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
16465         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16466         `comint-dynamic-complete' is obsolete since 24.1, replaced by
16467         `completion-at-point'.  (Bug#13774)
16469         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16470         default key binding for `describe-distribution' has been moved to
16471         `C-h C-o'.  (Bug#13970)
16473 2013-04-21  Glenn Morris  <rgm@gnu.org>
16475         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16476         Add doc strings.
16477         (vc-print-log): Clarify interactive prompt.
16479 2013-04-20  Glenn Morris  <rgm@gnu.org>
16481         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16482         No longer include timestamp etc information.
16484 2013-04-20  Roland Winkler  <winkler@gnu.org>
16486         * faces.el (read-face-name): Bug fix, return just one face if arg
16487         multiple is nil.  (Bug#14209)
16489 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16491         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16492         (remove-function): Autoload.
16494         * comint.el (comint-redirect-original-filter-function): Remove.
16495         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16496         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16497         (vc-cvs-annotate-command):
16498         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16499         * progmodes/prolog.el (prolog-consult-compile):
16500         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16501         Use add/remove-function instead.
16502         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16503         (gud-tooltip-process-output, gud-tooltip-tips):
16504         Use add/remove-function instead.
16505         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16506         (scheme-interaction-mode, exit-scheme-interaction-mode):
16507         Use add/remove-function instead.
16509         * vc/vc-dispatcher.el: Use lexical-binding.
16510         (vc--process-sentinel): Rename from vc-process-sentinel.
16511         Change last arg to be the code to run.  Don't use vc-previous-sentinel
16512         and vc-sentinel-commands any more.
16513         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
16514         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16516 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
16518         * progmodes/sh-script.el (sh-imenu-generic-expression):
16519         Handle function names with a single character.  (Bug#14111)
16521 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
16523         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16524         for subroutines defined in an eval (bug#14182).
16526 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16528         * bookmark.el (bookmark-completing-read): Improve handling of empty
16529         string (bug#14176).
16531 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16533         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16535 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16537         New faster Imenu implementation (bug#14058).
16538         * progmodes/python.el (python-imenu-prev-index-position)
16539         (python-imenu-format-item-label-function)
16540         (python-imenu-format-parent-item-label-function)
16541         (python-imenu-format-parent-item-jump-label-function):
16542         New vars.
16543         (python-imenu-format-item-label)
16544         (python-imenu-format-parent-item-label)
16545         (python-imenu-format-parent-item-jump-label)
16546         (python-imenu--put-parent, python-imenu--build-tree)
16547         (python-imenu-create-index, python-imenu-create-flat-index)
16548         (python-util-popn): New functions.
16549         (python-mode): Set imenu-create-index-function to
16550         python-imenu-create-index.
16552 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16554         * winner.el (winner-active-region): Use region-active-p, activate-mark
16555         and deactivate-mark (bug#14225).
16557         * simple.el (deactivate-mark): Don't inline it.
16559 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
16561         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16563 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
16565         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16566         file extensions from the archive-mode entry in order to prefer
16567         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16569 2013-04-18  Leo Liu  <sdl.web@gmail.com>
16571         * bindings.el (help-event-list): Add ?\?.
16573 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16575         * subr.el (with-wrapper-hook): Declare obsolete.
16576         * simple.el (filter-buffer-substring-function): New hook.
16577         (filter-buffer-substring): Use it.
16578         (filter-buffer-substring-functions): Mark obsolete.
16579         * minibuffer.el (completion-in-region-function): New hook.
16580         (completion-in-region): Use it.
16581         (completion-in-region-functions): Mark obsolete.
16582         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16583         * abbrev.el (abbrev-expand-function): New hook.
16584         (expand-abbrev): Use it.
16585         (abbrev-expand-functions): Mark obsolete.
16586         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16587         and :filter-return.
16589 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16591         * progmodes/python.el (python-nav--syntactically): Fix cornercases
16592         and do not care about match data.
16594 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16596         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16597         completion tables when completing error conditions and
16598         `declare' arguments.
16599         (lisp-complete-symbol, field-complete): Mark as obsolete.
16600         (check-parens): Unmatched parens are user errors.
16601         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16603 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
16605         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16606         command changed buffer (ie. `flyspell-pre-buffer' is not current
16607         buffer), which prevents making decisions based on invalid value of
16608         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
16609         cause an error when `flyspell-pre-point' was nil after switching
16610         buffers.
16611         (flyspell-post-command-hook): No longer needs to change buffers when
16612         checking pre-word.  While at it remove unnecessary progn.
16614 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
16616         * textmodes/ispell.el (ispell-add-per-file-word-list):
16617         Fix `flyspell-correct-word-before-point' error when accepting
16618         words and `coment-padding' is an integer by using
16619         `comment-normalize-vars' (Bug #14214).
16621 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16623         New defun movement commands.
16624         * progmodes/python.el (python-nav--syntactically)
16625         (python-nav--forward-defun, python-nav-backward-defun)
16626         (python-nav-forward-defun): New functions.
16628 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16630         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16631         (python-syntax-context): Use named compiler-macro for backwards
16632         compatibility with Emacs 24.x.
16634 2013-04-17  Leo Liu  <sdl.web@gmail.com>
16636         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16637         octave-hide-process-buffer.
16639 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16641         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16642         (bug#14216).
16644 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
16646         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16647         Fix adjustment of offset when receiving incomplete responses from GDB
16648         (bug#14129).
16650 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16652         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16653         python-mode-abbrev-table.
16654         (python-skeleton-define): Adjust accordingly.
16655         (python-mode-abbrev-table): New table that inherits from it so that
16656         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16658         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16659         (abbrev-symbol): Use it.
16660         (abbrev--before-point): Use it since we already handle inheritance.
16662 2013-04-16  Leo Liu  <sdl.web@gmail.com>
16664         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16665         binding to info-lookup-symbol.
16667 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
16669         * minibuffer.el (completion--twq-all):
16670         * term/ns-win.el (ns-initialize-window-system):
16671         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16673 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16675         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16676         global bindings.
16678         * doc-view.el (doc-view-start-process): Handle url-handler directories.
16680 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
16682         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16683         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16684         to nil.
16685         (ruby-end-of-defun): Remove the unused arg, change the docstring
16686         to reflect that this function is only used as the value of
16687         `end-of-defun-function'.
16688         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16689         to reflect an earlier change that beginning/end-of-defun functions
16690         jump between methods in a class definition, as well as top-level
16691         functions.
16693 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16695         * minibuffer.el (minibuffer-complete): Don't just scroll
16696         a *Completions* that's been iconified.
16697         (minibuffer-force-complete): Make sure repetitions do cycle when going
16698         through completion-in-region -> minibuffer-complete.
16700 2013-04-15  Alan Mackenzie  <acm@muc.de>
16702         Correct the placement of c-cpp-delimiters when there're #s not at
16703         col 0.
16705         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16706         place a submatch around the #.
16707         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16708         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
16709         on the #, not BOL.
16711 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16713         * emacs-lisp/nadvice.el: Properly test names when adding advice.
16714         (advice--member-p): New arg `name'.
16715         (advice--add-function, advice-member-p): Use it (bug#14202).
16717 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
16719         Reformulate java imenu-generic-expression.
16720         The old expression contained ill formed regexps.
16722         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16723         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16724         (cc-imenu-java-method-arg-regexp): New defconsts.
16725         (cc-imenu-java-build-type-args-regex): New defun.
16726         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16727         handling of spaces in the regexp.
16729 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16731         * textmodes/ispell.el (ispell-command-loop): Remove
16732         flyspell highlight of a word when ispell accepts it (bug #14178).
16734 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
16736         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16737         uses code from the previous `ange-ftp-run-real-handler'.
16738         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16739         only in case that function exist.  This is needed for proper
16740         unloading of Tramp.
16742 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
16744         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16746         * textmodes/reftex.el (reftex-compile-variables): Use it.
16748 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16750         * files.el (normal-mode): Only use default major-mode if no other mode
16751         was specified.
16753         * emacs-lisp/trace.el (trace-values): New function.
16755         * files.el: Allow : in local variables (bug#14089).
16756         (hack-local-variable-regexp): New var.
16757         (hack-local-variables-prop-line, hack-local-variables): Use it.
16759 2013-04-13  Roland Winkler  <winkler@gnu.org>
16761         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
16762         data before it gets modified by bibtex-beginning-of-entry.
16764 2013-04-13  Roland Winkler  <winkler@gnu.org>
16766         * textmodes/bibtex.el (bibtex-url): Doc fix.
16768 2013-04-13  Roland Winkler  <winkler@gnu.org>
16770         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16771         does not visit a BibTeX file, exclude it from the list of buffers
16772         returned by bibtex-initialize.
16774 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
16776         * window.el (split-window): Remove interactive form, since as a
16777         command this function is a special case of split-window-below.
16778         Correct doc string.
16780 2013-04-12  Roland Winkler  <winkler@gnu.org>
16782         * faces.el (read-face-name): Do not override value of arg default.
16783         Allow single faces and strings as default values.  Remove those
16784         elements from return value that are not faces.
16785         (describe-face): Simplify.
16786         (face-at-point): New optional args thing and multiple so that this
16787         function can provide the same functionality previously provided by
16788         read-face-name.
16789         (make-face-bold, make-face-unbold, make-face-italic)
16790         (make-face-unitalic, make-face-bold-italic, invert-face)
16791         (modify-face, read-face-and-attribute): Use face-at-point.
16793         * cus-edit.el (customize-face, customize-face-other-window)
16794         * cus-theme.el (custom-theme-add-face)
16795         * face-remap.el (buffer-face-set)
16796         * facemenu.el (facemenu-set-face): Use face-at-point.
16798 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
16800         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16802 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
16804         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16805         off leading { and trailing } from field values.
16807 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16809         * emacs-lisp/timer.el (timer--check): New function.
16810         (timer--time, timer-set-function, timer-event-handler): Use it.
16811         (timer-set-idle-time): Simplify.
16812         (timer--activate): CSE.
16813         (timer-event-handler): Give more info in error message.
16814         (internal-timer-start-idle): New function, moved from C.
16816         * mpc.el (mpc-proc): Add `restart' argument.
16817         (mpc-proc-cmd): Use it.
16818         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16819         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16820         less often.
16822 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
16824         * progmodes/sh-script.el: Implement `sh-mode' own
16825         `add-log-current-defun-function' (bug#14112).
16826         (sh-current-defun-name): New function.
16827         (sh-mode): Use the function.
16829 2013-04-09  Bastien Guerry  <bzg@gnu.org>
16831         * simple.el (choose-completion-string): Fix docstring (bug#14163).
16833 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16835         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16837         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16838         timer (bug#14156).
16840 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16842         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16843         declaration.
16845 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16847         * pcmpl-x.el: New file.
16849 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16851         Do not set x-display-name until X connection is established.
16852         This is needed to prevent from weird situation described at
16853         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16854         * frame.el (make-frame): Set x-display-name after call to
16855         window system initialization function, not before.
16856         * term/x-win.el (x-initialize-window-system): Add optional
16857         display argument and use it.
16858         * term/w32-win.el (w32-initialize-window-system):
16859         * term/ns-win.el (ns-initialize-window-system):
16860         * term/pc-win.el (msdos-initialize-window-system):
16861         Add compatible optional display argument.
16863 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16865         * files.el (normal-backup-enable-predicate): On MS-Windows and
16866         MS-DOS compare truenames of temporary-file-directory and of the
16867         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16868         don't fail comparison by compare-strings.  Also, compare file
16869         names case-insensitively on MS-Windows and MS-DOS.
16871 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16873         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16874         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16876 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16878         * whitespace.el (whitespace-color-on, whitespace-color-off):
16879         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16881 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16883         * ispell.el (ispell-set-spellchecker-params):
16884         Really set `ispell-args' for all equivs.
16886 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16888         * ido.el (ido-completions): Use extra elements of ido-decorations
16889         (bug#14143).
16890         (ido-decorations): Update docstring.
16892 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16894         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16895         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16896         nil during initialization, in order not to miss changes since the
16897         file was opened.  (Bug#14140)
16899 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16901         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16903 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16905         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16907 2013-04-04  Glenn Morris  <rgm@gnu.org>
16909         * electric.el (electric-pair-inhibit-predicate): Add :version.
16911 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16913         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16914         when a package is required several times (bug#14082).
16916 2013-04-04  Roland Winkler  <winkler@gnu.org>
16918         * faces.el (read-face-name): Behave as promised by the docstring.
16919         Assume that arg default is a list of faces.
16920         (describe-face): Call read-face-name with list of default faces.
16922 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16924         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16925         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16926         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16927         the header.
16928         (bookmark-exit-hook-internal): Save even if list is empty.
16930 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16932         * emacs-lisp/package.el (package-pinned-packages): New var.
16933         (package--add-to-archive-contents): Obey it (bug#14118).
16935 2013-04-03  Alan Mackenzie  <acm@muc.de>
16937         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16938         Also adapt to the new values of element 7 of a parse state.
16940         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16941         parameter `not-in-delimiter'.  Handle being inside comment opener.
16942         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16943         character in case we're typing a '*' after a '/'.
16944         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16945         instead by passing the parameter to c-state-pp-to-literal.
16947         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16948         for elt. 7 of a parse state.
16950 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16952         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16953         * international/latin1-disp.el, international/mule-util.el:
16954         * language/cyril-util.el, language/european.el, language/ind-util.el:
16955         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16956         * language/tibetan.el, language/viet-util.el:
16957         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16959 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16961         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16962         (electric-pair-post-self-insert-function): Use it.
16963         (electric-pair-default-inhibit): New function, extracted from
16964         electric-pair-post-self-insert-function.
16966 2013-03-31  Roland Winkler  <winkler@gnu.org>
16968         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16970 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16972         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16974 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16976         Un-indent after "pass" and "return" statements (Bug#13888)
16977         * progmodes/python.el (python-indent-block-enders): New var.
16978         (python-indent-calculate-indentation): Use it.
16980 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16982         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16983         defun.  Defining it as defalias could introduce too eager
16984         byte-compiler optimization.  (Bug#14030)
16986 2013-03-30  Chong Yidong  <cyd@gnu.org>
16988         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16990 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16992         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16993         (kmacro-execute-from-register): Pass the keyboard macro to
16994         kmacro-call-macro or repeating won't work correctly.
16996 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16998         * progmodes/subword.el: Back to using `forward-symbol'.
17000         * subr.el (forward-whitespace, forward-symbol)
17001         (forward-same-syntax): Move from thingatpt.el.
17003 2013-03-29  Leo Liu  <sdl.web@gmail.com>
17005         * kmacro.el (kmacro-to-register): New command.
17006         (kmacro-execute-from-register): New function.
17007         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
17009 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17011         * mpc.el: Use defvar-local and setq-local.
17012         (mpc--proc-connect): Connection failures are not bugs.
17013         (mpc-mode-map): `follow-link' only applies to the buffer's content.
17014         (mpc-volume-map): Bind to the up-events.
17016 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
17018         * progmodes/subword.el (superword-mode): Use `forward-sexp'
17019         instead of `forward-symbol'.
17021 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17023         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17024         (edebug--recursive-edit): Use it.
17025         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17026         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17028 2013-03-28  Leo Liu  <sdl.web@gmail.com>
17030         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
17032 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
17034         * facemenu.el (list-colors-callback): New defvar.
17035         (list-colors-redisplay): New function.
17036         (list-colors-display): Install list-colors-redisplay as the
17037         revert-buffer-function.  (Bug#14063)
17039 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17041         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17042         and suffixes don't overlap (bug#14061).
17044         * case-table.el: Use lexical-binding.
17045         (case-table-get-table): New function.
17046         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
17048 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
17050         * progmodes/subword.el: Add `superword-mode' to do word motion
17051         over symbol_words (parallels and leverages `subword-mode' which
17052         does word motion inside MixedCaseWords).
17054 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
17056         * eshell/em-unix.el: Move su and sudo to...
17057         * eshell/em-tramp.el: ...Eshell tramp module.
17059 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17061         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17062         Change return value to be a sexp.  Delay `get-buffer' to after
17063         restoring the desktop (bug#13951).
17065 2013-03-26  Leo Liu  <sdl.web@gmail.com>
17067         * register.el: Move semantic tag handling back to
17068         cedet/semantic/senator.el.  (Bug#14052)
17070 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17072         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17073         into the prompt either (bug#13963).
17075 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17077         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17078         part of "(error-foo)".
17080 2013-03-24  Juri Linkov  <juri@jurta.org>
17082         * replace.el (list-matching-lines-prefix-face): New defcustom.
17083         (occur-1): Pass `list-matching-lines-prefix-face' to the function
17084         `occur-engine' if `face-differs-from-default-p' returns t.
17085         (occur-engine): Add `,' inside backquote construct to evaluate
17086         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
17087         Pass `prefix-face' to the functions `occur-context-lines' and
17088         `occur-engine-add-prefix'.
17089         (occur-engine-add-prefix, occur-context-lines): Add optional arg
17090         `prefix-face' and propertize the prefix with `prefix-face'.
17091         (Bug#14017)
17093 2013-03-24  Leo Liu  <sdl.web@gmail.com>
17095         * nxml/rng-valid.el (rng-validate-while-idle)
17096         (rng-validate-quick-while-idle): Guard against deleted buffer.
17097         (Bug#13999)
17099         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17100         is the last entry in kill-buffer-hook.
17102         * files.el (kill-buffer-hook): Doc fix.
17104 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
17106         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
17107         Make it safe-local.
17109         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
17111 2013-03-23  Leo Liu  <sdl.web@gmail.com>
17113         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
17114         Remove.
17116         * nxml/rng-valid.el (rng-validate-mode)
17117         (rng-after-change-function, rng-do-some-validation):
17118         * nxml/rng-maint.el (rng-validate-buffer):
17119         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
17120         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
17121         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
17122         (nxml-extend-after-change-region): Use with-silent-modifications.
17124         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
17125         timer-idle-list.
17127         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
17128         (rng-next-error-1, rng-previous-error-1): Do not let-bind
17129         timer-idle-list.  (Bug#13999)
17131 2013-03-23  Juri Linkov  <juri@jurta.org>
17133         * info.el (info-index-match): New face.
17134         (Info-index, Info-apropos-matches): Add a nested subgroup to the
17135         main pattern and add text properties with the new face to matches
17136         in index entries relative to the beginning of the index entry.
17137         (Bug#14015)
17139 2013-03-21  Eric Ludlam  <zappo@gnu.org>
17141         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
17142         Inhibit read only while inserting objects.
17144 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
17146         * progmodes/cfengine.el: Update docs to mention
17147         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
17148         symbol motion.  Remove "_" from the word syntax.
17150 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
17152         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
17153         syntax for both `cfengine2-mode' and `cfengine3-mode'.
17155 2013-03-20  Juri Linkov  <juri@jurta.org>
17157         * info.el (Info-next-reference-or-link)
17158         (Info-prev-reference-or-link): New functions.
17159         (Info-next-reference, Info-prev-reference): Use them.
17160         (Info-try-follow-nearest-node): Handle footnote navigation.
17161         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
17163 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17165         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
17166         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
17168 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
17170         Suppress unnecessary non-ASCII chatter during build process.
17171         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17172         (batch-skkdic-convert): Suppress most of the chatter.
17173         It's not needed so much now that machines are faster,
17174         and its non-ASCII component was confusing; see Dmitry Gutov in
17175         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
17177 2013-03-20  Leo Liu  <sdl.web@gmail.com>
17179         * ido.el (ido-chop): Fix bug#10994.
17181 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17183         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
17184         Remove vars.
17185         (whitespace-color-on, whitespace-color-off):
17186         Use `font-lock-fontify-buffer' (Bug#13817).
17188 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17190         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
17191         remapping in mode-line.
17192         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
17194 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17196         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
17197         value for `whitespace-line' face (Bug#13875).
17198         (whitespace-font-lock-keywords): Change description.
17199         (whitespace-color-on): Don't save `font-lock-keywords' value, save
17200         the constructed keywords instead.
17201         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
17203 2013-03-19  Leo Liu  <sdl.web@gmail.com>
17205         * progmodes/compile.el (compilation-display-error): New command.
17206         (compilation-mode-map, compilation-minor-mode-map): Bind it to
17207         C-o.  (Bug#13992)
17209 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17211         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
17213 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
17215         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
17217 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
17219         * net/tramp-compat.el (tramp-compat-user-error): New defun.
17221         * net/tramp-adb.el (tramp-adb-handle-shell-command):
17222         * net/tramp-gvfs.el (top):
17223         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
17224         (tramp-handle-shell-command): Use it.
17225         (tramp-dissect-file-name): Raise an error when hostname is a
17226         method name, and neither method nor user is specified.
17228         * net/trampver.el: Update release number.
17230 2013-03-18  Leo Liu  <sdl.web@gmail.com>
17232         Make sure eldoc can be turned off properly.
17233         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
17234         eldoc-mode.
17235         (eldoc-display-message-p): Revert last change.
17236         (eldoc-display-message-no-interference-p)
17237         (eldoc-print-current-symbol-info): Tweak.
17239 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
17241         * doc-view.el (doc-view-new-window-function): Check the new window
17242         overlay's display property instead the char property of the
17243         buffer's first char.  Use `with-selected-window' instead of
17244         `save-window-excursion' with `select-window'.
17245         (doc-view-document->bitmap): Check the current doc-view overlay's
17246         display property instead the char property of the buffer's first char.
17248 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17250         Automate the build of ja-dic.el (Bug#13984).
17251         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17252         from the input, rather than assume that it's been done for us by the
17253         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
17254         the current date into a ja-dic.el comment, as that complicates
17255         regression testing.
17257 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17259         * whitespace.el: Fix double evaluation.
17260         (whitespace-space, whitespace-hspace, whitespace-tab)
17261         (whitespace-newline, whitespace-trailing, whitespace-line)
17262         (whitespace-space-before-tab, whitespace-indentation)
17263         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17264         obsolete defvars.
17265         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17266         (whitespace-color-on): Use a single font-lock-add-keywords call.
17267         Fix double-evaluation of face variables.
17269 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
17271         * net/tramp-adb.el (tramp-adb-parse-device-names):
17272         Use `start-process' instead of `call-process'.  Otherwise, the
17273         function might be blocked under MS Windows.  (Bug#13299)
17275 2013-03-17  Leo Liu  <sdl.web@gmail.com>
17277         Extend eldoc to display info in the mode-line.  (Bug#13978)
17278         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17279         (eldoc-mode-line-string): New variable.
17280         (eldoc-minibuffer-message): New function.
17281         (eldoc-message-function): New variable.
17282         (eldoc-message): Use it.
17283         (eldoc-display-message-p)
17284         (eldoc-display-message-no-interference-p):
17285         Support eldoc-post-insert-mode.
17287         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17288         (eval-expression): Run it.
17290 2013-03-17  Roland Winkler  <winkler@gnu.org>
17292         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17293         strings in the list of return values.
17295 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17297         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17298         radix before checking for HMS forms.
17300 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17302         * progmodes/scheme.el: Add indentation and font-locking for λ.
17303         (Bug#13975)
17305 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17307         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17308         token before point (bug#13942).
17310 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17312         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
17314 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
17316         * startup.el (command-line-normalize-file-name): Fix handling of
17317         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
17318         <xfq.free@gmail.com> in
17319         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17321 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
17323         Sync with Tramp 2.2.7.
17325         * net/trampver.el: Update release number.
17327 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
17329         * doc-view.el: Fix bug#13887.
17330         (doc-view-insert-image): Don't modify overlay associated to
17331         non-live windows, and implement horizontal centering of image in
17332         case it's smaller than the window.
17333         (doc-view-new-window-function): Force redisplay of new windows on
17334         doc-view buffers.
17336 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
17338         * saveplace.el (save-place-alist-to-file): Don't sort
17339         `save-place-alist', just pretty-print it (bug#13882).
17341 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
17343         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17344         Check whether `default-file-name-coding-system' is bound.
17345         It isn't in XEmacs.
17347 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17349         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17350         backquotes for `obsolete' (bug#13929).
17352         * international/mule.el (find-auto-coding): Include file name in
17353         obsolescence warning (bug#13922).
17355 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
17357         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17358         for CFEngine 3-specific indentation.
17359         (cfengine3-indent-line): Use it.  Fix up category regex.
17360         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17362 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17364         * type-break.el (type-break-file-name):
17365         * textmodes/remember.el (remember-data-file):
17366         * strokes.el (strokes-file):
17367         * shadowfile.el (shadow-initialize):
17368         * saveplace.el (save-place-file):
17369         * ps-bdf.el (bdf-cache-file):
17370         * progmodes/idlwave.el (idlwave-config-directory):
17371         * net/quickurl.el (quickurl-url-file):
17372         * international/kkc.el (kkc-init-file-name):
17373         * ido.el (ido-save-directory-list-file):
17374         * emulation/viper.el (viper-custom-file-name):
17375         * emulation/vip.el (vip-startup-file):
17376         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17377         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17379 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
17381         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17382         * language/thai-word.el: Switch to UTF-8.
17384 See ChangeLog.16 for earlier changes.
17386 ;; Local Variables:
17387 ;; coding: utf-8
17388 ;; End:
17390   Copyright (C) 2011-2014 Free Software Foundation, Inc.
17392   This file is part of GNU Emacs.
17394   GNU Emacs is free software: you can redistribute it and/or modify
17395   it under the terms of the GNU General Public License as published by
17396   the Free Software Foundation, either version 3 of the License, or
17397   (at your option) any later version.
17399   GNU Emacs is distributed in the hope that it will be useful,
17400   but WITHOUT ANY WARRANTY; without even the implied warranty of
17401   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17402   GNU General Public License for more details.
17404   You should have received a copy of the GNU General Public License
17405   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.